1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for package-unused version-unused.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
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.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1
200
201  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    PATH=/empty FPATH=/empty; export PATH FPATH
206    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='package-unused'
589PACKAGE_TARNAME='libstdc++'
590PACKAGE_VERSION='version-unused'
591PACKAGE_STRING='package-unused version-unused'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595ac_unique_file="src/shared/hashtable-aux.cc"
596# Factoring default headers for most tests.
597ac_includes_default="\
598#include <stdio.h>
599#ifdef HAVE_SYS_TYPES_H
600# include <sys/types.h>
601#endif
602#ifdef HAVE_SYS_STAT_H
603# include <sys/stat.h>
604#endif
605#ifdef STDC_HEADERS
606# include <stdlib.h>
607# include <stddef.h>
608#else
609# ifdef HAVE_STDLIB_H
610#  include <stdlib.h>
611# endif
612#endif
613#ifdef HAVE_STRING_H
614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615#  include <memory.h>
616# endif
617# include <string.h>
618#endif
619#ifdef HAVE_STRINGS_H
620# include <strings.h>
621#endif
622#ifdef HAVE_INTTYPES_H
623# include <inttypes.h>
624#endif
625#ifdef HAVE_STDINT_H
626# include <stdint.h>
627#endif
628#ifdef HAVE_UNISTD_H
629# include <unistd.h>
630#endif"
631
632ac_subst_vars='am__EXEEXT_FALSE
633am__EXEEXT_TRUE
634LTLIBOBJS
635LIBOBJS
636get_gcc_base_ver
637WARN_FLAGS
638OPTIMIZE_CXXFLAGS
639TOPLEVEL_INCLUDES
640GLIBCXX_INCLUDES
641glibcxx_toolexeclibdir
642glibcxx_toolexecdir
643gxx_include_dir
644glibcxx_prefixdir
645EXTRA_CFLAGS
646CPU_OPT_BITS_RANDOM
647CPU_OPT_EXT_RANDOM
648ERROR_CONSTANTS_SRCDIR
649OS_INC_SRCDIR
650ABI_TWEAKS_SRCDIR
651CPU_DEFINES_SRCDIR
652ATOMIC_FLAGS
653ATOMIC_WORD_SRCDIR
654ATOMICITY_SRCDIR
655INCLUDE_DIR_NOTPARALLEL_FALSE
656INCLUDE_DIR_NOTPARALLEL_TRUE
657BUILD_PDF_FALSE
658BUILD_PDF_TRUE
659PDFLATEX
660DBLATEX
661BUILD_MAN_FALSE
662BUILD_MAN_TRUE
663BUILD_HTML_FALSE
664BUILD_HTML_TRUE
665BUILD_XML_FALSE
666BUILD_XML_TRUE
667BUILD_EPUB_FALSE
668BUILD_EPUB_TRUE
669XSL_STYLE_DIR
670XMLLINT
671XSLTPROC
672XMLCATALOG
673DOT
674DOXYGEN
675BUILD_INFO_FALSE
676BUILD_INFO_TRUE
677ENABLE_FILESYSTEM_TS_FALSE
678ENABLE_FILESYSTEM_TS_TRUE
679baseline_subdir_switch
680baseline_dir
681HWCAP_CFLAGS
682GLIBCXX_LDBL_COMPAT_FALSE
683GLIBCXX_LDBL_COMPAT_TRUE
684LONG_DOUBLE_COMPAT_FLAGS
685ENABLE_CXX11_ABI_FALSE
686ENABLE_CXX11_ABI_TRUE
687glibcxx_cxx98_abi
688ENABLE_DUAL_ABI_FALSE
689ENABLE_DUAL_ABI_TRUE
690ENABLE_VISIBILITY_FALSE
691ENABLE_VISIBILITY_TRUE
692libtool_VERSION
693ENABLE_SYMVERS_SUN_FALSE
694ENABLE_SYMVERS_SUN_TRUE
695ENABLE_SYMVERS_DARWIN_FALSE
696ENABLE_SYMVERS_DARWIN_TRUE
697ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
698ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
699ENABLE_SYMVERS_GNU_FALSE
700ENABLE_SYMVERS_GNU_TRUE
701ENABLE_SYMVERS_FALSE
702ENABLE_SYMVERS_TRUE
703port_specific_symbol_files
704SYMVER_FILE
705CXXFILT
706LTLIBICONV
707LIBICONV
708OPT_LDFLAGS
709SECTION_LDFLAGS
710GLIBCXX_LIBS
711ENABLE_VTABLE_VERIFY_FALSE
712ENABLE_VTABLE_VERIFY_TRUE
713VTV_CYGMIN_FALSE
714VTV_CYGMIN_TRUE
715VTV_CXXLINKFLAGS
716VTV_PCH_CXXFLAGS
717VTV_CXXFLAGS
718ENABLE_WERROR_FALSE
719ENABLE_WERROR_TRUE
720ENABLE_PYTHONDIR_FALSE
721ENABLE_PYTHONDIR_TRUE
722python_mod_dir
723ENABLE_EXTERN_TEMPLATE_FALSE
724ENABLE_EXTERN_TEMPLATE_TRUE
725EXTRA_CXX_FLAGS
726GLIBCXX_BUILD_DEBUG_FALSE
727GLIBCXX_BUILD_DEBUG_TRUE
728DEBUG_FLAGS
729GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
730GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
731GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
732GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
733GLIBCXX_C_HEADERS_C_STD_FALSE
734GLIBCXX_C_HEADERS_C_STD_TRUE
735GLIBCXX_C_HEADERS_C_FALSE
736GLIBCXX_C_HEADERS_C_TRUE
737C_INCLUDE_DIR
738ALLOCATOR_NAME
739ALLOCATOR_H
740ENABLE_ALLOCATOR_NEW_FALSE
741ENABLE_ALLOCATOR_NEW_TRUE
742CLOCALE_INTERNAL_H
743CLOCALE_CC
744CTIME_CC
745CTIME_H
746CNUMERIC_CC
747CMONEY_CC
748CMESSAGES_CC
749CCTYPE_CC
750CCOLLATE_CC
751CCODECVT_CC
752CMESSAGES_H
753CLOCALE_H
754USE_NLS
755glibcxx_localedir
756glibcxx_POFILES
757glibcxx_MOFILES
758check_msgfmt
759BASIC_FILE_CC
760BASIC_FILE_H
761CSTDIO_H
762SECTION_FLAGS
763ENABLE_FLOAT128_FALSE
764ENABLE_FLOAT128_TRUE
765thread_header
766glibcxx_PCHFLAGS
767GLIBCXX_BUILD_PCH_FALSE
768GLIBCXX_BUILD_PCH_TRUE
769GLIBCXX_HOSTED_FALSE
770GLIBCXX_HOSTED_TRUE
771glibcxx_compiler_shared_flag
772glibcxx_compiler_pic_flag
773glibcxx_lt_pic_flag
774enable_static
775enable_shared
776lt_host_flags
777CXXCPP
778OTOOL64
779OTOOL
780LIPO
781NMEDIT
782DSYMUTIL
783OBJDUMP
784NM
785ac_ct_DUMPBIN
786DUMPBIN
787LD
788FGREP
789SED
790LIBTOOL
791EGREP
792GREP
793CPP
794MAINT
795MAINTAINER_MODE_FALSE
796MAINTAINER_MODE_TRUE
797RANLIB
798AR
799AS
800LN_S
801toplevel_srcdir
802toplevel_builddir
803glibcxx_srcdir
804glibcxx_builddir
805ac_ct_CXX
806CXXFLAGS
807CXX
808OBJEXT
809EXEEXT
810ac_ct_CC
811CPPFLAGS
812LDFLAGS
813CFLAGS
814CC
815AM_BACKSLASH
816AM_DEFAULT_VERBOSITY
817AM_DEFAULT_V
818AM_V
819am__untar
820am__tar
821AMTAR
822am__leading_dot
823SET_MAKE
824AWK
825mkdir_p
826MKDIR_P
827INSTALL_STRIP_PROGRAM
828STRIP
829install_sh
830MAKEINFO
831AUTOHEADER
832AUTOMAKE
833AUTOCONF
834ACLOCAL
835VERSION
836PACKAGE
837CYGPATH_W
838am__isrc
839INSTALL_DATA
840INSTALL_SCRIPT
841INSTALL_PROGRAM
842target_os
843target_vendor
844target_cpu
845target
846host_os
847host_vendor
848host_cpu
849host
850build_os
851build_vendor
852build_cpu
853build
854multi_basedir
855target_alias
856host_alias
857build_alias
858LIBS
859ECHO_T
860ECHO_N
861ECHO_C
862DEFS
863mandir
864localedir
865libdir
866psdir
867pdfdir
868dvidir
869htmldir
870infodir
871docdir
872oldincludedir
873includedir
874localstatedir
875sharedstatedir
876sysconfdir
877datadir
878datarootdir
879libexecdir
880sbindir
881bindir
882program_transform_name
883prefix
884exec_prefix
885PACKAGE_URL
886PACKAGE_BUGREPORT
887PACKAGE_STRING
888PACKAGE_VERSION
889PACKAGE_TARNAME
890PACKAGE_NAME
891PATH_SEPARATOR
892SHELL'
893ac_subst_files=''
894ac_user_opts='
895enable_option_checking
896enable_multilib
897enable_silent_rules
898enable_largefile
899with_target_subdir
900with_cross_host
901with_newlib
902enable_maintainer_mode
903enable_shared
904enable_static
905with_pic
906enable_fast_install
907with_gnu_ld
908enable_libtool_lock
909enable_hosted_libstdcxx
910enable_libstdcxx_verbose
911enable_libstdcxx_pch
912with_libstdcxx_lock_policy
913enable_cstdio
914enable_clocale
915enable_nls
916enable_libstdcxx_allocator
917enable_cheaders
918enable_long_long
919enable_wchar_t
920enable_c99
921enable_concept_checks
922enable_libstdcxx_debug_flags
923enable_libstdcxx_debug
924enable_cxx_flags
925enable_fully_dynamic_string
926enable_extern_template
927with_python_dir
928enable_werror
929enable_vtable_verify
930enable_libstdcxx_time
931enable_tls
932enable_rpath
933with_libiconv_prefix
934with_system_libunwind
935enable_linux_futex
936enable_symvers
937enable_libstdcxx_visibility
938enable_libstdcxx_dual_abi
939with_default_libstdcxx_abi
940enable_libstdcxx_threads
941enable_libstdcxx_filesystem_ts
942enable_cet
943with_gxx_include_dir
944enable_version_specific_runtime_libs
945with_gcc_major_version_only
946'
947      ac_precious_vars='build_alias
948host_alias
949target_alias
950CC
951CFLAGS
952LDFLAGS
953LIBS
954CPPFLAGS
955CXX
956CXXFLAGS
957CCC
958CPP
959CXXCPP
960CXXFILT'
961
962
963# Initialize some variables set by options.
964ac_init_help=
965ac_init_version=false
966ac_unrecognized_opts=
967ac_unrecognized_sep=
968# The variables have the same names as the options, with
969# dashes changed to underlines.
970cache_file=/dev/null
971exec_prefix=NONE
972no_create=
973no_recursion=
974prefix=NONE
975program_prefix=NONE
976program_suffix=NONE
977program_transform_name=s,x,x,
978silent=
979site=
980srcdir=
981verbose=
982x_includes=NONE
983x_libraries=NONE
984
985# Installation directory options.
986# These are left unexpanded so users can "make install exec_prefix=/foo"
987# and all the variables that are supposed to be based on exec_prefix
988# by default will actually change.
989# Use braces instead of parens because sh, perl, etc. also accept them.
990# (The list follows the same order as the GNU Coding Standards.)
991bindir='${exec_prefix}/bin'
992sbindir='${exec_prefix}/sbin'
993libexecdir='${exec_prefix}/libexec'
994datarootdir='${prefix}/share'
995datadir='${datarootdir}'
996sysconfdir='${prefix}/etc'
997sharedstatedir='${prefix}/com'
998localstatedir='${prefix}/var'
999includedir='${prefix}/include'
1000oldincludedir='/usr/include'
1001docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1002infodir='${datarootdir}/info'
1003htmldir='${docdir}'
1004dvidir='${docdir}'
1005pdfdir='${docdir}'
1006psdir='${docdir}'
1007libdir='${exec_prefix}/lib'
1008localedir='${datarootdir}/locale'
1009mandir='${datarootdir}/man'
1010
1011ac_prev=
1012ac_dashdash=
1013for ac_option
1014do
1015  # If the previous option needs an argument, assign it.
1016  if test -n "$ac_prev"; then
1017    eval $ac_prev=\$ac_option
1018    ac_prev=
1019    continue
1020  fi
1021
1022  case $ac_option in
1023  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1024  *=)   ac_optarg= ;;
1025  *)    ac_optarg=yes ;;
1026  esac
1027
1028  # Accept the important Cygnus configure options, so we can diagnose typos.
1029
1030  case $ac_dashdash$ac_option in
1031  --)
1032    ac_dashdash=yes ;;
1033
1034  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1035    ac_prev=bindir ;;
1036  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1037    bindir=$ac_optarg ;;
1038
1039  -build | --build | --buil | --bui | --bu)
1040    ac_prev=build_alias ;;
1041  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1042    build_alias=$ac_optarg ;;
1043
1044  -cache-file | --cache-file | --cache-fil | --cache-fi \
1045  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1046    ac_prev=cache_file ;;
1047  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1048  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1049    cache_file=$ac_optarg ;;
1050
1051  --config-cache | -C)
1052    cache_file=config.cache ;;
1053
1054  -datadir | --datadir | --datadi | --datad)
1055    ac_prev=datadir ;;
1056  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1057    datadir=$ac_optarg ;;
1058
1059  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1060  | --dataroo | --dataro | --datar)
1061    ac_prev=datarootdir ;;
1062  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1063  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1064    datarootdir=$ac_optarg ;;
1065
1066  -disable-* | --disable-*)
1067    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1068    # Reject names that are not valid shell variable names.
1069    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1070      as_fn_error $? "invalid feature name: $ac_useropt"
1071    ac_useropt_orig=$ac_useropt
1072    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073    case $ac_user_opts in
1074      *"
1075"enable_$ac_useropt"
1076"*) ;;
1077      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1078	 ac_unrecognized_sep=', ';;
1079    esac
1080    eval enable_$ac_useropt=no ;;
1081
1082  -docdir | --docdir | --docdi | --doc | --do)
1083    ac_prev=docdir ;;
1084  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1085    docdir=$ac_optarg ;;
1086
1087  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1088    ac_prev=dvidir ;;
1089  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1090    dvidir=$ac_optarg ;;
1091
1092  -enable-* | --enable-*)
1093    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1094    # Reject names that are not valid shell variable names.
1095    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096      as_fn_error $? "invalid feature name: $ac_useropt"
1097    ac_useropt_orig=$ac_useropt
1098    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099    case $ac_user_opts in
1100      *"
1101"enable_$ac_useropt"
1102"*) ;;
1103      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1104	 ac_unrecognized_sep=', ';;
1105    esac
1106    eval enable_$ac_useropt=\$ac_optarg ;;
1107
1108  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1109  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1110  | --exec | --exe | --ex)
1111    ac_prev=exec_prefix ;;
1112  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1113  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1114  | --exec=* | --exe=* | --ex=*)
1115    exec_prefix=$ac_optarg ;;
1116
1117  -gas | --gas | --ga | --g)
1118    # Obsolete; use --with-gas.
1119    with_gas=yes ;;
1120
1121  -help | --help | --hel | --he | -h)
1122    ac_init_help=long ;;
1123  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1124    ac_init_help=recursive ;;
1125  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1126    ac_init_help=short ;;
1127
1128  -host | --host | --hos | --ho)
1129    ac_prev=host_alias ;;
1130  -host=* | --host=* | --hos=* | --ho=*)
1131    host_alias=$ac_optarg ;;
1132
1133  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1134    ac_prev=htmldir ;;
1135  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1136  | --ht=*)
1137    htmldir=$ac_optarg ;;
1138
1139  -includedir | --includedir | --includedi | --included | --include \
1140  | --includ | --inclu | --incl | --inc)
1141    ac_prev=includedir ;;
1142  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1143  | --includ=* | --inclu=* | --incl=* | --inc=*)
1144    includedir=$ac_optarg ;;
1145
1146  -infodir | --infodir | --infodi | --infod | --info | --inf)
1147    ac_prev=infodir ;;
1148  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1149    infodir=$ac_optarg ;;
1150
1151  -libdir | --libdir | --libdi | --libd)
1152    ac_prev=libdir ;;
1153  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1154    libdir=$ac_optarg ;;
1155
1156  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1157  | --libexe | --libex | --libe)
1158    ac_prev=libexecdir ;;
1159  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1160  | --libexe=* | --libex=* | --libe=*)
1161    libexecdir=$ac_optarg ;;
1162
1163  -localedir | --localedir | --localedi | --localed | --locale)
1164    ac_prev=localedir ;;
1165  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1166    localedir=$ac_optarg ;;
1167
1168  -localstatedir | --localstatedir | --localstatedi | --localstated \
1169  | --localstate | --localstat | --localsta | --localst | --locals)
1170    ac_prev=localstatedir ;;
1171  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1172  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1173    localstatedir=$ac_optarg ;;
1174
1175  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1176    ac_prev=mandir ;;
1177  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1178    mandir=$ac_optarg ;;
1179
1180  -nfp | --nfp | --nf)
1181    # Obsolete; use --without-fp.
1182    with_fp=no ;;
1183
1184  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1185  | --no-cr | --no-c | -n)
1186    no_create=yes ;;
1187
1188  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1189  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1190    no_recursion=yes ;;
1191
1192  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1193  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1194  | --oldin | --oldi | --old | --ol | --o)
1195    ac_prev=oldincludedir ;;
1196  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1197  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1198  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1199    oldincludedir=$ac_optarg ;;
1200
1201  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1202    ac_prev=prefix ;;
1203  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1204    prefix=$ac_optarg ;;
1205
1206  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1207  | --program-pre | --program-pr | --program-p)
1208    ac_prev=program_prefix ;;
1209  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1210  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1211    program_prefix=$ac_optarg ;;
1212
1213  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1214  | --program-suf | --program-su | --program-s)
1215    ac_prev=program_suffix ;;
1216  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1217  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1218    program_suffix=$ac_optarg ;;
1219
1220  -program-transform-name | --program-transform-name \
1221  | --program-transform-nam | --program-transform-na \
1222  | --program-transform-n | --program-transform- \
1223  | --program-transform | --program-transfor \
1224  | --program-transfo | --program-transf \
1225  | --program-trans | --program-tran \
1226  | --progr-tra | --program-tr | --program-t)
1227    ac_prev=program_transform_name ;;
1228  -program-transform-name=* | --program-transform-name=* \
1229  | --program-transform-nam=* | --program-transform-na=* \
1230  | --program-transform-n=* | --program-transform-=* \
1231  | --program-transform=* | --program-transfor=* \
1232  | --program-transfo=* | --program-transf=* \
1233  | --program-trans=* | --program-tran=* \
1234  | --progr-tra=* | --program-tr=* | --program-t=*)
1235    program_transform_name=$ac_optarg ;;
1236
1237  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1238    ac_prev=pdfdir ;;
1239  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1240    pdfdir=$ac_optarg ;;
1241
1242  -psdir | --psdir | --psdi | --psd | --ps)
1243    ac_prev=psdir ;;
1244  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1245    psdir=$ac_optarg ;;
1246
1247  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1248  | -silent | --silent | --silen | --sile | --sil)
1249    silent=yes ;;
1250
1251  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1252    ac_prev=sbindir ;;
1253  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1254  | --sbi=* | --sb=*)
1255    sbindir=$ac_optarg ;;
1256
1257  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1258  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1259  | --sharedst | --shareds | --shared | --share | --shar \
1260  | --sha | --sh)
1261    ac_prev=sharedstatedir ;;
1262  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1263  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1264  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1265  | --sha=* | --sh=*)
1266    sharedstatedir=$ac_optarg ;;
1267
1268  -site | --site | --sit)
1269    ac_prev=site ;;
1270  -site=* | --site=* | --sit=*)
1271    site=$ac_optarg ;;
1272
1273  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1274    ac_prev=srcdir ;;
1275  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1276    srcdir=$ac_optarg ;;
1277
1278  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1279  | --syscon | --sysco | --sysc | --sys | --sy)
1280    ac_prev=sysconfdir ;;
1281  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1282  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1283    sysconfdir=$ac_optarg ;;
1284
1285  -target | --target | --targe | --targ | --tar | --ta | --t)
1286    ac_prev=target_alias ;;
1287  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1288    target_alias=$ac_optarg ;;
1289
1290  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1291    verbose=yes ;;
1292
1293  -version | --version | --versio | --versi | --vers | -V)
1294    ac_init_version=: ;;
1295
1296  -with-* | --with-*)
1297    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1298    # Reject names that are not valid shell variable names.
1299    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1300      as_fn_error $? "invalid package name: $ac_useropt"
1301    ac_useropt_orig=$ac_useropt
1302    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303    case $ac_user_opts in
1304      *"
1305"with_$ac_useropt"
1306"*) ;;
1307      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1308	 ac_unrecognized_sep=', ';;
1309    esac
1310    eval with_$ac_useropt=\$ac_optarg ;;
1311
1312  -without-* | --without-*)
1313    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1314    # Reject names that are not valid shell variable names.
1315    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1316      as_fn_error $? "invalid package name: $ac_useropt"
1317    ac_useropt_orig=$ac_useropt
1318    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1319    case $ac_user_opts in
1320      *"
1321"with_$ac_useropt"
1322"*) ;;
1323      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1324	 ac_unrecognized_sep=', ';;
1325    esac
1326    eval with_$ac_useropt=no ;;
1327
1328  --x)
1329    # Obsolete; use --with-x.
1330    with_x=yes ;;
1331
1332  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1333  | --x-incl | --x-inc | --x-in | --x-i)
1334    ac_prev=x_includes ;;
1335  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1336  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1337    x_includes=$ac_optarg ;;
1338
1339  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1340  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1341    ac_prev=x_libraries ;;
1342  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1343  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1344    x_libraries=$ac_optarg ;;
1345
1346  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1347Try \`$0 --help' for more information"
1348    ;;
1349
1350  *=*)
1351    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1352    # Reject names that are not valid shell variable names.
1353    case $ac_envvar in #(
1354      '' | [0-9]* | *[!_$as_cr_alnum]* )
1355      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1356    esac
1357    eval $ac_envvar=\$ac_optarg
1358    export $ac_envvar ;;
1359
1360  *)
1361    # FIXME: should be removed in autoconf 3.0.
1362    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1363    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1364      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1365    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1366    ;;
1367
1368  esac
1369done
1370
1371if test -n "$ac_prev"; then
1372  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1373  as_fn_error $? "missing argument to $ac_option"
1374fi
1375
1376if test -n "$ac_unrecognized_opts"; then
1377  case $enable_option_checking in
1378    no) ;;
1379    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1380    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1381  esac
1382fi
1383
1384# Check all directory arguments for consistency.
1385for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1386		datadir sysconfdir sharedstatedir localstatedir includedir \
1387		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1388		libdir localedir mandir
1389do
1390  eval ac_val=\$$ac_var
1391  # Remove trailing slashes.
1392  case $ac_val in
1393    */ )
1394      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1395      eval $ac_var=\$ac_val;;
1396  esac
1397  # Be sure to have absolute directory names.
1398  case $ac_val in
1399    [\\/$]* | ?:[\\/]* )  continue;;
1400    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1401  esac
1402  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1403done
1404
1405# There might be people who depend on the old broken behavior: `$host'
1406# used to hold the argument of --host etc.
1407# FIXME: To remove some day.
1408build=$build_alias
1409host=$host_alias
1410target=$target_alias
1411
1412# FIXME: To remove some day.
1413if test "x$host_alias" != x; then
1414  if test "x$build_alias" = x; then
1415    cross_compiling=maybe
1416  elif test "x$build_alias" != "x$host_alias"; then
1417    cross_compiling=yes
1418  fi
1419fi
1420
1421ac_tool_prefix=
1422test -n "$host_alias" && ac_tool_prefix=$host_alias-
1423
1424test "$silent" = yes && exec 6>/dev/null
1425
1426
1427ac_pwd=`pwd` && test -n "$ac_pwd" &&
1428ac_ls_di=`ls -di .` &&
1429ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1430  as_fn_error $? "working directory cannot be determined"
1431test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1432  as_fn_error $? "pwd does not report name of working directory"
1433
1434
1435# Find the source files, if location was not specified.
1436if test -z "$srcdir"; then
1437  ac_srcdir_defaulted=yes
1438  # Try the directory containing this script, then the parent directory.
1439  ac_confdir=`$as_dirname -- "$as_myself" ||
1440$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1441	 X"$as_myself" : 'X\(//\)[^/]' \| \
1442	 X"$as_myself" : 'X\(//\)$' \| \
1443	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1444$as_echo X"$as_myself" |
1445    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446	    s//\1/
1447	    q
1448	  }
1449	  /^X\(\/\/\)[^/].*/{
1450	    s//\1/
1451	    q
1452	  }
1453	  /^X\(\/\/\)$/{
1454	    s//\1/
1455	    q
1456	  }
1457	  /^X\(\/\).*/{
1458	    s//\1/
1459	    q
1460	  }
1461	  s/.*/./; q'`
1462  srcdir=$ac_confdir
1463  if test ! -r "$srcdir/$ac_unique_file"; then
1464    srcdir=..
1465  fi
1466else
1467  ac_srcdir_defaulted=no
1468fi
1469if test ! -r "$srcdir/$ac_unique_file"; then
1470  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1471  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1472fi
1473ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1474ac_abs_confdir=`(
1475	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1476	pwd)`
1477# When building in place, set srcdir=.
1478if test "$ac_abs_confdir" = "$ac_pwd"; then
1479  srcdir=.
1480fi
1481# Remove unnecessary trailing slashes from srcdir.
1482# Double slashes in file names in object file debugging info
1483# mess up M-x gdb in Emacs.
1484case $srcdir in
1485*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1486esac
1487for ac_var in $ac_precious_vars; do
1488  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1489  eval ac_env_${ac_var}_value=\$${ac_var}
1490  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1491  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1492done
1493
1494#
1495# Report the --help message.
1496#
1497if test "$ac_init_help" = "long"; then
1498  # Omit some internal or obsolete options to make the list less imposing.
1499  # This message is too long to be a string in the A/UX 3.1 sh.
1500  cat <<_ACEOF
1501\`configure' configures package-unused version-unused to adapt to many kinds of systems.
1502
1503Usage: $0 [OPTION]... [VAR=VALUE]...
1504
1505To assign environment variables (e.g., CC, CFLAGS...), specify them as
1506VAR=VALUE.  See below for descriptions of some of the useful variables.
1507
1508Defaults for the options are specified in brackets.
1509
1510Configuration:
1511  -h, --help              display this help and exit
1512      --help=short        display options specific to this package
1513      --help=recursive    display the short help of all the included packages
1514  -V, --version           display version information and exit
1515  -q, --quiet, --silent   do not print \`checking ...' messages
1516      --cache-file=FILE   cache test results in FILE [disabled]
1517  -C, --config-cache      alias for \`--cache-file=config.cache'
1518  -n, --no-create         do not create output files
1519      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1520
1521Installation directories:
1522  --prefix=PREFIX         install architecture-independent files in PREFIX
1523                          [$ac_default_prefix]
1524  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1525                          [PREFIX]
1526
1527By default, \`make install' will install all the files in
1528\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1529an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1530for instance \`--prefix=\$HOME'.
1531
1532For better control, use the options below.
1533
1534Fine tuning of the installation directories:
1535  --bindir=DIR            user executables [EPREFIX/bin]
1536  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1537  --libexecdir=DIR        program executables [EPREFIX/libexec]
1538  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1539  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1540  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1541  --libdir=DIR            object code libraries [EPREFIX/lib]
1542  --includedir=DIR        C header files [PREFIX/include]
1543  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1544  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1545  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1546  --infodir=DIR           info documentation [DATAROOTDIR/info]
1547  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1548  --mandir=DIR            man documentation [DATAROOTDIR/man]
1549  --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1550  --htmldir=DIR           html documentation [DOCDIR]
1551  --dvidir=DIR            dvi documentation [DOCDIR]
1552  --pdfdir=DIR            pdf documentation [DOCDIR]
1553  --psdir=DIR             ps documentation [DOCDIR]
1554_ACEOF
1555
1556  cat <<\_ACEOF
1557
1558Program names:
1559  --program-prefix=PREFIX            prepend PREFIX to installed program names
1560  --program-suffix=SUFFIX            append SUFFIX to installed program names
1561  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1562
1563System types:
1564  --build=BUILD     configure for building on BUILD [guessed]
1565  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1566  --target=TARGET   configure for building compilers for TARGET [HOST]
1567_ACEOF
1568fi
1569
1570if test -n "$ac_init_help"; then
1571  case $ac_init_help in
1572     short | recursive ) echo "Configuration of package-unused version-unused:";;
1573   esac
1574  cat <<\_ACEOF
1575
1576Optional Features:
1577  --disable-option-checking  ignore unrecognized --enable/--with options
1578  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1579  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1580  --enable-multilib       build many library versions (default)
1581  --enable-silent-rules   less verbose build output (undo: "make V=1")
1582  --disable-silent-rules  verbose build output (undo: "make V=0")
1583  --disable-largefile     omit support for large files
1584  --enable-maintainer-mode
1585                          enable make rules and dependencies not useful (and
1586                          sometimes confusing) to the casual installer
1587  --enable-shared[=PKGS]  build shared libraries [default=yes]
1588  --enable-static[=PKGS]  build static libraries [default=yes]
1589  --enable-fast-install[=PKGS]
1590                          optimize for fast installation [default=yes]
1591  --disable-libtool-lock  avoid locking (might break parallel builds)
1592  --disable-hosted-libstdcxx
1593                          only build freestanding C++ runtime support
1594  --disable-libstdcxx-verbose
1595                          disable termination messages to standard error
1596  --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1597                          [default=$is_hosted]
1598  --enable-cstdio[=PACKAGE]
1599                          use target-specific I/O package [default=stdio]
1600  --enable-clocale[=MODEL]
1601                          use MODEL for target locale package [default=auto]
1602  --enable-nls            use Native Language Support (default)
1603  --enable-libstdcxx-allocator[=KIND]
1604                          use KIND for target std::allocator base
1605                          [default=auto]
1606  --enable-cheaders[=KIND]
1607                          construct "C" headers for g++ [default=$c_model]
1608  --enable-long-long      enable template specializations for 'long long'
1609                          [default=yes]
1610  --enable-wchar_t        enable template specializations for 'wchar_t'
1611                          [default=yes]
1612  --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1613  --enable-concept-checks use Boost-derived template checks [default=no]
1614  --enable-libstdcxx-debug-flags=FLAGS
1615                          pass compiler FLAGS when building debug library
1616                          [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1617  --enable-libstdcxx-debug
1618                          build extra debug library [default=no]
1619  --enable-cxx-flags=FLAGS
1620                          pass compiler FLAGS when building library [default=]
1621  --enable-fully-dynamic-string
1622                          do not put empty strings in per-process static
1623                          memory [default=no]
1624  --enable-extern-template
1625                          enable extern template [default=yes]
1626  --enable-werror         turns on -Werror [default=no]
1627  --enable-vtable-verify  enable vtable verify [default=no]
1628  --enable-libstdcxx-time[=KIND]
1629                          use KIND for check type [default=auto]
1630  --enable-tls            Use thread-local storage [default=yes]
1631  --disable-rpath         do not hardcode runtime library paths
1632  --enable-linux-futex    use the Linux futex system call [default=default]
1633  --enable-symvers[=STYLE]
1634                          enables symbol versioning of the shared library
1635                          [default=yes]
1636  --enable-libstdcxx-visibility
1637                          enables visibility safe usage [default=yes]
1638  --enable-libstdcxx-dual-abi
1639                          support two versions of std::string [default=yes]
1640  --enable-libstdcxx-threads
1641                          enable C++11 threads support [default=auto]
1642  --enable-libstdcxx-filesystem-ts
1643                          turns on ISO/IEC TS 18822 support [default=auto]
1644  --enable-cet            enable Intel CET in target libraries [default=no]
1645  --enable-version-specific-runtime-libs
1646                          Specify that runtime libraries should be installed
1647                          in a compiler-specific directory
1648
1649Optional Packages:
1650  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1651  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1652  --with-target-subdir=SUBDIR
1653                          configuring in a subdirectory
1654  --with-cross-host=HOST  configuring with a cross compiler
1655  --with-newlib           assume newlib as a system C library
1656  --with-pic              try to use only PIC/non-PIC objects [default=use
1657                          both]
1658  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1659  --with-libstdcxx-lock-policy={atomic,mutex,auto}
1660                          synchronization policy for shared_ptr reference
1661                          counting [default=auto]
1662  --with-python-dir       the location to install Python modules. This path is
1663                          relative starting from the prefix.
1664  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1665  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1666  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1667  --with-system-libunwind use installed libunwind
1668  --with-default-libstdcxx-abi
1669                          set the std::string ABI to use by default
1670  --with-gxx-include-dir=DIR
1671                          installation directory for include files
1672  --with-gcc-major-version-only
1673                          use only GCC major number in filesystem paths
1674
1675Some influential environment variables:
1676  CC          C compiler command
1677  CFLAGS      C compiler flags
1678  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1679              nonstandard directory <lib dir>
1680  LIBS        libraries to pass to the linker, e.g. -l<library>
1681  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1682              you have headers in a nonstandard directory <include dir>
1683  CXX         C++ compiler command
1684  CXXFLAGS    C++ compiler flags
1685  CPP         C preprocessor
1686  CXXCPP      C++ preprocessor
1687  CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1688              `c++filt', `gc++filt' on PATH.
1689
1690Use these variables to override the choices made by `configure' or to help
1691it to find libraries and programs with nonstandard names/locations.
1692
1693Report bugs to the package provider.
1694_ACEOF
1695ac_status=$?
1696fi
1697
1698if test "$ac_init_help" = "recursive"; then
1699  # If there are subdirs, report their specific --help.
1700  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1701    test -d "$ac_dir" ||
1702      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1703      continue
1704    ac_builddir=.
1705
1706case "$ac_dir" in
1707.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1708*)
1709  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1710  # A ".." for each directory in $ac_dir_suffix.
1711  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1712  case $ac_top_builddir_sub in
1713  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1714  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1715  esac ;;
1716esac
1717ac_abs_top_builddir=$ac_pwd
1718ac_abs_builddir=$ac_pwd$ac_dir_suffix
1719# for backward compatibility:
1720ac_top_builddir=$ac_top_build_prefix
1721
1722case $srcdir in
1723  .)  # We are building in place.
1724    ac_srcdir=.
1725    ac_top_srcdir=$ac_top_builddir_sub
1726    ac_abs_top_srcdir=$ac_pwd ;;
1727  [\\/]* | ?:[\\/]* )  # Absolute name.
1728    ac_srcdir=$srcdir$ac_dir_suffix;
1729    ac_top_srcdir=$srcdir
1730    ac_abs_top_srcdir=$srcdir ;;
1731  *) # Relative name.
1732    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1733    ac_top_srcdir=$ac_top_build_prefix$srcdir
1734    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1735esac
1736ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1737
1738    cd "$ac_dir" || { ac_status=$?; continue; }
1739    # Check for guested configure.
1740    if test -f "$ac_srcdir/configure.gnu"; then
1741      echo &&
1742      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1743    elif test -f "$ac_srcdir/configure"; then
1744      echo &&
1745      $SHELL "$ac_srcdir/configure" --help=recursive
1746    else
1747      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1748    fi || ac_status=$?
1749    cd "$ac_pwd" || { ac_status=$?; break; }
1750  done
1751fi
1752
1753test -n "$ac_init_help" && exit $ac_status
1754if $ac_init_version; then
1755  cat <<\_ACEOF
1756package-unused configure version-unused
1757generated by GNU Autoconf 2.69
1758
1759Copyright (C) 2012 Free Software Foundation, Inc.
1760This configure script is free software; the Free Software Foundation
1761gives unlimited permission to copy, distribute and modify it.
1762_ACEOF
1763  exit
1764fi
1765
1766## ------------------------ ##
1767## Autoconf initialization. ##
1768## ------------------------ ##
1769
1770# ac_fn_c_try_compile LINENO
1771# --------------------------
1772# Try to compile conftest.$ac_ext, and return whether this succeeded.
1773ac_fn_c_try_compile ()
1774{
1775  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776  rm -f conftest.$ac_objext
1777  if { { ac_try="$ac_compile"
1778case "(($ac_try" in
1779  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1780  *) ac_try_echo=$ac_try;;
1781esac
1782eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783$as_echo "$ac_try_echo"; } >&5
1784  (eval "$ac_compile") 2>conftest.err
1785  ac_status=$?
1786  if test -s conftest.err; then
1787    grep -v '^ *+' conftest.err >conftest.er1
1788    cat conftest.er1 >&5
1789    mv -f conftest.er1 conftest.err
1790  fi
1791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792  test $ac_status = 0; } && {
1793	 test -z "$ac_c_werror_flag" ||
1794	 test ! -s conftest.err
1795       } && test -s conftest.$ac_objext; then :
1796  ac_retval=0
1797else
1798  $as_echo "$as_me: failed program was:" >&5
1799sed 's/^/| /' conftest.$ac_ext >&5
1800
1801	ac_retval=1
1802fi
1803  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804  as_fn_set_status $ac_retval
1805
1806} # ac_fn_c_try_compile
1807
1808# ac_fn_cxx_try_compile LINENO
1809# ----------------------------
1810# Try to compile conftest.$ac_ext, and return whether this succeeded.
1811ac_fn_cxx_try_compile ()
1812{
1813  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814  rm -f conftest.$ac_objext
1815  if { { ac_try="$ac_compile"
1816case "(($ac_try" in
1817  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818  *) ac_try_echo=$ac_try;;
1819esac
1820eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821$as_echo "$ac_try_echo"; } >&5
1822  (eval "$ac_compile") 2>conftest.err
1823  ac_status=$?
1824  if test -s conftest.err; then
1825    grep -v '^ *+' conftest.err >conftest.er1
1826    cat conftest.er1 >&5
1827    mv -f conftest.er1 conftest.err
1828  fi
1829  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830  test $ac_status = 0; } && {
1831	 test -z "$ac_cxx_werror_flag" ||
1832	 test ! -s conftest.err
1833       } && test -s conftest.$ac_objext; then :
1834  ac_retval=0
1835else
1836  $as_echo "$as_me: failed program was:" >&5
1837sed 's/^/| /' conftest.$ac_ext >&5
1838
1839	ac_retval=1
1840fi
1841  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842  as_fn_set_status $ac_retval
1843
1844} # ac_fn_cxx_try_compile
1845
1846# ac_fn_c_try_cpp LINENO
1847# ----------------------
1848# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1849ac_fn_c_try_cpp ()
1850{
1851  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852  if { { ac_try="$ac_cpp conftest.$ac_ext"
1853case "(($ac_try" in
1854  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1855  *) ac_try_echo=$ac_try;;
1856esac
1857eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858$as_echo "$ac_try_echo"; } >&5
1859  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1860  ac_status=$?
1861  if test -s conftest.err; then
1862    grep -v '^ *+' conftest.err >conftest.er1
1863    cat conftest.er1 >&5
1864    mv -f conftest.er1 conftest.err
1865  fi
1866  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867  test $ac_status = 0; } > conftest.i && {
1868	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1869	 test ! -s conftest.err
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  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879  as_fn_set_status $ac_retval
1880
1881} # ac_fn_c_try_cpp
1882
1883# ac_fn_c_try_link LINENO
1884# -----------------------
1885# Try to link conftest.$ac_ext, and return whether this succeeded.
1886ac_fn_c_try_link ()
1887{
1888  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889  rm -f conftest.$ac_objext conftest$ac_exeext
1890  if { { ac_try="$ac_link"
1891case "(($ac_try" in
1892  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1893  *) ac_try_echo=$ac_try;;
1894esac
1895eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896$as_echo "$ac_try_echo"; } >&5
1897  (eval "$ac_link") 2>conftest.err
1898  ac_status=$?
1899  if test -s conftest.err; then
1900    grep -v '^ *+' conftest.err >conftest.er1
1901    cat conftest.er1 >&5
1902    mv -f conftest.er1 conftest.err
1903  fi
1904  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905  test $ac_status = 0; } && {
1906	 test -z "$ac_c_werror_flag" ||
1907	 test ! -s conftest.err
1908       } && test -s conftest$ac_exeext && {
1909	 test "$cross_compiling" = yes ||
1910	 test -x conftest$ac_exeext
1911       }; then :
1912  ac_retval=0
1913else
1914  $as_echo "$as_me: failed program was:" >&5
1915sed 's/^/| /' conftest.$ac_ext >&5
1916
1917	ac_retval=1
1918fi
1919  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1920  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1921  # interfere with the next link command; also delete a directory that is
1922  # left behind by Apple's compiler.  We do this before executing the actions.
1923  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1924  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925  as_fn_set_status $ac_retval
1926
1927} # ac_fn_c_try_link
1928
1929# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1930# -------------------------------------------------------
1931# Tests whether HEADER exists and can be compiled using the include files in
1932# INCLUDES, setting the cache variable VAR accordingly.
1933ac_fn_c_check_header_compile ()
1934{
1935  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937$as_echo_n "checking for $2... " >&6; }
1938if eval \${$3+:} false; then :
1939  $as_echo_n "(cached) " >&6
1940else
1941  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942/* end confdefs.h.  */
1943$4
1944#include <$2>
1945_ACEOF
1946if ac_fn_c_try_compile "$LINENO"; then :
1947  eval "$3=yes"
1948else
1949  eval "$3=no"
1950fi
1951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1952fi
1953eval ac_res=\$$3
1954	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955$as_echo "$ac_res" >&6; }
1956  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957
1958} # ac_fn_c_check_header_compile
1959
1960# ac_fn_c_try_run LINENO
1961# ----------------------
1962# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1963# that executables *can* be run.
1964ac_fn_c_try_run ()
1965{
1966  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967  if { { ac_try="$ac_link"
1968case "(($ac_try" in
1969  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1970  *) ac_try_echo=$ac_try;;
1971esac
1972eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1973$as_echo "$ac_try_echo"; } >&5
1974  (eval "$ac_link") 2>&5
1975  ac_status=$?
1976  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1978  { { case "(($ac_try" in
1979  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1980  *) ac_try_echo=$ac_try;;
1981esac
1982eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983$as_echo "$ac_try_echo"; } >&5
1984  (eval "$ac_try") 2>&5
1985  ac_status=$?
1986  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987  test $ac_status = 0; }; }; then :
1988  ac_retval=0
1989else
1990  $as_echo "$as_me: program exited with status $ac_status" >&5
1991       $as_echo "$as_me: failed program was:" >&5
1992sed 's/^/| /' conftest.$ac_ext >&5
1993
1994       ac_retval=$ac_status
1995fi
1996  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1997  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998  as_fn_set_status $ac_retval
1999
2000} # ac_fn_c_try_run
2001
2002# ac_fn_c_check_func LINENO FUNC VAR
2003# ----------------------------------
2004# Tests whether FUNC exists, setting the cache variable VAR accordingly
2005ac_fn_c_check_func ()
2006{
2007  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2008  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2009$as_echo_n "checking for $2... " >&6; }
2010if eval \${$3+:} false; then :
2011  $as_echo_n "(cached) " >&6
2012else
2013  if test x$gcc_no_link = xyes; then
2014  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2015fi
2016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017/* end confdefs.h.  */
2018/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2019   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2020#define $2 innocuous_$2
2021
2022/* System header to define __stub macros and hopefully few prototypes,
2023    which can conflict with char $2 (); below.
2024    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2025    <limits.h> exists even on freestanding compilers.  */
2026
2027#ifdef __STDC__
2028# include <limits.h>
2029#else
2030# include <assert.h>
2031#endif
2032
2033#undef $2
2034
2035/* Override any GCC internal prototype to avoid an error.
2036   Use char because int might match the return type of a GCC
2037   builtin and then its argument prototype would still apply.  */
2038#ifdef __cplusplus
2039extern "C"
2040#endif
2041char $2 ();
2042/* The GNU C library defines this for functions which it implements
2043    to always fail with ENOSYS.  Some functions are actually named
2044    something starting with __ and the normal name is an alias.  */
2045#if defined __stub_$2 || defined __stub___$2
2046choke me
2047#endif
2048
2049int
2050main ()
2051{
2052return $2 ();
2053  ;
2054  return 0;
2055}
2056_ACEOF
2057if ac_fn_c_try_link "$LINENO"; then :
2058  eval "$3=yes"
2059else
2060  eval "$3=no"
2061fi
2062rm -f core conftest.err conftest.$ac_objext \
2063    conftest$ac_exeext conftest.$ac_ext
2064fi
2065eval ac_res=\$$3
2066	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2067$as_echo "$ac_res" >&6; }
2068  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2069
2070} # ac_fn_c_check_func
2071
2072# ac_fn_cxx_try_cpp LINENO
2073# ------------------------
2074# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2075ac_fn_cxx_try_cpp ()
2076{
2077  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2078  if { { ac_try="$ac_cpp conftest.$ac_ext"
2079case "(($ac_try" in
2080  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2081  *) ac_try_echo=$ac_try;;
2082esac
2083eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2084$as_echo "$ac_try_echo"; } >&5
2085  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2086  ac_status=$?
2087  if test -s conftest.err; then
2088    grep -v '^ *+' conftest.err >conftest.er1
2089    cat conftest.er1 >&5
2090    mv -f conftest.er1 conftest.err
2091  fi
2092  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2093  test $ac_status = 0; } > conftest.i && {
2094	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2095	 test ! -s conftest.err
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  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105  as_fn_set_status $ac_retval
2106
2107} # ac_fn_cxx_try_cpp
2108
2109# ac_fn_cxx_try_link LINENO
2110# -------------------------
2111# Try to link conftest.$ac_ext, and return whether this succeeded.
2112ac_fn_cxx_try_link ()
2113{
2114  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115  rm -f conftest.$ac_objext conftest$ac_exeext
2116  if { { ac_try="$ac_link"
2117case "(($ac_try" in
2118  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2119  *) ac_try_echo=$ac_try;;
2120esac
2121eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122$as_echo "$ac_try_echo"; } >&5
2123  (eval "$ac_link") 2>conftest.err
2124  ac_status=$?
2125  if test -s conftest.err; then
2126    grep -v '^ *+' conftest.err >conftest.er1
2127    cat conftest.er1 >&5
2128    mv -f conftest.er1 conftest.err
2129  fi
2130  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2131  test $ac_status = 0; } && {
2132	 test -z "$ac_cxx_werror_flag" ||
2133	 test ! -s conftest.err
2134       } && test -s conftest$ac_exeext && {
2135	 test "$cross_compiling" = yes ||
2136	 test -x conftest$ac_exeext
2137       }; then :
2138  ac_retval=0
2139else
2140  $as_echo "$as_me: failed program was:" >&5
2141sed 's/^/| /' conftest.$ac_ext >&5
2142
2143	ac_retval=1
2144fi
2145  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2146  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2147  # interfere with the next link command; also delete a directory that is
2148  # left behind by Apple's compiler.  We do this before executing the actions.
2149  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2150  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2151  as_fn_set_status $ac_retval
2152
2153} # ac_fn_cxx_try_link
2154
2155# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2156# -------------------------------------------------------
2157# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2158# the include files in INCLUDES and setting the cache variable VAR
2159# accordingly.
2160ac_fn_c_check_header_mongrel ()
2161{
2162  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2163  if eval \${$3+:} false; then :
2164  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2165$as_echo_n "checking for $2... " >&6; }
2166if eval \${$3+:} false; then :
2167  $as_echo_n "(cached) " >&6
2168fi
2169eval ac_res=\$$3
2170	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2171$as_echo "$ac_res" >&6; }
2172else
2173  # Is the header compilable?
2174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2175$as_echo_n "checking $2 usability... " >&6; }
2176cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2177/* end confdefs.h.  */
2178$4
2179#include <$2>
2180_ACEOF
2181if ac_fn_c_try_compile "$LINENO"; then :
2182  ac_header_compiler=yes
2183else
2184  ac_header_compiler=no
2185fi
2186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2188$as_echo "$ac_header_compiler" >&6; }
2189
2190# Is the header present?
2191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2192$as_echo_n "checking $2 presence... " >&6; }
2193cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2194/* end confdefs.h.  */
2195#include <$2>
2196_ACEOF
2197if ac_fn_c_try_cpp "$LINENO"; then :
2198  ac_header_preproc=yes
2199else
2200  ac_header_preproc=no
2201fi
2202rm -f conftest.err conftest.i conftest.$ac_ext
2203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2204$as_echo "$ac_header_preproc" >&6; }
2205
2206# So?  What about this header?
2207case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2208  yes:no: )
2209    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2210$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2211    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2212$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2213    ;;
2214  no:yes:* )
2215    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2216$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2217    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2218$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2219    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2220$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2221    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2222$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2223    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2224$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2225    ;;
2226esac
2227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2228$as_echo_n "checking for $2... " >&6; }
2229if eval \${$3+:} false; then :
2230  $as_echo_n "(cached) " >&6
2231else
2232  eval "$3=\$ac_header_compiler"
2233fi
2234eval ac_res=\$$3
2235	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2236$as_echo "$ac_res" >&6; }
2237fi
2238  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239
2240} # ac_fn_c_check_header_mongrel
2241
2242# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2243# ---------------------------------------------------------
2244# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2245# the include files in INCLUDES and setting the cache variable VAR
2246# accordingly.
2247ac_fn_cxx_check_header_mongrel ()
2248{
2249  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2250  if eval \${$3+:} false; then :
2251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2252$as_echo_n "checking for $2... " >&6; }
2253if eval \${$3+:} false; then :
2254  $as_echo_n "(cached) " >&6
2255fi
2256eval ac_res=\$$3
2257	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2258$as_echo "$ac_res" >&6; }
2259else
2260  # Is the header compilable?
2261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2262$as_echo_n "checking $2 usability... " >&6; }
2263cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2264/* end confdefs.h.  */
2265$4
2266#include <$2>
2267_ACEOF
2268if ac_fn_cxx_try_compile "$LINENO"; then :
2269  ac_header_compiler=yes
2270else
2271  ac_header_compiler=no
2272fi
2273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2275$as_echo "$ac_header_compiler" >&6; }
2276
2277# Is the header present?
2278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2279$as_echo_n "checking $2 presence... " >&6; }
2280cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281/* end confdefs.h.  */
2282#include <$2>
2283_ACEOF
2284if ac_fn_cxx_try_cpp "$LINENO"; then :
2285  ac_header_preproc=yes
2286else
2287  ac_header_preproc=no
2288fi
2289rm -f conftest.err conftest.i conftest.$ac_ext
2290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2291$as_echo "$ac_header_preproc" >&6; }
2292
2293# So?  What about this header?
2294case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2295  yes:no: )
2296    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2297$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2298    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2299$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2300    ;;
2301  no:yes:* )
2302    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2303$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2304    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2305$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2306    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2307$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2308    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2309$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2310    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2311$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2312    ;;
2313esac
2314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2315$as_echo_n "checking for $2... " >&6; }
2316if eval \${$3+:} false; then :
2317  $as_echo_n "(cached) " >&6
2318else
2319  eval "$3=\$ac_header_compiler"
2320fi
2321eval ac_res=\$$3
2322	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2323$as_echo "$ac_res" >&6; }
2324fi
2325  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2326
2327} # ac_fn_cxx_check_header_mongrel
2328
2329# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2330# --------------------------------------------
2331# Tries to find the compile-time value of EXPR in a program that includes
2332# INCLUDES, setting VAR accordingly. Returns whether the value could be
2333# computed
2334ac_fn_c_compute_int ()
2335{
2336  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2337  if test "$cross_compiling" = yes; then
2338    # Depending upon the size, compute the lo and hi bounds.
2339cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340/* end confdefs.h.  */
2341$4
2342int
2343main ()
2344{
2345static int test_array [1 - 2 * !(($2) >= 0)];
2346test_array [0] = 0;
2347return test_array [0];
2348
2349  ;
2350  return 0;
2351}
2352_ACEOF
2353if ac_fn_c_try_compile "$LINENO"; then :
2354  ac_lo=0 ac_mid=0
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;
2364return test_array [0];
2365
2366  ;
2367  return 0;
2368}
2369_ACEOF
2370if ac_fn_c_try_compile "$LINENO"; then :
2371  ac_hi=$ac_mid; break
2372else
2373  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2374			if test $ac_lo -le $ac_mid; then
2375			  ac_lo= ac_hi=
2376			  break
2377			fi
2378			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2379fi
2380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381  done
2382else
2383  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2384/* end confdefs.h.  */
2385$4
2386int
2387main ()
2388{
2389static int test_array [1 - 2 * !(($2) < 0)];
2390test_array [0] = 0;
2391return test_array [0];
2392
2393  ;
2394  return 0;
2395}
2396_ACEOF
2397if ac_fn_c_try_compile "$LINENO"; then :
2398  ac_hi=-1 ac_mid=-1
2399  while :; do
2400    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401/* end confdefs.h.  */
2402$4
2403int
2404main ()
2405{
2406static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2407test_array [0] = 0;
2408return test_array [0];
2409
2410  ;
2411  return 0;
2412}
2413_ACEOF
2414if ac_fn_c_try_compile "$LINENO"; then :
2415  ac_lo=$ac_mid; break
2416else
2417  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2418			if test $ac_mid -le $ac_hi; then
2419			  ac_lo= ac_hi=
2420			  break
2421			fi
2422			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2423fi
2424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2425  done
2426else
2427  ac_lo= ac_hi=
2428fi
2429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2430fi
2431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2432# Binary search between lo and hi bounds.
2433while test "x$ac_lo" != "x$ac_hi"; do
2434  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2435  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2436/* end confdefs.h.  */
2437$4
2438int
2439main ()
2440{
2441static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2442test_array [0] = 0;
2443return test_array [0];
2444
2445  ;
2446  return 0;
2447}
2448_ACEOF
2449if ac_fn_c_try_compile "$LINENO"; then :
2450  ac_hi=$ac_mid
2451else
2452  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2453fi
2454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455done
2456case $ac_lo in #((
2457?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2458'') ac_retval=1 ;;
2459esac
2460  else
2461    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462/* end confdefs.h.  */
2463$4
2464static long int longval () { return $2; }
2465static unsigned long int ulongval () { return $2; }
2466#include <stdio.h>
2467#include <stdlib.h>
2468int
2469main ()
2470{
2471
2472  FILE *f = fopen ("conftest.val", "w");
2473  if (! f)
2474    return 1;
2475  if (($2) < 0)
2476    {
2477      long int i = longval ();
2478      if (i != ($2))
2479	return 1;
2480      fprintf (f, "%ld", i);
2481    }
2482  else
2483    {
2484      unsigned long int i = ulongval ();
2485      if (i != ($2))
2486	return 1;
2487      fprintf (f, "%lu", i);
2488    }
2489  /* Do not output a trailing newline, as this causes \r\n confusion
2490     on some platforms.  */
2491  return ferror (f) || fclose (f) != 0;
2492
2493  ;
2494  return 0;
2495}
2496_ACEOF
2497if ac_fn_c_try_run "$LINENO"; then :
2498  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2499else
2500  ac_retval=1
2501fi
2502rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2503  conftest.$ac_objext conftest.beam conftest.$ac_ext
2504rm -f conftest.val
2505
2506  fi
2507  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2508  as_fn_set_status $ac_retval
2509
2510} # ac_fn_c_compute_int
2511
2512# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2513# -------------------------------------------
2514# Tests whether TYPE exists after having included INCLUDES, setting cache
2515# variable VAR accordingly.
2516ac_fn_c_check_type ()
2517{
2518  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2520$as_echo_n "checking for $2... " >&6; }
2521if eval \${$3+:} false; then :
2522  $as_echo_n "(cached) " >&6
2523else
2524  eval "$3=no"
2525  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2526/* end confdefs.h.  */
2527$4
2528int
2529main ()
2530{
2531if (sizeof ($2))
2532	 return 0;
2533  ;
2534  return 0;
2535}
2536_ACEOF
2537if ac_fn_c_try_compile "$LINENO"; then :
2538  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2539/* end confdefs.h.  */
2540$4
2541int
2542main ()
2543{
2544if (sizeof (($2)))
2545	    return 0;
2546  ;
2547  return 0;
2548}
2549_ACEOF
2550if ac_fn_c_try_compile "$LINENO"; then :
2551
2552else
2553  eval "$3=yes"
2554fi
2555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2556fi
2557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2558fi
2559eval ac_res=\$$3
2560	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2561$as_echo "$ac_res" >&6; }
2562  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2563
2564} # ac_fn_c_check_type
2565
2566# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2567# ---------------------------------------------
2568# Tests whether TYPE exists after having included INCLUDES, setting cache
2569# variable VAR accordingly.
2570ac_fn_cxx_check_type ()
2571{
2572  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2574$as_echo_n "checking for $2... " >&6; }
2575if eval \${$3+:} false; then :
2576  $as_echo_n "(cached) " >&6
2577else
2578  eval "$3=no"
2579  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580/* end confdefs.h.  */
2581$4
2582int
2583main ()
2584{
2585if (sizeof ($2))
2586	 return 0;
2587  ;
2588  return 0;
2589}
2590_ACEOF
2591if ac_fn_cxx_try_compile "$LINENO"; then :
2592  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2593/* end confdefs.h.  */
2594$4
2595int
2596main ()
2597{
2598if (sizeof (($2)))
2599	    return 0;
2600  ;
2601  return 0;
2602}
2603_ACEOF
2604if ac_fn_cxx_try_compile "$LINENO"; then :
2605
2606else
2607  eval "$3=yes"
2608fi
2609rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2610fi
2611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2612fi
2613eval ac_res=\$$3
2614	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2615$as_echo "$ac_res" >&6; }
2616  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2617
2618} # ac_fn_cxx_check_type
2619cat >config.log <<_ACEOF
2620This file contains any messages produced by compilers while
2621running configure, to aid debugging if configure makes a mistake.
2622
2623It was created by package-unused $as_me version-unused, which was
2624generated by GNU Autoconf 2.69.  Invocation command line was
2625
2626  $ $0 $@
2627
2628_ACEOF
2629exec 5>>config.log
2630{
2631cat <<_ASUNAME
2632## --------- ##
2633## Platform. ##
2634## --------- ##
2635
2636hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2637uname -m = `(uname -m) 2>/dev/null || echo unknown`
2638uname -r = `(uname -r) 2>/dev/null || echo unknown`
2639uname -s = `(uname -s) 2>/dev/null || echo unknown`
2640uname -v = `(uname -v) 2>/dev/null || echo unknown`
2641
2642/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2643/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2644
2645/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2646/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2647/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2648/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2649/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2650/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2651/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2652
2653_ASUNAME
2654
2655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656for as_dir in $PATH
2657do
2658  IFS=$as_save_IFS
2659  test -z "$as_dir" && as_dir=.
2660    $as_echo "PATH: $as_dir"
2661  done
2662IFS=$as_save_IFS
2663
2664} >&5
2665
2666cat >&5 <<_ACEOF
2667
2668
2669## ----------- ##
2670## Core tests. ##
2671## ----------- ##
2672
2673_ACEOF
2674
2675
2676# Keep a trace of the command line.
2677# Strip out --no-create and --no-recursion so they do not pile up.
2678# Strip out --silent because we don't want to record it for future runs.
2679# Also quote any args containing shell meta-characters.
2680# Make two passes to allow for proper duplicate-argument suppression.
2681ac_configure_args=
2682ac_configure_args0=
2683ac_configure_args1=
2684ac_must_keep_next=false
2685for ac_pass in 1 2
2686do
2687  for ac_arg
2688  do
2689    case $ac_arg in
2690    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2691    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2692    | -silent | --silent | --silen | --sile | --sil)
2693      continue ;;
2694    *\'*)
2695      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2696    esac
2697    case $ac_pass in
2698    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2699    2)
2700      as_fn_append ac_configure_args1 " '$ac_arg'"
2701      if test $ac_must_keep_next = true; then
2702	ac_must_keep_next=false # Got value, back to normal.
2703      else
2704	case $ac_arg in
2705	  *=* | --config-cache | -C | -disable-* | --disable-* \
2706	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2707	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2708	  | -with-* | --with-* | -without-* | --without-* | --x)
2709	    case "$ac_configure_args0 " in
2710	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2711	    esac
2712	    ;;
2713	  -* ) ac_must_keep_next=true ;;
2714	esac
2715      fi
2716      as_fn_append ac_configure_args " '$ac_arg'"
2717      ;;
2718    esac
2719  done
2720done
2721{ ac_configure_args0=; unset ac_configure_args0;}
2722{ ac_configure_args1=; unset ac_configure_args1;}
2723
2724# When interrupted or exit'd, cleanup temporary files, and complete
2725# config.log.  We remove comments because anyway the quotes in there
2726# would cause problems or look ugly.
2727# WARNING: Use '\'' to represent an apostrophe within the trap.
2728# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2729trap 'exit_status=$?
2730  # Save into config.log some information that might help in debugging.
2731  {
2732    echo
2733
2734    $as_echo "## ---------------- ##
2735## Cache variables. ##
2736## ---------------- ##"
2737    echo
2738    # The following way of writing the cache mishandles newlines in values,
2739(
2740  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2741    eval ac_val=\$$ac_var
2742    case $ac_val in #(
2743    *${as_nl}*)
2744      case $ac_var in #(
2745      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2746$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2747      esac
2748      case $ac_var in #(
2749      _ | IFS | as_nl) ;; #(
2750      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2751      *) { eval $ac_var=; unset $ac_var;} ;;
2752      esac ;;
2753    esac
2754  done
2755  (set) 2>&1 |
2756    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2757    *${as_nl}ac_space=\ *)
2758      sed -n \
2759	"s/'\''/'\''\\\\'\'''\''/g;
2760	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2761      ;; #(
2762    *)
2763      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2764      ;;
2765    esac |
2766    sort
2767)
2768    echo
2769
2770    $as_echo "## ----------------- ##
2771## Output variables. ##
2772## ----------------- ##"
2773    echo
2774    for ac_var in $ac_subst_vars
2775    do
2776      eval ac_val=\$$ac_var
2777      case $ac_val in
2778      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2779      esac
2780      $as_echo "$ac_var='\''$ac_val'\''"
2781    done | sort
2782    echo
2783
2784    if test -n "$ac_subst_files"; then
2785      $as_echo "## ------------------- ##
2786## File substitutions. ##
2787## ------------------- ##"
2788      echo
2789      for ac_var in $ac_subst_files
2790      do
2791	eval ac_val=\$$ac_var
2792	case $ac_val in
2793	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2794	esac
2795	$as_echo "$ac_var='\''$ac_val'\''"
2796      done | sort
2797      echo
2798    fi
2799
2800    if test -s confdefs.h; then
2801      $as_echo "## ----------- ##
2802## confdefs.h. ##
2803## ----------- ##"
2804      echo
2805      cat confdefs.h
2806      echo
2807    fi
2808    test "$ac_signal" != 0 &&
2809      $as_echo "$as_me: caught signal $ac_signal"
2810    $as_echo "$as_me: exit $exit_status"
2811  } >&5
2812  rm -f core *.core core.conftest.* &&
2813    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2814    exit $exit_status
2815' 0
2816for ac_signal in 1 2 13 15; do
2817  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2818done
2819ac_signal=0
2820
2821# confdefs.h avoids OS command line length limits that DEFS can exceed.
2822rm -f -r conftest* confdefs.h
2823
2824$as_echo "/* confdefs.h */" > confdefs.h
2825
2826# Predefined preprocessor variables.
2827
2828cat >>confdefs.h <<_ACEOF
2829#define PACKAGE_NAME "$PACKAGE_NAME"
2830_ACEOF
2831
2832cat >>confdefs.h <<_ACEOF
2833#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2834_ACEOF
2835
2836cat >>confdefs.h <<_ACEOF
2837#define PACKAGE_VERSION "$PACKAGE_VERSION"
2838_ACEOF
2839
2840cat >>confdefs.h <<_ACEOF
2841#define PACKAGE_STRING "$PACKAGE_STRING"
2842_ACEOF
2843
2844cat >>confdefs.h <<_ACEOF
2845#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2846_ACEOF
2847
2848cat >>confdefs.h <<_ACEOF
2849#define PACKAGE_URL "$PACKAGE_URL"
2850_ACEOF
2851
2852
2853# Let the site file select an alternate cache file if it wants to.
2854# Prefer an explicitly selected file to automatically selected ones.
2855ac_site_file1=NONE
2856ac_site_file2=NONE
2857if test -n "$CONFIG_SITE"; then
2858  # We do not want a PATH search for config.site.
2859  case $CONFIG_SITE in #((
2860    -*)  ac_site_file1=./$CONFIG_SITE;;
2861    */*) ac_site_file1=$CONFIG_SITE;;
2862    *)   ac_site_file1=./$CONFIG_SITE;;
2863  esac
2864elif test "x$prefix" != xNONE; then
2865  ac_site_file1=$prefix/share/config.site
2866  ac_site_file2=$prefix/etc/config.site
2867else
2868  ac_site_file1=$ac_default_prefix/share/config.site
2869  ac_site_file2=$ac_default_prefix/etc/config.site
2870fi
2871for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2872do
2873  test "x$ac_site_file" = xNONE && continue
2874  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2875    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2876$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2877    sed 's/^/| /' "$ac_site_file" >&5
2878    . "$ac_site_file" \
2879      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2880$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2881as_fn_error $? "failed to load site script $ac_site_file
2882See \`config.log' for more details" "$LINENO" 5; }
2883  fi
2884done
2885
2886if test -r "$cache_file"; then
2887  # Some versions of bash will fail to source /dev/null (special files
2888  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2889  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2890    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2891$as_echo "$as_me: loading cache $cache_file" >&6;}
2892    case $cache_file in
2893      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2894      *)                      . "./$cache_file";;
2895    esac
2896  fi
2897else
2898  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2899$as_echo "$as_me: creating cache $cache_file" >&6;}
2900  >$cache_file
2901fi
2902
2903# Check that the precious variables saved in the cache have kept the same
2904# value.
2905ac_cache_corrupted=false
2906for ac_var in $ac_precious_vars; do
2907  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2908  eval ac_new_set=\$ac_env_${ac_var}_set
2909  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2910  eval ac_new_val=\$ac_env_${ac_var}_value
2911  case $ac_old_set,$ac_new_set in
2912    set,)
2913      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2914$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2915      ac_cache_corrupted=: ;;
2916    ,set)
2917      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2918$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2919      ac_cache_corrupted=: ;;
2920    ,);;
2921    *)
2922      if test "x$ac_old_val" != "x$ac_new_val"; then
2923	# differences in whitespace do not lead to failure.
2924	ac_old_val_w=`echo x $ac_old_val`
2925	ac_new_val_w=`echo x $ac_new_val`
2926	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2927	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2928$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2929	  ac_cache_corrupted=:
2930	else
2931	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2932$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2933	  eval $ac_var=\$ac_old_val
2934	fi
2935	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2936$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2937	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2938$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2939      fi;;
2940  esac
2941  # Pass precious variables to config.status.
2942  if test "$ac_new_set" = set; then
2943    case $ac_new_val in
2944    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2945    *) ac_arg=$ac_var=$ac_new_val ;;
2946    esac
2947    case " $ac_configure_args " in
2948      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2949      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2950    esac
2951  fi
2952done
2953if $ac_cache_corrupted; then
2954  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2955$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2956  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2957$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2958  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2959fi
2960## -------------------- ##
2961## Main body of script. ##
2962## -------------------- ##
2963
2964ac_ext=c
2965ac_cpp='$CPP $CPPFLAGS'
2966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968ac_compiler_gnu=$ac_cv_c_compiler_gnu
2969
2970
2971
2972
2973
2974
2975ac_config_headers="$ac_config_headers config.h"
2976
2977
2978# This works around the fact that libtool configuration may change LD
2979# for this particular configuration, but some shells, instead of
2980# keeping the changes in LD private, export them just because LD is
2981# exported.  Only used at the end of this file.
2982### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2983
2984# Find the rest of the source tree framework.
2985# Default to --enable-multilib
2986# Check whether --enable-multilib was given.
2987if test "${enable_multilib+set}" = set; then :
2988  enableval=$enable_multilib; case "$enableval" in
2989  yes) multilib=yes ;;
2990  no)  multilib=no ;;
2991  *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2992 esac
2993else
2994  multilib=yes
2995fi
2996
2997
2998# We may get other options which we leave undocumented:
2999# --with-target-subdir, --with-multisrctop, --with-multisubdir
3000# See config-ml.in if you want the gory details.
3001
3002if test "$srcdir" = "."; then
3003  if test "$with_target_subdir" != "."; then
3004    multi_basedir="$srcdir/$with_multisrctop../.."
3005  else
3006    multi_basedir="$srcdir/$with_multisrctop.."
3007  fi
3008else
3009  multi_basedir="$srcdir/.."
3010fi
3011
3012
3013# Even if the default multilib is not a cross compilation,
3014# it may be that some of the other multilibs are.
3015if test $cross_compiling = no && test $multilib = yes \
3016   && test "x${with_multisubdir}" != x ; then
3017   cross_compiling=maybe
3018fi
3019
3020ac_config_commands="$ac_config_commands default-1"
3021
3022
3023# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3024#
3025# You will slowly go insane if you do not grok the following fact:  when
3026# building v3 as part of the compiler, the top-level /target/ becomes the
3027# library's /host/.  configure then causes --target to default to --host,
3028# exactly like any other package using autoconf.  Therefore, 'target' and
3029# 'host' will always be the same.  This makes sense both for native and
3030# cross compilers, just think about it for a little while.  :-)
3031#
3032# Also, if v3 is being configured as part of a cross compiler, the top-level
3033# configure script will pass the "real" host as $with_cross_host.
3034#
3035# Do not delete or change the following two lines.  For why, see
3036# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3037ac_aux_dir=
3038for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3039  if test -f "$ac_dir/install-sh"; then
3040    ac_aux_dir=$ac_dir
3041    ac_install_sh="$ac_aux_dir/install-sh -c"
3042    break
3043  elif test -f "$ac_dir/install.sh"; then
3044    ac_aux_dir=$ac_dir
3045    ac_install_sh="$ac_aux_dir/install.sh -c"
3046    break
3047  elif test -f "$ac_dir/shtool"; then
3048    ac_aux_dir=$ac_dir
3049    ac_install_sh="$ac_aux_dir/shtool install -c"
3050    break
3051  fi
3052done
3053if test -z "$ac_aux_dir"; then
3054  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3055fi
3056
3057# These three variables are undocumented and unsupported,
3058# and are intended to be withdrawn in a future Autoconf release.
3059# They can cause serious problems if a builder's source tree is in a directory
3060# whose full name contains unusual characters.
3061ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3062ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3063ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3064
3065
3066# Make sure we can run config.sub.
3067$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3068  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3069
3070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3071$as_echo_n "checking build system type... " >&6; }
3072if ${ac_cv_build+:} false; then :
3073  $as_echo_n "(cached) " >&6
3074else
3075  ac_build_alias=$build_alias
3076test "x$ac_build_alias" = x &&
3077  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3078test "x$ac_build_alias" = x &&
3079  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3080ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3081  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3082
3083fi
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3085$as_echo "$ac_cv_build" >&6; }
3086case $ac_cv_build in
3087*-*-*) ;;
3088*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3089esac
3090build=$ac_cv_build
3091ac_save_IFS=$IFS; IFS='-'
3092set x $ac_cv_build
3093shift
3094build_cpu=$1
3095build_vendor=$2
3096shift; shift
3097# Remember, the first character of IFS is used to create $*,
3098# except with old shells:
3099build_os=$*
3100IFS=$ac_save_IFS
3101case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3102
3103
3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3105$as_echo_n "checking host system type... " >&6; }
3106if ${ac_cv_host+:} false; then :
3107  $as_echo_n "(cached) " >&6
3108else
3109  if test "x$host_alias" = x; then
3110  ac_cv_host=$ac_cv_build
3111else
3112  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3113    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3114fi
3115
3116fi
3117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3118$as_echo "$ac_cv_host" >&6; }
3119case $ac_cv_host in
3120*-*-*) ;;
3121*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3122esac
3123host=$ac_cv_host
3124ac_save_IFS=$IFS; IFS='-'
3125set x $ac_cv_host
3126shift
3127host_cpu=$1
3128host_vendor=$2
3129shift; shift
3130# Remember, the first character of IFS is used to create $*,
3131# except with old shells:
3132host_os=$*
3133IFS=$ac_save_IFS
3134case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3135
3136
3137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3138$as_echo_n "checking target system type... " >&6; }
3139if ${ac_cv_target+:} false; then :
3140  $as_echo_n "(cached) " >&6
3141else
3142  if test "x$target_alias" = x; then
3143  ac_cv_target=$ac_cv_host
3144else
3145  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3146    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3147fi
3148
3149fi
3150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3151$as_echo "$ac_cv_target" >&6; }
3152case $ac_cv_target in
3153*-*-*) ;;
3154*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3155esac
3156target=$ac_cv_target
3157ac_save_IFS=$IFS; IFS='-'
3158set x $ac_cv_target
3159shift
3160target_cpu=$1
3161target_vendor=$2
3162shift; shift
3163# Remember, the first character of IFS is used to create $*,
3164# except with old shells:
3165target_os=$*
3166IFS=$ac_save_IFS
3167case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3168
3169
3170# The aliases save the names the user supplied, while $host etc.
3171# will get canonicalized.
3172test -n "$target_alias" &&
3173  test "$program_prefix$program_suffix$program_transform_name" = \
3174    NONENONEs,x,x, &&
3175  program_prefix=${target_alias}-
3176
3177target_alias=${target_alias-$host_alias}
3178
3179# Handy for debugging:
3180#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3181
3182if test "$build" != "$host"; then
3183  # We are being configured with some form of cross compiler.
3184  GLIBCXX_IS_NATIVE=false
3185  case "$host","$target" in
3186    # Darwin crosses can use the host system's libraries and headers,
3187    # because of the fat library support.  Of course, it must be the
3188    # same version of Darwin on both sides.  Allow the user to
3189    # just say --target=foo-darwin without a version number to mean
3190    # "the version on this system".
3191      *-*-darwin*,*-*-darwin*)
3192	hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3193	targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3194	if test $hostos = $targetos -o $targetos = darwin ; then
3195	  GLIBCXX_IS_NATIVE=true
3196	fi
3197	;;
3198
3199      *)
3200
3201	;;
3202  esac
3203else
3204  GLIBCXX_IS_NATIVE=true
3205fi
3206
3207# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3208# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3209#  1.x:  minimum required version
3210#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3211#              of other PACKAGE_* variables will, however, and there's nothing
3212#              we can do about that; they come from AC_INIT).
3213#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3214#            file in the top srcdir, etc, etc), so stop complaining.
3215#  no-dependencies:  turns off auto dependency generation (just for now)
3216#  no-dist:  we don't want 'dist' and related rules.
3217#  -Wall:  turns on all automake warnings...
3218#  -Wno-portability:  ...except this one, since GNU make is now required.
3219am__api_version='1.15'
3220
3221# Find a good install program.  We prefer a C program (faster),
3222# so one script is as good as another.  But avoid the broken or
3223# incompatible versions:
3224# SysV /etc/install, /usr/sbin/install
3225# SunOS /usr/etc/install
3226# IRIX /sbin/install
3227# AIX /bin/install
3228# AmigaOS /C/install, which installs bootblocks on floppy discs
3229# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3230# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3231# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3232# OS/2's system install, which has a completely different semantic
3233# ./install, which can be erroneously created by make from ./install.sh.
3234# Reject install programs that cannot install multiple files.
3235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3236$as_echo_n "checking for a BSD-compatible install... " >&6; }
3237if test -z "$INSTALL"; then
3238if ${ac_cv_path_install+:} false; then :
3239  $as_echo_n "(cached) " >&6
3240else
3241  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242for as_dir in $PATH
3243do
3244  IFS=$as_save_IFS
3245  test -z "$as_dir" && as_dir=.
3246    # Account for people who put trailing slashes in PATH elements.
3247case $as_dir/ in #((
3248  ./ | .// | /[cC]/* | \
3249  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3250  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3251  /usr/ucb/* ) ;;
3252  *)
3253    # OSF1 and SCO ODT 3.0 have their own names for install.
3254    # Don't use installbsd from OSF since it installs stuff as root
3255    # by default.
3256    for ac_prog in ginstall scoinst install; do
3257      for ac_exec_ext in '' $ac_executable_extensions; do
3258	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3259	  if test $ac_prog = install &&
3260	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3261	    # AIX install.  It has an incompatible calling convention.
3262	    :
3263	  elif test $ac_prog = install &&
3264	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3265	    # program-specific install script used by HP pwplus--don't use.
3266	    :
3267	  else
3268	    rm -rf conftest.one conftest.two conftest.dir
3269	    echo one > conftest.one
3270	    echo two > conftest.two
3271	    mkdir conftest.dir
3272	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3273	      test -s conftest.one && test -s conftest.two &&
3274	      test -s conftest.dir/conftest.one &&
3275	      test -s conftest.dir/conftest.two
3276	    then
3277	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3278	      break 3
3279	    fi
3280	  fi
3281	fi
3282      done
3283    done
3284    ;;
3285esac
3286
3287  done
3288IFS=$as_save_IFS
3289
3290rm -rf conftest.one conftest.two conftest.dir
3291
3292fi
3293  if test "${ac_cv_path_install+set}" = set; then
3294    INSTALL=$ac_cv_path_install
3295  else
3296    # As a last resort, use the slow shell script.  Don't cache a
3297    # value for INSTALL within a source directory, because that will
3298    # break other packages using the cache if that directory is
3299    # removed, or if the value is a relative name.
3300    INSTALL=$ac_install_sh
3301  fi
3302fi
3303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3304$as_echo "$INSTALL" >&6; }
3305
3306# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3307# It thinks the first close brace ends the variable substitution.
3308test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3309
3310test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3311
3312test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3313
3314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3315$as_echo_n "checking whether build environment is sane... " >&6; }
3316# Reject unsafe characters in $srcdir or the absolute working directory
3317# name.  Accept space and tab only in the latter.
3318am_lf='
3319'
3320case `pwd` in
3321  *[\\\"\#\$\&\'\`$am_lf]*)
3322    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3323esac
3324case $srcdir in
3325  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3326    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3327esac
3328
3329# Do 'set' in a subshell so we don't clobber the current shell's
3330# arguments.  Must try -L first in case configure is actually a
3331# symlink; some systems play weird games with the mod time of symlinks
3332# (eg FreeBSD returns the mod time of the symlink's containing
3333# directory).
3334if (
3335   am_has_slept=no
3336   for am_try in 1 2; do
3337     echo "timestamp, slept: $am_has_slept" > conftest.file
3338     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3339     if test "$*" = "X"; then
3340	# -L didn't work.
3341	set X `ls -t "$srcdir/configure" conftest.file`
3342     fi
3343     if test "$*" != "X $srcdir/configure conftest.file" \
3344	&& test "$*" != "X conftest.file $srcdir/configure"; then
3345
3346	# If neither matched, then we have a broken ls.  This can happen
3347	# if, for instance, CONFIG_SHELL is bash and it inherits a
3348	# broken ls alias from the environment.  This has actually
3349	# happened.  Such a system could not be considered "sane".
3350	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3351  alias in your environment" "$LINENO" 5
3352     fi
3353     if test "$2" = conftest.file || test $am_try -eq 2; then
3354       break
3355     fi
3356     # Just in case.
3357     sleep 1
3358     am_has_slept=yes
3359   done
3360   test "$2" = conftest.file
3361   )
3362then
3363   # Ok.
3364   :
3365else
3366   as_fn_error $? "newly created file is older than distributed files!
3367Check your system clock" "$LINENO" 5
3368fi
3369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3370$as_echo "yes" >&6; }
3371# If we didn't sleep, we still need to ensure time stamps of config.status and
3372# generated files are strictly newer.
3373am_sleep_pid=
3374if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3375  ( sleep 1 ) &
3376  am_sleep_pid=$!
3377fi
3378
3379rm -f conftest.file
3380
3381test "$program_prefix" != NONE &&
3382  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3383# Use a double $ so make ignores it.
3384test "$program_suffix" != NONE &&
3385  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3386# Double any \ or $.
3387# By default was `s,x,x', remove it if useless.
3388ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3389program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3390
3391# Expand $ac_aux_dir to an absolute path.
3392am_aux_dir=`cd "$ac_aux_dir" && pwd`
3393
3394if test x"${MISSING+set}" != xset; then
3395  case $am_aux_dir in
3396  *\ * | *\	*)
3397    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3398  *)
3399    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3400  esac
3401fi
3402# Use eval to expand $SHELL
3403if eval "$MISSING --is-lightweight"; then
3404  am_missing_run="$MISSING "
3405else
3406  am_missing_run=
3407  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3408$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3409fi
3410
3411if test x"${install_sh+set}" != xset; then
3412  case $am_aux_dir in
3413  *\ * | *\	*)
3414    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3415  *)
3416    install_sh="\${SHELL} $am_aux_dir/install-sh"
3417  esac
3418fi
3419
3420# Installed binaries are usually stripped using 'strip' when the user
3421# run "make install-strip".  However 'strip' might not be the right
3422# tool to use in cross-compilation environments, therefore Automake
3423# will honor the 'STRIP' environment variable to overrule this program.
3424if test "$cross_compiling" != no; then
3425  if test -n "$ac_tool_prefix"; then
3426  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3427set dummy ${ac_tool_prefix}strip; ac_word=$2
3428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3429$as_echo_n "checking for $ac_word... " >&6; }
3430if ${ac_cv_prog_STRIP+:} false; then :
3431  $as_echo_n "(cached) " >&6
3432else
3433  if test -n "$STRIP"; then
3434  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3435else
3436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3437for as_dir in $PATH
3438do
3439  IFS=$as_save_IFS
3440  test -z "$as_dir" && as_dir=.
3441    for ac_exec_ext in '' $ac_executable_extensions; do
3442  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3443    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3444    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3445    break 2
3446  fi
3447done
3448  done
3449IFS=$as_save_IFS
3450
3451fi
3452fi
3453STRIP=$ac_cv_prog_STRIP
3454if test -n "$STRIP"; then
3455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3456$as_echo "$STRIP" >&6; }
3457else
3458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459$as_echo "no" >&6; }
3460fi
3461
3462
3463fi
3464if test -z "$ac_cv_prog_STRIP"; then
3465  ac_ct_STRIP=$STRIP
3466  # Extract the first word of "strip", so it can be a program name with args.
3467set dummy strip; ac_word=$2
3468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3469$as_echo_n "checking for $ac_word... " >&6; }
3470if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3471  $as_echo_n "(cached) " >&6
3472else
3473  if test -n "$ac_ct_STRIP"; then
3474  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3475else
3476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477for as_dir in $PATH
3478do
3479  IFS=$as_save_IFS
3480  test -z "$as_dir" && as_dir=.
3481    for ac_exec_ext in '' $ac_executable_extensions; do
3482  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483    ac_cv_prog_ac_ct_STRIP="strip"
3484    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3485    break 2
3486  fi
3487done
3488  done
3489IFS=$as_save_IFS
3490
3491fi
3492fi
3493ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3494if test -n "$ac_ct_STRIP"; then
3495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3496$as_echo "$ac_ct_STRIP" >&6; }
3497else
3498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499$as_echo "no" >&6; }
3500fi
3501
3502  if test "x$ac_ct_STRIP" = x; then
3503    STRIP=":"
3504  else
3505    case $cross_compiling:$ac_tool_warned in
3506yes:)
3507{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3508$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3509ac_tool_warned=yes ;;
3510esac
3511    STRIP=$ac_ct_STRIP
3512  fi
3513else
3514  STRIP="$ac_cv_prog_STRIP"
3515fi
3516
3517fi
3518INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3519
3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3521$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3522if test -z "$MKDIR_P"; then
3523  if ${ac_cv_path_mkdir+:} false; then :
3524  $as_echo_n "(cached) " >&6
3525else
3526  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3528do
3529  IFS=$as_save_IFS
3530  test -z "$as_dir" && as_dir=.
3531    for ac_prog in mkdir gmkdir; do
3532	 for ac_exec_ext in '' $ac_executable_extensions; do
3533	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3534	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3535	     'mkdir (GNU coreutils) '* | \
3536	     'mkdir (coreutils) '* | \
3537	     'mkdir (fileutils) '4.1*)
3538	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3539	       break 3;;
3540	   esac
3541	 done
3542       done
3543  done
3544IFS=$as_save_IFS
3545
3546fi
3547
3548  test -d ./--version && rmdir ./--version
3549  if test "${ac_cv_path_mkdir+set}" = set; then
3550    MKDIR_P="$ac_cv_path_mkdir -p"
3551  else
3552    # As a last resort, use the slow shell script.  Don't cache a
3553    # value for MKDIR_P within a source directory, because that will
3554    # break other packages using the cache if that directory is
3555    # removed, or if the value is a relative name.
3556    MKDIR_P="$ac_install_sh -d"
3557  fi
3558fi
3559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3560$as_echo "$MKDIR_P" >&6; }
3561
3562for ac_prog in gawk mawk nawk awk
3563do
3564  # Extract the first word of "$ac_prog", so it can be a program name with args.
3565set dummy $ac_prog; ac_word=$2
3566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567$as_echo_n "checking for $ac_word... " >&6; }
3568if ${ac_cv_prog_AWK+:} false; then :
3569  $as_echo_n "(cached) " >&6
3570else
3571  if test -n "$AWK"; then
3572  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3573else
3574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575for as_dir in $PATH
3576do
3577  IFS=$as_save_IFS
3578  test -z "$as_dir" && as_dir=.
3579    for ac_exec_ext in '' $ac_executable_extensions; do
3580  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581    ac_cv_prog_AWK="$ac_prog"
3582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583    break 2
3584  fi
3585done
3586  done
3587IFS=$as_save_IFS
3588
3589fi
3590fi
3591AWK=$ac_cv_prog_AWK
3592if test -n "$AWK"; then
3593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3594$as_echo "$AWK" >&6; }
3595else
3596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597$as_echo "no" >&6; }
3598fi
3599
3600
3601  test -n "$AWK" && break
3602done
3603
3604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3605$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3606set x ${MAKE-make}
3607ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3608if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3609  $as_echo_n "(cached) " >&6
3610else
3611  cat >conftest.make <<\_ACEOF
3612SHELL = /bin/sh
3613all:
3614	@echo '@@@%%%=$(MAKE)=@@@%%%'
3615_ACEOF
3616# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3617case `${MAKE-make} -f conftest.make 2>/dev/null` in
3618  *@@@%%%=?*=@@@%%%*)
3619    eval ac_cv_prog_make_${ac_make}_set=yes;;
3620  *)
3621    eval ac_cv_prog_make_${ac_make}_set=no;;
3622esac
3623rm -f conftest.make
3624fi
3625if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3627$as_echo "yes" >&6; }
3628  SET_MAKE=
3629else
3630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631$as_echo "no" >&6; }
3632  SET_MAKE="MAKE=${MAKE-make}"
3633fi
3634
3635rm -rf .tst 2>/dev/null
3636mkdir .tst 2>/dev/null
3637if test -d .tst; then
3638  am__leading_dot=.
3639else
3640  am__leading_dot=_
3641fi
3642rmdir .tst 2>/dev/null
3643
3644# Check whether --enable-silent-rules was given.
3645if test "${enable_silent_rules+set}" = set; then :
3646  enableval=$enable_silent_rules;
3647fi
3648
3649case $enable_silent_rules in # (((
3650  yes) AM_DEFAULT_VERBOSITY=0;;
3651   no) AM_DEFAULT_VERBOSITY=1;;
3652    *) AM_DEFAULT_VERBOSITY=1;;
3653esac
3654am_make=${MAKE-make}
3655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3656$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3657if ${am_cv_make_support_nested_variables+:} false; then :
3658  $as_echo_n "(cached) " >&6
3659else
3660  if $as_echo 'TRUE=$(BAR$(V))
3661BAR0=false
3662BAR1=true
3663V=1
3664am__doit:
3665	@$(TRUE)
3666.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3667  am_cv_make_support_nested_variables=yes
3668else
3669  am_cv_make_support_nested_variables=no
3670fi
3671fi
3672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3673$as_echo "$am_cv_make_support_nested_variables" >&6; }
3674if test $am_cv_make_support_nested_variables = yes; then
3675    AM_V='$(V)'
3676  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3677else
3678  AM_V=$AM_DEFAULT_VERBOSITY
3679  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3680fi
3681AM_BACKSLASH='\'
3682
3683if test "`cd $srcdir && pwd`" != "`pwd`"; then
3684  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3685  # is not polluted with repeated "-I."
3686  am__isrc=' -I$(srcdir)'
3687  # test to see if srcdir already configured
3688  if test -f $srcdir/config.status; then
3689    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3690  fi
3691fi
3692
3693# test whether we have cygpath
3694if test -z "$CYGPATH_W"; then
3695  if (cygpath --version) >/dev/null 2>/dev/null; then
3696    CYGPATH_W='cygpath -w'
3697  else
3698    CYGPATH_W=echo
3699  fi
3700fi
3701
3702
3703# Define the identity of the package.
3704 PACKAGE='libstdc++'
3705 VERSION='version-unused'
3706
3707
3708# Some tools Automake needs.
3709
3710ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3711
3712
3713AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3714
3715
3716AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3717
3718
3719AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3720
3721
3722MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3723
3724# For better backward compatibility.  To be removed once Automake 1.9.x
3725# dies out for good.  For more background, see:
3726# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3727# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3728mkdir_p='$(MKDIR_P)'
3729
3730# We need awk for the "check" target (and possibly the TAP driver).  The
3731# system "awk" is bad on some platforms.
3732# Always define AMTAR for backward compatibility.  Yes, it's still used
3733# in the wild :-(  We should find a proper way to deprecate it ...
3734AMTAR='$${TAR-tar}'
3735
3736
3737# We'll loop over all known methods to create a tar archive until one works.
3738_am_tools='gnutar  pax cpio none'
3739
3740am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3741
3742
3743
3744
3745
3746
3747# POSIX will say in a future version that running "rm -f" with no argument
3748# is OK; and we want to be able to make that assumption in our Makefile
3749# recipes.  So use an aggressive probe to check that the usage we want is
3750# actually supported "in the wild" to an acceptable degree.
3751# See automake bug#10828.
3752# To make any issue more visible, cause the running configure to be aborted
3753# by default if the 'rm' program in use doesn't match our expectations; the
3754# user can still override this though.
3755if rm -f && rm -fr && rm -rf; then : OK; else
3756  cat >&2 <<'END'
3757Oops!
3758
3759Your 'rm' program seems unable to run without file operands specified
3760on the command line, even when the '-f' option is present.  This is contrary
3761to the behaviour of most rm programs out there, and not conforming with
3762the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3763
3764Please tell bug-automake@gnu.org about your system, including the value
3765of your $PATH and any error possibly output before this message.  This
3766can help us improve future automake versions.
3767
3768END
3769  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3770    echo 'Configuration will proceed anyway, since you have set the' >&2
3771    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3772    echo >&2
3773  else
3774    cat >&2 <<'END'
3775Aborting the configuration process, to ensure you take notice of the issue.
3776
3777You can download and install GNU coreutils to get an 'rm' implementation
3778that behaves properly: <http://www.gnu.org/software/coreutils/>.
3779
3780If you want to complete the configuration process using your problematic
3781'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3782to "yes", and re-run configure.
3783
3784END
3785    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3786  fi
3787fi
3788
3789
3790
3791
3792# -fno-builtin must be present here so that a non-conflicting form of
3793# std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3794
3795save_CXXFLAGS="$CXXFLAGS"
3796CXXFLAGS="$CXXFLAGS -fno-builtin"
3797ac_ext=c
3798ac_cpp='$CPP $CPPFLAGS'
3799ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801ac_compiler_gnu=$ac_cv_c_compiler_gnu
3802if test -n "$ac_tool_prefix"; then
3803  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3804set dummy ${ac_tool_prefix}gcc; ac_word=$2
3805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806$as_echo_n "checking for $ac_word... " >&6; }
3807if ${ac_cv_prog_CC+:} false; then :
3808  $as_echo_n "(cached) " >&6
3809else
3810  if test -n "$CC"; then
3811  ac_cv_prog_CC="$CC" # Let the user override the test.
3812else
3813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814for as_dir in $PATH
3815do
3816  IFS=$as_save_IFS
3817  test -z "$as_dir" && as_dir=.
3818    for ac_exec_ext in '' $ac_executable_extensions; do
3819  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3821    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822    break 2
3823  fi
3824done
3825  done
3826IFS=$as_save_IFS
3827
3828fi
3829fi
3830CC=$ac_cv_prog_CC
3831if test -n "$CC"; then
3832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3833$as_echo "$CC" >&6; }
3834else
3835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836$as_echo "no" >&6; }
3837fi
3838
3839
3840fi
3841if test -z "$ac_cv_prog_CC"; then
3842  ac_ct_CC=$CC
3843  # Extract the first word of "gcc", so it can be a program name with args.
3844set dummy gcc; ac_word=$2
3845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846$as_echo_n "checking for $ac_word... " >&6; }
3847if ${ac_cv_prog_ac_ct_CC+:} false; then :
3848  $as_echo_n "(cached) " >&6
3849else
3850  if test -n "$ac_ct_CC"; then
3851  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3852else
3853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854for as_dir in $PATH
3855do
3856  IFS=$as_save_IFS
3857  test -z "$as_dir" && as_dir=.
3858    for ac_exec_ext in '' $ac_executable_extensions; do
3859  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860    ac_cv_prog_ac_ct_CC="gcc"
3861    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862    break 2
3863  fi
3864done
3865  done
3866IFS=$as_save_IFS
3867
3868fi
3869fi
3870ac_ct_CC=$ac_cv_prog_ac_ct_CC
3871if test -n "$ac_ct_CC"; then
3872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3873$as_echo "$ac_ct_CC" >&6; }
3874else
3875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876$as_echo "no" >&6; }
3877fi
3878
3879  if test "x$ac_ct_CC" = x; then
3880    CC=""
3881  else
3882    case $cross_compiling:$ac_tool_warned in
3883yes:)
3884{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3885$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3886ac_tool_warned=yes ;;
3887esac
3888    CC=$ac_ct_CC
3889  fi
3890else
3891  CC="$ac_cv_prog_CC"
3892fi
3893
3894if test -z "$CC"; then
3895          if test -n "$ac_tool_prefix"; then
3896    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3897set dummy ${ac_tool_prefix}cc; ac_word=$2
3898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899$as_echo_n "checking for $ac_word... " >&6; }
3900if ${ac_cv_prog_CC+:} false; then :
3901  $as_echo_n "(cached) " >&6
3902else
3903  if test -n "$CC"; then
3904  ac_cv_prog_CC="$CC" # Let the user override the test.
3905else
3906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907for as_dir in $PATH
3908do
3909  IFS=$as_save_IFS
3910  test -z "$as_dir" && as_dir=.
3911    for ac_exec_ext in '' $ac_executable_extensions; do
3912  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913    ac_cv_prog_CC="${ac_tool_prefix}cc"
3914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915    break 2
3916  fi
3917done
3918  done
3919IFS=$as_save_IFS
3920
3921fi
3922fi
3923CC=$ac_cv_prog_CC
3924if test -n "$CC"; then
3925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3926$as_echo "$CC" >&6; }
3927else
3928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929$as_echo "no" >&6; }
3930fi
3931
3932
3933  fi
3934fi
3935if test -z "$CC"; then
3936  # Extract the first word of "cc", so it can be a program name with args.
3937set dummy cc; ac_word=$2
3938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939$as_echo_n "checking for $ac_word... " >&6; }
3940if ${ac_cv_prog_CC+:} false; then :
3941  $as_echo_n "(cached) " >&6
3942else
3943  if test -n "$CC"; then
3944  ac_cv_prog_CC="$CC" # Let the user override the test.
3945else
3946  ac_prog_rejected=no
3947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948for as_dir in $PATH
3949do
3950  IFS=$as_save_IFS
3951  test -z "$as_dir" && as_dir=.
3952    for ac_exec_ext in '' $ac_executable_extensions; do
3953  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3955       ac_prog_rejected=yes
3956       continue
3957     fi
3958    ac_cv_prog_CC="cc"
3959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960    break 2
3961  fi
3962done
3963  done
3964IFS=$as_save_IFS
3965
3966if test $ac_prog_rejected = yes; then
3967  # We found a bogon in the path, so make sure we never use it.
3968  set dummy $ac_cv_prog_CC
3969  shift
3970  if test $# != 0; then
3971    # We chose a different compiler from the bogus one.
3972    # However, it has the same basename, so the bogon will be chosen
3973    # first if we set CC to just the basename; use the full file name.
3974    shift
3975    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3976  fi
3977fi
3978fi
3979fi
3980CC=$ac_cv_prog_CC
3981if test -n "$CC"; then
3982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3983$as_echo "$CC" >&6; }
3984else
3985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986$as_echo "no" >&6; }
3987fi
3988
3989
3990fi
3991if test -z "$CC"; then
3992  if test -n "$ac_tool_prefix"; then
3993  for ac_prog in cl.exe
3994  do
3995    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3996set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3998$as_echo_n "checking for $ac_word... " >&6; }
3999if ${ac_cv_prog_CC+:} false; then :
4000  $as_echo_n "(cached) " >&6
4001else
4002  if test -n "$CC"; then
4003  ac_cv_prog_CC="$CC" # Let the user override the test.
4004else
4005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006for as_dir in $PATH
4007do
4008  IFS=$as_save_IFS
4009  test -z "$as_dir" && as_dir=.
4010    for ac_exec_ext in '' $ac_executable_extensions; do
4011  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4012    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4013    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014    break 2
4015  fi
4016done
4017  done
4018IFS=$as_save_IFS
4019
4020fi
4021fi
4022CC=$ac_cv_prog_CC
4023if test -n "$CC"; then
4024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4025$as_echo "$CC" >&6; }
4026else
4027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028$as_echo "no" >&6; }
4029fi
4030
4031
4032    test -n "$CC" && break
4033  done
4034fi
4035if test -z "$CC"; then
4036  ac_ct_CC=$CC
4037  for ac_prog in cl.exe
4038do
4039  # Extract the first word of "$ac_prog", so it can be a program name with args.
4040set dummy $ac_prog; ac_word=$2
4041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4042$as_echo_n "checking for $ac_word... " >&6; }
4043if ${ac_cv_prog_ac_ct_CC+:} false; then :
4044  $as_echo_n "(cached) " >&6
4045else
4046  if test -n "$ac_ct_CC"; then
4047  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4048else
4049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4050for as_dir in $PATH
4051do
4052  IFS=$as_save_IFS
4053  test -z "$as_dir" && as_dir=.
4054    for ac_exec_ext in '' $ac_executable_extensions; do
4055  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4056    ac_cv_prog_ac_ct_CC="$ac_prog"
4057    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4058    break 2
4059  fi
4060done
4061  done
4062IFS=$as_save_IFS
4063
4064fi
4065fi
4066ac_ct_CC=$ac_cv_prog_ac_ct_CC
4067if test -n "$ac_ct_CC"; then
4068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4069$as_echo "$ac_ct_CC" >&6; }
4070else
4071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4072$as_echo "no" >&6; }
4073fi
4074
4075
4076  test -n "$ac_ct_CC" && break
4077done
4078
4079  if test "x$ac_ct_CC" = x; then
4080    CC=""
4081  else
4082    case $cross_compiling:$ac_tool_warned in
4083yes:)
4084{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4085$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4086ac_tool_warned=yes ;;
4087esac
4088    CC=$ac_ct_CC
4089  fi
4090fi
4091
4092fi
4093
4094
4095test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4096$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4097as_fn_error $? "no acceptable C compiler found in \$PATH
4098See \`config.log' for more details" "$LINENO" 5; }
4099
4100# Provide some information about the compiler.
4101$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4102set X $ac_compile
4103ac_compiler=$2
4104for ac_option in --version -v -V -qversion; do
4105  { { ac_try="$ac_compiler $ac_option >&5"
4106case "(($ac_try" in
4107  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108  *) ac_try_echo=$ac_try;;
4109esac
4110eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4111$as_echo "$ac_try_echo"; } >&5
4112  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4113  ac_status=$?
4114  if test -s conftest.err; then
4115    sed '10a\
4116... rest of stderr output deleted ...
4117         10q' conftest.err >conftest.er1
4118    cat conftest.er1 >&5
4119  fi
4120  rm -f conftest.er1 conftest.err
4121  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122  test $ac_status = 0; }
4123done
4124
4125cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126/* end confdefs.h.  */
4127
4128int
4129main ()
4130{
4131
4132  ;
4133  return 0;
4134}
4135_ACEOF
4136# FIXME: Cleanup?
4137if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4138  (eval $ac_link) 2>&5
4139  ac_status=$?
4140  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141  test $ac_status = 0; }; then :
4142  gcc_no_link=no
4143else
4144  gcc_no_link=yes
4145fi
4146if test x$gcc_no_link = xyes; then
4147  # Setting cross_compile will disable run tests; it will
4148  # also disable AC_CHECK_FILE but that's generally
4149  # correct if we can't link.
4150  cross_compiling=yes
4151  EXEEXT=
4152else
4153  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154/* end confdefs.h.  */
4155
4156int
4157main ()
4158{
4159
4160  ;
4161  return 0;
4162}
4163_ACEOF
4164ac_clean_files_save=$ac_clean_files
4165ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4166# Try to create an executable without -o first, disregard a.out.
4167# It will help us diagnose broken compilers, and finding out an intuition
4168# of exeext.
4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4170$as_echo_n "checking whether the C compiler works... " >&6; }
4171ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4172
4173# The possible output files:
4174ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4175
4176ac_rmfiles=
4177for ac_file in $ac_files
4178do
4179  case $ac_file in
4180    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4181    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4182  esac
4183done
4184rm -f $ac_rmfiles
4185
4186if { { ac_try="$ac_link_default"
4187case "(($ac_try" in
4188  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4189  *) ac_try_echo=$ac_try;;
4190esac
4191eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4192$as_echo "$ac_try_echo"; } >&5
4193  (eval "$ac_link_default") 2>&5
4194  ac_status=$?
4195  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4196  test $ac_status = 0; }; then :
4197  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4198# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4199# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4200# so that the user can short-circuit this test for compilers unknown to
4201# Autoconf.
4202for ac_file in $ac_files ''
4203do
4204  test -f "$ac_file" || continue
4205  case $ac_file in
4206    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4207	;;
4208    [ab].out )
4209	# We found the default executable, but exeext='' is most
4210	# certainly right.
4211	break;;
4212    *.* )
4213	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4214	then :; else
4215	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4216	fi
4217	# We set ac_cv_exeext here because the later test for it is not
4218	# safe: cross compilers may not add the suffix if given an `-o'
4219	# argument, so we may need to know it at that point already.
4220	# Even if this section looks crufty: it has the advantage of
4221	# actually working.
4222	break;;
4223    * )
4224	break;;
4225  esac
4226done
4227test "$ac_cv_exeext" = no && ac_cv_exeext=
4228
4229else
4230  ac_file=''
4231fi
4232if test -z "$ac_file"; then :
4233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234$as_echo "no" >&6; }
4235$as_echo "$as_me: failed program was:" >&5
4236sed 's/^/| /' conftest.$ac_ext >&5
4237
4238{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240as_fn_error 77 "C compiler cannot create executables
4241See \`config.log' for more details" "$LINENO" 5; }
4242else
4243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4244$as_echo "yes" >&6; }
4245fi
4246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4247$as_echo_n "checking for C compiler default output file name... " >&6; }
4248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4249$as_echo "$ac_file" >&6; }
4250ac_exeext=$ac_cv_exeext
4251
4252rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4253ac_clean_files=$ac_clean_files_save
4254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4255$as_echo_n "checking for suffix of executables... " >&6; }
4256if { { ac_try="$ac_link"
4257case "(($ac_try" in
4258  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4259  *) ac_try_echo=$ac_try;;
4260esac
4261eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4262$as_echo "$ac_try_echo"; } >&5
4263  (eval "$ac_link") 2>&5
4264  ac_status=$?
4265  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4266  test $ac_status = 0; }; then :
4267  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4268# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4269# work properly (i.e., refer to `conftest.exe'), while it won't with
4270# `rm'.
4271for ac_file in conftest.exe conftest conftest.*; do
4272  test -f "$ac_file" || continue
4273  case $ac_file in
4274    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4275    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4276	  break;;
4277    * ) break;;
4278  esac
4279done
4280else
4281  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4283as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4284See \`config.log' for more details" "$LINENO" 5; }
4285fi
4286rm -f conftest conftest$ac_cv_exeext
4287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4288$as_echo "$ac_cv_exeext" >&6; }
4289
4290rm -f conftest.$ac_ext
4291EXEEXT=$ac_cv_exeext
4292ac_exeext=$EXEEXT
4293cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294/* end confdefs.h.  */
4295#include <stdio.h>
4296int
4297main ()
4298{
4299FILE *f = fopen ("conftest.out", "w");
4300 return ferror (f) || fclose (f) != 0;
4301
4302  ;
4303  return 0;
4304}
4305_ACEOF
4306ac_clean_files="$ac_clean_files conftest.out"
4307# Check that the compiler produces executables we can run.  If not, either
4308# the compiler is broken, or we cross compile.
4309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4310$as_echo_n "checking whether we are cross compiling... " >&6; }
4311if test "$cross_compiling" != yes; then
4312  { { ac_try="$ac_link"
4313case "(($ac_try" in
4314  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4315  *) ac_try_echo=$ac_try;;
4316esac
4317eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4318$as_echo "$ac_try_echo"; } >&5
4319  (eval "$ac_link") 2>&5
4320  ac_status=$?
4321  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4322  test $ac_status = 0; }
4323  if { ac_try='./conftest$ac_cv_exeext'
4324  { { case "(($ac_try" in
4325  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326  *) ac_try_echo=$ac_try;;
4327esac
4328eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329$as_echo "$ac_try_echo"; } >&5
4330  (eval "$ac_try") 2>&5
4331  ac_status=$?
4332  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333  test $ac_status = 0; }; }; then
4334    cross_compiling=no
4335  else
4336    if test "$cross_compiling" = maybe; then
4337	cross_compiling=yes
4338    else
4339	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4340$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4341as_fn_error $? "cannot run C compiled programs.
4342If you meant to cross compile, use \`--host'.
4343See \`config.log' for more details" "$LINENO" 5; }
4344    fi
4345  fi
4346fi
4347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4348$as_echo "$cross_compiling" >&6; }
4349
4350rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4351ac_clean_files=$ac_clean_files_save
4352fi
4353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4354$as_echo_n "checking for suffix of object files... " >&6; }
4355if ${ac_cv_objext+:} false; then :
4356  $as_echo_n "(cached) " >&6
4357else
4358  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359/* end confdefs.h.  */
4360
4361int
4362main ()
4363{
4364
4365  ;
4366  return 0;
4367}
4368_ACEOF
4369rm -f conftest.o conftest.obj
4370if { { ac_try="$ac_compile"
4371case "(($ac_try" in
4372  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4373  *) ac_try_echo=$ac_try;;
4374esac
4375eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4376$as_echo "$ac_try_echo"; } >&5
4377  (eval "$ac_compile") 2>&5
4378  ac_status=$?
4379  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4380  test $ac_status = 0; }; then :
4381  for ac_file in conftest.o conftest.obj conftest.*; do
4382  test -f "$ac_file" || continue;
4383  case $ac_file in
4384    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4385    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4386       break;;
4387  esac
4388done
4389else
4390  $as_echo "$as_me: failed program was:" >&5
4391sed 's/^/| /' conftest.$ac_ext >&5
4392
4393{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4394$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4395as_fn_error $? "cannot compute suffix of object files: cannot compile
4396See \`config.log' for more details" "$LINENO" 5; }
4397fi
4398rm -f conftest.$ac_cv_objext conftest.$ac_ext
4399fi
4400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4401$as_echo "$ac_cv_objext" >&6; }
4402OBJEXT=$ac_cv_objext
4403ac_objext=$OBJEXT
4404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4405$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4406if ${ac_cv_c_compiler_gnu+:} false; then :
4407  $as_echo_n "(cached) " >&6
4408else
4409  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410/* end confdefs.h.  */
4411
4412int
4413main ()
4414{
4415#ifndef __GNUC__
4416       choke me
4417#endif
4418
4419  ;
4420  return 0;
4421}
4422_ACEOF
4423if ac_fn_c_try_compile "$LINENO"; then :
4424  ac_compiler_gnu=yes
4425else
4426  ac_compiler_gnu=no
4427fi
4428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4429ac_cv_c_compiler_gnu=$ac_compiler_gnu
4430
4431fi
4432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4433$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4434if test $ac_compiler_gnu = yes; then
4435  GCC=yes
4436else
4437  GCC=
4438fi
4439ac_test_CFLAGS=${CFLAGS+set}
4440ac_save_CFLAGS=$CFLAGS
4441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4442$as_echo_n "checking whether $CC accepts -g... " >&6; }
4443if ${ac_cv_prog_cc_g+:} false; then :
4444  $as_echo_n "(cached) " >&6
4445else
4446  ac_save_c_werror_flag=$ac_c_werror_flag
4447   ac_c_werror_flag=yes
4448   ac_cv_prog_cc_g=no
4449   CFLAGS="-g"
4450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451/* end confdefs.h.  */
4452
4453int
4454main ()
4455{
4456
4457  ;
4458  return 0;
4459}
4460_ACEOF
4461if ac_fn_c_try_compile "$LINENO"; then :
4462  ac_cv_prog_cc_g=yes
4463else
4464  CFLAGS=""
4465      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466/* end confdefs.h.  */
4467
4468int
4469main ()
4470{
4471
4472  ;
4473  return 0;
4474}
4475_ACEOF
4476if ac_fn_c_try_compile "$LINENO"; then :
4477
4478else
4479  ac_c_werror_flag=$ac_save_c_werror_flag
4480	 CFLAGS="-g"
4481	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482/* end confdefs.h.  */
4483
4484int
4485main ()
4486{
4487
4488  ;
4489  return 0;
4490}
4491_ACEOF
4492if ac_fn_c_try_compile "$LINENO"; then :
4493  ac_cv_prog_cc_g=yes
4494fi
4495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496fi
4497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498fi
4499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4500   ac_c_werror_flag=$ac_save_c_werror_flag
4501fi
4502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4503$as_echo "$ac_cv_prog_cc_g" >&6; }
4504if test "$ac_test_CFLAGS" = set; then
4505  CFLAGS=$ac_save_CFLAGS
4506elif test $ac_cv_prog_cc_g = yes; then
4507  if test "$GCC" = yes; then
4508    CFLAGS="-g -O2"
4509  else
4510    CFLAGS="-g"
4511  fi
4512else
4513  if test "$GCC" = yes; then
4514    CFLAGS="-O2"
4515  else
4516    CFLAGS=
4517  fi
4518fi
4519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4520$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4521if ${ac_cv_prog_cc_c89+:} false; then :
4522  $as_echo_n "(cached) " >&6
4523else
4524  ac_cv_prog_cc_c89=no
4525ac_save_CC=$CC
4526cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527/* end confdefs.h.  */
4528#include <stdarg.h>
4529#include <stdio.h>
4530struct stat;
4531/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4532struct buf { int x; };
4533FILE * (*rcsopen) (struct buf *, struct stat *, int);
4534static char *e (p, i)
4535     char **p;
4536     int i;
4537{
4538  return p[i];
4539}
4540static char *f (char * (*g) (char **, int), char **p, ...)
4541{
4542  char *s;
4543  va_list v;
4544  va_start (v,p);
4545  s = g (p, va_arg (v,int));
4546  va_end (v);
4547  return s;
4548}
4549
4550/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4551   function prototypes and stuff, but not '\xHH' hex character constants.
4552   These don't provoke an error unfortunately, instead are silently treated
4553   as 'x'.  The following induces an error, until -std is added to get
4554   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4555   array size at least.  It's necessary to write '\x00'==0 to get something
4556   that's true only with -std.  */
4557int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4558
4559/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4560   inside strings and character constants.  */
4561#define FOO(x) 'x'
4562int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4563
4564int test (int i, double x);
4565struct s1 {int (*f) (int a);};
4566struct s2 {int (*f) (double a);};
4567int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4568int argc;
4569char **argv;
4570int
4571main ()
4572{
4573return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4574  ;
4575  return 0;
4576}
4577_ACEOF
4578for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4579	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4580do
4581  CC="$ac_save_CC $ac_arg"
4582  if ac_fn_c_try_compile "$LINENO"; then :
4583  ac_cv_prog_cc_c89=$ac_arg
4584fi
4585rm -f core conftest.err conftest.$ac_objext
4586  test "x$ac_cv_prog_cc_c89" != "xno" && break
4587done
4588rm -f conftest.$ac_ext
4589CC=$ac_save_CC
4590
4591fi
4592# AC_CACHE_VAL
4593case "x$ac_cv_prog_cc_c89" in
4594  x)
4595    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4596$as_echo "none needed" >&6; } ;;
4597  xno)
4598    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4599$as_echo "unsupported" >&6; } ;;
4600  *)
4601    CC="$CC $ac_cv_prog_cc_c89"
4602    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4603$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4604esac
4605if test "x$ac_cv_prog_cc_c89" != xno; then :
4606
4607fi
4608
4609ac_ext=c
4610ac_cpp='$CPP $CPPFLAGS'
4611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4613ac_compiler_gnu=$ac_cv_c_compiler_gnu
4614
4615ac_ext=c
4616ac_cpp='$CPP $CPPFLAGS'
4617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619ac_compiler_gnu=$ac_cv_c_compiler_gnu
4620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4621$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4622if ${am_cv_prog_cc_c_o+:} false; then :
4623  $as_echo_n "(cached) " >&6
4624else
4625  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626/* end confdefs.h.  */
4627
4628int
4629main ()
4630{
4631
4632  ;
4633  return 0;
4634}
4635_ACEOF
4636  # Make sure it works both with $CC and with simple cc.
4637  # Following AC_PROG_CC_C_O, we do the test twice because some
4638  # compilers refuse to overwrite an existing .o file with -o,
4639  # though they will create one.
4640  am_cv_prog_cc_c_o=yes
4641  for am_i in 1 2; do
4642    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4643   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4644   ac_status=$?
4645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646   (exit $ac_status); } \
4647         && test -f conftest2.$ac_objext; then
4648      : OK
4649    else
4650      am_cv_prog_cc_c_o=no
4651      break
4652    fi
4653  done
4654  rm -f core conftest*
4655  unset am_i
4656fi
4657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4658$as_echo "$am_cv_prog_cc_c_o" >&6; }
4659if test "$am_cv_prog_cc_c_o" != yes; then
4660   # Losing compiler, so override with the script.
4661   # FIXME: It is wrong to rewrite CC.
4662   # But if we don't then we get into trouble of one sort or another.
4663   # A longer-term fix would be to have automake use am__CC in this case,
4664   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4665   CC="$am_aux_dir/compile $CC"
4666fi
4667ac_ext=c
4668ac_cpp='$CPP $CPPFLAGS'
4669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4671ac_compiler_gnu=$ac_cv_c_compiler_gnu
4672
4673
4674ac_ext=cpp
4675ac_cpp='$CXXCPP $CPPFLAGS'
4676ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4679if test -z "$CXX"; then
4680  if test -n "$CCC"; then
4681    CXX=$CCC
4682  else
4683    if test -n "$ac_tool_prefix"; then
4684  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4685  do
4686    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4687set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689$as_echo_n "checking for $ac_word... " >&6; }
4690if ${ac_cv_prog_CXX+:} false; then :
4691  $as_echo_n "(cached) " >&6
4692else
4693  if test -n "$CXX"; then
4694  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4695else
4696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697for as_dir in $PATH
4698do
4699  IFS=$as_save_IFS
4700  test -z "$as_dir" && as_dir=.
4701    for ac_exec_ext in '' $ac_executable_extensions; do
4702  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4703    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4704    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705    break 2
4706  fi
4707done
4708  done
4709IFS=$as_save_IFS
4710
4711fi
4712fi
4713CXX=$ac_cv_prog_CXX
4714if test -n "$CXX"; then
4715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4716$as_echo "$CXX" >&6; }
4717else
4718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719$as_echo "no" >&6; }
4720fi
4721
4722
4723    test -n "$CXX" && break
4724  done
4725fi
4726if test -z "$CXX"; then
4727  ac_ct_CXX=$CXX
4728  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4729do
4730  # Extract the first word of "$ac_prog", so it can be a program name with args.
4731set dummy $ac_prog; ac_word=$2
4732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733$as_echo_n "checking for $ac_word... " >&6; }
4734if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4735  $as_echo_n "(cached) " >&6
4736else
4737  if test -n "$ac_ct_CXX"; then
4738  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4739else
4740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741for as_dir in $PATH
4742do
4743  IFS=$as_save_IFS
4744  test -z "$as_dir" && as_dir=.
4745    for ac_exec_ext in '' $ac_executable_extensions; do
4746  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4747    ac_cv_prog_ac_ct_CXX="$ac_prog"
4748    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4749    break 2
4750  fi
4751done
4752  done
4753IFS=$as_save_IFS
4754
4755fi
4756fi
4757ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4758if test -n "$ac_ct_CXX"; then
4759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4760$as_echo "$ac_ct_CXX" >&6; }
4761else
4762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763$as_echo "no" >&6; }
4764fi
4765
4766
4767  test -n "$ac_ct_CXX" && break
4768done
4769
4770  if test "x$ac_ct_CXX" = x; then
4771    CXX="g++"
4772  else
4773    case $cross_compiling:$ac_tool_warned in
4774yes:)
4775{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4776$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4777ac_tool_warned=yes ;;
4778esac
4779    CXX=$ac_ct_CXX
4780  fi
4781fi
4782
4783  fi
4784fi
4785# Provide some information about the compiler.
4786$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4787set X $ac_compile
4788ac_compiler=$2
4789for ac_option in --version -v -V -qversion; do
4790  { { ac_try="$ac_compiler $ac_option >&5"
4791case "(($ac_try" in
4792  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793  *) ac_try_echo=$ac_try;;
4794esac
4795eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796$as_echo "$ac_try_echo"; } >&5
4797  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4798  ac_status=$?
4799  if test -s conftest.err; then
4800    sed '10a\
4801... rest of stderr output deleted ...
4802         10q' conftest.err >conftest.er1
4803    cat conftest.er1 >&5
4804  fi
4805  rm -f conftest.er1 conftest.err
4806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4807  test $ac_status = 0; }
4808done
4809
4810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4811$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4812if ${ac_cv_cxx_compiler_gnu+:} false; then :
4813  $as_echo_n "(cached) " >&6
4814else
4815  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816/* end confdefs.h.  */
4817
4818int
4819main ()
4820{
4821#ifndef __GNUC__
4822       choke me
4823#endif
4824
4825  ;
4826  return 0;
4827}
4828_ACEOF
4829if ac_fn_cxx_try_compile "$LINENO"; then :
4830  ac_compiler_gnu=yes
4831else
4832  ac_compiler_gnu=no
4833fi
4834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4835ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4836
4837fi
4838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4839$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4840if test $ac_compiler_gnu = yes; then
4841  GXX=yes
4842else
4843  GXX=
4844fi
4845ac_test_CXXFLAGS=${CXXFLAGS+set}
4846ac_save_CXXFLAGS=$CXXFLAGS
4847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4848$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4849if ${ac_cv_prog_cxx_g+:} false; then :
4850  $as_echo_n "(cached) " >&6
4851else
4852  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4853   ac_cxx_werror_flag=yes
4854   ac_cv_prog_cxx_g=no
4855   CXXFLAGS="-g"
4856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857/* end confdefs.h.  */
4858
4859int
4860main ()
4861{
4862
4863  ;
4864  return 0;
4865}
4866_ACEOF
4867if ac_fn_cxx_try_compile "$LINENO"; then :
4868  ac_cv_prog_cxx_g=yes
4869else
4870  CXXFLAGS=""
4871      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872/* end confdefs.h.  */
4873
4874int
4875main ()
4876{
4877
4878  ;
4879  return 0;
4880}
4881_ACEOF
4882if ac_fn_cxx_try_compile "$LINENO"; then :
4883
4884else
4885  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4886	 CXXFLAGS="-g"
4887	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888/* end confdefs.h.  */
4889
4890int
4891main ()
4892{
4893
4894  ;
4895  return 0;
4896}
4897_ACEOF
4898if ac_fn_cxx_try_compile "$LINENO"; then :
4899  ac_cv_prog_cxx_g=yes
4900fi
4901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902fi
4903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904fi
4905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4907fi
4908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4909$as_echo "$ac_cv_prog_cxx_g" >&6; }
4910if test "$ac_test_CXXFLAGS" = set; then
4911  CXXFLAGS=$ac_save_CXXFLAGS
4912elif test $ac_cv_prog_cxx_g = yes; then
4913  if test "$GXX" = yes; then
4914    CXXFLAGS="-g -O2"
4915  else
4916    CXXFLAGS="-g"
4917  fi
4918else
4919  if test "$GXX" = yes; then
4920    CXXFLAGS="-O2"
4921  else
4922    CXXFLAGS=
4923  fi
4924fi
4925ac_ext=c
4926ac_cpp='$CPP $CPPFLAGS'
4927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929ac_compiler_gnu=$ac_cv_c_compiler_gnu
4930
4931CXXFLAGS="$save_CXXFLAGS"
4932
4933
4934# Check whether --enable-largefile was given.
4935if test "${enable_largefile+set}" = set; then :
4936  enableval=$enable_largefile;
4937fi
4938
4939if test "$enable_largefile" != no; then
4940
4941  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4942$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4943if ${ac_cv_sys_largefile_CC+:} false; then :
4944  $as_echo_n "(cached) " >&6
4945else
4946  ac_cv_sys_largefile_CC=no
4947     if test "$GCC" != yes; then
4948       ac_save_CC=$CC
4949       while :; do
4950	 # IRIX 6.2 and later do not support large files by default,
4951	 # so use the C compiler's -n32 option if that helps.
4952	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953/* end confdefs.h.  */
4954#include <sys/types.h>
4955 /* Check that off_t can represent 2**63 - 1 correctly.
4956    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4957    since some C++ compilers masquerading as C compilers
4958    incorrectly reject 9223372036854775807.  */
4959#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4960  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4961		       && LARGE_OFF_T % 2147483647 == 1)
4962		      ? 1 : -1];
4963int
4964main ()
4965{
4966
4967  ;
4968  return 0;
4969}
4970_ACEOF
4971	 if ac_fn_c_try_compile "$LINENO"; then :
4972  break
4973fi
4974rm -f core conftest.err conftest.$ac_objext
4975	 CC="$CC -n32"
4976	 if ac_fn_c_try_compile "$LINENO"; then :
4977  ac_cv_sys_largefile_CC=' -n32'; break
4978fi
4979rm -f core conftest.err conftest.$ac_objext
4980	 break
4981       done
4982       CC=$ac_save_CC
4983       rm -f conftest.$ac_ext
4984    fi
4985fi
4986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4987$as_echo "$ac_cv_sys_largefile_CC" >&6; }
4988  if test "$ac_cv_sys_largefile_CC" != no; then
4989    CC=$CC$ac_cv_sys_largefile_CC
4990  fi
4991
4992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4993$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4994if ${ac_cv_sys_file_offset_bits+:} false; then :
4995  $as_echo_n "(cached) " >&6
4996else
4997  while :; do
4998  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999/* end confdefs.h.  */
5000#include <sys/types.h>
5001 /* Check that off_t can represent 2**63 - 1 correctly.
5002    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5003    since some C++ compilers masquerading as C compilers
5004    incorrectly reject 9223372036854775807.  */
5005#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5006  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5007		       && LARGE_OFF_T % 2147483647 == 1)
5008		      ? 1 : -1];
5009int
5010main ()
5011{
5012
5013  ;
5014  return 0;
5015}
5016_ACEOF
5017if ac_fn_c_try_compile "$LINENO"; then :
5018  ac_cv_sys_file_offset_bits=no; break
5019fi
5020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022/* end confdefs.h.  */
5023#define _FILE_OFFSET_BITS 64
5024#include <sys/types.h>
5025 /* Check that off_t can represent 2**63 - 1 correctly.
5026    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5027    since some C++ compilers masquerading as C compilers
5028    incorrectly reject 9223372036854775807.  */
5029#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5030  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5031		       && LARGE_OFF_T % 2147483647 == 1)
5032		      ? 1 : -1];
5033int
5034main ()
5035{
5036
5037  ;
5038  return 0;
5039}
5040_ACEOF
5041if ac_fn_c_try_compile "$LINENO"; then :
5042  ac_cv_sys_file_offset_bits=64; break
5043fi
5044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045  ac_cv_sys_file_offset_bits=unknown
5046  break
5047done
5048fi
5049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5050$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5051case $ac_cv_sys_file_offset_bits in #(
5052  no | unknown) ;;
5053  *)
5054cat >>confdefs.h <<_ACEOF
5055#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5056_ACEOF
5057;;
5058esac
5059rm -rf conftest*
5060  if test $ac_cv_sys_file_offset_bits = unknown; then
5061    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5062$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5063if ${ac_cv_sys_large_files+:} false; then :
5064  $as_echo_n "(cached) " >&6
5065else
5066  while :; do
5067  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5068/* end confdefs.h.  */
5069#include <sys/types.h>
5070 /* Check that off_t can represent 2**63 - 1 correctly.
5071    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5072    since some C++ compilers masquerading as C compilers
5073    incorrectly reject 9223372036854775807.  */
5074#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5075  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5076		       && LARGE_OFF_T % 2147483647 == 1)
5077		      ? 1 : -1];
5078int
5079main ()
5080{
5081
5082  ;
5083  return 0;
5084}
5085_ACEOF
5086if ac_fn_c_try_compile "$LINENO"; then :
5087  ac_cv_sys_large_files=no; break
5088fi
5089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5090  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091/* end confdefs.h.  */
5092#define _LARGE_FILES 1
5093#include <sys/types.h>
5094 /* Check that off_t can represent 2**63 - 1 correctly.
5095    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5096    since some C++ compilers masquerading as C compilers
5097    incorrectly reject 9223372036854775807.  */
5098#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5099  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5100		       && LARGE_OFF_T % 2147483647 == 1)
5101		      ? 1 : -1];
5102int
5103main ()
5104{
5105
5106  ;
5107  return 0;
5108}
5109_ACEOF
5110if ac_fn_c_try_compile "$LINENO"; then :
5111  ac_cv_sys_large_files=1; break
5112fi
5113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5114  ac_cv_sys_large_files=unknown
5115  break
5116done
5117fi
5118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5119$as_echo "$ac_cv_sys_large_files" >&6; }
5120case $ac_cv_sys_large_files in #(
5121  no | unknown) ;;
5122  *)
5123cat >>confdefs.h <<_ACEOF
5124#define _LARGE_FILES $ac_cv_sys_large_files
5125_ACEOF
5126;;
5127esac
5128rm -rf conftest*
5129  fi
5130
5131
5132fi
5133
5134
5135# Runs configure.host, and assorted other critical bits.  Sets
5136# up critical shell variables.
5137ac_ext=c
5138ac_cpp='$CPP $CPPFLAGS'
5139ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141ac_compiler_gnu=$ac_cv_c_compiler_gnu
5142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5143$as_echo_n "checking how to run the C preprocessor... " >&6; }
5144# On Suns, sometimes $CPP names a directory.
5145if test -n "$CPP" && test -d "$CPP"; then
5146  CPP=
5147fi
5148if test -z "$CPP"; then
5149  if ${ac_cv_prog_CPP+:} false; then :
5150  $as_echo_n "(cached) " >&6
5151else
5152      # Double quotes because CPP needs to be expanded
5153    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5154    do
5155      ac_preproc_ok=false
5156for ac_c_preproc_warn_flag in '' yes
5157do
5158  # Use a header file that comes with gcc, so configuring glibc
5159  # with a fresh cross-compiler works.
5160  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5161  # <limits.h> exists even on freestanding compilers.
5162  # On the NeXT, cc -E runs the code through the compiler's parser,
5163  # not just through cpp. "Syntax error" is here to catch this case.
5164  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5165/* end confdefs.h.  */
5166#ifdef __STDC__
5167# include <limits.h>
5168#else
5169# include <assert.h>
5170#endif
5171		     Syntax error
5172_ACEOF
5173if ac_fn_c_try_cpp "$LINENO"; then :
5174
5175else
5176  # Broken: fails on valid input.
5177continue
5178fi
5179rm -f conftest.err conftest.i conftest.$ac_ext
5180
5181  # OK, works on sane cases.  Now check whether nonexistent headers
5182  # can be detected and how.
5183  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184/* end confdefs.h.  */
5185#include <ac_nonexistent.h>
5186_ACEOF
5187if ac_fn_c_try_cpp "$LINENO"; then :
5188  # Broken: success on invalid input.
5189continue
5190else
5191  # Passes both tests.
5192ac_preproc_ok=:
5193break
5194fi
5195rm -f conftest.err conftest.i conftest.$ac_ext
5196
5197done
5198# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5199rm -f conftest.i conftest.err conftest.$ac_ext
5200if $ac_preproc_ok; then :
5201  break
5202fi
5203
5204    done
5205    ac_cv_prog_CPP=$CPP
5206
5207fi
5208  CPP=$ac_cv_prog_CPP
5209else
5210  ac_cv_prog_CPP=$CPP
5211fi
5212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5213$as_echo "$CPP" >&6; }
5214ac_preproc_ok=false
5215for ac_c_preproc_warn_flag in '' yes
5216do
5217  # Use a header file that comes with gcc, so configuring glibc
5218  # with a fresh cross-compiler works.
5219  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5220  # <limits.h> exists even on freestanding compilers.
5221  # On the NeXT, cc -E runs the code through the compiler's parser,
5222  # not just through cpp. "Syntax error" is here to catch this case.
5223  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5224/* end confdefs.h.  */
5225#ifdef __STDC__
5226# include <limits.h>
5227#else
5228# include <assert.h>
5229#endif
5230		     Syntax error
5231_ACEOF
5232if ac_fn_c_try_cpp "$LINENO"; then :
5233
5234else
5235  # Broken: fails on valid input.
5236continue
5237fi
5238rm -f conftest.err conftest.i conftest.$ac_ext
5239
5240  # OK, works on sane cases.  Now check whether nonexistent headers
5241  # can be detected and how.
5242  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243/* end confdefs.h.  */
5244#include <ac_nonexistent.h>
5245_ACEOF
5246if ac_fn_c_try_cpp "$LINENO"; then :
5247  # Broken: success on invalid input.
5248continue
5249else
5250  # Passes both tests.
5251ac_preproc_ok=:
5252break
5253fi
5254rm -f conftest.err conftest.i conftest.$ac_ext
5255
5256done
5257# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5258rm -f conftest.i conftest.err conftest.$ac_ext
5259if $ac_preproc_ok; then :
5260
5261else
5262  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5263$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5264as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5265See \`config.log' for more details" "$LINENO" 5; }
5266fi
5267
5268ac_ext=c
5269ac_cpp='$CPP $CPPFLAGS'
5270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272ac_compiler_gnu=$ac_cv_c_compiler_gnu
5273
5274
5275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5276$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5277if ${ac_cv_path_GREP+:} false; then :
5278  $as_echo_n "(cached) " >&6
5279else
5280  if test -z "$GREP"; then
5281  ac_path_GREP_found=false
5282  # Loop through the user's path and test for each of PROGNAME-LIST
5283  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5285do
5286  IFS=$as_save_IFS
5287  test -z "$as_dir" && as_dir=.
5288    for ac_prog in grep ggrep; do
5289    for ac_exec_ext in '' $ac_executable_extensions; do
5290      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5291      as_fn_executable_p "$ac_path_GREP" || continue
5292# Check for GNU ac_path_GREP and select it if it is found.
5293  # Check for GNU $ac_path_GREP
5294case `"$ac_path_GREP" --version 2>&1` in
5295*GNU*)
5296  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5297*)
5298  ac_count=0
5299  $as_echo_n 0123456789 >"conftest.in"
5300  while :
5301  do
5302    cat "conftest.in" "conftest.in" >"conftest.tmp"
5303    mv "conftest.tmp" "conftest.in"
5304    cp "conftest.in" "conftest.nl"
5305    $as_echo 'GREP' >> "conftest.nl"
5306    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5307    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5308    as_fn_arith $ac_count + 1 && ac_count=$as_val
5309    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5310      # Best one so far, save it but keep looking for a better one
5311      ac_cv_path_GREP="$ac_path_GREP"
5312      ac_path_GREP_max=$ac_count
5313    fi
5314    # 10*(2^10) chars as input seems more than enough
5315    test $ac_count -gt 10 && break
5316  done
5317  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5318esac
5319
5320      $ac_path_GREP_found && break 3
5321    done
5322  done
5323  done
5324IFS=$as_save_IFS
5325  if test -z "$ac_cv_path_GREP"; then
5326    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5327  fi
5328else
5329  ac_cv_path_GREP=$GREP
5330fi
5331
5332fi
5333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5334$as_echo "$ac_cv_path_GREP" >&6; }
5335 GREP="$ac_cv_path_GREP"
5336
5337
5338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5339$as_echo_n "checking for egrep... " >&6; }
5340if ${ac_cv_path_EGREP+:} false; then :
5341  $as_echo_n "(cached) " >&6
5342else
5343  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5344   then ac_cv_path_EGREP="$GREP -E"
5345   else
5346     if test -z "$EGREP"; then
5347  ac_path_EGREP_found=false
5348  # Loop through the user's path and test for each of PROGNAME-LIST
5349  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5351do
5352  IFS=$as_save_IFS
5353  test -z "$as_dir" && as_dir=.
5354    for ac_prog in egrep; do
5355    for ac_exec_ext in '' $ac_executable_extensions; do
5356      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5357      as_fn_executable_p "$ac_path_EGREP" || continue
5358# Check for GNU ac_path_EGREP and select it if it is found.
5359  # Check for GNU $ac_path_EGREP
5360case `"$ac_path_EGREP" --version 2>&1` in
5361*GNU*)
5362  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5363*)
5364  ac_count=0
5365  $as_echo_n 0123456789 >"conftest.in"
5366  while :
5367  do
5368    cat "conftest.in" "conftest.in" >"conftest.tmp"
5369    mv "conftest.tmp" "conftest.in"
5370    cp "conftest.in" "conftest.nl"
5371    $as_echo 'EGREP' >> "conftest.nl"
5372    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5373    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5374    as_fn_arith $ac_count + 1 && ac_count=$as_val
5375    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5376      # Best one so far, save it but keep looking for a better one
5377      ac_cv_path_EGREP="$ac_path_EGREP"
5378      ac_path_EGREP_max=$ac_count
5379    fi
5380    # 10*(2^10) chars as input seems more than enough
5381    test $ac_count -gt 10 && break
5382  done
5383  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5384esac
5385
5386      $ac_path_EGREP_found && break 3
5387    done
5388  done
5389  done
5390IFS=$as_save_IFS
5391  if test -z "$ac_cv_path_EGREP"; then
5392    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5393  fi
5394else
5395  ac_cv_path_EGREP=$EGREP
5396fi
5397
5398   fi
5399fi
5400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5401$as_echo "$ac_cv_path_EGREP" >&6; }
5402 EGREP="$ac_cv_path_EGREP"
5403
5404
5405
5406  # Keep these sync'd with the list in Makefile.am.  The first provides an
5407  # expandable list at autoconf time; the second provides an expandable list
5408  # (i.e., shell variable) at configure time.
5409
5410  SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5411
5412  # These need to be absolute paths, yet at the same time need to
5413  # canonicalize only relative paths, because then amd will not unmount
5414  # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5415  glibcxx_builddir=`${PWDCMD-pwd}`
5416  case $srcdir in
5417    \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5418    *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5419  esac
5420  toplevel_builddir=${glibcxx_builddir}/..
5421  toplevel_srcdir=${glibcxx_srcdir}/..
5422
5423
5424
5425
5426
5427  # We use these options to decide which functions to include.  They are
5428  # set from the top level.
5429
5430# Check whether --with-target-subdir was given.
5431if test "${with_target_subdir+set}" = set; then :
5432  withval=$with_target_subdir;
5433fi
5434
5435
5436
5437# Check whether --with-cross-host was given.
5438if test "${with_cross_host+set}" = set; then :
5439  withval=$with_cross_host;
5440fi
5441
5442
5443
5444# Check whether --with-newlib was given.
5445if test "${with_newlib+set}" = set; then :
5446  withval=$with_newlib;
5447fi
5448
5449
5450  # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5451  # available).  Uncomment the next line to force a particular method.
5452  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5453$as_echo_n "checking whether ln -s works... " >&6; }
5454LN_S=$as_ln_s
5455if test "$LN_S" = "ln -s"; then
5456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5457$as_echo "yes" >&6; }
5458else
5459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5460$as_echo "no, using $LN_S" >&6; }
5461fi
5462
5463  #LN_S='cp -p'
5464
5465  if test -n "$ac_tool_prefix"; then
5466  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5467set dummy ${ac_tool_prefix}as; ac_word=$2
5468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469$as_echo_n "checking for $ac_word... " >&6; }
5470if ${ac_cv_prog_AS+:} false; then :
5471  $as_echo_n "(cached) " >&6
5472else
5473  if test -n "$AS"; then
5474  ac_cv_prog_AS="$AS" # Let the user override the test.
5475else
5476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477for as_dir in $PATH
5478do
5479  IFS=$as_save_IFS
5480  test -z "$as_dir" && as_dir=.
5481    for ac_exec_ext in '' $ac_executable_extensions; do
5482  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483    ac_cv_prog_AS="${ac_tool_prefix}as"
5484    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485    break 2
5486  fi
5487done
5488  done
5489IFS=$as_save_IFS
5490
5491fi
5492fi
5493AS=$ac_cv_prog_AS
5494if test -n "$AS"; then
5495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5496$as_echo "$AS" >&6; }
5497else
5498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499$as_echo "no" >&6; }
5500fi
5501
5502
5503fi
5504if test -z "$ac_cv_prog_AS"; then
5505  ac_ct_AS=$AS
5506  # Extract the first word of "as", so it can be a program name with args.
5507set dummy as; ac_word=$2
5508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509$as_echo_n "checking for $ac_word... " >&6; }
5510if ${ac_cv_prog_ac_ct_AS+:} false; then :
5511  $as_echo_n "(cached) " >&6
5512else
5513  if test -n "$ac_ct_AS"; then
5514  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5515else
5516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517for as_dir in $PATH
5518do
5519  IFS=$as_save_IFS
5520  test -z "$as_dir" && as_dir=.
5521    for ac_exec_ext in '' $ac_executable_extensions; do
5522  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5523    ac_cv_prog_ac_ct_AS="as"
5524    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525    break 2
5526  fi
5527done
5528  done
5529IFS=$as_save_IFS
5530
5531fi
5532fi
5533ac_ct_AS=$ac_cv_prog_ac_ct_AS
5534if test -n "$ac_ct_AS"; then
5535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5536$as_echo "$ac_ct_AS" >&6; }
5537else
5538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539$as_echo "no" >&6; }
5540fi
5541
5542  if test "x$ac_ct_AS" = x; then
5543    AS=""
5544  else
5545    case $cross_compiling:$ac_tool_warned in
5546yes:)
5547{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5548$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5549ac_tool_warned=yes ;;
5550esac
5551    AS=$ac_ct_AS
5552  fi
5553else
5554  AS="$ac_cv_prog_AS"
5555fi
5556
5557  if test -n "$ac_tool_prefix"; then
5558  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5559set dummy ${ac_tool_prefix}ar; ac_word=$2
5560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561$as_echo_n "checking for $ac_word... " >&6; }
5562if ${ac_cv_prog_AR+:} false; then :
5563  $as_echo_n "(cached) " >&6
5564else
5565  if test -n "$AR"; then
5566  ac_cv_prog_AR="$AR" # Let the user override the test.
5567else
5568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569for as_dir in $PATH
5570do
5571  IFS=$as_save_IFS
5572  test -z "$as_dir" && as_dir=.
5573    for ac_exec_ext in '' $ac_executable_extensions; do
5574  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575    ac_cv_prog_AR="${ac_tool_prefix}ar"
5576    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577    break 2
5578  fi
5579done
5580  done
5581IFS=$as_save_IFS
5582
5583fi
5584fi
5585AR=$ac_cv_prog_AR
5586if test -n "$AR"; then
5587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5588$as_echo "$AR" >&6; }
5589else
5590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591$as_echo "no" >&6; }
5592fi
5593
5594
5595fi
5596if test -z "$ac_cv_prog_AR"; then
5597  ac_ct_AR=$AR
5598  # Extract the first word of "ar", so it can be a program name with args.
5599set dummy ar; ac_word=$2
5600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601$as_echo_n "checking for $ac_word... " >&6; }
5602if ${ac_cv_prog_ac_ct_AR+:} false; then :
5603  $as_echo_n "(cached) " >&6
5604else
5605  if test -n "$ac_ct_AR"; then
5606  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5607else
5608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609for as_dir in $PATH
5610do
5611  IFS=$as_save_IFS
5612  test -z "$as_dir" && as_dir=.
5613    for ac_exec_ext in '' $ac_executable_extensions; do
5614  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615    ac_cv_prog_ac_ct_AR="ar"
5616    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617    break 2
5618  fi
5619done
5620  done
5621IFS=$as_save_IFS
5622
5623fi
5624fi
5625ac_ct_AR=$ac_cv_prog_ac_ct_AR
5626if test -n "$ac_ct_AR"; then
5627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5628$as_echo "$ac_ct_AR" >&6; }
5629else
5630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631$as_echo "no" >&6; }
5632fi
5633
5634  if test "x$ac_ct_AR" = x; then
5635    AR=""
5636  else
5637    case $cross_compiling:$ac_tool_warned in
5638yes:)
5639{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5640$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5641ac_tool_warned=yes ;;
5642esac
5643    AR=$ac_ct_AR
5644  fi
5645else
5646  AR="$ac_cv_prog_AR"
5647fi
5648
5649  if test -n "$ac_tool_prefix"; then
5650  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5651set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653$as_echo_n "checking for $ac_word... " >&6; }
5654if ${ac_cv_prog_RANLIB+:} false; then :
5655  $as_echo_n "(cached) " >&6
5656else
5657  if test -n "$RANLIB"; then
5658  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5659else
5660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661for as_dir in $PATH
5662do
5663  IFS=$as_save_IFS
5664  test -z "$as_dir" && as_dir=.
5665    for ac_exec_ext in '' $ac_executable_extensions; do
5666  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5667    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5668    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669    break 2
5670  fi
5671done
5672  done
5673IFS=$as_save_IFS
5674
5675fi
5676fi
5677RANLIB=$ac_cv_prog_RANLIB
5678if test -n "$RANLIB"; then
5679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5680$as_echo "$RANLIB" >&6; }
5681else
5682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683$as_echo "no" >&6; }
5684fi
5685
5686
5687fi
5688if test -z "$ac_cv_prog_RANLIB"; then
5689  ac_ct_RANLIB=$RANLIB
5690  # Extract the first word of "ranlib", so it can be a program name with args.
5691set dummy ranlib; ac_word=$2
5692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693$as_echo_n "checking for $ac_word... " >&6; }
5694if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5695  $as_echo_n "(cached) " >&6
5696else
5697  if test -n "$ac_ct_RANLIB"; then
5698  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5699else
5700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701for as_dir in $PATH
5702do
5703  IFS=$as_save_IFS
5704  test -z "$as_dir" && as_dir=.
5705    for ac_exec_ext in '' $ac_executable_extensions; do
5706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707    ac_cv_prog_ac_ct_RANLIB="ranlib"
5708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709    break 2
5710  fi
5711done
5712  done
5713IFS=$as_save_IFS
5714
5715fi
5716fi
5717ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5718if test -n "$ac_ct_RANLIB"; then
5719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5720$as_echo "$ac_ct_RANLIB" >&6; }
5721else
5722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723$as_echo "no" >&6; }
5724fi
5725
5726  if test "x$ac_ct_RANLIB" = x; then
5727    RANLIB="ranlib-not-found-in-path-error"
5728  else
5729    case $cross_compiling:$ac_tool_warned in
5730yes:)
5731{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5732$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5733ac_tool_warned=yes ;;
5734esac
5735    RANLIB=$ac_ct_RANLIB
5736  fi
5737else
5738  RANLIB="$ac_cv_prog_RANLIB"
5739fi
5740
5741
5742
5743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5744$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5745    # Check whether --enable-maintainer-mode was given.
5746if test "${enable_maintainer_mode+set}" = set; then :
5747  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5748else
5749  USE_MAINTAINER_MODE=no
5750fi
5751
5752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5753$as_echo "$USE_MAINTAINER_MODE" >&6; }
5754   if test $USE_MAINTAINER_MODE = yes; then
5755  MAINTAINER_MODE_TRUE=
5756  MAINTAINER_MODE_FALSE='#'
5757else
5758  MAINTAINER_MODE_TRUE='#'
5759  MAINTAINER_MODE_FALSE=
5760fi
5761
5762  MAINT=$MAINTAINER_MODE_TRUE
5763
5764
5765
5766  # Set up safe default values for all subsequent AM_CONDITIONAL tests
5767  # which are themselves conditionally expanded.
5768  ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5769  ## other macros from doing the same.  This should be automated.)  -pme
5770
5771  # Check for C library flavor since GNU/Linux platforms use different
5772  # configuration directories depending on the C library in use.
5773  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5774/* end confdefs.h.  */
5775
5776  #include <stdio.h>
5777  #if __UCLIBC__
5778    _using_uclibc
5779  #endif
5780
5781_ACEOF
5782if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5783  $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5784  uclibc=yes
5785else
5786  uclibc=no
5787fi
5788rm -f conftest*
5789
5790
5791  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5792/* end confdefs.h.  */
5793
5794  #include <stdio.h>
5795  #if __BIONIC__
5796    _using_bionic
5797  #endif
5798
5799_ACEOF
5800if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5801  $EGREP "_using_bionic" >/dev/null 2>&1; then :
5802  bionic=yes
5803else
5804  bionic=no
5805fi
5806rm -f conftest*
5807
5808
5809  # Find platform-specific directories containing configuration info.
5810  # Also possibly modify flags used elsewhere, as needed by the platform.
5811
5812  . $glibcxx_srcdir/configure.host
5813  { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5814$as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5815  { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5816$as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5817
5818
5819
5820# Libtool setup.
5821if test "x${with_newlib}" != "xyes"; then
5822  enable_dlopen=yes
5823
5824
5825
5826fi
5827case `pwd` in
5828  *\ * | *\	*)
5829    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5830$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5831esac
5832
5833
5834
5835macro_version='2.2.7a'
5836macro_revision='1.3134'
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850ltmain="$ac_aux_dir/ltmain.sh"
5851
5852# Backslashify metacharacters that are still active within
5853# double-quoted strings.
5854sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5855
5856# Same as above, but do not quote variable references.
5857double_quote_subst='s/\(["`\\]\)/\\\1/g'
5858
5859# Sed substitution to delay expansion of an escaped shell variable in a
5860# double_quote_subst'ed string.
5861delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5862
5863# Sed substitution to delay expansion of an escaped single quote.
5864delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5865
5866# Sed substitution to avoid accidental globbing in evaled expressions
5867no_glob_subst='s/\*/\\\*/g'
5868
5869ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5870ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5871ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5872
5873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5874$as_echo_n "checking how to print strings... " >&6; }
5875# Test print first, because it will be a builtin if present.
5876if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5877   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5878  ECHO='print -r --'
5879elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5880  ECHO='printf %s\n'
5881else
5882  # Use this function as a fallback that always works.
5883  func_fallback_echo ()
5884  {
5885    eval 'cat <<_LTECHO_EOF
5886$1
5887_LTECHO_EOF'
5888  }
5889  ECHO='func_fallback_echo'
5890fi
5891
5892# func_echo_all arg...
5893# Invoke $ECHO with all args, space-separated.
5894func_echo_all ()
5895{
5896    $ECHO ""
5897}
5898
5899case "$ECHO" in
5900  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5901$as_echo "printf" >&6; } ;;
5902  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5903$as_echo "print -r" >&6; } ;;
5904  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5905$as_echo "cat" >&6; } ;;
5906esac
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5922$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5923if ${ac_cv_path_SED+:} false; then :
5924  $as_echo_n "(cached) " >&6
5925else
5926            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5927     for ac_i in 1 2 3 4 5 6 7; do
5928       ac_script="$ac_script$as_nl$ac_script"
5929     done
5930     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5931     { ac_script=; unset ac_script;}
5932     if test -z "$SED"; then
5933  ac_path_SED_found=false
5934  # Loop through the user's path and test for each of PROGNAME-LIST
5935  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936for as_dir in $PATH
5937do
5938  IFS=$as_save_IFS
5939  test -z "$as_dir" && as_dir=.
5940    for ac_prog in sed gsed; do
5941    for ac_exec_ext in '' $ac_executable_extensions; do
5942      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5943      as_fn_executable_p "$ac_path_SED" || continue
5944# Check for GNU ac_path_SED and select it if it is found.
5945  # Check for GNU $ac_path_SED
5946case `"$ac_path_SED" --version 2>&1` in
5947*GNU*)
5948  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5949*)
5950  ac_count=0
5951  $as_echo_n 0123456789 >"conftest.in"
5952  while :
5953  do
5954    cat "conftest.in" "conftest.in" >"conftest.tmp"
5955    mv "conftest.tmp" "conftest.in"
5956    cp "conftest.in" "conftest.nl"
5957    $as_echo '' >> "conftest.nl"
5958    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5959    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5960    as_fn_arith $ac_count + 1 && ac_count=$as_val
5961    if test $ac_count -gt ${ac_path_SED_max-0}; then
5962      # Best one so far, save it but keep looking for a better one
5963      ac_cv_path_SED="$ac_path_SED"
5964      ac_path_SED_max=$ac_count
5965    fi
5966    # 10*(2^10) chars as input seems more than enough
5967    test $ac_count -gt 10 && break
5968  done
5969  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5970esac
5971
5972      $ac_path_SED_found && break 3
5973    done
5974  done
5975  done
5976IFS=$as_save_IFS
5977  if test -z "$ac_cv_path_SED"; then
5978    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5979  fi
5980else
5981  ac_cv_path_SED=$SED
5982fi
5983
5984fi
5985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5986$as_echo "$ac_cv_path_SED" >&6; }
5987 SED="$ac_cv_path_SED"
5988  rm -f conftest.sed
5989
5990test -z "$SED" && SED=sed
5991Xsed="$SED -e 1s/^X//"
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6004$as_echo_n "checking for fgrep... " >&6; }
6005if ${ac_cv_path_FGREP+:} false; then :
6006  $as_echo_n "(cached) " >&6
6007else
6008  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6009   then ac_cv_path_FGREP="$GREP -F"
6010   else
6011     if test -z "$FGREP"; then
6012  ac_path_FGREP_found=false
6013  # Loop through the user's path and test for each of PROGNAME-LIST
6014  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6016do
6017  IFS=$as_save_IFS
6018  test -z "$as_dir" && as_dir=.
6019    for ac_prog in fgrep; do
6020    for ac_exec_ext in '' $ac_executable_extensions; do
6021      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6022      as_fn_executable_p "$ac_path_FGREP" || continue
6023# Check for GNU ac_path_FGREP and select it if it is found.
6024  # Check for GNU $ac_path_FGREP
6025case `"$ac_path_FGREP" --version 2>&1` in
6026*GNU*)
6027  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6028*)
6029  ac_count=0
6030  $as_echo_n 0123456789 >"conftest.in"
6031  while :
6032  do
6033    cat "conftest.in" "conftest.in" >"conftest.tmp"
6034    mv "conftest.tmp" "conftest.in"
6035    cp "conftest.in" "conftest.nl"
6036    $as_echo 'FGREP' >> "conftest.nl"
6037    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6038    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6039    as_fn_arith $ac_count + 1 && ac_count=$as_val
6040    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6041      # Best one so far, save it but keep looking for a better one
6042      ac_cv_path_FGREP="$ac_path_FGREP"
6043      ac_path_FGREP_max=$ac_count
6044    fi
6045    # 10*(2^10) chars as input seems more than enough
6046    test $ac_count -gt 10 && break
6047  done
6048  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6049esac
6050
6051      $ac_path_FGREP_found && break 3
6052    done
6053  done
6054  done
6055IFS=$as_save_IFS
6056  if test -z "$ac_cv_path_FGREP"; then
6057    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6058  fi
6059else
6060  ac_cv_path_FGREP=$FGREP
6061fi
6062
6063   fi
6064fi
6065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6066$as_echo "$ac_cv_path_FGREP" >&6; }
6067 FGREP="$ac_cv_path_FGREP"
6068
6069
6070test -z "$GREP" && GREP=grep
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090# Check whether --with-gnu-ld was given.
6091if test "${with_gnu_ld+set}" = set; then :
6092  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6093else
6094  with_gnu_ld=no
6095fi
6096
6097ac_prog=ld
6098if test "$GCC" = yes; then
6099  # Check if gcc -print-prog-name=ld gives a path.
6100  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6101$as_echo_n "checking for ld used by $CC... " >&6; }
6102  case $host in
6103  *-*-mingw*)
6104    # gcc leaves a trailing carriage return which upsets mingw
6105    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6106  *)
6107    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6108  esac
6109  case $ac_prog in
6110    # Accept absolute paths.
6111    [\\/]* | ?:[\\/]*)
6112      re_direlt='/[^/][^/]*/\.\./'
6113      # Canonicalize the pathname of ld
6114      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6115      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6116	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6117      done
6118      test -z "$LD" && LD="$ac_prog"
6119      ;;
6120  "")
6121    # If it fails, then pretend we aren't using GCC.
6122    ac_prog=ld
6123    ;;
6124  *)
6125    # If it is relative, then search for the first ld in PATH.
6126    with_gnu_ld=unknown
6127    ;;
6128  esac
6129elif test "$with_gnu_ld" = yes; then
6130  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6131$as_echo_n "checking for GNU ld... " >&6; }
6132else
6133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6134$as_echo_n "checking for non-GNU ld... " >&6; }
6135fi
6136if ${lt_cv_path_LD+:} false; then :
6137  $as_echo_n "(cached) " >&6
6138else
6139  if test -z "$LD"; then
6140  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6141  for ac_dir in $PATH; do
6142    IFS="$lt_save_ifs"
6143    test -z "$ac_dir" && ac_dir=.
6144    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6145      lt_cv_path_LD="$ac_dir/$ac_prog"
6146      # Check to see if the program is GNU ld.  I'd rather use --version,
6147      # but apparently some variants of GNU ld only accept -v.
6148      # Break only if it was the GNU/non-GNU ld that we prefer.
6149      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6150      *GNU* | *'with BFD'*)
6151	test "$with_gnu_ld" != no && break
6152	;;
6153      *)
6154	test "$with_gnu_ld" != yes && break
6155	;;
6156      esac
6157    fi
6158  done
6159  IFS="$lt_save_ifs"
6160else
6161  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6162fi
6163fi
6164
6165LD="$lt_cv_path_LD"
6166if test -n "$LD"; then
6167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6168$as_echo "$LD" >&6; }
6169else
6170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171$as_echo "no" >&6; }
6172fi
6173test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6175$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6176if ${lt_cv_prog_gnu_ld+:} false; then :
6177  $as_echo_n "(cached) " >&6
6178else
6179  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6180case `$LD -v 2>&1 </dev/null` in
6181*GNU* | *'with BFD'*)
6182  lt_cv_prog_gnu_ld=yes
6183  ;;
6184*)
6185  lt_cv_prog_gnu_ld=no
6186  ;;
6187esac
6188fi
6189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6190$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6191with_gnu_ld=$lt_cv_prog_gnu_ld
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6202$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6203if ${lt_cv_path_NM+:} false; then :
6204  $as_echo_n "(cached) " >&6
6205else
6206  if test -n "$NM"; then
6207  # Let the user override the test.
6208  lt_cv_path_NM="$NM"
6209else
6210  lt_nm_to_check="${ac_tool_prefix}nm"
6211  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6212    lt_nm_to_check="$lt_nm_to_check nm"
6213  fi
6214  for lt_tmp_nm in $lt_nm_to_check; do
6215    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6216    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6217      IFS="$lt_save_ifs"
6218      test -z "$ac_dir" && ac_dir=.
6219      tmp_nm="$ac_dir/$lt_tmp_nm"
6220      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6221	# Check to see if the nm accepts a BSD-compat flag.
6222	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6223	#   nm: unknown option "B" ignored
6224	# Tru64's nm complains that /dev/null is an invalid object file
6225	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6226	*/dev/null* | *'Invalid file or object type'*)
6227	  lt_cv_path_NM="$tmp_nm -B"
6228	  break
6229	  ;;
6230	*)
6231	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6232	  */dev/null*)
6233	    lt_cv_path_NM="$tmp_nm -p"
6234	    break
6235	    ;;
6236	  *)
6237	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6238	    continue # so that we can try to find one that supports BSD flags
6239	    ;;
6240	  esac
6241	  ;;
6242	esac
6243      fi
6244    done
6245    IFS="$lt_save_ifs"
6246  done
6247  : ${lt_cv_path_NM=no}
6248fi
6249fi
6250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6251$as_echo "$lt_cv_path_NM" >&6; }
6252if test "$lt_cv_path_NM" != "no"; then
6253  NM="$lt_cv_path_NM"
6254else
6255  # Didn't find any BSD compatible name lister, look for dumpbin.
6256  if test -n "$DUMPBIN"; then :
6257    # Let the user override the test.
6258  else
6259    if test -n "$ac_tool_prefix"; then
6260  for ac_prog in dumpbin "link -dump"
6261  do
6262    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6263set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6265$as_echo_n "checking for $ac_word... " >&6; }
6266if ${ac_cv_prog_DUMPBIN+:} false; then :
6267  $as_echo_n "(cached) " >&6
6268else
6269  if test -n "$DUMPBIN"; then
6270  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6271else
6272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273for as_dir in $PATH
6274do
6275  IFS=$as_save_IFS
6276  test -z "$as_dir" && as_dir=.
6277    for ac_exec_ext in '' $ac_executable_extensions; do
6278  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6279    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6280    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6281    break 2
6282  fi
6283done
6284  done
6285IFS=$as_save_IFS
6286
6287fi
6288fi
6289DUMPBIN=$ac_cv_prog_DUMPBIN
6290if test -n "$DUMPBIN"; then
6291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6292$as_echo "$DUMPBIN" >&6; }
6293else
6294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6295$as_echo "no" >&6; }
6296fi
6297
6298
6299    test -n "$DUMPBIN" && break
6300  done
6301fi
6302if test -z "$DUMPBIN"; then
6303  ac_ct_DUMPBIN=$DUMPBIN
6304  for ac_prog in dumpbin "link -dump"
6305do
6306  # Extract the first word of "$ac_prog", so it can be a program name with args.
6307set dummy $ac_prog; ac_word=$2
6308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6309$as_echo_n "checking for $ac_word... " >&6; }
6310if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6311  $as_echo_n "(cached) " >&6
6312else
6313  if test -n "$ac_ct_DUMPBIN"; then
6314  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6315else
6316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317for as_dir in $PATH
6318do
6319  IFS=$as_save_IFS
6320  test -z "$as_dir" && as_dir=.
6321    for ac_exec_ext in '' $ac_executable_extensions; do
6322  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6323    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6324    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6325    break 2
6326  fi
6327done
6328  done
6329IFS=$as_save_IFS
6330
6331fi
6332fi
6333ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6334if test -n "$ac_ct_DUMPBIN"; then
6335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6336$as_echo "$ac_ct_DUMPBIN" >&6; }
6337else
6338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339$as_echo "no" >&6; }
6340fi
6341
6342
6343  test -n "$ac_ct_DUMPBIN" && break
6344done
6345
6346  if test "x$ac_ct_DUMPBIN" = x; then
6347    DUMPBIN=":"
6348  else
6349    case $cross_compiling:$ac_tool_warned in
6350yes:)
6351{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6352$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6353ac_tool_warned=yes ;;
6354esac
6355    DUMPBIN=$ac_ct_DUMPBIN
6356  fi
6357fi
6358
6359    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6360    *COFF*)
6361      DUMPBIN="$DUMPBIN -symbols"
6362      ;;
6363    *)
6364      DUMPBIN=:
6365      ;;
6366    esac
6367  fi
6368
6369  if test "$DUMPBIN" != ":"; then
6370    NM="$DUMPBIN"
6371  fi
6372fi
6373test -z "$NM" && NM=nm
6374
6375
6376
6377
6378
6379
6380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6381$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6382if ${lt_cv_nm_interface+:} false; then :
6383  $as_echo_n "(cached) " >&6
6384else
6385  lt_cv_nm_interface="BSD nm"
6386  echo "int some_variable = 0;" > conftest.$ac_ext
6387  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6388  (eval "$ac_compile" 2>conftest.err)
6389  cat conftest.err >&5
6390  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6391  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6392  cat conftest.err >&5
6393  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6394  cat conftest.out >&5
6395  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6396    lt_cv_nm_interface="MS dumpbin"
6397  fi
6398  rm -f conftest*
6399fi
6400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6401$as_echo "$lt_cv_nm_interface" >&6; }
6402
6403# find the maximum length of command line arguments
6404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6405$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6406if ${lt_cv_sys_max_cmd_len+:} false; then :
6407  $as_echo_n "(cached) " >&6
6408else
6409    i=0
6410  teststring="ABCD"
6411
6412  case $build_os in
6413  msdosdjgpp*)
6414    # On DJGPP, this test can blow up pretty badly due to problems in libc
6415    # (any single argument exceeding 2000 bytes causes a buffer overrun
6416    # during glob expansion).  Even if it were fixed, the result of this
6417    # check would be larger than it should be.
6418    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6419    ;;
6420
6421  gnu*)
6422    # Under GNU Hurd, this test is not required because there is
6423    # no limit to the length of command line arguments.
6424    # Libtool will interpret -1 as no limit whatsoever
6425    lt_cv_sys_max_cmd_len=-1;
6426    ;;
6427
6428  cygwin* | mingw* | cegcc*)
6429    # On Win9x/ME, this test blows up -- it succeeds, but takes
6430    # about 5 minutes as the teststring grows exponentially.
6431    # Worse, since 9x/ME are not pre-emptively multitasking,
6432    # you end up with a "frozen" computer, even though with patience
6433    # the test eventually succeeds (with a max line length of 256k).
6434    # Instead, let's just punt: use the minimum linelength reported by
6435    # all of the supported platforms: 8192 (on NT/2K/XP).
6436    lt_cv_sys_max_cmd_len=8192;
6437    ;;
6438
6439  mint*)
6440    # On MiNT this can take a long time and run out of memory.
6441    lt_cv_sys_max_cmd_len=8192;
6442    ;;
6443
6444  amigaos*)
6445    # On AmigaOS with pdksh, this test takes hours, literally.
6446    # So we just punt and use a minimum line length of 8192.
6447    lt_cv_sys_max_cmd_len=8192;
6448    ;;
6449
6450  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6451    # This has been around since 386BSD, at least.  Likely further.
6452    if test -x /sbin/sysctl; then
6453      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6454    elif test -x /usr/sbin/sysctl; then
6455      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6456    else
6457      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6458    fi
6459    # And add a safety zone
6460    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6461    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6462    ;;
6463
6464  interix*)
6465    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6466    lt_cv_sys_max_cmd_len=196608
6467    ;;
6468
6469  osf*)
6470    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6471    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6472    # nice to cause kernel panics so lets avoid the loop below.
6473    # First set a reasonable default.
6474    lt_cv_sys_max_cmd_len=16384
6475    #
6476    if test -x /sbin/sysconfig; then
6477      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6478        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6479      esac
6480    fi
6481    ;;
6482  sco3.2v5*)
6483    lt_cv_sys_max_cmd_len=102400
6484    ;;
6485  sysv5* | sco5v6* | sysv4.2uw2*)
6486    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6487    if test -n "$kargmax"; then
6488      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6489    else
6490      lt_cv_sys_max_cmd_len=32768
6491    fi
6492    ;;
6493  *)
6494    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6495    if test -n "$lt_cv_sys_max_cmd_len"; then
6496      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6497      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6498    else
6499      # Make teststring a little bigger before we do anything with it.
6500      # a 1K string should be a reasonable start.
6501      for i in 1 2 3 4 5 6 7 8 ; do
6502        teststring=$teststring$teststring
6503      done
6504      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6505      # If test is not a shell built-in, we'll probably end up computing a
6506      # maximum length that is only half of the actual maximum length, but
6507      # we can't tell.
6508      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6509	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6510	      test $i != 17 # 1/2 MB should be enough
6511      do
6512        i=`expr $i + 1`
6513        teststring=$teststring$teststring
6514      done
6515      # Only check the string length outside the loop.
6516      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6517      teststring=
6518      # Add a significant safety factor because C++ compilers can tack on
6519      # massive amounts of additional arguments before passing them to the
6520      # linker.  It appears as though 1/2 is a usable value.
6521      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6522    fi
6523    ;;
6524  esac
6525
6526fi
6527
6528if test -n $lt_cv_sys_max_cmd_len ; then
6529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6530$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6531else
6532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6533$as_echo "none" >&6; }
6534fi
6535max_cmd_len=$lt_cv_sys_max_cmd_len
6536
6537
6538
6539
6540
6541
6542: ${CP="cp -f"}
6543: ${MV="mv -f"}
6544: ${RM="rm -f"}
6545
6546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6547$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6548# Try some XSI features
6549xsi_shell=no
6550( _lt_dummy="a/b/c"
6551  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6552      = c,a/b,, \
6553    && eval 'test $(( 1 + 1 )) -eq 2 \
6554    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6555  && xsi_shell=yes
6556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6557$as_echo "$xsi_shell" >&6; }
6558
6559
6560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6561$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6562lt_shell_append=no
6563( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6564    >/dev/null 2>&1 \
6565  && lt_shell_append=yes
6566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6567$as_echo "$lt_shell_append" >&6; }
6568
6569
6570if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6571  lt_unset=unset
6572else
6573  lt_unset=false
6574fi
6575
6576
6577
6578
6579
6580# test EBCDIC or ASCII
6581case `echo X|tr X '\101'` in
6582 A) # ASCII based system
6583    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6584  lt_SP2NL='tr \040 \012'
6585  lt_NL2SP='tr \015\012 \040\040'
6586  ;;
6587 *) # EBCDIC based system
6588  lt_SP2NL='tr \100 \n'
6589  lt_NL2SP='tr \r\n \100\100'
6590  ;;
6591esac
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6602$as_echo_n "checking for $LD option to reload object files... " >&6; }
6603if ${lt_cv_ld_reload_flag+:} false; then :
6604  $as_echo_n "(cached) " >&6
6605else
6606  lt_cv_ld_reload_flag='-r'
6607fi
6608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6609$as_echo "$lt_cv_ld_reload_flag" >&6; }
6610reload_flag=$lt_cv_ld_reload_flag
6611case $reload_flag in
6612"" | " "*) ;;
6613*) reload_flag=" $reload_flag" ;;
6614esac
6615reload_cmds='$LD$reload_flag -o $output$reload_objs'
6616case $host_os in
6617  darwin*)
6618    if test "$GCC" = yes; then
6619      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6620    else
6621      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6622    fi
6623    ;;
6624esac
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634if test -n "$ac_tool_prefix"; then
6635  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6636set dummy ${ac_tool_prefix}objdump; ac_word=$2
6637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638$as_echo_n "checking for $ac_word... " >&6; }
6639if ${ac_cv_prog_OBJDUMP+:} false; then :
6640  $as_echo_n "(cached) " >&6
6641else
6642  if test -n "$OBJDUMP"; then
6643  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6644else
6645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646for as_dir in $PATH
6647do
6648  IFS=$as_save_IFS
6649  test -z "$as_dir" && as_dir=.
6650    for ac_exec_ext in '' $ac_executable_extensions; do
6651  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6652    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6653    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654    break 2
6655  fi
6656done
6657  done
6658IFS=$as_save_IFS
6659
6660fi
6661fi
6662OBJDUMP=$ac_cv_prog_OBJDUMP
6663if test -n "$OBJDUMP"; then
6664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6665$as_echo "$OBJDUMP" >&6; }
6666else
6667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668$as_echo "no" >&6; }
6669fi
6670
6671
6672fi
6673if test -z "$ac_cv_prog_OBJDUMP"; then
6674  ac_ct_OBJDUMP=$OBJDUMP
6675  # Extract the first word of "objdump", so it can be a program name with args.
6676set dummy objdump; ac_word=$2
6677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678$as_echo_n "checking for $ac_word... " >&6; }
6679if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6680  $as_echo_n "(cached) " >&6
6681else
6682  if test -n "$ac_ct_OBJDUMP"; then
6683  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6684else
6685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686for as_dir in $PATH
6687do
6688  IFS=$as_save_IFS
6689  test -z "$as_dir" && as_dir=.
6690    for ac_exec_ext in '' $ac_executable_extensions; do
6691  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6692    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6693    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694    break 2
6695  fi
6696done
6697  done
6698IFS=$as_save_IFS
6699
6700fi
6701fi
6702ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6703if test -n "$ac_ct_OBJDUMP"; then
6704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6705$as_echo "$ac_ct_OBJDUMP" >&6; }
6706else
6707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708$as_echo "no" >&6; }
6709fi
6710
6711  if test "x$ac_ct_OBJDUMP" = x; then
6712    OBJDUMP="false"
6713  else
6714    case $cross_compiling:$ac_tool_warned in
6715yes:)
6716{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6717$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6718ac_tool_warned=yes ;;
6719esac
6720    OBJDUMP=$ac_ct_OBJDUMP
6721  fi
6722else
6723  OBJDUMP="$ac_cv_prog_OBJDUMP"
6724fi
6725
6726test -z "$OBJDUMP" && OBJDUMP=objdump
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6737$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6738if ${lt_cv_deplibs_check_method+:} false; then :
6739  $as_echo_n "(cached) " >&6
6740else
6741  lt_cv_file_magic_cmd='$MAGIC_CMD'
6742lt_cv_file_magic_test_file=
6743lt_cv_deplibs_check_method='unknown'
6744# Need to set the preceding variable on all platforms that support
6745# interlibrary dependencies.
6746# 'none' -- dependencies not supported.
6747# `unknown' -- same as none, but documents that we really don't know.
6748# 'pass_all' -- all dependencies passed with no checks.
6749# 'test_compile' -- check by making test program.
6750# 'file_magic [[regex]]' -- check by looking for files in library path
6751# which responds to the $file_magic_cmd with a given extended regex.
6752# If you have `file' or equivalent on your system and you're not sure
6753# whether `pass_all' will *always* work, you probably want this one.
6754
6755case $host_os in
6756aix[4-9]*)
6757  lt_cv_deplibs_check_method=pass_all
6758  ;;
6759
6760beos*)
6761  lt_cv_deplibs_check_method=pass_all
6762  ;;
6763
6764bsdi[45]*)
6765  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6766  lt_cv_file_magic_cmd='/usr/bin/file -L'
6767  lt_cv_file_magic_test_file=/shlib/libc.so
6768  ;;
6769
6770cygwin*)
6771  # func_win32_libid is a shell function defined in ltmain.sh
6772  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6773  lt_cv_file_magic_cmd='func_win32_libid'
6774  ;;
6775
6776mingw* | pw32*)
6777  # Base MSYS/MinGW do not provide the 'file' command needed by
6778  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6779  # unless we find 'file', for example because we are cross-compiling.
6780  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6781  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6782    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6783    lt_cv_file_magic_cmd='func_win32_libid'
6784  else
6785    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6786    lt_cv_file_magic_cmd='$OBJDUMP -f'
6787  fi
6788  ;;
6789
6790cegcc*)
6791  # use the weaker test based on 'objdump'. See mingw*.
6792  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6793  lt_cv_file_magic_cmd='$OBJDUMP -f'
6794  ;;
6795
6796darwin* | rhapsody*)
6797  lt_cv_deplibs_check_method=pass_all
6798  ;;
6799
6800freebsd* | dragonfly*)
6801  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6802    case $host_cpu in
6803    i*86 )
6804      # Not sure whether the presence of OpenBSD here was a mistake.
6805      # Let's accept both of them until this is cleared up.
6806      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6807      lt_cv_file_magic_cmd=/usr/bin/file
6808      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6809      ;;
6810    esac
6811  else
6812    lt_cv_deplibs_check_method=pass_all
6813  fi
6814  ;;
6815
6816gnu*)
6817  lt_cv_deplibs_check_method=pass_all
6818  ;;
6819
6820haiku*)
6821  lt_cv_deplibs_check_method=pass_all
6822  ;;
6823
6824hpux10.20* | hpux11*)
6825  lt_cv_file_magic_cmd=/usr/bin/file
6826  case $host_cpu in
6827  ia64*)
6828    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6829    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6830    ;;
6831  hppa*64*)
6832    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]'
6833    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6834    ;;
6835  *)
6836    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6837    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6838    ;;
6839  esac
6840  ;;
6841
6842interix[3-9]*)
6843  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6844  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6845  ;;
6846
6847irix5* | irix6* | nonstopux*)
6848  case $LD in
6849  *-32|*"-32 ") libmagic=32-bit;;
6850  *-n32|*"-n32 ") libmagic=N32;;
6851  *-64|*"-64 ") libmagic=64-bit;;
6852  *) libmagic=never-match;;
6853  esac
6854  lt_cv_deplibs_check_method=pass_all
6855  ;;
6856
6857# This must be Linux ELF.
6858linux* | k*bsd*-gnu | kopensolaris*-gnu)
6859  lt_cv_deplibs_check_method=pass_all
6860  ;;
6861
6862netbsd*)
6863  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6864    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6865  else
6866    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6867  fi
6868  ;;
6869
6870newos6*)
6871  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6872  lt_cv_file_magic_cmd=/usr/bin/file
6873  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6874  ;;
6875
6876*nto* | *qnx*)
6877  lt_cv_deplibs_check_method=pass_all
6878  ;;
6879
6880openbsd*)
6881  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6882    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6883  else
6884    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6885  fi
6886  ;;
6887
6888osf3* | osf4* | osf5*)
6889  lt_cv_deplibs_check_method=pass_all
6890  ;;
6891
6892rdos*)
6893  lt_cv_deplibs_check_method=pass_all
6894  ;;
6895
6896solaris*)
6897  lt_cv_deplibs_check_method=pass_all
6898  ;;
6899
6900sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6901  lt_cv_deplibs_check_method=pass_all
6902  ;;
6903
6904sysv4 | sysv4.3*)
6905  case $host_vendor in
6906  motorola)
6907    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]'
6908    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6909    ;;
6910  ncr)
6911    lt_cv_deplibs_check_method=pass_all
6912    ;;
6913  sequent)
6914    lt_cv_file_magic_cmd='/bin/file'
6915    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6916    ;;
6917  sni)
6918    lt_cv_file_magic_cmd='/bin/file'
6919    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6920    lt_cv_file_magic_test_file=/lib/libc.so
6921    ;;
6922  siemens)
6923    lt_cv_deplibs_check_method=pass_all
6924    ;;
6925  pc)
6926    lt_cv_deplibs_check_method=pass_all
6927    ;;
6928  esac
6929  ;;
6930
6931tpf*)
6932  lt_cv_deplibs_check_method=pass_all
6933  ;;
6934esac
6935
6936fi
6937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6938$as_echo "$lt_cv_deplibs_check_method" >&6; }
6939file_magic_cmd=$lt_cv_file_magic_cmd
6940deplibs_check_method=$lt_cv_deplibs_check_method
6941test -z "$deplibs_check_method" && deplibs_check_method=unknown
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954if test -n "$ac_tool_prefix"; then
6955  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6956set dummy ${ac_tool_prefix}ar; ac_word=$2
6957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958$as_echo_n "checking for $ac_word... " >&6; }
6959if ${ac_cv_prog_AR+:} false; then :
6960  $as_echo_n "(cached) " >&6
6961else
6962  if test -n "$AR"; then
6963  ac_cv_prog_AR="$AR" # Let the user override the test.
6964else
6965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966for as_dir in $PATH
6967do
6968  IFS=$as_save_IFS
6969  test -z "$as_dir" && as_dir=.
6970    for ac_exec_ext in '' $ac_executable_extensions; do
6971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6972    ac_cv_prog_AR="${ac_tool_prefix}ar"
6973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6974    break 2
6975  fi
6976done
6977  done
6978IFS=$as_save_IFS
6979
6980fi
6981fi
6982AR=$ac_cv_prog_AR
6983if test -n "$AR"; then
6984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6985$as_echo "$AR" >&6; }
6986else
6987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988$as_echo "no" >&6; }
6989fi
6990
6991
6992fi
6993if test -z "$ac_cv_prog_AR"; then
6994  ac_ct_AR=$AR
6995  # Extract the first word of "ar", so it can be a program name with args.
6996set dummy ar; ac_word=$2
6997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6998$as_echo_n "checking for $ac_word... " >&6; }
6999if ${ac_cv_prog_ac_ct_AR+:} false; then :
7000  $as_echo_n "(cached) " >&6
7001else
7002  if test -n "$ac_ct_AR"; then
7003  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7004else
7005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006for as_dir in $PATH
7007do
7008  IFS=$as_save_IFS
7009  test -z "$as_dir" && as_dir=.
7010    for ac_exec_ext in '' $ac_executable_extensions; do
7011  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7012    ac_cv_prog_ac_ct_AR="ar"
7013    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7014    break 2
7015  fi
7016done
7017  done
7018IFS=$as_save_IFS
7019
7020fi
7021fi
7022ac_ct_AR=$ac_cv_prog_ac_ct_AR
7023if test -n "$ac_ct_AR"; then
7024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7025$as_echo "$ac_ct_AR" >&6; }
7026else
7027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7028$as_echo "no" >&6; }
7029fi
7030
7031  if test "x$ac_ct_AR" = x; then
7032    AR="false"
7033  else
7034    case $cross_compiling:$ac_tool_warned in
7035yes:)
7036{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7037$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7038ac_tool_warned=yes ;;
7039esac
7040    AR=$ac_ct_AR
7041  fi
7042else
7043  AR="$ac_cv_prog_AR"
7044fi
7045
7046test -z "$AR" && AR=ar
7047test -z "$AR_FLAGS" && AR_FLAGS=cru
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059if test -n "$ac_tool_prefix"; then
7060  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7061set dummy ${ac_tool_prefix}strip; ac_word=$2
7062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063$as_echo_n "checking for $ac_word... " >&6; }
7064if ${ac_cv_prog_STRIP+:} false; then :
7065  $as_echo_n "(cached) " >&6
7066else
7067  if test -n "$STRIP"; then
7068  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7069else
7070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071for as_dir in $PATH
7072do
7073  IFS=$as_save_IFS
7074  test -z "$as_dir" && as_dir=.
7075    for ac_exec_ext in '' $ac_executable_extensions; do
7076  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7078    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079    break 2
7080  fi
7081done
7082  done
7083IFS=$as_save_IFS
7084
7085fi
7086fi
7087STRIP=$ac_cv_prog_STRIP
7088if test -n "$STRIP"; then
7089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7090$as_echo "$STRIP" >&6; }
7091else
7092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093$as_echo "no" >&6; }
7094fi
7095
7096
7097fi
7098if test -z "$ac_cv_prog_STRIP"; then
7099  ac_ct_STRIP=$STRIP
7100  # Extract the first word of "strip", so it can be a program name with args.
7101set dummy strip; ac_word=$2
7102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103$as_echo_n "checking for $ac_word... " >&6; }
7104if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7105  $as_echo_n "(cached) " >&6
7106else
7107  if test -n "$ac_ct_STRIP"; then
7108  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7109else
7110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111for as_dir in $PATH
7112do
7113  IFS=$as_save_IFS
7114  test -z "$as_dir" && as_dir=.
7115    for ac_exec_ext in '' $ac_executable_extensions; do
7116  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117    ac_cv_prog_ac_ct_STRIP="strip"
7118    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119    break 2
7120  fi
7121done
7122  done
7123IFS=$as_save_IFS
7124
7125fi
7126fi
7127ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7128if test -n "$ac_ct_STRIP"; then
7129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7130$as_echo "$ac_ct_STRIP" >&6; }
7131else
7132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133$as_echo "no" >&6; }
7134fi
7135
7136  if test "x$ac_ct_STRIP" = x; then
7137    STRIP=":"
7138  else
7139    case $cross_compiling:$ac_tool_warned in
7140yes:)
7141{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7142$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7143ac_tool_warned=yes ;;
7144esac
7145    STRIP=$ac_ct_STRIP
7146  fi
7147else
7148  STRIP="$ac_cv_prog_STRIP"
7149fi
7150
7151test -z "$STRIP" && STRIP=:
7152
7153
7154
7155
7156
7157
7158if test -n "$ac_tool_prefix"; then
7159  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7160set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162$as_echo_n "checking for $ac_word... " >&6; }
7163if ${ac_cv_prog_RANLIB+:} false; then :
7164  $as_echo_n "(cached) " >&6
7165else
7166  if test -n "$RANLIB"; then
7167  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7168else
7169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170for as_dir in $PATH
7171do
7172  IFS=$as_save_IFS
7173  test -z "$as_dir" && as_dir=.
7174    for ac_exec_ext in '' $ac_executable_extensions; do
7175  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7176    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7177    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7178    break 2
7179  fi
7180done
7181  done
7182IFS=$as_save_IFS
7183
7184fi
7185fi
7186RANLIB=$ac_cv_prog_RANLIB
7187if test -n "$RANLIB"; then
7188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7189$as_echo "$RANLIB" >&6; }
7190else
7191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7192$as_echo "no" >&6; }
7193fi
7194
7195
7196fi
7197if test -z "$ac_cv_prog_RANLIB"; then
7198  ac_ct_RANLIB=$RANLIB
7199  # Extract the first word of "ranlib", so it can be a program name with args.
7200set dummy ranlib; ac_word=$2
7201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7202$as_echo_n "checking for $ac_word... " >&6; }
7203if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7204  $as_echo_n "(cached) " >&6
7205else
7206  if test -n "$ac_ct_RANLIB"; then
7207  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7208else
7209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7210for as_dir in $PATH
7211do
7212  IFS=$as_save_IFS
7213  test -z "$as_dir" && as_dir=.
7214    for ac_exec_ext in '' $ac_executable_extensions; do
7215  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7216    ac_cv_prog_ac_ct_RANLIB="ranlib"
7217    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7218    break 2
7219  fi
7220done
7221  done
7222IFS=$as_save_IFS
7223
7224fi
7225fi
7226ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7227if test -n "$ac_ct_RANLIB"; then
7228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7229$as_echo "$ac_ct_RANLIB" >&6; }
7230else
7231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7232$as_echo "no" >&6; }
7233fi
7234
7235  if test "x$ac_ct_RANLIB" = x; then
7236    RANLIB=":"
7237  else
7238    case $cross_compiling:$ac_tool_warned in
7239yes:)
7240{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7241$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7242ac_tool_warned=yes ;;
7243esac
7244    RANLIB=$ac_ct_RANLIB
7245  fi
7246else
7247  RANLIB="$ac_cv_prog_RANLIB"
7248fi
7249
7250test -z "$RANLIB" && RANLIB=:
7251
7252
7253
7254
7255
7256
7257# Determine commands to create old-style static archives.
7258old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7259old_postinstall_cmds='chmod 644 $oldlib'
7260old_postuninstall_cmds=
7261
7262if test -n "$RANLIB"; then
7263  case $host_os in
7264  openbsd*)
7265    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7266    ;;
7267  *)
7268    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7269    ;;
7270  esac
7271  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7272fi
7273
7274case $host_os in
7275  darwin*)
7276    lock_old_archive_extraction=yes ;;
7277  *)
7278    lock_old_archive_extraction=no ;;
7279esac
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319# If no C compiler was specified, use CC.
7320LTCC=${LTCC-"$CC"}
7321
7322# If no C compiler flags were specified, use CFLAGS.
7323LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7324
7325# Allow CC to be a program name with arguments.
7326compiler=$CC
7327
7328
7329# Check for command to grab the raw symbol name followed by C symbol from nm.
7330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7331$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7332if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7333  $as_echo_n "(cached) " >&6
7334else
7335
7336# These are sane defaults that work on at least a few old systems.
7337# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7338
7339# Character class describing NM global symbol codes.
7340symcode='[BCDEGRST]'
7341
7342# Regexp to match symbols that can be accessed directly from C.
7343sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7344
7345# Define system-specific variables.
7346case $host_os in
7347aix*)
7348  symcode='[BCDT]'
7349  ;;
7350cygwin* | mingw* | pw32* | cegcc*)
7351  symcode='[ABCDGISTW]'
7352  ;;
7353hpux*)
7354  if test "$host_cpu" = ia64; then
7355    symcode='[ABCDEGRST]'
7356  fi
7357  ;;
7358irix* | nonstopux*)
7359  symcode='[BCDEGRST]'
7360  ;;
7361osf*)
7362  symcode='[BCDEGQRST]'
7363  ;;
7364solaris*)
7365  symcode='[BDRT]'
7366  ;;
7367sco3.2v5*)
7368  symcode='[DT]'
7369  ;;
7370sysv4.2uw2*)
7371  symcode='[DT]'
7372  ;;
7373sysv5* | sco5v6* | unixware* | OpenUNIX*)
7374  symcode='[ABDT]'
7375  ;;
7376sysv4)
7377  symcode='[DFNSTU]'
7378  ;;
7379esac
7380
7381# If we're using GNU nm, then use its standard symbol codes.
7382case `$NM -V 2>&1` in
7383*GNU* | *'with BFD'*)
7384  symcode='[ABCDGIRSTW]' ;;
7385esac
7386
7387# Transform an extracted symbol line into a proper C declaration.
7388# Some systems (esp. on ia64) link data and code symbols differently,
7389# so use this general approach.
7390lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7391
7392# Transform an extracted symbol line into symbol name and symbol address
7393lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7394lt_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'"
7395
7396# Handle CRLF in mingw tool chain
7397opt_cr=
7398case $build_os in
7399mingw*)
7400  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7401  ;;
7402esac
7403
7404# Try without a prefix underscore, then with it.
7405for ac_symprfx in "" "_"; do
7406
7407  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7408  symxfrm="\\1 $ac_symprfx\\2 \\2"
7409
7410  # Write the raw and C identifiers.
7411  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7412    # Fake it for dumpbin and say T for any non-static function
7413    # and D for any global variable.
7414    # Also find C++ and __fastcall symbols from MSVC++,
7415    # which start with @ or ?.
7416    lt_cv_sys_global_symbol_pipe="$AWK '"\
7417"     {last_section=section; section=\$ 3};"\
7418"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7419"     \$ 0!~/External *\|/{next};"\
7420"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7421"     {if(hide[section]) next};"\
7422"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7423"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7424"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7425"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7426"     ' prfx=^$ac_symprfx"
7427  else
7428    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7429  fi
7430
7431  # Check to see that the pipe works correctly.
7432  pipe_works=no
7433
7434  rm -f conftest*
7435  cat > conftest.$ac_ext <<_LT_EOF
7436#ifdef __cplusplus
7437extern "C" {
7438#endif
7439char nm_test_var;
7440void nm_test_func(void);
7441void nm_test_func(void){}
7442#ifdef __cplusplus
7443}
7444#endif
7445int main(){nm_test_var='a';nm_test_func();return(0);}
7446_LT_EOF
7447
7448  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7449  (eval $ac_compile) 2>&5
7450  ac_status=$?
7451  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7452  test $ac_status = 0; }; then
7453    # Now try to grab the symbols.
7454    nlist=conftest.nm
7455    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7456  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7457  ac_status=$?
7458  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7459  test $ac_status = 0; } && test -s "$nlist"; then
7460      # Try sorting and uniquifying the output.
7461      if sort "$nlist" | uniq > "$nlist"T; then
7462	mv -f "$nlist"T "$nlist"
7463      else
7464	rm -f "$nlist"T
7465      fi
7466
7467      # Make sure that we snagged all the symbols we need.
7468      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7469	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7470	  cat <<_LT_EOF > conftest.$ac_ext
7471#ifdef __cplusplus
7472extern "C" {
7473#endif
7474
7475_LT_EOF
7476	  # Now generate the symbol file.
7477	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7478
7479	  cat <<_LT_EOF >> conftest.$ac_ext
7480
7481/* The mapping between symbol names and symbols.  */
7482const struct {
7483  const char *name;
7484  void       *address;
7485}
7486lt__PROGRAM__LTX_preloaded_symbols[] =
7487{
7488  { "@PROGRAM@", (void *) 0 },
7489_LT_EOF
7490	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7491	  cat <<\_LT_EOF >> conftest.$ac_ext
7492  {0, (void *) 0}
7493};
7494
7495/* This works around a problem in FreeBSD linker */
7496#ifdef FREEBSD_WORKAROUND
7497static const void *lt_preloaded_setup() {
7498  return lt__PROGRAM__LTX_preloaded_symbols;
7499}
7500#endif
7501
7502#ifdef __cplusplus
7503}
7504#endif
7505_LT_EOF
7506	  # Now try linking the two files.
7507	  mv conftest.$ac_objext conftstm.$ac_objext
7508	  lt_save_LIBS="$LIBS"
7509	  lt_save_CFLAGS="$CFLAGS"
7510	  LIBS="conftstm.$ac_objext"
7511	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7512	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7513  (eval $ac_link) 2>&5
7514  ac_status=$?
7515  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7516  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7517	    pipe_works=yes
7518	  fi
7519	  LIBS="$lt_save_LIBS"
7520	  CFLAGS="$lt_save_CFLAGS"
7521	else
7522	  echo "cannot find nm_test_func in $nlist" >&5
7523	fi
7524      else
7525	echo "cannot find nm_test_var in $nlist" >&5
7526      fi
7527    else
7528      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7529    fi
7530  else
7531    echo "$progname: failed program was:" >&5
7532    cat conftest.$ac_ext >&5
7533  fi
7534  rm -rf conftest* conftst*
7535
7536  # Do not use the global_symbol_pipe unless it works.
7537  if test "$pipe_works" = yes; then
7538    break
7539  else
7540    lt_cv_sys_global_symbol_pipe=
7541  fi
7542done
7543
7544fi
7545
7546if test -z "$lt_cv_sys_global_symbol_pipe"; then
7547  lt_cv_sys_global_symbol_to_cdecl=
7548fi
7549if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7551$as_echo "failed" >&6; }
7552else
7553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7554$as_echo "ok" >&6; }
7555fi
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578# Check whether --enable-libtool-lock was given.
7579if test "${enable_libtool_lock+set}" = set; then :
7580  enableval=$enable_libtool_lock;
7581fi
7582
7583test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7584
7585# Some flags need to be propagated to the compiler or linker for good
7586# libtool support.
7587case $host in
7588ia64-*-hpux*)
7589  # Find out which ABI we are using.
7590  echo 'int i;' > conftest.$ac_ext
7591  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7592  (eval $ac_compile) 2>&5
7593  ac_status=$?
7594  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7595  test $ac_status = 0; }; then
7596    case `/usr/bin/file conftest.$ac_objext` in
7597      *ELF-32*)
7598	HPUX_IA64_MODE="32"
7599	;;
7600      *ELF-64*)
7601	HPUX_IA64_MODE="64"
7602	;;
7603    esac
7604  fi
7605  rm -rf conftest*
7606  ;;
7607*-*-irix6*)
7608  # Find out which ABI we are using.
7609  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7610  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7611  (eval $ac_compile) 2>&5
7612  ac_status=$?
7613  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7614  test $ac_status = 0; }; then
7615    if test "$lt_cv_prog_gnu_ld" = yes; then
7616      case `/usr/bin/file conftest.$ac_objext` in
7617	*32-bit*)
7618	  LD="${LD-ld} -melf32bsmip"
7619	  ;;
7620	*N32*)
7621	  LD="${LD-ld} -melf32bmipn32"
7622	  ;;
7623	*64-bit*)
7624	  LD="${LD-ld} -melf64bmip"
7625	;;
7626      esac
7627    else
7628      case `/usr/bin/file conftest.$ac_objext` in
7629	*32-bit*)
7630	  LD="${LD-ld} -32"
7631	  ;;
7632	*N32*)
7633	  LD="${LD-ld} -n32"
7634	  ;;
7635	*64-bit*)
7636	  LD="${LD-ld} -64"
7637	  ;;
7638      esac
7639    fi
7640  fi
7641  rm -rf conftest*
7642  ;;
7643
7644x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7645s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7646  # Find out which ABI we are using.
7647  echo 'int i;' > conftest.$ac_ext
7648  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7649  (eval $ac_compile) 2>&5
7650  ac_status=$?
7651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7652  test $ac_status = 0; }; then
7653    case `/usr/bin/file conftest.o` in
7654      *32-bit*)
7655	case $host in
7656	  x86_64-*kfreebsd*-gnu)
7657	    LD="${LD-ld} -m elf_i386_fbsd"
7658	    ;;
7659	  x86_64-*linux*)
7660	    case `/usr/bin/file conftest.o` in
7661	      *x86-64*)
7662		LD="${LD-ld} -m elf32_x86_64"
7663		;;
7664	      *)
7665		LD="${LD-ld} -m elf_i386"
7666		;;
7667	    esac
7668	    ;;
7669	  powerpc64le-*linux*)
7670	    LD="${LD-ld} -m elf32lppclinux"
7671	    ;;
7672	  powerpc64-*linux*)
7673	    LD="${LD-ld} -m elf32ppclinux"
7674	    ;;
7675	  s390x-*linux*)
7676	    LD="${LD-ld} -m elf_s390"
7677	    ;;
7678	  sparc64-*linux*)
7679	    LD="${LD-ld} -m elf32_sparc"
7680	    ;;
7681	esac
7682	;;
7683      *64-bit*)
7684	case $host in
7685	  x86_64-*kfreebsd*-gnu)
7686	    LD="${LD-ld} -m elf_x86_64_fbsd"
7687	    ;;
7688	  x86_64-*linux*)
7689	    LD="${LD-ld} -m elf_x86_64"
7690	    ;;
7691	  powerpcle-*linux*)
7692	    LD="${LD-ld} -m elf64lppc"
7693	    ;;
7694	  powerpc-*linux*)
7695	    LD="${LD-ld} -m elf64ppc"
7696	    ;;
7697	  s390*-*linux*|s390*-*tpf*)
7698	    LD="${LD-ld} -m elf64_s390"
7699	    ;;
7700	  sparc*-*linux*)
7701	    LD="${LD-ld} -m elf64_sparc"
7702	    ;;
7703	esac
7704	;;
7705    esac
7706  fi
7707  rm -rf conftest*
7708  ;;
7709
7710*-*-sco3.2v5*)
7711  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7712  SAVE_CFLAGS="$CFLAGS"
7713  CFLAGS="$CFLAGS -belf"
7714  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7715$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7716if ${lt_cv_cc_needs_belf+:} false; then :
7717  $as_echo_n "(cached) " >&6
7718else
7719  ac_ext=c
7720ac_cpp='$CPP $CPPFLAGS'
7721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7723ac_compiler_gnu=$ac_cv_c_compiler_gnu
7724
7725     if test x$gcc_no_link = xyes; then
7726  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7727fi
7728cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7729/* end confdefs.h.  */
7730
7731int
7732main ()
7733{
7734
7735  ;
7736  return 0;
7737}
7738_ACEOF
7739if ac_fn_c_try_link "$LINENO"; then :
7740  lt_cv_cc_needs_belf=yes
7741else
7742  lt_cv_cc_needs_belf=no
7743fi
7744rm -f core conftest.err conftest.$ac_objext \
7745    conftest$ac_exeext conftest.$ac_ext
7746     ac_ext=c
7747ac_cpp='$CPP $CPPFLAGS'
7748ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7749ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7750ac_compiler_gnu=$ac_cv_c_compiler_gnu
7751
7752fi
7753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7754$as_echo "$lt_cv_cc_needs_belf" >&6; }
7755  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7756    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7757    CFLAGS="$SAVE_CFLAGS"
7758  fi
7759  ;;
7760sparc*-*solaris*)
7761  # Find out which ABI we are using.
7762  echo 'int i;' > conftest.$ac_ext
7763  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7764  (eval $ac_compile) 2>&5
7765  ac_status=$?
7766  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7767  test $ac_status = 0; }; then
7768    case `/usr/bin/file conftest.o` in
7769    *64-bit*)
7770      case $lt_cv_prog_gnu_ld in
7771      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7772      *)
7773	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7774	  LD="${LD-ld} -64"
7775	fi
7776	;;
7777      esac
7778      ;;
7779    esac
7780  fi
7781  rm -rf conftest*
7782  ;;
7783esac
7784
7785need_locks="$enable_libtool_lock"
7786
7787
7788  case $host_os in
7789    rhapsody* | darwin*)
7790    if test -n "$ac_tool_prefix"; then
7791  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7792set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794$as_echo_n "checking for $ac_word... " >&6; }
7795if ${ac_cv_prog_DSYMUTIL+:} false; then :
7796  $as_echo_n "(cached) " >&6
7797else
7798  if test -n "$DSYMUTIL"; then
7799  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7800else
7801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802for as_dir in $PATH
7803do
7804  IFS=$as_save_IFS
7805  test -z "$as_dir" && as_dir=.
7806    for ac_exec_ext in '' $ac_executable_extensions; do
7807  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7808    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7809    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7810    break 2
7811  fi
7812done
7813  done
7814IFS=$as_save_IFS
7815
7816fi
7817fi
7818DSYMUTIL=$ac_cv_prog_DSYMUTIL
7819if test -n "$DSYMUTIL"; then
7820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7821$as_echo "$DSYMUTIL" >&6; }
7822else
7823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824$as_echo "no" >&6; }
7825fi
7826
7827
7828fi
7829if test -z "$ac_cv_prog_DSYMUTIL"; then
7830  ac_ct_DSYMUTIL=$DSYMUTIL
7831  # Extract the first word of "dsymutil", so it can be a program name with args.
7832set dummy dsymutil; ac_word=$2
7833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7834$as_echo_n "checking for $ac_word... " >&6; }
7835if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7836  $as_echo_n "(cached) " >&6
7837else
7838  if test -n "$ac_ct_DSYMUTIL"; then
7839  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7840else
7841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7842for as_dir in $PATH
7843do
7844  IFS=$as_save_IFS
7845  test -z "$as_dir" && as_dir=.
7846    for ac_exec_ext in '' $ac_executable_extensions; do
7847  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7848    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7849    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7850    break 2
7851  fi
7852done
7853  done
7854IFS=$as_save_IFS
7855
7856fi
7857fi
7858ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7859if test -n "$ac_ct_DSYMUTIL"; then
7860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7861$as_echo "$ac_ct_DSYMUTIL" >&6; }
7862else
7863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7864$as_echo "no" >&6; }
7865fi
7866
7867  if test "x$ac_ct_DSYMUTIL" = x; then
7868    DSYMUTIL=":"
7869  else
7870    case $cross_compiling:$ac_tool_warned in
7871yes:)
7872{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7873$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7874ac_tool_warned=yes ;;
7875esac
7876    DSYMUTIL=$ac_ct_DSYMUTIL
7877  fi
7878else
7879  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7880fi
7881
7882    if test -n "$ac_tool_prefix"; then
7883  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7884set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886$as_echo_n "checking for $ac_word... " >&6; }
7887if ${ac_cv_prog_NMEDIT+:} false; then :
7888  $as_echo_n "(cached) " >&6
7889else
7890  if test -n "$NMEDIT"; then
7891  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7892else
7893as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894for as_dir in $PATH
7895do
7896  IFS=$as_save_IFS
7897  test -z "$as_dir" && as_dir=.
7898    for ac_exec_ext in '' $ac_executable_extensions; do
7899  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7901    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902    break 2
7903  fi
7904done
7905  done
7906IFS=$as_save_IFS
7907
7908fi
7909fi
7910NMEDIT=$ac_cv_prog_NMEDIT
7911if test -n "$NMEDIT"; then
7912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7913$as_echo "$NMEDIT" >&6; }
7914else
7915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916$as_echo "no" >&6; }
7917fi
7918
7919
7920fi
7921if test -z "$ac_cv_prog_NMEDIT"; then
7922  ac_ct_NMEDIT=$NMEDIT
7923  # Extract the first word of "nmedit", so it can be a program name with args.
7924set dummy nmedit; ac_word=$2
7925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7926$as_echo_n "checking for $ac_word... " >&6; }
7927if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7928  $as_echo_n "(cached) " >&6
7929else
7930  if test -n "$ac_ct_NMEDIT"; then
7931  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7932else
7933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934for as_dir in $PATH
7935do
7936  IFS=$as_save_IFS
7937  test -z "$as_dir" && as_dir=.
7938    for ac_exec_ext in '' $ac_executable_extensions; do
7939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942    break 2
7943  fi
7944done
7945  done
7946IFS=$as_save_IFS
7947
7948fi
7949fi
7950ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7951if test -n "$ac_ct_NMEDIT"; then
7952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7953$as_echo "$ac_ct_NMEDIT" >&6; }
7954else
7955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7956$as_echo "no" >&6; }
7957fi
7958
7959  if test "x$ac_ct_NMEDIT" = x; then
7960    NMEDIT=":"
7961  else
7962    case $cross_compiling:$ac_tool_warned in
7963yes:)
7964{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7965$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7966ac_tool_warned=yes ;;
7967esac
7968    NMEDIT=$ac_ct_NMEDIT
7969  fi
7970else
7971  NMEDIT="$ac_cv_prog_NMEDIT"
7972fi
7973
7974    if test -n "$ac_tool_prefix"; then
7975  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7976set dummy ${ac_tool_prefix}lipo; ac_word=$2
7977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978$as_echo_n "checking for $ac_word... " >&6; }
7979if ${ac_cv_prog_LIPO+:} false; then :
7980  $as_echo_n "(cached) " >&6
7981else
7982  if test -n "$LIPO"; then
7983  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7984else
7985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986for as_dir in $PATH
7987do
7988  IFS=$as_save_IFS
7989  test -z "$as_dir" && as_dir=.
7990    for ac_exec_ext in '' $ac_executable_extensions; do
7991  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7993    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994    break 2
7995  fi
7996done
7997  done
7998IFS=$as_save_IFS
7999
8000fi
8001fi
8002LIPO=$ac_cv_prog_LIPO
8003if test -n "$LIPO"; then
8004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8005$as_echo "$LIPO" >&6; }
8006else
8007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008$as_echo "no" >&6; }
8009fi
8010
8011
8012fi
8013if test -z "$ac_cv_prog_LIPO"; then
8014  ac_ct_LIPO=$LIPO
8015  # Extract the first word of "lipo", so it can be a program name with args.
8016set dummy lipo; ac_word=$2
8017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018$as_echo_n "checking for $ac_word... " >&6; }
8019if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8020  $as_echo_n "(cached) " >&6
8021else
8022  if test -n "$ac_ct_LIPO"; then
8023  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8024else
8025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026for as_dir in $PATH
8027do
8028  IFS=$as_save_IFS
8029  test -z "$as_dir" && as_dir=.
8030    for ac_exec_ext in '' $ac_executable_extensions; do
8031  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032    ac_cv_prog_ac_ct_LIPO="lipo"
8033    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034    break 2
8035  fi
8036done
8037  done
8038IFS=$as_save_IFS
8039
8040fi
8041fi
8042ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8043if test -n "$ac_ct_LIPO"; then
8044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8045$as_echo "$ac_ct_LIPO" >&6; }
8046else
8047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048$as_echo "no" >&6; }
8049fi
8050
8051  if test "x$ac_ct_LIPO" = x; then
8052    LIPO=":"
8053  else
8054    case $cross_compiling:$ac_tool_warned in
8055yes:)
8056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8058ac_tool_warned=yes ;;
8059esac
8060    LIPO=$ac_ct_LIPO
8061  fi
8062else
8063  LIPO="$ac_cv_prog_LIPO"
8064fi
8065
8066    if test -n "$ac_tool_prefix"; then
8067  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8068set dummy ${ac_tool_prefix}otool; ac_word=$2
8069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8070$as_echo_n "checking for $ac_word... " >&6; }
8071if ${ac_cv_prog_OTOOL+:} false; then :
8072  $as_echo_n "(cached) " >&6
8073else
8074  if test -n "$OTOOL"; then
8075  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8076else
8077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078for as_dir in $PATH
8079do
8080  IFS=$as_save_IFS
8081  test -z "$as_dir" && as_dir=.
8082    for ac_exec_ext in '' $ac_executable_extensions; do
8083  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8085    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086    break 2
8087  fi
8088done
8089  done
8090IFS=$as_save_IFS
8091
8092fi
8093fi
8094OTOOL=$ac_cv_prog_OTOOL
8095if test -n "$OTOOL"; then
8096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8097$as_echo "$OTOOL" >&6; }
8098else
8099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100$as_echo "no" >&6; }
8101fi
8102
8103
8104fi
8105if test -z "$ac_cv_prog_OTOOL"; then
8106  ac_ct_OTOOL=$OTOOL
8107  # Extract the first word of "otool", so it can be a program name with args.
8108set dummy otool; ac_word=$2
8109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110$as_echo_n "checking for $ac_word... " >&6; }
8111if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8112  $as_echo_n "(cached) " >&6
8113else
8114  if test -n "$ac_ct_OTOOL"; then
8115  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8116else
8117as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118for as_dir in $PATH
8119do
8120  IFS=$as_save_IFS
8121  test -z "$as_dir" && as_dir=.
8122    for ac_exec_ext in '' $ac_executable_extensions; do
8123  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124    ac_cv_prog_ac_ct_OTOOL="otool"
8125    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126    break 2
8127  fi
8128done
8129  done
8130IFS=$as_save_IFS
8131
8132fi
8133fi
8134ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8135if test -n "$ac_ct_OTOOL"; then
8136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8137$as_echo "$ac_ct_OTOOL" >&6; }
8138else
8139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140$as_echo "no" >&6; }
8141fi
8142
8143  if test "x$ac_ct_OTOOL" = x; then
8144    OTOOL=":"
8145  else
8146    case $cross_compiling:$ac_tool_warned in
8147yes:)
8148{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8149$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8150ac_tool_warned=yes ;;
8151esac
8152    OTOOL=$ac_ct_OTOOL
8153  fi
8154else
8155  OTOOL="$ac_cv_prog_OTOOL"
8156fi
8157
8158    if test -n "$ac_tool_prefix"; then
8159  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8160set dummy ${ac_tool_prefix}otool64; ac_word=$2
8161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8162$as_echo_n "checking for $ac_word... " >&6; }
8163if ${ac_cv_prog_OTOOL64+:} false; then :
8164  $as_echo_n "(cached) " >&6
8165else
8166  if test -n "$OTOOL64"; then
8167  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8168else
8169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170for as_dir in $PATH
8171do
8172  IFS=$as_save_IFS
8173  test -z "$as_dir" && as_dir=.
8174    for ac_exec_ext in '' $ac_executable_extensions; do
8175  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8176    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8177    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8178    break 2
8179  fi
8180done
8181  done
8182IFS=$as_save_IFS
8183
8184fi
8185fi
8186OTOOL64=$ac_cv_prog_OTOOL64
8187if test -n "$OTOOL64"; then
8188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8189$as_echo "$OTOOL64" >&6; }
8190else
8191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8192$as_echo "no" >&6; }
8193fi
8194
8195
8196fi
8197if test -z "$ac_cv_prog_OTOOL64"; then
8198  ac_ct_OTOOL64=$OTOOL64
8199  # Extract the first word of "otool64", so it can be a program name with args.
8200set dummy otool64; ac_word=$2
8201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202$as_echo_n "checking for $ac_word... " >&6; }
8203if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8204  $as_echo_n "(cached) " >&6
8205else
8206  if test -n "$ac_ct_OTOOL64"; then
8207  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8208else
8209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210for as_dir in $PATH
8211do
8212  IFS=$as_save_IFS
8213  test -z "$as_dir" && as_dir=.
8214    for ac_exec_ext in '' $ac_executable_extensions; do
8215  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216    ac_cv_prog_ac_ct_OTOOL64="otool64"
8217    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218    break 2
8219  fi
8220done
8221  done
8222IFS=$as_save_IFS
8223
8224fi
8225fi
8226ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8227if test -n "$ac_ct_OTOOL64"; then
8228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8229$as_echo "$ac_ct_OTOOL64" >&6; }
8230else
8231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232$as_echo "no" >&6; }
8233fi
8234
8235  if test "x$ac_ct_OTOOL64" = x; then
8236    OTOOL64=":"
8237  else
8238    case $cross_compiling:$ac_tool_warned in
8239yes:)
8240{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8241$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8242ac_tool_warned=yes ;;
8243esac
8244    OTOOL64=$ac_ct_OTOOL64
8245  fi
8246else
8247  OTOOL64="$ac_cv_prog_OTOOL64"
8248fi
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8277$as_echo_n "checking for -single_module linker flag... " >&6; }
8278if ${lt_cv_apple_cc_single_mod+:} false; then :
8279  $as_echo_n "(cached) " >&6
8280else
8281  lt_cv_apple_cc_single_mod=no
8282      if test -z "${LT_MULTI_MODULE}"; then
8283	# By default we will add the -single_module flag. You can override
8284	# by either setting the environment variable LT_MULTI_MODULE
8285	# non-empty at configure time, or by adding -multi_module to the
8286	# link flags.
8287	rm -rf libconftest.dylib*
8288	echo "int foo(void){return 1;}" > conftest.c
8289	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8290-dynamiclib -Wl,-single_module conftest.c" >&5
8291	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8292	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8293        _lt_result=$?
8294	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8295	  lt_cv_apple_cc_single_mod=yes
8296	else
8297	  cat conftest.err >&5
8298	fi
8299	rm -rf libconftest.dylib*
8300	rm -f conftest.*
8301      fi
8302fi
8303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8304$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8305    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8306$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8307if ${lt_cv_ld_exported_symbols_list+:} false; then :
8308  $as_echo_n "(cached) " >&6
8309else
8310  lt_cv_ld_exported_symbols_list=no
8311      save_LDFLAGS=$LDFLAGS
8312      echo "_main" > conftest.sym
8313      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8314      if test x$gcc_no_link = xyes; then
8315  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8316fi
8317cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318/* end confdefs.h.  */
8319
8320int
8321main ()
8322{
8323
8324  ;
8325  return 0;
8326}
8327_ACEOF
8328if ac_fn_c_try_link "$LINENO"; then :
8329  lt_cv_ld_exported_symbols_list=yes
8330else
8331  lt_cv_ld_exported_symbols_list=no
8332fi
8333rm -f core conftest.err conftest.$ac_objext \
8334    conftest$ac_exeext conftest.$ac_ext
8335	LDFLAGS="$save_LDFLAGS"
8336
8337fi
8338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8339$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8340    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8341$as_echo_n "checking for -force_load linker flag... " >&6; }
8342if ${lt_cv_ld_force_load+:} false; then :
8343  $as_echo_n "(cached) " >&6
8344else
8345  lt_cv_ld_force_load=no
8346      cat > conftest.c << _LT_EOF
8347int forced_loaded() { return 2;}
8348_LT_EOF
8349      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8350      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8351      echo "$AR cru libconftest.a conftest.o" >&5
8352      $AR cru libconftest.a conftest.o 2>&5
8353      cat > conftest.c << _LT_EOF
8354int main() { return 0;}
8355_LT_EOF
8356      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8357      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8358      _lt_result=$?
8359      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8360	lt_cv_ld_force_load=yes
8361      else
8362	cat conftest.err >&5
8363      fi
8364        rm -f conftest.err libconftest.a conftest conftest.c
8365        rm -rf conftest.dSYM
8366
8367fi
8368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8369$as_echo "$lt_cv_ld_force_load" >&6; }
8370    # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8371    # build without first building modern cctools / linker.
8372    case $host_cpu-$host_os in
8373    *-rhapsody* | *-darwin1.[012])
8374      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8375    *-darwin1.*)
8376      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8377    *-darwin*)
8378      # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8379      # deployment target is forced to an earlier version.
8380      case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8381	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8382	  ;;
8383	10.[012][,.]*)
8384	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8385	  ;;
8386	*)
8387	  ;;
8388     esac
8389    ;;
8390  esac
8391    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8392      _lt_dar_single_mod='$single_module'
8393    fi
8394    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8395      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8396    else
8397      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8398    fi
8399    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8400      _lt_dsymutil='~$DSYMUTIL $lib || :'
8401    else
8402      _lt_dsymutil=
8403    fi
8404    ;;
8405  esac
8406
8407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8408$as_echo_n "checking for ANSI C header files... " >&6; }
8409if ${ac_cv_header_stdc+:} false; then :
8410  $as_echo_n "(cached) " >&6
8411else
8412  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413/* end confdefs.h.  */
8414#include <stdlib.h>
8415#include <stdarg.h>
8416#include <string.h>
8417#include <float.h>
8418
8419int
8420main ()
8421{
8422
8423  ;
8424  return 0;
8425}
8426_ACEOF
8427if ac_fn_c_try_compile "$LINENO"; then :
8428  ac_cv_header_stdc=yes
8429else
8430  ac_cv_header_stdc=no
8431fi
8432rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8433
8434if test $ac_cv_header_stdc = yes; then
8435  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8436  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8437/* end confdefs.h.  */
8438#include <string.h>
8439
8440_ACEOF
8441if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8442  $EGREP "memchr" >/dev/null 2>&1; then :
8443
8444else
8445  ac_cv_header_stdc=no
8446fi
8447rm -f conftest*
8448
8449fi
8450
8451if test $ac_cv_header_stdc = yes; then
8452  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8453  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454/* end confdefs.h.  */
8455#include <stdlib.h>
8456
8457_ACEOF
8458if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8459  $EGREP "free" >/dev/null 2>&1; then :
8460
8461else
8462  ac_cv_header_stdc=no
8463fi
8464rm -f conftest*
8465
8466fi
8467
8468if test $ac_cv_header_stdc = yes; then
8469  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8470  if test "$cross_compiling" = yes; then :
8471  :
8472else
8473  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474/* end confdefs.h.  */
8475#include <ctype.h>
8476#include <stdlib.h>
8477#if ((' ' & 0x0FF) == 0x020)
8478# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8479# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8480#else
8481# define ISLOWER(c) \
8482		   (('a' <= (c) && (c) <= 'i') \
8483		     || ('j' <= (c) && (c) <= 'r') \
8484		     || ('s' <= (c) && (c) <= 'z'))
8485# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8486#endif
8487
8488#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8489int
8490main ()
8491{
8492  int i;
8493  for (i = 0; i < 256; i++)
8494    if (XOR (islower (i), ISLOWER (i))
8495	|| toupper (i) != TOUPPER (i))
8496      return 2;
8497  return 0;
8498}
8499_ACEOF
8500if ac_fn_c_try_run "$LINENO"; then :
8501
8502else
8503  ac_cv_header_stdc=no
8504fi
8505rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8506  conftest.$ac_objext conftest.beam conftest.$ac_ext
8507fi
8508
8509fi
8510fi
8511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8512$as_echo "$ac_cv_header_stdc" >&6; }
8513if test $ac_cv_header_stdc = yes; then
8514
8515$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8516
8517fi
8518
8519# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8520for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8521		  inttypes.h stdint.h unistd.h
8522do :
8523  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8524ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8525"
8526if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8527  cat >>confdefs.h <<_ACEOF
8528#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8529_ACEOF
8530
8531fi
8532
8533done
8534
8535
8536for ac_header in dlfcn.h
8537do :
8538  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8539"
8540if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8541  cat >>confdefs.h <<_ACEOF
8542#define HAVE_DLFCN_H 1
8543_ACEOF
8544
8545fi
8546
8547done
8548
8549
8550
8551
8552
8553
8554# Set options
8555
8556
8557
8558
8559  enable_win32_dll=no
8560
8561
8562            # Check whether --enable-shared was given.
8563if test "${enable_shared+set}" = set; then :
8564  enableval=$enable_shared; p=${PACKAGE-default}
8565    case $enableval in
8566    yes) enable_shared=yes ;;
8567    no) enable_shared=no ;;
8568    *)
8569      enable_shared=no
8570      # Look at the argument we got.  We use all the common list separators.
8571      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8572      for pkg in $enableval; do
8573	IFS="$lt_save_ifs"
8574	if test "X$pkg" = "X$p"; then
8575	  enable_shared=yes
8576	fi
8577      done
8578      IFS="$lt_save_ifs"
8579      ;;
8580    esac
8581else
8582  enable_shared=yes
8583fi
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593  # Check whether --enable-static was given.
8594if test "${enable_static+set}" = set; then :
8595  enableval=$enable_static; p=${PACKAGE-default}
8596    case $enableval in
8597    yes) enable_static=yes ;;
8598    no) enable_static=no ;;
8599    *)
8600     enable_static=no
8601      # Look at the argument we got.  We use all the common list separators.
8602      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8603      for pkg in $enableval; do
8604	IFS="$lt_save_ifs"
8605	if test "X$pkg" = "X$p"; then
8606	  enable_static=yes
8607	fi
8608      done
8609      IFS="$lt_save_ifs"
8610      ;;
8611    esac
8612else
8613  enable_static=yes
8614fi
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625# Check whether --with-pic was given.
8626if test "${with_pic+set}" = set; then :
8627  withval=$with_pic; pic_mode="$withval"
8628else
8629  pic_mode=default
8630fi
8631
8632
8633test -z "$pic_mode" && pic_mode=default
8634
8635
8636
8637
8638
8639
8640
8641  # Check whether --enable-fast-install was given.
8642if test "${enable_fast_install+set}" = set; then :
8643  enableval=$enable_fast_install; p=${PACKAGE-default}
8644    case $enableval in
8645    yes) enable_fast_install=yes ;;
8646    no) enable_fast_install=no ;;
8647    *)
8648      enable_fast_install=no
8649      # Look at the argument we got.  We use all the common list separators.
8650      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8651      for pkg in $enableval; do
8652	IFS="$lt_save_ifs"
8653	if test "X$pkg" = "X$p"; then
8654	  enable_fast_install=yes
8655	fi
8656      done
8657      IFS="$lt_save_ifs"
8658      ;;
8659    esac
8660else
8661  enable_fast_install=yes
8662fi
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674# This can be used to rebuild libtool when needed
8675LIBTOOL_DEPS="$ltmain"
8676
8677# Always use our own libtool.
8678LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705test -z "$LN_S" && LN_S="ln -s"
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720if test -n "${ZSH_VERSION+set}" ; then
8721   setopt NO_GLOB_SUBST
8722fi
8723
8724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8725$as_echo_n "checking for objdir... " >&6; }
8726if ${lt_cv_objdir+:} false; then :
8727  $as_echo_n "(cached) " >&6
8728else
8729  rm -f .libs 2>/dev/null
8730mkdir .libs 2>/dev/null
8731if test -d .libs; then
8732  lt_cv_objdir=.libs
8733else
8734  # MS-DOS does not allow filenames that begin with a dot.
8735  lt_cv_objdir=_libs
8736fi
8737rmdir .libs 2>/dev/null
8738fi
8739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8740$as_echo "$lt_cv_objdir" >&6; }
8741objdir=$lt_cv_objdir
8742
8743
8744
8745
8746
8747cat >>confdefs.h <<_ACEOF
8748#define LT_OBJDIR "$lt_cv_objdir/"
8749_ACEOF
8750
8751
8752
8753
8754case $host_os in
8755aix3*)
8756  # AIX sometimes has problems with the GCC collect2 program.  For some
8757  # reason, if we set the COLLECT_NAMES environment variable, the problems
8758  # vanish in a puff of smoke.
8759  if test "X${COLLECT_NAMES+set}" != Xset; then
8760    COLLECT_NAMES=
8761    export COLLECT_NAMES
8762  fi
8763  ;;
8764esac
8765
8766# Global variables:
8767ofile=libtool
8768can_build_shared=yes
8769
8770# All known linkers require a `.a' archive for static linking (except MSVC,
8771# which needs '.lib').
8772libext=a
8773
8774with_gnu_ld="$lt_cv_prog_gnu_ld"
8775
8776old_CC="$CC"
8777old_CFLAGS="$CFLAGS"
8778
8779# Set sane defaults for various variables
8780test -z "$CC" && CC=cc
8781test -z "$LTCC" && LTCC=$CC
8782test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8783test -z "$LD" && LD=ld
8784test -z "$ac_objext" && ac_objext=o
8785
8786for cc_temp in $compiler""; do
8787  case $cc_temp in
8788    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8789    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8790    \-*) ;;
8791    *) break;;
8792  esac
8793done
8794cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8795
8796
8797# Only perform the check for file, if the check method requires it
8798test -z "$MAGIC_CMD" && MAGIC_CMD=file
8799case $deplibs_check_method in
8800file_magic*)
8801  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8803$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8804if ${lt_cv_path_MAGIC_CMD+:} false; then :
8805  $as_echo_n "(cached) " >&6
8806else
8807  case $MAGIC_CMD in
8808[\\/*] |  ?:[\\/]*)
8809  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8810  ;;
8811*)
8812  lt_save_MAGIC_CMD="$MAGIC_CMD"
8813  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8814  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8815  for ac_dir in $ac_dummy; do
8816    IFS="$lt_save_ifs"
8817    test -z "$ac_dir" && ac_dir=.
8818    if test -f $ac_dir/${ac_tool_prefix}file; then
8819      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8820      if test -n "$file_magic_test_file"; then
8821	case $deplibs_check_method in
8822	"file_magic "*)
8823	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8824	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8825	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8826	    $EGREP "$file_magic_regex" > /dev/null; then
8827	    :
8828	  else
8829	    cat <<_LT_EOF 1>&2
8830
8831*** Warning: the command libtool uses to detect shared libraries,
8832*** $file_magic_cmd, produces output that libtool cannot recognize.
8833*** The result is that libtool may fail to recognize shared libraries
8834*** as such.  This will affect the creation of libtool libraries that
8835*** depend on shared libraries, but programs linked with such libtool
8836*** libraries will work regardless of this problem.  Nevertheless, you
8837*** may want to report the problem to your system manager and/or to
8838*** bug-libtool@gnu.org
8839
8840_LT_EOF
8841	  fi ;;
8842	esac
8843      fi
8844      break
8845    fi
8846  done
8847  IFS="$lt_save_ifs"
8848  MAGIC_CMD="$lt_save_MAGIC_CMD"
8849  ;;
8850esac
8851fi
8852
8853MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8854if test -n "$MAGIC_CMD"; then
8855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8856$as_echo "$MAGIC_CMD" >&6; }
8857else
8858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8859$as_echo "no" >&6; }
8860fi
8861
8862
8863
8864
8865
8866if test -z "$lt_cv_path_MAGIC_CMD"; then
8867  if test -n "$ac_tool_prefix"; then
8868    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8869$as_echo_n "checking for file... " >&6; }
8870if ${lt_cv_path_MAGIC_CMD+:} false; then :
8871  $as_echo_n "(cached) " >&6
8872else
8873  case $MAGIC_CMD in
8874[\\/*] |  ?:[\\/]*)
8875  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8876  ;;
8877*)
8878  lt_save_MAGIC_CMD="$MAGIC_CMD"
8879  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8880  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8881  for ac_dir in $ac_dummy; do
8882    IFS="$lt_save_ifs"
8883    test -z "$ac_dir" && ac_dir=.
8884    if test -f $ac_dir/file; then
8885      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8886      if test -n "$file_magic_test_file"; then
8887	case $deplibs_check_method in
8888	"file_magic "*)
8889	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8890	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8891	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8892	    $EGREP "$file_magic_regex" > /dev/null; then
8893	    :
8894	  else
8895	    cat <<_LT_EOF 1>&2
8896
8897*** Warning: the command libtool uses to detect shared libraries,
8898*** $file_magic_cmd, produces output that libtool cannot recognize.
8899*** The result is that libtool may fail to recognize shared libraries
8900*** as such.  This will affect the creation of libtool libraries that
8901*** depend on shared libraries, but programs linked with such libtool
8902*** libraries will work regardless of this problem.  Nevertheless, you
8903*** may want to report the problem to your system manager and/or to
8904*** bug-libtool@gnu.org
8905
8906_LT_EOF
8907	  fi ;;
8908	esac
8909      fi
8910      break
8911    fi
8912  done
8913  IFS="$lt_save_ifs"
8914  MAGIC_CMD="$lt_save_MAGIC_CMD"
8915  ;;
8916esac
8917fi
8918
8919MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8920if test -n "$MAGIC_CMD"; then
8921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8922$as_echo "$MAGIC_CMD" >&6; }
8923else
8924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8925$as_echo "no" >&6; }
8926fi
8927
8928
8929  else
8930    MAGIC_CMD=:
8931  fi
8932fi
8933
8934  fi
8935  ;;
8936esac
8937
8938# Use C for the default configuration in the libtool script
8939
8940lt_save_CC="$CC"
8941ac_ext=c
8942ac_cpp='$CPP $CPPFLAGS'
8943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8945ac_compiler_gnu=$ac_cv_c_compiler_gnu
8946
8947
8948# Source file extension for C test sources.
8949ac_ext=c
8950
8951# Object file extension for compiled C test sources.
8952objext=o
8953objext=$objext
8954
8955# Code to be used in simple compile tests
8956lt_simple_compile_test_code="int some_variable = 0;"
8957
8958# Code to be used in simple link tests
8959lt_simple_link_test_code='int main(){return(0);}'
8960
8961
8962
8963
8964
8965
8966
8967# If no C compiler was specified, use CC.
8968LTCC=${LTCC-"$CC"}
8969
8970# If no C compiler flags were specified, use CFLAGS.
8971LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8972
8973# Allow CC to be a program name with arguments.
8974compiler=$CC
8975
8976# Save the default compiler, since it gets overwritten when the other
8977# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8978compiler_DEFAULT=$CC
8979
8980# save warnings/boilerplate of simple test code
8981ac_outfile=conftest.$ac_objext
8982echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8983eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8984_lt_compiler_boilerplate=`cat conftest.err`
8985$RM conftest*
8986
8987ac_outfile=conftest.$ac_objext
8988echo "$lt_simple_link_test_code" >conftest.$ac_ext
8989eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8990_lt_linker_boilerplate=`cat conftest.err`
8991$RM -r conftest*
8992
8993
8994## CAVEAT EMPTOR:
8995## There is no encapsulation within the following macros, do not change
8996## the running order or otherwise move them around unless you know exactly
8997## what you are doing...
8998if test -n "$compiler"; then
8999
9000lt_prog_compiler_no_builtin_flag=
9001
9002if test "$GCC" = yes; then
9003  case $cc_basename in
9004  nvcc*)
9005    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9006  *)
9007    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9008  esac
9009
9010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9011$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9012if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9013  $as_echo_n "(cached) " >&6
9014else
9015  lt_cv_prog_compiler_rtti_exceptions=no
9016   ac_outfile=conftest.$ac_objext
9017   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9018   lt_compiler_flag="-fno-rtti -fno-exceptions"
9019   # Insert the option either (1) after the last *FLAGS variable, or
9020   # (2) before a word containing "conftest.", or (3) at the end.
9021   # Note that $ac_compile itself does not contain backslashes and begins
9022   # with a dollar sign (not a hyphen), so the echo should work correctly.
9023   # The option is referenced via a variable to avoid confusing sed.
9024   lt_compile=`echo "$ac_compile" | $SED \
9025   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9026   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9027   -e 's:$: $lt_compiler_flag:'`
9028   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9029   (eval "$lt_compile" 2>conftest.err)
9030   ac_status=$?
9031   cat conftest.err >&5
9032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033   if (exit $ac_status) && test -s "$ac_outfile"; then
9034     # The compiler can only warn and ignore the option if not recognized
9035     # So say no if there are warnings other than the usual output.
9036     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9037     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9038     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9039       lt_cv_prog_compiler_rtti_exceptions=yes
9040     fi
9041   fi
9042   $RM conftest*
9043
9044fi
9045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9046$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9047
9048if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9049    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9050else
9051    :
9052fi
9053
9054fi
9055
9056
9057
9058
9059
9060
9061  lt_prog_compiler_wl=
9062lt_prog_compiler_pic=
9063lt_prog_compiler_static=
9064
9065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9066$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9067
9068  if test "$GCC" = yes; then
9069    lt_prog_compiler_wl='-Wl,'
9070    lt_prog_compiler_static='-static'
9071
9072    case $host_os in
9073      aix*)
9074      # All AIX code is PIC.
9075      if test "$host_cpu" = ia64; then
9076	# AIX 5 now supports IA64 processor
9077	lt_prog_compiler_static='-Bstatic'
9078      fi
9079      lt_prog_compiler_pic='-fPIC'
9080      ;;
9081
9082    amigaos*)
9083      case $host_cpu in
9084      powerpc)
9085            # see comment about AmigaOS4 .so support
9086            lt_prog_compiler_pic='-fPIC'
9087        ;;
9088      m68k)
9089            # FIXME: we need at least 68020 code to build shared libraries, but
9090            # adding the `-m68020' flag to GCC prevents building anything better,
9091            # like `-m68040'.
9092            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9093        ;;
9094      esac
9095      ;;
9096
9097    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9098      # PIC is the default for these OSes.
9099      ;;
9100
9101    mingw* | cygwin* | pw32* | os2* | cegcc*)
9102      # This hack is so that the source file can tell whether it is being
9103      # built for inclusion in a dll (and should export symbols for example).
9104      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9105      # (--disable-auto-import) libraries
9106      lt_prog_compiler_pic='-DDLL_EXPORT'
9107      ;;
9108
9109    darwin* | rhapsody*)
9110      # PIC is the default on this platform
9111      # Common symbols not allowed in MH_DYLIB files
9112      lt_prog_compiler_pic='-fno-common'
9113      ;;
9114
9115    haiku*)
9116      # PIC is the default for Haiku.
9117      # The "-static" flag exists, but is broken.
9118      lt_prog_compiler_static=
9119      ;;
9120
9121    hpux*)
9122      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9123      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9124      # sets the default TLS model and affects inlining.
9125      case $host_cpu in
9126      hppa*64*)
9127	# +Z the default
9128	;;
9129      *)
9130	lt_prog_compiler_pic='-fPIC'
9131	;;
9132      esac
9133      ;;
9134
9135    interix[3-9]*)
9136      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9137      # Instead, we relocate shared libraries at runtime.
9138      ;;
9139
9140    msdosdjgpp*)
9141      # Just because we use GCC doesn't mean we suddenly get shared libraries
9142      # on systems that don't support them.
9143      lt_prog_compiler_can_build_shared=no
9144      enable_shared=no
9145      ;;
9146
9147    *nto* | *qnx*)
9148      # QNX uses GNU C++, but need to define -shared option too, otherwise
9149      # it will coredump.
9150      lt_prog_compiler_pic='-fPIC -shared'
9151      ;;
9152
9153    sysv4*MP*)
9154      if test -d /usr/nec; then
9155	lt_prog_compiler_pic=-Kconform_pic
9156      fi
9157      ;;
9158
9159    *)
9160      lt_prog_compiler_pic='-fPIC'
9161      ;;
9162    esac
9163
9164    case $cc_basename in
9165    nvcc*) # Cuda Compiler Driver 2.2
9166      lt_prog_compiler_wl='-Xlinker '
9167      lt_prog_compiler_pic='-Xcompiler -fPIC'
9168      ;;
9169    esac
9170  else
9171    # PORTME Check for flag to pass linker flags through the system compiler.
9172    case $host_os in
9173    aix*)
9174      lt_prog_compiler_wl='-Wl,'
9175      if test "$host_cpu" = ia64; then
9176	# AIX 5 now supports IA64 processor
9177	lt_prog_compiler_static='-Bstatic'
9178      else
9179	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9180      fi
9181      ;;
9182
9183    mingw* | cygwin* | pw32* | os2* | cegcc*)
9184      # This hack is so that the source file can tell whether it is being
9185      # built for inclusion in a dll (and should export symbols for example).
9186      lt_prog_compiler_pic='-DDLL_EXPORT'
9187      ;;
9188
9189    hpux9* | hpux10* | hpux11*)
9190      lt_prog_compiler_wl='-Wl,'
9191      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9192      # not for PA HP-UX.
9193      case $host_cpu in
9194      hppa*64*|ia64*)
9195	# +Z the default
9196	;;
9197      *)
9198	lt_prog_compiler_pic='+Z'
9199	;;
9200      esac
9201      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9202      lt_prog_compiler_static='${wl}-a ${wl}archive'
9203      ;;
9204
9205    irix5* | irix6* | nonstopux*)
9206      lt_prog_compiler_wl='-Wl,'
9207      # PIC (with -KPIC) is the default.
9208      lt_prog_compiler_static='-non_shared'
9209      ;;
9210
9211    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9212      case $cc_basename in
9213      # old Intel for x86_64 which still supported -KPIC.
9214      ecc*)
9215	lt_prog_compiler_wl='-Wl,'
9216	lt_prog_compiler_pic='-KPIC'
9217	lt_prog_compiler_static='-static'
9218        ;;
9219      # icc used to be incompatible with GCC.
9220      # ICC 10 doesn't accept -KPIC any more.
9221      icc* | ifort*)
9222	lt_prog_compiler_wl='-Wl,'
9223	lt_prog_compiler_pic='-fPIC'
9224	lt_prog_compiler_static='-static'
9225        ;;
9226      # Lahey Fortran 8.1.
9227      lf95*)
9228	lt_prog_compiler_wl='-Wl,'
9229	lt_prog_compiler_pic='--shared'
9230	lt_prog_compiler_static='--static'
9231	;;
9232      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9233        # Portland Group compilers (*not* the Pentium gcc compiler,
9234	# which looks to be a dead project)
9235	lt_prog_compiler_wl='-Wl,'
9236	lt_prog_compiler_pic='-fpic'
9237	lt_prog_compiler_static='-Bstatic'
9238        ;;
9239      ccc*)
9240        lt_prog_compiler_wl='-Wl,'
9241        # All Alpha code is PIC.
9242        lt_prog_compiler_static='-non_shared'
9243        ;;
9244      xl* | bgxl* | bgf* | mpixl*)
9245	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9246	lt_prog_compiler_wl='-Wl,'
9247	lt_prog_compiler_pic='-qpic'
9248	lt_prog_compiler_static='-qstaticlink'
9249	;;
9250      *)
9251	case `$CC -V 2>&1 | sed 5q` in
9252	*Sun\ F* | *Sun*Fortran*)
9253	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9254	  lt_prog_compiler_pic='-KPIC'
9255	  lt_prog_compiler_static='-Bstatic'
9256	  lt_prog_compiler_wl=''
9257	  ;;
9258	*Sun\ C*)
9259	  # Sun C 5.9
9260	  lt_prog_compiler_pic='-KPIC'
9261	  lt_prog_compiler_static='-Bstatic'
9262	  lt_prog_compiler_wl='-Wl,'
9263	  ;;
9264	esac
9265	;;
9266      esac
9267      ;;
9268
9269    newsos6)
9270      lt_prog_compiler_pic='-KPIC'
9271      lt_prog_compiler_static='-Bstatic'
9272      ;;
9273
9274    *nto* | *qnx*)
9275      # QNX uses GNU C++, but need to define -shared option too, otherwise
9276      # it will coredump.
9277      lt_prog_compiler_pic='-fPIC -shared'
9278      ;;
9279
9280    osf3* | osf4* | osf5*)
9281      lt_prog_compiler_wl='-Wl,'
9282      # All OSF/1 code is PIC.
9283      lt_prog_compiler_static='-non_shared'
9284      ;;
9285
9286    rdos*)
9287      lt_prog_compiler_static='-non_shared'
9288      ;;
9289
9290    solaris*)
9291      lt_prog_compiler_pic='-KPIC'
9292      lt_prog_compiler_static='-Bstatic'
9293      case $cc_basename in
9294      f77* | f90* | f95*)
9295	lt_prog_compiler_wl='-Qoption ld ';;
9296      *)
9297	lt_prog_compiler_wl='-Wl,';;
9298      esac
9299      ;;
9300
9301    sunos4*)
9302      lt_prog_compiler_wl='-Qoption ld '
9303      lt_prog_compiler_pic='-PIC'
9304      lt_prog_compiler_static='-Bstatic'
9305      ;;
9306
9307    sysv4 | sysv4.2uw2* | sysv4.3*)
9308      lt_prog_compiler_wl='-Wl,'
9309      lt_prog_compiler_pic='-KPIC'
9310      lt_prog_compiler_static='-Bstatic'
9311      ;;
9312
9313    sysv4*MP*)
9314      if test -d /usr/nec ;then
9315	lt_prog_compiler_pic='-Kconform_pic'
9316	lt_prog_compiler_static='-Bstatic'
9317      fi
9318      ;;
9319
9320    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9321      lt_prog_compiler_wl='-Wl,'
9322      lt_prog_compiler_pic='-KPIC'
9323      lt_prog_compiler_static='-Bstatic'
9324      ;;
9325
9326    unicos*)
9327      lt_prog_compiler_wl='-Wl,'
9328      lt_prog_compiler_can_build_shared=no
9329      ;;
9330
9331    uts4*)
9332      lt_prog_compiler_pic='-pic'
9333      lt_prog_compiler_static='-Bstatic'
9334      ;;
9335
9336    *)
9337      lt_prog_compiler_can_build_shared=no
9338      ;;
9339    esac
9340  fi
9341
9342case $host_os in
9343  # For platforms which do not support PIC, -DPIC is meaningless:
9344  *djgpp*)
9345    lt_prog_compiler_pic=
9346    ;;
9347  *)
9348    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9349    ;;
9350esac
9351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9352$as_echo "$lt_prog_compiler_pic" >&6; }
9353
9354
9355
9356
9357
9358
9359#
9360# Check to make sure the PIC flag actually works.
9361#
9362if test -n "$lt_prog_compiler_pic"; then
9363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9364$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9365if ${lt_cv_prog_compiler_pic_works+:} false; then :
9366  $as_echo_n "(cached) " >&6
9367else
9368  lt_cv_prog_compiler_pic_works=no
9369   ac_outfile=conftest.$ac_objext
9370   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9371   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9372   # Insert the option either (1) after the last *FLAGS variable, or
9373   # (2) before a word containing "conftest.", or (3) at the end.
9374   # Note that $ac_compile itself does not contain backslashes and begins
9375   # with a dollar sign (not a hyphen), so the echo should work correctly.
9376   # The option is referenced via a variable to avoid confusing sed.
9377   lt_compile=`echo "$ac_compile" | $SED \
9378   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9379   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9380   -e 's:$: $lt_compiler_flag:'`
9381   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9382   (eval "$lt_compile" 2>conftest.err)
9383   ac_status=$?
9384   cat conftest.err >&5
9385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386   if (exit $ac_status) && test -s "$ac_outfile"; then
9387     # The compiler can only warn and ignore the option if not recognized
9388     # So say no if there are warnings other than the usual output.
9389     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9390     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9391     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9392       lt_cv_prog_compiler_pic_works=yes
9393     fi
9394   fi
9395   $RM conftest*
9396
9397fi
9398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9399$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9400
9401if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9402    case $lt_prog_compiler_pic in
9403     "" | " "*) ;;
9404     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9405     esac
9406else
9407    lt_prog_compiler_pic=
9408     lt_prog_compiler_can_build_shared=no
9409fi
9410
9411fi
9412
9413
9414
9415
9416
9417
9418#
9419# Check to make sure the static flag actually works.
9420#
9421wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9423$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9424if ${lt_cv_prog_compiler_static_works+:} false; then :
9425  $as_echo_n "(cached) " >&6
9426else
9427  lt_cv_prog_compiler_static_works=no
9428   save_LDFLAGS="$LDFLAGS"
9429   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9430   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9431   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9432     # The linker can only warn and ignore the option if not recognized
9433     # So say no if there are warnings
9434     if test -s conftest.err; then
9435       # Append any errors to the config.log.
9436       cat conftest.err 1>&5
9437       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9438       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9439       if diff conftest.exp conftest.er2 >/dev/null; then
9440         lt_cv_prog_compiler_static_works=yes
9441       fi
9442     else
9443       lt_cv_prog_compiler_static_works=yes
9444     fi
9445   fi
9446   $RM -r conftest*
9447   LDFLAGS="$save_LDFLAGS"
9448
9449fi
9450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9451$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9452
9453if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9454    :
9455else
9456    lt_prog_compiler_static=
9457fi
9458
9459
9460
9461
9462
9463
9464
9465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9466$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9467if ${lt_cv_prog_compiler_c_o+:} false; then :
9468  $as_echo_n "(cached) " >&6
9469else
9470  lt_cv_prog_compiler_c_o=no
9471   $RM -r conftest 2>/dev/null
9472   mkdir conftest
9473   cd conftest
9474   mkdir out
9475   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9476
9477   lt_compiler_flag="-o out/conftest2.$ac_objext"
9478   # Insert the option either (1) after the last *FLAGS variable, or
9479   # (2) before a word containing "conftest.", or (3) at the end.
9480   # Note that $ac_compile itself does not contain backslashes and begins
9481   # with a dollar sign (not a hyphen), so the echo should work correctly.
9482   lt_compile=`echo "$ac_compile" | $SED \
9483   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9484   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9485   -e 's:$: $lt_compiler_flag:'`
9486   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9487   (eval "$lt_compile" 2>out/conftest.err)
9488   ac_status=$?
9489   cat out/conftest.err >&5
9490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9492   then
9493     # The compiler can only warn and ignore the option if not recognized
9494     # So say no if there are warnings
9495     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9496     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9497     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9498       lt_cv_prog_compiler_c_o=yes
9499     fi
9500   fi
9501   chmod u+w . 2>&5
9502   $RM conftest*
9503   # SGI C++ compiler will create directory out/ii_files/ for
9504   # template instantiation
9505   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9506   $RM out/* && rmdir out
9507   cd ..
9508   $RM -r conftest
9509   $RM conftest*
9510
9511fi
9512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9513$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9514
9515
9516
9517
9518
9519
9520  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9521$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9522if ${lt_cv_prog_compiler_c_o+:} false; then :
9523  $as_echo_n "(cached) " >&6
9524else
9525  lt_cv_prog_compiler_c_o=no
9526   $RM -r conftest 2>/dev/null
9527   mkdir conftest
9528   cd conftest
9529   mkdir out
9530   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9531
9532   lt_compiler_flag="-o out/conftest2.$ac_objext"
9533   # Insert the option either (1) after the last *FLAGS variable, or
9534   # (2) before a word containing "conftest.", or (3) at the end.
9535   # Note that $ac_compile itself does not contain backslashes and begins
9536   # with a dollar sign (not a hyphen), so the echo should work correctly.
9537   lt_compile=`echo "$ac_compile" | $SED \
9538   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9539   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9540   -e 's:$: $lt_compiler_flag:'`
9541   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9542   (eval "$lt_compile" 2>out/conftest.err)
9543   ac_status=$?
9544   cat out/conftest.err >&5
9545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9547   then
9548     # The compiler can only warn and ignore the option if not recognized
9549     # So say no if there are warnings
9550     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9551     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9552     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9553       lt_cv_prog_compiler_c_o=yes
9554     fi
9555   fi
9556   chmod u+w . 2>&5
9557   $RM conftest*
9558   # SGI C++ compiler will create directory out/ii_files/ for
9559   # template instantiation
9560   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9561   $RM out/* && rmdir out
9562   cd ..
9563   $RM -r conftest
9564   $RM conftest*
9565
9566fi
9567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9568$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9569
9570
9571
9572
9573hard_links="nottested"
9574if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9575  # do not overwrite the value of need_locks provided by the user
9576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9577$as_echo_n "checking if we can lock with hard links... " >&6; }
9578  hard_links=yes
9579  $RM conftest*
9580  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9581  touch conftest.a
9582  ln conftest.a conftest.b 2>&5 || hard_links=no
9583  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9585$as_echo "$hard_links" >&6; }
9586  if test "$hard_links" = no; then
9587    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9588$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9589    need_locks=warn
9590  fi
9591else
9592  need_locks=no
9593fi
9594
9595
9596
9597
9598
9599
9600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9601$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9602
9603  runpath_var=
9604  allow_undefined_flag=
9605  always_export_symbols=no
9606  archive_cmds=
9607  archive_expsym_cmds=
9608  compiler_needs_object=no
9609  enable_shared_with_static_runtimes=no
9610  export_dynamic_flag_spec=
9611  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9612  hardcode_automatic=no
9613  hardcode_direct=no
9614  hardcode_direct_absolute=no
9615  hardcode_libdir_flag_spec=
9616  hardcode_libdir_flag_spec_ld=
9617  hardcode_libdir_separator=
9618  hardcode_minus_L=no
9619  hardcode_shlibpath_var=unsupported
9620  inherit_rpath=no
9621  link_all_deplibs=unknown
9622  module_cmds=
9623  module_expsym_cmds=
9624  old_archive_from_new_cmds=
9625  old_archive_from_expsyms_cmds=
9626  thread_safe_flag_spec=
9627  whole_archive_flag_spec=
9628  # include_expsyms should be a list of space-separated symbols to be *always*
9629  # included in the symbol list
9630  include_expsyms=
9631  # exclude_expsyms can be an extended regexp of symbols to exclude
9632  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9633  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9634  # as well as any symbol that contains `d'.
9635  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9636  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9637  # platforms (ab)use it in PIC code, but their linkers get confused if
9638  # the symbol is explicitly referenced.  Since portable code cannot
9639  # rely on this symbol name, it's probably fine to never include it in
9640  # preloaded symbol tables.
9641  # Exclude shared library initialization/finalization symbols.
9642  extract_expsyms_cmds=
9643
9644  case $host_os in
9645  cygwin* | mingw* | pw32* | cegcc*)
9646    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9647    # When not using gcc, we currently assume that we are using
9648    # Microsoft Visual C++.
9649    if test "$GCC" != yes; then
9650      with_gnu_ld=no
9651    fi
9652    ;;
9653  interix*)
9654    # we just hope/assume this is gcc and not c89 (= MSVC++)
9655    with_gnu_ld=yes
9656    ;;
9657  openbsd*)
9658    with_gnu_ld=no
9659    ;;
9660  esac
9661
9662  ld_shlibs=yes
9663
9664  # On some targets, GNU ld is compatible enough with the native linker
9665  # that we're better off using the native interface for both.
9666  lt_use_gnu_ld_interface=no
9667  if test "$with_gnu_ld" = yes; then
9668    case $host_os in
9669      aix*)
9670	# The AIX port of GNU ld has always aspired to compatibility
9671	# with the native linker.  However, as the warning in the GNU ld
9672	# block says, versions before 2.19.5* couldn't really create working
9673	# shared libraries, regardless of the interface used.
9674	case `$LD -v 2>&1` in
9675	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9676	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9677	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9678	  *)
9679	    lt_use_gnu_ld_interface=yes
9680	    ;;
9681	esac
9682	;;
9683      *)
9684	lt_use_gnu_ld_interface=yes
9685	;;
9686    esac
9687  fi
9688
9689  if test "$lt_use_gnu_ld_interface" = yes; then
9690    # If archive_cmds runs LD, not CC, wlarc should be empty
9691    wlarc='${wl}'
9692
9693    # Set some defaults for GNU ld with shared library support. These
9694    # are reset later if shared libraries are not supported. Putting them
9695    # here allows them to be overridden if necessary.
9696    runpath_var=LD_RUN_PATH
9697    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9698    export_dynamic_flag_spec='${wl}--export-dynamic'
9699    # ancient GNU ld didn't support --whole-archive et. al.
9700    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9701      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9702    else
9703      whole_archive_flag_spec=
9704    fi
9705    supports_anon_versioning=no
9706    case `$LD -v 2>&1` in
9707      *GNU\ gold*) supports_anon_versioning=yes ;;
9708      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9709      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9710      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9711      *\ 2.11.*) ;; # other 2.11 versions
9712      *) supports_anon_versioning=yes ;;
9713    esac
9714
9715    # See if GNU ld supports shared libraries.
9716    case $host_os in
9717    aix[3-9]*)
9718      # On AIX/PPC, the GNU linker is very broken
9719      if test "$host_cpu" != ia64; then
9720	ld_shlibs=no
9721	cat <<_LT_EOF 1>&2
9722
9723*** Warning: the GNU linker, at least up to release 2.19, is reported
9724*** to be unable to reliably create shared libraries on AIX.
9725*** Therefore, libtool is disabling shared libraries support.  If you
9726*** really care for shared libraries, you may want to install binutils
9727*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9728*** You will then need to restart the configuration process.
9729
9730_LT_EOF
9731      fi
9732      ;;
9733
9734    amigaos*)
9735      case $host_cpu in
9736      powerpc)
9737            # see comment about AmigaOS4 .so support
9738            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9739            archive_expsym_cmds=''
9740        ;;
9741      m68k)
9742            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)'
9743            hardcode_libdir_flag_spec='-L$libdir'
9744            hardcode_minus_L=yes
9745        ;;
9746      esac
9747      ;;
9748
9749    beos*)
9750      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9751	allow_undefined_flag=unsupported
9752	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9753	# support --undefined.  This deserves some investigation.  FIXME
9754	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9755      else
9756	ld_shlibs=no
9757      fi
9758      ;;
9759
9760    cygwin* | mingw* | pw32* | cegcc*)
9761      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9762      # as there is no search path for DLLs.
9763      hardcode_libdir_flag_spec='-L$libdir'
9764      export_dynamic_flag_spec='${wl}--export-all-symbols'
9765      allow_undefined_flag=unsupported
9766      always_export_symbols=no
9767      enable_shared_with_static_runtimes=yes
9768      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9769
9770      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9771        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9772	# If the export-symbols file already is a .def file (1st line
9773	# is EXPORTS), use it as is; otherwise, prepend...
9774	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9775	  cp $export_symbols $output_objdir/$soname.def;
9776	else
9777	  echo EXPORTS > $output_objdir/$soname.def;
9778	  cat $export_symbols >> $output_objdir/$soname.def;
9779	fi~
9780	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9781      else
9782	ld_shlibs=no
9783      fi
9784      ;;
9785
9786    haiku*)
9787      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9788      link_all_deplibs=yes
9789      ;;
9790
9791    interix[3-9]*)
9792      hardcode_direct=no
9793      hardcode_shlibpath_var=no
9794      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9795      export_dynamic_flag_spec='${wl}-E'
9796      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9797      # Instead, shared libraries are loaded at an image base (0x10000000 by
9798      # default) and relocated if they conflict, which is a slow very memory
9799      # consuming and fragmenting process.  To avoid this, we pick a random,
9800      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9801      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9802      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9803      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'
9804      ;;
9805
9806    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9807      tmp_diet=no
9808      if test "$host_os" = linux-dietlibc; then
9809	case $cc_basename in
9810	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9811	esac
9812      fi
9813      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9814	 && test "$tmp_diet" = no
9815      then
9816	tmp_addflag=' $pic_flag'
9817	tmp_sharedflag='-shared'
9818	case $cc_basename,$host_cpu in
9819        pgcc*)				# Portland Group C compiler
9820	  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'
9821	  tmp_addflag=' $pic_flag'
9822	  ;;
9823	pgf77* | pgf90* | pgf95* | pgfortran*)
9824					# Portland Group f77 and f90 compilers
9825	  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'
9826	  tmp_addflag=' $pic_flag -Mnomain' ;;
9827	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9828	  tmp_addflag=' -i_dynamic' ;;
9829	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9830	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9831	ifc* | ifort*)			# Intel Fortran compiler
9832	  tmp_addflag=' -nofor_main' ;;
9833	lf95*)				# Lahey Fortran 8.1
9834	  whole_archive_flag_spec=
9835	  tmp_sharedflag='--shared' ;;
9836	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9837	  tmp_sharedflag='-qmkshrobj'
9838	  tmp_addflag= ;;
9839	nvcc*)	# Cuda Compiler Driver 2.2
9840	  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'
9841	  compiler_needs_object=yes
9842	  ;;
9843	esac
9844	case `$CC -V 2>&1 | sed 5q` in
9845	*Sun\ C*)			# Sun C 5.9
9846	  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'
9847	  compiler_needs_object=yes
9848	  tmp_sharedflag='-G' ;;
9849	*Sun\ F*)			# Sun Fortran 8.3
9850	  tmp_sharedflag='-G' ;;
9851	esac
9852	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9853
9854        if test "x$supports_anon_versioning" = xyes; then
9855          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9856	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9857	    echo "local: *; };" >> $output_objdir/$libname.ver~
9858	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9859        fi
9860
9861	case $cc_basename in
9862	xlf* | bgf* | bgxlf* | mpixlf*)
9863	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9864	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9865	  hardcode_libdir_flag_spec=
9866	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9867	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9868	  if test "x$supports_anon_versioning" = xyes; then
9869	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9870	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9871	      echo "local: *; };" >> $output_objdir/$libname.ver~
9872	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9873	  fi
9874	  ;;
9875	esac
9876      else
9877        ld_shlibs=no
9878      fi
9879      ;;
9880
9881    netbsd*)
9882      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9883	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9884	wlarc=
9885      else
9886	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9887	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9888      fi
9889      ;;
9890
9891    solaris*)
9892      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9893	ld_shlibs=no
9894	cat <<_LT_EOF 1>&2
9895
9896*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9897*** create shared libraries on Solaris systems.  Therefore, libtool
9898*** is disabling shared libraries support.  We urge you to upgrade GNU
9899*** binutils to release 2.9.1 or newer.  Another option is to modify
9900*** your PATH or compiler configuration so that the native linker is
9901*** used, and then restart.
9902
9903_LT_EOF
9904      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9905	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9906	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9907      else
9908	ld_shlibs=no
9909      fi
9910      ;;
9911
9912    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9913      case `$LD -v 2>&1` in
9914        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9915	ld_shlibs=no
9916	cat <<_LT_EOF 1>&2
9917
9918*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9919*** reliably create shared libraries on SCO systems.  Therefore, libtool
9920*** is disabling shared libraries support.  We urge you to upgrade GNU
9921*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9922*** your PATH or compiler configuration so that the native linker is
9923*** used, and then restart.
9924
9925_LT_EOF
9926	;;
9927	*)
9928	  # For security reasons, it is highly recommended that you always
9929	  # use absolute paths for naming shared libraries, and exclude the
9930	  # DT_RUNPATH tag from executables and libraries.  But doing so
9931	  # requires that you compile everything twice, which is a pain.
9932	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9933	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9934	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9935	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9936	  else
9937	    ld_shlibs=no
9938	  fi
9939	;;
9940      esac
9941      ;;
9942
9943    sunos4*)
9944      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9945      wlarc=
9946      hardcode_direct=yes
9947      hardcode_shlibpath_var=no
9948      ;;
9949
9950    *)
9951      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9952	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9953	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9954      else
9955	ld_shlibs=no
9956      fi
9957      ;;
9958    esac
9959
9960    if test "$ld_shlibs" = no; then
9961      runpath_var=
9962      hardcode_libdir_flag_spec=
9963      export_dynamic_flag_spec=
9964      whole_archive_flag_spec=
9965    fi
9966  else
9967    # PORTME fill in a description of your system's linker (not GNU ld)
9968    case $host_os in
9969    aix3*)
9970      allow_undefined_flag=unsupported
9971      always_export_symbols=yes
9972      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'
9973      # Note: this linker hardcodes the directories in LIBPATH if there
9974      # are no directories specified by -L.
9975      hardcode_minus_L=yes
9976      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9977	# Neither direct hardcoding nor static linking is supported with a
9978	# broken collect2.
9979	hardcode_direct=unsupported
9980      fi
9981      ;;
9982
9983    aix[4-9]*)
9984      if test "$host_cpu" = ia64; then
9985	# On IA64, the linker does run time linking by default, so we don't
9986	# have to do anything special.
9987	aix_use_runtimelinking=no
9988	exp_sym_flag='-Bexport'
9989	no_entry_flag=""
9990      else
9991	# If we're using GNU nm, then we don't want the "-C" option.
9992	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9993	# Also, AIX nm treats weak defined symbols like other global
9994	# defined symbols, whereas GNU nm marks them as "W".
9995	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9996	  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'
9997	else
9998	  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'
9999	fi
10000	aix_use_runtimelinking=no
10001
10002	# Test if we are trying to use run time linking or normal
10003	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10004	# need to do runtime linking.
10005	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10006	  for ld_flag in $LDFLAGS; do
10007	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10008	    aix_use_runtimelinking=yes
10009	    break
10010	  fi
10011	  done
10012	  ;;
10013	esac
10014
10015	exp_sym_flag='-bexport'
10016	no_entry_flag='-bnoentry'
10017      fi
10018
10019      # When large executables or shared objects are built, AIX ld can
10020      # have problems creating the table of contents.  If linking a library
10021      # or program results in "error TOC overflow" add -mminimal-toc to
10022      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10023      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10024
10025      archive_cmds=''
10026      hardcode_direct=yes
10027      hardcode_direct_absolute=yes
10028      hardcode_libdir_separator=':'
10029      link_all_deplibs=yes
10030      file_list_spec='${wl}-f,'
10031
10032      if test "$GCC" = yes; then
10033	case $host_os in aix4.[012]|aix4.[012].*)
10034	# We only want to do this on AIX 4.2 and lower, the check
10035	# below for broken collect2 doesn't work under 4.3+
10036	  collect2name=`${CC} -print-prog-name=collect2`
10037	  if test -f "$collect2name" &&
10038	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10039	  then
10040	  # We have reworked collect2
10041	  :
10042	  else
10043	  # We have old collect2
10044	  hardcode_direct=unsupported
10045	  # It fails to find uninstalled libraries when the uninstalled
10046	  # path is not listed in the libpath.  Setting hardcode_minus_L
10047	  # to unsupported forces relinking
10048	  hardcode_minus_L=yes
10049	  hardcode_libdir_flag_spec='-L$libdir'
10050	  hardcode_libdir_separator=
10051	  fi
10052	  ;;
10053	esac
10054	shared_flag='-shared'
10055	if test "$aix_use_runtimelinking" = yes; then
10056	  shared_flag="$shared_flag "'${wl}-G'
10057	fi
10058      else
10059	# not using gcc
10060	if test "$host_cpu" = ia64; then
10061	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10062	# chokes on -Wl,-G. The following line is correct:
10063	  shared_flag='-G'
10064	else
10065	  if test "$aix_use_runtimelinking" = yes; then
10066	    shared_flag='${wl}-G'
10067	  else
10068	    shared_flag='${wl}-bM:SRE'
10069	  fi
10070	fi
10071      fi
10072
10073      export_dynamic_flag_spec='${wl}-bexpall'
10074      # It seems that -bexpall does not export symbols beginning with
10075      # underscore (_), so it is better to generate a list of symbols to export.
10076      always_export_symbols=yes
10077      if test "$aix_use_runtimelinking" = yes; then
10078	# Warning - without using the other runtime loading flags (-brtl),
10079	# -berok will link without error, but may produce a broken library.
10080	allow_undefined_flag='-berok'
10081        # Determine the default libpath from the value encoded in an
10082        # empty executable.
10083        if test x$gcc_no_link = xyes; then
10084  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10085fi
10086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087/* end confdefs.h.  */
10088
10089int
10090main ()
10091{
10092
10093  ;
10094  return 0;
10095}
10096_ACEOF
10097if ac_fn_c_try_link "$LINENO"; then :
10098
10099lt_aix_libpath_sed='
10100    /Import File Strings/,/^$/ {
10101	/^0/ {
10102	    s/^0  *\(.*\)$/\1/
10103	    p
10104	}
10105    }'
10106aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10107# Check for a 64-bit object if we didn't find anything.
10108if test -z "$aix_libpath"; then
10109  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10110fi
10111fi
10112rm -f core conftest.err conftest.$ac_objext \
10113    conftest$ac_exeext conftest.$ac_ext
10114if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10115
10116        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10117        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"
10118      else
10119	if test "$host_cpu" = ia64; then
10120	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10121	  allow_undefined_flag="-z nodefs"
10122	  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"
10123	else
10124	 # Determine the default libpath from the value encoded in an
10125	 # empty executable.
10126	 if test x$gcc_no_link = xyes; then
10127  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10128fi
10129cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130/* end confdefs.h.  */
10131
10132int
10133main ()
10134{
10135
10136  ;
10137  return 0;
10138}
10139_ACEOF
10140if ac_fn_c_try_link "$LINENO"; then :
10141
10142lt_aix_libpath_sed='
10143    /Import File Strings/,/^$/ {
10144	/^0/ {
10145	    s/^0  *\(.*\)$/\1/
10146	    p
10147	}
10148    }'
10149aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10150# Check for a 64-bit object if we didn't find anything.
10151if test -z "$aix_libpath"; then
10152  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10153fi
10154fi
10155rm -f core conftest.err conftest.$ac_objext \
10156    conftest$ac_exeext conftest.$ac_ext
10157if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10158
10159	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10160	  # Warning - without using the other run time loading flags,
10161	  # -berok will link without error, but may produce a broken library.
10162	  no_undefined_flag=' ${wl}-bernotok'
10163	  allow_undefined_flag=' ${wl}-berok'
10164	  if test "$with_gnu_ld" = yes; then
10165	    # We only use this code for GNU lds that support --whole-archive.
10166	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10167	  else
10168	    # Exported symbols can be pulled into shared objects from archives
10169	    whole_archive_flag_spec='$convenience'
10170	  fi
10171	  archive_cmds_need_lc=yes
10172	  # This is similar to how AIX traditionally builds its shared libraries.
10173	  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'
10174	fi
10175      fi
10176      ;;
10177
10178    amigaos*)
10179      case $host_cpu in
10180      powerpc)
10181            # see comment about AmigaOS4 .so support
10182            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10183            archive_expsym_cmds=''
10184        ;;
10185      m68k)
10186            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)'
10187            hardcode_libdir_flag_spec='-L$libdir'
10188            hardcode_minus_L=yes
10189        ;;
10190      esac
10191      ;;
10192
10193    bsdi[45]*)
10194      export_dynamic_flag_spec=-rdynamic
10195      ;;
10196
10197    cygwin* | mingw* | pw32* | cegcc*)
10198      # When not using gcc, we currently assume that we are using
10199      # Microsoft Visual C++.
10200      # hardcode_libdir_flag_spec is actually meaningless, as there is
10201      # no search path for DLLs.
10202      hardcode_libdir_flag_spec=' '
10203      allow_undefined_flag=unsupported
10204      # Tell ltmain to make .lib files, not .a files.
10205      libext=lib
10206      # Tell ltmain to make .dll files, not .so files.
10207      shrext_cmds=".dll"
10208      # FIXME: Setting linknames here is a bad hack.
10209      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10210      # The linker will automatically build a .lib file if we build a DLL.
10211      old_archive_from_new_cmds='true'
10212      # FIXME: Should let the user specify the lib program.
10213      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10214      fix_srcfile_path='`cygpath -w "$srcfile"`'
10215      enable_shared_with_static_runtimes=yes
10216      ;;
10217
10218    darwin* | rhapsody*)
10219
10220
10221  archive_cmds_need_lc=no
10222  hardcode_direct=no
10223  hardcode_automatic=yes
10224  hardcode_shlibpath_var=unsupported
10225  if test "$lt_cv_ld_force_load" = "yes"; then
10226    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\"`'
10227  else
10228    whole_archive_flag_spec=''
10229  fi
10230  link_all_deplibs=yes
10231  allow_undefined_flag="$_lt_dar_allow_undefined"
10232  case $cc_basename in
10233     ifort*) _lt_dar_can_shared=yes ;;
10234     *) _lt_dar_can_shared=$GCC ;;
10235  esac
10236  if test "$_lt_dar_can_shared" = "yes"; then
10237    output_verbose_link_cmd=func_echo_all
10238    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10239    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10240    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}"
10241    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}"
10242
10243  else
10244  ld_shlibs=no
10245  fi
10246
10247      ;;
10248
10249    dgux*)
10250      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10251      hardcode_libdir_flag_spec='-L$libdir'
10252      hardcode_shlibpath_var=no
10253      ;;
10254
10255    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10256    # support.  Future versions do this automatically, but an explicit c++rt0.o
10257    # does not break anything, and helps significantly (at the cost of a little
10258    # extra space).
10259    freebsd2.2*)
10260      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10261      hardcode_libdir_flag_spec='-R$libdir'
10262      hardcode_direct=yes
10263      hardcode_shlibpath_var=no
10264      ;;
10265
10266    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10267    freebsd2.*)
10268      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10269      hardcode_direct=yes
10270      hardcode_minus_L=yes
10271      hardcode_shlibpath_var=no
10272      ;;
10273
10274    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10275    freebsd* | dragonfly*)
10276      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10277      hardcode_libdir_flag_spec='-R$libdir'
10278      hardcode_direct=yes
10279      hardcode_shlibpath_var=no
10280      ;;
10281
10282    hpux9*)
10283      if test "$GCC" = yes; then
10284	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'
10285      else
10286	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'
10287      fi
10288      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10289      hardcode_libdir_separator=:
10290      hardcode_direct=yes
10291
10292      # hardcode_minus_L: Not really in the search PATH,
10293      # but as the default location of the library.
10294      hardcode_minus_L=yes
10295      export_dynamic_flag_spec='${wl}-E'
10296      ;;
10297
10298    hpux10*)
10299      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10300	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10301      else
10302	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10303      fi
10304      if test "$with_gnu_ld" = no; then
10305	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10306	hardcode_libdir_flag_spec_ld='+b $libdir'
10307	hardcode_libdir_separator=:
10308	hardcode_direct=yes
10309	hardcode_direct_absolute=yes
10310	export_dynamic_flag_spec='${wl}-E'
10311	# hardcode_minus_L: Not really in the search PATH,
10312	# but as the default location of the library.
10313	hardcode_minus_L=yes
10314      fi
10315      ;;
10316
10317    hpux11*)
10318      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10319	case $host_cpu in
10320	hppa*64*)
10321	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10322	  ;;
10323	ia64*)
10324	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10325	  ;;
10326	*)
10327	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10328	  ;;
10329	esac
10330      else
10331	case $host_cpu in
10332	hppa*64*)
10333	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10334	  ;;
10335	ia64*)
10336	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10337	  ;;
10338	*)
10339
10340	  # Older versions of the 11.00 compiler do not understand -b yet
10341	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10342	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10343$as_echo_n "checking if $CC understands -b... " >&6; }
10344if ${lt_cv_prog_compiler__b+:} false; then :
10345  $as_echo_n "(cached) " >&6
10346else
10347  lt_cv_prog_compiler__b=no
10348   save_LDFLAGS="$LDFLAGS"
10349   LDFLAGS="$LDFLAGS -b"
10350   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10351   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10352     # The linker can only warn and ignore the option if not recognized
10353     # So say no if there are warnings
10354     if test -s conftest.err; then
10355       # Append any errors to the config.log.
10356       cat conftest.err 1>&5
10357       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10358       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10359       if diff conftest.exp conftest.er2 >/dev/null; then
10360         lt_cv_prog_compiler__b=yes
10361       fi
10362     else
10363       lt_cv_prog_compiler__b=yes
10364     fi
10365   fi
10366   $RM -r conftest*
10367   LDFLAGS="$save_LDFLAGS"
10368
10369fi
10370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10371$as_echo "$lt_cv_prog_compiler__b" >&6; }
10372
10373if test x"$lt_cv_prog_compiler__b" = xyes; then
10374    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10375else
10376    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10377fi
10378
10379	  ;;
10380	esac
10381      fi
10382      if test "$with_gnu_ld" = no; then
10383	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10384	hardcode_libdir_separator=:
10385
10386	case $host_cpu in
10387	hppa*64*|ia64*)
10388	  hardcode_direct=no
10389	  hardcode_shlibpath_var=no
10390	  ;;
10391	*)
10392	  hardcode_direct=yes
10393	  hardcode_direct_absolute=yes
10394	  export_dynamic_flag_spec='${wl}-E'
10395
10396	  # hardcode_minus_L: Not really in the search PATH,
10397	  # but as the default location of the library.
10398	  hardcode_minus_L=yes
10399	  ;;
10400	esac
10401      fi
10402      ;;
10403
10404    irix5* | irix6* | nonstopux*)
10405      if test "$GCC" = yes; then
10406	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'
10407	# Try to use the -exported_symbol ld option, if it does not
10408	# work, assume that -exports_file does not work either and
10409	# implicitly export all symbols.
10410        save_LDFLAGS="$LDFLAGS"
10411        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10412        if test x$gcc_no_link = xyes; then
10413  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10414fi
10415cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10416/* end confdefs.h.  */
10417int foo(void) {}
10418_ACEOF
10419if ac_fn_c_try_link "$LINENO"; then :
10420  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'
10421
10422fi
10423rm -f core conftest.err conftest.$ac_objext \
10424    conftest$ac_exeext conftest.$ac_ext
10425        LDFLAGS="$save_LDFLAGS"
10426      else
10427	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'
10428	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'
10429      fi
10430      archive_cmds_need_lc='no'
10431      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10432      hardcode_libdir_separator=:
10433      inherit_rpath=yes
10434      link_all_deplibs=yes
10435      ;;
10436
10437    netbsd*)
10438      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10439	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10440      else
10441	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10442      fi
10443      hardcode_libdir_flag_spec='-R$libdir'
10444      hardcode_direct=yes
10445      hardcode_shlibpath_var=no
10446      ;;
10447
10448    newsos6)
10449      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10450      hardcode_direct=yes
10451      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10452      hardcode_libdir_separator=:
10453      hardcode_shlibpath_var=no
10454      ;;
10455
10456    *nto* | *qnx*)
10457      ;;
10458
10459    openbsd*)
10460      if test -f /usr/libexec/ld.so; then
10461	hardcode_direct=yes
10462	hardcode_shlibpath_var=no
10463	hardcode_direct_absolute=yes
10464	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10465	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10466	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10467	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10468	  export_dynamic_flag_spec='${wl}-E'
10469	else
10470	  case $host_os in
10471	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10472	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10473	     hardcode_libdir_flag_spec='-R$libdir'
10474	     ;;
10475	   *)
10476	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10477	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10478	     ;;
10479	  esac
10480	fi
10481      else
10482	ld_shlibs=no
10483      fi
10484      ;;
10485
10486    os2*)
10487      hardcode_libdir_flag_spec='-L$libdir'
10488      hardcode_minus_L=yes
10489      allow_undefined_flag=unsupported
10490      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'
10491      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10492      ;;
10493
10494    osf3*)
10495      if test "$GCC" = yes; then
10496	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10497	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'
10498      else
10499	allow_undefined_flag=' -expect_unresolved \*'
10500	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'
10501      fi
10502      archive_cmds_need_lc='no'
10503      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10504      hardcode_libdir_separator=:
10505      ;;
10506
10507    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10508      if test "$GCC" = yes; then
10509	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10510	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'
10511	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10512      else
10513	allow_undefined_flag=' -expect_unresolved \*'
10514	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'
10515	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~
10516	$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'
10517
10518	# Both c and cxx compiler support -rpath directly
10519	hardcode_libdir_flag_spec='-rpath $libdir'
10520      fi
10521      archive_cmds_need_lc='no'
10522      hardcode_libdir_separator=:
10523      ;;
10524
10525    solaris*)
10526      no_undefined_flag=' -z defs'
10527      if test "$GCC" = yes; then
10528	wlarc='${wl}'
10529	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10530	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10531	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10532      else
10533	case `$CC -V 2>&1` in
10534	*"Compilers 5.0"*)
10535	  wlarc=''
10536	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10537	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10538	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10539	  ;;
10540	*)
10541	  wlarc='${wl}'
10542	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10543	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10544	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10545	  ;;
10546	esac
10547      fi
10548      hardcode_libdir_flag_spec='-R$libdir'
10549      hardcode_shlibpath_var=no
10550      case $host_os in
10551      solaris2.[0-5] | solaris2.[0-5].*) ;;
10552      *)
10553	# The compiler driver will combine and reorder linker options,
10554	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10555	# but is careful enough not to reorder.
10556	# Supported since Solaris 2.6 (maybe 2.5.1?)
10557	if test "$GCC" = yes; then
10558	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10559	else
10560	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10561	fi
10562	;;
10563      esac
10564      link_all_deplibs=yes
10565      ;;
10566
10567    sunos4*)
10568      if test "x$host_vendor" = xsequent; then
10569	# Use $CC to link under sequent, because it throws in some extra .o
10570	# files that make .init and .fini sections work.
10571	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10572      else
10573	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10574      fi
10575      hardcode_libdir_flag_spec='-L$libdir'
10576      hardcode_direct=yes
10577      hardcode_minus_L=yes
10578      hardcode_shlibpath_var=no
10579      ;;
10580
10581    sysv4)
10582      case $host_vendor in
10583	sni)
10584	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10585	  hardcode_direct=yes # is this really true???
10586	;;
10587	siemens)
10588	  ## LD is ld it makes a PLAMLIB
10589	  ## CC just makes a GrossModule.
10590	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10591	  reload_cmds='$CC -r -o $output$reload_objs'
10592	  hardcode_direct=no
10593        ;;
10594	motorola)
10595	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10596	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10597	;;
10598      esac
10599      runpath_var='LD_RUN_PATH'
10600      hardcode_shlibpath_var=no
10601      ;;
10602
10603    sysv4.3*)
10604      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10605      hardcode_shlibpath_var=no
10606      export_dynamic_flag_spec='-Bexport'
10607      ;;
10608
10609    sysv4*MP*)
10610      if test -d /usr/nec; then
10611	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10612	hardcode_shlibpath_var=no
10613	runpath_var=LD_RUN_PATH
10614	hardcode_runpath_var=yes
10615	ld_shlibs=yes
10616      fi
10617      ;;
10618
10619    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10620      no_undefined_flag='${wl}-z,text'
10621      archive_cmds_need_lc=no
10622      hardcode_shlibpath_var=no
10623      runpath_var='LD_RUN_PATH'
10624
10625      if test "$GCC" = yes; then
10626	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10627	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10628      else
10629	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10630	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10631      fi
10632      ;;
10633
10634    sysv5* | sco3.2v5* | sco5v6*)
10635      # Note: We can NOT use -z defs as we might desire, because we do not
10636      # link with -lc, and that would cause any symbols used from libc to
10637      # always be unresolved, which means just about no library would
10638      # ever link correctly.  If we're not using GNU ld we use -z text
10639      # though, which does catch some bad symbols but isn't as heavy-handed
10640      # as -z defs.
10641      no_undefined_flag='${wl}-z,text'
10642      allow_undefined_flag='${wl}-z,nodefs'
10643      archive_cmds_need_lc=no
10644      hardcode_shlibpath_var=no
10645      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10646      hardcode_libdir_separator=':'
10647      link_all_deplibs=yes
10648      export_dynamic_flag_spec='${wl}-Bexport'
10649      runpath_var='LD_RUN_PATH'
10650
10651      if test "$GCC" = yes; then
10652	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10653	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10654      else
10655	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10656	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10657      fi
10658      ;;
10659
10660    uts4*)
10661      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10662      hardcode_libdir_flag_spec='-L$libdir'
10663      hardcode_shlibpath_var=no
10664      ;;
10665
10666    *)
10667      ld_shlibs=no
10668      ;;
10669    esac
10670
10671    if test x$host_vendor = xsni; then
10672      case $host in
10673      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10674	export_dynamic_flag_spec='${wl}-Blargedynsym'
10675	;;
10676      esac
10677    fi
10678  fi
10679
10680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10681$as_echo "$ld_shlibs" >&6; }
10682test "$ld_shlibs" = no && can_build_shared=no
10683
10684with_gnu_ld=$with_gnu_ld
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700#
10701# Do we need to explicitly link libc?
10702#
10703case "x$archive_cmds_need_lc" in
10704x|xyes)
10705  # Assume -lc should be added
10706  archive_cmds_need_lc=yes
10707
10708  if test "$enable_shared" = yes && test "$GCC" = yes; then
10709    case $archive_cmds in
10710    *'~'*)
10711      # FIXME: we may have to deal with multi-command sequences.
10712      ;;
10713    '$CC '*)
10714      # Test whether the compiler implicitly links with -lc since on some
10715      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10716      # to ld, don't add -lc before -lgcc.
10717      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10718$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10719if ${lt_cv_archive_cmds_need_lc+:} false; then :
10720  $as_echo_n "(cached) " >&6
10721else
10722  $RM conftest*
10723	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10724
10725	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10726  (eval $ac_compile) 2>&5
10727  ac_status=$?
10728  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10729  test $ac_status = 0; } 2>conftest.err; then
10730	  soname=conftest
10731	  lib=conftest
10732	  libobjs=conftest.$ac_objext
10733	  deplibs=
10734	  wl=$lt_prog_compiler_wl
10735	  pic_flag=$lt_prog_compiler_pic
10736	  compiler_flags=-v
10737	  linker_flags=-v
10738	  verstring=
10739	  output_objdir=.
10740	  libname=conftest
10741	  lt_save_allow_undefined_flag=$allow_undefined_flag
10742	  allow_undefined_flag=
10743	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10744  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10745  ac_status=$?
10746  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10747  test $ac_status = 0; }
10748	  then
10749	    lt_cv_archive_cmds_need_lc=no
10750	  else
10751	    lt_cv_archive_cmds_need_lc=yes
10752	  fi
10753	  allow_undefined_flag=$lt_save_allow_undefined_flag
10754	else
10755	  cat conftest.err 1>&5
10756	fi
10757	$RM conftest*
10758
10759fi
10760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10761$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10762      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10763      ;;
10764    esac
10765  fi
10766  ;;
10767esac
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10926$as_echo_n "checking dynamic linker characteristics... " >&6; }
10927
10928if test "$GCC" = yes; then
10929  case $host_os in
10930    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10931    *) lt_awk_arg="/^libraries:/" ;;
10932  esac
10933  case $host_os in
10934    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10935    *) lt_sed_strip_eq="s,=/,/,g" ;;
10936  esac
10937  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10938  case $lt_search_path_spec in
10939  *\;*)
10940    # if the path contains ";" then we assume it to be the separator
10941    # otherwise default to the standard path separator (i.e. ":") - it is
10942    # assumed that no part of a normal pathname contains ";" but that should
10943    # okay in the real world where ";" in dirpaths is itself problematic.
10944    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10945    ;;
10946  *)
10947    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10948    ;;
10949  esac
10950  # Ok, now we have the path, separated by spaces, we can step through it
10951  # and add multilib dir if necessary.
10952  lt_tmp_lt_search_path_spec=
10953  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10954  for lt_sys_path in $lt_search_path_spec; do
10955    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10956      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10957    else
10958      test -d "$lt_sys_path" && \
10959	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10960    fi
10961  done
10962  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10963BEGIN {RS=" "; FS="/|\n";} {
10964  lt_foo="";
10965  lt_count=0;
10966  for (lt_i = NF; lt_i > 0; lt_i--) {
10967    if ($lt_i != "" && $lt_i != ".") {
10968      if ($lt_i == "..") {
10969        lt_count++;
10970      } else {
10971        if (lt_count == 0) {
10972          lt_foo="/" $lt_i lt_foo;
10973        } else {
10974          lt_count--;
10975        }
10976      }
10977    }
10978  }
10979  if (lt_foo != "") { lt_freq[lt_foo]++; }
10980  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10981}'`
10982  # AWK program above erroneously prepends '/' to C:/dos/paths
10983  # for these hosts.
10984  case $host_os in
10985    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10986      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10987  esac
10988  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10989else
10990  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10991fi
10992library_names_spec=
10993libname_spec='lib$name'
10994soname_spec=
10995shrext_cmds=".so"
10996postinstall_cmds=
10997postuninstall_cmds=
10998finish_cmds=
10999finish_eval=
11000shlibpath_var=
11001shlibpath_overrides_runpath=unknown
11002version_type=none
11003dynamic_linker="$host_os ld.so"
11004sys_lib_dlsearch_path_spec="/lib /usr/lib"
11005need_lib_prefix=unknown
11006hardcode_into_libs=no
11007
11008# when you set need_version to no, make sure it does not cause -set_version
11009# flags to be left without arguments
11010need_version=unknown
11011
11012case $host_os in
11013aix3*)
11014  version_type=linux
11015  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11016  shlibpath_var=LIBPATH
11017
11018  # AIX 3 has no versioning support, so we append a major version to the name.
11019  soname_spec='${libname}${release}${shared_ext}$major'
11020  ;;
11021
11022aix[4-9]*)
11023  version_type=linux
11024  need_lib_prefix=no
11025  need_version=no
11026  hardcode_into_libs=yes
11027  if test "$host_cpu" = ia64; then
11028    # AIX 5 supports IA64
11029    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11030    shlibpath_var=LD_LIBRARY_PATH
11031  else
11032    # With GCC up to 2.95.x, collect2 would create an import file
11033    # for dependence libraries.  The import file would start with
11034    # the line `#! .'.  This would cause the generated library to
11035    # depend on `.', always an invalid library.  This was fixed in
11036    # development snapshots of GCC prior to 3.0.
11037    case $host_os in
11038      aix4 | aix4.[01] | aix4.[01].*)
11039      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11040	   echo ' yes '
11041	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11042	:
11043      else
11044	can_build_shared=no
11045      fi
11046      ;;
11047    esac
11048    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11049    # soname into executable. Probably we can add versioning support to
11050    # collect2, so additional links can be useful in future.
11051    if test "$aix_use_runtimelinking" = yes; then
11052      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11053      # instead of lib<name>.a to let people know that these are not
11054      # typical AIX shared libraries.
11055      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056    else
11057      # We preserve .a as extension for shared libraries through AIX4.2
11058      # and later when we are not doing run time linking.
11059      library_names_spec='${libname}${release}.a $libname.a'
11060      soname_spec='${libname}${release}${shared_ext}$major'
11061    fi
11062    shlibpath_var=LIBPATH
11063  fi
11064  ;;
11065
11066amigaos*)
11067  case $host_cpu in
11068  powerpc)
11069    # Since July 2007 AmigaOS4 officially supports .so libraries.
11070    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11071    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072    ;;
11073  m68k)
11074    library_names_spec='$libname.ixlibrary $libname.a'
11075    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11076    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'
11077    ;;
11078  esac
11079  ;;
11080
11081beos*)
11082  library_names_spec='${libname}${shared_ext}'
11083  dynamic_linker="$host_os ld.so"
11084  shlibpath_var=LIBRARY_PATH
11085  ;;
11086
11087bsdi[45]*)
11088  version_type=linux
11089  need_version=no
11090  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11091  soname_spec='${libname}${release}${shared_ext}$major'
11092  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11093  shlibpath_var=LD_LIBRARY_PATH
11094  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11095  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11096  # the default ld.so.conf also contains /usr/contrib/lib and
11097  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11098  # libtool to hard-code these into programs
11099  ;;
11100
11101cygwin* | mingw* | pw32* | cegcc*)
11102  version_type=windows
11103  shrext_cmds=".dll"
11104  need_version=no
11105  need_lib_prefix=no
11106
11107  case $GCC,$host_os in
11108  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11109    library_names_spec='$libname.dll.a'
11110    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11111    postinstall_cmds='base_file=`basename \${file}`~
11112      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11113      dldir=$destdir/`dirname \$dlpath`~
11114      test -d \$dldir || mkdir -p \$dldir~
11115      $install_prog $dir/$dlname \$dldir/$dlname~
11116      chmod a+x \$dldir/$dlname~
11117      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11118        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11119      fi'
11120    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11121      dlpath=$dir/\$dldll~
11122       $RM \$dlpath'
11123    shlibpath_overrides_runpath=yes
11124
11125    case $host_os in
11126    cygwin*)
11127      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11128      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11129
11130      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11131      ;;
11132    mingw* | cegcc*)
11133      # MinGW DLLs use traditional 'lib' prefix
11134      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11135      ;;
11136    pw32*)
11137      # pw32 DLLs use 'pw' prefix rather than 'lib'
11138      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11139      ;;
11140    esac
11141    ;;
11142
11143  *)
11144    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11145    ;;
11146  esac
11147  dynamic_linker='Win32 ld.exe'
11148  # FIXME: first we should search . and the directory the executable is in
11149  shlibpath_var=PATH
11150  ;;
11151
11152darwin* | rhapsody*)
11153  dynamic_linker="$host_os dyld"
11154  version_type=darwin
11155  need_lib_prefix=no
11156  need_version=no
11157  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11158  soname_spec='${libname}${release}${major}$shared_ext'
11159  shlibpath_overrides_runpath=yes
11160  shlibpath_var=DYLD_LIBRARY_PATH
11161  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11162
11163  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11164  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11165  ;;
11166
11167dgux*)
11168  version_type=linux
11169  need_lib_prefix=no
11170  need_version=no
11171  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11172  soname_spec='${libname}${release}${shared_ext}$major'
11173  shlibpath_var=LD_LIBRARY_PATH
11174  ;;
11175
11176freebsd* | dragonfly*)
11177  # DragonFly does not have aout.  When/if they implement a new
11178  # versioning mechanism, adjust this.
11179  if test -x /usr/bin/objformat; then
11180    objformat=`/usr/bin/objformat`
11181  else
11182    case $host_os in
11183    freebsd[23].*) objformat=aout ;;
11184    *) objformat=elf ;;
11185    esac
11186  fi
11187  version_type=freebsd-$objformat
11188  case $version_type in
11189    freebsd-elf*)
11190      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11191      need_version=no
11192      need_lib_prefix=no
11193      ;;
11194    freebsd-*)
11195      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11196      need_version=yes
11197      ;;
11198  esac
11199  shlibpath_var=LD_LIBRARY_PATH
11200  case $host_os in
11201  freebsd2.*)
11202    shlibpath_overrides_runpath=yes
11203    ;;
11204  freebsd3.[01]* | freebsdelf3.[01]*)
11205    shlibpath_overrides_runpath=yes
11206    hardcode_into_libs=yes
11207    ;;
11208  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11209  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11210    shlibpath_overrides_runpath=no
11211    hardcode_into_libs=yes
11212    ;;
11213  *) # from 4.6 on, and DragonFly
11214    shlibpath_overrides_runpath=yes
11215    hardcode_into_libs=yes
11216    ;;
11217  esac
11218  ;;
11219
11220gnu*)
11221  version_type=linux
11222  need_lib_prefix=no
11223  need_version=no
11224  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11225  soname_spec='${libname}${release}${shared_ext}$major'
11226  shlibpath_var=LD_LIBRARY_PATH
11227  hardcode_into_libs=yes
11228  ;;
11229
11230haiku*)
11231  version_type=linux
11232  need_lib_prefix=no
11233  need_version=no
11234  dynamic_linker="$host_os runtime_loader"
11235  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11236  soname_spec='${libname}${release}${shared_ext}$major'
11237  shlibpath_var=LIBRARY_PATH
11238  shlibpath_overrides_runpath=yes
11239  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11240  hardcode_into_libs=yes
11241  ;;
11242
11243hpux9* | hpux10* | hpux11*)
11244  # Give a soname corresponding to the major version so that dld.sl refuses to
11245  # link against other versions.
11246  version_type=sunos
11247  need_lib_prefix=no
11248  need_version=no
11249  case $host_cpu in
11250  ia64*)
11251    shrext_cmds='.so'
11252    hardcode_into_libs=yes
11253    dynamic_linker="$host_os dld.so"
11254    shlibpath_var=LD_LIBRARY_PATH
11255    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11256    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11257    soname_spec='${libname}${release}${shared_ext}$major'
11258    if test "X$HPUX_IA64_MODE" = X32; then
11259      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11260    else
11261      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11262    fi
11263    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11264    ;;
11265  hppa*64*)
11266    shrext_cmds='.sl'
11267    hardcode_into_libs=yes
11268    dynamic_linker="$host_os dld.sl"
11269    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11270    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11271    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11272    soname_spec='${libname}${release}${shared_ext}$major'
11273    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11274    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11275    ;;
11276  *)
11277    shrext_cmds='.sl'
11278    dynamic_linker="$host_os dld.sl"
11279    shlibpath_var=SHLIB_PATH
11280    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11281    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11282    soname_spec='${libname}${release}${shared_ext}$major'
11283    ;;
11284  esac
11285  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11286  postinstall_cmds='chmod 555 $lib'
11287  # or fails outright, so override atomically:
11288  install_override_mode=555
11289  ;;
11290
11291interix[3-9]*)
11292  version_type=linux
11293  need_lib_prefix=no
11294  need_version=no
11295  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11296  soname_spec='${libname}${release}${shared_ext}$major'
11297  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11298  shlibpath_var=LD_LIBRARY_PATH
11299  shlibpath_overrides_runpath=no
11300  hardcode_into_libs=yes
11301  ;;
11302
11303irix5* | irix6* | nonstopux*)
11304  case $host_os in
11305    nonstopux*) version_type=nonstopux ;;
11306    *)
11307	if test "$lt_cv_prog_gnu_ld" = yes; then
11308		version_type=linux
11309	else
11310		version_type=irix
11311	fi ;;
11312  esac
11313  need_lib_prefix=no
11314  need_version=no
11315  soname_spec='${libname}${release}${shared_ext}$major'
11316  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11317  case $host_os in
11318  irix5* | nonstopux*)
11319    libsuff= shlibsuff=
11320    ;;
11321  *)
11322    case $LD in # libtool.m4 will add one of these switches to LD
11323    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11324      libsuff= shlibsuff= libmagic=32-bit;;
11325    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11326      libsuff=32 shlibsuff=N32 libmagic=N32;;
11327    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11328      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11329    *) libsuff= shlibsuff= libmagic=never-match;;
11330    esac
11331    ;;
11332  esac
11333  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11334  shlibpath_overrides_runpath=no
11335  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11336  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11337  hardcode_into_libs=yes
11338  ;;
11339
11340# No shared lib support for Linux oldld, aout, or coff.
11341linux*oldld* | linux*aout* | linux*coff*)
11342  dynamic_linker=no
11343  ;;
11344
11345# This must be Linux ELF.
11346linux* | k*bsd*-gnu | kopensolaris*-gnu)
11347  version_type=linux
11348  need_lib_prefix=no
11349  need_version=no
11350  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351  soname_spec='${libname}${release}${shared_ext}$major'
11352  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11353  shlibpath_var=LD_LIBRARY_PATH
11354  shlibpath_overrides_runpath=no
11355
11356  # Some binutils ld are patched to set DT_RUNPATH
11357  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11358  $as_echo_n "(cached) " >&6
11359else
11360  lt_cv_shlibpath_overrides_runpath=no
11361    save_LDFLAGS=$LDFLAGS
11362    save_libdir=$libdir
11363    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11364	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11365    if test x$gcc_no_link = xyes; then
11366  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11367fi
11368cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369/* end confdefs.h.  */
11370
11371int
11372main ()
11373{
11374
11375  ;
11376  return 0;
11377}
11378_ACEOF
11379if ac_fn_c_try_link "$LINENO"; then :
11380  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11381  lt_cv_shlibpath_overrides_runpath=yes
11382fi
11383fi
11384rm -f core conftest.err conftest.$ac_objext \
11385    conftest$ac_exeext conftest.$ac_ext
11386    LDFLAGS=$save_LDFLAGS
11387    libdir=$save_libdir
11388
11389fi
11390
11391  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11392
11393  # This implies no fast_install, which is unacceptable.
11394  # Some rework will be needed to allow for fast_install
11395  # before this can be enabled.
11396  hardcode_into_libs=yes
11397
11398  # Append ld.so.conf contents to the search path
11399  if test -f /etc/ld.so.conf; then
11400    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' ' '`
11401    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11402  fi
11403
11404  # We used to test for /lib/ld.so.1 and disable shared libraries on
11405  # powerpc, because MkLinux only supported shared libraries with the
11406  # GNU dynamic linker.  Since this was broken with cross compilers,
11407  # most powerpc-linux boxes support dynamic linking these days and
11408  # people can always --disable-shared, the test was removed, and we
11409  # assume the GNU/Linux dynamic linker is in use.
11410  dynamic_linker='GNU/Linux ld.so'
11411  ;;
11412
11413netbsd*)
11414  version_type=sunos
11415  need_lib_prefix=no
11416  need_version=no
11417  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11418    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11419    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11420    dynamic_linker='NetBSD (a.out) ld.so'
11421  else
11422    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11423    soname_spec='${libname}${release}${shared_ext}$major'
11424    dynamic_linker='NetBSD ld.elf_so'
11425  fi
11426  shlibpath_var=LD_LIBRARY_PATH
11427  shlibpath_overrides_runpath=yes
11428  hardcode_into_libs=yes
11429  ;;
11430
11431newsos6)
11432  version_type=linux
11433  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11434  shlibpath_var=LD_LIBRARY_PATH
11435  shlibpath_overrides_runpath=yes
11436  ;;
11437
11438*nto* | *qnx*)
11439  version_type=qnx
11440  need_lib_prefix=no
11441  need_version=no
11442  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11443  soname_spec='${libname}${release}${shared_ext}$major'
11444  shlibpath_var=LD_LIBRARY_PATH
11445  shlibpath_overrides_runpath=no
11446  hardcode_into_libs=yes
11447  dynamic_linker='ldqnx.so'
11448  ;;
11449
11450openbsd*)
11451  version_type=sunos
11452  sys_lib_dlsearch_path_spec="/usr/lib"
11453  need_lib_prefix=no
11454  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11455  case $host_os in
11456    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11457    *)				need_version=no  ;;
11458  esac
11459  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11460  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11461  shlibpath_var=LD_LIBRARY_PATH
11462  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11463    case $host_os in
11464      openbsd2.[89] | openbsd2.[89].*)
11465	shlibpath_overrides_runpath=no
11466	;;
11467      *)
11468	shlibpath_overrides_runpath=yes
11469	;;
11470      esac
11471  else
11472    shlibpath_overrides_runpath=yes
11473  fi
11474  ;;
11475
11476os2*)
11477  libname_spec='$name'
11478  shrext_cmds=".dll"
11479  need_lib_prefix=no
11480  library_names_spec='$libname${shared_ext} $libname.a'
11481  dynamic_linker='OS/2 ld.exe'
11482  shlibpath_var=LIBPATH
11483  ;;
11484
11485osf3* | osf4* | osf5*)
11486  version_type=osf
11487  need_lib_prefix=no
11488  need_version=no
11489  soname_spec='${libname}${release}${shared_ext}$major'
11490  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11491  shlibpath_var=LD_LIBRARY_PATH
11492  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11493  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11494  ;;
11495
11496rdos*)
11497  dynamic_linker=no
11498  ;;
11499
11500solaris*)
11501  version_type=linux
11502  need_lib_prefix=no
11503  need_version=no
11504  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505  soname_spec='${libname}${release}${shared_ext}$major'
11506  shlibpath_var=LD_LIBRARY_PATH
11507  shlibpath_overrides_runpath=yes
11508  hardcode_into_libs=yes
11509  # ldd complains unless libraries are executable
11510  postinstall_cmds='chmod +x $lib'
11511  ;;
11512
11513sunos4*)
11514  version_type=sunos
11515  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11516  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11517  shlibpath_var=LD_LIBRARY_PATH
11518  shlibpath_overrides_runpath=yes
11519  if test "$with_gnu_ld" = yes; then
11520    need_lib_prefix=no
11521  fi
11522  need_version=yes
11523  ;;
11524
11525sysv4 | sysv4.3*)
11526  version_type=linux
11527  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11528  soname_spec='${libname}${release}${shared_ext}$major'
11529  shlibpath_var=LD_LIBRARY_PATH
11530  case $host_vendor in
11531    sni)
11532      shlibpath_overrides_runpath=no
11533      need_lib_prefix=no
11534      runpath_var=LD_RUN_PATH
11535      ;;
11536    siemens)
11537      need_lib_prefix=no
11538      ;;
11539    motorola)
11540      need_lib_prefix=no
11541      need_version=no
11542      shlibpath_overrides_runpath=no
11543      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11544      ;;
11545  esac
11546  ;;
11547
11548sysv4*MP*)
11549  if test -d /usr/nec ;then
11550    version_type=linux
11551    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11552    soname_spec='$libname${shared_ext}.$major'
11553    shlibpath_var=LD_LIBRARY_PATH
11554  fi
11555  ;;
11556
11557sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11558  version_type=freebsd-elf
11559  need_lib_prefix=no
11560  need_version=no
11561  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11562  soname_spec='${libname}${release}${shared_ext}$major'
11563  shlibpath_var=LD_LIBRARY_PATH
11564  shlibpath_overrides_runpath=yes
11565  hardcode_into_libs=yes
11566  if test "$with_gnu_ld" = yes; then
11567    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11568  else
11569    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11570    case $host_os in
11571      sco3.2v5*)
11572        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11573	;;
11574    esac
11575  fi
11576  sys_lib_dlsearch_path_spec='/usr/lib'
11577  ;;
11578
11579tpf*)
11580  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11581  version_type=linux
11582  need_lib_prefix=no
11583  need_version=no
11584  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585  shlibpath_var=LD_LIBRARY_PATH
11586  shlibpath_overrides_runpath=no
11587  hardcode_into_libs=yes
11588  ;;
11589
11590uts4*)
11591  version_type=linux
11592  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11593  soname_spec='${libname}${release}${shared_ext}$major'
11594  shlibpath_var=LD_LIBRARY_PATH
11595  ;;
11596
11597*)
11598  dynamic_linker=no
11599  ;;
11600esac
11601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11602$as_echo "$dynamic_linker" >&6; }
11603test "$dynamic_linker" = no && can_build_shared=no
11604
11605variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11606if test "$GCC" = yes; then
11607  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11608fi
11609
11610if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11611  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11612fi
11613if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11614  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11615fi
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11709$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11710hardcode_action=
11711if test -n "$hardcode_libdir_flag_spec" ||
11712   test -n "$runpath_var" ||
11713   test "X$hardcode_automatic" = "Xyes" ; then
11714
11715  # We can hardcode non-existent directories.
11716  if test "$hardcode_direct" != no &&
11717     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11718     # have to relink, otherwise we might link with an installed library
11719     # when we should be linking with a yet-to-be-installed one
11720     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11721     test "$hardcode_minus_L" != no; then
11722    # Linking always hardcodes the temporary library directory.
11723    hardcode_action=relink
11724  else
11725    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11726    hardcode_action=immediate
11727  fi
11728else
11729  # We cannot hardcode anything, or else we can only hardcode existing
11730  # directories.
11731  hardcode_action=unsupported
11732fi
11733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11734$as_echo "$hardcode_action" >&6; }
11735
11736if test "$hardcode_action" = relink ||
11737   test "$inherit_rpath" = yes; then
11738  # Fast installation is not supported
11739  enable_fast_install=no
11740elif test "$shlibpath_overrides_runpath" = yes ||
11741     test "$enable_shared" = no; then
11742  # Fast installation is not necessary
11743  enable_fast_install=needless
11744fi
11745
11746
11747
11748
11749
11750
11751  if test "x$enable_dlopen" != xyes; then
11752  enable_dlopen=unknown
11753  enable_dlopen_self=unknown
11754  enable_dlopen_self_static=unknown
11755else
11756  lt_cv_dlopen=no
11757  lt_cv_dlopen_libs=
11758
11759  case $host_os in
11760  beos*)
11761    lt_cv_dlopen="load_add_on"
11762    lt_cv_dlopen_libs=
11763    lt_cv_dlopen_self=yes
11764    ;;
11765
11766  mingw* | pw32* | cegcc*)
11767    lt_cv_dlopen="LoadLibrary"
11768    lt_cv_dlopen_libs=
11769    ;;
11770
11771  cygwin*)
11772    lt_cv_dlopen="dlopen"
11773    lt_cv_dlopen_libs=
11774    ;;
11775
11776  darwin*)
11777  # if libdl is installed we need to link against it
11778    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11779$as_echo_n "checking for dlopen in -ldl... " >&6; }
11780if ${ac_cv_lib_dl_dlopen+:} false; then :
11781  $as_echo_n "(cached) " >&6
11782else
11783  ac_check_lib_save_LIBS=$LIBS
11784LIBS="-ldl  $LIBS"
11785if test x$gcc_no_link = xyes; then
11786  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11787fi
11788cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789/* end confdefs.h.  */
11790
11791/* Override any GCC internal prototype to avoid an error.
11792   Use char because int might match the return type of a GCC
11793   builtin and then its argument prototype would still apply.  */
11794#ifdef __cplusplus
11795extern "C"
11796#endif
11797char dlopen ();
11798int
11799main ()
11800{
11801return dlopen ();
11802  ;
11803  return 0;
11804}
11805_ACEOF
11806if ac_fn_c_try_link "$LINENO"; then :
11807  ac_cv_lib_dl_dlopen=yes
11808else
11809  ac_cv_lib_dl_dlopen=no
11810fi
11811rm -f core conftest.err conftest.$ac_objext \
11812    conftest$ac_exeext conftest.$ac_ext
11813LIBS=$ac_check_lib_save_LIBS
11814fi
11815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11816$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11817if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11818  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11819else
11820
11821    lt_cv_dlopen="dyld"
11822    lt_cv_dlopen_libs=
11823    lt_cv_dlopen_self=yes
11824
11825fi
11826
11827    ;;
11828
11829  *)
11830    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11831if test "x$ac_cv_func_shl_load" = xyes; then :
11832  lt_cv_dlopen="shl_load"
11833else
11834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11835$as_echo_n "checking for shl_load in -ldld... " >&6; }
11836if ${ac_cv_lib_dld_shl_load+:} false; then :
11837  $as_echo_n "(cached) " >&6
11838else
11839  ac_check_lib_save_LIBS=$LIBS
11840LIBS="-ldld  $LIBS"
11841if test x$gcc_no_link = xyes; then
11842  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11843fi
11844cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845/* end confdefs.h.  */
11846
11847/* Override any GCC internal prototype to avoid an error.
11848   Use char because int might match the return type of a GCC
11849   builtin and then its argument prototype would still apply.  */
11850#ifdef __cplusplus
11851extern "C"
11852#endif
11853char shl_load ();
11854int
11855main ()
11856{
11857return shl_load ();
11858  ;
11859  return 0;
11860}
11861_ACEOF
11862if ac_fn_c_try_link "$LINENO"; then :
11863  ac_cv_lib_dld_shl_load=yes
11864else
11865  ac_cv_lib_dld_shl_load=no
11866fi
11867rm -f core conftest.err conftest.$ac_objext \
11868    conftest$ac_exeext conftest.$ac_ext
11869LIBS=$ac_check_lib_save_LIBS
11870fi
11871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11872$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11873if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11874  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11875else
11876  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11877if test "x$ac_cv_func_dlopen" = xyes; then :
11878  lt_cv_dlopen="dlopen"
11879else
11880  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11881$as_echo_n "checking for dlopen in -ldl... " >&6; }
11882if ${ac_cv_lib_dl_dlopen+:} false; then :
11883  $as_echo_n "(cached) " >&6
11884else
11885  ac_check_lib_save_LIBS=$LIBS
11886LIBS="-ldl  $LIBS"
11887if test x$gcc_no_link = xyes; then
11888  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11889fi
11890cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891/* end confdefs.h.  */
11892
11893/* Override any GCC internal prototype to avoid an error.
11894   Use char because int might match the return type of a GCC
11895   builtin and then its argument prototype would still apply.  */
11896#ifdef __cplusplus
11897extern "C"
11898#endif
11899char dlopen ();
11900int
11901main ()
11902{
11903return dlopen ();
11904  ;
11905  return 0;
11906}
11907_ACEOF
11908if ac_fn_c_try_link "$LINENO"; then :
11909  ac_cv_lib_dl_dlopen=yes
11910else
11911  ac_cv_lib_dl_dlopen=no
11912fi
11913rm -f core conftest.err conftest.$ac_objext \
11914    conftest$ac_exeext conftest.$ac_ext
11915LIBS=$ac_check_lib_save_LIBS
11916fi
11917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11918$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11919if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11920  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11921else
11922  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11923$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11924if ${ac_cv_lib_svld_dlopen+:} false; then :
11925  $as_echo_n "(cached) " >&6
11926else
11927  ac_check_lib_save_LIBS=$LIBS
11928LIBS="-lsvld  $LIBS"
11929if test x$gcc_no_link = xyes; then
11930  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11931fi
11932cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933/* end confdefs.h.  */
11934
11935/* Override any GCC internal prototype to avoid an error.
11936   Use char because int might match the return type of a GCC
11937   builtin and then its argument prototype would still apply.  */
11938#ifdef __cplusplus
11939extern "C"
11940#endif
11941char dlopen ();
11942int
11943main ()
11944{
11945return dlopen ();
11946  ;
11947  return 0;
11948}
11949_ACEOF
11950if ac_fn_c_try_link "$LINENO"; then :
11951  ac_cv_lib_svld_dlopen=yes
11952else
11953  ac_cv_lib_svld_dlopen=no
11954fi
11955rm -f core conftest.err conftest.$ac_objext \
11956    conftest$ac_exeext conftest.$ac_ext
11957LIBS=$ac_check_lib_save_LIBS
11958fi
11959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11960$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11961if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11962  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11963else
11964  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11965$as_echo_n "checking for dld_link in -ldld... " >&6; }
11966if ${ac_cv_lib_dld_dld_link+:} false; then :
11967  $as_echo_n "(cached) " >&6
11968else
11969  ac_check_lib_save_LIBS=$LIBS
11970LIBS="-ldld  $LIBS"
11971if test x$gcc_no_link = xyes; then
11972  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11973fi
11974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975/* end confdefs.h.  */
11976
11977/* Override any GCC internal prototype to avoid an error.
11978   Use char because int might match the return type of a GCC
11979   builtin and then its argument prototype would still apply.  */
11980#ifdef __cplusplus
11981extern "C"
11982#endif
11983char dld_link ();
11984int
11985main ()
11986{
11987return dld_link ();
11988  ;
11989  return 0;
11990}
11991_ACEOF
11992if ac_fn_c_try_link "$LINENO"; then :
11993  ac_cv_lib_dld_dld_link=yes
11994else
11995  ac_cv_lib_dld_dld_link=no
11996fi
11997rm -f core conftest.err conftest.$ac_objext \
11998    conftest$ac_exeext conftest.$ac_ext
11999LIBS=$ac_check_lib_save_LIBS
12000fi
12001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12002$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12003if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12004  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12005fi
12006
12007
12008fi
12009
12010
12011fi
12012
12013
12014fi
12015
12016
12017fi
12018
12019
12020fi
12021
12022    ;;
12023  esac
12024
12025  if test "x$lt_cv_dlopen" != xno; then
12026    enable_dlopen=yes
12027  else
12028    enable_dlopen=no
12029  fi
12030
12031  case $lt_cv_dlopen in
12032  dlopen)
12033    save_CPPFLAGS="$CPPFLAGS"
12034    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12035
12036    save_LDFLAGS="$LDFLAGS"
12037    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12038
12039    save_LIBS="$LIBS"
12040    LIBS="$lt_cv_dlopen_libs $LIBS"
12041
12042    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12043$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12044if ${lt_cv_dlopen_self+:} false; then :
12045  $as_echo_n "(cached) " >&6
12046else
12047  	  if test "$cross_compiling" = yes; then :
12048  lt_cv_dlopen_self=cross
12049else
12050  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12051  lt_status=$lt_dlunknown
12052  cat > conftest.$ac_ext <<_LT_EOF
12053#line 12053 "configure"
12054#include "confdefs.h"
12055
12056#if HAVE_DLFCN_H
12057#include <dlfcn.h>
12058#endif
12059
12060#include <stdio.h>
12061
12062#ifdef RTLD_GLOBAL
12063#  define LT_DLGLOBAL		RTLD_GLOBAL
12064#else
12065#  ifdef DL_GLOBAL
12066#    define LT_DLGLOBAL		DL_GLOBAL
12067#  else
12068#    define LT_DLGLOBAL		0
12069#  endif
12070#endif
12071
12072/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12073   find out it does not work in some platform. */
12074#ifndef LT_DLLAZY_OR_NOW
12075#  ifdef RTLD_LAZY
12076#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12077#  else
12078#    ifdef DL_LAZY
12079#      define LT_DLLAZY_OR_NOW		DL_LAZY
12080#    else
12081#      ifdef RTLD_NOW
12082#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12083#      else
12084#        ifdef DL_NOW
12085#          define LT_DLLAZY_OR_NOW	DL_NOW
12086#        else
12087#          define LT_DLLAZY_OR_NOW	0
12088#        endif
12089#      endif
12090#    endif
12091#  endif
12092#endif
12093
12094/* When -fvisbility=hidden is used, assume the code has been annotated
12095   correspondingly for the symbols needed.  */
12096#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12097void fnord () __attribute__((visibility("default")));
12098#endif
12099
12100void fnord () { int i=42; }
12101int main ()
12102{
12103  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12104  int status = $lt_dlunknown;
12105
12106  if (self)
12107    {
12108      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12109      else
12110        {
12111	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12112          else puts (dlerror ());
12113	}
12114      /* dlclose (self); */
12115    }
12116  else
12117    puts (dlerror ());
12118
12119  return status;
12120}
12121_LT_EOF
12122  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12123  (eval $ac_link) 2>&5
12124  ac_status=$?
12125  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12126  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12127    (./conftest; exit; ) >&5 2>/dev/null
12128    lt_status=$?
12129    case x$lt_status in
12130      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12131      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12132      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12133    esac
12134  else :
12135    # compilation failed
12136    lt_cv_dlopen_self=no
12137  fi
12138fi
12139rm -fr conftest*
12140
12141
12142fi
12143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12144$as_echo "$lt_cv_dlopen_self" >&6; }
12145
12146    if test "x$lt_cv_dlopen_self" = xyes; then
12147      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12148      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12149$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12150if ${lt_cv_dlopen_self_static+:} false; then :
12151  $as_echo_n "(cached) " >&6
12152else
12153  	  if test "$cross_compiling" = yes; then :
12154  lt_cv_dlopen_self_static=cross
12155else
12156  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12157  lt_status=$lt_dlunknown
12158  cat > conftest.$ac_ext <<_LT_EOF
12159#line 12159 "configure"
12160#include "confdefs.h"
12161
12162#if HAVE_DLFCN_H
12163#include <dlfcn.h>
12164#endif
12165
12166#include <stdio.h>
12167
12168#ifdef RTLD_GLOBAL
12169#  define LT_DLGLOBAL		RTLD_GLOBAL
12170#else
12171#  ifdef DL_GLOBAL
12172#    define LT_DLGLOBAL		DL_GLOBAL
12173#  else
12174#    define LT_DLGLOBAL		0
12175#  endif
12176#endif
12177
12178/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12179   find out it does not work in some platform. */
12180#ifndef LT_DLLAZY_OR_NOW
12181#  ifdef RTLD_LAZY
12182#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12183#  else
12184#    ifdef DL_LAZY
12185#      define LT_DLLAZY_OR_NOW		DL_LAZY
12186#    else
12187#      ifdef RTLD_NOW
12188#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12189#      else
12190#        ifdef DL_NOW
12191#          define LT_DLLAZY_OR_NOW	DL_NOW
12192#        else
12193#          define LT_DLLAZY_OR_NOW	0
12194#        endif
12195#      endif
12196#    endif
12197#  endif
12198#endif
12199
12200/* When -fvisbility=hidden is used, assume the code has been annotated
12201   correspondingly for the symbols needed.  */
12202#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12203void fnord () __attribute__((visibility("default")));
12204#endif
12205
12206void fnord () { int i=42; }
12207int main ()
12208{
12209  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12210  int status = $lt_dlunknown;
12211
12212  if (self)
12213    {
12214      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12215      else
12216        {
12217	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12218          else puts (dlerror ());
12219	}
12220      /* dlclose (self); */
12221    }
12222  else
12223    puts (dlerror ());
12224
12225  return status;
12226}
12227_LT_EOF
12228  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12229  (eval $ac_link) 2>&5
12230  ac_status=$?
12231  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12232  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12233    (./conftest; exit; ) >&5 2>/dev/null
12234    lt_status=$?
12235    case x$lt_status in
12236      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12237      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12238      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12239    esac
12240  else :
12241    # compilation failed
12242    lt_cv_dlopen_self_static=no
12243  fi
12244fi
12245rm -fr conftest*
12246
12247
12248fi
12249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12250$as_echo "$lt_cv_dlopen_self_static" >&6; }
12251    fi
12252
12253    CPPFLAGS="$save_CPPFLAGS"
12254    LDFLAGS="$save_LDFLAGS"
12255    LIBS="$save_LIBS"
12256    ;;
12257  esac
12258
12259  case $lt_cv_dlopen_self in
12260  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12261  *) enable_dlopen_self=unknown ;;
12262  esac
12263
12264  case $lt_cv_dlopen_self_static in
12265  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12266  *) enable_dlopen_self_static=unknown ;;
12267  esac
12268fi
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286striplib=
12287old_striplib=
12288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12289$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12290if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12291  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12292  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12294$as_echo "yes" >&6; }
12295else
12296# FIXME - insert some real tests, host_os isn't really good enough
12297  case $host_os in
12298  darwin*)
12299    if test -n "$STRIP" ; then
12300      striplib="$STRIP -x"
12301      old_striplib="$STRIP -S"
12302      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12303$as_echo "yes" >&6; }
12304    else
12305      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12306$as_echo "no" >&6; }
12307    fi
12308    ;;
12309  *)
12310    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12311$as_echo "no" >&6; }
12312    ;;
12313  esac
12314fi
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327  # Report which library types will actually be built
12328  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12329$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12331$as_echo "$can_build_shared" >&6; }
12332
12333  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12334$as_echo_n "checking whether to build shared libraries... " >&6; }
12335  test "$can_build_shared" = "no" && enable_shared=no
12336
12337  # On AIX, shared libraries and static libraries use the same namespace, and
12338  # are all built from PIC.
12339  case $host_os in
12340  aix3*)
12341    test "$enable_shared" = yes && enable_static=no
12342    if test -n "$RANLIB"; then
12343      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12344      postinstall_cmds='$RANLIB $lib'
12345    fi
12346    ;;
12347
12348  aix[4-9]*)
12349    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12350      test "$enable_shared" = yes && enable_static=no
12351    fi
12352    ;;
12353  esac
12354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12355$as_echo "$enable_shared" >&6; }
12356
12357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12358$as_echo_n "checking whether to build static libraries... " >&6; }
12359  # Make sure either enable_shared or enable_static is yes.
12360  test "$enable_shared" = yes || enable_static=yes
12361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12362$as_echo "$enable_static" >&6; }
12363
12364
12365
12366
12367fi
12368ac_ext=c
12369ac_cpp='$CPP $CPPFLAGS'
12370ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12371ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12372ac_compiler_gnu=$ac_cv_c_compiler_gnu
12373
12374CC="$lt_save_CC"
12375
12376      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12377    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12378    (test "X$CXX" != "Xg++"))) ; then
12379  ac_ext=cpp
12380ac_cpp='$CXXCPP $CPPFLAGS'
12381ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12382ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12383ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12385$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12386if test -z "$CXXCPP"; then
12387  if ${ac_cv_prog_CXXCPP+:} false; then :
12388  $as_echo_n "(cached) " >&6
12389else
12390      # Double quotes because CXXCPP needs to be expanded
12391    for CXXCPP in "$CXX -E" "/lib/cpp"
12392    do
12393      ac_preproc_ok=false
12394for ac_cxx_preproc_warn_flag in '' yes
12395do
12396  # Use a header file that comes with gcc, so configuring glibc
12397  # with a fresh cross-compiler works.
12398  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12399  # <limits.h> exists even on freestanding compilers.
12400  # On the NeXT, cc -E runs the code through the compiler's parser,
12401  # not just through cpp. "Syntax error" is here to catch this case.
12402  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403/* end confdefs.h.  */
12404#ifdef __STDC__
12405# include <limits.h>
12406#else
12407# include <assert.h>
12408#endif
12409		     Syntax error
12410_ACEOF
12411if ac_fn_cxx_try_cpp "$LINENO"; then :
12412
12413else
12414  # Broken: fails on valid input.
12415continue
12416fi
12417rm -f conftest.err conftest.i conftest.$ac_ext
12418
12419  # OK, works on sane cases.  Now check whether nonexistent headers
12420  # can be detected and how.
12421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422/* end confdefs.h.  */
12423#include <ac_nonexistent.h>
12424_ACEOF
12425if ac_fn_cxx_try_cpp "$LINENO"; then :
12426  # Broken: success on invalid input.
12427continue
12428else
12429  # Passes both tests.
12430ac_preproc_ok=:
12431break
12432fi
12433rm -f conftest.err conftest.i conftest.$ac_ext
12434
12435done
12436# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12437rm -f conftest.i conftest.err conftest.$ac_ext
12438if $ac_preproc_ok; then :
12439  break
12440fi
12441
12442    done
12443    ac_cv_prog_CXXCPP=$CXXCPP
12444
12445fi
12446  CXXCPP=$ac_cv_prog_CXXCPP
12447else
12448  ac_cv_prog_CXXCPP=$CXXCPP
12449fi
12450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12451$as_echo "$CXXCPP" >&6; }
12452ac_preproc_ok=false
12453for ac_cxx_preproc_warn_flag in '' yes
12454do
12455  # Use a header file that comes with gcc, so configuring glibc
12456  # with a fresh cross-compiler works.
12457  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12458  # <limits.h> exists even on freestanding compilers.
12459  # On the NeXT, cc -E runs the code through the compiler's parser,
12460  # not just through cpp. "Syntax error" is here to catch this case.
12461  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12462/* end confdefs.h.  */
12463#ifdef __STDC__
12464# include <limits.h>
12465#else
12466# include <assert.h>
12467#endif
12468		     Syntax error
12469_ACEOF
12470if ac_fn_cxx_try_cpp "$LINENO"; then :
12471
12472else
12473  # Broken: fails on valid input.
12474continue
12475fi
12476rm -f conftest.err conftest.i conftest.$ac_ext
12477
12478  # OK, works on sane cases.  Now check whether nonexistent headers
12479  # can be detected and how.
12480  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12481/* end confdefs.h.  */
12482#include <ac_nonexistent.h>
12483_ACEOF
12484if ac_fn_cxx_try_cpp "$LINENO"; then :
12485  # Broken: success on invalid input.
12486continue
12487else
12488  # Passes both tests.
12489ac_preproc_ok=:
12490break
12491fi
12492rm -f conftest.err conftest.i conftest.$ac_ext
12493
12494done
12495# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12496rm -f conftest.i conftest.err conftest.$ac_ext
12497if $ac_preproc_ok; then :
12498
12499else
12500  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12501$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12502as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12503See \`config.log' for more details" "$LINENO" 5; }
12504fi
12505
12506ac_ext=c
12507ac_cpp='$CPP $CPPFLAGS'
12508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12510ac_compiler_gnu=$ac_cv_c_compiler_gnu
12511
12512else
12513  _lt_caught_CXX_error=yes
12514fi
12515
12516ac_ext=cpp
12517ac_cpp='$CXXCPP $CPPFLAGS'
12518ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12521
12522archive_cmds_need_lc_CXX=no
12523allow_undefined_flag_CXX=
12524always_export_symbols_CXX=no
12525archive_expsym_cmds_CXX=
12526compiler_needs_object_CXX=no
12527export_dynamic_flag_spec_CXX=
12528hardcode_direct_CXX=no
12529hardcode_direct_absolute_CXX=no
12530hardcode_libdir_flag_spec_CXX=
12531hardcode_libdir_flag_spec_ld_CXX=
12532hardcode_libdir_separator_CXX=
12533hardcode_minus_L_CXX=no
12534hardcode_shlibpath_var_CXX=unsupported
12535hardcode_automatic_CXX=no
12536inherit_rpath_CXX=no
12537module_cmds_CXX=
12538module_expsym_cmds_CXX=
12539link_all_deplibs_CXX=unknown
12540old_archive_cmds_CXX=$old_archive_cmds
12541reload_flag_CXX=$reload_flag
12542reload_cmds_CXX=$reload_cmds
12543no_undefined_flag_CXX=
12544whole_archive_flag_spec_CXX=
12545enable_shared_with_static_runtimes_CXX=no
12546
12547# Source file extension for C++ test sources.
12548ac_ext=cpp
12549
12550# Object file extension for compiled C++ test sources.
12551objext=o
12552objext_CXX=$objext
12553
12554# No sense in running all these tests if we already determined that
12555# the CXX compiler isn't working.  Some variables (like enable_shared)
12556# are currently assumed to apply to all compilers on this platform,
12557# and will be corrupted by setting them based on a non-working compiler.
12558if test "$_lt_caught_CXX_error" != yes; then
12559  # Code to be used in simple compile tests
12560  lt_simple_compile_test_code="int some_variable = 0;"
12561
12562  # Code to be used in simple link tests
12563  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12564
12565  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12566
12567
12568
12569
12570
12571
12572# If no C compiler was specified, use CC.
12573LTCC=${LTCC-"$CC"}
12574
12575# If no C compiler flags were specified, use CFLAGS.
12576LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12577
12578# Allow CC to be a program name with arguments.
12579compiler=$CC
12580
12581
12582  # save warnings/boilerplate of simple test code
12583  ac_outfile=conftest.$ac_objext
12584echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12585eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12586_lt_compiler_boilerplate=`cat conftest.err`
12587$RM conftest*
12588
12589  ac_outfile=conftest.$ac_objext
12590echo "$lt_simple_link_test_code" >conftest.$ac_ext
12591eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12592_lt_linker_boilerplate=`cat conftest.err`
12593$RM -r conftest*
12594
12595
12596  # Allow CC to be a program name with arguments.
12597  lt_save_CC=$CC
12598  lt_save_LD=$LD
12599  lt_save_GCC=$GCC
12600  GCC=$GXX
12601  lt_save_with_gnu_ld=$with_gnu_ld
12602  lt_save_path_LD=$lt_cv_path_LD
12603  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12604    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12605  else
12606    $as_unset lt_cv_prog_gnu_ld
12607  fi
12608  if test -n "${lt_cv_path_LDCXX+set}"; then
12609    lt_cv_path_LD=$lt_cv_path_LDCXX
12610  else
12611    $as_unset lt_cv_path_LD
12612  fi
12613  test -z "${LDCXX+set}" || LD=$LDCXX
12614  CC=${CXX-"c++"}
12615  compiler=$CC
12616  compiler_CXX=$CC
12617  for cc_temp in $compiler""; do
12618  case $cc_temp in
12619    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12620    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12621    \-*) ;;
12622    *) break;;
12623  esac
12624done
12625cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12626
12627
12628  if test -n "$compiler"; then
12629    # We don't want -fno-exception when compiling C++ code, so set the
12630    # no_builtin_flag separately
12631    if test "$GXX" = yes; then
12632      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12633    else
12634      lt_prog_compiler_no_builtin_flag_CXX=
12635    fi
12636
12637    if test "$GXX" = yes; then
12638      # Set up default GNU C++ configuration
12639
12640
12641
12642# Check whether --with-gnu-ld was given.
12643if test "${with_gnu_ld+set}" = set; then :
12644  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12645else
12646  with_gnu_ld=no
12647fi
12648
12649ac_prog=ld
12650if test "$GCC" = yes; then
12651  # Check if gcc -print-prog-name=ld gives a path.
12652  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12653$as_echo_n "checking for ld used by $CC... " >&6; }
12654  case $host in
12655  *-*-mingw*)
12656    # gcc leaves a trailing carriage return which upsets mingw
12657    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12658  *)
12659    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12660  esac
12661  case $ac_prog in
12662    # Accept absolute paths.
12663    [\\/]* | ?:[\\/]*)
12664      re_direlt='/[^/][^/]*/\.\./'
12665      # Canonicalize the pathname of ld
12666      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12667      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12668	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12669      done
12670      test -z "$LD" && LD="$ac_prog"
12671      ;;
12672  "")
12673    # If it fails, then pretend we aren't using GCC.
12674    ac_prog=ld
12675    ;;
12676  *)
12677    # If it is relative, then search for the first ld in PATH.
12678    with_gnu_ld=unknown
12679    ;;
12680  esac
12681elif test "$with_gnu_ld" = yes; then
12682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12683$as_echo_n "checking for GNU ld... " >&6; }
12684else
12685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12686$as_echo_n "checking for non-GNU ld... " >&6; }
12687fi
12688if ${lt_cv_path_LD+:} false; then :
12689  $as_echo_n "(cached) " >&6
12690else
12691  if test -z "$LD"; then
12692  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12693  for ac_dir in $PATH; do
12694    IFS="$lt_save_ifs"
12695    test -z "$ac_dir" && ac_dir=.
12696    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12697      lt_cv_path_LD="$ac_dir/$ac_prog"
12698      # Check to see if the program is GNU ld.  I'd rather use --version,
12699      # but apparently some variants of GNU ld only accept -v.
12700      # Break only if it was the GNU/non-GNU ld that we prefer.
12701      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12702      *GNU* | *'with BFD'*)
12703	test "$with_gnu_ld" != no && break
12704	;;
12705      *)
12706	test "$with_gnu_ld" != yes && break
12707	;;
12708      esac
12709    fi
12710  done
12711  IFS="$lt_save_ifs"
12712else
12713  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12714fi
12715fi
12716
12717LD="$lt_cv_path_LD"
12718if test -n "$LD"; then
12719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12720$as_echo "$LD" >&6; }
12721else
12722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12723$as_echo "no" >&6; }
12724fi
12725test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12727$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12728if ${lt_cv_prog_gnu_ld+:} false; then :
12729  $as_echo_n "(cached) " >&6
12730else
12731  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12732case `$LD -v 2>&1 </dev/null` in
12733*GNU* | *'with BFD'*)
12734  lt_cv_prog_gnu_ld=yes
12735  ;;
12736*)
12737  lt_cv_prog_gnu_ld=no
12738  ;;
12739esac
12740fi
12741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12742$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12743with_gnu_ld=$lt_cv_prog_gnu_ld
12744
12745
12746
12747
12748
12749
12750
12751      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12752      # archiving commands below assume that GNU ld is being used.
12753      if test "$with_gnu_ld" = yes; then
12754        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12755        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'
12756
12757        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12758        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12759
12760        # If archive_cmds runs LD, not CC, wlarc should be empty
12761        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12762        #     investigate it a little bit more. (MM)
12763        wlarc='${wl}'
12764
12765        # ancient GNU ld didn't support --whole-archive et. al.
12766        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12767	  $GREP 'no-whole-archive' > /dev/null; then
12768          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12769        else
12770          whole_archive_flag_spec_CXX=
12771        fi
12772      else
12773        with_gnu_ld=no
12774        wlarc=
12775
12776        # A generic and very simple default shared library creation
12777        # command for GNU C++ for the case where it uses the native
12778        # linker, instead of GNU ld.  If possible, this setting should
12779        # overridden to take advantage of the native linker features on
12780        # the platform it is being used on.
12781        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12782      fi
12783
12784      # Commands to make compiler produce verbose output that lists
12785      # what "hidden" libraries, object files and flags are used when
12786      # linking a shared library.
12787      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12788
12789    else
12790      GXX=no
12791      with_gnu_ld=no
12792      wlarc=
12793    fi
12794
12795    # PORTME: fill in a description of your system's C++ link characteristics
12796    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12797$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12798    ld_shlibs_CXX=yes
12799    case $host_os in
12800      aix3*)
12801        # FIXME: insert proper C++ library support
12802        ld_shlibs_CXX=no
12803        ;;
12804      aix[4-9]*)
12805        if test "$host_cpu" = ia64; then
12806          # On IA64, the linker does run time linking by default, so we don't
12807          # have to do anything special.
12808          aix_use_runtimelinking=no
12809          exp_sym_flag='-Bexport'
12810          no_entry_flag=""
12811        else
12812          aix_use_runtimelinking=no
12813
12814          # Test if we are trying to use run time linking or normal
12815          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12816          # need to do runtime linking.
12817          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12818	    for ld_flag in $LDFLAGS; do
12819	      case $ld_flag in
12820	      *-brtl*)
12821	        aix_use_runtimelinking=yes
12822	        break
12823	        ;;
12824	      esac
12825	    done
12826	    ;;
12827          esac
12828
12829          exp_sym_flag='-bexport'
12830          no_entry_flag='-bnoentry'
12831        fi
12832
12833        # When large executables or shared objects are built, AIX ld can
12834        # have problems creating the table of contents.  If linking a library
12835        # or program results in "error TOC overflow" add -mminimal-toc to
12836        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12837        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12838
12839        archive_cmds_CXX=''
12840        hardcode_direct_CXX=yes
12841        hardcode_direct_absolute_CXX=yes
12842        hardcode_libdir_separator_CXX=':'
12843        link_all_deplibs_CXX=yes
12844        file_list_spec_CXX='${wl}-f,'
12845
12846        if test "$GXX" = yes; then
12847          case $host_os in aix4.[012]|aix4.[012].*)
12848          # We only want to do this on AIX 4.2 and lower, the check
12849          # below for broken collect2 doesn't work under 4.3+
12850	  collect2name=`${CC} -print-prog-name=collect2`
12851	  if test -f "$collect2name" &&
12852	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12853	  then
12854	    # We have reworked collect2
12855	    :
12856	  else
12857	    # We have old collect2
12858	    hardcode_direct_CXX=unsupported
12859	    # It fails to find uninstalled libraries when the uninstalled
12860	    # path is not listed in the libpath.  Setting hardcode_minus_L
12861	    # to unsupported forces relinking
12862	    hardcode_minus_L_CXX=yes
12863	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12864	    hardcode_libdir_separator_CXX=
12865	  fi
12866          esac
12867          shared_flag='-shared'
12868	  if test "$aix_use_runtimelinking" = yes; then
12869	    shared_flag="$shared_flag "'${wl}-G'
12870	  fi
12871        else
12872          # not using gcc
12873          if test "$host_cpu" = ia64; then
12874	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12875	  # chokes on -Wl,-G. The following line is correct:
12876	  shared_flag='-G'
12877          else
12878	    if test "$aix_use_runtimelinking" = yes; then
12879	      shared_flag='${wl}-G'
12880	    else
12881	      shared_flag='${wl}-bM:SRE'
12882	    fi
12883          fi
12884        fi
12885
12886        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12887        # It seems that -bexpall does not export symbols beginning with
12888        # underscore (_), so it is better to generate a list of symbols to
12889	# export.
12890        always_export_symbols_CXX=yes
12891        if test "$aix_use_runtimelinking" = yes; then
12892          # Warning - without using the other runtime loading flags (-brtl),
12893          # -berok will link without error, but may produce a broken library.
12894          allow_undefined_flag_CXX='-berok'
12895          # Determine the default libpath from the value encoded in an empty
12896          # executable.
12897          if test x$gcc_no_link = xyes; then
12898  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12899fi
12900cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12901/* end confdefs.h.  */
12902
12903int
12904main ()
12905{
12906
12907  ;
12908  return 0;
12909}
12910_ACEOF
12911if ac_fn_cxx_try_link "$LINENO"; then :
12912
12913lt_aix_libpath_sed='
12914    /Import File Strings/,/^$/ {
12915	/^0/ {
12916	    s/^0  *\(.*\)$/\1/
12917	    p
12918	}
12919    }'
12920aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12921# Check for a 64-bit object if we didn't find anything.
12922if test -z "$aix_libpath"; then
12923  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12924fi
12925fi
12926rm -f core conftest.err conftest.$ac_objext \
12927    conftest$ac_exeext conftest.$ac_ext
12928if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12929
12930          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12931
12932          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"
12933        else
12934          if test "$host_cpu" = ia64; then
12935	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12936	    allow_undefined_flag_CXX="-z nodefs"
12937	    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"
12938          else
12939	    # Determine the default libpath from the value encoded in an
12940	    # empty executable.
12941	    if test x$gcc_no_link = xyes; then
12942  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12943fi
12944cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945/* end confdefs.h.  */
12946
12947int
12948main ()
12949{
12950
12951  ;
12952  return 0;
12953}
12954_ACEOF
12955if ac_fn_cxx_try_link "$LINENO"; then :
12956
12957lt_aix_libpath_sed='
12958    /Import File Strings/,/^$/ {
12959	/^0/ {
12960	    s/^0  *\(.*\)$/\1/
12961	    p
12962	}
12963    }'
12964aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12965# Check for a 64-bit object if we didn't find anything.
12966if test -z "$aix_libpath"; then
12967  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12968fi
12969fi
12970rm -f core conftest.err conftest.$ac_objext \
12971    conftest$ac_exeext conftest.$ac_ext
12972if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12973
12974	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12975	    # Warning - without using the other run time loading flags,
12976	    # -berok will link without error, but may produce a broken library.
12977	    no_undefined_flag_CXX=' ${wl}-bernotok'
12978	    allow_undefined_flag_CXX=' ${wl}-berok'
12979	    if test "$with_gnu_ld" = yes; then
12980	      # We only use this code for GNU lds that support --whole-archive.
12981	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12982	    else
12983	      # Exported symbols can be pulled into shared objects from archives
12984	      whole_archive_flag_spec_CXX='$convenience'
12985	    fi
12986	    archive_cmds_need_lc_CXX=yes
12987	    # This is similar to how AIX traditionally builds its shared
12988	    # libraries.
12989	    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'
12990          fi
12991        fi
12992        ;;
12993
12994      beos*)
12995	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12996	  allow_undefined_flag_CXX=unsupported
12997	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12998	  # support --undefined.  This deserves some investigation.  FIXME
12999	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13000	else
13001	  ld_shlibs_CXX=no
13002	fi
13003	;;
13004
13005      chorus*)
13006        case $cc_basename in
13007          *)
13008	  # FIXME: insert proper C++ library support
13009	  ld_shlibs_CXX=no
13010	  ;;
13011        esac
13012        ;;
13013
13014      cygwin* | mingw* | pw32* | cegcc*)
13015        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13016        # as there is no search path for DLLs.
13017        hardcode_libdir_flag_spec_CXX='-L$libdir'
13018        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13019        allow_undefined_flag_CXX=unsupported
13020        always_export_symbols_CXX=no
13021        enable_shared_with_static_runtimes_CXX=yes
13022
13023        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13024          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'
13025          # If the export-symbols file already is a .def file (1st line
13026          # is EXPORTS), use it as is; otherwise, prepend...
13027          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13028	    cp $export_symbols $output_objdir/$soname.def;
13029          else
13030	    echo EXPORTS > $output_objdir/$soname.def;
13031	    cat $export_symbols >> $output_objdir/$soname.def;
13032          fi~
13033          $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'
13034        else
13035          ld_shlibs_CXX=no
13036        fi
13037        ;;
13038      darwin* | rhapsody*)
13039
13040
13041  archive_cmds_need_lc_CXX=no
13042  hardcode_direct_CXX=no
13043  hardcode_automatic_CXX=yes
13044  hardcode_shlibpath_var_CXX=unsupported
13045  if test "$lt_cv_ld_force_load" = "yes"; then
13046    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\"`'
13047  else
13048    whole_archive_flag_spec_CXX=''
13049  fi
13050  link_all_deplibs_CXX=yes
13051  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13052  case $cc_basename in
13053     ifort*) _lt_dar_can_shared=yes ;;
13054     *) _lt_dar_can_shared=$GCC ;;
13055  esac
13056  if test "$_lt_dar_can_shared" = "yes"; then
13057    output_verbose_link_cmd=func_echo_all
13058    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}"
13059    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13060    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}"
13061    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}"
13062       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13063      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}"
13064      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}"
13065    fi
13066
13067  else
13068  ld_shlibs_CXX=no
13069  fi
13070
13071	;;
13072
13073      dgux*)
13074        case $cc_basename in
13075          ec++*)
13076	    # FIXME: insert proper C++ library support
13077	    ld_shlibs_CXX=no
13078	    ;;
13079          ghcx*)
13080	    # Green Hills C++ Compiler
13081	    # FIXME: insert proper C++ library support
13082	    ld_shlibs_CXX=no
13083	    ;;
13084          *)
13085	    # FIXME: insert proper C++ library support
13086	    ld_shlibs_CXX=no
13087	    ;;
13088        esac
13089        ;;
13090
13091      freebsd2.*)
13092        # C++ shared libraries reported to be fairly broken before
13093	# switch to ELF
13094        ld_shlibs_CXX=no
13095        ;;
13096
13097      freebsd-elf*)
13098        archive_cmds_need_lc_CXX=no
13099        ;;
13100
13101      freebsd* | dragonfly*)
13102        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13103        # conventions
13104        ld_shlibs_CXX=yes
13105        ;;
13106
13107      gnu*)
13108        ;;
13109
13110      haiku*)
13111        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13112        link_all_deplibs_CXX=yes
13113        ;;
13114
13115      hpux9*)
13116        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13117        hardcode_libdir_separator_CXX=:
13118        export_dynamic_flag_spec_CXX='${wl}-E'
13119        hardcode_direct_CXX=yes
13120        hardcode_minus_L_CXX=yes # Not in the search PATH,
13121				             # but as the default
13122				             # location of the library.
13123
13124        case $cc_basename in
13125          CC*)
13126            # FIXME: insert proper C++ library support
13127            ld_shlibs_CXX=no
13128            ;;
13129          aCC*)
13130            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'
13131            # Commands to make compiler produce verbose output that lists
13132            # what "hidden" libraries, object files and flags are used when
13133            # linking a shared library.
13134            #
13135            # There doesn't appear to be a way to prevent this compiler from
13136            # explicitly linking system object files so we need to strip them
13137            # from the output so that they don't get included in the library
13138            # dependencies.
13139            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"'
13140            ;;
13141          *)
13142            if test "$GXX" = yes; then
13143              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'
13144            else
13145              # FIXME: insert proper C++ library support
13146              ld_shlibs_CXX=no
13147            fi
13148            ;;
13149        esac
13150        ;;
13151
13152      hpux10*|hpux11*)
13153        if test $with_gnu_ld = no; then
13154	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13155	  hardcode_libdir_separator_CXX=:
13156
13157          case $host_cpu in
13158            hppa*64*|ia64*)
13159              ;;
13160            *)
13161	      export_dynamic_flag_spec_CXX='${wl}-E'
13162              ;;
13163          esac
13164        fi
13165        case $host_cpu in
13166          hppa*64*|ia64*)
13167            hardcode_direct_CXX=no
13168            hardcode_shlibpath_var_CXX=no
13169            ;;
13170          *)
13171            hardcode_direct_CXX=yes
13172            hardcode_direct_absolute_CXX=yes
13173            hardcode_minus_L_CXX=yes # Not in the search PATH,
13174					         # but as the default
13175					         # location of the library.
13176            ;;
13177        esac
13178
13179        case $cc_basename in
13180          CC*)
13181	    # FIXME: insert proper C++ library support
13182	    ld_shlibs_CXX=no
13183	    ;;
13184          aCC*)
13185	    case $host_cpu in
13186	      hppa*64*)
13187	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13188	        ;;
13189	      ia64*)
13190	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13191	        ;;
13192	      *)
13193	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13194	        ;;
13195	    esac
13196	    # Commands to make compiler produce verbose output that lists
13197	    # what "hidden" libraries, object files and flags are used when
13198	    # linking a shared library.
13199	    #
13200	    # There doesn't appear to be a way to prevent this compiler from
13201	    # explicitly linking system object files so we need to strip them
13202	    # from the output so that they don't get included in the library
13203	    # dependencies.
13204	    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"'
13205	    ;;
13206          *)
13207	    if test "$GXX" = yes; then
13208	      if test $with_gnu_ld = no; then
13209	        case $host_cpu in
13210	          hppa*64*)
13211	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13212	            ;;
13213	          ia64*)
13214	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13215	            ;;
13216	          *)
13217	            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'
13218	            ;;
13219	        esac
13220	      fi
13221	    else
13222	      # FIXME: insert proper C++ library support
13223	      ld_shlibs_CXX=no
13224	    fi
13225	    ;;
13226        esac
13227        ;;
13228
13229      interix[3-9]*)
13230	hardcode_direct_CXX=no
13231	hardcode_shlibpath_var_CXX=no
13232	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13233	export_dynamic_flag_spec_CXX='${wl}-E'
13234	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13235	# Instead, shared libraries are loaded at an image base (0x10000000 by
13236	# default) and relocated if they conflict, which is a slow very memory
13237	# consuming and fragmenting process.  To avoid this, we pick a random,
13238	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13239	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13240	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'
13241	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'
13242	;;
13243      irix5* | irix6*)
13244        case $cc_basename in
13245          CC*)
13246	    # SGI C++
13247	    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'
13248
13249	    # Archives containing C++ object files must be created using
13250	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13251	    # necessary to make sure instantiated templates are included
13252	    # in the archive.
13253	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13254	    ;;
13255          *)
13256	    if test "$GXX" = yes; then
13257	      if test "$with_gnu_ld" = no; then
13258	        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'
13259	      else
13260	        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'
13261	      fi
13262	    fi
13263	    link_all_deplibs_CXX=yes
13264	    ;;
13265        esac
13266        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13267        hardcode_libdir_separator_CXX=:
13268        inherit_rpath_CXX=yes
13269        ;;
13270
13271      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13272        case $cc_basename in
13273          KCC*)
13274	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13275
13276	    # KCC will only create a shared library if the output file
13277	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13278	    # to its proper name (with version) after linking.
13279	    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'
13280	    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'
13281	    # Commands to make compiler produce verbose output that lists
13282	    # what "hidden" libraries, object files and flags are used when
13283	    # linking a shared library.
13284	    #
13285	    # There doesn't appear to be a way to prevent this compiler from
13286	    # explicitly linking system object files so we need to strip them
13287	    # from the output so that they don't get included in the library
13288	    # dependencies.
13289	    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"'
13290
13291	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13292	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13293
13294	    # Archives containing C++ object files must be created using
13295	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13296	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13297	    ;;
13298	  icpc* | ecpc* )
13299	    # Intel C++
13300	    with_gnu_ld=yes
13301	    # version 8.0 and above of icpc choke on multiply defined symbols
13302	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13303	    # earlier do not add the objects themselves.
13304	    case `$CC -V 2>&1` in
13305	      *"Version 7."*)
13306	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13307		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'
13308		;;
13309	      *)  # Version 8.0 or newer
13310	        tmp_idyn=
13311	        case $host_cpu in
13312		  ia64*) tmp_idyn=' -i_dynamic';;
13313		esac
13314	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13315		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'
13316		;;
13317	    esac
13318	    archive_cmds_need_lc_CXX=no
13319	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13320	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13321	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13322	    ;;
13323          pgCC* | pgcpp*)
13324            # Portland Group C++ compiler
13325	    case `$CC -V` in
13326	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13327	      prelink_cmds_CXX='tpldir=Template.dir~
13328		rm -rf $tpldir~
13329		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13330		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13331	      old_archive_cmds_CXX='tpldir=Template.dir~
13332		rm -rf $tpldir~
13333		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13334		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13335		$RANLIB $oldlib'
13336	      archive_cmds_CXX='tpldir=Template.dir~
13337		rm -rf $tpldir~
13338		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13339		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13340	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13341		rm -rf $tpldir~
13342		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13343		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13344	      ;;
13345	    *) # Version 6 and above use weak symbols
13346	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13347	      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'
13348	      ;;
13349	    esac
13350
13351	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13352	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13353	    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'
13354            ;;
13355	  cxx*)
13356	    # Compaq C++
13357	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13358	    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'
13359
13360	    runpath_var=LD_RUN_PATH
13361	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13362	    hardcode_libdir_separator_CXX=:
13363
13364	    # Commands to make compiler produce verbose output that lists
13365	    # what "hidden" libraries, object files and flags are used when
13366	    # linking a shared library.
13367	    #
13368	    # There doesn't appear to be a way to prevent this compiler from
13369	    # explicitly linking system object files so we need to strip them
13370	    # from the output so that they don't get included in the library
13371	    # dependencies.
13372	    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'
13373	    ;;
13374	  xl* | mpixl* | bgxl*)
13375	    # IBM XL 8.0 on PPC, with GNU ld
13376	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13377	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13378	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13379	    if test "x$supports_anon_versioning" = xyes; then
13380	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13381		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13382		echo "local: *; };" >> $output_objdir/$libname.ver~
13383		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13384	    fi
13385	    ;;
13386	  *)
13387	    case `$CC -V 2>&1 | sed 5q` in
13388	    *Sun\ C*)
13389	      # Sun C++ 5.9
13390	      no_undefined_flag_CXX=' -zdefs'
13391	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13392	      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'
13393	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13394	      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'
13395	      compiler_needs_object_CXX=yes
13396
13397	      # Not sure whether something based on
13398	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13399	      # would be better.
13400	      output_verbose_link_cmd='func_echo_all'
13401
13402	      # Archives containing C++ object files must be created using
13403	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13404	      # necessary to make sure instantiated templates are included
13405	      # in the archive.
13406	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13407	      ;;
13408	    esac
13409	    ;;
13410	esac
13411	;;
13412
13413      lynxos*)
13414        # FIXME: insert proper C++ library support
13415	ld_shlibs_CXX=no
13416	;;
13417
13418      m88k*)
13419        # FIXME: insert proper C++ library support
13420        ld_shlibs_CXX=no
13421	;;
13422
13423      mvs*)
13424        case $cc_basename in
13425          cxx*)
13426	    # FIXME: insert proper C++ library support
13427	    ld_shlibs_CXX=no
13428	    ;;
13429	  *)
13430	    # FIXME: insert proper C++ library support
13431	    ld_shlibs_CXX=no
13432	    ;;
13433	esac
13434	;;
13435
13436      netbsd*)
13437        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13438	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13439	  wlarc=
13440	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13441	  hardcode_direct_CXX=yes
13442	  hardcode_shlibpath_var_CXX=no
13443	fi
13444	# Workaround some broken pre-1.5 toolchains
13445	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13446	;;
13447
13448      *nto* | *qnx*)
13449        ld_shlibs_CXX=yes
13450	;;
13451
13452      openbsd2*)
13453        # C++ shared libraries are fairly broken
13454	ld_shlibs_CXX=no
13455	;;
13456
13457      openbsd*)
13458	if test -f /usr/libexec/ld.so; then
13459	  hardcode_direct_CXX=yes
13460	  hardcode_shlibpath_var_CXX=no
13461	  hardcode_direct_absolute_CXX=yes
13462	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13463	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13464	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13465	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13466	    export_dynamic_flag_spec_CXX='${wl}-E'
13467	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13468	  fi
13469	  output_verbose_link_cmd=func_echo_all
13470	else
13471	  ld_shlibs_CXX=no
13472	fi
13473	;;
13474
13475      osf3* | osf4* | osf5*)
13476        case $cc_basename in
13477          KCC*)
13478	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13479
13480	    # KCC will only create a shared library if the output file
13481	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13482	    # to its proper name (with version) after linking.
13483	    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'
13484
13485	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13486	    hardcode_libdir_separator_CXX=:
13487
13488	    # Archives containing C++ object files must be created using
13489	    # the KAI C++ compiler.
13490	    case $host in
13491	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13492	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13493	    esac
13494	    ;;
13495          RCC*)
13496	    # Rational C++ 2.4.1
13497	    # FIXME: insert proper C++ library support
13498	    ld_shlibs_CXX=no
13499	    ;;
13500          cxx*)
13501	    case $host in
13502	      osf3*)
13503	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13504	        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'
13505	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13506		;;
13507	      *)
13508	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13509	        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'
13510	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13511	          echo "-hidden">> $lib.exp~
13512	          $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~
13513	          $RM $lib.exp'
13514	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13515		;;
13516	    esac
13517
13518	    hardcode_libdir_separator_CXX=:
13519
13520	    # Commands to make compiler produce verbose output that lists
13521	    # what "hidden" libraries, object files and flags are used when
13522	    # linking a shared library.
13523	    #
13524	    # There doesn't appear to be a way to prevent this compiler from
13525	    # explicitly linking system object files so we need to strip them
13526	    # from the output so that they don't get included in the library
13527	    # dependencies.
13528	    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"'
13529	    ;;
13530	  *)
13531	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13532	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13533	      case $host in
13534	        osf3*)
13535	          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'
13536		  ;;
13537	        *)
13538	          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'
13539		  ;;
13540	      esac
13541
13542	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13543	      hardcode_libdir_separator_CXX=:
13544
13545	      # Commands to make compiler produce verbose output that lists
13546	      # what "hidden" libraries, object files and flags are used when
13547	      # linking a shared library.
13548	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13549
13550	    else
13551	      # FIXME: insert proper C++ library support
13552	      ld_shlibs_CXX=no
13553	    fi
13554	    ;;
13555        esac
13556        ;;
13557
13558      psos*)
13559        # FIXME: insert proper C++ library support
13560        ld_shlibs_CXX=no
13561        ;;
13562
13563      sunos4*)
13564        case $cc_basename in
13565          CC*)
13566	    # Sun C++ 4.x
13567	    # FIXME: insert proper C++ library support
13568	    ld_shlibs_CXX=no
13569	    ;;
13570          lcc*)
13571	    # Lucid
13572	    # FIXME: insert proper C++ library support
13573	    ld_shlibs_CXX=no
13574	    ;;
13575          *)
13576	    # FIXME: insert proper C++ library support
13577	    ld_shlibs_CXX=no
13578	    ;;
13579        esac
13580        ;;
13581
13582      solaris*)
13583        case $cc_basename in
13584          CC*)
13585	    # Sun C++ 4.2, 5.x and Centerline C++
13586            archive_cmds_need_lc_CXX=yes
13587	    no_undefined_flag_CXX=' -zdefs'
13588	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13589	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13590	      $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'
13591
13592	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13593	    hardcode_shlibpath_var_CXX=no
13594	    case $host_os in
13595	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13596	      *)
13597		# The compiler driver will combine and reorder linker options,
13598		# but understands `-z linker_flag'.
13599	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13600		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13601	        ;;
13602	    esac
13603	    link_all_deplibs_CXX=yes
13604
13605	    output_verbose_link_cmd='func_echo_all'
13606
13607	    # Archives containing C++ object files must be created using
13608	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13609	    # necessary to make sure instantiated templates are included
13610	    # in the archive.
13611	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13612	    ;;
13613          gcx*)
13614	    # Green Hills C++ Compiler
13615	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13616
13617	    # The C++ compiler must be used to create the archive.
13618	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13619	    ;;
13620          *)
13621	    # GNU C++ compiler with Solaris linker
13622	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13623	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13624	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13625	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13626	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13627		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13628
13629	        # Commands to make compiler produce verbose output that lists
13630	        # what "hidden" libraries, object files and flags are used when
13631	        # linking a shared library.
13632	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13633	      else
13634	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13635	        # platform.
13636	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13637	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13638		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13639
13640	        # Commands to make compiler produce verbose output that lists
13641	        # what "hidden" libraries, object files and flags are used when
13642	        # linking a shared library.
13643	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13644	      fi
13645
13646	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13647	      case $host_os in
13648		solaris2.[0-5] | solaris2.[0-5].*) ;;
13649		*)
13650		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13651		  ;;
13652	      esac
13653	    fi
13654	    ;;
13655        esac
13656        ;;
13657
13658    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13659      no_undefined_flag_CXX='${wl}-z,text'
13660      archive_cmds_need_lc_CXX=no
13661      hardcode_shlibpath_var_CXX=no
13662      runpath_var='LD_RUN_PATH'
13663
13664      case $cc_basename in
13665        CC*)
13666	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13667	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13668	  ;;
13669	*)
13670	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13671	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13672	  ;;
13673      esac
13674      ;;
13675
13676      sysv5* | sco3.2v5* | sco5v6*)
13677	# Note: We can NOT use -z defs as we might desire, because we do not
13678	# link with -lc, and that would cause any symbols used from libc to
13679	# always be unresolved, which means just about no library would
13680	# ever link correctly.  If we're not using GNU ld we use -z text
13681	# though, which does catch some bad symbols but isn't as heavy-handed
13682	# as -z defs.
13683	no_undefined_flag_CXX='${wl}-z,text'
13684	allow_undefined_flag_CXX='${wl}-z,nodefs'
13685	archive_cmds_need_lc_CXX=no
13686	hardcode_shlibpath_var_CXX=no
13687	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13688	hardcode_libdir_separator_CXX=':'
13689	link_all_deplibs_CXX=yes
13690	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13691	runpath_var='LD_RUN_PATH'
13692
13693	case $cc_basename in
13694          CC*)
13695	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13696	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13697	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13698	      '"$old_archive_cmds_CXX"
13699	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13700	      '"$reload_cmds_CXX"
13701	    ;;
13702	  *)
13703	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13704	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13705	    ;;
13706	esac
13707      ;;
13708
13709      tandem*)
13710        case $cc_basename in
13711          NCC*)
13712	    # NonStop-UX NCC 3.20
13713	    # FIXME: insert proper C++ library support
13714	    ld_shlibs_CXX=no
13715	    ;;
13716          *)
13717	    # FIXME: insert proper C++ library support
13718	    ld_shlibs_CXX=no
13719	    ;;
13720        esac
13721        ;;
13722
13723      vxworks*)
13724        # FIXME: insert proper C++ library support
13725        ld_shlibs_CXX=no
13726        ;;
13727
13728      *)
13729        # FIXME: insert proper C++ library support
13730        ld_shlibs_CXX=no
13731        ;;
13732    esac
13733
13734    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13735$as_echo "$ld_shlibs_CXX" >&6; }
13736    test "$ld_shlibs_CXX" = no && can_build_shared=no
13737
13738    GCC_CXX="$GXX"
13739    LD_CXX="$LD"
13740
13741    ## CAVEAT EMPTOR:
13742    ## There is no encapsulation within the following macros, do not change
13743    ## the running order or otherwise move them around unless you know exactly
13744    ## what you are doing...
13745    # Dependencies to place before and after the object being linked:
13746predep_objects_CXX=
13747postdep_objects_CXX=
13748predeps_CXX=
13749postdeps_CXX=
13750compiler_lib_search_path_CXX=
13751
13752cat > conftest.$ac_ext <<_LT_EOF
13753class Foo
13754{
13755public:
13756  Foo (void) { a = 0; }
13757private:
13758  int a;
13759};
13760_LT_EOF
13761
13762if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13763  (eval $ac_compile) 2>&5
13764  ac_status=$?
13765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13766  test $ac_status = 0; }; then
13767  # Parse the compiler output and extract the necessary
13768  # objects, libraries and library flags.
13769
13770  # Sentinel used to keep track of whether or not we are before
13771  # the conftest object file.
13772  pre_test_object_deps_done=no
13773
13774  for p in `eval "$output_verbose_link_cmd"`; do
13775    case $p in
13776
13777    -L* | -R* | -l*)
13778       # Some compilers place space between "-{L,R}" and the path.
13779       # Remove the space.
13780       if test $p = "-L" ||
13781          test $p = "-R"; then
13782	 prev=$p
13783	 continue
13784       else
13785	 prev=
13786       fi
13787
13788       if test "$pre_test_object_deps_done" = no; then
13789	 case $p in
13790	 -L* | -R*)
13791	   # Internal compiler library paths should come after those
13792	   # provided the user.  The postdeps already come after the
13793	   # user supplied libs so there is no need to process them.
13794	   if test -z "$compiler_lib_search_path_CXX"; then
13795	     compiler_lib_search_path_CXX="${prev}${p}"
13796	   else
13797	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13798	   fi
13799	   ;;
13800	 # The "-l" case would never come before the object being
13801	 # linked, so don't bother handling this case.
13802	 esac
13803       else
13804	 if test -z "$postdeps_CXX"; then
13805	   postdeps_CXX="${prev}${p}"
13806	 else
13807	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13808	 fi
13809       fi
13810       ;;
13811
13812    *.$objext)
13813       # This assumes that the test object file only shows up
13814       # once in the compiler output.
13815       if test "$p" = "conftest.$objext"; then
13816	 pre_test_object_deps_done=yes
13817	 continue
13818       fi
13819
13820       if test "$pre_test_object_deps_done" = no; then
13821	 if test -z "$predep_objects_CXX"; then
13822	   predep_objects_CXX="$p"
13823	 else
13824	   predep_objects_CXX="$predep_objects_CXX $p"
13825	 fi
13826       else
13827	 if test -z "$postdep_objects_CXX"; then
13828	   postdep_objects_CXX="$p"
13829	 else
13830	   postdep_objects_CXX="$postdep_objects_CXX $p"
13831	 fi
13832       fi
13833       ;;
13834
13835    *) ;; # Ignore the rest.
13836
13837    esac
13838  done
13839
13840  # Clean up.
13841  rm -f a.out a.exe
13842else
13843  echo "libtool.m4: error: problem compiling CXX test program"
13844fi
13845
13846$RM -f confest.$objext
13847
13848# PORTME: override above test on systems where it is broken
13849case $host_os in
13850interix[3-9]*)
13851  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13852  # hack all around it, let's just trust "g++" to DTRT.
13853  predep_objects_CXX=
13854  postdep_objects_CXX=
13855  postdeps_CXX=
13856  ;;
13857
13858linux*)
13859  case `$CC -V 2>&1 | sed 5q` in
13860  *Sun\ C*)
13861    # Sun C++ 5.9
13862
13863    # The more standards-conforming stlport4 library is
13864    # incompatible with the Cstd library. Avoid specifying
13865    # it if it's in CXXFLAGS. Ignore libCrun as
13866    # -library=stlport4 depends on it.
13867    case " $CXX $CXXFLAGS " in
13868    *" -library=stlport4 "*)
13869      solaris_use_stlport4=yes
13870      ;;
13871    esac
13872
13873    if test "$solaris_use_stlport4" != yes; then
13874      postdeps_CXX='-library=Cstd -library=Crun'
13875    fi
13876    ;;
13877  esac
13878  ;;
13879
13880solaris*)
13881  case $cc_basename in
13882  CC*)
13883    # The more standards-conforming stlport4 library is
13884    # incompatible with the Cstd library. Avoid specifying
13885    # it if it's in CXXFLAGS. Ignore libCrun as
13886    # -library=stlport4 depends on it.
13887    case " $CXX $CXXFLAGS " in
13888    *" -library=stlport4 "*)
13889      solaris_use_stlport4=yes
13890      ;;
13891    esac
13892
13893    # Adding this requires a known-good setup of shared libraries for
13894    # Sun compiler versions before 5.6, else PIC objects from an old
13895    # archive will be linked into the output, leading to subtle bugs.
13896    if test "$solaris_use_stlport4" != yes; then
13897      postdeps_CXX='-library=Cstd -library=Crun'
13898    fi
13899    ;;
13900  esac
13901  ;;
13902esac
13903
13904
13905case " $postdeps_CXX " in
13906*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13907esac
13908 compiler_lib_search_dirs_CXX=
13909if test -n "${compiler_lib_search_path_CXX}"; then
13910 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13911fi
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943    lt_prog_compiler_wl_CXX=
13944lt_prog_compiler_pic_CXX=
13945lt_prog_compiler_static_CXX=
13946
13947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13948$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13949
13950  # C++ specific cases for pic, static, wl, etc.
13951  if test "$GXX" = yes; then
13952    lt_prog_compiler_wl_CXX='-Wl,'
13953    lt_prog_compiler_static_CXX='-static'
13954
13955    case $host_os in
13956    aix*)
13957      # All AIX code is PIC.
13958      if test "$host_cpu" = ia64; then
13959	# AIX 5 now supports IA64 processor
13960	lt_prog_compiler_static_CXX='-Bstatic'
13961      fi
13962      lt_prog_compiler_pic_CXX='-fPIC'
13963      ;;
13964
13965    amigaos*)
13966      case $host_cpu in
13967      powerpc)
13968            # see comment about AmigaOS4 .so support
13969            lt_prog_compiler_pic_CXX='-fPIC'
13970        ;;
13971      m68k)
13972            # FIXME: we need at least 68020 code to build shared libraries, but
13973            # adding the `-m68020' flag to GCC prevents building anything better,
13974            # like `-m68040'.
13975            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13976        ;;
13977      esac
13978      ;;
13979
13980    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13981      # PIC is the default for these OSes.
13982      ;;
13983    mingw* | cygwin* | os2* | pw32* | cegcc*)
13984      # This hack is so that the source file can tell whether it is being
13985      # built for inclusion in a dll (and should export symbols for example).
13986      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13987      # (--disable-auto-import) libraries
13988      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13989      ;;
13990    darwin* | rhapsody*)
13991      # PIC is the default on this platform
13992      # Common symbols not allowed in MH_DYLIB files
13993      lt_prog_compiler_pic_CXX='-fno-common'
13994      ;;
13995    *djgpp*)
13996      # DJGPP does not support shared libraries at all
13997      lt_prog_compiler_pic_CXX=
13998      ;;
13999    haiku*)
14000      # PIC is the default for Haiku.
14001      # The "-static" flag exists, but is broken.
14002      lt_prog_compiler_static_CXX=
14003      ;;
14004    interix[3-9]*)
14005      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14006      # Instead, we relocate shared libraries at runtime.
14007      ;;
14008    sysv4*MP*)
14009      if test -d /usr/nec; then
14010	lt_prog_compiler_pic_CXX=-Kconform_pic
14011      fi
14012      ;;
14013    hpux*)
14014      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14015      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14016      # sets the default TLS model and affects inlining.
14017      case $host_cpu in
14018      hppa*64*)
14019	;;
14020      *)
14021	lt_prog_compiler_pic_CXX='-fPIC'
14022	;;
14023      esac
14024      ;;
14025    *qnx* | *nto*)
14026      # QNX uses GNU C++, but need to define -shared option too, otherwise
14027      # it will coredump.
14028      lt_prog_compiler_pic_CXX='-fPIC -shared'
14029      ;;
14030    *)
14031      lt_prog_compiler_pic_CXX='-fPIC'
14032      ;;
14033    esac
14034  else
14035    case $host_os in
14036      aix[4-9]*)
14037	# All AIX code is PIC.
14038	if test "$host_cpu" = ia64; then
14039	  # AIX 5 now supports IA64 processor
14040	  lt_prog_compiler_static_CXX='-Bstatic'
14041	else
14042	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14043	fi
14044	;;
14045      chorus*)
14046	case $cc_basename in
14047	cxch68*)
14048	  # Green Hills C++ Compiler
14049	  # _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"
14050	  ;;
14051	esac
14052	;;
14053      dgux*)
14054	case $cc_basename in
14055	  ec++*)
14056	    lt_prog_compiler_pic_CXX='-KPIC'
14057	    ;;
14058	  ghcx*)
14059	    # Green Hills C++ Compiler
14060	    lt_prog_compiler_pic_CXX='-pic'
14061	    ;;
14062	  *)
14063	    ;;
14064	esac
14065	;;
14066      freebsd* | dragonfly*)
14067	# FreeBSD uses GNU C++
14068	;;
14069      hpux9* | hpux10* | hpux11*)
14070	case $cc_basename in
14071	  CC*)
14072	    lt_prog_compiler_wl_CXX='-Wl,'
14073	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14074	    if test "$host_cpu" != ia64; then
14075	      lt_prog_compiler_pic_CXX='+Z'
14076	    fi
14077	    ;;
14078	  aCC*)
14079	    lt_prog_compiler_wl_CXX='-Wl,'
14080	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14081	    case $host_cpu in
14082	    hppa*64*|ia64*)
14083	      # +Z the default
14084	      ;;
14085	    *)
14086	      lt_prog_compiler_pic_CXX='+Z'
14087	      ;;
14088	    esac
14089	    ;;
14090	  *)
14091	    ;;
14092	esac
14093	;;
14094      interix*)
14095	# This is c89, which is MS Visual C++ (no shared libs)
14096	# Anyone wants to do a port?
14097	;;
14098      irix5* | irix6* | nonstopux*)
14099	case $cc_basename in
14100	  CC*)
14101	    lt_prog_compiler_wl_CXX='-Wl,'
14102	    lt_prog_compiler_static_CXX='-non_shared'
14103	    # CC pic flag -KPIC is the default.
14104	    ;;
14105	  *)
14106	    ;;
14107	esac
14108	;;
14109      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14110	case $cc_basename in
14111	  KCC*)
14112	    # KAI C++ Compiler
14113	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14114	    lt_prog_compiler_pic_CXX='-fPIC'
14115	    ;;
14116	  ecpc* )
14117	    # old Intel C++ for x86_64 which still supported -KPIC.
14118	    lt_prog_compiler_wl_CXX='-Wl,'
14119	    lt_prog_compiler_pic_CXX='-KPIC'
14120	    lt_prog_compiler_static_CXX='-static'
14121	    ;;
14122	  icpc* )
14123	    # Intel C++, used to be incompatible with GCC.
14124	    # ICC 10 doesn't accept -KPIC any more.
14125	    lt_prog_compiler_wl_CXX='-Wl,'
14126	    lt_prog_compiler_pic_CXX='-fPIC'
14127	    lt_prog_compiler_static_CXX='-static'
14128	    ;;
14129	  pgCC* | pgcpp*)
14130	    # Portland Group C++ compiler
14131	    lt_prog_compiler_wl_CXX='-Wl,'
14132	    lt_prog_compiler_pic_CXX='-fpic'
14133	    lt_prog_compiler_static_CXX='-Bstatic'
14134	    ;;
14135	  cxx*)
14136	    # Compaq C++
14137	    # Make sure the PIC flag is empty.  It appears that all Alpha
14138	    # Linux and Compaq Tru64 Unix objects are PIC.
14139	    lt_prog_compiler_pic_CXX=
14140	    lt_prog_compiler_static_CXX='-non_shared'
14141	    ;;
14142	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14143	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14144	    lt_prog_compiler_wl_CXX='-Wl,'
14145	    lt_prog_compiler_pic_CXX='-qpic'
14146	    lt_prog_compiler_static_CXX='-qstaticlink'
14147	    ;;
14148	  *)
14149	    case `$CC -V 2>&1 | sed 5q` in
14150	    *Sun\ C*)
14151	      # Sun C++ 5.9
14152	      lt_prog_compiler_pic_CXX='-KPIC'
14153	      lt_prog_compiler_static_CXX='-Bstatic'
14154	      lt_prog_compiler_wl_CXX='-Qoption ld '
14155	      ;;
14156	    esac
14157	    ;;
14158	esac
14159	;;
14160      lynxos*)
14161	;;
14162      m88k*)
14163	;;
14164      mvs*)
14165	case $cc_basename in
14166	  cxx*)
14167	    lt_prog_compiler_pic_CXX='-W c,exportall'
14168	    ;;
14169	  *)
14170	    ;;
14171	esac
14172	;;
14173      netbsd*)
14174	;;
14175      *qnx* | *nto*)
14176        # QNX uses GNU C++, but need to define -shared option too, otherwise
14177        # it will coredump.
14178        lt_prog_compiler_pic_CXX='-fPIC -shared'
14179        ;;
14180      osf3* | osf4* | osf5*)
14181	case $cc_basename in
14182	  KCC*)
14183	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14184	    ;;
14185	  RCC*)
14186	    # Rational C++ 2.4.1
14187	    lt_prog_compiler_pic_CXX='-pic'
14188	    ;;
14189	  cxx*)
14190	    # Digital/Compaq C++
14191	    lt_prog_compiler_wl_CXX='-Wl,'
14192	    # Make sure the PIC flag is empty.  It appears that all Alpha
14193	    # Linux and Compaq Tru64 Unix objects are PIC.
14194	    lt_prog_compiler_pic_CXX=
14195	    lt_prog_compiler_static_CXX='-non_shared'
14196	    ;;
14197	  *)
14198	    ;;
14199	esac
14200	;;
14201      psos*)
14202	;;
14203      solaris*)
14204	case $cc_basename in
14205	  CC*)
14206	    # Sun C++ 4.2, 5.x and Centerline C++
14207	    lt_prog_compiler_pic_CXX='-KPIC'
14208	    lt_prog_compiler_static_CXX='-Bstatic'
14209	    lt_prog_compiler_wl_CXX='-Qoption ld '
14210	    ;;
14211	  gcx*)
14212	    # Green Hills C++ Compiler
14213	    lt_prog_compiler_pic_CXX='-PIC'
14214	    ;;
14215	  *)
14216	    ;;
14217	esac
14218	;;
14219      sunos4*)
14220	case $cc_basename in
14221	  CC*)
14222	    # Sun C++ 4.x
14223	    lt_prog_compiler_pic_CXX='-pic'
14224	    lt_prog_compiler_static_CXX='-Bstatic'
14225	    ;;
14226	  lcc*)
14227	    # Lucid
14228	    lt_prog_compiler_pic_CXX='-pic'
14229	    ;;
14230	  *)
14231	    ;;
14232	esac
14233	;;
14234      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14235	case $cc_basename in
14236	  CC*)
14237	    lt_prog_compiler_wl_CXX='-Wl,'
14238	    lt_prog_compiler_pic_CXX='-KPIC'
14239	    lt_prog_compiler_static_CXX='-Bstatic'
14240	    ;;
14241	esac
14242	;;
14243      tandem*)
14244	case $cc_basename in
14245	  NCC*)
14246	    # NonStop-UX NCC 3.20
14247	    lt_prog_compiler_pic_CXX='-KPIC'
14248	    ;;
14249	  *)
14250	    ;;
14251	esac
14252	;;
14253      vxworks*)
14254	;;
14255      *)
14256	lt_prog_compiler_can_build_shared_CXX=no
14257	;;
14258    esac
14259  fi
14260
14261case $host_os in
14262  # For platforms which do not support PIC, -DPIC is meaningless:
14263  *djgpp*)
14264    lt_prog_compiler_pic_CXX=
14265    ;;
14266  *)
14267    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14268    ;;
14269esac
14270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14271$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14272
14273
14274
14275#
14276# Check to make sure the PIC flag actually works.
14277#
14278if test -n "$lt_prog_compiler_pic_CXX"; then
14279  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14280$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14281if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14282  $as_echo_n "(cached) " >&6
14283else
14284  lt_cv_prog_compiler_pic_works_CXX=no
14285   ac_outfile=conftest.$ac_objext
14286   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14287   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14288   # Insert the option either (1) after the last *FLAGS variable, or
14289   # (2) before a word containing "conftest.", or (3) at the end.
14290   # Note that $ac_compile itself does not contain backslashes and begins
14291   # with a dollar sign (not a hyphen), so the echo should work correctly.
14292   # The option is referenced via a variable to avoid confusing sed.
14293   lt_compile=`echo "$ac_compile" | $SED \
14294   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14295   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14296   -e 's:$: $lt_compiler_flag:'`
14297   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14298   (eval "$lt_compile" 2>conftest.err)
14299   ac_status=$?
14300   cat conftest.err >&5
14301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302   if (exit $ac_status) && test -s "$ac_outfile"; then
14303     # The compiler can only warn and ignore the option if not recognized
14304     # So say no if there are warnings other than the usual output.
14305     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14306     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14307     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14308       lt_cv_prog_compiler_pic_works_CXX=yes
14309     fi
14310   fi
14311   $RM conftest*
14312
14313fi
14314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14315$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14316
14317if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14318    case $lt_prog_compiler_pic_CXX in
14319     "" | " "*) ;;
14320     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14321     esac
14322else
14323    lt_prog_compiler_pic_CXX=
14324     lt_prog_compiler_can_build_shared_CXX=no
14325fi
14326
14327fi
14328
14329
14330
14331#
14332# Check to make sure the static flag actually works.
14333#
14334wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14336$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14337if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14338  $as_echo_n "(cached) " >&6
14339else
14340  lt_cv_prog_compiler_static_works_CXX=no
14341   save_LDFLAGS="$LDFLAGS"
14342   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14343   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14344   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14345     # The linker can only warn and ignore the option if not recognized
14346     # So say no if there are warnings
14347     if test -s conftest.err; then
14348       # Append any errors to the config.log.
14349       cat conftest.err 1>&5
14350       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14351       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14352       if diff conftest.exp conftest.er2 >/dev/null; then
14353         lt_cv_prog_compiler_static_works_CXX=yes
14354       fi
14355     else
14356       lt_cv_prog_compiler_static_works_CXX=yes
14357     fi
14358   fi
14359   $RM -r conftest*
14360   LDFLAGS="$save_LDFLAGS"
14361
14362fi
14363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14364$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14365
14366if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14367    :
14368else
14369    lt_prog_compiler_static_CXX=
14370fi
14371
14372
14373
14374
14375    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14376$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14377if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14378  $as_echo_n "(cached) " >&6
14379else
14380  lt_cv_prog_compiler_c_o_CXX=no
14381   $RM -r conftest 2>/dev/null
14382   mkdir conftest
14383   cd conftest
14384   mkdir out
14385   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14386
14387   lt_compiler_flag="-o out/conftest2.$ac_objext"
14388   # Insert the option either (1) after the last *FLAGS variable, or
14389   # (2) before a word containing "conftest.", or (3) at the end.
14390   # Note that $ac_compile itself does not contain backslashes and begins
14391   # with a dollar sign (not a hyphen), so the echo should work correctly.
14392   lt_compile=`echo "$ac_compile" | $SED \
14393   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14394   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14395   -e 's:$: $lt_compiler_flag:'`
14396   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14397   (eval "$lt_compile" 2>out/conftest.err)
14398   ac_status=$?
14399   cat out/conftest.err >&5
14400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14402   then
14403     # The compiler can only warn and ignore the option if not recognized
14404     # So say no if there are warnings
14405     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14406     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14407     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14408       lt_cv_prog_compiler_c_o_CXX=yes
14409     fi
14410   fi
14411   chmod u+w . 2>&5
14412   $RM conftest*
14413   # SGI C++ compiler will create directory out/ii_files/ for
14414   # template instantiation
14415   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14416   $RM out/* && rmdir out
14417   cd ..
14418   $RM -r conftest
14419   $RM conftest*
14420
14421fi
14422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14423$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14424
14425
14426
14427    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14428$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14429if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14430  $as_echo_n "(cached) " >&6
14431else
14432  lt_cv_prog_compiler_c_o_CXX=no
14433   $RM -r conftest 2>/dev/null
14434   mkdir conftest
14435   cd conftest
14436   mkdir out
14437   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14438
14439   lt_compiler_flag="-o out/conftest2.$ac_objext"
14440   # Insert the option either (1) after the last *FLAGS variable, or
14441   # (2) before a word containing "conftest.", or (3) at the end.
14442   # Note that $ac_compile itself does not contain backslashes and begins
14443   # with a dollar sign (not a hyphen), so the echo should work correctly.
14444   lt_compile=`echo "$ac_compile" | $SED \
14445   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14446   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14447   -e 's:$: $lt_compiler_flag:'`
14448   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14449   (eval "$lt_compile" 2>out/conftest.err)
14450   ac_status=$?
14451   cat out/conftest.err >&5
14452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14454   then
14455     # The compiler can only warn and ignore the option if not recognized
14456     # So say no if there are warnings
14457     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14458     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14459     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14460       lt_cv_prog_compiler_c_o_CXX=yes
14461     fi
14462   fi
14463   chmod u+w . 2>&5
14464   $RM conftest*
14465   # SGI C++ compiler will create directory out/ii_files/ for
14466   # template instantiation
14467   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14468   $RM out/* && rmdir out
14469   cd ..
14470   $RM -r conftest
14471   $RM conftest*
14472
14473fi
14474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14475$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14476
14477
14478
14479
14480hard_links="nottested"
14481if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14482  # do not overwrite the value of need_locks provided by the user
14483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14484$as_echo_n "checking if we can lock with hard links... " >&6; }
14485  hard_links=yes
14486  $RM conftest*
14487  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14488  touch conftest.a
14489  ln conftest.a conftest.b 2>&5 || hard_links=no
14490  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14492$as_echo "$hard_links" >&6; }
14493  if test "$hard_links" = no; then
14494    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14495$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14496    need_locks=warn
14497  fi
14498else
14499  need_locks=no
14500fi
14501
14502
14503
14504    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14505$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14506
14507  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14508  case $host_os in
14509  aix[4-9]*)
14510    # If we're using GNU nm, then we don't want the "-C" option.
14511    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14512    # Also, AIX nm treats weak defined symbols like other global defined
14513    # symbols, whereas GNU nm marks them as "W".
14514    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14515      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'
14516    else
14517      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'
14518    fi
14519    ;;
14520  pw32*)
14521    export_symbols_cmds_CXX="$ltdll_cmds"
14522  ;;
14523  cygwin* | mingw* | cegcc*)
14524    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'
14525  ;;
14526  *)
14527    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14528  ;;
14529  esac
14530  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14531
14532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14533$as_echo "$ld_shlibs_CXX" >&6; }
14534test "$ld_shlibs_CXX" = no && can_build_shared=no
14535
14536with_gnu_ld_CXX=$with_gnu_ld
14537
14538
14539
14540
14541
14542
14543#
14544# Do we need to explicitly link libc?
14545#
14546case "x$archive_cmds_need_lc_CXX" in
14547x|xyes)
14548  # Assume -lc should be added
14549  archive_cmds_need_lc_CXX=yes
14550
14551  if test "$enable_shared" = yes && test "$GCC" = yes; then
14552    case $archive_cmds_CXX in
14553    *'~'*)
14554      # FIXME: we may have to deal with multi-command sequences.
14555      ;;
14556    '$CC '*)
14557      # Test whether the compiler implicitly links with -lc since on some
14558      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14559      # to ld, don't add -lc before -lgcc.
14560      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14561$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14562if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14563  $as_echo_n "(cached) " >&6
14564else
14565  $RM conftest*
14566	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14567
14568	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14569  (eval $ac_compile) 2>&5
14570  ac_status=$?
14571  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14572  test $ac_status = 0; } 2>conftest.err; then
14573	  soname=conftest
14574	  lib=conftest
14575	  libobjs=conftest.$ac_objext
14576	  deplibs=
14577	  wl=$lt_prog_compiler_wl_CXX
14578	  pic_flag=$lt_prog_compiler_pic_CXX
14579	  compiler_flags=-v
14580	  linker_flags=-v
14581	  verstring=
14582	  output_objdir=.
14583	  libname=conftest
14584	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14585	  allow_undefined_flag_CXX=
14586	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14587  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14588  ac_status=$?
14589  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14590  test $ac_status = 0; }
14591	  then
14592	    lt_cv_archive_cmds_need_lc_CXX=no
14593	  else
14594	    lt_cv_archive_cmds_need_lc_CXX=yes
14595	  fi
14596	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14597	else
14598	  cat conftest.err 1>&5
14599	fi
14600	$RM conftest*
14601
14602fi
14603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14604$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14605      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14606      ;;
14607    esac
14608  fi
14609  ;;
14610esac
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14676$as_echo_n "checking dynamic linker characteristics... " >&6; }
14677
14678library_names_spec=
14679libname_spec='lib$name'
14680soname_spec=
14681shrext_cmds=".so"
14682postinstall_cmds=
14683postuninstall_cmds=
14684finish_cmds=
14685finish_eval=
14686shlibpath_var=
14687shlibpath_overrides_runpath=unknown
14688version_type=none
14689dynamic_linker="$host_os ld.so"
14690sys_lib_dlsearch_path_spec="/lib /usr/lib"
14691need_lib_prefix=unknown
14692hardcode_into_libs=no
14693
14694# when you set need_version to no, make sure it does not cause -set_version
14695# flags to be left without arguments
14696need_version=unknown
14697
14698case $host_os in
14699aix3*)
14700  version_type=linux
14701  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14702  shlibpath_var=LIBPATH
14703
14704  # AIX 3 has no versioning support, so we append a major version to the name.
14705  soname_spec='${libname}${release}${shared_ext}$major'
14706  ;;
14707
14708aix[4-9]*)
14709  version_type=linux
14710  need_lib_prefix=no
14711  need_version=no
14712  hardcode_into_libs=yes
14713  if test "$host_cpu" = ia64; then
14714    # AIX 5 supports IA64
14715    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14716    shlibpath_var=LD_LIBRARY_PATH
14717  else
14718    # With GCC up to 2.95.x, collect2 would create an import file
14719    # for dependence libraries.  The import file would start with
14720    # the line `#! .'.  This would cause the generated library to
14721    # depend on `.', always an invalid library.  This was fixed in
14722    # development snapshots of GCC prior to 3.0.
14723    case $host_os in
14724      aix4 | aix4.[01] | aix4.[01].*)
14725      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14726	   echo ' yes '
14727	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14728	:
14729      else
14730	can_build_shared=no
14731      fi
14732      ;;
14733    esac
14734    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14735    # soname into executable. Probably we can add versioning support to
14736    # collect2, so additional links can be useful in future.
14737    if test "$aix_use_runtimelinking" = yes; then
14738      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14739      # instead of lib<name>.a to let people know that these are not
14740      # typical AIX shared libraries.
14741      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14742    else
14743      # We preserve .a as extension for shared libraries through AIX4.2
14744      # and later when we are not doing run time linking.
14745      library_names_spec='${libname}${release}.a $libname.a'
14746      soname_spec='${libname}${release}${shared_ext}$major'
14747    fi
14748    shlibpath_var=LIBPATH
14749  fi
14750  ;;
14751
14752amigaos*)
14753  case $host_cpu in
14754  powerpc)
14755    # Since July 2007 AmigaOS4 officially supports .so libraries.
14756    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14757    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758    ;;
14759  m68k)
14760    library_names_spec='$libname.ixlibrary $libname.a'
14761    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14762    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'
14763    ;;
14764  esac
14765  ;;
14766
14767beos*)
14768  library_names_spec='${libname}${shared_ext}'
14769  dynamic_linker="$host_os ld.so"
14770  shlibpath_var=LIBRARY_PATH
14771  ;;
14772
14773bsdi[45]*)
14774  version_type=linux
14775  need_version=no
14776  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14777  soname_spec='${libname}${release}${shared_ext}$major'
14778  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14779  shlibpath_var=LD_LIBRARY_PATH
14780  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14781  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14782  # the default ld.so.conf also contains /usr/contrib/lib and
14783  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14784  # libtool to hard-code these into programs
14785  ;;
14786
14787cygwin* | mingw* | pw32* | cegcc*)
14788  version_type=windows
14789  shrext_cmds=".dll"
14790  need_version=no
14791  need_lib_prefix=no
14792
14793  case $GCC,$host_os in
14794  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14795    library_names_spec='$libname.dll.a'
14796    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14797    postinstall_cmds='base_file=`basename \${file}`~
14798      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14799      dldir=$destdir/`dirname \$dlpath`~
14800      test -d \$dldir || mkdir -p \$dldir~
14801      $install_prog $dir/$dlname \$dldir/$dlname~
14802      chmod a+x \$dldir/$dlname~
14803      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14804        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14805      fi'
14806    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14807      dlpath=$dir/\$dldll~
14808       $RM \$dlpath'
14809    shlibpath_overrides_runpath=yes
14810
14811    case $host_os in
14812    cygwin*)
14813      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14814      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14815
14816      ;;
14817    mingw* | cegcc*)
14818      # MinGW DLLs use traditional 'lib' prefix
14819      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14820      ;;
14821    pw32*)
14822      # pw32 DLLs use 'pw' prefix rather than 'lib'
14823      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14824      ;;
14825    esac
14826    ;;
14827
14828  *)
14829    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14830    ;;
14831  esac
14832  dynamic_linker='Win32 ld.exe'
14833  # FIXME: first we should search . and the directory the executable is in
14834  shlibpath_var=PATH
14835  ;;
14836
14837darwin* | rhapsody*)
14838  dynamic_linker="$host_os dyld"
14839  version_type=darwin
14840  need_lib_prefix=no
14841  need_version=no
14842  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14843  soname_spec='${libname}${release}${major}$shared_ext'
14844  shlibpath_overrides_runpath=yes
14845  shlibpath_var=DYLD_LIBRARY_PATH
14846  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14847
14848  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14849  ;;
14850
14851dgux*)
14852  version_type=linux
14853  need_lib_prefix=no
14854  need_version=no
14855  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14856  soname_spec='${libname}${release}${shared_ext}$major'
14857  shlibpath_var=LD_LIBRARY_PATH
14858  ;;
14859
14860freebsd* | dragonfly*)
14861  # DragonFly does not have aout.  When/if they implement a new
14862  # versioning mechanism, adjust this.
14863  if test -x /usr/bin/objformat; then
14864    objformat=`/usr/bin/objformat`
14865  else
14866    case $host_os in
14867    freebsd[23].*) objformat=aout ;;
14868    *) objformat=elf ;;
14869    esac
14870  fi
14871  version_type=freebsd-$objformat
14872  case $version_type in
14873    freebsd-elf*)
14874      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14875      need_version=no
14876      need_lib_prefix=no
14877      ;;
14878    freebsd-*)
14879      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14880      need_version=yes
14881      ;;
14882  esac
14883  shlibpath_var=LD_LIBRARY_PATH
14884  case $host_os in
14885  freebsd2.*)
14886    shlibpath_overrides_runpath=yes
14887    ;;
14888  freebsd3.[01]* | freebsdelf3.[01]*)
14889    shlibpath_overrides_runpath=yes
14890    hardcode_into_libs=yes
14891    ;;
14892  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14893  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14894    shlibpath_overrides_runpath=no
14895    hardcode_into_libs=yes
14896    ;;
14897  *) # from 4.6 on, and DragonFly
14898    shlibpath_overrides_runpath=yes
14899    hardcode_into_libs=yes
14900    ;;
14901  esac
14902  ;;
14903
14904gnu*)
14905  version_type=linux
14906  need_lib_prefix=no
14907  need_version=no
14908  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14909  soname_spec='${libname}${release}${shared_ext}$major'
14910  shlibpath_var=LD_LIBRARY_PATH
14911  hardcode_into_libs=yes
14912  ;;
14913
14914haiku*)
14915  version_type=linux
14916  need_lib_prefix=no
14917  need_version=no
14918  dynamic_linker="$host_os runtime_loader"
14919  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14920  soname_spec='${libname}${release}${shared_ext}$major'
14921  shlibpath_var=LIBRARY_PATH
14922  shlibpath_overrides_runpath=yes
14923  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14924  hardcode_into_libs=yes
14925  ;;
14926
14927hpux9* | hpux10* | hpux11*)
14928  # Give a soname corresponding to the major version so that dld.sl refuses to
14929  # link against other versions.
14930  version_type=sunos
14931  need_lib_prefix=no
14932  need_version=no
14933  case $host_cpu in
14934  ia64*)
14935    shrext_cmds='.so'
14936    hardcode_into_libs=yes
14937    dynamic_linker="$host_os dld.so"
14938    shlibpath_var=LD_LIBRARY_PATH
14939    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14940    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14941    soname_spec='${libname}${release}${shared_ext}$major'
14942    if test "X$HPUX_IA64_MODE" = X32; then
14943      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14944    else
14945      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14946    fi
14947    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14948    ;;
14949  hppa*64*)
14950    shrext_cmds='.sl'
14951    hardcode_into_libs=yes
14952    dynamic_linker="$host_os dld.sl"
14953    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14954    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14955    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14956    soname_spec='${libname}${release}${shared_ext}$major'
14957    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14958    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14959    ;;
14960  *)
14961    shrext_cmds='.sl'
14962    dynamic_linker="$host_os dld.sl"
14963    shlibpath_var=SHLIB_PATH
14964    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14965    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14966    soname_spec='${libname}${release}${shared_ext}$major'
14967    ;;
14968  esac
14969  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14970  postinstall_cmds='chmod 555 $lib'
14971  # or fails outright, so override atomically:
14972  install_override_mode=555
14973  ;;
14974
14975interix[3-9]*)
14976  version_type=linux
14977  need_lib_prefix=no
14978  need_version=no
14979  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14980  soname_spec='${libname}${release}${shared_ext}$major'
14981  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14982  shlibpath_var=LD_LIBRARY_PATH
14983  shlibpath_overrides_runpath=no
14984  hardcode_into_libs=yes
14985  ;;
14986
14987irix5* | irix6* | nonstopux*)
14988  case $host_os in
14989    nonstopux*) version_type=nonstopux ;;
14990    *)
14991	if test "$lt_cv_prog_gnu_ld" = yes; then
14992		version_type=linux
14993	else
14994		version_type=irix
14995	fi ;;
14996  esac
14997  need_lib_prefix=no
14998  need_version=no
14999  soname_spec='${libname}${release}${shared_ext}$major'
15000  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15001  case $host_os in
15002  irix5* | nonstopux*)
15003    libsuff= shlibsuff=
15004    ;;
15005  *)
15006    case $LD in # libtool.m4 will add one of these switches to LD
15007    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15008      libsuff= shlibsuff= libmagic=32-bit;;
15009    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15010      libsuff=32 shlibsuff=N32 libmagic=N32;;
15011    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15012      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15013    *) libsuff= shlibsuff= libmagic=never-match;;
15014    esac
15015    ;;
15016  esac
15017  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15018  shlibpath_overrides_runpath=no
15019  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15020  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15021  hardcode_into_libs=yes
15022  ;;
15023
15024# No shared lib support for Linux oldld, aout, or coff.
15025linux*oldld* | linux*aout* | linux*coff*)
15026  dynamic_linker=no
15027  ;;
15028
15029# This must be Linux ELF.
15030linux* | k*bsd*-gnu | kopensolaris*-gnu)
15031  version_type=linux
15032  need_lib_prefix=no
15033  need_version=no
15034  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15035  soname_spec='${libname}${release}${shared_ext}$major'
15036  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15037  shlibpath_var=LD_LIBRARY_PATH
15038  shlibpath_overrides_runpath=no
15039
15040  # Some binutils ld are patched to set DT_RUNPATH
15041  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15042  $as_echo_n "(cached) " >&6
15043else
15044  lt_cv_shlibpath_overrides_runpath=no
15045    save_LDFLAGS=$LDFLAGS
15046    save_libdir=$libdir
15047    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15048	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15049    if test x$gcc_no_link = xyes; then
15050  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15051fi
15052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053/* end confdefs.h.  */
15054
15055int
15056main ()
15057{
15058
15059  ;
15060  return 0;
15061}
15062_ACEOF
15063if ac_fn_cxx_try_link "$LINENO"; then :
15064  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15065  lt_cv_shlibpath_overrides_runpath=yes
15066fi
15067fi
15068rm -f core conftest.err conftest.$ac_objext \
15069    conftest$ac_exeext conftest.$ac_ext
15070    LDFLAGS=$save_LDFLAGS
15071    libdir=$save_libdir
15072
15073fi
15074
15075  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15076
15077  # This implies no fast_install, which is unacceptable.
15078  # Some rework will be needed to allow for fast_install
15079  # before this can be enabled.
15080  hardcode_into_libs=yes
15081
15082  # Append ld.so.conf contents to the search path
15083  if test -f /etc/ld.so.conf; then
15084    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' ' '`
15085    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15086  fi
15087
15088  # We used to test for /lib/ld.so.1 and disable shared libraries on
15089  # powerpc, because MkLinux only supported shared libraries with the
15090  # GNU dynamic linker.  Since this was broken with cross compilers,
15091  # most powerpc-linux boxes support dynamic linking these days and
15092  # people can always --disable-shared, the test was removed, and we
15093  # assume the GNU/Linux dynamic linker is in use.
15094  dynamic_linker='GNU/Linux ld.so'
15095  ;;
15096
15097netbsd*)
15098  version_type=sunos
15099  need_lib_prefix=no
15100  need_version=no
15101  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15102    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15103    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15104    dynamic_linker='NetBSD (a.out) ld.so'
15105  else
15106    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15107    soname_spec='${libname}${release}${shared_ext}$major'
15108    dynamic_linker='NetBSD ld.elf_so'
15109  fi
15110  shlibpath_var=LD_LIBRARY_PATH
15111  shlibpath_overrides_runpath=yes
15112  hardcode_into_libs=yes
15113  ;;
15114
15115newsos6)
15116  version_type=linux
15117  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15118  shlibpath_var=LD_LIBRARY_PATH
15119  shlibpath_overrides_runpath=yes
15120  ;;
15121
15122*nto* | *qnx*)
15123  version_type=qnx
15124  need_lib_prefix=no
15125  need_version=no
15126  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15127  soname_spec='${libname}${release}${shared_ext}$major'
15128  shlibpath_var=LD_LIBRARY_PATH
15129  shlibpath_overrides_runpath=no
15130  hardcode_into_libs=yes
15131  dynamic_linker='ldqnx.so'
15132  ;;
15133
15134openbsd*)
15135  version_type=sunos
15136  sys_lib_dlsearch_path_spec="/usr/lib"
15137  need_lib_prefix=no
15138  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15139  case $host_os in
15140    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15141    *)				need_version=no  ;;
15142  esac
15143  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15144  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15145  shlibpath_var=LD_LIBRARY_PATH
15146  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15147    case $host_os in
15148      openbsd2.[89] | openbsd2.[89].*)
15149	shlibpath_overrides_runpath=no
15150	;;
15151      *)
15152	shlibpath_overrides_runpath=yes
15153	;;
15154      esac
15155  else
15156    shlibpath_overrides_runpath=yes
15157  fi
15158  ;;
15159
15160os2*)
15161  libname_spec='$name'
15162  shrext_cmds=".dll"
15163  need_lib_prefix=no
15164  library_names_spec='$libname${shared_ext} $libname.a'
15165  dynamic_linker='OS/2 ld.exe'
15166  shlibpath_var=LIBPATH
15167  ;;
15168
15169osf3* | osf4* | osf5*)
15170  version_type=osf
15171  need_lib_prefix=no
15172  need_version=no
15173  soname_spec='${libname}${release}${shared_ext}$major'
15174  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15175  shlibpath_var=LD_LIBRARY_PATH
15176  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15177  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15178  ;;
15179
15180rdos*)
15181  dynamic_linker=no
15182  ;;
15183
15184solaris*)
15185  version_type=linux
15186  need_lib_prefix=no
15187  need_version=no
15188  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15189  soname_spec='${libname}${release}${shared_ext}$major'
15190  shlibpath_var=LD_LIBRARY_PATH
15191  shlibpath_overrides_runpath=yes
15192  hardcode_into_libs=yes
15193  # ldd complains unless libraries are executable
15194  postinstall_cmds='chmod +x $lib'
15195  ;;
15196
15197sunos4*)
15198  version_type=sunos
15199  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15200  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15201  shlibpath_var=LD_LIBRARY_PATH
15202  shlibpath_overrides_runpath=yes
15203  if test "$with_gnu_ld" = yes; then
15204    need_lib_prefix=no
15205  fi
15206  need_version=yes
15207  ;;
15208
15209sysv4 | sysv4.3*)
15210  version_type=linux
15211  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15212  soname_spec='${libname}${release}${shared_ext}$major'
15213  shlibpath_var=LD_LIBRARY_PATH
15214  case $host_vendor in
15215    sni)
15216      shlibpath_overrides_runpath=no
15217      need_lib_prefix=no
15218      runpath_var=LD_RUN_PATH
15219      ;;
15220    siemens)
15221      need_lib_prefix=no
15222      ;;
15223    motorola)
15224      need_lib_prefix=no
15225      need_version=no
15226      shlibpath_overrides_runpath=no
15227      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15228      ;;
15229  esac
15230  ;;
15231
15232sysv4*MP*)
15233  if test -d /usr/nec ;then
15234    version_type=linux
15235    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15236    soname_spec='$libname${shared_ext}.$major'
15237    shlibpath_var=LD_LIBRARY_PATH
15238  fi
15239  ;;
15240
15241sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15242  version_type=freebsd-elf
15243  need_lib_prefix=no
15244  need_version=no
15245  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15246  soname_spec='${libname}${release}${shared_ext}$major'
15247  shlibpath_var=LD_LIBRARY_PATH
15248  shlibpath_overrides_runpath=yes
15249  hardcode_into_libs=yes
15250  if test "$with_gnu_ld" = yes; then
15251    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15252  else
15253    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15254    case $host_os in
15255      sco3.2v5*)
15256        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15257	;;
15258    esac
15259  fi
15260  sys_lib_dlsearch_path_spec='/usr/lib'
15261  ;;
15262
15263tpf*)
15264  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15265  version_type=linux
15266  need_lib_prefix=no
15267  need_version=no
15268  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15269  shlibpath_var=LD_LIBRARY_PATH
15270  shlibpath_overrides_runpath=no
15271  hardcode_into_libs=yes
15272  ;;
15273
15274uts4*)
15275  version_type=linux
15276  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15277  soname_spec='${libname}${release}${shared_ext}$major'
15278  shlibpath_var=LD_LIBRARY_PATH
15279  ;;
15280
15281*)
15282  dynamic_linker=no
15283  ;;
15284esac
15285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15286$as_echo "$dynamic_linker" >&6; }
15287test "$dynamic_linker" = no && can_build_shared=no
15288
15289variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15290if test "$GCC" = yes; then
15291  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15292fi
15293
15294if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15295  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15296fi
15297if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15298  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15299fi
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15339$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15340hardcode_action_CXX=
15341if test -n "$hardcode_libdir_flag_spec_CXX" ||
15342   test -n "$runpath_var_CXX" ||
15343   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15344
15345  # We can hardcode non-existent directories.
15346  if test "$hardcode_direct_CXX" != no &&
15347     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15348     # have to relink, otherwise we might link with an installed library
15349     # when we should be linking with a yet-to-be-installed one
15350     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15351     test "$hardcode_minus_L_CXX" != no; then
15352    # Linking always hardcodes the temporary library directory.
15353    hardcode_action_CXX=relink
15354  else
15355    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15356    hardcode_action_CXX=immediate
15357  fi
15358else
15359  # We cannot hardcode anything, or else we can only hardcode existing
15360  # directories.
15361  hardcode_action_CXX=unsupported
15362fi
15363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15364$as_echo "$hardcode_action_CXX" >&6; }
15365
15366if test "$hardcode_action_CXX" = relink ||
15367   test "$inherit_rpath_CXX" = yes; then
15368  # Fast installation is not supported
15369  enable_fast_install=no
15370elif test "$shlibpath_overrides_runpath" = yes ||
15371     test "$enable_shared" = no; then
15372  # Fast installation is not necessary
15373  enable_fast_install=needless
15374fi
15375
15376
15377
15378
15379
15380
15381
15382  fi # test -n "$compiler"
15383
15384  CC=$lt_save_CC
15385  LDCXX=$LD
15386  LD=$lt_save_LD
15387  GCC=$lt_save_GCC
15388  with_gnu_ld=$lt_save_with_gnu_ld
15389  lt_cv_path_LDCXX=$lt_cv_path_LD
15390  lt_cv_path_LD=$lt_save_path_LD
15391  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15392  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15393fi # test "$_lt_caught_CXX_error" != yes
15394
15395ac_ext=c
15396ac_cpp='$CPP $CPPFLAGS'
15397ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15398ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15399ac_compiler_gnu=$ac_cv_c_compiler_gnu
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413        ac_config_commands="$ac_config_commands libtool"
15414
15415
15416
15417
15418# Only expand once:
15419
15420
15421
15422
15423
15424case $host in
15425  *-cygwin* | *-mingw*)
15426    # 'host' will be top-level target in the case of a target lib,
15427    # we must compare to with_cross_host to decide if this is a native
15428    # or cross-compiler and select where to install dlls appropriately.
15429    if test -n "$with_cross_host" &&
15430	test x"$with_cross_host" != x"no"; then
15431      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15432    else
15433      lt_host_flags='-no-undefined -bindir "$(bindir)"';
15434    fi
15435    ;;
15436  *)
15437    lt_host_flags=
15438    ;;
15439esac
15440
15441
15442
15443
15444
15445
15446if test "$enable_vtable_verify" = yes; then
15447  predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15448  postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15449fi
15450
15451
15452# libtool variables for C++ shared and position-independent compiles.
15453#
15454# Use glibcxx_lt_pic_flag to designate the automake variable
15455# used to encapsulate the default libtool approach to creating objects
15456# with position-independent code. Default: -prefer-pic.
15457#
15458# Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15459# creating shared objects. Default: -D_GLIBCXX_SHARED.
15460#
15461# Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15462# creating position-independent objects. This varies with the target
15463# hardware and operating system, but is often: -DPIC -fPIC.
15464if test "$enable_shared" = yes; then
15465  glibcxx_lt_pic_flag="-prefer-pic"
15466  glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15467  glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15468
15469else
15470  glibcxx_lt_pic_flag=
15471  glibcxx_compiler_pic_flag=
15472  glibcxx_compiler_shared_flag=
15473fi
15474
15475
15476
15477
15478# Override the libtool's pic_flag and pic_mode.
15479# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15480# NB: this impacts --with-pic and --without-pic.
15481lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15482pic_mode='default'
15483
15484# Eliminate -lstdc++ addition to postdeps for cross compiles.
15485postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15486
15487# Possibly disable most of the library.
15488## TODO: Consider skipping unncessary tests altogether in this case, rather
15489## than just ignoring the results.  Faster /and/ more correct, win win.
15490
15491  # Check whether --enable-hosted-libstdcxx was given.
15492if test "${enable_hosted_libstdcxx+set}" = set; then :
15493  enableval=$enable_hosted_libstdcxx;
15494else
15495  case "$host" in
15496	arm*-*-symbianelf*)
15497	    enable_hosted_libstdcxx=no
15498	    ;;
15499	*)
15500	    enable_hosted_libstdcxx=yes
15501	    ;;
15502     esac
15503fi
15504
15505  if test "$enable_hosted_libstdcxx" = no; then
15506    { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15507$as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15508    is_hosted=no
15509    hosted_define=0
15510    enable_abi_check=no
15511    enable_libstdcxx_pch=no
15512  else
15513    is_hosted=yes
15514    hosted_define=1
15515  fi
15516
15517
15518cat >>confdefs.h <<_ACEOF
15519#define _GLIBCXX_HOSTED $hosted_define
15520_ACEOF
15521
15522
15523
15524# Enable descriptive messages to standard output on termination.
15525
15526  # Check whether --enable-libstdcxx-verbose was given.
15527if test "${enable_libstdcxx_verbose+set}" = set; then :
15528  enableval=$enable_libstdcxx_verbose;
15529else
15530  enable_libstdcxx_verbose=yes
15531fi
15532
15533  if test x"$enable_libstdcxx_verbose" = xyes; then
15534    verbose_define=1
15535  else
15536    { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15537$as_echo "$as_me: verbose termination messages are disabled" >&6;}
15538    verbose_define=0
15539  fi
15540
15541cat >>confdefs.h <<_ACEOF
15542#define _GLIBCXX_VERBOSE $verbose_define
15543_ACEOF
15544
15545
15546
15547# Enable compiler support that doesn't require linking.
15548
15549   # Check whether --enable-libstdcxx-pch was given.
15550if test "${enable_libstdcxx_pch+set}" = set; then :
15551  enableval=$enable_libstdcxx_pch;
15552      case "$enableval" in
15553       yes|no) ;;
15554       *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15555      esac
15556
15557else
15558  enable_libstdcxx_pch=$is_hosted
15559fi
15560
15561
15562  if test $enable_libstdcxx_pch = yes; then
15563    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15564$as_echo_n "checking for compiler with PCH support... " >&6; }
15565if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15566  $as_echo_n "(cached) " >&6
15567else
15568  ac_save_CXXFLAGS="$CXXFLAGS"
15569       CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15570
15571       ac_ext=cpp
15572ac_cpp='$CXXCPP $CPPFLAGS'
15573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15576
15577       echo '#include <math.h>' > conftest.h
15578       if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15579			  -o conftest.h.gch 1>&5 2>&1 &&
15580		echo '#error "pch failed"' > conftest.h &&
15581	  echo '#include "conftest.h"' > conftest.cc &&
15582	       $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15583       then
15584	 glibcxx_cv_prog_CXX_pch=yes
15585       else
15586	 glibcxx_cv_prog_CXX_pch=no
15587       fi
15588       rm -f conftest*
15589       CXXFLAGS=$ac_save_CXXFLAGS
15590       ac_ext=c
15591ac_cpp='$CPP $CPPFLAGS'
15592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15594ac_compiler_gnu=$ac_cv_c_compiler_gnu
15595
15596
15597fi
15598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15599$as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15600    enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15601  fi
15602
15603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15604$as_echo_n "checking for enabled PCH... " >&6; }
15605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15606$as_echo "$enable_libstdcxx_pch" >&6; }
15607
15608
15609  if test $enable_libstdcxx_pch = yes; then
15610    glibcxx_PCHFLAGS="-include bits/stdc++.h"
15611  else
15612    glibcxx_PCHFLAGS=""
15613  fi
15614
15615
15616
15617  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15618$as_echo_n "checking for thread model used by GCC... " >&6; }
15619  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15621$as_echo "$target_thread_file" >&6; }
15622
15623case $target_thread_file in
15624    aix)	thread_header=config/rs6000/gthr-aix.h ;;
15625    dce)	thread_header=config/pa/gthr-dce.h ;;
15626    lynx)	thread_header=config/gthr-lynx.h ;;
15627    mipssde)	thread_header=config/mips/gthr-mipssde.h ;;
15628    posix)	thread_header=gthr-posix.h ;;
15629    rtems)	thread_header=config/gthr-rtems.h ;;
15630    single)	thread_header=gthr-single.h ;;
15631    tpf)	thread_header=config/s390/gthr-tpf.h ;;
15632    vxworks)	thread_header=config/gthr-vxworks.h ;;
15633    win32)	thread_header=config/i386/gthr-win32.h ;;
15634esac
15635
15636
15637
15638
15639
15640  ac_ext=cpp
15641ac_cpp='$CXXCPP $CPPFLAGS'
15642ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15643ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15644ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15645
15646  old_CXXFLAGS="$CXXFLAGS"
15647
15648  # Do link tests if possible, instead asm tests, limited to some platforms
15649  # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15650  # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15651  atomic_builtins_link_tests=no
15652  if test x$gcc_no_link != xyes; then
15653    # Can do link tests. Limit to some tested platforms
15654    case "$host" in
15655      *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15656	atomic_builtins_link_tests=yes
15657	;;
15658    esac
15659  fi
15660
15661  if test x$atomic_builtins_link_tests = xyes; then
15662
15663  # Do link tests.
15664
15665  CXXFLAGS="$CXXFLAGS -fno-exceptions"
15666
15667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15668$as_echo_n "checking for atomic builtins for bool... " >&6; }
15669  if ${glibcxx_cv_atomic_bool+:} false; then :
15670  $as_echo_n "(cached) " >&6
15671else
15672
15673    if test x$gcc_no_link = xyes; then
15674  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15675fi
15676cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15677/* end confdefs.h.  */
15678
15679int
15680main ()
15681{
15682typedef bool atomic_type;
15683       atomic_type c1;
15684       atomic_type c2;
15685       atomic_type c3(0);
15686       // N.B. __atomic_fetch_add is not supported for bool.
15687       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15688				   __ATOMIC_RELAXED);
15689       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15690       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15691
15692  ;
15693  return 0;
15694}
15695_ACEOF
15696if ac_fn_cxx_try_link "$LINENO"; then :
15697  glibcxx_cv_atomic_bool=yes
15698else
15699  glibcxx_cv_atomic_bool=no
15700fi
15701rm -f core conftest.err conftest.$ac_objext \
15702    conftest$ac_exeext conftest.$ac_ext
15703
15704fi
15705
15706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15707$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15708
15709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15710$as_echo_n "checking for atomic builtins for short... " >&6; }
15711  if ${glibcxx_cv_atomic_short+:} false; then :
15712  $as_echo_n "(cached) " >&6
15713else
15714
15715    if test x$gcc_no_link = xyes; then
15716  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15717fi
15718cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719/* end confdefs.h.  */
15720
15721int
15722main ()
15723{
15724typedef short atomic_type;
15725       atomic_type c1;
15726       atomic_type c2;
15727       atomic_type c3(0);
15728       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15729       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15730				   __ATOMIC_RELAXED);
15731       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15732       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15733
15734  ;
15735  return 0;
15736}
15737_ACEOF
15738if ac_fn_cxx_try_link "$LINENO"; then :
15739  glibcxx_cv_atomic_short=yes
15740else
15741  glibcxx_cv_atomic_short=no
15742fi
15743rm -f core conftest.err conftest.$ac_objext \
15744    conftest$ac_exeext conftest.$ac_ext
15745
15746fi
15747
15748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15749$as_echo "$glibcxx_cv_atomic_short" >&6; }
15750
15751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15752$as_echo_n "checking for atomic builtins for int... " >&6; }
15753  if ${glibcxx_cv_atomic_int+:} false; then :
15754  $as_echo_n "(cached) " >&6
15755else
15756
15757    if test x$gcc_no_link = xyes; then
15758  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15759fi
15760cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761/* end confdefs.h.  */
15762
15763int
15764main ()
15765{
15766typedef int atomic_type;
15767       atomic_type c1;
15768       atomic_type c2;
15769       atomic_type c3(0);
15770       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15771       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15772				   __ATOMIC_RELAXED);
15773       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15774       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15775
15776  ;
15777  return 0;
15778}
15779_ACEOF
15780if ac_fn_cxx_try_link "$LINENO"; then :
15781  glibcxx_cv_atomic_int=yes
15782else
15783  glibcxx_cv_atomic_int=no
15784fi
15785rm -f core conftest.err conftest.$ac_objext \
15786    conftest$ac_exeext conftest.$ac_ext
15787
15788fi
15789
15790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15791$as_echo "$glibcxx_cv_atomic_int" >&6; }
15792
15793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15794$as_echo_n "checking for atomic builtins for long long... " >&6; }
15795  if ${glibcxx_cv_atomic_long_long+:} false; then :
15796  $as_echo_n "(cached) " >&6
15797else
15798
15799    if test x$gcc_no_link = xyes; then
15800  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15801fi
15802cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15803/* end confdefs.h.  */
15804
15805int
15806main ()
15807{
15808typedef long long atomic_type;
15809       atomic_type c1;
15810       atomic_type c2;
15811       atomic_type c3(0);
15812       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15813       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15814				   __ATOMIC_RELAXED);
15815       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15816       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15817
15818  ;
15819  return 0;
15820}
15821_ACEOF
15822if ac_fn_cxx_try_link "$LINENO"; then :
15823  glibcxx_cv_atomic_long_long=yes
15824else
15825  glibcxx_cv_atomic_long_long=no
15826fi
15827rm -f core conftest.err conftest.$ac_objext \
15828    conftest$ac_exeext conftest.$ac_ext
15829
15830fi
15831
15832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15833$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15834
15835  else
15836
15837  # Do asm tests.
15838
15839  # Compile unoptimized.
15840  CXXFLAGS='-O0 -S'
15841
15842  # Fake what AC_TRY_COMPILE does.
15843
15844    cat > conftest.$ac_ext << EOF
15845#line 15845 "configure"
15846int main()
15847{
15848  typedef bool atomic_type;
15849  atomic_type c1;
15850  atomic_type c2;
15851  atomic_type c3(0);
15852  // N.B. __atomic_fetch_add is not supported for bool.
15853  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15854			      __ATOMIC_RELAXED);
15855  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15856  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15857
15858  return 0;
15859}
15860EOF
15861
15862    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15863$as_echo_n "checking for atomic builtins for bool... " >&6; }
15864    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15865  (eval $ac_compile) 2>&5
15866  ac_status=$?
15867  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15868  test $ac_status = 0; }; then
15869      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15870	glibcxx_cv_atomic_bool=no
15871      else
15872	glibcxx_cv_atomic_bool=yes
15873      fi
15874    fi
15875    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15876$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15877    rm -f conftest*
15878
15879    cat > conftest.$ac_ext << EOF
15880#line 15880 "configure"
15881int main()
15882{
15883  typedef short atomic_type;
15884  atomic_type c1;
15885  atomic_type c2;
15886  atomic_type c3(0);
15887  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15888  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15889			      __ATOMIC_RELAXED);
15890  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15891  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15892
15893  return 0;
15894}
15895EOF
15896
15897    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15898$as_echo_n "checking for atomic builtins for short... " >&6; }
15899    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15900  (eval $ac_compile) 2>&5
15901  ac_status=$?
15902  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15903  test $ac_status = 0; }; then
15904      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15905	glibcxx_cv_atomic_short=no
15906      else
15907	glibcxx_cv_atomic_short=yes
15908      fi
15909    fi
15910    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15911$as_echo "$glibcxx_cv_atomic_short" >&6; }
15912    rm -f conftest*
15913
15914    cat > conftest.$ac_ext << EOF
15915#line 15915 "configure"
15916int main()
15917{
15918  // NB: _Atomic_word not necessarily int.
15919  typedef int atomic_type;
15920  atomic_type c1;
15921  atomic_type c2;
15922  atomic_type c3(0);
15923  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15924  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15925			      __ATOMIC_RELAXED);
15926  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15927  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15928
15929  return 0;
15930}
15931EOF
15932
15933    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15934$as_echo_n "checking for atomic builtins for int... " >&6; }
15935    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15936  (eval $ac_compile) 2>&5
15937  ac_status=$?
15938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15939  test $ac_status = 0; }; then
15940      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15941	glibcxx_cv_atomic_int=no
15942      else
15943	glibcxx_cv_atomic_int=yes
15944      fi
15945    fi
15946    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15947$as_echo "$glibcxx_cv_atomic_int" >&6; }
15948    rm -f conftest*
15949
15950    cat > conftest.$ac_ext << EOF
15951#line 15951 "configure"
15952int main()
15953{
15954  typedef long long atomic_type;
15955  atomic_type c1;
15956  atomic_type c2;
15957  atomic_type c3(0);
15958  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15959  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15960			      __ATOMIC_RELAXED);
15961  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15962  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15963
15964  return 0;
15965}
15966EOF
15967
15968    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15969$as_echo_n "checking for atomic builtins for long long... " >&6; }
15970    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15971  (eval $ac_compile) 2>&5
15972  ac_status=$?
15973  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15974  test $ac_status = 0; }; then
15975      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15976	glibcxx_cv_atomic_long_long=no
15977      else
15978	glibcxx_cv_atomic_long_long=yes
15979      fi
15980    fi
15981    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15982$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15983    rm -f conftest*
15984
15985  fi
15986
15987  CXXFLAGS="$old_CXXFLAGS"
15988  ac_ext=c
15989ac_cpp='$CPP $CPPFLAGS'
15990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15992ac_compiler_gnu=$ac_cv_c_compiler_gnu
15993
15994
15995  # Set atomicity_dir to builtins if all but the long long test above passes,
15996  # or if the builtins were already chosen (e.g. by configure.host).
15997  if { test "$glibcxx_cv_atomic_bool" = yes \
15998     && test "$glibcxx_cv_atomic_short" = yes \
15999     && test "$glibcxx_cv_atomic_int" = yes; } \
16000     || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16001
16002$as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16003
16004    atomicity_dir=cpu/generic/atomicity_builtins
16005  fi
16006
16007  # If still generic, set to mutex.
16008  if test $atomicity_dir = "cpu/generic" ; then
16009    atomicity_dir=cpu/generic/atomicity_mutex
16010    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16011$as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16012      if test "x$target_thread_file" = xsingle; then
16013	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16014$as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16015	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16016$as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16017      else
16018	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16019$as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16020	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16021$as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16022      fi
16023  fi
16024
16025
16026
16027
16028
16029# Check whether --with-libstdcxx-lock-policy was given.
16030if test "${with_libstdcxx_lock_policy+set}" = set; then :
16031  withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16032else
16033  libstdcxx_atomic_lock_policy=auto
16034fi
16035
16036
16037  case "$libstdcxx_atomic_lock_policy" in
16038    atomic|mutex|auto) ;;
16039    *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16040  esac
16041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16042$as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16043
16044  if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16045
16046    ac_ext=cpp
16047ac_cpp='$CXXCPP $CPPFLAGS'
16048ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16049ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16050ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16051
16052    ac_save_CXXFLAGS="$CXXFLAGS"
16053
16054        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16055/* end confdefs.h.  */
16056
16057    #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16058    # error "No 2-byte compare-and-swap"
16059    #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16060    # error "No 4-byte compare-and-swap"
16061    #endif
16062
16063int
16064main ()
16065{
16066
16067  ;
16068  return 0;
16069}
16070_ACEOF
16071if ac_fn_cxx_try_compile "$LINENO"; then :
16072  libstdcxx_atomic_lock_policy=atomic
16073else
16074  libstdcxx_atomic_lock_policy=mutex
16075fi
16076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16077    ac_ext=c
16078ac_cpp='$CPP $CPPFLAGS'
16079ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16080ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16081ac_compiler_gnu=$ac_cv_c_compiler_gnu
16082
16083    CXXFLAGS="$ac_save_CXXFLAGS"
16084  fi
16085
16086  if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16087    { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16088$as_echo "atomic" >&6; }
16089
16090$as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16091
16092  else
16093    { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16094$as_echo "mutex" >&6; }
16095  fi
16096
16097
16098
16099
16100  # Fake what AC_TRY_COMPILE does, without linking as this is
16101  # unnecessary for this test.
16102
16103    cat > conftest.$ac_ext << EOF
16104#line 16104 "configure"
16105int main()
16106{
16107  _Decimal32 d1;
16108  _Decimal64 d2;
16109  _Decimal128 d3;
16110  return 0;
16111}
16112EOF
16113
16114    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16115$as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16116    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16117  (eval $ac_compile) 2>&5
16118  ac_status=$?
16119  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16120  test $ac_status = 0; }; then
16121
16122$as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16123
16124      enable_dfp=yes
16125    else
16126      enable_dfp=no
16127    fi
16128    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16129$as_echo "$enable_dfp" >&6; }
16130    rm -f conftest*
16131
16132
16133
16134
16135  ac_ext=cpp
16136ac_cpp='$CXXCPP $CPPFLAGS'
16137ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16138ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16139ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16140
16141
16142  # Fake what AC_TRY_COMPILE does, without linking as this is
16143  # unnecessary for this test.
16144
16145    cat > conftest.$ac_ext << EOF
16146#line 16146 "configure"
16147template<typename T1, typename T2>
16148  struct same
16149  { typedef T2 type; };
16150
16151template<typename T>
16152  struct same<T, T>;
16153
16154int main()
16155{
16156  typename same<long, __int128>::type                i1;
16157  typename same<long long, __int128>::type           i2;
16158}
16159EOF
16160
16161    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16162$as_echo_n "checking for __int128... " >&6; }
16163    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16164  (eval $ac_compile) 2>&5
16165  ac_status=$?
16166  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16167  test $ac_status = 0; }; then
16168
16169$as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16170
16171      enable_int128=yes
16172    else
16173      enable_int128=no
16174    fi
16175    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16176$as_echo "$enable_int128" >&6; }
16177    rm -f conftest*
16178
16179    cat > conftest.$ac_ext << EOF
16180#line 16180 "configure"
16181template<typename T1, typename T2>
16182  struct same
16183  { typedef T2 type; };
16184
16185template<typename T>
16186  struct same<T, T>;
16187
16188int main()
16189{
16190  typename same<double, __float128>::type      f1;
16191  typename same<long double, __float128>::type f2;
16192}
16193EOF
16194
16195    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16196$as_echo_n "checking for __float128... " >&6; }
16197    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16198  (eval $ac_compile) 2>&5
16199  ac_status=$?
16200  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16201  test $ac_status = 0; }; then
16202      enable_float128=yes
16203    else
16204      enable_float128=no
16205    fi
16206    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16207$as_echo "$enable_float128" >&6; }
16208
16209    rm -f conftest*
16210
16211  ac_ext=c
16212ac_cpp='$CPP $CPPFLAGS'
16213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16215ac_compiler_gnu=$ac_cv_c_compiler_gnu
16216
16217
16218if test "$enable_float128" = yes; then
16219  port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16220fi
16221
16222# Checks for compiler support that doesn't require linking.
16223
16224  # All these tests are for C++; save the language and the compiler flags.
16225  # The CXXFLAGS thing is suspicious, but based on similar bits previously
16226  # found in GLIBCXX_CONFIGURE.
16227
16228  ac_ext=cpp
16229ac_cpp='$CXXCPP $CPPFLAGS'
16230ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16233
16234  ac_test_CXXFLAGS="${CXXFLAGS+set}"
16235  ac_save_CXXFLAGS="$CXXFLAGS"
16236
16237  # Check for -ffunction-sections -fdata-sections
16238  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16239$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16240  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16241  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16242/* end confdefs.h.  */
16243int foo; void bar() { };
16244int
16245main ()
16246{
16247
16248  ;
16249  return 0;
16250}
16251_ACEOF
16252if ac_fn_cxx_try_compile "$LINENO"; then :
16253  ac_fdsections=yes
16254else
16255  ac_fdsections=no
16256fi
16257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16258  if test "$ac_test_CXXFLAGS" = set; then
16259    CXXFLAGS="$ac_save_CXXFLAGS"
16260  else
16261    # this is the suspicious part
16262    CXXFLAGS=''
16263  fi
16264  if test x"$ac_fdsections" = x"yes"; then
16265    SECTION_FLAGS='-ffunction-sections -fdata-sections'
16266  fi
16267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16268$as_echo "$ac_fdsections" >&6; }
16269
16270  ac_ext=c
16271ac_cpp='$CPP $CPPFLAGS'
16272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16274ac_compiler_gnu=$ac_cv_c_compiler_gnu
16275
16276
16277
16278
16279# Enable all the variable C++ runtime options that don't require linking.
16280
16281  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16282$as_echo_n "checking for underlying I/O to use... " >&6; }
16283   # Check whether --enable-cstdio was given.
16284if test "${enable_cstdio+set}" = set; then :
16285  enableval=$enable_cstdio;
16286      case "$enableval" in
16287       stdio) ;;
16288       *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16289	  	        esac
16290
16291else
16292  enable_cstdio=stdio
16293fi
16294
16295
16296
16297  # Now that libio has been removed, you can have any color you want as long
16298  # as it's black.  This is one big no-op until other packages are added, but
16299  # showing the framework never hurts.
16300  case ${enable_cstdio} in
16301    stdio)
16302      CSTDIO_H=config/io/c_io_stdio.h
16303      BASIC_FILE_H=config/io/basic_file_stdio.h
16304      BASIC_FILE_CC=config/io/basic_file_stdio.cc
16305      { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16306$as_echo "stdio" >&6; }
16307      ;;
16308  esac
16309
16310
16311
16312
16313
16314
16315   # Check whether --enable-clocale was given.
16316if test "${enable_clocale+set}" = set; then :
16317  enableval=$enable_clocale;
16318      case "$enableval" in
16319       generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16320       *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16321	  	        esac
16322
16323else
16324  enable_clocale=auto
16325fi
16326
16327
16328
16329  # Deal with gettext issues.  Default to not using it (=no) until we detect
16330  # support for it later.  Let the user turn it off via --e/d, but let that
16331  # default to on for easier handling.
16332  USE_NLS=no
16333  # Check whether --enable-nls was given.
16334if test "${enable_nls+set}" = set; then :
16335  enableval=$enable_nls;
16336else
16337  enable_nls=yes
16338fi
16339
16340
16341  # Either a known package, or "auto"
16342  if test $enable_clocale = no || test $enable_clocale = yes; then
16343     enable_clocale=auto
16344  fi
16345  enable_clocale_flag=$enable_clocale
16346
16347  # Probe for locale model to use if none specified.
16348  # Default to "generic".
16349  if test $enable_clocale_flag = auto; then
16350    case ${target_os} in
16351      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16352	enable_clocale_flag=gnu
16353	;;
16354      darwin*)
16355	enable_clocale_flag=darwin
16356	;;
16357      dragonfly* | freebsd*)
16358	enable_clocale_flag=dragonfly
16359	;;
16360      openbsd*)
16361	enable_clocale_flag=newlib
16362	;;
16363      *)
16364	if test x"$with_newlib" = x"yes"; then
16365	  enable_clocale_flag=newlib
16366	else
16367	  enable_clocale_flag=generic
16368	fi
16369	;;
16370    esac
16371  fi
16372
16373  # Sanity check model, and test for special functionality.
16374  if test $enable_clocale_flag = gnu; then
16375    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376/* end confdefs.h.  */
16377
16378    #include <features.h>
16379    #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16380      _GLIBCXX_ok
16381    #endif
16382
16383_ACEOF
16384if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16385  $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16386  enable_clocale_flag=gnu
16387else
16388  enable_clocale_flag=generic
16389fi
16390rm -f conftest*
16391
16392
16393    # Set it to scream when it hurts.
16394    ac_save_CFLAGS="$CFLAGS"
16395    CFLAGS="-Wimplicit-function-declaration -Werror"
16396
16397    # Use strxfrm_l if available.
16398    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399/* end confdefs.h.  */
16400#define _GNU_SOURCE 1
16401     		    #include <string.h>
16402		    #include <locale.h>
16403int
16404main ()
16405{
16406char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16407  ;
16408  return 0;
16409}
16410_ACEOF
16411if ac_fn_c_try_compile "$LINENO"; then :
16412
16413$as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16414
16415fi
16416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16417
16418    # Use strerror_l if available.
16419    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16420/* end confdefs.h.  */
16421#define _GNU_SOURCE 1
16422		    #include <string.h>
16423		    #include <locale.h>
16424int
16425main ()
16426{
16427__locale_t loc; strerror_l(5, loc);
16428  ;
16429  return 0;
16430}
16431_ACEOF
16432if ac_fn_c_try_compile "$LINENO"; then :
16433
16434$as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16435
16436fi
16437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16438
16439    CFLAGS="$ac_save_CFLAGS"
16440  fi
16441
16442  # Perhaps use strerror_r if available, and strerror_l isn't.
16443  ac_save_CFLAGS="$CFLAGS"
16444  CFLAGS="-Wimplicit-function-declaration -Werror"
16445  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446/* end confdefs.h.  */
16447#define _GNU_SOURCE 1
16448	     	  #include <string.h>
16449		  #include <locale.h>
16450int
16451main ()
16452{
16453char s[128]; strerror_r(5, s, 128);
16454  ;
16455  return 0;
16456}
16457_ACEOF
16458if ac_fn_c_try_compile "$LINENO"; then :
16459
16460$as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16461
16462fi
16463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16464  CFLAGS="$ac_save_CFLAGS"
16465
16466  # Set configure bits for specified locale package
16467  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16468$as_echo_n "checking for C locale to use... " >&6; }
16469  case ${enable_clocale_flag} in
16470    generic)
16471      { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16472$as_echo "generic" >&6; }
16473
16474      CLOCALE_H=config/locale/generic/c_locale.h
16475      CLOCALE_CC=config/locale/generic/c_locale.cc
16476      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16477      CCOLLATE_CC=config/locale/generic/collate_members.cc
16478      CCTYPE_CC=config/locale/generic/ctype_members.cc
16479      CMESSAGES_H=config/locale/generic/messages_members.h
16480      CMESSAGES_CC=config/locale/generic/messages_members.cc
16481      CMONEY_CC=config/locale/generic/monetary_members.cc
16482      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16483      CTIME_H=config/locale/generic/time_members.h
16484      CTIME_CC=config/locale/generic/time_members.cc
16485      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16486      ;;
16487    darwin)
16488      { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16489$as_echo "darwin" >&6; }
16490
16491      CLOCALE_H=config/locale/generic/c_locale.h
16492      CLOCALE_CC=config/locale/generic/c_locale.cc
16493      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16494      CCOLLATE_CC=config/locale/generic/collate_members.cc
16495      CCTYPE_CC=config/locale/darwin/ctype_members.cc
16496      CMESSAGES_H=config/locale/generic/messages_members.h
16497      CMESSAGES_CC=config/locale/generic/messages_members.cc
16498      CMONEY_CC=config/locale/generic/monetary_members.cc
16499      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16500      CTIME_H=config/locale/generic/time_members.h
16501      CTIME_CC=config/locale/generic/time_members.cc
16502      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16503      ;;
16504
16505    dragonfly)
16506      { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16507$as_echo "dragonfly or freebsd" >&6; }
16508
16509      CLOCALE_H=config/locale/dragonfly/c_locale.h
16510      CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16511      CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16512      CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16513      CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16514      CMESSAGES_H=config/locale/generic/messages_members.h
16515      CMESSAGES_CC=config/locale/generic/messages_members.cc
16516      CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16517      CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16518      CTIME_H=config/locale/dragonfly/time_members.h
16519      CTIME_CC=config/locale/dragonfly/time_members.cc
16520      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16521      ;;
16522
16523    gnu)
16524      { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16525$as_echo "gnu" >&6; }
16526
16527      # Declare intention to use gettext, and add support for specific
16528      # languages.
16529      # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16530      ALL_LINGUAS="de fr"
16531
16532      # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16533      # Extract the first word of "msgfmt", so it can be a program name with args.
16534set dummy msgfmt; ac_word=$2
16535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16536$as_echo_n "checking for $ac_word... " >&6; }
16537if ${ac_cv_prog_check_msgfmt+:} false; then :
16538  $as_echo_n "(cached) " >&6
16539else
16540  if test -n "$check_msgfmt"; then
16541  ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16542else
16543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16544for as_dir in $PATH
16545do
16546  IFS=$as_save_IFS
16547  test -z "$as_dir" && as_dir=.
16548    for ac_exec_ext in '' $ac_executable_extensions; do
16549  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16550    ac_cv_prog_check_msgfmt="yes"
16551    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16552    break 2
16553  fi
16554done
16555  done
16556IFS=$as_save_IFS
16557
16558  test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16559fi
16560fi
16561check_msgfmt=$ac_cv_prog_check_msgfmt
16562if test -n "$check_msgfmt"; then
16563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16564$as_echo "$check_msgfmt" >&6; }
16565else
16566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16567$as_echo "no" >&6; }
16568fi
16569
16570
16571      if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16572	USE_NLS=yes
16573      fi
16574      # Export the build objects.
16575      for ling in $ALL_LINGUAS; do \
16576	glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16577	glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16578      done
16579
16580
16581
16582      CLOCALE_H=config/locale/gnu/c_locale.h
16583      CLOCALE_CC=config/locale/gnu/c_locale.cc
16584      CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16585      CCOLLATE_CC=config/locale/gnu/collate_members.cc
16586      CCTYPE_CC=config/locale/gnu/ctype_members.cc
16587      CMESSAGES_H=config/locale/gnu/messages_members.h
16588      CMESSAGES_CC=config/locale/gnu/messages_members.cc
16589      CMONEY_CC=config/locale/gnu/monetary_members.cc
16590      CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16591      CTIME_H=config/locale/gnu/time_members.h
16592      CTIME_CC=config/locale/gnu/time_members.cc
16593      CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16594      ;;
16595    ieee_1003.1-2001)
16596      { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16597$as_echo "IEEE 1003.1" >&6; }
16598
16599      CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16600      CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16601      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16602      CCOLLATE_CC=config/locale/generic/collate_members.cc
16603      CCTYPE_CC=config/locale/generic/ctype_members.cc
16604      CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16605      CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16606      CMONEY_CC=config/locale/generic/monetary_members.cc
16607      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16608      CTIME_H=config/locale/generic/time_members.h
16609      CTIME_CC=config/locale/generic/time_members.cc
16610      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16611      ;;
16612    newlib)
16613      { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16614$as_echo "newlib" >&6; }
16615
16616      CLOCALE_H=config/locale/generic/c_locale.h
16617      CLOCALE_CC=config/locale/generic/c_locale.cc
16618      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16619      CCOLLATE_CC=config/locale/generic/collate_members.cc
16620      CCTYPE_CC=config/locale/newlib/ctype_members.cc
16621      CMESSAGES_H=config/locale/generic/messages_members.h
16622      CMESSAGES_CC=config/locale/generic/messages_members.cc
16623      CMONEY_CC=config/locale/generic/monetary_members.cc
16624      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16625      CTIME_H=config/locale/generic/time_members.h
16626      CTIME_CC=config/locale/generic/time_members.cc
16627      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16628      ;;
16629  esac
16630
16631  # This is where the testsuite looks for locale catalogs, using the
16632  # -DLOCALEDIR define during testsuite compilation.
16633  glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16634
16635
16636  # A standalone libintl (e.g., GNU libintl) may be in use.
16637  if test $USE_NLS = yes; then
16638    for ac_header in libintl.h
16639do :
16640  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16641if test "x$ac_cv_header_libintl_h" = xyes; then :
16642  cat >>confdefs.h <<_ACEOF
16643#define HAVE_LIBINTL_H 1
16644_ACEOF
16645
16646else
16647  USE_NLS=no
16648fi
16649
16650done
16651
16652    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16653$as_echo_n "checking for library containing gettext... " >&6; }
16654if ${ac_cv_search_gettext+:} false; then :
16655  $as_echo_n "(cached) " >&6
16656else
16657  ac_func_search_save_LIBS=$LIBS
16658cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659/* end confdefs.h.  */
16660
16661/* Override any GCC internal prototype to avoid an error.
16662   Use char because int might match the return type of a GCC
16663   builtin and then its argument prototype would still apply.  */
16664#ifdef __cplusplus
16665extern "C"
16666#endif
16667char gettext ();
16668int
16669main ()
16670{
16671return gettext ();
16672  ;
16673  return 0;
16674}
16675_ACEOF
16676for ac_lib in '' intl; do
16677  if test -z "$ac_lib"; then
16678    ac_res="none required"
16679  else
16680    ac_res=-l$ac_lib
16681    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16682  fi
16683  if test x$gcc_no_link = xyes; then
16684  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16685fi
16686if ac_fn_c_try_link "$LINENO"; then :
16687  ac_cv_search_gettext=$ac_res
16688fi
16689rm -f core conftest.err conftest.$ac_objext \
16690    conftest$ac_exeext
16691  if ${ac_cv_search_gettext+:} false; then :
16692  break
16693fi
16694done
16695if ${ac_cv_search_gettext+:} false; then :
16696
16697else
16698  ac_cv_search_gettext=no
16699fi
16700rm conftest.$ac_ext
16701LIBS=$ac_func_search_save_LIBS
16702fi
16703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16704$as_echo "$ac_cv_search_gettext" >&6; }
16705ac_res=$ac_cv_search_gettext
16706if test "$ac_res" != no; then :
16707  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16708
16709else
16710  USE_NLS=no
16711fi
16712
16713  fi
16714  if test $USE_NLS = yes; then
16715
16716$as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16717
16718  fi
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16736$as_echo_n "checking for std::allocator base class... " >&6; }
16737   # Check whether --enable-libstdcxx-allocator was given.
16738if test "${enable_libstdcxx_allocator+set}" = set; then :
16739  enableval=$enable_libstdcxx_allocator;
16740      case "$enableval" in
16741       new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16742       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16743	  	        esac
16744
16745else
16746  enable_libstdcxx_allocator=auto
16747fi
16748
16749
16750
16751  # If they didn't use this option switch, or if they specified --enable
16752  # with no specific model, we'll have to look for one.  If they
16753  # specified --disable (???), do likewise.
16754  if test $enable_libstdcxx_allocator = no ||
16755     test $enable_libstdcxx_allocator = yes;
16756  then
16757     enable_libstdcxx_allocator=auto
16758  fi
16759
16760  # Either a known package, or "auto". Auto implies the default choice
16761  # for a particular platform.
16762  enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16763
16764  # Probe for host-specific support if no specific model is specified.
16765  # Default to "new".
16766  if test $enable_libstdcxx_allocator_flag = auto; then
16767    case ${target_os} in
16768      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16769	enable_libstdcxx_allocator_flag=new
16770	;;
16771      *)
16772	enable_libstdcxx_allocator_flag=new
16773	;;
16774    esac
16775  fi
16776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16777$as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16778
16779
16780  # Set configure bits for specified locale package
16781  case ${enable_libstdcxx_allocator_flag} in
16782    bitmap)
16783      ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16784      ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16785      ;;
16786    malloc)
16787      ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16788      ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16789      ;;
16790    mt)
16791      ALLOCATOR_H=config/allocator/mt_allocator_base.h
16792      ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16793      ;;
16794    new)
16795      ALLOCATOR_H=config/allocator/new_allocator_base.h
16796      ALLOCATOR_NAME=__gnu_cxx::new_allocator
16797      ;;
16798    pool)
16799      ALLOCATOR_H=config/allocator/pool_allocator_base.h
16800      ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16801      ;;
16802  esac
16803
16804
16805
16806
16807
16808
16809   # Check whether --enable-cheaders was given.
16810if test "${enable_cheaders+set}" = set; then :
16811  enableval=$enable_cheaders;
16812      case "$enableval" in
16813       c|c_std|c_global) ;;
16814       *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16815	  	        esac
16816
16817else
16818  enable_cheaders=$c_model
16819fi
16820
16821
16822  { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16823$as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16824
16825  C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16826
16827  # Allow overrides to configure.host here.
16828  if test $enable_cheaders = c_global; then
16829     c_compatibility=yes
16830  fi
16831
16832
16833
16834
16835
16836
16837
16838   # Check whether --enable-long-long was given.
16839if test "${enable_long_long+set}" = set; then :
16840  enableval=$enable_long_long;
16841      case "$enableval" in
16842       yes|no) ;;
16843       *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16844      esac
16845
16846else
16847  enable_long_long=yes
16848fi
16849
16850
16851  if test $enable_long_long = yes; then
16852
16853$as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16854
16855  fi
16856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16857$as_echo_n "checking for enabled long long specializations... " >&6; }
16858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16859$as_echo "$enable_long_long" >&6; }
16860
16861
16862   # Check whether --enable-wchar_t was given.
16863if test "${enable_wchar_t+set}" = set; then :
16864  enableval=$enable_wchar_t;
16865      case "$enableval" in
16866       yes|no) ;;
16867       *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16868      esac
16869
16870else
16871  enable_wchar_t=yes
16872fi
16873
16874
16875
16876  # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16877  for ac_header in wchar.h
16878do :
16879  ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16880if test "x$ac_cv_header_wchar_h" = xyes; then :
16881  cat >>confdefs.h <<_ACEOF
16882#define HAVE_WCHAR_H 1
16883_ACEOF
16884 ac_has_wchar_h=yes
16885else
16886  ac_has_wchar_h=no
16887fi
16888
16889done
16890
16891  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16892$as_echo_n "checking for mbstate_t... " >&6; }
16893  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16894/* end confdefs.h.  */
16895#include <wchar.h>
16896int
16897main ()
16898{
16899mbstate_t teststate;
16900  ;
16901  return 0;
16902}
16903_ACEOF
16904if ac_fn_c_try_compile "$LINENO"; then :
16905  have_mbstate_t=yes
16906else
16907  have_mbstate_t=no
16908fi
16909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16911$as_echo "$have_mbstate_t" >&6; }
16912  if test x"$have_mbstate_t" = xyes; then
16913
16914$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16915
16916  fi
16917
16918  # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16919  # ac_has_wchar_h.
16920  for ac_header in wctype.h
16921do :
16922  ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16923if test "x$ac_cv_header_wctype_h" = xyes; then :
16924  cat >>confdefs.h <<_ACEOF
16925#define HAVE_WCTYPE_H 1
16926_ACEOF
16927 ac_has_wctype_h=yes
16928else
16929  ac_has_wctype_h=no
16930fi
16931
16932done
16933
16934
16935  if test x"$enable_wchar_t" = x"yes"; then
16936
16937
16938    ac_ext=cpp
16939ac_cpp='$CXXCPP $CPPFLAGS'
16940ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16941ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16942ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16943
16944
16945    if test x"$ac_has_wchar_h" = xyes &&
16946       test x"$ac_has_wctype_h" = xyes; then
16947      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948/* end confdefs.h.  */
16949#include <wchar.h>
16950		      #include <stddef.h>
16951		      wint_t i;
16952		      long l = WEOF;
16953		      long j = WCHAR_MIN;
16954		      long k = WCHAR_MAX;
16955		      namespace test
16956		      {
16957			using ::btowc;
16958			using ::fgetwc;
16959			using ::fgetws;
16960			using ::fputwc;
16961			using ::fputws;
16962			using ::fwide;
16963			using ::fwprintf;
16964			using ::fwscanf;
16965			using ::getwc;
16966			using ::getwchar;
16967 			using ::mbrlen;
16968			using ::mbrtowc;
16969			using ::mbsinit;
16970			using ::mbsrtowcs;
16971			using ::putwc;
16972			using ::putwchar;
16973			using ::swprintf;
16974			using ::swscanf;
16975			using ::ungetwc;
16976			using ::vfwprintf;
16977			using ::vswprintf;
16978			using ::vwprintf;
16979			using ::wcrtomb;
16980			using ::wcscat;
16981			using ::wcschr;
16982			using ::wcscmp;
16983			using ::wcscoll;
16984			using ::wcscpy;
16985			using ::wcscspn;
16986			using ::wcsftime;
16987			using ::wcslen;
16988			using ::wcsncat;
16989			using ::wcsncmp;
16990			using ::wcsncpy;
16991			using ::wcspbrk;
16992			using ::wcsrchr;
16993			using ::wcsrtombs;
16994			using ::wcsspn;
16995			using ::wcsstr;
16996			using ::wcstod;
16997			using ::wcstok;
16998			using ::wcstol;
16999			using ::wcstoul;
17000			using ::wcsxfrm;
17001			using ::wctob;
17002			using ::wmemchr;
17003			using ::wmemcmp;
17004			using ::wmemcpy;
17005			using ::wmemmove;
17006			using ::wmemset;
17007			using ::wprintf;
17008			using ::wscanf;
17009		      }
17010
17011int
17012main ()
17013{
17014
17015  ;
17016  return 0;
17017}
17018_ACEOF
17019if ac_fn_cxx_try_compile "$LINENO"; then :
17020
17021else
17022  enable_wchar_t=no
17023fi
17024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025    else
17026      enable_wchar_t=no
17027    fi
17028
17029    ac_ext=c
17030ac_cpp='$CPP $CPPFLAGS'
17031ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17032ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17033ac_compiler_gnu=$ac_cv_c_compiler_gnu
17034
17035  fi
17036
17037  if test x"$enable_wchar_t" = x"yes"; then
17038
17039$as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17040
17041  fi
17042
17043  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17044$as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17046$as_echo "$enable_wchar_t" >&6; }
17047
17048
17049
17050   # Check whether --enable-c99 was given.
17051if test "${enable_c99+set}" = set; then :
17052  enableval=$enable_c99;
17053      case "$enableval" in
17054       yes|no) ;;
17055       *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17056      esac
17057
17058else
17059  enable_c99=yes
17060fi
17061
17062
17063
17064  if test x"$enable_c99" = x"yes"; then
17065
17066    ac_ext=cpp
17067ac_cpp='$CXXCPP $CPPFLAGS'
17068ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17069ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17070ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17071
17072
17073    # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17074    # undefined may cause fake C99 facilities, like pre-standard snprintf,
17075    # to be spuriously enabled.
17076    ac_save_CXXFLAGS="$CXXFLAGS"
17077    CXXFLAGS="$CXXFLAGS -std=c++98"
17078    ac_save_LIBS="$LIBS"
17079    ac_save_gcc_no_link="$gcc_no_link"
17080
17081    if test x$gcc_no_link != xyes; then
17082      # Use -fno-exceptions to that the C driver can link these tests without
17083      # hitting undefined references to personality routines.
17084      CXXFLAGS="$CXXFLAGS -fno-exceptions"
17085      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17086$as_echo_n "checking for sin in -lm... " >&6; }
17087if ${ac_cv_lib_m_sin+:} false; then :
17088  $as_echo_n "(cached) " >&6
17089else
17090  ac_check_lib_save_LIBS=$LIBS
17091LIBS="-lm  $LIBS"
17092if test x$gcc_no_link = xyes; then
17093  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17094fi
17095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17096/* end confdefs.h.  */
17097
17098/* Override any GCC internal prototype to avoid an error.
17099   Use char because int might match the return type of a GCC
17100   builtin and then its argument prototype would still apply.  */
17101#ifdef __cplusplus
17102extern "C"
17103#endif
17104char sin ();
17105int
17106main ()
17107{
17108return sin ();
17109  ;
17110  return 0;
17111}
17112_ACEOF
17113if ac_fn_cxx_try_link "$LINENO"; then :
17114  ac_cv_lib_m_sin=yes
17115else
17116  ac_cv_lib_m_sin=no
17117fi
17118rm -f core conftest.err conftest.$ac_objext \
17119    conftest$ac_exeext conftest.$ac_ext
17120LIBS=$ac_check_lib_save_LIBS
17121fi
17122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17123$as_echo "$ac_cv_lib_m_sin" >&6; }
17124if test "x$ac_cv_lib_m_sin" = xyes; then :
17125  LIBS="$LIBS -lm"
17126else
17127
17128        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17129        gcc_no_link=yes
17130
17131fi
17132
17133    fi
17134
17135    # Check for the existence of <math.h> functions used if C99 is enabled.
17136    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17137$as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17138    if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17139  $as_echo_n "(cached) " >&6
17140else
17141
17142      if test x$gcc_no_link = xyes; then
17143  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144/* end confdefs.h.  */
17145#include <math.h>
17146         volatile double d1, d2;
17147         volatile int i;
17148int
17149main ()
17150{
17151i = fpclassify(d1);
17152         i = isfinite(d1);
17153         i = isinf(d1);
17154         i = isnan(d1);
17155         i = isnormal(d1);
17156         i = signbit(d1);
17157         i = isgreater(d1, d2);
17158         i = isgreaterequal(d1, d2);
17159         i = isless(d1, d2);
17160         i = islessequal(d1, d2);
17161         i = islessgreater(d1, d2);
17162         i = islessgreater(d1, d2);
17163         i = isunordered(d1, d2);
17164
17165  ;
17166  return 0;
17167}
17168_ACEOF
17169if ac_fn_cxx_try_compile "$LINENO"; then :
17170  glibcxx_cv_c99_math_cxx98=yes
17171else
17172  glibcxx_cv_c99_math_cxx98=no
17173fi
17174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17175else
17176  if test x$gcc_no_link = xyes; then
17177  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17178fi
17179cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180/* end confdefs.h.  */
17181#include <math.h>
17182         volatile double d1, d2;
17183         volatile int i;
17184int
17185main ()
17186{
17187i = fpclassify(d1);
17188         i = isfinite(d1);
17189         i = isinf(d1);
17190         i = isnan(d1);
17191         i = isnormal(d1);
17192         i = signbit(d1);
17193         i = isgreater(d1, d2);
17194         i = isgreaterequal(d1, d2);
17195         i = isless(d1, d2);
17196         i = islessequal(d1, d2);
17197         i = islessgreater(d1, d2);
17198         i = islessgreater(d1, d2);
17199         i = isunordered(d1, d2);
17200
17201  ;
17202  return 0;
17203}
17204_ACEOF
17205if ac_fn_cxx_try_link "$LINENO"; then :
17206  glibcxx_cv_c99_math_cxx98=yes
17207else
17208  glibcxx_cv_c99_math_cxx98=no
17209fi
17210rm -f core conftest.err conftest.$ac_objext \
17211    conftest$ac_exeext conftest.$ac_ext
17212fi
17213
17214fi
17215
17216    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17217$as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17218    if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17219
17220$as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17221
17222    fi
17223
17224    # Check for the existence of <complex.h> complex math functions.
17225    # This is necessary even though libstdc++ uses the builtin versions
17226    # of these functions, because if the builtin cannot be used, a reference
17227    # to the library function is emitted.
17228    for ac_header in tgmath.h
17229do :
17230  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17231if test "x$ac_cv_header_tgmath_h" = xyes; then :
17232  cat >>confdefs.h <<_ACEOF
17233#define HAVE_TGMATH_H 1
17234_ACEOF
17235 ac_has_tgmath_h=yes
17236else
17237  ac_has_tgmath_h=no
17238fi
17239
17240done
17241
17242    for ac_header in complex.h
17243do :
17244  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17245if test "x$ac_cv_header_complex_h" = xyes; then :
17246  cat >>confdefs.h <<_ACEOF
17247#define HAVE_COMPLEX_H 1
17248_ACEOF
17249 ac_has_complex_h=yes
17250else
17251  ac_has_complex_h=no
17252fi
17253
17254done
17255
17256    if test x"$ac_has_complex_h" = x"yes"; then
17257      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17258$as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17259      if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17260  $as_echo_n "(cached) " >&6
17261else
17262
17263        if test x$gcc_no_link = xyes; then
17264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265/* end confdefs.h.  */
17266#include <complex.h>
17267           typedef __complex__ float float_type;
17268           typedef __complex__ double double_type;
17269           typedef __complex__ long double ld_type;
17270           volatile float_type tmpf;
17271           volatile double_type tmpd;
17272           volatile ld_type tmpld;
17273           volatile float f;
17274           volatile double d;
17275           volatile long double ld;
17276int
17277main ()
17278{
17279f = cabsf(tmpf);
17280           f = cargf(tmpf);
17281           tmpf = ccosf(tmpf);
17282           tmpf = ccoshf(tmpf);
17283           tmpf = cexpf(tmpf);
17284           tmpf = clogf(tmpf);
17285           tmpf = csinf(tmpf);
17286           tmpf = csinhf(tmpf);
17287           tmpf = csqrtf(tmpf);
17288           tmpf = ctanf(tmpf);
17289           tmpf = ctanhf(tmpf);
17290           tmpf = cpowf(tmpf, tmpf);
17291           tmpf = cprojf(tmpf);
17292           d = cabs(tmpd);
17293           d = carg(tmpd);
17294           tmpd = ccos(tmpd);
17295           tmpd = ccosh(tmpd);
17296           tmpd = cexp(tmpd);
17297           tmpd = clog(tmpd);
17298           tmpd = csin(tmpd);
17299           tmpd = csinh(tmpd);
17300           tmpd = csqrt(tmpd);
17301           tmpd = ctan(tmpd);
17302           tmpd = ctanh(tmpd);
17303           tmpd = cpow(tmpd, tmpd);
17304           tmpd = cproj(tmpd);
17305           ld = cabsl(tmpld);
17306           ld = cargl(tmpld);
17307           tmpld = ccosl(tmpld);
17308           tmpld = ccoshl(tmpld);
17309           tmpld = cexpl(tmpld);
17310           tmpld = clogl(tmpld);
17311           tmpld = csinl(tmpld);
17312           tmpld = csinhl(tmpld);
17313           tmpld = csqrtl(tmpld);
17314           tmpld = ctanl(tmpld);
17315           tmpld = ctanhl(tmpld);
17316           tmpld = cpowl(tmpld, tmpld);
17317           tmpld = cprojl(tmpld);
17318
17319  ;
17320  return 0;
17321}
17322_ACEOF
17323if ac_fn_cxx_try_compile "$LINENO"; then :
17324  glibcxx_cv_c99_complex_cxx98=yes
17325else
17326  glibcxx_cv_c99_complex_cxx98=no
17327fi
17328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329else
17330  if test x$gcc_no_link = xyes; then
17331  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17332fi
17333cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334/* end confdefs.h.  */
17335#include <complex.h>
17336           typedef __complex__ float float_type;
17337           typedef __complex__ double double_type;
17338           typedef __complex__ long double ld_type;
17339           volatile float_type tmpf;
17340           volatile double_type tmpd;
17341           volatile ld_type tmpld;
17342           volatile float f;
17343           volatile double d;
17344           volatile long double ld;
17345int
17346main ()
17347{
17348f = cabsf(tmpf);
17349           f = cargf(tmpf);
17350           tmpf = ccosf(tmpf);
17351           tmpf = ccoshf(tmpf);
17352           tmpf = cexpf(tmpf);
17353           tmpf = clogf(tmpf);
17354           tmpf = csinf(tmpf);
17355           tmpf = csinhf(tmpf);
17356           tmpf = csqrtf(tmpf);
17357           tmpf = ctanf(tmpf);
17358           tmpf = ctanhf(tmpf);
17359           tmpf = cpowf(tmpf, tmpf);
17360           tmpf = cprojf(tmpf);
17361           d = cabs(tmpd);
17362           d = carg(tmpd);
17363           tmpd = ccos(tmpd);
17364           tmpd = ccosh(tmpd);
17365           tmpd = cexp(tmpd);
17366           tmpd = clog(tmpd);
17367           tmpd = csin(tmpd);
17368           tmpd = csinh(tmpd);
17369           tmpd = csqrt(tmpd);
17370           tmpd = ctan(tmpd);
17371           tmpd = ctanh(tmpd);
17372           tmpd = cpow(tmpd, tmpd);
17373           tmpd = cproj(tmpd);
17374           ld = cabsl(tmpld);
17375           ld = cargl(tmpld);
17376           tmpld = ccosl(tmpld);
17377           tmpld = ccoshl(tmpld);
17378           tmpld = cexpl(tmpld);
17379           tmpld = clogl(tmpld);
17380           tmpld = csinl(tmpld);
17381           tmpld = csinhl(tmpld);
17382           tmpld = csqrtl(tmpld);
17383           tmpld = ctanl(tmpld);
17384           tmpld = ctanhl(tmpld);
17385           tmpld = cpowl(tmpld, tmpld);
17386           tmpld = cprojl(tmpld);
17387
17388  ;
17389  return 0;
17390}
17391_ACEOF
17392if ac_fn_cxx_try_link "$LINENO"; then :
17393  glibcxx_cv_c99_complex_cxx98=yes
17394else
17395  glibcxx_cv_c99_complex_cxx98=no
17396fi
17397rm -f core conftest.err conftest.$ac_objext \
17398    conftest$ac_exeext conftest.$ac_ext
17399fi
17400
17401fi
17402
17403    fi
17404    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17405$as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17406    if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17407
17408$as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17409
17410    fi
17411
17412    # Check for the existence in <stdio.h> of vscanf, et. al.
17413    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17414$as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17415    if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17416  $as_echo_n "(cached) " >&6
17417else
17418
17419      if test x$gcc_no_link = xyes; then
17420  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17421/* end confdefs.h.  */
17422#include <stdio.h>
17423         #include <stdarg.h>
17424         void foo(char* fmt, ...)
17425         {
17426           va_list args; va_start(args, fmt);
17427           vfscanf(stderr, "%i", args);
17428           vscanf("%i", args);
17429           vsnprintf(fmt, 0, "%i", args);
17430           vsscanf(fmt, "%i", args);
17431           snprintf(fmt, 0, "%i");
17432         }
17433int
17434main ()
17435{
17436
17437  ;
17438  return 0;
17439}
17440_ACEOF
17441if ac_fn_cxx_try_compile "$LINENO"; then :
17442  glibcxx_cv_c99_stdio_cxx98=yes
17443else
17444  glibcxx_cv_c99_stdio_cxx98=no
17445fi
17446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17447else
17448  if test x$gcc_no_link = xyes; then
17449  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17450fi
17451cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452/* end confdefs.h.  */
17453#include <stdio.h>
17454         #include <stdarg.h>
17455         void foo(char* fmt, ...)
17456         {
17457           va_list args; va_start(args, fmt);
17458           vfscanf(stderr, "%i", args);
17459           vscanf("%i", args);
17460           vsnprintf(fmt, 0, "%i", args);
17461           vsscanf(fmt, "%i", args);
17462           snprintf(fmt, 0, "%i");
17463         }
17464int
17465main ()
17466{
17467
17468  ;
17469  return 0;
17470}
17471_ACEOF
17472if ac_fn_cxx_try_link "$LINENO"; then :
17473  glibcxx_cv_c99_stdio_cxx98=yes
17474else
17475  glibcxx_cv_c99_stdio_cxx98=no
17476fi
17477rm -f core conftest.err conftest.$ac_objext \
17478    conftest$ac_exeext conftest.$ac_ext
17479fi
17480
17481fi
17482
17483    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17484$as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17485    if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17486
17487$as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17488
17489    fi
17490
17491    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17492    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17493$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17494    if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17495  $as_echo_n "(cached) " >&6
17496else
17497
17498      if test x$gcc_no_link = xyes; then
17499  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500/* end confdefs.h.  */
17501#include <stdlib.h>
17502         volatile float f;
17503         volatile long double ld;
17504         volatile unsigned long long ll;
17505         lldiv_t mydivt;
17506int
17507main ()
17508{
17509char* tmp;
17510         f = strtof("gnu", &tmp);
17511         ld = strtold("gnu", &tmp);
17512         ll = strtoll("gnu", &tmp, 10);
17513         ll = strtoull("gnu", &tmp, 10);
17514         ll = llabs(10);
17515         mydivt = lldiv(10,1);
17516         ll = mydivt.quot;
17517         ll = mydivt.rem;
17518         ll = atoll("10");
17519         _Exit(0);
17520
17521  ;
17522  return 0;
17523}
17524_ACEOF
17525if ac_fn_cxx_try_compile "$LINENO"; then :
17526  glibcxx_cv_c99_stdlib_cxx98=yes
17527else
17528  glibcxx_cv_c99_stdlib_cxx98=no
17529fi
17530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17531else
17532  if test x$gcc_no_link = xyes; then
17533  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17534fi
17535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536/* end confdefs.h.  */
17537#include <stdlib.h>
17538         volatile float f;
17539         volatile long double ld;
17540         volatile unsigned long long ll;
17541         lldiv_t mydivt;
17542int
17543main ()
17544{
17545char* tmp;
17546         f = strtof("gnu", &tmp);
17547         ld = strtold("gnu", &tmp);
17548         ll = strtoll("gnu", &tmp, 10);
17549         ll = strtoull("gnu", &tmp, 10);
17550         ll = llabs(10);
17551         mydivt = lldiv(10,1);
17552         ll = mydivt.quot;
17553         ll = mydivt.rem;
17554         ll = atoll("10");
17555         _Exit(0);
17556
17557  ;
17558  return 0;
17559}
17560_ACEOF
17561if ac_fn_cxx_try_link "$LINENO"; then :
17562  glibcxx_cv_c99_stdlib_cxx98=yes
17563else
17564  glibcxx_cv_c99_stdlib_cxx98=no
17565fi
17566rm -f core conftest.err conftest.$ac_objext \
17567    conftest$ac_exeext conftest.$ac_ext
17568fi
17569
17570fi
17571
17572    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17573$as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17574    if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17575
17576$as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17577
17578    fi
17579
17580    # Check for the existence in <wchar.h> of wcstold, etc.
17581    if test x"$ac_has_wchar_h" = xyes &&
17582       test x"$ac_has_wctype_h" = xyes; then
17583      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17584$as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17585      if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17586  $as_echo_n "(cached) " >&6
17587else
17588
17589        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590/* end confdefs.h.  */
17591#include <wchar.h>
17592          namespace test
17593          {
17594            using ::wcstold;
17595            using ::wcstoll;
17596            using ::wcstoull;
17597          }
17598
17599int
17600main ()
17601{
17602
17603  ;
17604  return 0;
17605}
17606_ACEOF
17607if ac_fn_cxx_try_compile "$LINENO"; then :
17608  glibcxx_cv_c99_wchar_cxx98=yes
17609else
17610  glibcxx_cv_c99_wchar_cxx98=no
17611fi
17612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613
17614fi
17615
17616
17617      # Checks for wide character functions that may not be present.
17618      # Injection of these is wrapped with guard macros.
17619      # NB: only put functions here, instead of immediately above, if
17620      # absolutely necessary.
17621      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622/* end confdefs.h.  */
17623#include <wchar.h>
17624        namespace test { using ::vfwscanf; }
17625int
17626main ()
17627{
17628
17629  ;
17630  return 0;
17631}
17632_ACEOF
17633if ac_fn_cxx_try_compile "$LINENO"; then :
17634
17635$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17636
17637fi
17638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17639
17640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641/* end confdefs.h.  */
17642#include <wchar.h>
17643        namespace test { using ::vswscanf; }
17644int
17645main ()
17646{
17647
17648  ;
17649  return 0;
17650}
17651_ACEOF
17652if ac_fn_cxx_try_compile "$LINENO"; then :
17653
17654$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17655
17656fi
17657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658
17659      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660/* end confdefs.h.  */
17661#include <wchar.h>
17662        namespace test { using ::vwscanf; }
17663int
17664main ()
17665{
17666
17667  ;
17668  return 0;
17669}
17670_ACEOF
17671if ac_fn_cxx_try_compile "$LINENO"; then :
17672
17673$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17674
17675fi
17676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677
17678      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17679/* end confdefs.h.  */
17680#include <wchar.h>
17681        namespace test { using ::wcstof; }
17682int
17683main ()
17684{
17685
17686  ;
17687  return 0;
17688}
17689_ACEOF
17690if ac_fn_cxx_try_compile "$LINENO"; then :
17691
17692$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17693
17694fi
17695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17696
17697      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698/* end confdefs.h.  */
17699#include <wctype.h>
17700int
17701main ()
17702{
17703wint_t t; int i = iswblank(t);
17704  ;
17705  return 0;
17706}
17707_ACEOF
17708if ac_fn_cxx_try_compile "$LINENO"; then :
17709
17710$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17711
17712fi
17713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17714
17715      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17716$as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17717      if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17718
17719$as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17720
17721      fi
17722    fi
17723
17724    # Option parsed, now set things appropriately.
17725    if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17726       test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17727       test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17728       test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17729       test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17730      enable_c99=no;
17731    else
17732
17733$as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17734
17735    fi
17736
17737    gcc_no_link="$ac_save_gcc_no_link"
17738    LIBS="$ac_save_LIBS"
17739    CXXFLAGS="$ac_save_CXXFLAGS"
17740    ac_ext=c
17741ac_cpp='$CPP $CPPFLAGS'
17742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17744ac_compiler_gnu=$ac_cv_c_compiler_gnu
17745
17746
17747
17748    ac_ext=cpp
17749ac_cpp='$CXXCPP $CPPFLAGS'
17750ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17751ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17752ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17753
17754
17755    # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17756    # For the reasons given above we use -std=c++11 not -std=gnu++11.
17757    ac_save_CXXFLAGS="$CXXFLAGS"
17758    CXXFLAGS="$CXXFLAGS -std=c++11"
17759    ac_save_LIBS="$LIBS"
17760    ac_save_gcc_no_link="$gcc_no_link"
17761
17762    if test x$gcc_no_link != xyes; then
17763      # Use -fno-exceptions to that the C driver can link these tests without
17764      # hitting undefined references to personality routines.
17765      CXXFLAGS="$CXXFLAGS -fno-exceptions"
17766      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17767$as_echo_n "checking for sin in -lm... " >&6; }
17768if ${ac_cv_lib_m_sin+:} false; then :
17769  $as_echo_n "(cached) " >&6
17770else
17771  ac_check_lib_save_LIBS=$LIBS
17772LIBS="-lm  $LIBS"
17773if test x$gcc_no_link = xyes; then
17774  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17775fi
17776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17777/* end confdefs.h.  */
17778
17779/* Override any GCC internal prototype to avoid an error.
17780   Use char because int might match the return type of a GCC
17781   builtin and then its argument prototype would still apply.  */
17782#ifdef __cplusplus
17783extern "C"
17784#endif
17785char sin ();
17786int
17787main ()
17788{
17789return sin ();
17790  ;
17791  return 0;
17792}
17793_ACEOF
17794if ac_fn_cxx_try_link "$LINENO"; then :
17795  ac_cv_lib_m_sin=yes
17796else
17797  ac_cv_lib_m_sin=no
17798fi
17799rm -f core conftest.err conftest.$ac_objext \
17800    conftest$ac_exeext conftest.$ac_ext
17801LIBS=$ac_check_lib_save_LIBS
17802fi
17803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17804$as_echo "$ac_cv_lib_m_sin" >&6; }
17805if test "x$ac_cv_lib_m_sin" = xyes; then :
17806  LIBS="$LIBS -lm"
17807else
17808
17809        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17810        gcc_no_link=yes
17811
17812fi
17813
17814    fi
17815
17816    # Check for the existence of <math.h> functions used if C99 is enabled.
17817    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17818$as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17819    if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17820  $as_echo_n "(cached) " >&6
17821else
17822
17823      if test x$gcc_no_link = xyes; then
17824  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17825/* end confdefs.h.  */
17826#include <math.h>
17827         volatile double d1, d2;
17828         volatile int i;
17829int
17830main ()
17831{
17832i = fpclassify(d1);
17833         i = isfinite(d1);
17834         i = isinf(d1);
17835         i = isnan(d1);
17836         i = isnormal(d1);
17837         i = signbit(d1);
17838         i = isgreater(d1, d2);
17839         i = isgreaterequal(d1, d2);
17840         i = isless(d1, d2);
17841         i = islessequal(d1, d2);
17842         i = islessgreater(d1, d2);
17843         i = islessgreater(d1, d2);
17844         i = isunordered(d1, d2);
17845
17846  ;
17847  return 0;
17848}
17849_ACEOF
17850if ac_fn_cxx_try_compile "$LINENO"; then :
17851  glibcxx_cv_c99_math_cxx11=yes
17852else
17853  glibcxx_cv_c99_math_cxx11=no
17854fi
17855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856else
17857  if test x$gcc_no_link = xyes; then
17858  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17859fi
17860cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861/* end confdefs.h.  */
17862#include <math.h>
17863         volatile double d1, d2;
17864         volatile int i;
17865int
17866main ()
17867{
17868i = fpclassify(d1);
17869         i = isfinite(d1);
17870         i = isinf(d1);
17871         i = isnan(d1);
17872         i = isnormal(d1);
17873         i = signbit(d1);
17874         i = isgreater(d1, d2);
17875         i = isgreaterequal(d1, d2);
17876         i = isless(d1, d2);
17877         i = islessequal(d1, d2);
17878         i = islessgreater(d1, d2);
17879         i = islessgreater(d1, d2);
17880         i = isunordered(d1, d2);
17881
17882  ;
17883  return 0;
17884}
17885_ACEOF
17886if ac_fn_cxx_try_link "$LINENO"; then :
17887  glibcxx_cv_c99_math_cxx11=yes
17888else
17889  glibcxx_cv_c99_math_cxx11=no
17890fi
17891rm -f core conftest.err conftest.$ac_objext \
17892    conftest$ac_exeext conftest.$ac_ext
17893fi
17894
17895fi
17896
17897    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17898$as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17899    if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17900
17901$as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17902
17903    fi
17904
17905    # Check for the existence of <complex.h> complex math functions.
17906    # This is necessary even though libstdc++ uses the builtin versions
17907    # of these functions, because if the builtin cannot be used, a reference
17908    # to the library function is emitted.
17909    for ac_header in tgmath.h
17910do :
17911  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17912if test "x$ac_cv_header_tgmath_h" = xyes; then :
17913  cat >>confdefs.h <<_ACEOF
17914#define HAVE_TGMATH_H 1
17915_ACEOF
17916 ac_has_tgmath_h=yes
17917else
17918  ac_has_tgmath_h=no
17919fi
17920
17921done
17922
17923    for ac_header in complex.h
17924do :
17925  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17926if test "x$ac_cv_header_complex_h" = xyes; then :
17927  cat >>confdefs.h <<_ACEOF
17928#define HAVE_COMPLEX_H 1
17929_ACEOF
17930 ac_has_complex_h=yes
17931else
17932  ac_has_complex_h=no
17933fi
17934
17935done
17936
17937    if test x"$ac_has_complex_h" = x"yes"; then
17938      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17939$as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17940      if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17941  $as_echo_n "(cached) " >&6
17942else
17943
17944        if test x$gcc_no_link = xyes; then
17945  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17946/* end confdefs.h.  */
17947#include <complex.h>
17948           typedef __complex__ float float_type;
17949           typedef __complex__ double double_type;
17950           typedef __complex__ long double ld_type;
17951           volatile float_type tmpf;
17952           volatile double_type tmpd;
17953           volatile ld_type tmpld;
17954           volatile float f;
17955           volatile double d;
17956           volatile long double ld;
17957int
17958main ()
17959{
17960f = cabsf(tmpf);
17961           f = cargf(tmpf);
17962           tmpf = ccosf(tmpf);
17963           tmpf = ccoshf(tmpf);
17964           tmpf = cexpf(tmpf);
17965           tmpf = clogf(tmpf);
17966           tmpf = csinf(tmpf);
17967           tmpf = csinhf(tmpf);
17968           tmpf = csqrtf(tmpf);
17969           tmpf = ctanf(tmpf);
17970           tmpf = ctanhf(tmpf);
17971           tmpf = cpowf(tmpf, tmpf);
17972           tmpf = cprojf(tmpf);
17973           d = cabs(tmpd);
17974           d = carg(tmpd);
17975           tmpd = ccos(tmpd);
17976           tmpd = ccosh(tmpd);
17977           tmpd = cexp(tmpd);
17978           tmpd = clog(tmpd);
17979           tmpd = csin(tmpd);
17980           tmpd = csinh(tmpd);
17981           tmpd = csqrt(tmpd);
17982           tmpd = ctan(tmpd);
17983           tmpd = ctanh(tmpd);
17984           tmpd = cpow(tmpd, tmpd);
17985           tmpd = cproj(tmpd);
17986           ld = cabsl(tmpld);
17987           ld = cargl(tmpld);
17988           tmpld = ccosl(tmpld);
17989           tmpld = ccoshl(tmpld);
17990           tmpld = cexpl(tmpld);
17991           tmpld = clogl(tmpld);
17992           tmpld = csinl(tmpld);
17993           tmpld = csinhl(tmpld);
17994           tmpld = csqrtl(tmpld);
17995           tmpld = ctanl(tmpld);
17996           tmpld = ctanhl(tmpld);
17997           tmpld = cpowl(tmpld, tmpld);
17998           tmpld = cprojl(tmpld);
17999
18000  ;
18001  return 0;
18002}
18003_ACEOF
18004if ac_fn_cxx_try_compile "$LINENO"; then :
18005  glibcxx_cv_c99_complex_cxx11=yes
18006else
18007  glibcxx_cv_c99_complex_cxx11=no
18008fi
18009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18010else
18011  if test x$gcc_no_link = xyes; then
18012  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18013fi
18014cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18015/* end confdefs.h.  */
18016#include <complex.h>
18017           typedef __complex__ float float_type;
18018           typedef __complex__ double double_type;
18019           typedef __complex__ long double ld_type;
18020           volatile float_type tmpf;
18021           volatile double_type tmpd;
18022           volatile ld_type tmpld;
18023           volatile float f;
18024           volatile double d;
18025           volatile long double ld;
18026int
18027main ()
18028{
18029f = cabsf(tmpf);
18030           f = cargf(tmpf);
18031           tmpf = ccosf(tmpf);
18032           tmpf = ccoshf(tmpf);
18033           tmpf = cexpf(tmpf);
18034           tmpf = clogf(tmpf);
18035           tmpf = csinf(tmpf);
18036           tmpf = csinhf(tmpf);
18037           tmpf = csqrtf(tmpf);
18038           tmpf = ctanf(tmpf);
18039           tmpf = ctanhf(tmpf);
18040           tmpf = cpowf(tmpf, tmpf);
18041           tmpf = cprojf(tmpf);
18042           d = cabs(tmpd);
18043           d = carg(tmpd);
18044           tmpd = ccos(tmpd);
18045           tmpd = ccosh(tmpd);
18046           tmpd = cexp(tmpd);
18047           tmpd = clog(tmpd);
18048           tmpd = csin(tmpd);
18049           tmpd = csinh(tmpd);
18050           tmpd = csqrt(tmpd);
18051           tmpd = ctan(tmpd);
18052           tmpd = ctanh(tmpd);
18053           tmpd = cpow(tmpd, tmpd);
18054           tmpd = cproj(tmpd);
18055           ld = cabsl(tmpld);
18056           ld = cargl(tmpld);
18057           tmpld = ccosl(tmpld);
18058           tmpld = ccoshl(tmpld);
18059           tmpld = cexpl(tmpld);
18060           tmpld = clogl(tmpld);
18061           tmpld = csinl(tmpld);
18062           tmpld = csinhl(tmpld);
18063           tmpld = csqrtl(tmpld);
18064           tmpld = ctanl(tmpld);
18065           tmpld = ctanhl(tmpld);
18066           tmpld = cpowl(tmpld, tmpld);
18067           tmpld = cprojl(tmpld);
18068
18069  ;
18070  return 0;
18071}
18072_ACEOF
18073if ac_fn_cxx_try_link "$LINENO"; then :
18074  glibcxx_cv_c99_complex_cxx11=yes
18075else
18076  glibcxx_cv_c99_complex_cxx11=no
18077fi
18078rm -f core conftest.err conftest.$ac_objext \
18079    conftest$ac_exeext conftest.$ac_ext
18080fi
18081
18082fi
18083
18084    fi
18085    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18086$as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18087    if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18088
18089$as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18090
18091    fi
18092
18093    # Check for the existence in <stdio.h> of vscanf, et. al.
18094    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18095$as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18096    if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18097  $as_echo_n "(cached) " >&6
18098else
18099
18100      if test x$gcc_no_link = xyes; then
18101  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18102/* end confdefs.h.  */
18103#include <stdio.h>
18104         #include <stdarg.h>
18105         void foo(char* fmt, ...)
18106         {
18107           va_list args; va_start(args, fmt);
18108           vfscanf(stderr, "%i", args);
18109           vscanf("%i", args);
18110           vsnprintf(fmt, 0, "%i", args);
18111           vsscanf(fmt, "%i", args);
18112           snprintf(fmt, 0, "%i");
18113         }
18114int
18115main ()
18116{
18117
18118  ;
18119  return 0;
18120}
18121_ACEOF
18122if ac_fn_cxx_try_compile "$LINENO"; then :
18123  glibcxx_cv_c99_stdio_cxx11=yes
18124else
18125  glibcxx_cv_c99_stdio_cxx11=no
18126fi
18127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18128else
18129  if test x$gcc_no_link = xyes; then
18130  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18131fi
18132cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18133/* end confdefs.h.  */
18134#include <stdio.h>
18135         #include <stdarg.h>
18136         void foo(char* fmt, ...)
18137         {
18138           va_list args; va_start(args, fmt);
18139           vfscanf(stderr, "%i", args);
18140           vscanf("%i", args);
18141           vsnprintf(fmt, 0, "%i", args);
18142           vsscanf(fmt, "%i", args);
18143           snprintf(fmt, 0, "%i");
18144         }
18145int
18146main ()
18147{
18148
18149  ;
18150  return 0;
18151}
18152_ACEOF
18153if ac_fn_cxx_try_link "$LINENO"; then :
18154  glibcxx_cv_c99_stdio_cxx11=yes
18155else
18156  glibcxx_cv_c99_stdio_cxx11=no
18157fi
18158rm -f core conftest.err conftest.$ac_objext \
18159    conftest$ac_exeext conftest.$ac_ext
18160fi
18161
18162fi
18163
18164    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18165$as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18166    if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18167
18168$as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18169
18170    fi
18171
18172    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18173    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18174$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18175    if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18176  $as_echo_n "(cached) " >&6
18177else
18178
18179      if test x$gcc_no_link = xyes; then
18180  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18181/* end confdefs.h.  */
18182#include <stdlib.h>
18183         volatile float f;
18184         volatile long double ld;
18185         volatile unsigned long long ll;
18186         lldiv_t mydivt;
18187int
18188main ()
18189{
18190char* tmp;
18191         f = strtof("gnu", &tmp);
18192         ld = strtold("gnu", &tmp);
18193         ll = strtoll("gnu", &tmp, 10);
18194         ll = strtoull("gnu", &tmp, 10);
18195         ll = llabs(10);
18196         mydivt = lldiv(10,1);
18197         ll = mydivt.quot;
18198         ll = mydivt.rem;
18199         ll = atoll("10");
18200         _Exit(0);
18201
18202  ;
18203  return 0;
18204}
18205_ACEOF
18206if ac_fn_cxx_try_compile "$LINENO"; then :
18207  glibcxx_cv_c99_stdlib_cxx11=yes
18208else
18209  glibcxx_cv_c99_stdlib_cxx11=no
18210fi
18211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18212else
18213  if test x$gcc_no_link = xyes; then
18214  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18215fi
18216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18217/* end confdefs.h.  */
18218#include <stdlib.h>
18219         volatile float f;
18220         volatile long double ld;
18221         volatile unsigned long long ll;
18222         lldiv_t mydivt;
18223int
18224main ()
18225{
18226char* tmp;
18227         f = strtof("gnu", &tmp);
18228         ld = strtold("gnu", &tmp);
18229         ll = strtoll("gnu", &tmp, 10);
18230         ll = strtoull("gnu", &tmp, 10);
18231         ll = llabs(10);
18232         mydivt = lldiv(10,1);
18233         ll = mydivt.quot;
18234         ll = mydivt.rem;
18235         ll = atoll("10");
18236         _Exit(0);
18237
18238  ;
18239  return 0;
18240}
18241_ACEOF
18242if ac_fn_cxx_try_link "$LINENO"; then :
18243  glibcxx_cv_c99_stdlib_cxx11=yes
18244else
18245  glibcxx_cv_c99_stdlib_cxx11=no
18246fi
18247rm -f core conftest.err conftest.$ac_objext \
18248    conftest$ac_exeext conftest.$ac_ext
18249fi
18250
18251fi
18252
18253    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18254$as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18255    if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18256
18257$as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18258
18259    fi
18260
18261    # Check for the existence in <wchar.h> of wcstold, etc.
18262    if test x"$ac_has_wchar_h" = xyes &&
18263       test x"$ac_has_wctype_h" = xyes; then
18264      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18265$as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18266      if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18267  $as_echo_n "(cached) " >&6
18268else
18269
18270        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271/* end confdefs.h.  */
18272#include <wchar.h>
18273          namespace test
18274          {
18275            using ::wcstold;
18276            using ::wcstoll;
18277            using ::wcstoull;
18278          }
18279
18280int
18281main ()
18282{
18283
18284  ;
18285  return 0;
18286}
18287_ACEOF
18288if ac_fn_cxx_try_compile "$LINENO"; then :
18289  glibcxx_cv_c99_wchar_cxx11=yes
18290else
18291  glibcxx_cv_c99_wchar_cxx11=no
18292fi
18293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294
18295fi
18296
18297
18298      # Checks for wide character functions that may not be present.
18299      # Injection of these is wrapped with guard macros.
18300      # NB: only put functions here, instead of immediately above, if
18301      # absolutely necessary.
18302      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18303/* end confdefs.h.  */
18304#include <wchar.h>
18305        namespace test { using ::vfwscanf; }
18306int
18307main ()
18308{
18309
18310  ;
18311  return 0;
18312}
18313_ACEOF
18314if ac_fn_cxx_try_compile "$LINENO"; then :
18315
18316$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18317
18318fi
18319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18320
18321      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322/* end confdefs.h.  */
18323#include <wchar.h>
18324        namespace test { using ::vswscanf; }
18325int
18326main ()
18327{
18328
18329  ;
18330  return 0;
18331}
18332_ACEOF
18333if ac_fn_cxx_try_compile "$LINENO"; then :
18334
18335$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18336
18337fi
18338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18339
18340      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18341/* end confdefs.h.  */
18342#include <wchar.h>
18343        namespace test { using ::vwscanf; }
18344int
18345main ()
18346{
18347
18348  ;
18349  return 0;
18350}
18351_ACEOF
18352if ac_fn_cxx_try_compile "$LINENO"; then :
18353
18354$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18355
18356fi
18357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18358
18359      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18360/* end confdefs.h.  */
18361#include <wchar.h>
18362        namespace test { using ::wcstof; }
18363int
18364main ()
18365{
18366
18367  ;
18368  return 0;
18369}
18370_ACEOF
18371if ac_fn_cxx_try_compile "$LINENO"; then :
18372
18373$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18374
18375fi
18376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377
18378      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18379/* end confdefs.h.  */
18380#include <wctype.h>
18381int
18382main ()
18383{
18384wint_t t; int i = iswblank(t);
18385  ;
18386  return 0;
18387}
18388_ACEOF
18389if ac_fn_cxx_try_compile "$LINENO"; then :
18390
18391$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18392
18393fi
18394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18395
18396      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18397$as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18398      if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18399
18400$as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18401
18402      fi
18403    fi
18404
18405    gcc_no_link="$ac_save_gcc_no_link"
18406    LIBS="$ac_save_LIBS"
18407    CXXFLAGS="$ac_save_CXXFLAGS"
18408    ac_ext=c
18409ac_cpp='$CPP $CPPFLAGS'
18410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18412ac_compiler_gnu=$ac_cv_c_compiler_gnu
18413
18414  fi
18415
18416  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18417$as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18419$as_echo "$enable_c99" >&6; }
18420
18421
18422   # Check whether --enable-concept-checks was given.
18423if test "${enable_concept_checks+set}" = set; then :
18424  enableval=$enable_concept_checks;
18425      case "$enableval" in
18426       yes|no) ;;
18427       *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18428      esac
18429
18430else
18431  enable_concept_checks=no
18432fi
18433
18434
18435  if test $enable_concept_checks = yes; then
18436
18437$as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18438
18439  fi
18440
18441
18442   # Check whether --enable-libstdcxx-debug-flags was given.
18443if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18444  enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18445      xno | x)    enable_libstdcxx_debug_flags= ;;
18446      x-*)        ;;
18447      *)          as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18448     esac
18449else
18450  enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18451fi
18452
18453
18454
18455  # Option parsed, now set things appropriately
18456  DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18457
18458
18459  { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18460$as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18461
18462
18463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18464$as_echo_n "checking for additional debug build... " >&6; }
18465   # Check whether --enable-libstdcxx-debug was given.
18466if test "${enable_libstdcxx_debug+set}" = set; then :
18467  enableval=$enable_libstdcxx_debug;
18468      case "$enableval" in
18469       yes|no) ;;
18470       *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18471      esac
18472
18473else
18474  enable_libstdcxx_debug=no
18475fi
18476
18477
18478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
18479$as_echo "$enable_libstdcxx_debug" >&6; }
18480
18481
18482
18483
18484  enable_parallel=no;
18485
18486  # See if configured libgomp/omp.h exists. (libgomp may be in
18487  # noconfigdirs but not explicitly disabled.)
18488  if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18489    enable_parallel=yes;
18490  else
18491    { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18492$as_echo "$as_me: target-libgomp not built" >&6;}
18493  fi
18494
18495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18496$as_echo_n "checking for parallel mode support... " >&6; }
18497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18498$as_echo "$enable_parallel" >&6; }
18499
18500  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18501$as_echo_n "checking for extra compiler flags for building... " >&6; }
18502   # Check whether --enable-cxx-flags was given.
18503if test "${enable_cxx_flags+set}" = set; then :
18504  enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18505      xno | x)   enable_cxx_flags= ;;
18506      x-*)       ;;
18507      *)         as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18508     esac
18509else
18510  enable_cxx_flags=
18511fi
18512
18513
18514
18515  # Run through flags (either default or command-line) and set anything
18516  # extra (e.g., #defines) that must accompany particular g++ options.
18517  if test -n "$enable_cxx_flags"; then
18518    for f in $enable_cxx_flags; do
18519      case "$f" in
18520	-fhonor-std)  ;;
18521	-*)  ;;
18522	*)   # and we're trying to pass /what/ exactly?
18523	     as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18524      esac
18525    done
18526  fi
18527
18528  EXTRA_CXX_FLAGS="$enable_cxx_flags"
18529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18530$as_echo "$EXTRA_CXX_FLAGS" >&6; }
18531
18532
18533
18534   # Check whether --enable-fully-dynamic-string was given.
18535if test "${enable_fully_dynamic_string+set}" = set; then :
18536  enableval=$enable_fully_dynamic_string;
18537      case "$enableval" in
18538       yes|no) ;;
18539       *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18540      esac
18541
18542else
18543  enable_fully_dynamic_string=no
18544fi
18545
18546
18547  if test $enable_fully_dynamic_string = yes; then
18548    enable_fully_dynamic_string_def=1
18549  else
18550    enable_fully_dynamic_string_def=0
18551  fi
18552
18553cat >>confdefs.h <<_ACEOF
18554#define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18555_ACEOF
18556
18557
18558
18559
18560   # Check whether --enable-extern-template was given.
18561if test "${enable_extern_template+set}" = set; then :
18562  enableval=$enable_extern_template;
18563      case "$enableval" in
18564       yes|no) ;;
18565       *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18566      esac
18567
18568else
18569  enable_extern_template=yes
18570fi
18571
18572
18573
18574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18575$as_echo_n "checking for extern template support... " >&6; }
18576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18577$as_echo "$enable_extern_template" >&6; }
18578
18579
18580
18581
18582
18583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18584$as_echo_n "checking for custom python install directory... " >&6; }
18585
18586# Check whether --with-python-dir was given.
18587if test "${with_python_dir+set}" = set; then :
18588  withval=$with_python_dir; with_python_dir=$withval
18589else
18590  with_python_dir="no"
18591fi
18592
18593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18594$as_echo "${with_python_dir}" >&6; }
18595
18596# Needed for installing Python modules during make install.
18597python_mod_dir="${with_python_dir}"
18598
18599
18600
18601
18602  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18603$as_echo_n "checking for -Werror... " >&6; }
18604   # Check whether --enable-werror was given.
18605if test "${enable_werror+set}" = set; then :
18606  enableval=$enable_werror;
18607      case "$enableval" in
18608       yes|no) ;;
18609       *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18610      esac
18611
18612else
18613  enable_werror=no
18614fi
18615
18616
18617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18618$as_echo "$enable_werror" >&6; }
18619
18620
18621
18622
18623   # Check whether --enable-vtable-verify was given.
18624if test "${enable_vtable_verify+set}" = set; then :
18625  enableval=$enable_vtable_verify;
18626      case "$enableval" in
18627       yes|no) ;;
18628       *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18629      esac
18630
18631else
18632  enable_vtable_verify=no
18633fi
18634
18635
18636
18637  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18638$as_echo_n "checking for vtable verify support... " >&6; }
18639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18640$as_echo "$enable_vtable_verify" >&6; }
18641
18642  vtv_cygmin=no
18643  if test $enable_vtable_verify = yes; then
18644    case ${target_os} in
18645      cygwin*|mingw32*)
18646        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18647        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18648        vtv_cygmin=yes
18649        ;;
18650      darwin*)
18651        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18652        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18653        ;;
18654      solaris2*)
18655        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18656        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18657        ;;
18658      *)
18659        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18660        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18661        ;;
18662    esac
18663    VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18664  else
18665    VTV_CXXFLAGS=
18666    VTV_PCH_CXXFLAGS=
18667    VTV_CXXLINKFLAGS=
18668  fi
18669
18670
18671
18672
18673   if test x$vtv_cygmin = xyes; then
18674  VTV_CYGMIN_TRUE=
18675  VTV_CYGMIN_FALSE='#'
18676else
18677  VTV_CYGMIN_TRUE='#'
18678  VTV_CYGMIN_FALSE=
18679fi
18680
18681
18682
18683
18684# Checks for operating systems support that doesn't require linking.
18685
18686
18687
18688  ac_ext=cpp
18689ac_cpp='$CXXCPP $CPPFLAGS'
18690ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18693
18694  # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18695  # and we don't need a declaration for C++14 anyway.
18696  ac_save_CXXFLAGS="$CXXFLAGS"
18697  CXXFLAGS="$CXXFLAGS -std=gnu++11"
18698
18699  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18700$as_echo_n "checking for gets declaration... " >&6; }
18701  if ${glibcxx_cv_gets+:} false; then :
18702  $as_echo_n "(cached) " >&6
18703else
18704
18705  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706/* end confdefs.h.  */
18707#include <stdio.h>
18708	   namespace test
18709	   {
18710              using ::gets;
18711	   }
18712
18713_ACEOF
18714if ac_fn_cxx_try_compile "$LINENO"; then :
18715  glibcxx_cv_gets=yes
18716else
18717  glibcxx_cv_gets=no
18718
18719fi
18720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18721fi
18722
18723
18724  if test $glibcxx_cv_gets = yes; then
18725
18726$as_echo "#define HAVE_GETS 1" >>confdefs.h
18727
18728  fi
18729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18730$as_echo "$glibcxx_cv_gets" >&6; }
18731
18732  CXXFLAGS="$ac_save_CXXFLAGS"
18733  ac_ext=c
18734ac_cpp='$CPP $CPPFLAGS'
18735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18737ac_compiler_gnu=$ac_cv_c_compiler_gnu
18738
18739
18740
18741
18742
18743  ac_ext=cpp
18744ac_cpp='$CXXCPP $CPPFLAGS'
18745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18748
18749  ac_save_CXXFLAGS="$CXXFLAGS"
18750  CXXFLAGS="$CXXFLAGS -std=c++11"
18751
18752  case "$host" in
18753    *-*-solaris2.*)
18754      # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18755      # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18756      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18757$as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18758      if ${glibcxx_cv_math11_fp_overload+:} false; then :
18759  $as_echo_n "(cached) " >&6
18760else
18761
18762	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763/* end confdefs.h.  */
18764#include <math.h>
18765	   #undef isfinite
18766	   namespace std {
18767	     inline bool isfinite(float __x)
18768	     { return __builtin_isfinite(__x); }
18769	   }
18770
18771_ACEOF
18772if ac_fn_cxx_try_compile "$LINENO"; then :
18773  glibcxx_cv_math11_fp_overload=no
18774else
18775  glibcxx_cv_math11_fp_overload=yes
18776
18777fi
18778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18779fi
18780
18781
18782      # autoheader cannot handle indented templates.
18783
18784
18785      if test $glibcxx_cv_math11_fp_overload = yes; then
18786        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18787
18788      fi
18789      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18790$as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18791
18792      # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18793      # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18794      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18795$as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18796      if ${glibcxx_cv_math11_int_overload+:} false; then :
18797  $as_echo_n "(cached) " >&6
18798else
18799
18800	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18801/* end confdefs.h.  */
18802#include <math.h>
18803	   namespace std {
18804	     template<typename _Tp>
18805	       struct __is_integer;
18806	     template<>
18807	       struct __is_integer<int>
18808	       {
18809	         enum { __value = 1 };
18810	       };
18811	   }
18812	   namespace __gnu_cxx {
18813	     template<bool, typename>
18814	       struct __enable_if;
18815	     template<typename _Tp>
18816	       struct __enable_if<true, _Tp>
18817	       { typedef _Tp __type; };
18818	   }
18819	   namespace std {
18820	     template<typename _Tp>
18821	       constexpr typename __gnu_cxx::__enable_if
18822	       		 <__is_integer<_Tp>::__value, double>::__type
18823	       log2(_Tp __x)
18824	       { return __builtin_log2(__x); }
18825	   }
18826	   int
18827	   main (void)
18828	   {
18829	     int i = 1000;
18830	     return std::log2(i);
18831	   }
18832
18833_ACEOF
18834if ac_fn_cxx_try_compile "$LINENO"; then :
18835  glibcxx_cv_math11_int_overload=no
18836else
18837  glibcxx_cv_math11_int_overload=yes
18838
18839fi
18840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18841fi
18842
18843
18844      # autoheader cannot handle indented templates.
18845
18846
18847      if test $glibcxx_cv_math11_int_overload = yes; then
18848        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18849
18850      fi
18851      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18852$as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18853      ;;
18854    *)
18855      # If <math.h> defines the obsolete isinf(double) and isnan(double)
18856      # functions (instead of or as well as the C99 generic macros) then we
18857      # can't define std::isinf(double) and std::isnan(double) in <cmath>
18858      # and must use the ones from <math.h> instead.
18859      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18860$as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18861        if ${glibcxx_cv_obsolete_isinf+:} false; then :
18862  $as_echo_n "(cached) " >&6
18863else
18864
18865          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866/* end confdefs.h.  */
18867#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18868             #include <math.h>
18869             #undef isinf
18870             namespace std {
18871               using ::isinf;
18872               bool isinf(float);
18873               bool isinf(long double);
18874             }
18875             using std::isinf;
18876             bool b = isinf(0.0);
18877
18878_ACEOF
18879if ac_fn_cxx_try_compile "$LINENO"; then :
18880  glibcxx_cv_obsolete_isinf=yes
18881else
18882  glibcxx_cv_obsolete_isinf=no
18883
18884fi
18885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18886fi
18887
18888      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18889$as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18890      if test $glibcxx_cv_obsolete_isinf = yes; then
18891
18892$as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18893
18894      fi
18895
18896      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18897$as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18898        if ${glibcxx_cv_obsolete_isnan+:} false; then :
18899  $as_echo_n "(cached) " >&6
18900else
18901
18902          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18903/* end confdefs.h.  */
18904#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18905             #include <math.h>
18906             #undef isnan
18907             namespace std {
18908               using ::isnan;
18909               bool isnan(float);
18910               bool isnan(long double);
18911             }
18912             using std::isnan;
18913             bool b = isnan(0.0);
18914
18915_ACEOF
18916if ac_fn_cxx_try_compile "$LINENO"; then :
18917  glibcxx_cv_obsolete_isnan=yes
18918else
18919  glibcxx_cv_obsolete_isnan=no
18920
18921fi
18922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18923fi
18924
18925      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18926$as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18927      if test $glibcxx_cv_obsolete_isnan = yes; then
18928
18929$as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18930
18931      fi
18932      ;;
18933  esac
18934
18935  CXXFLAGS="$ac_save_CXXFLAGS"
18936  ac_ext=c
18937ac_cpp='$CPP $CPPFLAGS'
18938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18940ac_compiler_gnu=$ac_cv_c_compiler_gnu
18941
18942
18943
18944
18945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18946$as_echo_n "checking for EOWNERDEAD... " >&6; }
18947if ${glibcxx_cv_system_error1+:} false; then :
18948  $as_echo_n "(cached) " >&6
18949else
18950
18951cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18952/* end confdefs.h.  */
18953#include <errno.h>
18954int
18955main ()
18956{
18957int i = EOWNERDEAD;
18958  ;
18959  return 0;
18960}
18961_ACEOF
18962if ac_fn_c_try_compile "$LINENO"; then :
18963  glibcxx_cv_system_error1=yes
18964else
18965  glibcxx_cv_system_error1=no
18966fi
18967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968
18969fi
18970
18971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18972$as_echo "$glibcxx_cv_system_error1" >&6; }
18973if test x"$glibcxx_cv_system_error1" = x"yes"; then
18974
18975$as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18976
18977fi
18978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18979$as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18980if ${glibcxx_cv_system_error2+:} false; then :
18981  $as_echo_n "(cached) " >&6
18982else
18983
18984cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985/* end confdefs.h.  */
18986#include <errno.h>
18987int
18988main ()
18989{
18990int i = ENOTRECOVERABLE;
18991  ;
18992  return 0;
18993}
18994_ACEOF
18995if ac_fn_c_try_compile "$LINENO"; then :
18996  glibcxx_cv_system_error2=yes
18997else
18998  glibcxx_cv_system_error2=no
18999fi
19000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19001
19002fi
19003
19004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
19005$as_echo "$glibcxx_cv_system_error2" >&6; }
19006if test x"$glibcxx_cv_system_error2" = x"yes"; then
19007
19008$as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
19009
19010fi
19011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
19012$as_echo_n "checking for ENOLINK... " >&6; }
19013if ${glibcxx_cv_system_error3+:} false; then :
19014  $as_echo_n "(cached) " >&6
19015else
19016
19017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19018/* end confdefs.h.  */
19019#include <errno.h>
19020int
19021main ()
19022{
19023int i = ENOLINK;
19024  ;
19025  return 0;
19026}
19027_ACEOF
19028if ac_fn_c_try_compile "$LINENO"; then :
19029  glibcxx_cv_system_error3=yes
19030else
19031  glibcxx_cv_system_error3=no
19032fi
19033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19034
19035fi
19036
19037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
19038$as_echo "$glibcxx_cv_system_error3" >&6; }
19039if test x"$glibcxx_cv_system_error3" = x"yes"; then
19040
19041$as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
19042
19043fi
19044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
19045$as_echo_n "checking for EPROTO... " >&6; }
19046if ${glibcxx_cv_system_error4+:} false; then :
19047  $as_echo_n "(cached) " >&6
19048else
19049
19050cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051/* end confdefs.h.  */
19052#include <errno.h>
19053int
19054main ()
19055{
19056int i = EPROTO;
19057  ;
19058  return 0;
19059}
19060_ACEOF
19061if ac_fn_c_try_compile "$LINENO"; then :
19062  glibcxx_cv_system_error4=yes
19063else
19064  glibcxx_cv_system_error4=no
19065fi
19066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19067
19068fi
19069
19070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
19071$as_echo "$glibcxx_cv_system_error4" >&6; }
19072if test x"$glibcxx_cv_system_error4" = x"yes"; then
19073
19074$as_echo "#define HAVE_EPROTO 1" >>confdefs.h
19075
19076fi
19077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
19078$as_echo_n "checking for ENODATA... " >&6; }
19079if ${glibcxx_cv_system_error5+:} false; then :
19080  $as_echo_n "(cached) " >&6
19081else
19082
19083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19084/* end confdefs.h.  */
19085#include <errno.h>
19086int
19087main ()
19088{
19089int i = ENODATA;
19090  ;
19091  return 0;
19092}
19093_ACEOF
19094if ac_fn_c_try_compile "$LINENO"; then :
19095  glibcxx_cv_system_error5=yes
19096else
19097  glibcxx_cv_system_error5=no
19098fi
19099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19100
19101fi
19102
19103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
19104$as_echo "$glibcxx_cv_system_error5" >&6; }
19105if test x"$glibcxx_cv_system_error5" = x"yes"; then
19106
19107$as_echo "#define HAVE_ENODATA 1" >>confdefs.h
19108
19109fi
19110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
19111$as_echo_n "checking for ENOSR... " >&6; }
19112if ${glibcxx_cv_system_error6+:} false; then :
19113  $as_echo_n "(cached) " >&6
19114else
19115
19116cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19117/* end confdefs.h.  */
19118#include <errno.h>
19119int
19120main ()
19121{
19122int i = ENOSR;
19123  ;
19124  return 0;
19125}
19126_ACEOF
19127if ac_fn_c_try_compile "$LINENO"; then :
19128  glibcxx_cv_system_error6=yes
19129else
19130  glibcxx_cv_system_error6=no
19131fi
19132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19133
19134fi
19135
19136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
19137$as_echo "$glibcxx_cv_system_error6" >&6; }
19138if test x"$glibcxx_cv_system_error6" = x"yes"; then
19139
19140$as_echo "#define HAVE_ENOSR 1" >>confdefs.h
19141
19142fi
19143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
19144$as_echo_n "checking for ENOSTR... " >&6; }
19145if ${glibcxx_cv_system_error7+:} false; then :
19146  $as_echo_n "(cached) " >&6
19147else
19148
19149cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150/* end confdefs.h.  */
19151#include <errno.h>
19152int
19153main ()
19154{
19155int i = ENOSTR;
19156  ;
19157  return 0;
19158}
19159_ACEOF
19160if ac_fn_c_try_compile "$LINENO"; then :
19161  glibcxx_cv_system_error7=yes
19162else
19163  glibcxx_cv_system_error7=no
19164fi
19165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166
19167fi
19168
19169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
19170$as_echo "$glibcxx_cv_system_error7" >&6; }
19171if test x"$glibcxx_cv_system_error7" = x"yes"; then
19172
19173$as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
19174
19175fi
19176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
19177$as_echo_n "checking for ETIME... " >&6; }
19178if ${glibcxx_cv_system_error8+:} false; then :
19179  $as_echo_n "(cached) " >&6
19180else
19181
19182cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19183/* end confdefs.h.  */
19184#include <errno.h>
19185int
19186main ()
19187{
19188int i = ETIME;
19189  ;
19190  return 0;
19191}
19192_ACEOF
19193if ac_fn_c_try_compile "$LINENO"; then :
19194  glibcxx_cv_system_error8=yes
19195else
19196  glibcxx_cv_system_error8=no
19197fi
19198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19199
19200fi
19201
19202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
19203$as_echo "$glibcxx_cv_system_error8" >&6; }
19204if test x"$glibcxx_cv_system_error8" = x"yes"; then
19205
19206$as_echo "#define HAVE_ETIME 1" >>confdefs.h
19207
19208fi
19209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19210$as_echo_n "checking for EBADMSG... " >&6; }
19211if ${glibcxx_cv_system_error9+:} false; then :
19212  $as_echo_n "(cached) " >&6
19213else
19214
19215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19216/* end confdefs.h.  */
19217#include <errno.h>
19218int
19219main ()
19220{
19221int i = EBADMSG;
19222  ;
19223  return 0;
19224}
19225_ACEOF
19226if ac_fn_c_try_compile "$LINENO"; then :
19227  glibcxx_cv_system_error9=yes
19228else
19229  glibcxx_cv_system_error9=no
19230fi
19231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19232
19233fi
19234
19235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19236$as_echo "$glibcxx_cv_system_error9" >&6; }
19237if test x"$glibcxx_cv_system_error9" = x"yes"; then
19238
19239$as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19240
19241fi
19242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19243$as_echo_n "checking for ECANCELED... " >&6; }
19244if ${glibcxx_cv_system_error10+:} false; then :
19245  $as_echo_n "(cached) " >&6
19246else
19247
19248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19249/* end confdefs.h.  */
19250#include <errno.h>
19251int
19252main ()
19253{
19254int i = ECANCELED;
19255  ;
19256  return 0;
19257}
19258_ACEOF
19259if ac_fn_c_try_compile "$LINENO"; then :
19260  glibcxx_cv_system_error10=yes
19261else
19262  glibcxx_cv_system_error10=no
19263fi
19264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19265
19266fi
19267
19268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19269$as_echo "$glibcxx_cv_system_error10" >&6; }
19270if test x"$glibcxx_cv_system_error10" = x"yes"; then
19271
19272$as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19273
19274fi
19275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19276$as_echo_n "checking for EOVERFLOW... " >&6; }
19277if ${glibcxx_cv_system_error11+:} false; then :
19278  $as_echo_n "(cached) " >&6
19279else
19280
19281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19282/* end confdefs.h.  */
19283#include <errno.h>
19284int
19285main ()
19286{
19287int i = EOVERFLOW;
19288  ;
19289  return 0;
19290}
19291_ACEOF
19292if ac_fn_c_try_compile "$LINENO"; then :
19293  glibcxx_cv_system_error11=yes
19294else
19295  glibcxx_cv_system_error11=no
19296fi
19297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19298
19299fi
19300
19301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19302$as_echo "$glibcxx_cv_system_error11" >&6; }
19303if test x"$glibcxx_cv_system_error11" = x"yes"; then
19304
19305$as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19306
19307fi
19308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19309$as_echo_n "checking for ENOTSUP... " >&6; }
19310if ${glibcxx_cv_system_error12+:} false; then :
19311  $as_echo_n "(cached) " >&6
19312else
19313
19314cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19315/* end confdefs.h.  */
19316#include <errno.h>
19317int
19318main ()
19319{
19320int i = ENOTSUP;
19321  ;
19322  return 0;
19323}
19324_ACEOF
19325if ac_fn_c_try_compile "$LINENO"; then :
19326  glibcxx_cv_system_error12=yes
19327else
19328  glibcxx_cv_system_error12=no
19329fi
19330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331
19332fi
19333
19334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19335$as_echo "$glibcxx_cv_system_error12" >&6; }
19336if test x"$glibcxx_cv_system_error12" = x"yes"; then
19337
19338$as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19339
19340fi
19341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19342$as_echo_n "checking for EIDRM... " >&6; }
19343if ${glibcxx_cv_system_error13+:} false; then :
19344  $as_echo_n "(cached) " >&6
19345else
19346
19347cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19348/* end confdefs.h.  */
19349#include <errno.h>
19350int
19351main ()
19352{
19353int i = EIDRM;
19354  ;
19355  return 0;
19356}
19357_ACEOF
19358if ac_fn_c_try_compile "$LINENO"; then :
19359  glibcxx_cv_system_error13=yes
19360else
19361  glibcxx_cv_system_error13=no
19362fi
19363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19364
19365fi
19366
19367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19368$as_echo "$glibcxx_cv_system_error13" >&6; }
19369if test x"$glibcxx_cv_system_error13" = x"yes"; then
19370
19371$as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19372
19373fi
19374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19375$as_echo_n "checking for ETXTBSY... " >&6; }
19376if ${glibcxx_cv_system_error14+:} false; then :
19377  $as_echo_n "(cached) " >&6
19378else
19379
19380cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19381/* end confdefs.h.  */
19382#include <errno.h>
19383int
19384main ()
19385{
19386int i = ETXTBSY;
19387  ;
19388  return 0;
19389}
19390_ACEOF
19391if ac_fn_c_try_compile "$LINENO"; then :
19392  glibcxx_cv_system_error14=yes
19393else
19394  glibcxx_cv_system_error14=no
19395fi
19396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397
19398fi
19399
19400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19401$as_echo "$glibcxx_cv_system_error14" >&6; }
19402if test x"$glibcxx_cv_system_error14" = x"yes"; then
19403
19404$as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19405
19406fi
19407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19408$as_echo_n "checking for ECHILD... " >&6; }
19409if ${glibcxx_cv_system_error15+:} false; then :
19410  $as_echo_n "(cached) " >&6
19411else
19412
19413cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414/* end confdefs.h.  */
19415#include <errno.h>
19416int
19417main ()
19418{
19419int i = ECHILD;
19420  ;
19421  return 0;
19422}
19423_ACEOF
19424if ac_fn_c_try_compile "$LINENO"; then :
19425  glibcxx_cv_system_error15=yes
19426else
19427  glibcxx_cv_system_error15=no
19428fi
19429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19430
19431fi
19432
19433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19434$as_echo "$glibcxx_cv_system_error15" >&6; }
19435if test x"$glibcxx_cv_system_error15" = x"yes"; then
19436
19437$as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19438
19439fi
19440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19441$as_echo_n "checking for ENOSPC... " >&6; }
19442if ${glibcxx_cv_system_error16+:} false; then :
19443  $as_echo_n "(cached) " >&6
19444else
19445
19446cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447/* end confdefs.h.  */
19448#include <errno.h>
19449int
19450main ()
19451{
19452int i = ENOSPC;
19453  ;
19454  return 0;
19455}
19456_ACEOF
19457if ac_fn_c_try_compile "$LINENO"; then :
19458  glibcxx_cv_system_error16=yes
19459else
19460  glibcxx_cv_system_error16=no
19461fi
19462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19463
19464fi
19465
19466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19467$as_echo "$glibcxx_cv_system_error16" >&6; }
19468if test x"$glibcxx_cv_system_error16" = x"yes"; then
19469
19470$as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19471
19472fi
19473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19474$as_echo_n "checking for EPERM... " >&6; }
19475if ${glibcxx_cv_system_error17+:} false; then :
19476  $as_echo_n "(cached) " >&6
19477else
19478
19479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19480/* end confdefs.h.  */
19481#include <errno.h>
19482int
19483main ()
19484{
19485int i = EPERM;
19486  ;
19487  return 0;
19488}
19489_ACEOF
19490if ac_fn_c_try_compile "$LINENO"; then :
19491  glibcxx_cv_system_error17=yes
19492else
19493  glibcxx_cv_system_error17=no
19494fi
19495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19496
19497fi
19498
19499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19500$as_echo "$glibcxx_cv_system_error17" >&6; }
19501if test x"$glibcxx_cv_system_error17" = x"yes"; then
19502
19503$as_echo "#define HAVE_EPERM 1" >>confdefs.h
19504
19505fi
19506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19507$as_echo_n "checking for ETIMEDOUT... " >&6; }
19508if ${glibcxx_cv_system_error18+:} false; then :
19509  $as_echo_n "(cached) " >&6
19510else
19511
19512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513/* end confdefs.h.  */
19514#include <errno.h>
19515int
19516main ()
19517{
19518int i = ETIMEDOUT;
19519  ;
19520  return 0;
19521}
19522_ACEOF
19523if ac_fn_c_try_compile "$LINENO"; then :
19524  glibcxx_cv_system_error18=yes
19525else
19526  glibcxx_cv_system_error18=no
19527fi
19528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19529
19530fi
19531
19532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19533$as_echo "$glibcxx_cv_system_error18" >&6; }
19534if test x"$glibcxx_cv_system_error18" = x"yes"; then
19535
19536$as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19537
19538fi
19539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19540$as_echo_n "checking for EWOULDBLOCK... " >&6; }
19541if ${glibcxx_cv_system_error19+:} false; then :
19542  $as_echo_n "(cached) " >&6
19543else
19544
19545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19546/* end confdefs.h.  */
19547#include <errno.h>
19548int
19549main ()
19550{
19551int i = EWOULDBLOCK;
19552  ;
19553  return 0;
19554}
19555_ACEOF
19556if ac_fn_c_try_compile "$LINENO"; then :
19557  glibcxx_cv_system_error19=yes
19558else
19559  glibcxx_cv_system_error19=no
19560fi
19561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19562
19563fi
19564
19565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19566$as_echo "$glibcxx_cv_system_error19" >&6; }
19567if test x"$glibcxx_cv_system_error19" = x"yes"; then
19568
19569$as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19570
19571fi
19572
19573
19574
19575
19576  # Test uchar.h.
19577  for ac_header in uchar.h
19578do :
19579  ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19580if test "x$ac_cv_header_uchar_h" = xyes; then :
19581  cat >>confdefs.h <<_ACEOF
19582#define HAVE_UCHAR_H 1
19583_ACEOF
19584 ac_has_uchar_h=yes
19585else
19586  ac_has_uchar_h=no
19587fi
19588
19589done
19590
19591
19592
19593  ac_ext=cpp
19594ac_cpp='$CXXCPP $CPPFLAGS'
19595ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19596ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19597ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19598
19599  ac_save_CXXFLAGS="$CXXFLAGS"
19600  CXXFLAGS="$CXXFLAGS -std=c++11"
19601
19602  if test x"$ac_has_uchar_h" = x"yes"; then
19603    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19604$as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19605    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19606/* end confdefs.h.  */
19607#include <uchar.h>
19608		    #ifdef __STDC_UTF_16__
19609		    long i = __STDC_UTF_16__;
19610		    #endif
19611		    #ifdef __STDC_UTF_32__
19612		    long j = __STDC_UTF_32__;
19613		    #endif
19614		    namespace test
19615		    {
19616		      using ::c16rtomb;
19617		      using ::c32rtomb;
19618		      using ::mbrtoc16;
19619		      using ::mbrtoc32;
19620		    }
19621
19622int
19623main ()
19624{
19625
19626  ;
19627  return 0;
19628}
19629_ACEOF
19630if ac_fn_cxx_try_compile "$LINENO"; then :
19631  ac_c11_uchar_cxx11=yes
19632else
19633  ac_c11_uchar_cxx11=no
19634fi
19635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19636  else
19637    ac_c11_uchar_cxx11=no
19638  fi
19639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19640$as_echo "$ac_c11_uchar_cxx11" >&6; }
19641  if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19642
19643$as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19644
19645  fi
19646
19647  CXXFLAGS="$ac_save_CXXFLAGS"
19648  ac_ext=c
19649ac_cpp='$CPP $CPPFLAGS'
19650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19652ac_compiler_gnu=$ac_cv_c_compiler_gnu
19653
19654
19655
19656# For the streamoff typedef.
19657
19658
19659
19660  ac_ext=cpp
19661ac_cpp='$CXXCPP $CPPFLAGS'
19662ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19663ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19664ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19665
19666
19667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19668$as_echo_n "checking for int64_t... " >&6; }
19669  if ${glibcxx_cv_INT64_T+:} false; then :
19670  $as_echo_n "(cached) " >&6
19671else
19672
19673    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19674/* end confdefs.h.  */
19675#include <stdint.h>
19676int
19677main ()
19678{
19679int64_t var;
19680  ;
19681  return 0;
19682}
19683_ACEOF
19684if ac_fn_cxx_try_compile "$LINENO"; then :
19685  glibcxx_cv_INT64_T=yes
19686else
19687  glibcxx_cv_INT64_T=no
19688fi
19689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19690
19691fi
19692
19693
19694  if test $glibcxx_cv_INT64_T = yes; then
19695
19696$as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19697
19698    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19699$as_echo "$glibcxx_cv_INT64_T" >&6; }
19700
19701    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19702$as_echo_n "checking for int64_t as long... " >&6; }
19703    if ${glibcxx_cv_int64_t_long+:} false; then :
19704  $as_echo_n "(cached) " >&6
19705else
19706
19707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19708/* end confdefs.h.  */
19709#include <stdint.h>
19710	template<typename, typename> struct same { enum { value = -1 }; };
19711	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19712	int array[same<int64_t, long>::value];
19713int
19714main ()
19715{
19716
19717  ;
19718  return 0;
19719}
19720_ACEOF
19721if ac_fn_cxx_try_compile "$LINENO"; then :
19722  glibcxx_cv_int64_t_long=yes
19723else
19724  glibcxx_cv_int64_t_long=no
19725fi
19726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19727
19728fi
19729
19730
19731    if test $glibcxx_cv_int64_t_long = yes; then
19732
19733$as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19734
19735      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19736$as_echo "$glibcxx_cv_int64_t_long" >&6; }
19737    fi
19738
19739    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19740$as_echo_n "checking for int64_t as long long... " >&6; }
19741    if ${glibcxx_cv_int64_t_long_long+:} false; then :
19742  $as_echo_n "(cached) " >&6
19743else
19744
19745      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746/* end confdefs.h.  */
19747#include <stdint.h>
19748	template<typename, typename> struct same { enum { value = -1 }; };
19749	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19750	int array[same<int64_t, long long>::value];
19751int
19752main ()
19753{
19754
19755  ;
19756  return 0;
19757}
19758_ACEOF
19759if ac_fn_cxx_try_compile "$LINENO"; then :
19760  glibcxx_cv_int64_t_long_long=yes
19761else
19762  glibcxx_cv_int64_t_long_long=no
19763fi
19764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19765
19766fi
19767
19768
19769    if test $glibcxx_cv_int64_t_long_long = yes; then
19770
19771$as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19772
19773      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19774$as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19775    fi
19776  fi
19777
19778  ac_ext=c
19779ac_cpp='$CPP $CPPFLAGS'
19780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19782ac_compiler_gnu=$ac_cv_c_compiler_gnu
19783
19784
19785
19786# For LFS support.
19787
19788
19789  ac_ext=cpp
19790ac_cpp='$CXXCPP $CPPFLAGS'
19791ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19792ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19793ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19794
19795  ac_save_CXXFLAGS="$CXXFLAGS"
19796  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19798$as_echo_n "checking for LFS support... " >&6; }
19799  if ${glibcxx_cv_LFS+:} false; then :
19800  $as_echo_n "(cached) " >&6
19801else
19802
19803    if test x$gcc_no_link = xyes; then
19804  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19805/* end confdefs.h.  */
19806#include <unistd.h>
19807       #include <stdio.h>
19808       #include <sys/stat.h>
19809
19810int
19811main ()
19812{
19813FILE* fp;
19814       fopen64("t", "w");
19815       fseeko64(fp, 0, SEEK_CUR);
19816       ftello64(fp);
19817       lseek64(1, 0, SEEK_CUR);
19818       struct stat64 buf;
19819       fstat64(1, &buf);
19820  ;
19821  return 0;
19822}
19823_ACEOF
19824if ac_fn_cxx_try_compile "$LINENO"; then :
19825  glibcxx_cv_LFS=yes
19826else
19827  glibcxx_cv_LFS=no
19828fi
19829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830else
19831  if test x$gcc_no_link = xyes; then
19832  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19833fi
19834cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835/* end confdefs.h.  */
19836#include <unistd.h>
19837       #include <stdio.h>
19838       #include <sys/stat.h>
19839
19840int
19841main ()
19842{
19843FILE* fp;
19844       fopen64("t", "w");
19845       fseeko64(fp, 0, SEEK_CUR);
19846       ftello64(fp);
19847       lseek64(1, 0, SEEK_CUR);
19848       struct stat64 buf;
19849       fstat64(1, &buf);
19850  ;
19851  return 0;
19852}
19853_ACEOF
19854if ac_fn_cxx_try_link "$LINENO"; then :
19855  glibcxx_cv_LFS=yes
19856else
19857  glibcxx_cv_LFS=no
19858fi
19859rm -f core conftest.err conftest.$ac_objext \
19860    conftest$ac_exeext conftest.$ac_ext
19861fi
19862
19863fi
19864
19865  if test $glibcxx_cv_LFS = yes; then
19866
19867$as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19868
19869  fi
19870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19871$as_echo "$glibcxx_cv_LFS" >&6; }
19872  CXXFLAGS="$ac_save_CXXFLAGS"
19873  ac_ext=c
19874ac_cpp='$CPP $CPPFLAGS'
19875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19877ac_compiler_gnu=$ac_cv_c_compiler_gnu
19878
19879
19880
19881# For showmanyc_helper().
19882for ac_header in sys/ioctl.h sys/filio.h
19883do :
19884  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19885ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19886if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19887  cat >>confdefs.h <<_ACEOF
19888#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19889_ACEOF
19890
19891fi
19892
19893done
19894
19895
19896
19897
19898  ac_ext=cpp
19899ac_cpp='$CXXCPP $CPPFLAGS'
19900ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19901ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19902ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19903
19904  ac_save_CXXFLAGS="$CXXFLAGS"
19905  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19906
19907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19908$as_echo_n "checking for poll... " >&6; }
19909  if ${glibcxx_cv_POLL+:} false; then :
19910  $as_echo_n "(cached) " >&6
19911else
19912
19913    if test x$gcc_no_link = xyes; then
19914  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915/* end confdefs.h.  */
19916#include <poll.h>
19917int
19918main ()
19919{
19920struct pollfd pfd[1];
19921       pfd[0].events = POLLIN;
19922       poll(pfd, 1, 0);
19923  ;
19924  return 0;
19925}
19926_ACEOF
19927if ac_fn_cxx_try_compile "$LINENO"; then :
19928  glibcxx_cv_POLL=yes
19929else
19930  glibcxx_cv_POLL=no
19931fi
19932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19933else
19934  if test x$gcc_no_link = xyes; then
19935  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19936fi
19937cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19938/* end confdefs.h.  */
19939#include <poll.h>
19940int
19941main ()
19942{
19943struct pollfd pfd[1];
19944       pfd[0].events = POLLIN;
19945       poll(pfd, 1, 0);
19946  ;
19947  return 0;
19948}
19949_ACEOF
19950if ac_fn_cxx_try_link "$LINENO"; then :
19951  glibcxx_cv_POLL=yes
19952else
19953  glibcxx_cv_POLL=no
19954fi
19955rm -f core conftest.err conftest.$ac_objext \
19956    conftest$ac_exeext conftest.$ac_ext
19957fi
19958
19959fi
19960
19961  if test $glibcxx_cv_POLL = yes; then
19962
19963$as_echo "#define HAVE_POLL 1" >>confdefs.h
19964
19965  fi
19966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19967$as_echo "$glibcxx_cv_POLL" >&6; }
19968
19969  CXXFLAGS="$ac_save_CXXFLAGS"
19970  ac_ext=c
19971ac_cpp='$CPP $CPPFLAGS'
19972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19974ac_compiler_gnu=$ac_cv_c_compiler_gnu
19975
19976
19977
19978
19979
19980  ac_ext=cpp
19981ac_cpp='$CXXCPP $CPPFLAGS'
19982ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19983ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19984ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19985
19986  ac_save_CXXFLAGS="$CXXFLAGS"
19987  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19988
19989  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19990$as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19991  if ${glibcxx_cv_S_ISREG+:} false; then :
19992  $as_echo_n "(cached) " >&6
19993else
19994
19995    if test x$gcc_no_link = xyes; then
19996  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19997/* end confdefs.h.  */
19998#include <sys/stat.h>
19999int
20000main ()
20001{
20002struct stat buffer;
20003       fstat(0, &buffer);
20004       S_ISREG(buffer.st_mode);
20005  ;
20006  return 0;
20007}
20008_ACEOF
20009if ac_fn_cxx_try_compile "$LINENO"; then :
20010  glibcxx_cv_S_ISREG=yes
20011else
20012  glibcxx_cv_S_ISREG=no
20013fi
20014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015else
20016  if test x$gcc_no_link = xyes; then
20017  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20018fi
20019cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20020/* end confdefs.h.  */
20021#include <sys/stat.h>
20022int
20023main ()
20024{
20025struct stat buffer;
20026       fstat(0, &buffer);
20027       S_ISREG(buffer.st_mode);
20028  ;
20029  return 0;
20030}
20031_ACEOF
20032if ac_fn_cxx_try_link "$LINENO"; then :
20033  glibcxx_cv_S_ISREG=yes
20034else
20035  glibcxx_cv_S_ISREG=no
20036fi
20037rm -f core conftest.err conftest.$ac_objext \
20038    conftest$ac_exeext conftest.$ac_ext
20039fi
20040
20041fi
20042
20043  if ${glibcxx_cv_S_IFREG+:} false; then :
20044  $as_echo_n "(cached) " >&6
20045else
20046
20047    if test x$gcc_no_link = xyes; then
20048  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20049/* end confdefs.h.  */
20050#include <sys/stat.h>
20051int
20052main ()
20053{
20054struct stat buffer;
20055       fstat(0, &buffer);
20056       S_IFREG & buffer.st_mode;
20057  ;
20058  return 0;
20059}
20060_ACEOF
20061if ac_fn_cxx_try_compile "$LINENO"; then :
20062  glibcxx_cv_S_IFREG=yes
20063else
20064  glibcxx_cv_S_IFREG=no
20065fi
20066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20067else
20068  if test x$gcc_no_link = xyes; then
20069  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20070fi
20071cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20072/* end confdefs.h.  */
20073#include <sys/stat.h>
20074int
20075main ()
20076{
20077struct stat buffer;
20078       fstat(0, &buffer);
20079       S_IFREG & buffer.st_mode;
20080  ;
20081  return 0;
20082}
20083_ACEOF
20084if ac_fn_cxx_try_link "$LINENO"; then :
20085  glibcxx_cv_S_IFREG=yes
20086else
20087  glibcxx_cv_S_IFREG=no
20088fi
20089rm -f core conftest.err conftest.$ac_objext \
20090    conftest$ac_exeext conftest.$ac_ext
20091fi
20092
20093fi
20094
20095  res=no
20096  if test $glibcxx_cv_S_ISREG = yes; then
20097
20098$as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20099
20100    res=S_ISREG
20101  elif test $glibcxx_cv_S_IFREG = yes; then
20102
20103$as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20104
20105    res=S_IFREG
20106  fi
20107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20108$as_echo "$res" >&6; }
20109
20110  CXXFLAGS="$ac_save_CXXFLAGS"
20111  ac_ext=c
20112ac_cpp='$CPP $CPPFLAGS'
20113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20115ac_compiler_gnu=$ac_cv_c_compiler_gnu
20116
20117
20118
20119# For xsputn_2().
20120for ac_header in sys/uio.h
20121do :
20122  ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20123if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20124  cat >>confdefs.h <<_ACEOF
20125#define HAVE_SYS_UIO_H 1
20126_ACEOF
20127
20128fi
20129
20130done
20131
20132
20133
20134
20135  ac_ext=cpp
20136ac_cpp='$CXXCPP $CPPFLAGS'
20137ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20138ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20139ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20140
20141  ac_save_CXXFLAGS="$CXXFLAGS"
20142  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20143
20144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20145$as_echo_n "checking for writev... " >&6; }
20146  if ${glibcxx_cv_WRITEV+:} false; then :
20147  $as_echo_n "(cached) " >&6
20148else
20149
20150    if test x$gcc_no_link = xyes; then
20151  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20152/* end confdefs.h.  */
20153#include <sys/uio.h>
20154int
20155main ()
20156{
20157struct iovec iov[2];
20158       writev(0, iov, 0);
20159  ;
20160  return 0;
20161}
20162_ACEOF
20163if ac_fn_cxx_try_compile "$LINENO"; then :
20164  glibcxx_cv_WRITEV=yes
20165else
20166  glibcxx_cv_WRITEV=no
20167fi
20168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20169else
20170  if test x$gcc_no_link = xyes; then
20171  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20172fi
20173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20174/* end confdefs.h.  */
20175#include <sys/uio.h>
20176int
20177main ()
20178{
20179struct iovec iov[2];
20180       writev(0, iov, 0);
20181  ;
20182  return 0;
20183}
20184_ACEOF
20185if ac_fn_cxx_try_link "$LINENO"; then :
20186  glibcxx_cv_WRITEV=yes
20187else
20188  glibcxx_cv_WRITEV=no
20189fi
20190rm -f core conftest.err conftest.$ac_objext \
20191    conftest$ac_exeext conftest.$ac_ext
20192fi
20193
20194fi
20195
20196  if test $glibcxx_cv_WRITEV = yes; then
20197
20198$as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20199
20200  fi
20201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20202$as_echo "$glibcxx_cv_WRITEV" >&6; }
20203
20204  CXXFLAGS="$ac_save_CXXFLAGS"
20205  ac_ext=c
20206ac_cpp='$CPP $CPPFLAGS'
20207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20209ac_compiler_gnu=$ac_cv_c_compiler_gnu
20210
20211
20212
20213# Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20214# so that the check is done with the C compiler (not C++).
20215# Checking with C++ can break a canadian cross build if either
20216# file does not exist in C but does in C++.
20217for ac_header in fenv.h complex.h
20218do :
20219  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20220ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20221if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20222  cat >>confdefs.h <<_ACEOF
20223#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20224_ACEOF
20225
20226fi
20227
20228done
20229
20230
20231# For C99 support to TR1.
20232
20233
20234
20235  ac_ext=cpp
20236ac_cpp='$CXXCPP $CPPFLAGS'
20237ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20238ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20239ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20240
20241
20242  # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20243  # undefined and fake C99 facilities may be spuriously enabled.
20244  ac_save_CXXFLAGS="$CXXFLAGS"
20245  CXXFLAGS="$CXXFLAGS -std=c++98"
20246
20247  # Check for the existence of <complex.h> complex math functions used
20248  # by tr1/complex.
20249  for ac_header in complex.h
20250do :
20251  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20252if test "x$ac_cv_header_complex_h" = xyes; then :
20253  cat >>confdefs.h <<_ACEOF
20254#define HAVE_COMPLEX_H 1
20255_ACEOF
20256 ac_has_complex_h=yes
20257else
20258  ac_has_complex_h=no
20259fi
20260
20261done
20262
20263  ac_c99_complex_tr1=no;
20264  if test x"$ac_has_complex_h" = x"yes"; then
20265    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20266$as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20267    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20268/* end confdefs.h.  */
20269#include <complex.h>
20270int
20271main ()
20272{
20273typedef __complex__ float float_type; float_type tmpf;
20274		    cacosf(tmpf);
20275		    casinf(tmpf);
20276		    catanf(tmpf);
20277		    cacoshf(tmpf);
20278		    casinhf(tmpf);
20279		    catanhf(tmpf);
20280		    typedef __complex__ double double_type; double_type tmpd;
20281		    cacos(tmpd);
20282		    casin(tmpd);
20283		    catan(tmpd);
20284		    cacosh(tmpd);
20285		    casinh(tmpd);
20286		    catanh(tmpd);
20287		    typedef __complex__ long double ld_type; ld_type tmpld;
20288		    cacosl(tmpld);
20289		    casinl(tmpld);
20290		    catanl(tmpld);
20291		    cacoshl(tmpld);
20292		    casinhl(tmpld);
20293		    catanhl(tmpld);
20294
20295  ;
20296  return 0;
20297}
20298_ACEOF
20299if ac_fn_cxx_try_compile "$LINENO"; then :
20300  ac_c99_complex_tr1=yes
20301else
20302  ac_c99_complex_tr1=no
20303fi
20304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20305  fi
20306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20307$as_echo "$ac_c99_complex_tr1" >&6; }
20308  if test x"$ac_c99_complex_tr1" = x"yes"; then
20309
20310$as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20311
20312  fi
20313
20314  # Check for the existence of <ctype.h> functions.
20315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20316$as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20317  if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20318  $as_echo_n "(cached) " >&6
20319else
20320
20321  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20322/* end confdefs.h.  */
20323#include <ctype.h>
20324int
20325main ()
20326{
20327int ch;
20328		  int ret;
20329		  ret = isblank(ch);
20330
20331  ;
20332  return 0;
20333}
20334_ACEOF
20335if ac_fn_cxx_try_compile "$LINENO"; then :
20336  glibcxx_cv_c99_ctype_tr1=yes
20337else
20338  glibcxx_cv_c99_ctype_tr1=no
20339fi
20340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20341
20342fi
20343
20344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20345$as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20346  if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20347
20348$as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20349
20350  fi
20351
20352  # Check for the existence of <fenv.h> functions.
20353  for ac_header in fenv.h
20354do :
20355  ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20356if test "x$ac_cv_header_fenv_h" = xyes; then :
20357  cat >>confdefs.h <<_ACEOF
20358#define HAVE_FENV_H 1
20359_ACEOF
20360 ac_has_fenv_h=yes
20361else
20362  ac_has_fenv_h=no
20363fi
20364
20365done
20366
20367  ac_c99_fenv_tr1=no;
20368  if test x"$ac_has_fenv_h" = x"yes"; then
20369    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20370$as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20371    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20372/* end confdefs.h.  */
20373#include <fenv.h>
20374int
20375main ()
20376{
20377int except, mode;
20378		    fexcept_t* pflag;
20379		    fenv_t* penv;
20380		    int ret;
20381		    ret = feclearexcept(except);
20382		    ret = fegetexceptflag(pflag, except);
20383		    ret = feraiseexcept(except);
20384		    ret = fesetexceptflag(pflag, except);
20385		    ret = fetestexcept(except);
20386		    ret = fegetround();
20387		    ret = fesetround(mode);
20388		    ret = fegetenv(penv);
20389		    ret = feholdexcept(penv);
20390		    ret = fesetenv(penv);
20391		    ret = feupdateenv(penv);
20392
20393  ;
20394  return 0;
20395}
20396_ACEOF
20397if ac_fn_cxx_try_compile "$LINENO"; then :
20398  ac_c99_fenv_tr1=yes
20399else
20400  ac_c99_fenv_tr1=no
20401fi
20402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20403  fi
20404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20405$as_echo "$ac_c99_fenv_tr1" >&6; }
20406  if test x"$ac_c99_fenv_tr1" = x"yes"; then
20407
20408$as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20409
20410  fi
20411
20412  # Check for the existence of <stdint.h> types.
20413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20414$as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20415  if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20416  $as_echo_n "(cached) " >&6
20417else
20418
20419  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20420/* end confdefs.h.  */
20421#define __STDC_LIMIT_MACROS
20422		  #define __STDC_CONSTANT_MACROS
20423		  #include <stdint.h>
20424int
20425main ()
20426{
20427typedef int8_t          my_int8_t;
20428		  my_int8_t               i8 = INT8_MIN;
20429		  i8 = INT8_MAX;
20430		  typedef int16_t         my_int16_t;
20431		  my_int16_t              i16 = INT16_MIN;
20432		  i16 = INT16_MAX;
20433		  typedef int32_t         my_int32_t;
20434		  my_int32_t              i32 = INT32_MIN;
20435		  i32 = INT32_MAX;
20436		  typedef int64_t         my_int64_t;
20437		  my_int64_t              i64 = INT64_MIN;
20438		  i64 = INT64_MAX;
20439		  typedef int_fast8_t     my_int_fast8_t;
20440		  my_int_fast8_t          if8 = INT_FAST8_MIN;
20441		  if8 = INT_FAST8_MAX;
20442		  typedef int_fast16_t    my_int_fast16_t;
20443		  my_int_fast16_t         if16 = INT_FAST16_MIN;
20444		  if16 = INT_FAST16_MAX;
20445		  typedef int_fast32_t    my_int_fast32_t;
20446		  my_int_fast32_t         if32 = INT_FAST32_MIN;
20447		  if32 = INT_FAST32_MAX;
20448		  typedef int_fast64_t    my_int_fast64_t;
20449		  my_int_fast64_t         if64 = INT_FAST64_MIN;
20450		  if64 = INT_FAST64_MAX;
20451		  typedef int_least8_t    my_int_least8_t;
20452		  my_int_least8_t         il8 = INT_LEAST8_MIN;
20453		  il8 = INT_LEAST8_MAX;
20454		  typedef int_least16_t   my_int_least16_t;
20455		  my_int_least16_t        il16 = INT_LEAST16_MIN;
20456		  il16 = INT_LEAST16_MAX;
20457		  typedef int_least32_t   my_int_least32_t;
20458		  my_int_least32_t        il32 = INT_LEAST32_MIN;
20459		  il32 = INT_LEAST32_MAX;
20460		  typedef int_least64_t   my_int_least64_t;
20461		  my_int_least64_t        il64 = INT_LEAST64_MIN;
20462		  il64 = INT_LEAST64_MAX;
20463		  typedef intmax_t        my_intmax_t;
20464		  my_intmax_t             im = INTMAX_MAX;
20465		  im = INTMAX_MIN;
20466		  typedef intptr_t        my_intptr_t;
20467		  my_intptr_t             ip = INTPTR_MAX;
20468		  ip = INTPTR_MIN;
20469		  typedef uint8_t         my_uint8_t;
20470		  my_uint8_t              ui8 = UINT8_MAX;
20471		  ui8 = UINT8_MAX;
20472		  typedef uint16_t        my_uint16_t;
20473		  my_uint16_t             ui16 = UINT16_MAX;
20474		  ui16 = UINT16_MAX;
20475		  typedef uint32_t        my_uint32_t;
20476		  my_uint32_t             ui32 = UINT32_MAX;
20477		  ui32 = UINT32_MAX;
20478		  typedef uint64_t        my_uint64_t;
20479		  my_uint64_t             ui64 = UINT64_MAX;
20480		  ui64 = UINT64_MAX;
20481		  typedef uint_fast8_t    my_uint_fast8_t;
20482		  my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
20483		  uif8 = UINT_FAST8_MAX;
20484		  typedef uint_fast16_t   my_uint_fast16_t;
20485		  my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
20486		  uif16 = UINT_FAST16_MAX;
20487		  typedef uint_fast32_t   my_uint_fast32_t;
20488		  my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
20489		  uif32 = UINT_FAST32_MAX;
20490		  typedef uint_fast64_t   my_uint_fast64_t;
20491		  my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
20492		  uif64 = UINT_FAST64_MAX;
20493		  typedef uint_least8_t   my_uint_least8_t;
20494		  my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
20495		  uil8 = UINT_LEAST8_MAX;
20496		  typedef uint_least16_t  my_uint_least16_t;
20497		  my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
20498		  uil16 = UINT_LEAST16_MAX;
20499		  typedef uint_least32_t  my_uint_least32_t;
20500		  my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
20501		  uil32 = UINT_LEAST32_MAX;
20502		  typedef uint_least64_t  my_uint_least64_t;
20503		  my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
20504		  uil64 = UINT_LEAST64_MAX;
20505		  typedef uintmax_t       my_uintmax_t;
20506		  my_uintmax_t            uim = UINTMAX_MAX;
20507		  uim = UINTMAX_MAX;
20508		  typedef uintptr_t       my_uintptr_t;
20509		  my_uintptr_t            uip = UINTPTR_MAX;
20510		  uip = UINTPTR_MAX;
20511
20512  ;
20513  return 0;
20514}
20515_ACEOF
20516if ac_fn_cxx_try_compile "$LINENO"; then :
20517  glibcxx_cv_c99_stdint_tr1=yes
20518else
20519  glibcxx_cv_c99_stdint_tr1=no
20520fi
20521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20522
20523fi
20524
20525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20526$as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20527  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20528
20529$as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20530
20531  fi
20532
20533  # Check for the existence of <math.h> functions.
20534  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20535$as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20536  if ${glibcxx_cv_c99_math_tr1+:} false; then :
20537  $as_echo_n "(cached) " >&6
20538else
20539
20540  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541/* end confdefs.h.  */
20542#include <math.h>
20543int
20544main ()
20545{
20546typedef double_t  my_double_t;
20547		  typedef float_t   my_float_t;
20548		  acosh(0.0);
20549		  acoshf(0.0f);
20550		  acoshl(0.0l);
20551		  asinh(0.0);
20552		  asinhf(0.0f);
20553		  asinhl(0.0l);
20554		  atanh(0.0);
20555		  atanhf(0.0f);
20556		  atanhl(0.0l);
20557		  cbrt(0.0);
20558		  cbrtf(0.0f);
20559		  cbrtl(0.0l);
20560		  copysign(0.0, 0.0);
20561		  copysignf(0.0f, 0.0f);
20562		  copysignl(0.0l, 0.0l);
20563		  erf(0.0);
20564		  erff(0.0f);
20565		  erfl(0.0l);
20566		  erfc(0.0);
20567		  erfcf(0.0f);
20568		  erfcl(0.0l);
20569		  exp2(0.0);
20570		  exp2f(0.0f);
20571		  exp2l(0.0l);
20572		  expm1(0.0);
20573		  expm1f(0.0f);
20574		  expm1l(0.0l);
20575		  fdim(0.0, 0.0);
20576		  fdimf(0.0f, 0.0f);
20577		  fdiml(0.0l, 0.0l);
20578		  fma(0.0, 0.0, 0.0);
20579		  fmaf(0.0f, 0.0f, 0.0f);
20580		  fmal(0.0l, 0.0l, 0.0l);
20581		  fmax(0.0, 0.0);
20582		  fmaxf(0.0f, 0.0f);
20583		  fmaxl(0.0l, 0.0l);
20584		  fmin(0.0, 0.0);
20585		  fminf(0.0f, 0.0f);
20586		  fminl(0.0l, 0.0l);
20587		  hypot(0.0, 0.0);
20588		  hypotf(0.0f, 0.0f);
20589		  hypotl(0.0l, 0.0l);
20590		  ilogb(0.0);
20591		  ilogbf(0.0f);
20592		  ilogbl(0.0l);
20593		  lgamma(0.0);
20594		  lgammaf(0.0f);
20595		  lgammal(0.0l);
20596		  #ifndef __APPLE__ /* see below */
20597		  llrint(0.0);
20598		  llrintf(0.0f);
20599		  llrintl(0.0l);
20600		  llround(0.0);
20601		  llroundf(0.0f);
20602		  llroundl(0.0l);
20603		  #endif
20604		  log1p(0.0);
20605		  log1pf(0.0f);
20606		  log1pl(0.0l);
20607		  log2(0.0);
20608		  log2f(0.0f);
20609		  log2l(0.0l);
20610		  logb(0.0);
20611		  logbf(0.0f);
20612		  logbl(0.0l);
20613		  lrint(0.0);
20614		  lrintf(0.0f);
20615		  lrintl(0.0l);
20616		  lround(0.0);
20617		  lroundf(0.0f);
20618		  lroundl(0.0l);
20619		  nan(0);
20620		  nanf(0);
20621		  nanl(0);
20622		  nearbyint(0.0);
20623		  nearbyintf(0.0f);
20624		  nearbyintl(0.0l);
20625		  nextafter(0.0, 0.0);
20626		  nextafterf(0.0f, 0.0f);
20627		  nextafterl(0.0l, 0.0l);
20628		  nexttoward(0.0, 0.0);
20629		  nexttowardf(0.0f, 0.0f);
20630		  nexttowardl(0.0l, 0.0l);
20631		  remainder(0.0, 0.0);
20632		  remainderf(0.0f, 0.0f);
20633		  remainderl(0.0l, 0.0l);
20634		  remquo(0.0, 0.0, 0);
20635		  remquof(0.0f, 0.0f, 0);
20636		  remquol(0.0l, 0.0l, 0);
20637		  rint(0.0);
20638		  rintf(0.0f);
20639		  rintl(0.0l);
20640		  round(0.0);
20641		  roundf(0.0f);
20642		  roundl(0.0l);
20643		  scalbln(0.0, 0l);
20644		  scalblnf(0.0f, 0l);
20645		  scalblnl(0.0l, 0l);
20646		  scalbn(0.0, 0);
20647		  scalbnf(0.0f, 0);
20648		  scalbnl(0.0l, 0);
20649		  tgamma(0.0);
20650		  tgammaf(0.0f);
20651		  tgammal(0.0l);
20652		  trunc(0.0);
20653		  truncf(0.0f);
20654		  truncl(0.0l);
20655
20656  ;
20657  return 0;
20658}
20659_ACEOF
20660if ac_fn_cxx_try_compile "$LINENO"; then :
20661  glibcxx_cv_c99_math_tr1=yes
20662else
20663  glibcxx_cv_c99_math_tr1=no
20664fi
20665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20666
20667fi
20668
20669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20670$as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20671  if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20672
20673$as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20674
20675
20676    case "${target_os}" in
20677      darwin*)
20678        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20679$as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20680        if ${glibcxx_cv_c99_math_llround+:} false; then :
20681  $as_echo_n "(cached) " >&6
20682else
20683
20684          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20685/* end confdefs.h.  */
20686#include <math.h>
20687int
20688main ()
20689{
20690llrint(0.0);
20691		  llrintf(0.0f);
20692		  llrintl(0.0l);
20693		  llround(0.0);
20694		  llroundf(0.0f);
20695		  llroundl(0.0l);
20696
20697  ;
20698  return 0;
20699}
20700_ACEOF
20701if ac_fn_cxx_try_compile "$LINENO"; then :
20702  glibcxx_cv_c99_math_llround=yes
20703else
20704  glibcxx_cv_c99_math_llround=no
20705fi
20706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20707
20708fi
20709
20710	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20711$as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20712        ;;
20713    esac
20714    if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20715
20716$as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20717
20718    fi
20719  fi
20720
20721  # Check for the existence of <inttypes.h> functions (NB: doesn't make
20722  # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20723  ac_c99_inttypes_tr1=no;
20724  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20725    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20726$as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20727    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20728/* end confdefs.h.  */
20729#include <inttypes.h>
20730int
20731main ()
20732{
20733intmax_t i, numer, denom, base;
20734		    const char* s;
20735		    char** endptr;
20736		    intmax_t ret = imaxabs(i);
20737		    imaxdiv_t dret = imaxdiv(numer, denom);
20738		    ret = strtoimax(s, endptr, base);
20739		    uintmax_t uret = strtoumax(s, endptr, base);
20740
20741  ;
20742  return 0;
20743}
20744_ACEOF
20745if ac_fn_cxx_try_compile "$LINENO"; then :
20746  ac_c99_inttypes_tr1=yes
20747else
20748  ac_c99_inttypes_tr1=no
20749fi
20750rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20751  fi
20752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20753$as_echo "$ac_c99_inttypes_tr1" >&6; }
20754  if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20755
20756$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20757
20758  fi
20759
20760  # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20761  # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20762  ac_c99_inttypes_wchar_t_tr1=no;
20763  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20764    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20765$as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20766    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20767/* end confdefs.h.  */
20768#include <inttypes.h>
20769int
20770main ()
20771{
20772intmax_t base;
20773		    const wchar_t* s;
20774		    wchar_t** endptr;
20775		    intmax_t ret = wcstoimax(s, endptr, base);
20776		    uintmax_t uret = wcstoumax(s, endptr, base);
20777
20778  ;
20779  return 0;
20780}
20781_ACEOF
20782if ac_fn_cxx_try_compile "$LINENO"; then :
20783  ac_c99_inttypes_wchar_t_tr1=yes
20784else
20785  ac_c99_inttypes_wchar_t_tr1=no
20786fi
20787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20788  fi
20789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20790$as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20791  if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20792
20793$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20794
20795  fi
20796
20797  # Check for the existence of the <stdbool.h> header.
20798  for ac_header in stdbool.h
20799do :
20800  ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20801if test "x$ac_cv_header_stdbool_h" = xyes; then :
20802  cat >>confdefs.h <<_ACEOF
20803#define HAVE_STDBOOL_H 1
20804_ACEOF
20805
20806fi
20807
20808done
20809
20810
20811  # Check for the existence of the <stdalign.h> header.
20812  for ac_header in stdalign.h
20813do :
20814  ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20815if test "x$ac_cv_header_stdalign_h" = xyes; then :
20816  cat >>confdefs.h <<_ACEOF
20817#define HAVE_STDALIGN_H 1
20818_ACEOF
20819
20820fi
20821
20822done
20823
20824
20825  CXXFLAGS="$ac_save_CXXFLAGS"
20826  ac_ext=c
20827ac_cpp='$CPP $CPPFLAGS'
20828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20830ac_compiler_gnu=$ac_cv_c_compiler_gnu
20831
20832
20833
20834# For the EOF, SEEK_CUR, and SEEK_END integer constants.
20835
20836
20837  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20838$as_echo_n "checking for the value of EOF... " >&6; }
20839if ${glibcxx_cv_stdio_eof+:} false; then :
20840  $as_echo_n "(cached) " >&6
20841else
20842
20843  if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
20844
20845else
20846  as_fn_error $? "computing EOF failed" "$LINENO" 5
20847fi
20848
20849
20850fi
20851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20852$as_echo "$glibcxx_cv_stdio_eof" >&6; }
20853
20854cat >>confdefs.h <<_ACEOF
20855#define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20856_ACEOF
20857
20858
20859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20860$as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20861if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20862  $as_echo_n "(cached) " >&6
20863else
20864
20865  if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
20866
20867else
20868  as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20869fi
20870
20871
20872fi
20873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20874$as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20875
20876cat >>confdefs.h <<_ACEOF
20877#define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20878_ACEOF
20879
20880
20881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20882$as_echo_n "checking for the value of SEEK_END... " >&6; }
20883if ${glibcxx_cv_stdio_seek_end+:} false; then :
20884  $as_echo_n "(cached) " >&6
20885else
20886
20887  if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
20888
20889else
20890  as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20891fi
20892
20893
20894fi
20895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20896$as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20897
20898cat >>confdefs.h <<_ACEOF
20899#define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20900_ACEOF
20901
20902
20903
20904# For gettimeofday support.
20905
20906
20907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20908$as_echo_n "checking for gettimeofday... " >&6; }
20909
20910
20911  ac_ext=cpp
20912ac_cpp='$CXXCPP $CPPFLAGS'
20913ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20914ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20915ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20916
20917  ac_save_CXXFLAGS="$CXXFLAGS"
20918  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20919
20920  ac_has_gettimeofday=no;
20921  for ac_header in sys/time.h
20922do :
20923  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20924if test "x$ac_cv_header_sys_time_h" = xyes; then :
20925  cat >>confdefs.h <<_ACEOF
20926#define HAVE_SYS_TIME_H 1
20927_ACEOF
20928 ac_has_sys_time_h=yes
20929else
20930  ac_has_sys_time_h=no
20931fi
20932
20933done
20934
20935  if test x"$ac_has_sys_time_h" = x"yes"; then
20936    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20937$as_echo_n "checking for gettimeofday... " >&6; }
20938    if test x$gcc_no_link = xyes; then
20939  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20940/* end confdefs.h.  */
20941#include <sys/time.h>
20942int
20943main ()
20944{
20945timeval tv; gettimeofday(&tv, 0);
20946  ;
20947  return 0;
20948}
20949_ACEOF
20950if ac_fn_cxx_try_compile "$LINENO"; then :
20951  ac_has_gettimeofday=yes
20952else
20953  ac_has_gettimeofday=no
20954fi
20955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20956else
20957  if test x$gcc_no_link = xyes; then
20958  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20959fi
20960cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961/* end confdefs.h.  */
20962#include <sys/time.h>
20963int
20964main ()
20965{
20966timeval tv; gettimeofday(&tv, 0);
20967  ;
20968  return 0;
20969}
20970_ACEOF
20971if ac_fn_cxx_try_link "$LINENO"; then :
20972  ac_has_gettimeofday=yes
20973else
20974  ac_has_gettimeofday=no
20975fi
20976rm -f core conftest.err conftest.$ac_objext \
20977    conftest$ac_exeext conftest.$ac_ext
20978fi
20979
20980    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20981$as_echo "$ac_has_gettimeofday" >&6; }
20982  fi
20983
20984  if test x"$ac_has_gettimeofday" = x"yes"; then
20985
20986$as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20987
20988  fi
20989
20990  CXXFLAGS="$ac_save_CXXFLAGS"
20991  ac_ext=c
20992ac_cpp='$CPP $CPPFLAGS'
20993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20995ac_compiler_gnu=$ac_cv_c_compiler_gnu
20996
20997
20998
20999# For clock_gettime, nanosleep and sched_yield support.
21000
21001
21002   # Check whether --enable-libstdcxx-time was given.
21003if test "${enable_libstdcxx_time+set}" = set; then :
21004  enableval=$enable_libstdcxx_time;
21005      case "$enableval" in
21006       yes|no|rt) ;;
21007       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21008	  	        esac
21009
21010else
21011  enable_libstdcxx_time=auto
21012fi
21013
21014
21015
21016
21017  ac_ext=cpp
21018ac_cpp='$CXXCPP $CPPFLAGS'
21019ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21020ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21022
21023  ac_save_CXXFLAGS="$CXXFLAGS"
21024  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21025  ac_save_LIBS="$LIBS"
21026
21027  ac_has_clock_monotonic=no
21028  ac_has_clock_realtime=no
21029  ac_has_nanosleep=no
21030  ac_has_sched_yield=no
21031
21032  if test x"$enable_libstdcxx_time" = x"auto"; then
21033
21034    case "${target_os}" in
21035      cygwin*)
21036        ac_has_nanosleep=yes
21037        ;;
21038      darwin*)
21039        ac_has_nanosleep=yes
21040        ac_has_sched_yield=yes
21041        ;;
21042      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21043        # Don't use link test for freestanding library, in case gcc_no_link=yes
21044        if test x"$is_hosted" = xyes; then
21045          # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21046          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21047$as_echo_n "checking for library containing clock_gettime... " >&6; }
21048if ${ac_cv_search_clock_gettime+:} false; then :
21049  $as_echo_n "(cached) " >&6
21050else
21051  ac_func_search_save_LIBS=$LIBS
21052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21053/* end confdefs.h.  */
21054
21055/* Override any GCC internal prototype to avoid an error.
21056   Use char because int might match the return type of a GCC
21057   builtin and then its argument prototype would still apply.  */
21058#ifdef __cplusplus
21059extern "C"
21060#endif
21061char clock_gettime ();
21062int
21063main ()
21064{
21065return clock_gettime ();
21066  ;
21067  return 0;
21068}
21069_ACEOF
21070for ac_lib in '' rt; do
21071  if test -z "$ac_lib"; then
21072    ac_res="none required"
21073  else
21074    ac_res=-l$ac_lib
21075    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21076  fi
21077  if test x$gcc_no_link = xyes; then
21078  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21079fi
21080if ac_fn_cxx_try_link "$LINENO"; then :
21081  ac_cv_search_clock_gettime=$ac_res
21082fi
21083rm -f core conftest.err conftest.$ac_objext \
21084    conftest$ac_exeext
21085  if ${ac_cv_search_clock_gettime+:} false; then :
21086  break
21087fi
21088done
21089if ${ac_cv_search_clock_gettime+:} false; then :
21090
21091else
21092  ac_cv_search_clock_gettime=no
21093fi
21094rm conftest.$ac_ext
21095LIBS=$ac_func_search_save_LIBS
21096fi
21097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21098$as_echo "$ac_cv_search_clock_gettime" >&6; }
21099ac_res=$ac_cv_search_clock_gettime
21100if test "$ac_res" != no; then :
21101  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21102
21103fi
21104
21105          if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21106            ac_has_clock_monotonic=yes
21107            ac_has_clock_realtime=yes
21108          fi
21109        fi
21110        ac_has_nanosleep=yes
21111        ac_has_sched_yield=yes
21112        ;;
21113      freebsd*|netbsd*|dragonfly*|rtems*)
21114        ac_has_clock_monotonic=yes
21115        ac_has_clock_realtime=yes
21116        ac_has_nanosleep=yes
21117        ac_has_sched_yield=yes
21118        ;;
21119      openbsd*)
21120        ac_has_clock_monotonic=yes
21121        ac_has_clock_realtime=yes
21122        ac_has_nanosleep=yes
21123        ;;
21124      solaris*)
21125        GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
21126        ac_has_clock_monotonic=yes
21127        ac_has_clock_realtime=yes
21128        ac_has_nanosleep=yes
21129        ac_has_sched_yield=yes
21130        ;;
21131    esac
21132
21133  elif test x"$enable_libstdcxx_time" != x"no"; then
21134
21135    if test x"$enable_libstdcxx_time" = x"rt"; then
21136      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21137$as_echo_n "checking for library containing clock_gettime... " >&6; }
21138if ${ac_cv_search_clock_gettime+:} false; then :
21139  $as_echo_n "(cached) " >&6
21140else
21141  ac_func_search_save_LIBS=$LIBS
21142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21143/* end confdefs.h.  */
21144
21145/* Override any GCC internal prototype to avoid an error.
21146   Use char because int might match the return type of a GCC
21147   builtin and then its argument prototype would still apply.  */
21148#ifdef __cplusplus
21149extern "C"
21150#endif
21151char clock_gettime ();
21152int
21153main ()
21154{
21155return clock_gettime ();
21156  ;
21157  return 0;
21158}
21159_ACEOF
21160for ac_lib in '' rt posix4; do
21161  if test -z "$ac_lib"; then
21162    ac_res="none required"
21163  else
21164    ac_res=-l$ac_lib
21165    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21166  fi
21167  if test x$gcc_no_link = xyes; then
21168  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21169fi
21170if ac_fn_cxx_try_link "$LINENO"; then :
21171  ac_cv_search_clock_gettime=$ac_res
21172fi
21173rm -f core conftest.err conftest.$ac_objext \
21174    conftest$ac_exeext
21175  if ${ac_cv_search_clock_gettime+:} false; then :
21176  break
21177fi
21178done
21179if ${ac_cv_search_clock_gettime+:} false; then :
21180
21181else
21182  ac_cv_search_clock_gettime=no
21183fi
21184rm conftest.$ac_ext
21185LIBS=$ac_func_search_save_LIBS
21186fi
21187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21188$as_echo "$ac_cv_search_clock_gettime" >&6; }
21189ac_res=$ac_cv_search_clock_gettime
21190if test "$ac_res" != no; then :
21191  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21192
21193fi
21194
21195      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21196$as_echo_n "checking for library containing nanosleep... " >&6; }
21197if ${ac_cv_search_nanosleep+:} false; then :
21198  $as_echo_n "(cached) " >&6
21199else
21200  ac_func_search_save_LIBS=$LIBS
21201cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21202/* end confdefs.h.  */
21203
21204/* Override any GCC internal prototype to avoid an error.
21205   Use char because int might match the return type of a GCC
21206   builtin and then its argument prototype would still apply.  */
21207#ifdef __cplusplus
21208extern "C"
21209#endif
21210char nanosleep ();
21211int
21212main ()
21213{
21214return nanosleep ();
21215  ;
21216  return 0;
21217}
21218_ACEOF
21219for ac_lib in '' rt posix4; do
21220  if test -z "$ac_lib"; then
21221    ac_res="none required"
21222  else
21223    ac_res=-l$ac_lib
21224    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21225  fi
21226  if test x$gcc_no_link = xyes; then
21227  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21228fi
21229if ac_fn_cxx_try_link "$LINENO"; then :
21230  ac_cv_search_nanosleep=$ac_res
21231fi
21232rm -f core conftest.err conftest.$ac_objext \
21233    conftest$ac_exeext
21234  if ${ac_cv_search_nanosleep+:} false; then :
21235  break
21236fi
21237done
21238if ${ac_cv_search_nanosleep+:} false; then :
21239
21240else
21241  ac_cv_search_nanosleep=no
21242fi
21243rm conftest.$ac_ext
21244LIBS=$ac_func_search_save_LIBS
21245fi
21246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21247$as_echo "$ac_cv_search_nanosleep" >&6; }
21248ac_res=$ac_cv_search_nanosleep
21249if test "$ac_res" != no; then :
21250  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21251
21252fi
21253
21254    else
21255      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21256$as_echo_n "checking for library containing clock_gettime... " >&6; }
21257if ${ac_cv_search_clock_gettime+:} false; then :
21258  $as_echo_n "(cached) " >&6
21259else
21260  ac_func_search_save_LIBS=$LIBS
21261cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21262/* end confdefs.h.  */
21263
21264/* Override any GCC internal prototype to avoid an error.
21265   Use char because int might match the return type of a GCC
21266   builtin and then its argument prototype would still apply.  */
21267#ifdef __cplusplus
21268extern "C"
21269#endif
21270char clock_gettime ();
21271int
21272main ()
21273{
21274return clock_gettime ();
21275  ;
21276  return 0;
21277}
21278_ACEOF
21279for ac_lib in '' posix4; do
21280  if test -z "$ac_lib"; then
21281    ac_res="none required"
21282  else
21283    ac_res=-l$ac_lib
21284    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21285  fi
21286  if test x$gcc_no_link = xyes; then
21287  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21288fi
21289if ac_fn_cxx_try_link "$LINENO"; then :
21290  ac_cv_search_clock_gettime=$ac_res
21291fi
21292rm -f core conftest.err conftest.$ac_objext \
21293    conftest$ac_exeext
21294  if ${ac_cv_search_clock_gettime+:} false; then :
21295  break
21296fi
21297done
21298if ${ac_cv_search_clock_gettime+:} false; then :
21299
21300else
21301  ac_cv_search_clock_gettime=no
21302fi
21303rm conftest.$ac_ext
21304LIBS=$ac_func_search_save_LIBS
21305fi
21306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21307$as_echo "$ac_cv_search_clock_gettime" >&6; }
21308ac_res=$ac_cv_search_clock_gettime
21309if test "$ac_res" != no; then :
21310  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21311
21312fi
21313
21314      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21315$as_echo_n "checking for library containing nanosleep... " >&6; }
21316if ${ac_cv_search_nanosleep+:} false; then :
21317  $as_echo_n "(cached) " >&6
21318else
21319  ac_func_search_save_LIBS=$LIBS
21320cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21321/* end confdefs.h.  */
21322
21323/* Override any GCC internal prototype to avoid an error.
21324   Use char because int might match the return type of a GCC
21325   builtin and then its argument prototype would still apply.  */
21326#ifdef __cplusplus
21327extern "C"
21328#endif
21329char nanosleep ();
21330int
21331main ()
21332{
21333return nanosleep ();
21334  ;
21335  return 0;
21336}
21337_ACEOF
21338for ac_lib in '' posix4; do
21339  if test -z "$ac_lib"; then
21340    ac_res="none required"
21341  else
21342    ac_res=-l$ac_lib
21343    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21344  fi
21345  if test x$gcc_no_link = xyes; then
21346  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21347fi
21348if ac_fn_cxx_try_link "$LINENO"; then :
21349  ac_cv_search_nanosleep=$ac_res
21350fi
21351rm -f core conftest.err conftest.$ac_objext \
21352    conftest$ac_exeext
21353  if ${ac_cv_search_nanosleep+:} false; then :
21354  break
21355fi
21356done
21357if ${ac_cv_search_nanosleep+:} false; then :
21358
21359else
21360  ac_cv_search_nanosleep=no
21361fi
21362rm conftest.$ac_ext
21363LIBS=$ac_func_search_save_LIBS
21364fi
21365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21366$as_echo "$ac_cv_search_nanosleep" >&6; }
21367ac_res=$ac_cv_search_nanosleep
21368if test "$ac_res" != no; then :
21369  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21370
21371fi
21372
21373    fi
21374
21375    case "$ac_cv_search_clock_gettime" in
21376      -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21377      ;;
21378    esac
21379    case "$ac_cv_search_nanosleep" in
21380      -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21381      ;;
21382    esac
21383
21384    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21385$as_echo_n "checking for library containing sched_yield... " >&6; }
21386if ${ac_cv_search_sched_yield+:} false; then :
21387  $as_echo_n "(cached) " >&6
21388else
21389  ac_func_search_save_LIBS=$LIBS
21390cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21391/* end confdefs.h.  */
21392
21393/* Override any GCC internal prototype to avoid an error.
21394   Use char because int might match the return type of a GCC
21395   builtin and then its argument prototype would still apply.  */
21396#ifdef __cplusplus
21397extern "C"
21398#endif
21399char sched_yield ();
21400int
21401main ()
21402{
21403return sched_yield ();
21404  ;
21405  return 0;
21406}
21407_ACEOF
21408for ac_lib in '' rt posix4; do
21409  if test -z "$ac_lib"; then
21410    ac_res="none required"
21411  else
21412    ac_res=-l$ac_lib
21413    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21414  fi
21415  if test x$gcc_no_link = xyes; then
21416  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21417fi
21418if ac_fn_cxx_try_link "$LINENO"; then :
21419  ac_cv_search_sched_yield=$ac_res
21420fi
21421rm -f core conftest.err conftest.$ac_objext \
21422    conftest$ac_exeext
21423  if ${ac_cv_search_sched_yield+:} false; then :
21424  break
21425fi
21426done
21427if ${ac_cv_search_sched_yield+:} false; then :
21428
21429else
21430  ac_cv_search_sched_yield=no
21431fi
21432rm conftest.$ac_ext
21433LIBS=$ac_func_search_save_LIBS
21434fi
21435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21436$as_echo "$ac_cv_search_sched_yield" >&6; }
21437ac_res=$ac_cv_search_sched_yield
21438if test "$ac_res" != no; then :
21439  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21440
21441fi
21442
21443
21444    case "$ac_cv_search_sched_yield" in
21445      -lposix4*)
21446      GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21447      ac_has_sched_yield=yes
21448      ;;
21449      -lrt*)
21450      if test x"$enable_libstdcxx_time" = x"rt"; then
21451	GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21452        ac_has_sched_yield=yes
21453      fi
21454      ;;
21455      *)
21456      ac_has_sched_yield=yes
21457      ;;
21458    esac
21459
21460    for ac_header in unistd.h
21461do :
21462  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21463if test "x$ac_cv_header_unistd_h" = xyes; then :
21464  cat >>confdefs.h <<_ACEOF
21465#define HAVE_UNISTD_H 1
21466_ACEOF
21467 ac_has_unistd_h=yes
21468else
21469  ac_has_unistd_h=no
21470fi
21471
21472done
21473
21474
21475    if test x"$ac_has_unistd_h" = x"yes"; then
21476      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21477$as_echo_n "checking for monotonic clock... " >&6; }
21478      if test x$gcc_no_link = xyes; then
21479  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21480fi
21481cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21482/* end confdefs.h.  */
21483#include <unistd.h>
21484	 #include <time.h>
21485
21486int
21487main ()
21488{
21489#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21490	  timespec tp;
21491	 #endif
21492	  clock_gettime(CLOCK_MONOTONIC, &tp);
21493
21494  ;
21495  return 0;
21496}
21497_ACEOF
21498if ac_fn_cxx_try_link "$LINENO"; then :
21499  ac_has_clock_monotonic=yes
21500else
21501  ac_has_clock_monotonic=no
21502fi
21503rm -f core conftest.err conftest.$ac_objext \
21504    conftest$ac_exeext conftest.$ac_ext
21505
21506      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21507$as_echo "$ac_has_clock_monotonic" >&6; }
21508
21509      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21510$as_echo_n "checking for realtime clock... " >&6; }
21511      if test x$gcc_no_link = xyes; then
21512  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21513fi
21514cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21515/* end confdefs.h.  */
21516#include <unistd.h>
21517	 #include <time.h>
21518
21519int
21520main ()
21521{
21522#if _POSIX_TIMERS > 0
21523	  timespec tp;
21524	 #endif
21525	  clock_gettime(CLOCK_REALTIME, &tp);
21526
21527  ;
21528  return 0;
21529}
21530_ACEOF
21531if ac_fn_cxx_try_link "$LINENO"; then :
21532  ac_has_clock_realtime=yes
21533else
21534  ac_has_clock_realtime=no
21535fi
21536rm -f core conftest.err conftest.$ac_objext \
21537    conftest$ac_exeext conftest.$ac_ext
21538
21539      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21540$as_echo "$ac_has_clock_realtime" >&6; }
21541
21542      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21543$as_echo_n "checking for nanosleep... " >&6; }
21544      if test x$gcc_no_link = xyes; then
21545  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21546fi
21547cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21548/* end confdefs.h.  */
21549#include <unistd.h>
21550	 #include <time.h>
21551
21552int
21553main ()
21554{
21555#if _POSIX_TIMERS > 0
21556	  timespec tp;
21557	 #endif
21558	  nanosleep(&tp, 0);
21559
21560  ;
21561  return 0;
21562}
21563_ACEOF
21564if ac_fn_cxx_try_link "$LINENO"; then :
21565  ac_has_nanosleep=yes
21566else
21567  ac_has_nanosleep=no
21568fi
21569rm -f core conftest.err conftest.$ac_objext \
21570    conftest$ac_exeext conftest.$ac_ext
21571
21572      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21573$as_echo "$ac_has_nanosleep" >&6; }
21574    fi
21575  fi
21576
21577  if test x"$ac_has_clock_monotonic" != x"yes"; then
21578    case ${target_os} in
21579      linux*)
21580	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21581$as_echo_n "checking for clock_gettime syscall... " >&6; }
21582	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21583/* end confdefs.h.  */
21584#include <unistd.h>
21585	   #include <time.h>
21586	   #include <sys/syscall.h>
21587
21588int
21589main ()
21590{
21591#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21592	    timespec tp;
21593	   #endif
21594	   syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21595	   syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21596
21597  ;
21598  return 0;
21599}
21600_ACEOF
21601if ac_fn_cxx_try_compile "$LINENO"; then :
21602  ac_has_clock_monotonic_syscall=yes
21603else
21604  ac_has_clock_monotonic_syscall=no
21605fi
21606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21607	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21608$as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21609	if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21610
21611$as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21612
21613	  ac_has_clock_monotonic=yes
21614	  ac_has_clock_realtime=yes
21615	fi;;
21616    esac
21617  fi
21618
21619  if test x"$ac_has_clock_monotonic" = x"yes"; then
21620
21621$as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21622
21623  fi
21624
21625  if test x"$ac_has_clock_realtime" = x"yes"; then
21626
21627$as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21628
21629  fi
21630
21631  if test x"$ac_has_sched_yield" = x"yes"; then
21632
21633$as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21634
21635  fi
21636
21637  if test x"$ac_has_nanosleep" = x"yes"; then
21638
21639$as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21640
21641  else
21642      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21643$as_echo_n "checking for sleep... " >&6; }
21644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645/* end confdefs.h.  */
21646#include <unistd.h>
21647int
21648main ()
21649{
21650sleep(1)
21651  ;
21652  return 0;
21653}
21654_ACEOF
21655if ac_fn_cxx_try_compile "$LINENO"; then :
21656  ac_has_sleep=yes
21657else
21658  ac_has_sleep=no
21659fi
21660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661      if test x"$ac_has_sleep" = x"yes"; then
21662
21663$as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21664
21665      fi
21666      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21667$as_echo "$ac_has_sleep" >&6; }
21668      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21669$as_echo_n "checking for usleep... " >&6; }
21670      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21671/* end confdefs.h.  */
21672#include <unistd.h>
21673int
21674main ()
21675{
21676sleep(1);
21677                      usleep(100);
21678  ;
21679  return 0;
21680}
21681_ACEOF
21682if ac_fn_cxx_try_compile "$LINENO"; then :
21683  ac_has_usleep=yes
21684else
21685  ac_has_usleep=no
21686fi
21687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21688      if test x"$ac_has_usleep" = x"yes"; then
21689
21690$as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21691
21692      fi
21693      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21694$as_echo "$ac_has_usleep" >&6; }
21695  fi
21696
21697  if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21698      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21699$as_echo_n "checking for Sleep... " >&6; }
21700      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21701/* end confdefs.h.  */
21702#include <windows.h>
21703int
21704main ()
21705{
21706Sleep(1)
21707  ;
21708  return 0;
21709}
21710_ACEOF
21711if ac_fn_cxx_try_compile "$LINENO"; then :
21712  ac_has_win32_sleep=yes
21713else
21714  ac_has_win32_sleep=no
21715fi
21716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21717      if test x"$ac_has_win32_sleep" = x"yes"; then
21718
21719$as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21720
21721      fi
21722      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21723$as_echo "$ac_has_win32_sleep" >&6; }
21724  fi
21725
21726
21727
21728  CXXFLAGS="$ac_save_CXXFLAGS"
21729  LIBS="$ac_save_LIBS"
21730  ac_ext=c
21731ac_cpp='$CPP $CPPFLAGS'
21732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21734ac_compiler_gnu=$ac_cv_c_compiler_gnu
21735
21736
21737
21738# Check for tmpnam which is obsolescent in POSIX.1-2008
21739
21740  ac_ext=cpp
21741ac_cpp='$CXXCPP $CPPFLAGS'
21742ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21745
21746  ac_save_CXXFLAGS="$CXXFLAGS"
21747  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21749$as_echo_n "checking for tmpnam... " >&6; }
21750  if ${glibcxx_cv_TMPNAM+:} false; then :
21751  $as_echo_n "(cached) " >&6
21752else
21753      if test x$gcc_no_link = xyes; then
21754  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21755/* end confdefs.h.  */
21756#include <stdio.h>
21757int
21758main ()
21759{
21760char *tmp = tmpnam(NULL);
21761  ;
21762  return 0;
21763}
21764_ACEOF
21765if ac_fn_cxx_try_compile "$LINENO"; then :
21766  glibcxx_cv_TMPNAM=yes
21767else
21768  glibcxx_cv_TMPNAM=no
21769fi
21770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21771else
21772  if test x$gcc_no_link = xyes; then
21773  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21774fi
21775cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21776/* end confdefs.h.  */
21777#include <stdio.h>
21778int
21779main ()
21780{
21781char *tmp = tmpnam(NULL);
21782  ;
21783  return 0;
21784}
21785_ACEOF
21786if ac_fn_cxx_try_link "$LINENO"; then :
21787  glibcxx_cv_TMPNAM=yes
21788else
21789  glibcxx_cv_TMPNAM=no
21790fi
21791rm -f core conftest.err conftest.$ac_objext \
21792    conftest$ac_exeext conftest.$ac_ext
21793fi
21794
21795fi
21796
21797  if test $glibcxx_cv_TMPNAM = yes; then
21798
21799$as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21800
21801  fi
21802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21803$as_echo "$glibcxx_cv_TMPNAM" >&6; }
21804  CXXFLAGS="$ac_save_CXXFLAGS"
21805  ac_ext=c
21806ac_cpp='$CPP $CPPFLAGS'
21807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21809ac_compiler_gnu=$ac_cv_c_compiler_gnu
21810
21811
21812
21813
21814  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21815if test "x$ac_cv_header_locale_h" = xyes; then :
21816
21817    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21818$as_echo_n "checking for LC_MESSAGES... " >&6; }
21819if ${ac_cv_val_LC_MESSAGES+:} false; then :
21820  $as_echo_n "(cached) " >&6
21821else
21822  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21823/* end confdefs.h.  */
21824#include <locale.h>
21825int
21826main ()
21827{
21828return LC_MESSAGES
21829  ;
21830  return 0;
21831}
21832_ACEOF
21833if ac_fn_c_try_compile "$LINENO"; then :
21834  ac_cv_val_LC_MESSAGES=yes
21835else
21836  ac_cv_val_LC_MESSAGES=no
21837fi
21838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21839fi
21840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21841$as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21842    if test $ac_cv_val_LC_MESSAGES = yes; then
21843
21844$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21845
21846    fi
21847
21848fi
21849
21850
21851
21852
21853# For hardware_concurrency
21854for ac_header in sys/sysinfo.h
21855do :
21856  ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21857if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21858  cat >>confdefs.h <<_ACEOF
21859#define HAVE_SYS_SYSINFO_H 1
21860_ACEOF
21861
21862fi
21863
21864done
21865
21866
21867
21868
21869  ac_ext=cpp
21870ac_cpp='$CXXCPP $CPPFLAGS'
21871ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21874
21875  ac_save_CXXFLAGS="$CXXFLAGS"
21876  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21877
21878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21879$as_echo_n "checking for get_nprocs... " >&6; }
21880  if ${glibcxx_cv_GET_NPROCS+:} false; then :
21881  $as_echo_n "(cached) " >&6
21882else
21883
21884    if test x$gcc_no_link = xyes; then
21885  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21886/* end confdefs.h.  */
21887#include <sys/sysinfo.h>
21888int
21889main ()
21890{
21891int n = get_nprocs();
21892  ;
21893  return 0;
21894}
21895_ACEOF
21896if ac_fn_cxx_try_compile "$LINENO"; then :
21897  glibcxx_cv_GET_NPROCS=yes
21898else
21899  glibcxx_cv_GET_NPROCS=no
21900fi
21901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21902else
21903  if test x$gcc_no_link = xyes; then
21904  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21905fi
21906cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21907/* end confdefs.h.  */
21908#include <sys/sysinfo.h>
21909int
21910main ()
21911{
21912int n = get_nprocs();
21913  ;
21914  return 0;
21915}
21916_ACEOF
21917if ac_fn_cxx_try_link "$LINENO"; then :
21918  glibcxx_cv_GET_NPROCS=yes
21919else
21920  glibcxx_cv_GET_NPROCS=no
21921fi
21922rm -f core conftest.err conftest.$ac_objext \
21923    conftest$ac_exeext conftest.$ac_ext
21924fi
21925
21926fi
21927
21928  if test $glibcxx_cv_GET_NPROCS = yes; then
21929
21930$as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21931
21932  fi
21933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21934$as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21935
21936  CXXFLAGS="$ac_save_CXXFLAGS"
21937  ac_ext=c
21938ac_cpp='$CPP $CPPFLAGS'
21939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21941ac_compiler_gnu=$ac_cv_c_compiler_gnu
21942
21943
21944for ac_header in unistd.h
21945do :
21946  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21947if test "x$ac_cv_header_unistd_h" = xyes; then :
21948  cat >>confdefs.h <<_ACEOF
21949#define HAVE_UNISTD_H 1
21950_ACEOF
21951
21952fi
21953
21954done
21955
21956
21957
21958
21959  ac_ext=cpp
21960ac_cpp='$CXXCPP $CPPFLAGS'
21961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21964
21965  ac_save_CXXFLAGS="$CXXFLAGS"
21966  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21967
21968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21969$as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21970  if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21971  $as_echo_n "(cached) " >&6
21972else
21973
21974    if test x$gcc_no_link = xyes; then
21975  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21976/* end confdefs.h.  */
21977#include <unistd.h>
21978int
21979main ()
21980{
21981int n = sysconf(_SC_NPROCESSORS_ONLN);
21982  ;
21983  return 0;
21984}
21985_ACEOF
21986if ac_fn_cxx_try_compile "$LINENO"; then :
21987  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21988else
21989  glibcxx_cv_SC_NPROCESSORS_ONLN=no
21990fi
21991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992else
21993  if test x$gcc_no_link = xyes; then
21994  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21995fi
21996cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21997/* end confdefs.h.  */
21998#include <unistd.h>
21999int
22000main ()
22001{
22002int n = sysconf(_SC_NPROCESSORS_ONLN);
22003  ;
22004  return 0;
22005}
22006_ACEOF
22007if ac_fn_cxx_try_link "$LINENO"; then :
22008  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22009else
22010  glibcxx_cv_SC_NPROCESSORS_ONLN=no
22011fi
22012rm -f core conftest.err conftest.$ac_objext \
22013    conftest$ac_exeext conftest.$ac_ext
22014fi
22015
22016fi
22017
22018  if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22019
22020$as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22021
22022  fi
22023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22024$as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22025
22026  CXXFLAGS="$ac_save_CXXFLAGS"
22027  ac_ext=c
22028ac_cpp='$CPP $CPPFLAGS'
22029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22030ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22031ac_compiler_gnu=$ac_cv_c_compiler_gnu
22032
22033
22034
22035
22036
22037  ac_ext=cpp
22038ac_cpp='$CXXCPP $CPPFLAGS'
22039ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22040ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22041ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22042
22043  ac_save_CXXFLAGS="$CXXFLAGS"
22044  CXXFLAGS="$CXXFLAGS -fno-exceptions"
22045
22046  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22047$as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22048  if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22049  $as_echo_n "(cached) " >&6
22050else
22051
22052    if test x$gcc_no_link = xyes; then
22053  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22054/* end confdefs.h.  */
22055#include <unistd.h>
22056int
22057main ()
22058{
22059int n = sysconf(_SC_NPROC_ONLN);
22060  ;
22061  return 0;
22062}
22063_ACEOF
22064if ac_fn_cxx_try_compile "$LINENO"; then :
22065  glibcxx_cv_SC_NPROC_ONLN=yes
22066else
22067  glibcxx_cv_SC_NPROC_ONLN=no
22068fi
22069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22070else
22071  if test x$gcc_no_link = xyes; then
22072  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22073fi
22074cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22075/* end confdefs.h.  */
22076#include <unistd.h>
22077int
22078main ()
22079{
22080int n = sysconf(_SC_NPROC_ONLN);
22081  ;
22082  return 0;
22083}
22084_ACEOF
22085if ac_fn_cxx_try_link "$LINENO"; then :
22086  glibcxx_cv_SC_NPROC_ONLN=yes
22087else
22088  glibcxx_cv_SC_NPROC_ONLN=no
22089fi
22090rm -f core conftest.err conftest.$ac_objext \
22091    conftest$ac_exeext conftest.$ac_ext
22092fi
22093
22094fi
22095
22096  if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22097
22098$as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22099
22100  fi
22101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22102$as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22103
22104  CXXFLAGS="$ac_save_CXXFLAGS"
22105  ac_ext=c
22106ac_cpp='$CPP $CPPFLAGS'
22107ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22109ac_compiler_gnu=$ac_cv_c_compiler_gnu
22110
22111
22112
22113
22114
22115  ac_ext=cpp
22116ac_cpp='$CXXCPP $CPPFLAGS'
22117ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22118ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22119ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22120
22121  ac_save_CXXFLAGS="$CXXFLAGS"
22122  CXXFLAGS="$CXXFLAGS -fno-exceptions"
22123
22124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22125$as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22126  if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22127  $as_echo_n "(cached) " >&6
22128else
22129
22130    if test x$gcc_no_link = xyes; then
22131  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22132/* end confdefs.h.  */
22133#include <pthread.h>
22134int
22135main ()
22136{
22137int n = pthread_num_processors_np();
22138  ;
22139  return 0;
22140}
22141_ACEOF
22142if ac_fn_cxx_try_compile "$LINENO"; then :
22143  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22144else
22145  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22146fi
22147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22148else
22149  if test x$gcc_no_link = xyes; then
22150  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22151fi
22152cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22153/* end confdefs.h.  */
22154#include <pthread.h>
22155int
22156main ()
22157{
22158int n = pthread_num_processors_np();
22159  ;
22160  return 0;
22161}
22162_ACEOF
22163if ac_fn_cxx_try_link "$LINENO"; then :
22164  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22165else
22166  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22167fi
22168rm -f core conftest.err conftest.$ac_objext \
22169    conftest$ac_exeext conftest.$ac_ext
22170fi
22171
22172fi
22173
22174  if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22175
22176$as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22177
22178  fi
22179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22180$as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22181
22182  CXXFLAGS="$ac_save_CXXFLAGS"
22183  ac_ext=c
22184ac_cpp='$CPP $CPPFLAGS'
22185ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22187ac_compiler_gnu=$ac_cv_c_compiler_gnu
22188
22189
22190
22191
22192
22193  ac_ext=cpp
22194ac_cpp='$CXXCPP $CPPFLAGS'
22195ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22196ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22197ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22198
22199  ac_save_CXXFLAGS="$CXXFLAGS"
22200  CXXFLAGS="$CXXFLAGS -fno-exceptions"
22201
22202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22203$as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22204  if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22205  $as_echo_n "(cached) " >&6
22206else
22207
22208    if test x$gcc_no_link = xyes; then
22209  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22210/* end confdefs.h.  */
22211
22212       #include <stddef.h>
22213       #include <sys/sysctl.h>
22214
22215int
22216main ()
22217{
22218
22219       int count;
22220       size_t size = sizeof(count);
22221       int mib[] = { CTL_HW, HW_NCPU };
22222       sysctl(mib, 2, &count, &size, NULL, 0);
22223
22224  ;
22225  return 0;
22226}
22227_ACEOF
22228if ac_fn_cxx_try_compile "$LINENO"; then :
22229  glibcxx_cv_SYSCTL_HW_NCPU=yes
22230else
22231  glibcxx_cv_SYSCTL_HW_NCPU=no
22232fi
22233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22234else
22235  if test x$gcc_no_link = xyes; then
22236  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22237fi
22238cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22239/* end confdefs.h.  */
22240
22241       #include <stddef.h>
22242       #include <sys/sysctl.h>
22243
22244int
22245main ()
22246{
22247
22248       int count;
22249       size_t size = sizeof(count);
22250       int mib[] = { CTL_HW, HW_NCPU };
22251       sysctl(mib, 2, &count, &size, NULL, 0);
22252
22253  ;
22254  return 0;
22255}
22256_ACEOF
22257if ac_fn_cxx_try_link "$LINENO"; then :
22258  glibcxx_cv_SYSCTL_HW_NCPU=yes
22259else
22260  glibcxx_cv_SYSCTL_HW_NCPU=no
22261fi
22262rm -f core conftest.err conftest.$ac_objext \
22263    conftest$ac_exeext conftest.$ac_ext
22264fi
22265
22266fi
22267
22268  if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22269
22270$as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22271
22272  fi
22273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22274$as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22275
22276  CXXFLAGS="$ac_save_CXXFLAGS"
22277  ac_ext=c
22278ac_cpp='$CPP $CPPFLAGS'
22279ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22280ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22281ac_compiler_gnu=$ac_cv_c_compiler_gnu
22282
22283
22284
22285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22286$as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22287  # Note that this test has to be run with the C language.
22288  # Otherwise, sdt.h will try to include some headers from
22289  # libstdc++ itself.
22290
22291  ac_ext=c
22292ac_cpp='$CPP $CPPFLAGS'
22293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22295ac_compiler_gnu=$ac_cv_c_compiler_gnu
22296
22297  if ${glibcxx_cv_sys_sdt_h+:} false; then :
22298  $as_echo_n "(cached) " >&6
22299else
22300
22301    # Because we have to run the test in C, we use grep rather
22302    # than the compiler to check for the bug.  The bug is that
22303    # were strings without trailing whitespace, causing g++
22304    # to look for operator"".  The pattern searches for the fixed
22305    # output.
22306    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22307/* end confdefs.h.  */
22308
22309      #include <sys/sdt.h>
22310      int f() { STAP_PROBE(hi, bob); }
22311
22312_ACEOF
22313if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22314  $EGREP " \",\" " >/dev/null 2>&1; then :
22315  glibcxx_cv_sys_sdt_h=yes
22316else
22317  glibcxx_cv_sys_sdt_h=no
22318fi
22319rm -f conftest*
22320
22321
22322fi
22323
22324  ac_ext=c
22325ac_cpp='$CPP $CPPFLAGS'
22326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328ac_compiler_gnu=$ac_cv_c_compiler_gnu
22329
22330  if test $glibcxx_cv_sys_sdt_h = yes; then
22331
22332$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22333
22334  fi
22335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22336$as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22337
22338
22339# Check for available headers.
22340for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22341locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22342strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22343sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22344wchar.h wctype.h linux/types.h
22345do :
22346  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22347ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22348if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22349  cat >>confdefs.h <<_ACEOF
22350#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22351_ACEOF
22352
22353fi
22354
22355done
22356
22357
22358for ac_header in linux/random.h
22359do :
22360  ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22361# include <linux/types.h>
22362#endif
22363
22364"
22365if test "x$ac_cv_header_linux_random_h" = xyes; then :
22366  cat >>confdefs.h <<_ACEOF
22367#define HAVE_LINUX_RANDOM_H 1
22368_ACEOF
22369
22370fi
22371
22372done
22373
22374
22375# Only do link tests if native. Else, hardcode.
22376if $GLIBCXX_IS_NATIVE; then
22377
22378  # We can do more elaborate tests that assume a working linker.
22379  CANADIAN=no
22380
22381
22382
22383# Check whether --with-gnu-ld was given.
22384if test "${with_gnu_ld+set}" = set; then :
22385  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22386else
22387  with_gnu_ld=no
22388fi
22389
22390ac_prog=ld
22391if test "$GCC" = yes; then
22392  # Check if gcc -print-prog-name=ld gives a path.
22393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22394$as_echo_n "checking for ld used by $CC... " >&6; }
22395  case $host in
22396  *-*-mingw*)
22397    # gcc leaves a trailing carriage return which upsets mingw
22398    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22399  *)
22400    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22401  esac
22402  case $ac_prog in
22403    # Accept absolute paths.
22404    [\\/]* | ?:[\\/]*)
22405      re_direlt='/[^/][^/]*/\.\./'
22406      # Canonicalize the pathname of ld
22407      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22408      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22409	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22410      done
22411      test -z "$LD" && LD="$ac_prog"
22412      ;;
22413  "")
22414    # If it fails, then pretend we aren't using GCC.
22415    ac_prog=ld
22416    ;;
22417  *)
22418    # If it is relative, then search for the first ld in PATH.
22419    with_gnu_ld=unknown
22420    ;;
22421  esac
22422elif test "$with_gnu_ld" = yes; then
22423  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22424$as_echo_n "checking for GNU ld... " >&6; }
22425else
22426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22427$as_echo_n "checking for non-GNU ld... " >&6; }
22428fi
22429if ${lt_cv_path_LD+:} false; then :
22430  $as_echo_n "(cached) " >&6
22431else
22432  if test -z "$LD"; then
22433  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22434  for ac_dir in $PATH; do
22435    IFS="$lt_save_ifs"
22436    test -z "$ac_dir" && ac_dir=.
22437    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22438      lt_cv_path_LD="$ac_dir/$ac_prog"
22439      # Check to see if the program is GNU ld.  I'd rather use --version,
22440      # but apparently some variants of GNU ld only accept -v.
22441      # Break only if it was the GNU/non-GNU ld that we prefer.
22442      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22443      *GNU* | *'with BFD'*)
22444	test "$with_gnu_ld" != no && break
22445	;;
22446      *)
22447	test "$with_gnu_ld" != yes && break
22448	;;
22449      esac
22450    fi
22451  done
22452  IFS="$lt_save_ifs"
22453else
22454  lt_cv_path_LD="$LD" # Let the user override the test with a path.
22455fi
22456fi
22457
22458LD="$lt_cv_path_LD"
22459if test -n "$LD"; then
22460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22461$as_echo "$LD" >&6; }
22462else
22463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22464$as_echo "no" >&6; }
22465fi
22466test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22468$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22469if ${lt_cv_prog_gnu_ld+:} false; then :
22470  $as_echo_n "(cached) " >&6
22471else
22472  # I'd rather use --version here, but apparently some GNU lds only accept -v.
22473case `$LD -v 2>&1 </dev/null` in
22474*GNU* | *'with BFD'*)
22475  lt_cv_prog_gnu_ld=yes
22476  ;;
22477*)
22478  lt_cv_prog_gnu_ld=no
22479  ;;
22480esac
22481fi
22482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22483$as_echo "$lt_cv_prog_gnu_ld" >&6; }
22484with_gnu_ld=$lt_cv_prog_gnu_ld
22485
22486
22487
22488
22489
22490
22491
22492  # If we're not using GNU ld, then there's no point in even trying these
22493  # tests.  Check for that first.  We should have already tested for gld
22494  # by now (in libtool), but require it now just to be safe...
22495  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22496  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22497
22498
22499
22500  # The name set by libtool depends on the version of libtool.  Shame on us
22501  # for depending on an impl detail, but c'est la vie.  Older versions used
22502  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22503  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22504  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
22505  # set (hence we're using an older libtool), then set it.
22506  if test x${with_gnu_ld+set} != xset; then
22507    if test x${ac_cv_prog_gnu_ld+set} != xset; then
22508      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
22509      with_gnu_ld=no
22510    else
22511      with_gnu_ld=$ac_cv_prog_gnu_ld
22512    fi
22513  fi
22514
22515  # Start by getting the version number.  I think the libtool test already
22516  # does some of this, but throws away the result.
22517  glibcxx_ld_is_gold=no
22518  if test x"$with_gnu_ld" = x"yes"; then
22519    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22520$as_echo_n "checking for ld version... " >&6; }
22521
22522    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22523      glibcxx_ld_is_gold=yes
22524    fi
22525    ldver=`$LD --version 2>/dev/null |
22526	   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'`
22527
22528    glibcxx_gnu_ld_version=`echo $ldver | \
22529	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22530    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22531$as_echo "$glibcxx_gnu_ld_version" >&6; }
22532  fi
22533
22534  # Set --gc-sections.
22535  glibcxx_have_gc_sections=no
22536  if test "$glibcxx_ld_is_gold" = "yes"; then
22537    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22538      glibcxx_have_gc_sections=yes
22539    fi
22540  else
22541    glibcxx_gcsections_min_ld=21602
22542    if test x"$with_gnu_ld" = x"yes" &&
22543	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22544      glibcxx_have_gc_sections=yes
22545    fi
22546  fi
22547  if test "$glibcxx_have_gc_sections" = "yes"; then
22548    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
22549    # NB: This flag only works reliably after 2.16.1. Configure tests
22550    # for this are difficult, so hard wire a value that should work.
22551
22552    ac_test_CFLAGS="${CFLAGS+set}"
22553    ac_save_CFLAGS="$CFLAGS"
22554    CFLAGS='-Wl,--gc-sections'
22555
22556    # Check for -Wl,--gc-sections
22557    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22558$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22559    if test x$gcc_no_link = xyes; then
22560  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22561fi
22562cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22563/* end confdefs.h.  */
22564 int one(void) { return 1; }
22565     int two(void) { return 2; }
22566
22567int
22568main ()
22569{
22570 two();
22571  ;
22572  return 0;
22573}
22574_ACEOF
22575if ac_fn_c_try_link "$LINENO"; then :
22576  ac_gcsections=yes
22577else
22578  ac_gcsections=no
22579fi
22580rm -f core conftest.err conftest.$ac_objext \
22581    conftest$ac_exeext conftest.$ac_ext
22582    if test "$ac_gcsections" = "yes"; then
22583      rm -f conftest.c
22584      touch conftest.c
22585      if $CC -c conftest.c; then
22586	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22587	   grep "Warning: gc-sections option ignored" > /dev/null; then
22588	  ac_gcsections=no
22589	fi
22590      fi
22591      rm -f conftest.c conftest.o conftest
22592    fi
22593    if test "$ac_gcsections" = "yes"; then
22594      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22595    fi
22596    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22597$as_echo "$ac_gcsections" >&6; }
22598
22599    if test "$ac_test_CFLAGS" = set; then
22600      CFLAGS="$ac_save_CFLAGS"
22601    else
22602      # this is the suspicious part
22603      CFLAGS=''
22604    fi
22605  fi
22606
22607  # Set -z,relro.
22608  # Note this is only for shared objects.
22609  ac_ld_relro=no
22610  if test x"$with_gnu_ld" = x"yes"; then
22611    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22612$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22613    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22614    if test -n "$cxx_z_relo"; then
22615      OPT_LDFLAGS="-Wl,-z,relro"
22616      ac_ld_relro=yes
22617    fi
22618    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22619$as_echo "$ac_ld_relro" >&6; }
22620  fi
22621
22622  # Set linker optimization flags.
22623  if test x"$with_gnu_ld" = x"yes"; then
22624    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22625  fi
22626
22627
22628
22629
22630
22631  ac_test_CXXFLAGS="${CXXFLAGS+set}"
22632  ac_save_CXXFLAGS="$CXXFLAGS"
22633  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22634
22635    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22636$as_echo_n "checking for sin in -lm... " >&6; }
22637if ${ac_cv_lib_m_sin+:} false; then :
22638  $as_echo_n "(cached) " >&6
22639else
22640  ac_check_lib_save_LIBS=$LIBS
22641LIBS="-lm  $LIBS"
22642if test x$gcc_no_link = xyes; then
22643  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22644fi
22645cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22646/* end confdefs.h.  */
22647
22648/* Override any GCC internal prototype to avoid an error.
22649   Use char because int might match the return type of a GCC
22650   builtin and then its argument prototype would still apply.  */
22651#ifdef __cplusplus
22652extern "C"
22653#endif
22654char sin ();
22655int
22656main ()
22657{
22658return sin ();
22659  ;
22660  return 0;
22661}
22662_ACEOF
22663if ac_fn_c_try_link "$LINENO"; then :
22664  ac_cv_lib_m_sin=yes
22665else
22666  ac_cv_lib_m_sin=no
22667fi
22668rm -f core conftest.err conftest.$ac_objext \
22669    conftest$ac_exeext conftest.$ac_ext
22670LIBS=$ac_check_lib_save_LIBS
22671fi
22672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22673$as_echo "$ac_cv_lib_m_sin" >&6; }
22674if test "x$ac_cv_lib_m_sin" = xyes; then :
22675  libm="-lm"
22676fi
22677
22678  ac_save_LIBS="$LIBS"
22679  LIBS="$LIBS $libm"
22680
22681
22682
22683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22684$as_echo_n "checking for isinf declaration... " >&6; }
22685  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22686    if ${glibcxx_cv_func_isinf_use+:} false; then :
22687  $as_echo_n "(cached) " >&6
22688else
22689
22690
22691      ac_ext=cpp
22692ac_cpp='$CXXCPP $CPPFLAGS'
22693ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22694ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22695ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22696
22697      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22698/* end confdefs.h.  */
22699#include <math.h>
22700		      #ifdef HAVE_IEEEFP_H
22701		      #include <ieeefp.h>
22702		      #endif
22703
22704int
22705main ()
22706{
22707 isinf(0);
22708  ;
22709  return 0;
22710}
22711_ACEOF
22712if ac_fn_cxx_try_compile "$LINENO"; then :
22713  glibcxx_cv_func_isinf_use=yes
22714else
22715  glibcxx_cv_func_isinf_use=no
22716fi
22717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22718      ac_ext=c
22719ac_cpp='$CPP $CPPFLAGS'
22720ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22721ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22722ac_compiler_gnu=$ac_cv_c_compiler_gnu
22723
22724
22725fi
22726
22727  fi
22728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22729$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22730
22731  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22732    for ac_func in isinf
22733do :
22734  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22735if test "x$ac_cv_func_isinf" = xyes; then :
22736  cat >>confdefs.h <<_ACEOF
22737#define HAVE_ISINF 1
22738_ACEOF
22739
22740fi
22741done
22742
22743  else
22744
22745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22746$as_echo_n "checking for _isinf declaration... " >&6; }
22747  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22748    if ${glibcxx_cv_func__isinf_use+:} false; then :
22749  $as_echo_n "(cached) " >&6
22750else
22751
22752
22753      ac_ext=cpp
22754ac_cpp='$CXXCPP $CPPFLAGS'
22755ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22756ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22757ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22758
22759      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22760/* end confdefs.h.  */
22761#include <math.h>
22762		      #ifdef HAVE_IEEEFP_H
22763		      #include <ieeefp.h>
22764		      #endif
22765
22766int
22767main ()
22768{
22769 _isinf(0);
22770  ;
22771  return 0;
22772}
22773_ACEOF
22774if ac_fn_cxx_try_compile "$LINENO"; then :
22775  glibcxx_cv_func__isinf_use=yes
22776else
22777  glibcxx_cv_func__isinf_use=no
22778fi
22779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22780      ac_ext=c
22781ac_cpp='$CPP $CPPFLAGS'
22782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22784ac_compiler_gnu=$ac_cv_c_compiler_gnu
22785
22786
22787fi
22788
22789  fi
22790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22791$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22792
22793    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22794      for ac_func in _isinf
22795do :
22796  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22797if test "x$ac_cv_func__isinf" = xyes; then :
22798  cat >>confdefs.h <<_ACEOF
22799#define HAVE__ISINF 1
22800_ACEOF
22801
22802fi
22803done
22804
22805    fi
22806  fi
22807
22808
22809
22810
22811
22812  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22813$as_echo_n "checking for isnan declaration... " >&6; }
22814  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22815    if ${glibcxx_cv_func_isnan_use+:} false; then :
22816  $as_echo_n "(cached) " >&6
22817else
22818
22819
22820      ac_ext=cpp
22821ac_cpp='$CXXCPP $CPPFLAGS'
22822ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22823ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22824ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22825
22826      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22827/* end confdefs.h.  */
22828#include <math.h>
22829		      #ifdef HAVE_IEEEFP_H
22830		      #include <ieeefp.h>
22831		      #endif
22832
22833int
22834main ()
22835{
22836 isnan(0);
22837  ;
22838  return 0;
22839}
22840_ACEOF
22841if ac_fn_cxx_try_compile "$LINENO"; then :
22842  glibcxx_cv_func_isnan_use=yes
22843else
22844  glibcxx_cv_func_isnan_use=no
22845fi
22846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22847      ac_ext=c
22848ac_cpp='$CPP $CPPFLAGS'
22849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851ac_compiler_gnu=$ac_cv_c_compiler_gnu
22852
22853
22854fi
22855
22856  fi
22857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22858$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22859
22860  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22861    for ac_func in isnan
22862do :
22863  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22864if test "x$ac_cv_func_isnan" = xyes; then :
22865  cat >>confdefs.h <<_ACEOF
22866#define HAVE_ISNAN 1
22867_ACEOF
22868
22869fi
22870done
22871
22872  else
22873
22874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22875$as_echo_n "checking for _isnan declaration... " >&6; }
22876  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22877    if ${glibcxx_cv_func__isnan_use+:} false; then :
22878  $as_echo_n "(cached) " >&6
22879else
22880
22881
22882      ac_ext=cpp
22883ac_cpp='$CXXCPP $CPPFLAGS'
22884ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22885ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22886ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22887
22888      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22889/* end confdefs.h.  */
22890#include <math.h>
22891		      #ifdef HAVE_IEEEFP_H
22892		      #include <ieeefp.h>
22893		      #endif
22894
22895int
22896main ()
22897{
22898 _isnan(0);
22899  ;
22900  return 0;
22901}
22902_ACEOF
22903if ac_fn_cxx_try_compile "$LINENO"; then :
22904  glibcxx_cv_func__isnan_use=yes
22905else
22906  glibcxx_cv_func__isnan_use=no
22907fi
22908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22909      ac_ext=c
22910ac_cpp='$CPP $CPPFLAGS'
22911ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22912ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22913ac_compiler_gnu=$ac_cv_c_compiler_gnu
22914
22915
22916fi
22917
22918  fi
22919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22920$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22921
22922    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22923      for ac_func in _isnan
22924do :
22925  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22926if test "x$ac_cv_func__isnan" = xyes; then :
22927  cat >>confdefs.h <<_ACEOF
22928#define HAVE__ISNAN 1
22929_ACEOF
22930
22931fi
22932done
22933
22934    fi
22935  fi
22936
22937
22938
22939
22940
22941  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22942$as_echo_n "checking for finite declaration... " >&6; }
22943  if test x${glibcxx_cv_func_finite_use+set} != xset; then
22944    if ${glibcxx_cv_func_finite_use+:} false; then :
22945  $as_echo_n "(cached) " >&6
22946else
22947
22948
22949      ac_ext=cpp
22950ac_cpp='$CXXCPP $CPPFLAGS'
22951ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954
22955      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22956/* end confdefs.h.  */
22957#include <math.h>
22958		      #ifdef HAVE_IEEEFP_H
22959		      #include <ieeefp.h>
22960		      #endif
22961
22962int
22963main ()
22964{
22965 finite(0);
22966  ;
22967  return 0;
22968}
22969_ACEOF
22970if ac_fn_cxx_try_compile "$LINENO"; then :
22971  glibcxx_cv_func_finite_use=yes
22972else
22973  glibcxx_cv_func_finite_use=no
22974fi
22975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22976      ac_ext=c
22977ac_cpp='$CPP $CPPFLAGS'
22978ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980ac_compiler_gnu=$ac_cv_c_compiler_gnu
22981
22982
22983fi
22984
22985  fi
22986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22987$as_echo "$glibcxx_cv_func_finite_use" >&6; }
22988
22989  if test x$glibcxx_cv_func_finite_use = x"yes"; then
22990    for ac_func in finite
22991do :
22992  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22993if test "x$ac_cv_func_finite" = xyes; then :
22994  cat >>confdefs.h <<_ACEOF
22995#define HAVE_FINITE 1
22996_ACEOF
22997
22998fi
22999done
23000
23001  else
23002
23003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23004$as_echo_n "checking for _finite declaration... " >&6; }
23005  if test x${glibcxx_cv_func__finite_use+set} != xset; then
23006    if ${glibcxx_cv_func__finite_use+:} false; then :
23007  $as_echo_n "(cached) " >&6
23008else
23009
23010
23011      ac_ext=cpp
23012ac_cpp='$CXXCPP $CPPFLAGS'
23013ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23014ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23015ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23016
23017      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23018/* end confdefs.h.  */
23019#include <math.h>
23020		      #ifdef HAVE_IEEEFP_H
23021		      #include <ieeefp.h>
23022		      #endif
23023
23024int
23025main ()
23026{
23027 _finite(0);
23028  ;
23029  return 0;
23030}
23031_ACEOF
23032if ac_fn_cxx_try_compile "$LINENO"; then :
23033  glibcxx_cv_func__finite_use=yes
23034else
23035  glibcxx_cv_func__finite_use=no
23036fi
23037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23038      ac_ext=c
23039ac_cpp='$CPP $CPPFLAGS'
23040ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042ac_compiler_gnu=$ac_cv_c_compiler_gnu
23043
23044
23045fi
23046
23047  fi
23048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23049$as_echo "$glibcxx_cv_func__finite_use" >&6; }
23050
23051    if test x$glibcxx_cv_func__finite_use = x"yes"; then
23052      for ac_func in _finite
23053do :
23054  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23055if test "x$ac_cv_func__finite" = xyes; then :
23056  cat >>confdefs.h <<_ACEOF
23057#define HAVE__FINITE 1
23058_ACEOF
23059
23060fi
23061done
23062
23063    fi
23064  fi
23065
23066
23067
23068
23069
23070  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23071$as_echo_n "checking for sincos declaration... " >&6; }
23072  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23073    if ${glibcxx_cv_func_sincos_use+:} false; then :
23074  $as_echo_n "(cached) " >&6
23075else
23076
23077
23078      ac_ext=cpp
23079ac_cpp='$CXXCPP $CPPFLAGS'
23080ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23081ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23082ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23083
23084      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23085/* end confdefs.h.  */
23086#include <math.h>
23087int
23088main ()
23089{
23090 sincos(0, 0, 0);
23091  ;
23092  return 0;
23093}
23094_ACEOF
23095if ac_fn_cxx_try_compile "$LINENO"; then :
23096  glibcxx_cv_func_sincos_use=yes
23097else
23098  glibcxx_cv_func_sincos_use=no
23099fi
23100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23101      ac_ext=c
23102ac_cpp='$CPP $CPPFLAGS'
23103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23105ac_compiler_gnu=$ac_cv_c_compiler_gnu
23106
23107
23108fi
23109
23110  fi
23111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23112$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23113
23114  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23115    for ac_func in sincos
23116do :
23117  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23118if test "x$ac_cv_func_sincos" = xyes; then :
23119  cat >>confdefs.h <<_ACEOF
23120#define HAVE_SINCOS 1
23121_ACEOF
23122
23123fi
23124done
23125
23126  else
23127
23128  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23129$as_echo_n "checking for _sincos declaration... " >&6; }
23130  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23131    if ${glibcxx_cv_func__sincos_use+:} false; then :
23132  $as_echo_n "(cached) " >&6
23133else
23134
23135
23136      ac_ext=cpp
23137ac_cpp='$CXXCPP $CPPFLAGS'
23138ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141
23142      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23143/* end confdefs.h.  */
23144#include <math.h>
23145int
23146main ()
23147{
23148 _sincos(0, 0, 0);
23149  ;
23150  return 0;
23151}
23152_ACEOF
23153if ac_fn_cxx_try_compile "$LINENO"; then :
23154  glibcxx_cv_func__sincos_use=yes
23155else
23156  glibcxx_cv_func__sincos_use=no
23157fi
23158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23159      ac_ext=c
23160ac_cpp='$CPP $CPPFLAGS'
23161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23163ac_compiler_gnu=$ac_cv_c_compiler_gnu
23164
23165
23166fi
23167
23168  fi
23169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23170$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23171
23172    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23173      for ac_func in _sincos
23174do :
23175  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23176if test "x$ac_cv_func__sincos" = xyes; then :
23177  cat >>confdefs.h <<_ACEOF
23178#define HAVE__SINCOS 1
23179_ACEOF
23180
23181fi
23182done
23183
23184    fi
23185  fi
23186
23187
23188
23189
23190
23191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23192$as_echo_n "checking for fpclass declaration... " >&6; }
23193  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23194    if ${glibcxx_cv_func_fpclass_use+:} false; then :
23195  $as_echo_n "(cached) " >&6
23196else
23197
23198
23199      ac_ext=cpp
23200ac_cpp='$CXXCPP $CPPFLAGS'
23201ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23202ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23203ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23204
23205      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23206/* end confdefs.h.  */
23207#include <math.h>
23208		      #ifdef HAVE_IEEEFP_H
23209		      #include <ieeefp.h>
23210		      #endif
23211
23212int
23213main ()
23214{
23215 fpclass(0);
23216  ;
23217  return 0;
23218}
23219_ACEOF
23220if ac_fn_cxx_try_compile "$LINENO"; then :
23221  glibcxx_cv_func_fpclass_use=yes
23222else
23223  glibcxx_cv_func_fpclass_use=no
23224fi
23225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23226      ac_ext=c
23227ac_cpp='$CPP $CPPFLAGS'
23228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230ac_compiler_gnu=$ac_cv_c_compiler_gnu
23231
23232
23233fi
23234
23235  fi
23236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23237$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23238
23239  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23240    for ac_func in fpclass
23241do :
23242  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23243if test "x$ac_cv_func_fpclass" = xyes; then :
23244  cat >>confdefs.h <<_ACEOF
23245#define HAVE_FPCLASS 1
23246_ACEOF
23247
23248fi
23249done
23250
23251  else
23252
23253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23254$as_echo_n "checking for _fpclass declaration... " >&6; }
23255  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23256    if ${glibcxx_cv_func__fpclass_use+:} false; then :
23257  $as_echo_n "(cached) " >&6
23258else
23259
23260
23261      ac_ext=cpp
23262ac_cpp='$CXXCPP $CPPFLAGS'
23263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23266
23267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23268/* end confdefs.h.  */
23269#include <math.h>
23270		      #ifdef HAVE_IEEEFP_H
23271		      #include <ieeefp.h>
23272		      #endif
23273
23274int
23275main ()
23276{
23277 _fpclass(0);
23278  ;
23279  return 0;
23280}
23281_ACEOF
23282if ac_fn_cxx_try_compile "$LINENO"; then :
23283  glibcxx_cv_func__fpclass_use=yes
23284else
23285  glibcxx_cv_func__fpclass_use=no
23286fi
23287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288      ac_ext=c
23289ac_cpp='$CPP $CPPFLAGS'
23290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292ac_compiler_gnu=$ac_cv_c_compiler_gnu
23293
23294
23295fi
23296
23297  fi
23298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23299$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23300
23301    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23302      for ac_func in _fpclass
23303do :
23304  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23305if test "x$ac_cv_func__fpclass" = xyes; then :
23306  cat >>confdefs.h <<_ACEOF
23307#define HAVE__FPCLASS 1
23308_ACEOF
23309
23310fi
23311done
23312
23313    fi
23314  fi
23315
23316
23317
23318
23319
23320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23321$as_echo_n "checking for qfpclass declaration... " >&6; }
23322  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23323    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23324  $as_echo_n "(cached) " >&6
23325else
23326
23327
23328      ac_ext=cpp
23329ac_cpp='$CXXCPP $CPPFLAGS'
23330ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23333
23334      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23335/* end confdefs.h.  */
23336#include <math.h>
23337		      #ifdef HAVE_IEEEFP_H
23338		      #include <ieeefp.h>
23339		      #endif
23340
23341int
23342main ()
23343{
23344 qfpclass(0);
23345  ;
23346  return 0;
23347}
23348_ACEOF
23349if ac_fn_cxx_try_compile "$LINENO"; then :
23350  glibcxx_cv_func_qfpclass_use=yes
23351else
23352  glibcxx_cv_func_qfpclass_use=no
23353fi
23354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23355      ac_ext=c
23356ac_cpp='$CPP $CPPFLAGS'
23357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23359ac_compiler_gnu=$ac_cv_c_compiler_gnu
23360
23361
23362fi
23363
23364  fi
23365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23366$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23367
23368  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23369    for ac_func in qfpclass
23370do :
23371  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23372if test "x$ac_cv_func_qfpclass" = xyes; then :
23373  cat >>confdefs.h <<_ACEOF
23374#define HAVE_QFPCLASS 1
23375_ACEOF
23376
23377fi
23378done
23379
23380  else
23381
23382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23383$as_echo_n "checking for _qfpclass declaration... " >&6; }
23384  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23385    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23386  $as_echo_n "(cached) " >&6
23387else
23388
23389
23390      ac_ext=cpp
23391ac_cpp='$CXXCPP $CPPFLAGS'
23392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23395
23396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23397/* end confdefs.h.  */
23398#include <math.h>
23399		      #ifdef HAVE_IEEEFP_H
23400		      #include <ieeefp.h>
23401		      #endif
23402
23403int
23404main ()
23405{
23406 _qfpclass(0);
23407  ;
23408  return 0;
23409}
23410_ACEOF
23411if ac_fn_cxx_try_compile "$LINENO"; then :
23412  glibcxx_cv_func__qfpclass_use=yes
23413else
23414  glibcxx_cv_func__qfpclass_use=no
23415fi
23416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417      ac_ext=c
23418ac_cpp='$CPP $CPPFLAGS'
23419ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23420ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23421ac_compiler_gnu=$ac_cv_c_compiler_gnu
23422
23423
23424fi
23425
23426  fi
23427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23428$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23429
23430    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23431      for ac_func in _qfpclass
23432do :
23433  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23434if test "x$ac_cv_func__qfpclass" = xyes; then :
23435  cat >>confdefs.h <<_ACEOF
23436#define HAVE__QFPCLASS 1
23437_ACEOF
23438
23439fi
23440done
23441
23442    fi
23443  fi
23444
23445
23446
23447
23448
23449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23450$as_echo_n "checking for hypot declaration... " >&6; }
23451  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23452    if ${glibcxx_cv_func_hypot_use+:} false; then :
23453  $as_echo_n "(cached) " >&6
23454else
23455
23456
23457      ac_ext=cpp
23458ac_cpp='$CXXCPP $CPPFLAGS'
23459ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23462
23463      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23464/* end confdefs.h.  */
23465#include <math.h>
23466int
23467main ()
23468{
23469 hypot(0, 0);
23470  ;
23471  return 0;
23472}
23473_ACEOF
23474if ac_fn_cxx_try_compile "$LINENO"; then :
23475  glibcxx_cv_func_hypot_use=yes
23476else
23477  glibcxx_cv_func_hypot_use=no
23478fi
23479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480      ac_ext=c
23481ac_cpp='$CPP $CPPFLAGS'
23482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484ac_compiler_gnu=$ac_cv_c_compiler_gnu
23485
23486
23487fi
23488
23489  fi
23490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23491$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23492
23493  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23494    for ac_func in hypot
23495do :
23496  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23497if test "x$ac_cv_func_hypot" = xyes; then :
23498  cat >>confdefs.h <<_ACEOF
23499#define HAVE_HYPOT 1
23500_ACEOF
23501
23502fi
23503done
23504
23505  else
23506
23507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23508$as_echo_n "checking for _hypot declaration... " >&6; }
23509  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23510    if ${glibcxx_cv_func__hypot_use+:} false; then :
23511  $as_echo_n "(cached) " >&6
23512else
23513
23514
23515      ac_ext=cpp
23516ac_cpp='$CXXCPP $CPPFLAGS'
23517ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23520
23521      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522/* end confdefs.h.  */
23523#include <math.h>
23524int
23525main ()
23526{
23527 _hypot(0, 0);
23528  ;
23529  return 0;
23530}
23531_ACEOF
23532if ac_fn_cxx_try_compile "$LINENO"; then :
23533  glibcxx_cv_func__hypot_use=yes
23534else
23535  glibcxx_cv_func__hypot_use=no
23536fi
23537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538      ac_ext=c
23539ac_cpp='$CPP $CPPFLAGS'
23540ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23541ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23542ac_compiler_gnu=$ac_cv_c_compiler_gnu
23543
23544
23545fi
23546
23547  fi
23548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23549$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23550
23551    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23552      for ac_func in _hypot
23553do :
23554  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23555if test "x$ac_cv_func__hypot" = xyes; then :
23556  cat >>confdefs.h <<_ACEOF
23557#define HAVE__HYPOT 1
23558_ACEOF
23559
23560fi
23561done
23562
23563    fi
23564  fi
23565
23566
23567
23568
23569
23570    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23571$as_echo_n "checking for float trig functions... " >&6; }
23572  if ${glibcxx_cv_func_float_trig_use+:} false; then :
23573  $as_echo_n "(cached) " >&6
23574else
23575
23576
23577    ac_ext=cpp
23578ac_cpp='$CXXCPP $CPPFLAGS'
23579ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23582
23583    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23584/* end confdefs.h.  */
23585#include <math.h>
23586int
23587main ()
23588{
23589acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23590  ;
23591  return 0;
23592}
23593_ACEOF
23594if ac_fn_cxx_try_compile "$LINENO"; then :
23595  glibcxx_cv_func_float_trig_use=yes
23596else
23597  glibcxx_cv_func_float_trig_use=no
23598fi
23599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23600    ac_ext=c
23601ac_cpp='$CPP $CPPFLAGS'
23602ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23603ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23604ac_compiler_gnu=$ac_cv_c_compiler_gnu
23605
23606fi
23607
23608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23609$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23610  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23611    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23612do :
23613  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23614ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23615if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23616  cat >>confdefs.h <<_ACEOF
23617#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23618_ACEOF
23619
23620fi
23621done
23622
23623  else
23624    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23625$as_echo_n "checking for _float trig functions... " >&6; }
23626    if ${glibcxx_cv_func__float_trig_use+:} false; then :
23627  $as_echo_n "(cached) " >&6
23628else
23629
23630
23631      ac_ext=cpp
23632ac_cpp='$CXXCPP $CPPFLAGS'
23633ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23634ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23635ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23636
23637      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23638/* end confdefs.h.  */
23639#include <math.h>
23640int
23641main ()
23642{
23643_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23644  ;
23645  return 0;
23646}
23647_ACEOF
23648if ac_fn_cxx_try_compile "$LINENO"; then :
23649  glibcxx_cv_func__float_trig_use=yes
23650else
23651  glibcxx_cv_func__float_trig_use=no
23652fi
23653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654      ac_ext=c
23655ac_cpp='$CPP $CPPFLAGS'
23656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23658ac_compiler_gnu=$ac_cv_c_compiler_gnu
23659
23660fi
23661
23662    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23663$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23664    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23665      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23666do :
23667  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23668ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23669if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23670  cat >>confdefs.h <<_ACEOF
23671#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23672_ACEOF
23673
23674fi
23675done
23676
23677    fi
23678  fi
23679
23680
23681
23682
23683
23684    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23685$as_echo_n "checking for float round functions... " >&6; }
23686  if ${glibcxx_cv_func_float_round_use+:} false; then :
23687  $as_echo_n "(cached) " >&6
23688else
23689
23690
23691    ac_ext=cpp
23692ac_cpp='$CXXCPP $CPPFLAGS'
23693ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23696
23697    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23698/* end confdefs.h.  */
23699#include <math.h>
23700int
23701main ()
23702{
23703ceilf (0); floorf (0);
23704  ;
23705  return 0;
23706}
23707_ACEOF
23708if ac_fn_cxx_try_compile "$LINENO"; then :
23709  glibcxx_cv_func_float_round_use=yes
23710else
23711  glibcxx_cv_func_float_round_use=no
23712fi
23713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23714    ac_ext=c
23715ac_cpp='$CPP $CPPFLAGS'
23716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23718ac_compiler_gnu=$ac_cv_c_compiler_gnu
23719
23720fi
23721
23722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23723$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23724  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23725    for ac_func in ceilf floorf
23726do :
23727  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23728ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23729if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23730  cat >>confdefs.h <<_ACEOF
23731#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23732_ACEOF
23733
23734fi
23735done
23736
23737  else
23738    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23739$as_echo_n "checking for _float round functions... " >&6; }
23740    if ${glibcxx_cv_func__float_round_use+:} false; then :
23741  $as_echo_n "(cached) " >&6
23742else
23743
23744
23745      ac_ext=cpp
23746ac_cpp='$CXXCPP $CPPFLAGS'
23747ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23748ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23749ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23750
23751      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23752/* end confdefs.h.  */
23753#include <math.h>
23754int
23755main ()
23756{
23757_ceilf (0); _floorf (0);
23758  ;
23759  return 0;
23760}
23761_ACEOF
23762if ac_fn_cxx_try_compile "$LINENO"; then :
23763  glibcxx_cv_func__float_round_use=yes
23764else
23765  glibcxx_cv_func__float_round_use=no
23766fi
23767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23768      ac_ext=c
23769ac_cpp='$CPP $CPPFLAGS'
23770ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772ac_compiler_gnu=$ac_cv_c_compiler_gnu
23773
23774fi
23775
23776    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23777$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23778    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23779      for ac_func in _ceilf _floorf
23780do :
23781  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23782ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23783if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23784  cat >>confdefs.h <<_ACEOF
23785#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23786_ACEOF
23787
23788fi
23789done
23790
23791    fi
23792  fi
23793
23794
23795
23796
23797
23798
23799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23800$as_echo_n "checking for expf declaration... " >&6; }
23801  if test x${glibcxx_cv_func_expf_use+set} != xset; then
23802    if ${glibcxx_cv_func_expf_use+:} false; then :
23803  $as_echo_n "(cached) " >&6
23804else
23805
23806
23807      ac_ext=cpp
23808ac_cpp='$CXXCPP $CPPFLAGS'
23809ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23810ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23811ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23812
23813      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23814/* end confdefs.h.  */
23815#include <math.h>
23816		      #ifdef HAVE_IEEEFP_H
23817		      #include <ieeefp.h>
23818		      #endif
23819
23820int
23821main ()
23822{
23823 expf(0);
23824  ;
23825  return 0;
23826}
23827_ACEOF
23828if ac_fn_cxx_try_compile "$LINENO"; then :
23829  glibcxx_cv_func_expf_use=yes
23830else
23831  glibcxx_cv_func_expf_use=no
23832fi
23833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23834      ac_ext=c
23835ac_cpp='$CPP $CPPFLAGS'
23836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23838ac_compiler_gnu=$ac_cv_c_compiler_gnu
23839
23840
23841fi
23842
23843  fi
23844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23845$as_echo "$glibcxx_cv_func_expf_use" >&6; }
23846
23847  if test x$glibcxx_cv_func_expf_use = x"yes"; then
23848    for ac_func in expf
23849do :
23850  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23851if test "x$ac_cv_func_expf" = xyes; then :
23852  cat >>confdefs.h <<_ACEOF
23853#define HAVE_EXPF 1
23854_ACEOF
23855
23856fi
23857done
23858
23859  else
23860
23861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23862$as_echo_n "checking for _expf declaration... " >&6; }
23863  if test x${glibcxx_cv_func__expf_use+set} != xset; then
23864    if ${glibcxx_cv_func__expf_use+:} false; then :
23865  $as_echo_n "(cached) " >&6
23866else
23867
23868
23869      ac_ext=cpp
23870ac_cpp='$CXXCPP $CPPFLAGS'
23871ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23874
23875      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23876/* end confdefs.h.  */
23877#include <math.h>
23878		      #ifdef HAVE_IEEEFP_H
23879		      #include <ieeefp.h>
23880		      #endif
23881
23882int
23883main ()
23884{
23885 _expf(0);
23886  ;
23887  return 0;
23888}
23889_ACEOF
23890if ac_fn_cxx_try_compile "$LINENO"; then :
23891  glibcxx_cv_func__expf_use=yes
23892else
23893  glibcxx_cv_func__expf_use=no
23894fi
23895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23896      ac_ext=c
23897ac_cpp='$CPP $CPPFLAGS'
23898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23900ac_compiler_gnu=$ac_cv_c_compiler_gnu
23901
23902
23903fi
23904
23905  fi
23906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23907$as_echo "$glibcxx_cv_func__expf_use" >&6; }
23908
23909    if test x$glibcxx_cv_func__expf_use = x"yes"; then
23910      for ac_func in _expf
23911do :
23912  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23913if test "x$ac_cv_func__expf" = xyes; then :
23914  cat >>confdefs.h <<_ACEOF
23915#define HAVE__EXPF 1
23916_ACEOF
23917
23918fi
23919done
23920
23921    fi
23922  fi
23923
23924
23925
23926
23927
23928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23929$as_echo_n "checking for isnanf declaration... " >&6; }
23930  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23931    if ${glibcxx_cv_func_isnanf_use+:} false; then :
23932  $as_echo_n "(cached) " >&6
23933else
23934
23935
23936      ac_ext=cpp
23937ac_cpp='$CXXCPP $CPPFLAGS'
23938ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23939ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23940ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23941
23942      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23943/* end confdefs.h.  */
23944#include <math.h>
23945		      #ifdef HAVE_IEEEFP_H
23946		      #include <ieeefp.h>
23947		      #endif
23948
23949int
23950main ()
23951{
23952 isnanf(0);
23953  ;
23954  return 0;
23955}
23956_ACEOF
23957if ac_fn_cxx_try_compile "$LINENO"; then :
23958  glibcxx_cv_func_isnanf_use=yes
23959else
23960  glibcxx_cv_func_isnanf_use=no
23961fi
23962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23963      ac_ext=c
23964ac_cpp='$CPP $CPPFLAGS'
23965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23967ac_compiler_gnu=$ac_cv_c_compiler_gnu
23968
23969
23970fi
23971
23972  fi
23973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23974$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23975
23976  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23977    for ac_func in isnanf
23978do :
23979  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23980if test "x$ac_cv_func_isnanf" = xyes; then :
23981  cat >>confdefs.h <<_ACEOF
23982#define HAVE_ISNANF 1
23983_ACEOF
23984
23985fi
23986done
23987
23988  else
23989
23990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23991$as_echo_n "checking for _isnanf declaration... " >&6; }
23992  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23993    if ${glibcxx_cv_func__isnanf_use+:} false; then :
23994  $as_echo_n "(cached) " >&6
23995else
23996
23997
23998      ac_ext=cpp
23999ac_cpp='$CXXCPP $CPPFLAGS'
24000ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24001ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24002ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24003
24004      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24005/* end confdefs.h.  */
24006#include <math.h>
24007		      #ifdef HAVE_IEEEFP_H
24008		      #include <ieeefp.h>
24009		      #endif
24010
24011int
24012main ()
24013{
24014 _isnanf(0);
24015  ;
24016  return 0;
24017}
24018_ACEOF
24019if ac_fn_cxx_try_compile "$LINENO"; then :
24020  glibcxx_cv_func__isnanf_use=yes
24021else
24022  glibcxx_cv_func__isnanf_use=no
24023fi
24024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24025      ac_ext=c
24026ac_cpp='$CPP $CPPFLAGS'
24027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029ac_compiler_gnu=$ac_cv_c_compiler_gnu
24030
24031
24032fi
24033
24034  fi
24035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24036$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24037
24038    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24039      for ac_func in _isnanf
24040do :
24041  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24042if test "x$ac_cv_func__isnanf" = xyes; then :
24043  cat >>confdefs.h <<_ACEOF
24044#define HAVE__ISNANF 1
24045_ACEOF
24046
24047fi
24048done
24049
24050    fi
24051  fi
24052
24053
24054
24055
24056
24057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24058$as_echo_n "checking for isinff declaration... " >&6; }
24059  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24060    if ${glibcxx_cv_func_isinff_use+:} false; then :
24061  $as_echo_n "(cached) " >&6
24062else
24063
24064
24065      ac_ext=cpp
24066ac_cpp='$CXXCPP $CPPFLAGS'
24067ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24068ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24070
24071      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24072/* end confdefs.h.  */
24073#include <math.h>
24074		      #ifdef HAVE_IEEEFP_H
24075		      #include <ieeefp.h>
24076		      #endif
24077
24078int
24079main ()
24080{
24081 isinff(0);
24082  ;
24083  return 0;
24084}
24085_ACEOF
24086if ac_fn_cxx_try_compile "$LINENO"; then :
24087  glibcxx_cv_func_isinff_use=yes
24088else
24089  glibcxx_cv_func_isinff_use=no
24090fi
24091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24092      ac_ext=c
24093ac_cpp='$CPP $CPPFLAGS'
24094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24096ac_compiler_gnu=$ac_cv_c_compiler_gnu
24097
24098
24099fi
24100
24101  fi
24102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24103$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24104
24105  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24106    for ac_func in isinff
24107do :
24108  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24109if test "x$ac_cv_func_isinff" = xyes; then :
24110  cat >>confdefs.h <<_ACEOF
24111#define HAVE_ISINFF 1
24112_ACEOF
24113
24114fi
24115done
24116
24117  else
24118
24119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24120$as_echo_n "checking for _isinff declaration... " >&6; }
24121  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24122    if ${glibcxx_cv_func__isinff_use+:} false; then :
24123  $as_echo_n "(cached) " >&6
24124else
24125
24126
24127      ac_ext=cpp
24128ac_cpp='$CXXCPP $CPPFLAGS'
24129ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24130ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24131ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24132
24133      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24134/* end confdefs.h.  */
24135#include <math.h>
24136		      #ifdef HAVE_IEEEFP_H
24137		      #include <ieeefp.h>
24138		      #endif
24139
24140int
24141main ()
24142{
24143 _isinff(0);
24144  ;
24145  return 0;
24146}
24147_ACEOF
24148if ac_fn_cxx_try_compile "$LINENO"; then :
24149  glibcxx_cv_func__isinff_use=yes
24150else
24151  glibcxx_cv_func__isinff_use=no
24152fi
24153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24154      ac_ext=c
24155ac_cpp='$CPP $CPPFLAGS'
24156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24158ac_compiler_gnu=$ac_cv_c_compiler_gnu
24159
24160
24161fi
24162
24163  fi
24164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24165$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24166
24167    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24168      for ac_func in _isinff
24169do :
24170  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24171if test "x$ac_cv_func__isinff" = xyes; then :
24172  cat >>confdefs.h <<_ACEOF
24173#define HAVE__ISINFF 1
24174_ACEOF
24175
24176fi
24177done
24178
24179    fi
24180  fi
24181
24182
24183
24184
24185
24186  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24187$as_echo_n "checking for atan2f declaration... " >&6; }
24188  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24189    if ${glibcxx_cv_func_atan2f_use+:} false; then :
24190  $as_echo_n "(cached) " >&6
24191else
24192
24193
24194      ac_ext=cpp
24195ac_cpp='$CXXCPP $CPPFLAGS'
24196ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24197ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24198ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24199
24200      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24201/* end confdefs.h.  */
24202#include <math.h>
24203int
24204main ()
24205{
24206 atan2f(0, 0);
24207  ;
24208  return 0;
24209}
24210_ACEOF
24211if ac_fn_cxx_try_compile "$LINENO"; then :
24212  glibcxx_cv_func_atan2f_use=yes
24213else
24214  glibcxx_cv_func_atan2f_use=no
24215fi
24216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24217      ac_ext=c
24218ac_cpp='$CPP $CPPFLAGS'
24219ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24220ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24221ac_compiler_gnu=$ac_cv_c_compiler_gnu
24222
24223
24224fi
24225
24226  fi
24227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24228$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24229
24230  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24231    for ac_func in atan2f
24232do :
24233  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24234if test "x$ac_cv_func_atan2f" = xyes; then :
24235  cat >>confdefs.h <<_ACEOF
24236#define HAVE_ATAN2F 1
24237_ACEOF
24238
24239fi
24240done
24241
24242  else
24243
24244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24245$as_echo_n "checking for _atan2f declaration... " >&6; }
24246  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24247    if ${glibcxx_cv_func__atan2f_use+:} false; then :
24248  $as_echo_n "(cached) " >&6
24249else
24250
24251
24252      ac_ext=cpp
24253ac_cpp='$CXXCPP $CPPFLAGS'
24254ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24255ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24256ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24257
24258      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24259/* end confdefs.h.  */
24260#include <math.h>
24261int
24262main ()
24263{
24264 _atan2f(0, 0);
24265  ;
24266  return 0;
24267}
24268_ACEOF
24269if ac_fn_cxx_try_compile "$LINENO"; then :
24270  glibcxx_cv_func__atan2f_use=yes
24271else
24272  glibcxx_cv_func__atan2f_use=no
24273fi
24274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24275      ac_ext=c
24276ac_cpp='$CPP $CPPFLAGS'
24277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24279ac_compiler_gnu=$ac_cv_c_compiler_gnu
24280
24281
24282fi
24283
24284  fi
24285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24286$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24287
24288    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24289      for ac_func in _atan2f
24290do :
24291  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24292if test "x$ac_cv_func__atan2f" = xyes; then :
24293  cat >>confdefs.h <<_ACEOF
24294#define HAVE__ATAN2F 1
24295_ACEOF
24296
24297fi
24298done
24299
24300    fi
24301  fi
24302
24303
24304
24305
24306
24307  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24308$as_echo_n "checking for fabsf declaration... " >&6; }
24309  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24310    if ${glibcxx_cv_func_fabsf_use+:} false; then :
24311  $as_echo_n "(cached) " >&6
24312else
24313
24314
24315      ac_ext=cpp
24316ac_cpp='$CXXCPP $CPPFLAGS'
24317ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24318ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24319ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24320
24321      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24322/* end confdefs.h.  */
24323#include <math.h>
24324		      #ifdef HAVE_IEEEFP_H
24325		      #include <ieeefp.h>
24326		      #endif
24327
24328int
24329main ()
24330{
24331 fabsf(0);
24332  ;
24333  return 0;
24334}
24335_ACEOF
24336if ac_fn_cxx_try_compile "$LINENO"; then :
24337  glibcxx_cv_func_fabsf_use=yes
24338else
24339  glibcxx_cv_func_fabsf_use=no
24340fi
24341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24342      ac_ext=c
24343ac_cpp='$CPP $CPPFLAGS'
24344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346ac_compiler_gnu=$ac_cv_c_compiler_gnu
24347
24348
24349fi
24350
24351  fi
24352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24353$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24354
24355  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24356    for ac_func in fabsf
24357do :
24358  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24359if test "x$ac_cv_func_fabsf" = xyes; then :
24360  cat >>confdefs.h <<_ACEOF
24361#define HAVE_FABSF 1
24362_ACEOF
24363
24364fi
24365done
24366
24367  else
24368
24369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24370$as_echo_n "checking for _fabsf declaration... " >&6; }
24371  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24372    if ${glibcxx_cv_func__fabsf_use+:} false; then :
24373  $as_echo_n "(cached) " >&6
24374else
24375
24376
24377      ac_ext=cpp
24378ac_cpp='$CXXCPP $CPPFLAGS'
24379ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24380ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24381ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24382
24383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24384/* end confdefs.h.  */
24385#include <math.h>
24386		      #ifdef HAVE_IEEEFP_H
24387		      #include <ieeefp.h>
24388		      #endif
24389
24390int
24391main ()
24392{
24393 _fabsf(0);
24394  ;
24395  return 0;
24396}
24397_ACEOF
24398if ac_fn_cxx_try_compile "$LINENO"; then :
24399  glibcxx_cv_func__fabsf_use=yes
24400else
24401  glibcxx_cv_func__fabsf_use=no
24402fi
24403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24404      ac_ext=c
24405ac_cpp='$CPP $CPPFLAGS'
24406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24408ac_compiler_gnu=$ac_cv_c_compiler_gnu
24409
24410
24411fi
24412
24413  fi
24414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24415$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24416
24417    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24418      for ac_func in _fabsf
24419do :
24420  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24421if test "x$ac_cv_func__fabsf" = xyes; then :
24422  cat >>confdefs.h <<_ACEOF
24423#define HAVE__FABSF 1
24424_ACEOF
24425
24426fi
24427done
24428
24429    fi
24430  fi
24431
24432
24433
24434
24435
24436  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24437$as_echo_n "checking for fmodf declaration... " >&6; }
24438  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24439    if ${glibcxx_cv_func_fmodf_use+:} false; then :
24440  $as_echo_n "(cached) " >&6
24441else
24442
24443
24444      ac_ext=cpp
24445ac_cpp='$CXXCPP $CPPFLAGS'
24446ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24449
24450      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24451/* end confdefs.h.  */
24452#include <math.h>
24453int
24454main ()
24455{
24456 fmodf(0, 0);
24457  ;
24458  return 0;
24459}
24460_ACEOF
24461if ac_fn_cxx_try_compile "$LINENO"; then :
24462  glibcxx_cv_func_fmodf_use=yes
24463else
24464  glibcxx_cv_func_fmodf_use=no
24465fi
24466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467      ac_ext=c
24468ac_cpp='$CPP $CPPFLAGS'
24469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471ac_compiler_gnu=$ac_cv_c_compiler_gnu
24472
24473
24474fi
24475
24476  fi
24477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24478$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24479
24480  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24481    for ac_func in fmodf
24482do :
24483  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24484if test "x$ac_cv_func_fmodf" = xyes; then :
24485  cat >>confdefs.h <<_ACEOF
24486#define HAVE_FMODF 1
24487_ACEOF
24488
24489fi
24490done
24491
24492  else
24493
24494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24495$as_echo_n "checking for _fmodf declaration... " >&6; }
24496  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24497    if ${glibcxx_cv_func__fmodf_use+:} false; then :
24498  $as_echo_n "(cached) " >&6
24499else
24500
24501
24502      ac_ext=cpp
24503ac_cpp='$CXXCPP $CPPFLAGS'
24504ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24505ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24506ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24507
24508      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24509/* end confdefs.h.  */
24510#include <math.h>
24511int
24512main ()
24513{
24514 _fmodf(0, 0);
24515  ;
24516  return 0;
24517}
24518_ACEOF
24519if ac_fn_cxx_try_compile "$LINENO"; then :
24520  glibcxx_cv_func__fmodf_use=yes
24521else
24522  glibcxx_cv_func__fmodf_use=no
24523fi
24524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24525      ac_ext=c
24526ac_cpp='$CPP $CPPFLAGS'
24527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24529ac_compiler_gnu=$ac_cv_c_compiler_gnu
24530
24531
24532fi
24533
24534  fi
24535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24536$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24537
24538    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24539      for ac_func in _fmodf
24540do :
24541  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24542if test "x$ac_cv_func__fmodf" = xyes; then :
24543  cat >>confdefs.h <<_ACEOF
24544#define HAVE__FMODF 1
24545_ACEOF
24546
24547fi
24548done
24549
24550    fi
24551  fi
24552
24553
24554
24555
24556
24557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24558$as_echo_n "checking for frexpf declaration... " >&6; }
24559  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24560    if ${glibcxx_cv_func_frexpf_use+:} false; then :
24561  $as_echo_n "(cached) " >&6
24562else
24563
24564
24565      ac_ext=cpp
24566ac_cpp='$CXXCPP $CPPFLAGS'
24567ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24570
24571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24572/* end confdefs.h.  */
24573#include <math.h>
24574int
24575main ()
24576{
24577 frexpf(0, 0);
24578  ;
24579  return 0;
24580}
24581_ACEOF
24582if ac_fn_cxx_try_compile "$LINENO"; then :
24583  glibcxx_cv_func_frexpf_use=yes
24584else
24585  glibcxx_cv_func_frexpf_use=no
24586fi
24587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24588      ac_ext=c
24589ac_cpp='$CPP $CPPFLAGS'
24590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592ac_compiler_gnu=$ac_cv_c_compiler_gnu
24593
24594
24595fi
24596
24597  fi
24598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24599$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24600
24601  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24602    for ac_func in frexpf
24603do :
24604  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24605if test "x$ac_cv_func_frexpf" = xyes; then :
24606  cat >>confdefs.h <<_ACEOF
24607#define HAVE_FREXPF 1
24608_ACEOF
24609
24610fi
24611done
24612
24613  else
24614
24615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24616$as_echo_n "checking for _frexpf declaration... " >&6; }
24617  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24618    if ${glibcxx_cv_func__frexpf_use+:} false; then :
24619  $as_echo_n "(cached) " >&6
24620else
24621
24622
24623      ac_ext=cpp
24624ac_cpp='$CXXCPP $CPPFLAGS'
24625ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24628
24629      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24630/* end confdefs.h.  */
24631#include <math.h>
24632int
24633main ()
24634{
24635 _frexpf(0, 0);
24636  ;
24637  return 0;
24638}
24639_ACEOF
24640if ac_fn_cxx_try_compile "$LINENO"; then :
24641  glibcxx_cv_func__frexpf_use=yes
24642else
24643  glibcxx_cv_func__frexpf_use=no
24644fi
24645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24646      ac_ext=c
24647ac_cpp='$CPP $CPPFLAGS'
24648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650ac_compiler_gnu=$ac_cv_c_compiler_gnu
24651
24652
24653fi
24654
24655  fi
24656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24657$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24658
24659    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24660      for ac_func in _frexpf
24661do :
24662  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24663if test "x$ac_cv_func__frexpf" = xyes; then :
24664  cat >>confdefs.h <<_ACEOF
24665#define HAVE__FREXPF 1
24666_ACEOF
24667
24668fi
24669done
24670
24671    fi
24672  fi
24673
24674
24675
24676
24677
24678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24679$as_echo_n "checking for hypotf declaration... " >&6; }
24680  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24681    if ${glibcxx_cv_func_hypotf_use+:} false; then :
24682  $as_echo_n "(cached) " >&6
24683else
24684
24685
24686      ac_ext=cpp
24687ac_cpp='$CXXCPP $CPPFLAGS'
24688ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24689ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24690ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24691
24692      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24693/* end confdefs.h.  */
24694#include <math.h>
24695int
24696main ()
24697{
24698 hypotf(0, 0);
24699  ;
24700  return 0;
24701}
24702_ACEOF
24703if ac_fn_cxx_try_compile "$LINENO"; then :
24704  glibcxx_cv_func_hypotf_use=yes
24705else
24706  glibcxx_cv_func_hypotf_use=no
24707fi
24708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24709      ac_ext=c
24710ac_cpp='$CPP $CPPFLAGS'
24711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713ac_compiler_gnu=$ac_cv_c_compiler_gnu
24714
24715
24716fi
24717
24718  fi
24719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24720$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24721
24722  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24723    for ac_func in hypotf
24724do :
24725  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24726if test "x$ac_cv_func_hypotf" = xyes; then :
24727  cat >>confdefs.h <<_ACEOF
24728#define HAVE_HYPOTF 1
24729_ACEOF
24730
24731fi
24732done
24733
24734  else
24735
24736  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24737$as_echo_n "checking for _hypotf declaration... " >&6; }
24738  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24739    if ${glibcxx_cv_func__hypotf_use+:} false; then :
24740  $as_echo_n "(cached) " >&6
24741else
24742
24743
24744      ac_ext=cpp
24745ac_cpp='$CXXCPP $CPPFLAGS'
24746ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24747ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24748ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24749
24750      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24751/* end confdefs.h.  */
24752#include <math.h>
24753int
24754main ()
24755{
24756 _hypotf(0, 0);
24757  ;
24758  return 0;
24759}
24760_ACEOF
24761if ac_fn_cxx_try_compile "$LINENO"; then :
24762  glibcxx_cv_func__hypotf_use=yes
24763else
24764  glibcxx_cv_func__hypotf_use=no
24765fi
24766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24767      ac_ext=c
24768ac_cpp='$CPP $CPPFLAGS'
24769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24771ac_compiler_gnu=$ac_cv_c_compiler_gnu
24772
24773
24774fi
24775
24776  fi
24777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24778$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24779
24780    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24781      for ac_func in _hypotf
24782do :
24783  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24784if test "x$ac_cv_func__hypotf" = xyes; then :
24785  cat >>confdefs.h <<_ACEOF
24786#define HAVE__HYPOTF 1
24787_ACEOF
24788
24789fi
24790done
24791
24792    fi
24793  fi
24794
24795
24796
24797
24798
24799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24800$as_echo_n "checking for ldexpf declaration... " >&6; }
24801  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24802    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24803  $as_echo_n "(cached) " >&6
24804else
24805
24806
24807      ac_ext=cpp
24808ac_cpp='$CXXCPP $CPPFLAGS'
24809ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24810ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24811ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24812
24813      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24814/* end confdefs.h.  */
24815#include <math.h>
24816int
24817main ()
24818{
24819 ldexpf(0, 0);
24820  ;
24821  return 0;
24822}
24823_ACEOF
24824if ac_fn_cxx_try_compile "$LINENO"; then :
24825  glibcxx_cv_func_ldexpf_use=yes
24826else
24827  glibcxx_cv_func_ldexpf_use=no
24828fi
24829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24830      ac_ext=c
24831ac_cpp='$CPP $CPPFLAGS'
24832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834ac_compiler_gnu=$ac_cv_c_compiler_gnu
24835
24836
24837fi
24838
24839  fi
24840  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24841$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24842
24843  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24844    for ac_func in ldexpf
24845do :
24846  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24847if test "x$ac_cv_func_ldexpf" = xyes; then :
24848  cat >>confdefs.h <<_ACEOF
24849#define HAVE_LDEXPF 1
24850_ACEOF
24851
24852fi
24853done
24854
24855  else
24856
24857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24858$as_echo_n "checking for _ldexpf declaration... " >&6; }
24859  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24860    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24861  $as_echo_n "(cached) " >&6
24862else
24863
24864
24865      ac_ext=cpp
24866ac_cpp='$CXXCPP $CPPFLAGS'
24867ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24868ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24869ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24870
24871      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24872/* end confdefs.h.  */
24873#include <math.h>
24874int
24875main ()
24876{
24877 _ldexpf(0, 0);
24878  ;
24879  return 0;
24880}
24881_ACEOF
24882if ac_fn_cxx_try_compile "$LINENO"; then :
24883  glibcxx_cv_func__ldexpf_use=yes
24884else
24885  glibcxx_cv_func__ldexpf_use=no
24886fi
24887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24888      ac_ext=c
24889ac_cpp='$CPP $CPPFLAGS'
24890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24892ac_compiler_gnu=$ac_cv_c_compiler_gnu
24893
24894
24895fi
24896
24897  fi
24898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24899$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24900
24901    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24902      for ac_func in _ldexpf
24903do :
24904  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24905if test "x$ac_cv_func__ldexpf" = xyes; then :
24906  cat >>confdefs.h <<_ACEOF
24907#define HAVE__LDEXPF 1
24908_ACEOF
24909
24910fi
24911done
24912
24913    fi
24914  fi
24915
24916
24917
24918
24919
24920  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24921$as_echo_n "checking for logf declaration... " >&6; }
24922  if test x${glibcxx_cv_func_logf_use+set} != xset; then
24923    if ${glibcxx_cv_func_logf_use+:} false; then :
24924  $as_echo_n "(cached) " >&6
24925else
24926
24927
24928      ac_ext=cpp
24929ac_cpp='$CXXCPP $CPPFLAGS'
24930ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24931ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24932ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24933
24934      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24935/* end confdefs.h.  */
24936#include <math.h>
24937		      #ifdef HAVE_IEEEFP_H
24938		      #include <ieeefp.h>
24939		      #endif
24940
24941int
24942main ()
24943{
24944 logf(0);
24945  ;
24946  return 0;
24947}
24948_ACEOF
24949if ac_fn_cxx_try_compile "$LINENO"; then :
24950  glibcxx_cv_func_logf_use=yes
24951else
24952  glibcxx_cv_func_logf_use=no
24953fi
24954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24955      ac_ext=c
24956ac_cpp='$CPP $CPPFLAGS'
24957ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959ac_compiler_gnu=$ac_cv_c_compiler_gnu
24960
24961
24962fi
24963
24964  fi
24965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24966$as_echo "$glibcxx_cv_func_logf_use" >&6; }
24967
24968  if test x$glibcxx_cv_func_logf_use = x"yes"; then
24969    for ac_func in logf
24970do :
24971  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24972if test "x$ac_cv_func_logf" = xyes; then :
24973  cat >>confdefs.h <<_ACEOF
24974#define HAVE_LOGF 1
24975_ACEOF
24976
24977fi
24978done
24979
24980  else
24981
24982  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24983$as_echo_n "checking for _logf declaration... " >&6; }
24984  if test x${glibcxx_cv_func__logf_use+set} != xset; then
24985    if ${glibcxx_cv_func__logf_use+:} false; then :
24986  $as_echo_n "(cached) " >&6
24987else
24988
24989
24990      ac_ext=cpp
24991ac_cpp='$CXXCPP $CPPFLAGS'
24992ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24993ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24994ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24995
24996      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24997/* end confdefs.h.  */
24998#include <math.h>
24999		      #ifdef HAVE_IEEEFP_H
25000		      #include <ieeefp.h>
25001		      #endif
25002
25003int
25004main ()
25005{
25006 _logf(0);
25007  ;
25008  return 0;
25009}
25010_ACEOF
25011if ac_fn_cxx_try_compile "$LINENO"; then :
25012  glibcxx_cv_func__logf_use=yes
25013else
25014  glibcxx_cv_func__logf_use=no
25015fi
25016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25017      ac_ext=c
25018ac_cpp='$CPP $CPPFLAGS'
25019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25021ac_compiler_gnu=$ac_cv_c_compiler_gnu
25022
25023
25024fi
25025
25026  fi
25027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25028$as_echo "$glibcxx_cv_func__logf_use" >&6; }
25029
25030    if test x$glibcxx_cv_func__logf_use = x"yes"; then
25031      for ac_func in _logf
25032do :
25033  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25034if test "x$ac_cv_func__logf" = xyes; then :
25035  cat >>confdefs.h <<_ACEOF
25036#define HAVE__LOGF 1
25037_ACEOF
25038
25039fi
25040done
25041
25042    fi
25043  fi
25044
25045
25046
25047
25048
25049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25050$as_echo_n "checking for log10f declaration... " >&6; }
25051  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25052    if ${glibcxx_cv_func_log10f_use+:} false; then :
25053  $as_echo_n "(cached) " >&6
25054else
25055
25056
25057      ac_ext=cpp
25058ac_cpp='$CXXCPP $CPPFLAGS'
25059ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25060ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25061ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25062
25063      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25064/* end confdefs.h.  */
25065#include <math.h>
25066		      #ifdef HAVE_IEEEFP_H
25067		      #include <ieeefp.h>
25068		      #endif
25069
25070int
25071main ()
25072{
25073 log10f(0);
25074  ;
25075  return 0;
25076}
25077_ACEOF
25078if ac_fn_cxx_try_compile "$LINENO"; then :
25079  glibcxx_cv_func_log10f_use=yes
25080else
25081  glibcxx_cv_func_log10f_use=no
25082fi
25083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25084      ac_ext=c
25085ac_cpp='$CPP $CPPFLAGS'
25086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088ac_compiler_gnu=$ac_cv_c_compiler_gnu
25089
25090
25091fi
25092
25093  fi
25094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25095$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25096
25097  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25098    for ac_func in log10f
25099do :
25100  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25101if test "x$ac_cv_func_log10f" = xyes; then :
25102  cat >>confdefs.h <<_ACEOF
25103#define HAVE_LOG10F 1
25104_ACEOF
25105
25106fi
25107done
25108
25109  else
25110
25111  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25112$as_echo_n "checking for _log10f declaration... " >&6; }
25113  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25114    if ${glibcxx_cv_func__log10f_use+:} false; then :
25115  $as_echo_n "(cached) " >&6
25116else
25117
25118
25119      ac_ext=cpp
25120ac_cpp='$CXXCPP $CPPFLAGS'
25121ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25122ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25123ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25124
25125      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25126/* end confdefs.h.  */
25127#include <math.h>
25128		      #ifdef HAVE_IEEEFP_H
25129		      #include <ieeefp.h>
25130		      #endif
25131
25132int
25133main ()
25134{
25135 _log10f(0);
25136  ;
25137  return 0;
25138}
25139_ACEOF
25140if ac_fn_cxx_try_compile "$LINENO"; then :
25141  glibcxx_cv_func__log10f_use=yes
25142else
25143  glibcxx_cv_func__log10f_use=no
25144fi
25145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25146      ac_ext=c
25147ac_cpp='$CPP $CPPFLAGS'
25148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150ac_compiler_gnu=$ac_cv_c_compiler_gnu
25151
25152
25153fi
25154
25155  fi
25156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25157$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25158
25159    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25160      for ac_func in _log10f
25161do :
25162  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25163if test "x$ac_cv_func__log10f" = xyes; then :
25164  cat >>confdefs.h <<_ACEOF
25165#define HAVE__LOG10F 1
25166_ACEOF
25167
25168fi
25169done
25170
25171    fi
25172  fi
25173
25174
25175
25176
25177
25178  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25179$as_echo_n "checking for modff declaration... " >&6; }
25180  if test x${glibcxx_cv_func_modff_use+set} != xset; then
25181    if ${glibcxx_cv_func_modff_use+:} false; then :
25182  $as_echo_n "(cached) " >&6
25183else
25184
25185
25186      ac_ext=cpp
25187ac_cpp='$CXXCPP $CPPFLAGS'
25188ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25189ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25190ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25191
25192      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25193/* end confdefs.h.  */
25194#include <math.h>
25195int
25196main ()
25197{
25198 modff(0, 0);
25199  ;
25200  return 0;
25201}
25202_ACEOF
25203if ac_fn_cxx_try_compile "$LINENO"; then :
25204  glibcxx_cv_func_modff_use=yes
25205else
25206  glibcxx_cv_func_modff_use=no
25207fi
25208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209      ac_ext=c
25210ac_cpp='$CPP $CPPFLAGS'
25211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213ac_compiler_gnu=$ac_cv_c_compiler_gnu
25214
25215
25216fi
25217
25218  fi
25219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25220$as_echo "$glibcxx_cv_func_modff_use" >&6; }
25221
25222  if test x$glibcxx_cv_func_modff_use = x"yes"; then
25223    for ac_func in modff
25224do :
25225  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25226if test "x$ac_cv_func_modff" = xyes; then :
25227  cat >>confdefs.h <<_ACEOF
25228#define HAVE_MODFF 1
25229_ACEOF
25230
25231fi
25232done
25233
25234  else
25235
25236  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25237$as_echo_n "checking for _modff declaration... " >&6; }
25238  if test x${glibcxx_cv_func__modff_use+set} != xset; then
25239    if ${glibcxx_cv_func__modff_use+:} false; then :
25240  $as_echo_n "(cached) " >&6
25241else
25242
25243
25244      ac_ext=cpp
25245ac_cpp='$CXXCPP $CPPFLAGS'
25246ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25247ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25248ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25249
25250      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25251/* end confdefs.h.  */
25252#include <math.h>
25253int
25254main ()
25255{
25256 _modff(0, 0);
25257  ;
25258  return 0;
25259}
25260_ACEOF
25261if ac_fn_cxx_try_compile "$LINENO"; then :
25262  glibcxx_cv_func__modff_use=yes
25263else
25264  glibcxx_cv_func__modff_use=no
25265fi
25266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25267      ac_ext=c
25268ac_cpp='$CPP $CPPFLAGS'
25269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25271ac_compiler_gnu=$ac_cv_c_compiler_gnu
25272
25273
25274fi
25275
25276  fi
25277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25278$as_echo "$glibcxx_cv_func__modff_use" >&6; }
25279
25280    if test x$glibcxx_cv_func__modff_use = x"yes"; then
25281      for ac_func in _modff
25282do :
25283  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25284if test "x$ac_cv_func__modff" = xyes; then :
25285  cat >>confdefs.h <<_ACEOF
25286#define HAVE__MODFF 1
25287_ACEOF
25288
25289fi
25290done
25291
25292    fi
25293  fi
25294
25295
25296
25297
25298
25299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25300$as_echo_n "checking for modf declaration... " >&6; }
25301  if test x${glibcxx_cv_func_modf_use+set} != xset; then
25302    if ${glibcxx_cv_func_modf_use+:} false; then :
25303  $as_echo_n "(cached) " >&6
25304else
25305
25306
25307      ac_ext=cpp
25308ac_cpp='$CXXCPP $CPPFLAGS'
25309ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25310ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25311ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25312
25313      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25314/* end confdefs.h.  */
25315#include <math.h>
25316int
25317main ()
25318{
25319 modf(0, 0);
25320  ;
25321  return 0;
25322}
25323_ACEOF
25324if ac_fn_cxx_try_compile "$LINENO"; then :
25325  glibcxx_cv_func_modf_use=yes
25326else
25327  glibcxx_cv_func_modf_use=no
25328fi
25329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25330      ac_ext=c
25331ac_cpp='$CPP $CPPFLAGS'
25332ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25333ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25334ac_compiler_gnu=$ac_cv_c_compiler_gnu
25335
25336
25337fi
25338
25339  fi
25340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25341$as_echo "$glibcxx_cv_func_modf_use" >&6; }
25342
25343  if test x$glibcxx_cv_func_modf_use = x"yes"; then
25344    for ac_func in modf
25345do :
25346  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25347if test "x$ac_cv_func_modf" = xyes; then :
25348  cat >>confdefs.h <<_ACEOF
25349#define HAVE_MODF 1
25350_ACEOF
25351
25352fi
25353done
25354
25355  else
25356
25357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25358$as_echo_n "checking for _modf declaration... " >&6; }
25359  if test x${glibcxx_cv_func__modf_use+set} != xset; then
25360    if ${glibcxx_cv_func__modf_use+:} false; then :
25361  $as_echo_n "(cached) " >&6
25362else
25363
25364
25365      ac_ext=cpp
25366ac_cpp='$CXXCPP $CPPFLAGS'
25367ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25370
25371      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25372/* end confdefs.h.  */
25373#include <math.h>
25374int
25375main ()
25376{
25377 _modf(0, 0);
25378  ;
25379  return 0;
25380}
25381_ACEOF
25382if ac_fn_cxx_try_compile "$LINENO"; then :
25383  glibcxx_cv_func__modf_use=yes
25384else
25385  glibcxx_cv_func__modf_use=no
25386fi
25387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25388      ac_ext=c
25389ac_cpp='$CPP $CPPFLAGS'
25390ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25391ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25392ac_compiler_gnu=$ac_cv_c_compiler_gnu
25393
25394
25395fi
25396
25397  fi
25398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25399$as_echo "$glibcxx_cv_func__modf_use" >&6; }
25400
25401    if test x$glibcxx_cv_func__modf_use = x"yes"; then
25402      for ac_func in _modf
25403do :
25404  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25405if test "x$ac_cv_func__modf" = xyes; then :
25406  cat >>confdefs.h <<_ACEOF
25407#define HAVE__MODF 1
25408_ACEOF
25409
25410fi
25411done
25412
25413    fi
25414  fi
25415
25416
25417
25418
25419
25420  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25421$as_echo_n "checking for powf declaration... " >&6; }
25422  if test x${glibcxx_cv_func_powf_use+set} != xset; then
25423    if ${glibcxx_cv_func_powf_use+:} false; then :
25424  $as_echo_n "(cached) " >&6
25425else
25426
25427
25428      ac_ext=cpp
25429ac_cpp='$CXXCPP $CPPFLAGS'
25430ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25431ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25432ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25433
25434      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25435/* end confdefs.h.  */
25436#include <math.h>
25437int
25438main ()
25439{
25440 powf(0, 0);
25441  ;
25442  return 0;
25443}
25444_ACEOF
25445if ac_fn_cxx_try_compile "$LINENO"; then :
25446  glibcxx_cv_func_powf_use=yes
25447else
25448  glibcxx_cv_func_powf_use=no
25449fi
25450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25451      ac_ext=c
25452ac_cpp='$CPP $CPPFLAGS'
25453ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25454ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25455ac_compiler_gnu=$ac_cv_c_compiler_gnu
25456
25457
25458fi
25459
25460  fi
25461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25462$as_echo "$glibcxx_cv_func_powf_use" >&6; }
25463
25464  if test x$glibcxx_cv_func_powf_use = x"yes"; then
25465    for ac_func in powf
25466do :
25467  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25468if test "x$ac_cv_func_powf" = xyes; then :
25469  cat >>confdefs.h <<_ACEOF
25470#define HAVE_POWF 1
25471_ACEOF
25472
25473fi
25474done
25475
25476  else
25477
25478  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25479$as_echo_n "checking for _powf declaration... " >&6; }
25480  if test x${glibcxx_cv_func__powf_use+set} != xset; then
25481    if ${glibcxx_cv_func__powf_use+:} false; then :
25482  $as_echo_n "(cached) " >&6
25483else
25484
25485
25486      ac_ext=cpp
25487ac_cpp='$CXXCPP $CPPFLAGS'
25488ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25489ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25490ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25491
25492      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25493/* end confdefs.h.  */
25494#include <math.h>
25495int
25496main ()
25497{
25498 _powf(0, 0);
25499  ;
25500  return 0;
25501}
25502_ACEOF
25503if ac_fn_cxx_try_compile "$LINENO"; then :
25504  glibcxx_cv_func__powf_use=yes
25505else
25506  glibcxx_cv_func__powf_use=no
25507fi
25508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25509      ac_ext=c
25510ac_cpp='$CPP $CPPFLAGS'
25511ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25512ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25513ac_compiler_gnu=$ac_cv_c_compiler_gnu
25514
25515
25516fi
25517
25518  fi
25519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25520$as_echo "$glibcxx_cv_func__powf_use" >&6; }
25521
25522    if test x$glibcxx_cv_func__powf_use = x"yes"; then
25523      for ac_func in _powf
25524do :
25525  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25526if test "x$ac_cv_func__powf" = xyes; then :
25527  cat >>confdefs.h <<_ACEOF
25528#define HAVE__POWF 1
25529_ACEOF
25530
25531fi
25532done
25533
25534    fi
25535  fi
25536
25537
25538
25539
25540
25541  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25542$as_echo_n "checking for sqrtf declaration... " >&6; }
25543  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25544    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25545  $as_echo_n "(cached) " >&6
25546else
25547
25548
25549      ac_ext=cpp
25550ac_cpp='$CXXCPP $CPPFLAGS'
25551ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25552ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25553ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25554
25555      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25556/* end confdefs.h.  */
25557#include <math.h>
25558		      #ifdef HAVE_IEEEFP_H
25559		      #include <ieeefp.h>
25560		      #endif
25561
25562int
25563main ()
25564{
25565 sqrtf(0);
25566  ;
25567  return 0;
25568}
25569_ACEOF
25570if ac_fn_cxx_try_compile "$LINENO"; then :
25571  glibcxx_cv_func_sqrtf_use=yes
25572else
25573  glibcxx_cv_func_sqrtf_use=no
25574fi
25575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25576      ac_ext=c
25577ac_cpp='$CPP $CPPFLAGS'
25578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580ac_compiler_gnu=$ac_cv_c_compiler_gnu
25581
25582
25583fi
25584
25585  fi
25586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25587$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25588
25589  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25590    for ac_func in sqrtf
25591do :
25592  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25593if test "x$ac_cv_func_sqrtf" = xyes; then :
25594  cat >>confdefs.h <<_ACEOF
25595#define HAVE_SQRTF 1
25596_ACEOF
25597
25598fi
25599done
25600
25601  else
25602
25603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25604$as_echo_n "checking for _sqrtf declaration... " >&6; }
25605  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25606    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25607  $as_echo_n "(cached) " >&6
25608else
25609
25610
25611      ac_ext=cpp
25612ac_cpp='$CXXCPP $CPPFLAGS'
25613ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25614ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25615ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25616
25617      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25618/* end confdefs.h.  */
25619#include <math.h>
25620		      #ifdef HAVE_IEEEFP_H
25621		      #include <ieeefp.h>
25622		      #endif
25623
25624int
25625main ()
25626{
25627 _sqrtf(0);
25628  ;
25629  return 0;
25630}
25631_ACEOF
25632if ac_fn_cxx_try_compile "$LINENO"; then :
25633  glibcxx_cv_func__sqrtf_use=yes
25634else
25635  glibcxx_cv_func__sqrtf_use=no
25636fi
25637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25638      ac_ext=c
25639ac_cpp='$CPP $CPPFLAGS'
25640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25642ac_compiler_gnu=$ac_cv_c_compiler_gnu
25643
25644
25645fi
25646
25647  fi
25648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25649$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25650
25651    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25652      for ac_func in _sqrtf
25653do :
25654  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25655if test "x$ac_cv_func__sqrtf" = xyes; then :
25656  cat >>confdefs.h <<_ACEOF
25657#define HAVE__SQRTF 1
25658_ACEOF
25659
25660fi
25661done
25662
25663    fi
25664  fi
25665
25666
25667
25668
25669
25670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25671$as_echo_n "checking for sincosf declaration... " >&6; }
25672  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25673    if ${glibcxx_cv_func_sincosf_use+:} false; then :
25674  $as_echo_n "(cached) " >&6
25675else
25676
25677
25678      ac_ext=cpp
25679ac_cpp='$CXXCPP $CPPFLAGS'
25680ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25681ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25682ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25683
25684      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25685/* end confdefs.h.  */
25686#include <math.h>
25687int
25688main ()
25689{
25690 sincosf(0, 0, 0);
25691  ;
25692  return 0;
25693}
25694_ACEOF
25695if ac_fn_cxx_try_compile "$LINENO"; then :
25696  glibcxx_cv_func_sincosf_use=yes
25697else
25698  glibcxx_cv_func_sincosf_use=no
25699fi
25700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25701      ac_ext=c
25702ac_cpp='$CPP $CPPFLAGS'
25703ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705ac_compiler_gnu=$ac_cv_c_compiler_gnu
25706
25707
25708fi
25709
25710  fi
25711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25712$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25713
25714  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25715    for ac_func in sincosf
25716do :
25717  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25718if test "x$ac_cv_func_sincosf" = xyes; then :
25719  cat >>confdefs.h <<_ACEOF
25720#define HAVE_SINCOSF 1
25721_ACEOF
25722
25723fi
25724done
25725
25726  else
25727
25728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25729$as_echo_n "checking for _sincosf declaration... " >&6; }
25730  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25731    if ${glibcxx_cv_func__sincosf_use+:} false; then :
25732  $as_echo_n "(cached) " >&6
25733else
25734
25735
25736      ac_ext=cpp
25737ac_cpp='$CXXCPP $CPPFLAGS'
25738ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25739ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25740ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25741
25742      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25743/* end confdefs.h.  */
25744#include <math.h>
25745int
25746main ()
25747{
25748 _sincosf(0, 0, 0);
25749  ;
25750  return 0;
25751}
25752_ACEOF
25753if ac_fn_cxx_try_compile "$LINENO"; then :
25754  glibcxx_cv_func__sincosf_use=yes
25755else
25756  glibcxx_cv_func__sincosf_use=no
25757fi
25758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25759      ac_ext=c
25760ac_cpp='$CPP $CPPFLAGS'
25761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25763ac_compiler_gnu=$ac_cv_c_compiler_gnu
25764
25765
25766fi
25767
25768  fi
25769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25770$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25771
25772    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25773      for ac_func in _sincosf
25774do :
25775  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25776if test "x$ac_cv_func__sincosf" = xyes; then :
25777  cat >>confdefs.h <<_ACEOF
25778#define HAVE__SINCOSF 1
25779_ACEOF
25780
25781fi
25782done
25783
25784    fi
25785  fi
25786
25787
25788
25789
25790
25791  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25792$as_echo_n "checking for finitef declaration... " >&6; }
25793  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25794    if ${glibcxx_cv_func_finitef_use+:} false; then :
25795  $as_echo_n "(cached) " >&6
25796else
25797
25798
25799      ac_ext=cpp
25800ac_cpp='$CXXCPP $CPPFLAGS'
25801ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25802ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25803ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25804
25805      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25806/* end confdefs.h.  */
25807#include <math.h>
25808		      #ifdef HAVE_IEEEFP_H
25809		      #include <ieeefp.h>
25810		      #endif
25811
25812int
25813main ()
25814{
25815 finitef(0);
25816  ;
25817  return 0;
25818}
25819_ACEOF
25820if ac_fn_cxx_try_compile "$LINENO"; then :
25821  glibcxx_cv_func_finitef_use=yes
25822else
25823  glibcxx_cv_func_finitef_use=no
25824fi
25825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25826      ac_ext=c
25827ac_cpp='$CPP $CPPFLAGS'
25828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25830ac_compiler_gnu=$ac_cv_c_compiler_gnu
25831
25832
25833fi
25834
25835  fi
25836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25837$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25838
25839  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25840    for ac_func in finitef
25841do :
25842  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25843if test "x$ac_cv_func_finitef" = xyes; then :
25844  cat >>confdefs.h <<_ACEOF
25845#define HAVE_FINITEF 1
25846_ACEOF
25847
25848fi
25849done
25850
25851  else
25852
25853  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25854$as_echo_n "checking for _finitef declaration... " >&6; }
25855  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25856    if ${glibcxx_cv_func__finitef_use+:} false; then :
25857  $as_echo_n "(cached) " >&6
25858else
25859
25860
25861      ac_ext=cpp
25862ac_cpp='$CXXCPP $CPPFLAGS'
25863ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25864ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25865ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25866
25867      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25868/* end confdefs.h.  */
25869#include <math.h>
25870		      #ifdef HAVE_IEEEFP_H
25871		      #include <ieeefp.h>
25872		      #endif
25873
25874int
25875main ()
25876{
25877 _finitef(0);
25878  ;
25879  return 0;
25880}
25881_ACEOF
25882if ac_fn_cxx_try_compile "$LINENO"; then :
25883  glibcxx_cv_func__finitef_use=yes
25884else
25885  glibcxx_cv_func__finitef_use=no
25886fi
25887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25888      ac_ext=c
25889ac_cpp='$CPP $CPPFLAGS'
25890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25892ac_compiler_gnu=$ac_cv_c_compiler_gnu
25893
25894
25895fi
25896
25897  fi
25898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25899$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25900
25901    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25902      for ac_func in _finitef
25903do :
25904  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25905if test "x$ac_cv_func__finitef" = xyes; then :
25906  cat >>confdefs.h <<_ACEOF
25907#define HAVE__FINITEF 1
25908_ACEOF
25909
25910fi
25911done
25912
25913    fi
25914  fi
25915
25916
25917
25918
25919
25920    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25921$as_echo_n "checking for long double trig functions... " >&6; }
25922  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25923  $as_echo_n "(cached) " >&6
25924else
25925
25926
25927    ac_ext=cpp
25928ac_cpp='$CXXCPP $CPPFLAGS'
25929ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25930ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25931ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25932
25933    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25934/* end confdefs.h.  */
25935#include <math.h>
25936int
25937main ()
25938{
25939acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25940  ;
25941  return 0;
25942}
25943_ACEOF
25944if ac_fn_cxx_try_compile "$LINENO"; then :
25945  glibcxx_cv_func_long_double_trig_use=yes
25946else
25947  glibcxx_cv_func_long_double_trig_use=no
25948fi
25949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25950    ac_ext=c
25951ac_cpp='$CPP $CPPFLAGS'
25952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25954ac_compiler_gnu=$ac_cv_c_compiler_gnu
25955
25956fi
25957
25958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25959$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25960  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25961    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25962do :
25963  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25964ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25965if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25966  cat >>confdefs.h <<_ACEOF
25967#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25968_ACEOF
25969
25970fi
25971done
25972
25973  else
25974    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25975$as_echo_n "checking for _long double trig functions... " >&6; }
25976    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25977  $as_echo_n "(cached) " >&6
25978else
25979
25980
25981      ac_ext=cpp
25982ac_cpp='$CXXCPP $CPPFLAGS'
25983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25986
25987      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25988/* end confdefs.h.  */
25989#include <math.h>
25990int
25991main ()
25992{
25993_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25994  ;
25995  return 0;
25996}
25997_ACEOF
25998if ac_fn_cxx_try_compile "$LINENO"; then :
25999  glibcxx_cv_func__long_double_trig_use=yes
26000else
26001  glibcxx_cv_func__long_double_trig_use=no
26002fi
26003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26004      ac_ext=c
26005ac_cpp='$CPP $CPPFLAGS'
26006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008ac_compiler_gnu=$ac_cv_c_compiler_gnu
26009
26010fi
26011
26012    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26013$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26014    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26015      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26016do :
26017  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26018ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26019if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26020  cat >>confdefs.h <<_ACEOF
26021#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26022_ACEOF
26023
26024fi
26025done
26026
26027    fi
26028  fi
26029
26030
26031
26032
26033
26034    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26035$as_echo_n "checking for long double round functions... " >&6; }
26036  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26037  $as_echo_n "(cached) " >&6
26038else
26039
26040
26041    ac_ext=cpp
26042ac_cpp='$CXXCPP $CPPFLAGS'
26043ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26044ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26045ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26046
26047    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26048/* end confdefs.h.  */
26049#include <math.h>
26050int
26051main ()
26052{
26053ceill (0); floorl (0);
26054  ;
26055  return 0;
26056}
26057_ACEOF
26058if ac_fn_cxx_try_compile "$LINENO"; then :
26059  glibcxx_cv_func_long_double_round_use=yes
26060else
26061  glibcxx_cv_func_long_double_round_use=no
26062fi
26063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26064    ac_ext=c
26065ac_cpp='$CPP $CPPFLAGS'
26066ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26067ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26068ac_compiler_gnu=$ac_cv_c_compiler_gnu
26069
26070fi
26071
26072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26073$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26074  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26075    for ac_func in ceill floorl
26076do :
26077  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26078ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26079if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26080  cat >>confdefs.h <<_ACEOF
26081#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26082_ACEOF
26083
26084fi
26085done
26086
26087  else
26088    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26089$as_echo_n "checking for _long double round functions... " >&6; }
26090    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26091  $as_echo_n "(cached) " >&6
26092else
26093
26094
26095      ac_ext=cpp
26096ac_cpp='$CXXCPP $CPPFLAGS'
26097ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26098ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26099ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26100
26101      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26102/* end confdefs.h.  */
26103#include <math.h>
26104int
26105main ()
26106{
26107_ceill (0); _floorl (0);
26108  ;
26109  return 0;
26110}
26111_ACEOF
26112if ac_fn_cxx_try_compile "$LINENO"; then :
26113  glibcxx_cv_func__long_double_round_use=yes
26114else
26115  glibcxx_cv_func__long_double_round_use=no
26116fi
26117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26118      ac_ext=c
26119ac_cpp='$CPP $CPPFLAGS'
26120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26122ac_compiler_gnu=$ac_cv_c_compiler_gnu
26123
26124fi
26125
26126    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26127$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26128    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26129      for ac_func in _ceill _floorl
26130do :
26131  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26132ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26133if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26134  cat >>confdefs.h <<_ACEOF
26135#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26136_ACEOF
26137
26138fi
26139done
26140
26141    fi
26142  fi
26143
26144
26145
26146
26147
26148
26149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26150$as_echo_n "checking for isnanl declaration... " >&6; }
26151  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26152    if ${glibcxx_cv_func_isnanl_use+:} false; then :
26153  $as_echo_n "(cached) " >&6
26154else
26155
26156
26157      ac_ext=cpp
26158ac_cpp='$CXXCPP $CPPFLAGS'
26159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26162
26163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26164/* end confdefs.h.  */
26165#include <math.h>
26166		      #ifdef HAVE_IEEEFP_H
26167		      #include <ieeefp.h>
26168		      #endif
26169
26170int
26171main ()
26172{
26173 isnanl(0);
26174  ;
26175  return 0;
26176}
26177_ACEOF
26178if ac_fn_cxx_try_compile "$LINENO"; then :
26179  glibcxx_cv_func_isnanl_use=yes
26180else
26181  glibcxx_cv_func_isnanl_use=no
26182fi
26183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26184      ac_ext=c
26185ac_cpp='$CPP $CPPFLAGS'
26186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26188ac_compiler_gnu=$ac_cv_c_compiler_gnu
26189
26190
26191fi
26192
26193  fi
26194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26195$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26196
26197  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26198    for ac_func in isnanl
26199do :
26200  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26201if test "x$ac_cv_func_isnanl" = xyes; then :
26202  cat >>confdefs.h <<_ACEOF
26203#define HAVE_ISNANL 1
26204_ACEOF
26205
26206fi
26207done
26208
26209  else
26210
26211  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26212$as_echo_n "checking for _isnanl declaration... " >&6; }
26213  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26214    if ${glibcxx_cv_func__isnanl_use+:} false; then :
26215  $as_echo_n "(cached) " >&6
26216else
26217
26218
26219      ac_ext=cpp
26220ac_cpp='$CXXCPP $CPPFLAGS'
26221ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26224
26225      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26226/* end confdefs.h.  */
26227#include <math.h>
26228		      #ifdef HAVE_IEEEFP_H
26229		      #include <ieeefp.h>
26230		      #endif
26231
26232int
26233main ()
26234{
26235 _isnanl(0);
26236  ;
26237  return 0;
26238}
26239_ACEOF
26240if ac_fn_cxx_try_compile "$LINENO"; then :
26241  glibcxx_cv_func__isnanl_use=yes
26242else
26243  glibcxx_cv_func__isnanl_use=no
26244fi
26245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26246      ac_ext=c
26247ac_cpp='$CPP $CPPFLAGS'
26248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26250ac_compiler_gnu=$ac_cv_c_compiler_gnu
26251
26252
26253fi
26254
26255  fi
26256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26257$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26258
26259    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26260      for ac_func in _isnanl
26261do :
26262  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26263if test "x$ac_cv_func__isnanl" = xyes; then :
26264  cat >>confdefs.h <<_ACEOF
26265#define HAVE__ISNANL 1
26266_ACEOF
26267
26268fi
26269done
26270
26271    fi
26272  fi
26273
26274
26275
26276
26277
26278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26279$as_echo_n "checking for isinfl declaration... " >&6; }
26280  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26281    if ${glibcxx_cv_func_isinfl_use+:} false; then :
26282  $as_echo_n "(cached) " >&6
26283else
26284
26285
26286      ac_ext=cpp
26287ac_cpp='$CXXCPP $CPPFLAGS'
26288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26291
26292      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26293/* end confdefs.h.  */
26294#include <math.h>
26295		      #ifdef HAVE_IEEEFP_H
26296		      #include <ieeefp.h>
26297		      #endif
26298
26299int
26300main ()
26301{
26302 isinfl(0);
26303  ;
26304  return 0;
26305}
26306_ACEOF
26307if ac_fn_cxx_try_compile "$LINENO"; then :
26308  glibcxx_cv_func_isinfl_use=yes
26309else
26310  glibcxx_cv_func_isinfl_use=no
26311fi
26312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26313      ac_ext=c
26314ac_cpp='$CPP $CPPFLAGS'
26315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26317ac_compiler_gnu=$ac_cv_c_compiler_gnu
26318
26319
26320fi
26321
26322  fi
26323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26324$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26325
26326  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26327    for ac_func in isinfl
26328do :
26329  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26330if test "x$ac_cv_func_isinfl" = xyes; then :
26331  cat >>confdefs.h <<_ACEOF
26332#define HAVE_ISINFL 1
26333_ACEOF
26334
26335fi
26336done
26337
26338  else
26339
26340  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26341$as_echo_n "checking for _isinfl declaration... " >&6; }
26342  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26343    if ${glibcxx_cv_func__isinfl_use+:} false; then :
26344  $as_echo_n "(cached) " >&6
26345else
26346
26347
26348      ac_ext=cpp
26349ac_cpp='$CXXCPP $CPPFLAGS'
26350ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26351ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26352ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26353
26354      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26355/* end confdefs.h.  */
26356#include <math.h>
26357		      #ifdef HAVE_IEEEFP_H
26358		      #include <ieeefp.h>
26359		      #endif
26360
26361int
26362main ()
26363{
26364 _isinfl(0);
26365  ;
26366  return 0;
26367}
26368_ACEOF
26369if ac_fn_cxx_try_compile "$LINENO"; then :
26370  glibcxx_cv_func__isinfl_use=yes
26371else
26372  glibcxx_cv_func__isinfl_use=no
26373fi
26374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26375      ac_ext=c
26376ac_cpp='$CPP $CPPFLAGS'
26377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26379ac_compiler_gnu=$ac_cv_c_compiler_gnu
26380
26381
26382fi
26383
26384  fi
26385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26386$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26387
26388    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26389      for ac_func in _isinfl
26390do :
26391  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26392if test "x$ac_cv_func__isinfl" = xyes; then :
26393  cat >>confdefs.h <<_ACEOF
26394#define HAVE__ISINFL 1
26395_ACEOF
26396
26397fi
26398done
26399
26400    fi
26401  fi
26402
26403
26404
26405
26406
26407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26408$as_echo_n "checking for atan2l declaration... " >&6; }
26409  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26410    if ${glibcxx_cv_func_atan2l_use+:} false; then :
26411  $as_echo_n "(cached) " >&6
26412else
26413
26414
26415      ac_ext=cpp
26416ac_cpp='$CXXCPP $CPPFLAGS'
26417ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26418ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26419ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26420
26421      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26422/* end confdefs.h.  */
26423#include <math.h>
26424int
26425main ()
26426{
26427 atan2l(0, 0);
26428  ;
26429  return 0;
26430}
26431_ACEOF
26432if ac_fn_cxx_try_compile "$LINENO"; then :
26433  glibcxx_cv_func_atan2l_use=yes
26434else
26435  glibcxx_cv_func_atan2l_use=no
26436fi
26437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26438      ac_ext=c
26439ac_cpp='$CPP $CPPFLAGS'
26440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26442ac_compiler_gnu=$ac_cv_c_compiler_gnu
26443
26444
26445fi
26446
26447  fi
26448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26449$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26450
26451  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26452    for ac_func in atan2l
26453do :
26454  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26455if test "x$ac_cv_func_atan2l" = xyes; then :
26456  cat >>confdefs.h <<_ACEOF
26457#define HAVE_ATAN2L 1
26458_ACEOF
26459
26460fi
26461done
26462
26463  else
26464
26465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26466$as_echo_n "checking for _atan2l declaration... " >&6; }
26467  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26468    if ${glibcxx_cv_func__atan2l_use+:} false; then :
26469  $as_echo_n "(cached) " >&6
26470else
26471
26472
26473      ac_ext=cpp
26474ac_cpp='$CXXCPP $CPPFLAGS'
26475ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26476ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26477ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26478
26479      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26480/* end confdefs.h.  */
26481#include <math.h>
26482int
26483main ()
26484{
26485 _atan2l(0, 0);
26486  ;
26487  return 0;
26488}
26489_ACEOF
26490if ac_fn_cxx_try_compile "$LINENO"; then :
26491  glibcxx_cv_func__atan2l_use=yes
26492else
26493  glibcxx_cv_func__atan2l_use=no
26494fi
26495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26496      ac_ext=c
26497ac_cpp='$CPP $CPPFLAGS'
26498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26500ac_compiler_gnu=$ac_cv_c_compiler_gnu
26501
26502
26503fi
26504
26505  fi
26506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26507$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26508
26509    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26510      for ac_func in _atan2l
26511do :
26512  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26513if test "x$ac_cv_func__atan2l" = xyes; then :
26514  cat >>confdefs.h <<_ACEOF
26515#define HAVE__ATAN2L 1
26516_ACEOF
26517
26518fi
26519done
26520
26521    fi
26522  fi
26523
26524
26525
26526
26527
26528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26529$as_echo_n "checking for expl declaration... " >&6; }
26530  if test x${glibcxx_cv_func_expl_use+set} != xset; then
26531    if ${glibcxx_cv_func_expl_use+:} false; then :
26532  $as_echo_n "(cached) " >&6
26533else
26534
26535
26536      ac_ext=cpp
26537ac_cpp='$CXXCPP $CPPFLAGS'
26538ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26539ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26540ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26541
26542      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26543/* end confdefs.h.  */
26544#include <math.h>
26545		      #ifdef HAVE_IEEEFP_H
26546		      #include <ieeefp.h>
26547		      #endif
26548
26549int
26550main ()
26551{
26552 expl(0);
26553  ;
26554  return 0;
26555}
26556_ACEOF
26557if ac_fn_cxx_try_compile "$LINENO"; then :
26558  glibcxx_cv_func_expl_use=yes
26559else
26560  glibcxx_cv_func_expl_use=no
26561fi
26562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26563      ac_ext=c
26564ac_cpp='$CPP $CPPFLAGS'
26565ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567ac_compiler_gnu=$ac_cv_c_compiler_gnu
26568
26569
26570fi
26571
26572  fi
26573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26574$as_echo "$glibcxx_cv_func_expl_use" >&6; }
26575
26576  if test x$glibcxx_cv_func_expl_use = x"yes"; then
26577    for ac_func in expl
26578do :
26579  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26580if test "x$ac_cv_func_expl" = xyes; then :
26581  cat >>confdefs.h <<_ACEOF
26582#define HAVE_EXPL 1
26583_ACEOF
26584
26585fi
26586done
26587
26588  else
26589
26590  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26591$as_echo_n "checking for _expl declaration... " >&6; }
26592  if test x${glibcxx_cv_func__expl_use+set} != xset; then
26593    if ${glibcxx_cv_func__expl_use+:} false; then :
26594  $as_echo_n "(cached) " >&6
26595else
26596
26597
26598      ac_ext=cpp
26599ac_cpp='$CXXCPP $CPPFLAGS'
26600ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26601ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26602ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26603
26604      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26605/* end confdefs.h.  */
26606#include <math.h>
26607		      #ifdef HAVE_IEEEFP_H
26608		      #include <ieeefp.h>
26609		      #endif
26610
26611int
26612main ()
26613{
26614 _expl(0);
26615  ;
26616  return 0;
26617}
26618_ACEOF
26619if ac_fn_cxx_try_compile "$LINENO"; then :
26620  glibcxx_cv_func__expl_use=yes
26621else
26622  glibcxx_cv_func__expl_use=no
26623fi
26624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26625      ac_ext=c
26626ac_cpp='$CPP $CPPFLAGS'
26627ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26628ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26629ac_compiler_gnu=$ac_cv_c_compiler_gnu
26630
26631
26632fi
26633
26634  fi
26635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26636$as_echo "$glibcxx_cv_func__expl_use" >&6; }
26637
26638    if test x$glibcxx_cv_func__expl_use = x"yes"; then
26639      for ac_func in _expl
26640do :
26641  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26642if test "x$ac_cv_func__expl" = xyes; then :
26643  cat >>confdefs.h <<_ACEOF
26644#define HAVE__EXPL 1
26645_ACEOF
26646
26647fi
26648done
26649
26650    fi
26651  fi
26652
26653
26654
26655
26656
26657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26658$as_echo_n "checking for fabsl declaration... " >&6; }
26659  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26660    if ${glibcxx_cv_func_fabsl_use+:} false; then :
26661  $as_echo_n "(cached) " >&6
26662else
26663
26664
26665      ac_ext=cpp
26666ac_cpp='$CXXCPP $CPPFLAGS'
26667ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26668ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26669ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26670
26671      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26672/* end confdefs.h.  */
26673#include <math.h>
26674		      #ifdef HAVE_IEEEFP_H
26675		      #include <ieeefp.h>
26676		      #endif
26677
26678int
26679main ()
26680{
26681 fabsl(0);
26682  ;
26683  return 0;
26684}
26685_ACEOF
26686if ac_fn_cxx_try_compile "$LINENO"; then :
26687  glibcxx_cv_func_fabsl_use=yes
26688else
26689  glibcxx_cv_func_fabsl_use=no
26690fi
26691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26692      ac_ext=c
26693ac_cpp='$CPP $CPPFLAGS'
26694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26696ac_compiler_gnu=$ac_cv_c_compiler_gnu
26697
26698
26699fi
26700
26701  fi
26702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26703$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26704
26705  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26706    for ac_func in fabsl
26707do :
26708  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26709if test "x$ac_cv_func_fabsl" = xyes; then :
26710  cat >>confdefs.h <<_ACEOF
26711#define HAVE_FABSL 1
26712_ACEOF
26713
26714fi
26715done
26716
26717  else
26718
26719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26720$as_echo_n "checking for _fabsl declaration... " >&6; }
26721  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26722    if ${glibcxx_cv_func__fabsl_use+:} false; then :
26723  $as_echo_n "(cached) " >&6
26724else
26725
26726
26727      ac_ext=cpp
26728ac_cpp='$CXXCPP $CPPFLAGS'
26729ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26730ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26731ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26732
26733      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26734/* end confdefs.h.  */
26735#include <math.h>
26736		      #ifdef HAVE_IEEEFP_H
26737		      #include <ieeefp.h>
26738		      #endif
26739
26740int
26741main ()
26742{
26743 _fabsl(0);
26744  ;
26745  return 0;
26746}
26747_ACEOF
26748if ac_fn_cxx_try_compile "$LINENO"; then :
26749  glibcxx_cv_func__fabsl_use=yes
26750else
26751  glibcxx_cv_func__fabsl_use=no
26752fi
26753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26754      ac_ext=c
26755ac_cpp='$CPP $CPPFLAGS'
26756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26758ac_compiler_gnu=$ac_cv_c_compiler_gnu
26759
26760
26761fi
26762
26763  fi
26764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26765$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26766
26767    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26768      for ac_func in _fabsl
26769do :
26770  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26771if test "x$ac_cv_func__fabsl" = xyes; then :
26772  cat >>confdefs.h <<_ACEOF
26773#define HAVE__FABSL 1
26774_ACEOF
26775
26776fi
26777done
26778
26779    fi
26780  fi
26781
26782
26783
26784
26785
26786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26787$as_echo_n "checking for fmodl declaration... " >&6; }
26788  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26789    if ${glibcxx_cv_func_fmodl_use+:} false; then :
26790  $as_echo_n "(cached) " >&6
26791else
26792
26793
26794      ac_ext=cpp
26795ac_cpp='$CXXCPP $CPPFLAGS'
26796ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26797ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26798ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26799
26800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26801/* end confdefs.h.  */
26802#include <math.h>
26803int
26804main ()
26805{
26806 fmodl(0, 0);
26807  ;
26808  return 0;
26809}
26810_ACEOF
26811if ac_fn_cxx_try_compile "$LINENO"; then :
26812  glibcxx_cv_func_fmodl_use=yes
26813else
26814  glibcxx_cv_func_fmodl_use=no
26815fi
26816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26817      ac_ext=c
26818ac_cpp='$CPP $CPPFLAGS'
26819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26821ac_compiler_gnu=$ac_cv_c_compiler_gnu
26822
26823
26824fi
26825
26826  fi
26827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26828$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26829
26830  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26831    for ac_func in fmodl
26832do :
26833  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26834if test "x$ac_cv_func_fmodl" = xyes; then :
26835  cat >>confdefs.h <<_ACEOF
26836#define HAVE_FMODL 1
26837_ACEOF
26838
26839fi
26840done
26841
26842  else
26843
26844  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26845$as_echo_n "checking for _fmodl declaration... " >&6; }
26846  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26847    if ${glibcxx_cv_func__fmodl_use+:} false; then :
26848  $as_echo_n "(cached) " >&6
26849else
26850
26851
26852      ac_ext=cpp
26853ac_cpp='$CXXCPP $CPPFLAGS'
26854ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26857
26858      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26859/* end confdefs.h.  */
26860#include <math.h>
26861int
26862main ()
26863{
26864 _fmodl(0, 0);
26865  ;
26866  return 0;
26867}
26868_ACEOF
26869if ac_fn_cxx_try_compile "$LINENO"; then :
26870  glibcxx_cv_func__fmodl_use=yes
26871else
26872  glibcxx_cv_func__fmodl_use=no
26873fi
26874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26875      ac_ext=c
26876ac_cpp='$CPP $CPPFLAGS'
26877ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879ac_compiler_gnu=$ac_cv_c_compiler_gnu
26880
26881
26882fi
26883
26884  fi
26885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26886$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26887
26888    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26889      for ac_func in _fmodl
26890do :
26891  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26892if test "x$ac_cv_func__fmodl" = xyes; then :
26893  cat >>confdefs.h <<_ACEOF
26894#define HAVE__FMODL 1
26895_ACEOF
26896
26897fi
26898done
26899
26900    fi
26901  fi
26902
26903
26904
26905
26906
26907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26908$as_echo_n "checking for frexpl declaration... " >&6; }
26909  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26910    if ${glibcxx_cv_func_frexpl_use+:} false; then :
26911  $as_echo_n "(cached) " >&6
26912else
26913
26914
26915      ac_ext=cpp
26916ac_cpp='$CXXCPP $CPPFLAGS'
26917ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26918ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26919ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26920
26921      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26922/* end confdefs.h.  */
26923#include <math.h>
26924int
26925main ()
26926{
26927 frexpl(0, 0);
26928  ;
26929  return 0;
26930}
26931_ACEOF
26932if ac_fn_cxx_try_compile "$LINENO"; then :
26933  glibcxx_cv_func_frexpl_use=yes
26934else
26935  glibcxx_cv_func_frexpl_use=no
26936fi
26937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26938      ac_ext=c
26939ac_cpp='$CPP $CPPFLAGS'
26940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942ac_compiler_gnu=$ac_cv_c_compiler_gnu
26943
26944
26945fi
26946
26947  fi
26948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26949$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26950
26951  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26952    for ac_func in frexpl
26953do :
26954  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26955if test "x$ac_cv_func_frexpl" = xyes; then :
26956  cat >>confdefs.h <<_ACEOF
26957#define HAVE_FREXPL 1
26958_ACEOF
26959
26960fi
26961done
26962
26963  else
26964
26965  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26966$as_echo_n "checking for _frexpl declaration... " >&6; }
26967  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26968    if ${glibcxx_cv_func__frexpl_use+:} false; then :
26969  $as_echo_n "(cached) " >&6
26970else
26971
26972
26973      ac_ext=cpp
26974ac_cpp='$CXXCPP $CPPFLAGS'
26975ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26976ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26977ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26978
26979      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26980/* end confdefs.h.  */
26981#include <math.h>
26982int
26983main ()
26984{
26985 _frexpl(0, 0);
26986  ;
26987  return 0;
26988}
26989_ACEOF
26990if ac_fn_cxx_try_compile "$LINENO"; then :
26991  glibcxx_cv_func__frexpl_use=yes
26992else
26993  glibcxx_cv_func__frexpl_use=no
26994fi
26995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26996      ac_ext=c
26997ac_cpp='$CPP $CPPFLAGS'
26998ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26999ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27000ac_compiler_gnu=$ac_cv_c_compiler_gnu
27001
27002
27003fi
27004
27005  fi
27006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27007$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27008
27009    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27010      for ac_func in _frexpl
27011do :
27012  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27013if test "x$ac_cv_func__frexpl" = xyes; then :
27014  cat >>confdefs.h <<_ACEOF
27015#define HAVE__FREXPL 1
27016_ACEOF
27017
27018fi
27019done
27020
27021    fi
27022  fi
27023
27024
27025
27026
27027
27028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27029$as_echo_n "checking for hypotl declaration... " >&6; }
27030  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27031    if ${glibcxx_cv_func_hypotl_use+:} false; then :
27032  $as_echo_n "(cached) " >&6
27033else
27034
27035
27036      ac_ext=cpp
27037ac_cpp='$CXXCPP $CPPFLAGS'
27038ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27039ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27040ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27041
27042      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27043/* end confdefs.h.  */
27044#include <math.h>
27045int
27046main ()
27047{
27048 hypotl(0, 0);
27049  ;
27050  return 0;
27051}
27052_ACEOF
27053if ac_fn_cxx_try_compile "$LINENO"; then :
27054  glibcxx_cv_func_hypotl_use=yes
27055else
27056  glibcxx_cv_func_hypotl_use=no
27057fi
27058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27059      ac_ext=c
27060ac_cpp='$CPP $CPPFLAGS'
27061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27063ac_compiler_gnu=$ac_cv_c_compiler_gnu
27064
27065
27066fi
27067
27068  fi
27069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27070$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27071
27072  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27073    for ac_func in hypotl
27074do :
27075  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27076if test "x$ac_cv_func_hypotl" = xyes; then :
27077  cat >>confdefs.h <<_ACEOF
27078#define HAVE_HYPOTL 1
27079_ACEOF
27080
27081fi
27082done
27083
27084  else
27085
27086  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27087$as_echo_n "checking for _hypotl declaration... " >&6; }
27088  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27089    if ${glibcxx_cv_func__hypotl_use+:} false; then :
27090  $as_echo_n "(cached) " >&6
27091else
27092
27093
27094      ac_ext=cpp
27095ac_cpp='$CXXCPP $CPPFLAGS'
27096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27099
27100      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27101/* end confdefs.h.  */
27102#include <math.h>
27103int
27104main ()
27105{
27106 _hypotl(0, 0);
27107  ;
27108  return 0;
27109}
27110_ACEOF
27111if ac_fn_cxx_try_compile "$LINENO"; then :
27112  glibcxx_cv_func__hypotl_use=yes
27113else
27114  glibcxx_cv_func__hypotl_use=no
27115fi
27116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27117      ac_ext=c
27118ac_cpp='$CPP $CPPFLAGS'
27119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27121ac_compiler_gnu=$ac_cv_c_compiler_gnu
27122
27123
27124fi
27125
27126  fi
27127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27128$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27129
27130    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27131      for ac_func in _hypotl
27132do :
27133  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27134if test "x$ac_cv_func__hypotl" = xyes; then :
27135  cat >>confdefs.h <<_ACEOF
27136#define HAVE__HYPOTL 1
27137_ACEOF
27138
27139fi
27140done
27141
27142    fi
27143  fi
27144
27145
27146
27147
27148
27149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27150$as_echo_n "checking for ldexpl declaration... " >&6; }
27151  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27152    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27153  $as_echo_n "(cached) " >&6
27154else
27155
27156
27157      ac_ext=cpp
27158ac_cpp='$CXXCPP $CPPFLAGS'
27159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27162
27163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27164/* end confdefs.h.  */
27165#include <math.h>
27166int
27167main ()
27168{
27169 ldexpl(0, 0);
27170  ;
27171  return 0;
27172}
27173_ACEOF
27174if ac_fn_cxx_try_compile "$LINENO"; then :
27175  glibcxx_cv_func_ldexpl_use=yes
27176else
27177  glibcxx_cv_func_ldexpl_use=no
27178fi
27179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27180      ac_ext=c
27181ac_cpp='$CPP $CPPFLAGS'
27182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27184ac_compiler_gnu=$ac_cv_c_compiler_gnu
27185
27186
27187fi
27188
27189  fi
27190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27191$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27192
27193  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27194    for ac_func in ldexpl
27195do :
27196  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27197if test "x$ac_cv_func_ldexpl" = xyes; then :
27198  cat >>confdefs.h <<_ACEOF
27199#define HAVE_LDEXPL 1
27200_ACEOF
27201
27202fi
27203done
27204
27205  else
27206
27207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27208$as_echo_n "checking for _ldexpl declaration... " >&6; }
27209  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27210    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27211  $as_echo_n "(cached) " >&6
27212else
27213
27214
27215      ac_ext=cpp
27216ac_cpp='$CXXCPP $CPPFLAGS'
27217ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27218ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27219ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27220
27221      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27222/* end confdefs.h.  */
27223#include <math.h>
27224int
27225main ()
27226{
27227 _ldexpl(0, 0);
27228  ;
27229  return 0;
27230}
27231_ACEOF
27232if ac_fn_cxx_try_compile "$LINENO"; then :
27233  glibcxx_cv_func__ldexpl_use=yes
27234else
27235  glibcxx_cv_func__ldexpl_use=no
27236fi
27237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27238      ac_ext=c
27239ac_cpp='$CPP $CPPFLAGS'
27240ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27241ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27242ac_compiler_gnu=$ac_cv_c_compiler_gnu
27243
27244
27245fi
27246
27247  fi
27248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27249$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27250
27251    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27252      for ac_func in _ldexpl
27253do :
27254  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27255if test "x$ac_cv_func__ldexpl" = xyes; then :
27256  cat >>confdefs.h <<_ACEOF
27257#define HAVE__LDEXPL 1
27258_ACEOF
27259
27260fi
27261done
27262
27263    fi
27264  fi
27265
27266
27267
27268
27269
27270  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27271$as_echo_n "checking for logl declaration... " >&6; }
27272  if test x${glibcxx_cv_func_logl_use+set} != xset; then
27273    if ${glibcxx_cv_func_logl_use+:} false; then :
27274  $as_echo_n "(cached) " >&6
27275else
27276
27277
27278      ac_ext=cpp
27279ac_cpp='$CXXCPP $CPPFLAGS'
27280ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27281ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27282ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27283
27284      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27285/* end confdefs.h.  */
27286#include <math.h>
27287		      #ifdef HAVE_IEEEFP_H
27288		      #include <ieeefp.h>
27289		      #endif
27290
27291int
27292main ()
27293{
27294 logl(0);
27295  ;
27296  return 0;
27297}
27298_ACEOF
27299if ac_fn_cxx_try_compile "$LINENO"; then :
27300  glibcxx_cv_func_logl_use=yes
27301else
27302  glibcxx_cv_func_logl_use=no
27303fi
27304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27305      ac_ext=c
27306ac_cpp='$CPP $CPPFLAGS'
27307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27309ac_compiler_gnu=$ac_cv_c_compiler_gnu
27310
27311
27312fi
27313
27314  fi
27315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27316$as_echo "$glibcxx_cv_func_logl_use" >&6; }
27317
27318  if test x$glibcxx_cv_func_logl_use = x"yes"; then
27319    for ac_func in logl
27320do :
27321  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27322if test "x$ac_cv_func_logl" = xyes; then :
27323  cat >>confdefs.h <<_ACEOF
27324#define HAVE_LOGL 1
27325_ACEOF
27326
27327fi
27328done
27329
27330  else
27331
27332  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27333$as_echo_n "checking for _logl declaration... " >&6; }
27334  if test x${glibcxx_cv_func__logl_use+set} != xset; then
27335    if ${glibcxx_cv_func__logl_use+:} false; then :
27336  $as_echo_n "(cached) " >&6
27337else
27338
27339
27340      ac_ext=cpp
27341ac_cpp='$CXXCPP $CPPFLAGS'
27342ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27343ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27344ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27345
27346      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27347/* end confdefs.h.  */
27348#include <math.h>
27349		      #ifdef HAVE_IEEEFP_H
27350		      #include <ieeefp.h>
27351		      #endif
27352
27353int
27354main ()
27355{
27356 _logl(0);
27357  ;
27358  return 0;
27359}
27360_ACEOF
27361if ac_fn_cxx_try_compile "$LINENO"; then :
27362  glibcxx_cv_func__logl_use=yes
27363else
27364  glibcxx_cv_func__logl_use=no
27365fi
27366rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27367      ac_ext=c
27368ac_cpp='$CPP $CPPFLAGS'
27369ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27370ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27371ac_compiler_gnu=$ac_cv_c_compiler_gnu
27372
27373
27374fi
27375
27376  fi
27377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27378$as_echo "$glibcxx_cv_func__logl_use" >&6; }
27379
27380    if test x$glibcxx_cv_func__logl_use = x"yes"; then
27381      for ac_func in _logl
27382do :
27383  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27384if test "x$ac_cv_func__logl" = xyes; then :
27385  cat >>confdefs.h <<_ACEOF
27386#define HAVE__LOGL 1
27387_ACEOF
27388
27389fi
27390done
27391
27392    fi
27393  fi
27394
27395
27396
27397
27398
27399  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27400$as_echo_n "checking for log10l declaration... " >&6; }
27401  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27402    if ${glibcxx_cv_func_log10l_use+:} false; then :
27403  $as_echo_n "(cached) " >&6
27404else
27405
27406
27407      ac_ext=cpp
27408ac_cpp='$CXXCPP $CPPFLAGS'
27409ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27410ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27411ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27412
27413      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27414/* end confdefs.h.  */
27415#include <math.h>
27416		      #ifdef HAVE_IEEEFP_H
27417		      #include <ieeefp.h>
27418		      #endif
27419
27420int
27421main ()
27422{
27423 log10l(0);
27424  ;
27425  return 0;
27426}
27427_ACEOF
27428if ac_fn_cxx_try_compile "$LINENO"; then :
27429  glibcxx_cv_func_log10l_use=yes
27430else
27431  glibcxx_cv_func_log10l_use=no
27432fi
27433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27434      ac_ext=c
27435ac_cpp='$CPP $CPPFLAGS'
27436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27438ac_compiler_gnu=$ac_cv_c_compiler_gnu
27439
27440
27441fi
27442
27443  fi
27444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27445$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27446
27447  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27448    for ac_func in log10l
27449do :
27450  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27451if test "x$ac_cv_func_log10l" = xyes; then :
27452  cat >>confdefs.h <<_ACEOF
27453#define HAVE_LOG10L 1
27454_ACEOF
27455
27456fi
27457done
27458
27459  else
27460
27461  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27462$as_echo_n "checking for _log10l declaration... " >&6; }
27463  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27464    if ${glibcxx_cv_func__log10l_use+:} false; then :
27465  $as_echo_n "(cached) " >&6
27466else
27467
27468
27469      ac_ext=cpp
27470ac_cpp='$CXXCPP $CPPFLAGS'
27471ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27472ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27473ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27474
27475      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27476/* end confdefs.h.  */
27477#include <math.h>
27478		      #ifdef HAVE_IEEEFP_H
27479		      #include <ieeefp.h>
27480		      #endif
27481
27482int
27483main ()
27484{
27485 _log10l(0);
27486  ;
27487  return 0;
27488}
27489_ACEOF
27490if ac_fn_cxx_try_compile "$LINENO"; then :
27491  glibcxx_cv_func__log10l_use=yes
27492else
27493  glibcxx_cv_func__log10l_use=no
27494fi
27495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27496      ac_ext=c
27497ac_cpp='$CPP $CPPFLAGS'
27498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27500ac_compiler_gnu=$ac_cv_c_compiler_gnu
27501
27502
27503fi
27504
27505  fi
27506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27507$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27508
27509    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27510      for ac_func in _log10l
27511do :
27512  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27513if test "x$ac_cv_func__log10l" = xyes; then :
27514  cat >>confdefs.h <<_ACEOF
27515#define HAVE__LOG10L 1
27516_ACEOF
27517
27518fi
27519done
27520
27521    fi
27522  fi
27523
27524
27525
27526
27527
27528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27529$as_echo_n "checking for modfl declaration... " >&6; }
27530  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27531    if ${glibcxx_cv_func_modfl_use+:} false; then :
27532  $as_echo_n "(cached) " >&6
27533else
27534
27535
27536      ac_ext=cpp
27537ac_cpp='$CXXCPP $CPPFLAGS'
27538ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27539ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27540ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27541
27542      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27543/* end confdefs.h.  */
27544#include <math.h>
27545int
27546main ()
27547{
27548 modfl(0, 0);
27549  ;
27550  return 0;
27551}
27552_ACEOF
27553if ac_fn_cxx_try_compile "$LINENO"; then :
27554  glibcxx_cv_func_modfl_use=yes
27555else
27556  glibcxx_cv_func_modfl_use=no
27557fi
27558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27559      ac_ext=c
27560ac_cpp='$CPP $CPPFLAGS'
27561ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27562ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27563ac_compiler_gnu=$ac_cv_c_compiler_gnu
27564
27565
27566fi
27567
27568  fi
27569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27570$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27571
27572  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27573    for ac_func in modfl
27574do :
27575  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27576if test "x$ac_cv_func_modfl" = xyes; then :
27577  cat >>confdefs.h <<_ACEOF
27578#define HAVE_MODFL 1
27579_ACEOF
27580
27581fi
27582done
27583
27584  else
27585
27586  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27587$as_echo_n "checking for _modfl declaration... " >&6; }
27588  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27589    if ${glibcxx_cv_func__modfl_use+:} false; then :
27590  $as_echo_n "(cached) " >&6
27591else
27592
27593
27594      ac_ext=cpp
27595ac_cpp='$CXXCPP $CPPFLAGS'
27596ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27597ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27598ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27599
27600      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27601/* end confdefs.h.  */
27602#include <math.h>
27603int
27604main ()
27605{
27606 _modfl(0, 0);
27607  ;
27608  return 0;
27609}
27610_ACEOF
27611if ac_fn_cxx_try_compile "$LINENO"; then :
27612  glibcxx_cv_func__modfl_use=yes
27613else
27614  glibcxx_cv_func__modfl_use=no
27615fi
27616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27617      ac_ext=c
27618ac_cpp='$CPP $CPPFLAGS'
27619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27621ac_compiler_gnu=$ac_cv_c_compiler_gnu
27622
27623
27624fi
27625
27626  fi
27627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27628$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27629
27630    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27631      for ac_func in _modfl
27632do :
27633  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27634if test "x$ac_cv_func__modfl" = xyes; then :
27635  cat >>confdefs.h <<_ACEOF
27636#define HAVE__MODFL 1
27637_ACEOF
27638
27639fi
27640done
27641
27642    fi
27643  fi
27644
27645
27646
27647
27648
27649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27650$as_echo_n "checking for powl declaration... " >&6; }
27651  if test x${glibcxx_cv_func_powl_use+set} != xset; then
27652    if ${glibcxx_cv_func_powl_use+:} false; then :
27653  $as_echo_n "(cached) " >&6
27654else
27655
27656
27657      ac_ext=cpp
27658ac_cpp='$CXXCPP $CPPFLAGS'
27659ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27662
27663      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27664/* end confdefs.h.  */
27665#include <math.h>
27666int
27667main ()
27668{
27669 powl(0, 0);
27670  ;
27671  return 0;
27672}
27673_ACEOF
27674if ac_fn_cxx_try_compile "$LINENO"; then :
27675  glibcxx_cv_func_powl_use=yes
27676else
27677  glibcxx_cv_func_powl_use=no
27678fi
27679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27680      ac_ext=c
27681ac_cpp='$CPP $CPPFLAGS'
27682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27684ac_compiler_gnu=$ac_cv_c_compiler_gnu
27685
27686
27687fi
27688
27689  fi
27690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27691$as_echo "$glibcxx_cv_func_powl_use" >&6; }
27692
27693  if test x$glibcxx_cv_func_powl_use = x"yes"; then
27694    for ac_func in powl
27695do :
27696  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27697if test "x$ac_cv_func_powl" = xyes; then :
27698  cat >>confdefs.h <<_ACEOF
27699#define HAVE_POWL 1
27700_ACEOF
27701
27702fi
27703done
27704
27705  else
27706
27707  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27708$as_echo_n "checking for _powl declaration... " >&6; }
27709  if test x${glibcxx_cv_func__powl_use+set} != xset; then
27710    if ${glibcxx_cv_func__powl_use+:} false; then :
27711  $as_echo_n "(cached) " >&6
27712else
27713
27714
27715      ac_ext=cpp
27716ac_cpp='$CXXCPP $CPPFLAGS'
27717ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27720
27721      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27722/* end confdefs.h.  */
27723#include <math.h>
27724int
27725main ()
27726{
27727 _powl(0, 0);
27728  ;
27729  return 0;
27730}
27731_ACEOF
27732if ac_fn_cxx_try_compile "$LINENO"; then :
27733  glibcxx_cv_func__powl_use=yes
27734else
27735  glibcxx_cv_func__powl_use=no
27736fi
27737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27738      ac_ext=c
27739ac_cpp='$CPP $CPPFLAGS'
27740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27742ac_compiler_gnu=$ac_cv_c_compiler_gnu
27743
27744
27745fi
27746
27747  fi
27748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27749$as_echo "$glibcxx_cv_func__powl_use" >&6; }
27750
27751    if test x$glibcxx_cv_func__powl_use = x"yes"; then
27752      for ac_func in _powl
27753do :
27754  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27755if test "x$ac_cv_func__powl" = xyes; then :
27756  cat >>confdefs.h <<_ACEOF
27757#define HAVE__POWL 1
27758_ACEOF
27759
27760fi
27761done
27762
27763    fi
27764  fi
27765
27766
27767
27768
27769
27770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27771$as_echo_n "checking for sqrtl declaration... " >&6; }
27772  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27773    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27774  $as_echo_n "(cached) " >&6
27775else
27776
27777
27778      ac_ext=cpp
27779ac_cpp='$CXXCPP $CPPFLAGS'
27780ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27781ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27782ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27783
27784      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27785/* end confdefs.h.  */
27786#include <math.h>
27787		      #ifdef HAVE_IEEEFP_H
27788		      #include <ieeefp.h>
27789		      #endif
27790
27791int
27792main ()
27793{
27794 sqrtl(0);
27795  ;
27796  return 0;
27797}
27798_ACEOF
27799if ac_fn_cxx_try_compile "$LINENO"; then :
27800  glibcxx_cv_func_sqrtl_use=yes
27801else
27802  glibcxx_cv_func_sqrtl_use=no
27803fi
27804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27805      ac_ext=c
27806ac_cpp='$CPP $CPPFLAGS'
27807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27809ac_compiler_gnu=$ac_cv_c_compiler_gnu
27810
27811
27812fi
27813
27814  fi
27815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27816$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27817
27818  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27819    for ac_func in sqrtl
27820do :
27821  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27822if test "x$ac_cv_func_sqrtl" = xyes; then :
27823  cat >>confdefs.h <<_ACEOF
27824#define HAVE_SQRTL 1
27825_ACEOF
27826
27827fi
27828done
27829
27830  else
27831
27832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27833$as_echo_n "checking for _sqrtl declaration... " >&6; }
27834  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27835    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27836  $as_echo_n "(cached) " >&6
27837else
27838
27839
27840      ac_ext=cpp
27841ac_cpp='$CXXCPP $CPPFLAGS'
27842ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27843ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27844ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27845
27846      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27847/* end confdefs.h.  */
27848#include <math.h>
27849		      #ifdef HAVE_IEEEFP_H
27850		      #include <ieeefp.h>
27851		      #endif
27852
27853int
27854main ()
27855{
27856 _sqrtl(0);
27857  ;
27858  return 0;
27859}
27860_ACEOF
27861if ac_fn_cxx_try_compile "$LINENO"; then :
27862  glibcxx_cv_func__sqrtl_use=yes
27863else
27864  glibcxx_cv_func__sqrtl_use=no
27865fi
27866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27867      ac_ext=c
27868ac_cpp='$CPP $CPPFLAGS'
27869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27871ac_compiler_gnu=$ac_cv_c_compiler_gnu
27872
27873
27874fi
27875
27876  fi
27877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27878$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27879
27880    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27881      for ac_func in _sqrtl
27882do :
27883  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27884if test "x$ac_cv_func__sqrtl" = xyes; then :
27885  cat >>confdefs.h <<_ACEOF
27886#define HAVE__SQRTL 1
27887_ACEOF
27888
27889fi
27890done
27891
27892    fi
27893  fi
27894
27895
27896
27897
27898
27899  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27900$as_echo_n "checking for sincosl declaration... " >&6; }
27901  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27902    if ${glibcxx_cv_func_sincosl_use+:} false; then :
27903  $as_echo_n "(cached) " >&6
27904else
27905
27906
27907      ac_ext=cpp
27908ac_cpp='$CXXCPP $CPPFLAGS'
27909ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27910ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27911ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27912
27913      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27914/* end confdefs.h.  */
27915#include <math.h>
27916int
27917main ()
27918{
27919 sincosl(0, 0, 0);
27920  ;
27921  return 0;
27922}
27923_ACEOF
27924if ac_fn_cxx_try_compile "$LINENO"; then :
27925  glibcxx_cv_func_sincosl_use=yes
27926else
27927  glibcxx_cv_func_sincosl_use=no
27928fi
27929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27930      ac_ext=c
27931ac_cpp='$CPP $CPPFLAGS'
27932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27933ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27934ac_compiler_gnu=$ac_cv_c_compiler_gnu
27935
27936
27937fi
27938
27939  fi
27940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27941$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27942
27943  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27944    for ac_func in sincosl
27945do :
27946  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27947if test "x$ac_cv_func_sincosl" = xyes; then :
27948  cat >>confdefs.h <<_ACEOF
27949#define HAVE_SINCOSL 1
27950_ACEOF
27951
27952fi
27953done
27954
27955  else
27956
27957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27958$as_echo_n "checking for _sincosl declaration... " >&6; }
27959  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27960    if ${glibcxx_cv_func__sincosl_use+:} false; then :
27961  $as_echo_n "(cached) " >&6
27962else
27963
27964
27965      ac_ext=cpp
27966ac_cpp='$CXXCPP $CPPFLAGS'
27967ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27968ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27969ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27970
27971      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27972/* end confdefs.h.  */
27973#include <math.h>
27974int
27975main ()
27976{
27977 _sincosl(0, 0, 0);
27978  ;
27979  return 0;
27980}
27981_ACEOF
27982if ac_fn_cxx_try_compile "$LINENO"; then :
27983  glibcxx_cv_func__sincosl_use=yes
27984else
27985  glibcxx_cv_func__sincosl_use=no
27986fi
27987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27988      ac_ext=c
27989ac_cpp='$CPP $CPPFLAGS'
27990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27992ac_compiler_gnu=$ac_cv_c_compiler_gnu
27993
27994
27995fi
27996
27997  fi
27998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27999$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28000
28001    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28002      for ac_func in _sincosl
28003do :
28004  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28005if test "x$ac_cv_func__sincosl" = xyes; then :
28006  cat >>confdefs.h <<_ACEOF
28007#define HAVE__SINCOSL 1
28008_ACEOF
28009
28010fi
28011done
28012
28013    fi
28014  fi
28015
28016
28017
28018
28019
28020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28021$as_echo_n "checking for finitel declaration... " >&6; }
28022  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28023    if ${glibcxx_cv_func_finitel_use+:} false; then :
28024  $as_echo_n "(cached) " >&6
28025else
28026
28027
28028      ac_ext=cpp
28029ac_cpp='$CXXCPP $CPPFLAGS'
28030ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28031ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28032ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28033
28034      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28035/* end confdefs.h.  */
28036#include <math.h>
28037		      #ifdef HAVE_IEEEFP_H
28038		      #include <ieeefp.h>
28039		      #endif
28040
28041int
28042main ()
28043{
28044 finitel(0);
28045  ;
28046  return 0;
28047}
28048_ACEOF
28049if ac_fn_cxx_try_compile "$LINENO"; then :
28050  glibcxx_cv_func_finitel_use=yes
28051else
28052  glibcxx_cv_func_finitel_use=no
28053fi
28054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28055      ac_ext=c
28056ac_cpp='$CPP $CPPFLAGS'
28057ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28058ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28059ac_compiler_gnu=$ac_cv_c_compiler_gnu
28060
28061
28062fi
28063
28064  fi
28065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28066$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28067
28068  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28069    for ac_func in finitel
28070do :
28071  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28072if test "x$ac_cv_func_finitel" = xyes; then :
28073  cat >>confdefs.h <<_ACEOF
28074#define HAVE_FINITEL 1
28075_ACEOF
28076
28077fi
28078done
28079
28080  else
28081
28082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28083$as_echo_n "checking for _finitel declaration... " >&6; }
28084  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28085    if ${glibcxx_cv_func__finitel_use+:} false; then :
28086  $as_echo_n "(cached) " >&6
28087else
28088
28089
28090      ac_ext=cpp
28091ac_cpp='$CXXCPP $CPPFLAGS'
28092ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28093ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28094ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28095
28096      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28097/* end confdefs.h.  */
28098#include <math.h>
28099		      #ifdef HAVE_IEEEFP_H
28100		      #include <ieeefp.h>
28101		      #endif
28102
28103int
28104main ()
28105{
28106 _finitel(0);
28107  ;
28108  return 0;
28109}
28110_ACEOF
28111if ac_fn_cxx_try_compile "$LINENO"; then :
28112  glibcxx_cv_func__finitel_use=yes
28113else
28114  glibcxx_cv_func__finitel_use=no
28115fi
28116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28117      ac_ext=c
28118ac_cpp='$CPP $CPPFLAGS'
28119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28121ac_compiler_gnu=$ac_cv_c_compiler_gnu
28122
28123
28124fi
28125
28126  fi
28127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28128$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28129
28130    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28131      for ac_func in _finitel
28132do :
28133  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28134if test "x$ac_cv_func__finitel" = xyes; then :
28135  cat >>confdefs.h <<_ACEOF
28136#define HAVE__FINITEL 1
28137_ACEOF
28138
28139fi
28140done
28141
28142    fi
28143  fi
28144
28145
28146
28147
28148  LIBS="$ac_save_LIBS"
28149  CXXFLAGS="$ac_save_CXXFLAGS"
28150
28151
28152  ac_test_CXXFLAGS="${CXXFLAGS+set}"
28153  ac_save_CXXFLAGS="$CXXFLAGS"
28154  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28155
28156
28157  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28158$as_echo_n "checking for at_quick_exit declaration... " >&6; }
28159  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28160    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28161  $as_echo_n "(cached) " >&6
28162else
28163
28164
28165      ac_ext=cpp
28166ac_cpp='$CXXCPP $CPPFLAGS'
28167ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28168ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28169ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28170
28171      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28172/* end confdefs.h.  */
28173#include <stdlib.h>
28174int
28175main ()
28176{
28177 at_quick_exit(0);
28178  ;
28179  return 0;
28180}
28181_ACEOF
28182if ac_fn_cxx_try_compile "$LINENO"; then :
28183  glibcxx_cv_func_at_quick_exit_use=yes
28184else
28185  glibcxx_cv_func_at_quick_exit_use=no
28186fi
28187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28188      ac_ext=c
28189ac_cpp='$CPP $CPPFLAGS'
28190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28192ac_compiler_gnu=$ac_cv_c_compiler_gnu
28193
28194
28195fi
28196
28197  fi
28198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28199$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28200  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28201    for ac_func in at_quick_exit
28202do :
28203  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28204if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28205  cat >>confdefs.h <<_ACEOF
28206#define HAVE_AT_QUICK_EXIT 1
28207_ACEOF
28208
28209fi
28210done
28211
28212  fi
28213
28214
28215  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28216$as_echo_n "checking for quick_exit declaration... " >&6; }
28217  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28218    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28219  $as_echo_n "(cached) " >&6
28220else
28221
28222
28223      ac_ext=cpp
28224ac_cpp='$CXXCPP $CPPFLAGS'
28225ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28226ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28227ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28228
28229      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28230/* end confdefs.h.  */
28231#include <stdlib.h>
28232int
28233main ()
28234{
28235 quick_exit(0);
28236  ;
28237  return 0;
28238}
28239_ACEOF
28240if ac_fn_cxx_try_compile "$LINENO"; then :
28241  glibcxx_cv_func_quick_exit_use=yes
28242else
28243  glibcxx_cv_func_quick_exit_use=no
28244fi
28245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28246      ac_ext=c
28247ac_cpp='$CPP $CPPFLAGS'
28248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28250ac_compiler_gnu=$ac_cv_c_compiler_gnu
28251
28252
28253fi
28254
28255  fi
28256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28257$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28258  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28259    for ac_func in quick_exit
28260do :
28261  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28262if test "x$ac_cv_func_quick_exit" = xyes; then :
28263  cat >>confdefs.h <<_ACEOF
28264#define HAVE_QUICK_EXIT 1
28265_ACEOF
28266
28267fi
28268done
28269
28270  fi
28271
28272
28273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28274$as_echo_n "checking for strtold declaration... " >&6; }
28275  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28276    if ${glibcxx_cv_func_strtold_use+:} false; then :
28277  $as_echo_n "(cached) " >&6
28278else
28279
28280
28281      ac_ext=cpp
28282ac_cpp='$CXXCPP $CPPFLAGS'
28283ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28284ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28285ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28286
28287      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28288/* end confdefs.h.  */
28289#include <stdlib.h>
28290int
28291main ()
28292{
28293 strtold(0, 0);
28294  ;
28295  return 0;
28296}
28297_ACEOF
28298if ac_fn_cxx_try_compile "$LINENO"; then :
28299  glibcxx_cv_func_strtold_use=yes
28300else
28301  glibcxx_cv_func_strtold_use=no
28302fi
28303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28304      ac_ext=c
28305ac_cpp='$CPP $CPPFLAGS'
28306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28308ac_compiler_gnu=$ac_cv_c_compiler_gnu
28309
28310
28311fi
28312
28313  fi
28314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28315$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28316  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28317    for ac_func in strtold
28318do :
28319  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28320if test "x$ac_cv_func_strtold" = xyes; then :
28321  cat >>confdefs.h <<_ACEOF
28322#define HAVE_STRTOLD 1
28323_ACEOF
28324
28325fi
28326done
28327
28328  fi
28329
28330
28331
28332
28333  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28334$as_echo_n "checking for strtof declaration... " >&6; }
28335  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28336    if ${glibcxx_cv_func_strtof_use+:} false; then :
28337  $as_echo_n "(cached) " >&6
28338else
28339
28340
28341      ac_ext=cpp
28342ac_cpp='$CXXCPP $CPPFLAGS'
28343ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28344ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28345ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28346
28347      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28348/* end confdefs.h.  */
28349#include <stdlib.h>
28350int
28351main ()
28352{
28353 strtof(0, 0);
28354  ;
28355  return 0;
28356}
28357_ACEOF
28358if ac_fn_cxx_try_compile "$LINENO"; then :
28359  glibcxx_cv_func_strtof_use=yes
28360else
28361  glibcxx_cv_func_strtof_use=no
28362fi
28363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28364      ac_ext=c
28365ac_cpp='$CPP $CPPFLAGS'
28366ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28367ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28368ac_compiler_gnu=$ac_cv_c_compiler_gnu
28369
28370
28371fi
28372
28373  fi
28374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28375$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28376  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28377    for ac_func in strtof
28378do :
28379  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28380if test "x$ac_cv_func_strtof" = xyes; then :
28381  cat >>confdefs.h <<_ACEOF
28382#define HAVE_STRTOF 1
28383_ACEOF
28384
28385fi
28386done
28387
28388  fi
28389
28390
28391
28392
28393  CXXFLAGS="$ac_save_CXXFLAGS"
28394
28395
28396  # For /dev/random and /dev/urandom for std::random_device.
28397
28398
28399  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28400$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28401  if ${glibcxx_cv_dev_random+:} false; then :
28402  $as_echo_n "(cached) " >&6
28403else
28404
28405    if test -r /dev/random && test -r /dev/urandom; then
28406  ## For MSys environment the test above is detected as false-positive
28407  ## on mingw-targets.  So disable it explicitly for them.
28408      case ${target_os} in
28409	*mingw*) glibcxx_cv_dev_random=no ;;
28410	*) glibcxx_cv_dev_random=yes ;;
28411      esac
28412    else
28413      glibcxx_cv_dev_random=no;
28414    fi
28415
28416fi
28417
28418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28419$as_echo "$glibcxx_cv_dev_random" >&6; }
28420
28421  if test x"$glibcxx_cv_dev_random" = x"yes"; then
28422
28423$as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28424
28425
28426$as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28427
28428  fi
28429
28430
28431
28432  # For TLS support.
28433
28434
28435   # Check whether --enable-tls was given.
28436if test "${enable_tls+set}" = set; then :
28437  enableval=$enable_tls;
28438      case "$enableval" in
28439       yes|no) ;;
28440       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28441      esac
28442
28443else
28444  enable_tls=yes
28445fi
28446
28447
28448  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28449$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28450if ${gcc_cv_have_tls+:} false; then :
28451  $as_echo_n "(cached) " >&6
28452else
28453
28454    if test "$cross_compiling" = yes; then :
28455                if test x$gcc_no_link = xyes; then
28456  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28457fi
28458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28459/* end confdefs.h.  */
28460__thread int a; int b; int main() { return a = b; }
28461_ACEOF
28462if ac_fn_c_try_link "$LINENO"; then :
28463  chktls_save_LDFLAGS="$LDFLAGS"
28464	  	  	  case $host in
28465	    *-*-linux*)
28466	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28467	      ;;
28468	  esac
28469	  chktls_save_CFLAGS="$CFLAGS"
28470	  CFLAGS="-fPIC $CFLAGS"
28471	  	  if test x$gcc_no_link = xyes; then
28472  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28473fi
28474cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28475/* end confdefs.h.  */
28476int f() { return 0; }
28477_ACEOF
28478if ac_fn_c_try_link "$LINENO"; then :
28479  if test x$gcc_no_link = xyes; then
28480  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28481fi
28482cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28483/* end confdefs.h.  */
28484__thread int a; int b; int f() { return a = b; }
28485_ACEOF
28486if ac_fn_c_try_link "$LINENO"; then :
28487  gcc_cv_have_tls=yes
28488else
28489  gcc_cv_have_tls=no
28490fi
28491rm -f core conftest.err conftest.$ac_objext \
28492    conftest$ac_exeext conftest.$ac_ext
28493else
28494  gcc_cv_have_tls=yes
28495fi
28496rm -f core conftest.err conftest.$ac_objext \
28497    conftest$ac_exeext conftest.$ac_ext
28498	  CFLAGS="$chktls_save_CFLAGS"
28499	  LDFLAGS="$chktls_save_LDFLAGS"
28500else
28501  gcc_cv_have_tls=no
28502fi
28503rm -f core conftest.err conftest.$ac_objext \
28504    conftest$ac_exeext conftest.$ac_ext
28505
28506
28507else
28508  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28509/* end confdefs.h.  */
28510__thread int a; int b; int main() { return a = b; }
28511_ACEOF
28512if ac_fn_c_try_run "$LINENO"; then :
28513                      chktls_save_LDFLAGS="$LDFLAGS"
28514      LDFLAGS="-static $LDFLAGS"
28515      if test x$gcc_no_link = xyes; then
28516  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28517fi
28518cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28519/* end confdefs.h.  */
28520int main() { return 0; }
28521_ACEOF
28522if ac_fn_c_try_link "$LINENO"; then :
28523  if test "$cross_compiling" = yes; then :
28524  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28525$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28526as_fn_error $? "cannot run test program while cross compiling
28527See \`config.log' for more details" "$LINENO" 5; }
28528else
28529  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28530/* end confdefs.h.  */
28531__thread int a; int b; int main() { return a = b; }
28532_ACEOF
28533if ac_fn_c_try_run "$LINENO"; then :
28534  gcc_cv_have_tls=yes
28535else
28536  gcc_cv_have_tls=no
28537fi
28538rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28539  conftest.$ac_objext conftest.beam conftest.$ac_ext
28540fi
28541
28542else
28543  gcc_cv_have_tls=yes
28544fi
28545rm -f core conftest.err conftest.$ac_objext \
28546    conftest$ac_exeext conftest.$ac_ext
28547      LDFLAGS="$chktls_save_LDFLAGS"
28548      if test $gcc_cv_have_tls = yes; then
28549						chktls_save_CFLAGS="$CFLAGS"
28550	thread_CFLAGS=failed
28551	for flag in '' '-pthread' '-lpthread'; do
28552	  CFLAGS="$flag $chktls_save_CFLAGS"
28553	  if test x$gcc_no_link = xyes; then
28554  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28555fi
28556cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28557/* end confdefs.h.  */
28558#include <pthread.h>
28559		void *g(void *d) { return NULL; }
28560int
28561main ()
28562{
28563pthread_t t; pthread_create(&t,NULL,g,NULL);
28564  ;
28565  return 0;
28566}
28567_ACEOF
28568if ac_fn_c_try_link "$LINENO"; then :
28569  thread_CFLAGS="$flag"
28570fi
28571rm -f core conftest.err conftest.$ac_objext \
28572    conftest$ac_exeext conftest.$ac_ext
28573	  if test "X$thread_CFLAGS" != Xfailed; then
28574	    break
28575	  fi
28576	done
28577	CFLAGS="$chktls_save_CFLAGS"
28578	if test "X$thread_CFLAGS" != Xfailed; then
28579	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28580 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
28581  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28582$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28583as_fn_error $? "cannot run test program while cross compiling
28584See \`config.log' for more details" "$LINENO" 5; }
28585else
28586  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28587/* end confdefs.h.  */
28588#include <pthread.h>
28589		__thread int a;
28590		static int *volatile a_in_other_thread;
28591		static void *
28592		thread_func (void *arg)
28593		{
28594		  a_in_other_thread = &a;
28595		  return (void *)0;
28596		}
28597int
28598main ()
28599{
28600pthread_t thread;
28601		void *thread_retval;
28602		int *volatile a_in_main_thread;
28603		a_in_main_thread = &a;
28604		if (pthread_create (&thread, (pthread_attr_t *)0,
28605				    thread_func, (void *)0))
28606		  return 0;
28607		if (pthread_join (thread, &thread_retval))
28608		  return 0;
28609		return (a_in_other_thread == a_in_main_thread);
28610  ;
28611  return 0;
28612}
28613_ACEOF
28614if ac_fn_c_try_run "$LINENO"; then :
28615  gcc_cv_have_tls=yes
28616else
28617  gcc_cv_have_tls=no
28618fi
28619rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28620  conftest.$ac_objext conftest.beam conftest.$ac_ext
28621fi
28622
28623	  CFLAGS="$chktls_save_CFLAGS"
28624	fi
28625      fi
28626else
28627  gcc_cv_have_tls=no
28628fi
28629rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28630  conftest.$ac_objext conftest.beam conftest.$ac_ext
28631fi
28632
28633fi
28634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28635$as_echo "$gcc_cv_have_tls" >&6; }
28636  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28637
28638$as_echo "#define HAVE_TLS 1" >>confdefs.h
28639
28640  fi
28641
28642  for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28643do :
28644  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28645ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28646if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28647  cat >>confdefs.h <<_ACEOF
28648#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28649_ACEOF
28650
28651fi
28652done
28653
28654  for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28655do :
28656  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28657ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28658if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28659  cat >>confdefs.h <<_ACEOF
28660#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28661_ACEOF
28662
28663fi
28664done
28665
28666  for ac_func in _wfopen
28667do :
28668  ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28669if test "x$ac_cv_func__wfopen" = xyes; then :
28670  cat >>confdefs.h <<_ACEOF
28671#define HAVE__WFOPEN 1
28672_ACEOF
28673
28674fi
28675done
28676
28677
28678  # C11 functions for C++17 library
28679  for ac_func in timespec_get
28680do :
28681  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28682if test "x$ac_cv_func_timespec_get" = xyes; then :
28683  cat >>confdefs.h <<_ACEOF
28684#define HAVE_TIMESPEC_GET 1
28685_ACEOF
28686
28687fi
28688done
28689
28690
28691  # For Networking TS.
28692  for ac_func in sockatmark
28693do :
28694  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28695if test "x$ac_cv_func_sockatmark" = xyes; then :
28696  cat >>confdefs.h <<_ACEOF
28697#define HAVE_SOCKATMARK 1
28698_ACEOF
28699
28700fi
28701done
28702
28703
28704  # For iconv support.
28705
28706      if test "X$prefix" = "XNONE"; then
28707    acl_final_prefix="$ac_default_prefix"
28708  else
28709    acl_final_prefix="$prefix"
28710  fi
28711  if test "X$exec_prefix" = "XNONE"; then
28712    acl_final_exec_prefix='${prefix}'
28713  else
28714    acl_final_exec_prefix="$exec_prefix"
28715  fi
28716  acl_save_prefix="$prefix"
28717  prefix="$acl_final_prefix"
28718  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28719  prefix="$acl_save_prefix"
28720
28721
28722# Check whether --with-gnu-ld was given.
28723if test "${with_gnu_ld+set}" = set; then :
28724  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28725else
28726  with_gnu_ld=no
28727fi
28728
28729# Prepare PATH_SEPARATOR.
28730# The user is always right.
28731if test "${PATH_SEPARATOR+set}" != set; then
28732  echo "#! /bin/sh" >conf$$.sh
28733  echo  "exit 0"   >>conf$$.sh
28734  chmod +x conf$$.sh
28735  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28736    PATH_SEPARATOR=';'
28737  else
28738    PATH_SEPARATOR=:
28739  fi
28740  rm -f conf$$.sh
28741fi
28742ac_prog=ld
28743if test "$GCC" = yes; then
28744  # Check if gcc -print-prog-name=ld gives a path.
28745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28746$as_echo_n "checking for ld used by GCC... " >&6; }
28747  case $host in
28748  *-*-mingw*)
28749    # gcc leaves a trailing carriage return which upsets mingw
28750    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28751  *)
28752    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28753  esac
28754  case $ac_prog in
28755    # Accept absolute paths.
28756    [\\/]* | [A-Za-z]:[\\/]*)
28757      re_direlt='/[^/][^/]*/\.\./'
28758      # Canonicalize the path of ld
28759      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28760      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28761	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28762      done
28763      test -z "$LD" && LD="$ac_prog"
28764      ;;
28765  "")
28766    # If it fails, then pretend we aren't using GCC.
28767    ac_prog=ld
28768    ;;
28769  *)
28770    # If it is relative, then search for the first ld in PATH.
28771    with_gnu_ld=unknown
28772    ;;
28773  esac
28774elif test "$with_gnu_ld" = yes; then
28775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28776$as_echo_n "checking for GNU ld... " >&6; }
28777else
28778  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28779$as_echo_n "checking for non-GNU ld... " >&6; }
28780fi
28781if ${acl_cv_path_LD+:} false; then :
28782  $as_echo_n "(cached) " >&6
28783else
28784  if test -z "$LD"; then
28785  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28786  for ac_dir in $PATH; do
28787    test -z "$ac_dir" && ac_dir=.
28788    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28789      acl_cv_path_LD="$ac_dir/$ac_prog"
28790      # Check to see if the program is GNU ld.  I'd rather use --version,
28791      # but apparently some GNU ld's only accept -v.
28792      # Break only if it was the GNU/non-GNU ld that we prefer.
28793      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28794	test "$with_gnu_ld" != no && break
28795      else
28796	test "$with_gnu_ld" != yes && break
28797      fi
28798    fi
28799  done
28800  IFS="$ac_save_ifs"
28801else
28802  acl_cv_path_LD="$LD" # Let the user override the test with a path.
28803fi
28804fi
28805
28806LD="$acl_cv_path_LD"
28807if test -n "$LD"; then
28808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28809$as_echo "$LD" >&6; }
28810else
28811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28812$as_echo "no" >&6; }
28813fi
28814test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28816$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28817if ${acl_cv_prog_gnu_ld+:} false; then :
28818  $as_echo_n "(cached) " >&6
28819else
28820  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28821if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28822  acl_cv_prog_gnu_ld=yes
28823else
28824  acl_cv_prog_gnu_ld=no
28825fi
28826fi
28827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28828$as_echo "$acl_cv_prog_gnu_ld" >&6; }
28829with_gnu_ld=$acl_cv_prog_gnu_ld
28830
28831
28832
28833                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28834$as_echo_n "checking for shared library run path origin... " >&6; }
28835if ${acl_cv_rpath+:} false; then :
28836  $as_echo_n "(cached) " >&6
28837else
28838
28839    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28840    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28841    . ./conftest.sh
28842    rm -f ./conftest.sh
28843    acl_cv_rpath=done
28844
28845fi
28846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28847$as_echo "$acl_cv_rpath" >&6; }
28848  wl="$acl_cv_wl"
28849  libext="$acl_cv_libext"
28850  shlibext="$acl_cv_shlibext"
28851  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28852  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28853  hardcode_direct="$acl_cv_hardcode_direct"
28854  hardcode_minus_L="$acl_cv_hardcode_minus_L"
28855    # Check whether --enable-rpath was given.
28856if test "${enable_rpath+set}" = set; then :
28857  enableval=$enable_rpath; :
28858else
28859  enable_rpath=yes
28860fi
28861
28862
28863
28864
28865
28866
28867
28868
28869    use_additional=yes
28870
28871  acl_save_prefix="$prefix"
28872  prefix="$acl_final_prefix"
28873  acl_save_exec_prefix="$exec_prefix"
28874  exec_prefix="$acl_final_exec_prefix"
28875
28876    eval additional_includedir=\"$includedir\"
28877    eval additional_libdir=\"$libdir\"
28878
28879  exec_prefix="$acl_save_exec_prefix"
28880  prefix="$acl_save_prefix"
28881
28882
28883# Check whether --with-libiconv-prefix was given.
28884if test "${with_libiconv_prefix+set}" = set; then :
28885  withval=$with_libiconv_prefix;
28886    if test "X$withval" = "Xno"; then
28887      use_additional=no
28888    else
28889      if test "X$withval" = "X"; then
28890
28891  acl_save_prefix="$prefix"
28892  prefix="$acl_final_prefix"
28893  acl_save_exec_prefix="$exec_prefix"
28894  exec_prefix="$acl_final_exec_prefix"
28895
28896          eval additional_includedir=\"$includedir\"
28897          eval additional_libdir=\"$libdir\"
28898
28899  exec_prefix="$acl_save_exec_prefix"
28900  prefix="$acl_save_prefix"
28901
28902      else
28903        additional_includedir="$withval/include"
28904        additional_libdir="$withval/lib"
28905      fi
28906    fi
28907
28908fi
28909
28910      LIBICONV=
28911  LTLIBICONV=
28912  INCICONV=
28913  rpathdirs=
28914  ltrpathdirs=
28915  names_already_handled=
28916  names_next_round='iconv '
28917  while test -n "$names_next_round"; do
28918    names_this_round="$names_next_round"
28919    names_next_round=
28920    for name in $names_this_round; do
28921      already_handled=
28922      for n in $names_already_handled; do
28923        if test "$n" = "$name"; then
28924          already_handled=yes
28925          break
28926        fi
28927      done
28928      if test -z "$already_handled"; then
28929        names_already_handled="$names_already_handled $name"
28930                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28931        eval value=\"\$HAVE_LIB$uppername\"
28932        if test -n "$value"; then
28933          if test "$value" = yes; then
28934            eval value=\"\$LIB$uppername\"
28935            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28936            eval value=\"\$LTLIB$uppername\"
28937            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28938          else
28939                                    :
28940          fi
28941        else
28942                              found_dir=
28943          found_la=
28944          found_so=
28945          found_a=
28946          if test $use_additional = yes; then
28947            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28948              found_dir="$additional_libdir"
28949              found_so="$additional_libdir/lib$name.$shlibext"
28950              if test -f "$additional_libdir/lib$name.la"; then
28951                found_la="$additional_libdir/lib$name.la"
28952              fi
28953            else
28954              if test -f "$additional_libdir/lib$name.$libext"; then
28955                found_dir="$additional_libdir"
28956                found_a="$additional_libdir/lib$name.$libext"
28957                if test -f "$additional_libdir/lib$name.la"; then
28958                  found_la="$additional_libdir/lib$name.la"
28959                fi
28960              fi
28961            fi
28962          fi
28963          if test "X$found_dir" = "X"; then
28964            for x in $LDFLAGS $LTLIBICONV; do
28965
28966  acl_save_prefix="$prefix"
28967  prefix="$acl_final_prefix"
28968  acl_save_exec_prefix="$exec_prefix"
28969  exec_prefix="$acl_final_exec_prefix"
28970  eval x=\"$x\"
28971  exec_prefix="$acl_save_exec_prefix"
28972  prefix="$acl_save_prefix"
28973
28974              case "$x" in
28975                -L*)
28976                  dir=`echo "X$x" | sed -e 's/^X-L//'`
28977                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28978                    found_dir="$dir"
28979                    found_so="$dir/lib$name.$shlibext"
28980                    if test -f "$dir/lib$name.la"; then
28981                      found_la="$dir/lib$name.la"
28982                    fi
28983                  else
28984                    if test -f "$dir/lib$name.$libext"; then
28985                      found_dir="$dir"
28986                      found_a="$dir/lib$name.$libext"
28987                      if test -f "$dir/lib$name.la"; then
28988                        found_la="$dir/lib$name.la"
28989                      fi
28990                    fi
28991                  fi
28992                  ;;
28993              esac
28994              if test "X$found_dir" != "X"; then
28995                break
28996              fi
28997            done
28998          fi
28999          if test "X$found_dir" != "X"; then
29000                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29001            if test "X$found_so" != "X"; then
29002                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29003                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29004              else
29005                                                                                haveit=
29006                for x in $ltrpathdirs; do
29007                  if test "X$x" = "X$found_dir"; then
29008                    haveit=yes
29009                    break
29010                  fi
29011                done
29012                if test -z "$haveit"; then
29013                  ltrpathdirs="$ltrpathdirs $found_dir"
29014                fi
29015                                if test "$hardcode_direct" = yes; then
29016                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29017                else
29018                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29019                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29020                                                            haveit=
29021                    for x in $rpathdirs; do
29022                      if test "X$x" = "X$found_dir"; then
29023                        haveit=yes
29024                        break
29025                      fi
29026                    done
29027                    if test -z "$haveit"; then
29028                      rpathdirs="$rpathdirs $found_dir"
29029                    fi
29030                  else
29031                                                                                haveit=
29032                    for x in $LDFLAGS $LIBICONV; do
29033
29034  acl_save_prefix="$prefix"
29035  prefix="$acl_final_prefix"
29036  acl_save_exec_prefix="$exec_prefix"
29037  exec_prefix="$acl_final_exec_prefix"
29038  eval x=\"$x\"
29039  exec_prefix="$acl_save_exec_prefix"
29040  prefix="$acl_save_prefix"
29041
29042                      if test "X$x" = "X-L$found_dir"; then
29043                        haveit=yes
29044                        break
29045                      fi
29046                    done
29047                    if test -z "$haveit"; then
29048                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29049                    fi
29050                    if test "$hardcode_minus_L" != no; then
29051                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29052                    else
29053                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29054                    fi
29055                  fi
29056                fi
29057              fi
29058            else
29059              if test "X$found_a" != "X"; then
29060                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29061              else
29062                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29063              fi
29064            fi
29065                        additional_includedir=
29066            case "$found_dir" in
29067              */lib | */lib/)
29068                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29069                additional_includedir="$basedir/include"
29070                ;;
29071            esac
29072            if test "X$additional_includedir" != "X"; then
29073                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
29074                haveit=
29075                if test "X$additional_includedir" = "X/usr/local/include"; then
29076                  if test -n "$GCC"; then
29077                    case $host_os in
29078                      linux*) haveit=yes;;
29079                    esac
29080                  fi
29081                fi
29082                if test -z "$haveit"; then
29083                  for x in $CPPFLAGS $INCICONV; do
29084
29085  acl_save_prefix="$prefix"
29086  prefix="$acl_final_prefix"
29087  acl_save_exec_prefix="$exec_prefix"
29088  exec_prefix="$acl_final_exec_prefix"
29089  eval x=\"$x\"
29090  exec_prefix="$acl_save_exec_prefix"
29091  prefix="$acl_save_prefix"
29092
29093                    if test "X$x" = "X-I$additional_includedir"; then
29094                      haveit=yes
29095                      break
29096                    fi
29097                  done
29098                  if test -z "$haveit"; then
29099                    if test -d "$additional_includedir"; then
29100                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29101                    fi
29102                  fi
29103                fi
29104              fi
29105            fi
29106                        if test -n "$found_la"; then
29107                                                        save_libdir="$libdir"
29108              case "$found_la" in
29109                */* | *\\*) . "$found_la" ;;
29110                *) . "./$found_la" ;;
29111              esac
29112              libdir="$save_libdir"
29113                            for dep in $dependency_libs; do
29114                case "$dep" in
29115                  -L*)
29116                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29117                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
29118                      haveit=
29119                      if test "X$additional_libdir" = "X/usr/local/lib"; then
29120                        if test -n "$GCC"; then
29121                          case $host_os in
29122                            linux*) haveit=yes;;
29123                          esac
29124                        fi
29125                      fi
29126                      if test -z "$haveit"; then
29127                        haveit=
29128                        for x in $LDFLAGS $LIBICONV; do
29129
29130  acl_save_prefix="$prefix"
29131  prefix="$acl_final_prefix"
29132  acl_save_exec_prefix="$exec_prefix"
29133  exec_prefix="$acl_final_exec_prefix"
29134  eval x=\"$x\"
29135  exec_prefix="$acl_save_exec_prefix"
29136  prefix="$acl_save_prefix"
29137
29138                          if test "X$x" = "X-L$additional_libdir"; then
29139                            haveit=yes
29140                            break
29141                          fi
29142                        done
29143                        if test -z "$haveit"; then
29144                          if test -d "$additional_libdir"; then
29145                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29146                          fi
29147                        fi
29148                        haveit=
29149                        for x in $LDFLAGS $LTLIBICONV; do
29150
29151  acl_save_prefix="$prefix"
29152  prefix="$acl_final_prefix"
29153  acl_save_exec_prefix="$exec_prefix"
29154  exec_prefix="$acl_final_exec_prefix"
29155  eval x=\"$x\"
29156  exec_prefix="$acl_save_exec_prefix"
29157  prefix="$acl_save_prefix"
29158
29159                          if test "X$x" = "X-L$additional_libdir"; then
29160                            haveit=yes
29161                            break
29162                          fi
29163                        done
29164                        if test -z "$haveit"; then
29165                          if test -d "$additional_libdir"; then
29166                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29167                          fi
29168                        fi
29169                      fi
29170                    fi
29171                    ;;
29172                  -R*)
29173                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
29174                    if test "$enable_rpath" != no; then
29175                                                                  haveit=
29176                      for x in $rpathdirs; do
29177                        if test "X$x" = "X$dir"; then
29178                          haveit=yes
29179                          break
29180                        fi
29181                      done
29182                      if test -z "$haveit"; then
29183                        rpathdirs="$rpathdirs $dir"
29184                      fi
29185                                                                  haveit=
29186                      for x in $ltrpathdirs; do
29187                        if test "X$x" = "X$dir"; then
29188                          haveit=yes
29189                          break
29190                        fi
29191                      done
29192                      if test -z "$haveit"; then
29193                        ltrpathdirs="$ltrpathdirs $dir"
29194                      fi
29195                    fi
29196                    ;;
29197                  -l*)
29198                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29199                    ;;
29200                  *.la)
29201                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29202                    ;;
29203                  *)
29204                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29205                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29206                    ;;
29207                esac
29208              done
29209            fi
29210          else
29211                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29212            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29213          fi
29214        fi
29215      fi
29216    done
29217  done
29218  if test "X$rpathdirs" != "X"; then
29219    if test -n "$hardcode_libdir_separator"; then
29220                        alldirs=
29221      for found_dir in $rpathdirs; do
29222        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29223      done
29224            acl_save_libdir="$libdir"
29225      libdir="$alldirs"
29226      eval flag=\"$hardcode_libdir_flag_spec\"
29227      libdir="$acl_save_libdir"
29228      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29229    else
29230            for found_dir in $rpathdirs; do
29231        acl_save_libdir="$libdir"
29232        libdir="$found_dir"
29233        eval flag=\"$hardcode_libdir_flag_spec\"
29234        libdir="$acl_save_libdir"
29235        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29236      done
29237    fi
29238  fi
29239  if test "X$ltrpathdirs" != "X"; then
29240            for found_dir in $ltrpathdirs; do
29241      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29242    done
29243  fi
29244
29245
29246
29247
29248
29249
29250
29251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29252$as_echo_n "checking for iconv... " >&6; }
29253if ${am_cv_func_iconv+:} false; then :
29254  $as_echo_n "(cached) " >&6
29255else
29256
29257    am_cv_func_iconv="no, consider installing GNU libiconv"
29258    am_cv_lib_iconv=no
29259                    am_save_CPPFLAGS="$CPPFLAGS"
29260    CPPFLAGS="$CPPFLAGS $INCICONV"
29261    if test x$gcc_no_link = xyes; then
29262  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29263fi
29264cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29265/* end confdefs.h.  */
29266#include <stdlib.h>
29267#include <iconv.h>
29268int
29269main ()
29270{
29271iconv_t cd = iconv_open("","");
29272       iconv(cd,NULL,NULL,NULL,NULL);
29273       iconv_close(cd);
29274  ;
29275  return 0;
29276}
29277_ACEOF
29278if ac_fn_c_try_link "$LINENO"; then :
29279  am_cv_func_iconv=yes
29280fi
29281rm -f core conftest.err conftest.$ac_objext \
29282    conftest$ac_exeext conftest.$ac_ext
29283    CPPFLAGS="$am_save_CPPFLAGS"
29284
29285    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29286      for _libs in .libs _libs; do
29287        am_save_CPPFLAGS="$CPPFLAGS"
29288        am_save_LIBS="$LIBS"
29289        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29290        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29291        if test x$gcc_no_link = xyes; then
29292  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29293fi
29294cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29295/* end confdefs.h.  */
29296#include <stdlib.h>
29297#include <iconv.h>
29298int
29299main ()
29300{
29301iconv_t cd = iconv_open("","");
29302           iconv(cd,NULL,NULL,NULL,NULL);
29303           iconv_close(cd);
29304  ;
29305  return 0;
29306}
29307_ACEOF
29308if ac_fn_c_try_link "$LINENO"; then :
29309  INCICONV="-I../libiconv/include"
29310          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29311          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29312          am_cv_lib_iconv=yes
29313          am_cv_func_iconv=yes
29314fi
29315rm -f core conftest.err conftest.$ac_objext \
29316    conftest$ac_exeext conftest.$ac_ext
29317        CPPFLAGS="$am_save_CPPFLAGS"
29318        LIBS="$am_save_LIBS"
29319        if test "$am_cv_func_iconv" = "yes"; then
29320          break
29321        fi
29322      done
29323    fi
29324
29325    if test "$am_cv_func_iconv" != yes; then
29326      am_save_CPPFLAGS="$CPPFLAGS"
29327      am_save_LIBS="$LIBS"
29328      CPPFLAGS="$CPPFLAGS $INCICONV"
29329      LIBS="$LIBS $LIBICONV"
29330      if test x$gcc_no_link = xyes; then
29331  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29332fi
29333cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29334/* end confdefs.h.  */
29335#include <stdlib.h>
29336#include <iconv.h>
29337int
29338main ()
29339{
29340iconv_t cd = iconv_open("","");
29341         iconv(cd,NULL,NULL,NULL,NULL);
29342         iconv_close(cd);
29343  ;
29344  return 0;
29345}
29346_ACEOF
29347if ac_fn_c_try_link "$LINENO"; then :
29348  am_cv_lib_iconv=yes
29349        am_cv_func_iconv=yes
29350fi
29351rm -f core conftest.err conftest.$ac_objext \
29352    conftest$ac_exeext conftest.$ac_ext
29353      CPPFLAGS="$am_save_CPPFLAGS"
29354      LIBS="$am_save_LIBS"
29355    fi
29356
29357fi
29358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29359$as_echo "$am_cv_func_iconv" >&6; }
29360  if test "$am_cv_func_iconv" = yes; then
29361
29362$as_echo "#define HAVE_ICONV 1" >>confdefs.h
29363
29364  fi
29365  if test "$am_cv_lib_iconv" = yes; then
29366
29367  for element in $INCICONV; do
29368    haveit=
29369    for x in $CPPFLAGS; do
29370
29371  acl_save_prefix="$prefix"
29372  prefix="$acl_final_prefix"
29373  acl_save_exec_prefix="$exec_prefix"
29374  exec_prefix="$acl_final_exec_prefix"
29375  eval x=\"$x\"
29376  exec_prefix="$acl_save_exec_prefix"
29377  prefix="$acl_save_prefix"
29378
29379      if test "X$x" = "X$element"; then
29380        haveit=yes
29381        break
29382      fi
29383    done
29384    if test -z "$haveit"; then
29385      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29386    fi
29387  done
29388
29389    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29390$as_echo_n "checking how to link with libiconv... " >&6; }
29391    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29392$as_echo "$LIBICONV" >&6; }
29393  else
29394    LIBICONV=
29395    LTLIBICONV=
29396  fi
29397
29398
29399
29400  if test "$am_cv_func_iconv" = yes; then
29401    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29402$as_echo_n "checking for iconv declaration... " >&6; }
29403    if ${am_cv_proto_iconv+:} false; then :
29404  $as_echo_n "(cached) " >&6
29405else
29406
29407      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29408/* end confdefs.h.  */
29409
29410#include <stdlib.h>
29411#include <iconv.h>
29412extern
29413#ifdef __cplusplus
29414"C"
29415#endif
29416#if defined(__STDC__) || defined(__cplusplus)
29417size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29418#else
29419size_t iconv();
29420#endif
29421
29422int
29423main ()
29424{
29425
29426  ;
29427  return 0;
29428}
29429_ACEOF
29430if ac_fn_c_try_compile "$LINENO"; then :
29431  am_cv_proto_iconv_arg1=""
29432else
29433  am_cv_proto_iconv_arg1="const"
29434fi
29435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29436      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);"
29437fi
29438
29439    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29440    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29441         }$am_cv_proto_iconv" >&5
29442$as_echo "${ac_t:-
29443         }$am_cv_proto_iconv" >&6; }
29444
29445cat >>confdefs.h <<_ACEOF
29446#define ICONV_CONST $am_cv_proto_iconv_arg1
29447_ACEOF
29448
29449  fi
29450
29451
29452else
29453
29454  # This lets us hard-code the functionality we know we'll have in the cross
29455  # target environment.  "Let" is a sugar-coated word placed on an especially
29456  # dull and tedious hack, actually.
29457  #
29458  # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29459  # that involve linking, can't be used:
29460  #    "cannot open sim-crt0.o"
29461  #    "cannot open crt0.o"
29462  # etc.  All this is because there currently exists no unified, consistent
29463  # way for top level CC information to be passed down to target directories:
29464  # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29465  # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29466  # crosses can be removed.
29467
29468  # If Canadian cross, then don't pick up tools from the build directory.
29469  # Used only in GLIBCXX_EXPORT_INCLUDES.
29470  if test -n "$with_cross_host" &&
29471     test x"$build_alias" != x"$with_cross_host" &&
29472     test x"$build" != x"$target";
29473  then
29474    CANADIAN=yes
29475  else
29476    CANADIAN=no
29477  fi
29478
29479  # Construct crosses by hand, eliminating bits that need ld...
29480  # GLIBCXX_CHECK_MATH_SUPPORT
29481
29482  # First, test for "known" system libraries.  We may be using newlib even
29483  # on a hosted environment.
29484  if test "x${with_newlib}" = "xyes"; then
29485    os_include_dir="os/newlib"
29486    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29487
29488
29489    # GLIBCXX_CHECK_STDLIB_SUPPORT
29490    $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29491
29492
29493    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29494
29495    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29496
29497    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29498
29499    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29500
29501    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29502
29503    $as_echo "#define HAVE_COSF 1" >>confdefs.h
29504
29505    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29506
29507    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29508
29509    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29510
29511    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29512
29513    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29514
29515    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29516
29517    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29518
29519    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29520
29521    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29522
29523    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29524
29525    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29526
29527    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29528
29529    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29530
29531    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29532
29533    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29534
29535    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29536
29537
29538    $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29539
29540    $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29541
29542  else
29543
29544# Base decisions on target environment.
29545case "${host}" in
29546  arm*-*-symbianelf*)
29547    # This is a freestanding configuration; there is nothing to do here.
29548    ;;
29549
29550  avr*-*-*)
29551    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29552
29553    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29554
29555    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29556
29557    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29558
29559    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29560
29561    $as_echo "#define HAVE_COSF 1" >>confdefs.h
29562
29563    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29564
29565    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29566
29567    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29568
29569    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29570
29571    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29572
29573    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29574
29575    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29576
29577    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29578
29579    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29580
29581    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29582
29583    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29584
29585    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29586
29587    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29588
29589    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29590
29591    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29592
29593    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29594
29595    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29596
29597    ;;
29598
29599  mips*-sde-elf*)
29600    # These definitions are for the SDE C library rather than newlib.
29601    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29602
29603
29604  # All these tests are for C++; save the language and the compiler flags.
29605  # The CXXFLAGS thing is suspicious, but based on similar bits previously
29606  # found in GLIBCXX_CONFIGURE.
29607
29608  ac_ext=cpp
29609ac_cpp='$CXXCPP $CPPFLAGS'
29610ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29611ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29612ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29613
29614  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29615  ac_save_CXXFLAGS="$CXXFLAGS"
29616
29617  # Check for -ffunction-sections -fdata-sections
29618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29619$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29620  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29621  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29622/* end confdefs.h.  */
29623int foo; void bar() { };
29624int
29625main ()
29626{
29627
29628  ;
29629  return 0;
29630}
29631_ACEOF
29632if ac_fn_cxx_try_compile "$LINENO"; then :
29633  ac_fdsections=yes
29634else
29635  ac_fdsections=no
29636fi
29637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29638  if test "$ac_test_CXXFLAGS" = set; then
29639    CXXFLAGS="$ac_save_CXXFLAGS"
29640  else
29641    # this is the suspicious part
29642    CXXFLAGS=''
29643  fi
29644  if test x"$ac_fdsections" = x"yes"; then
29645    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29646  fi
29647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29648$as_echo "$ac_fdsections" >&6; }
29649
29650  ac_ext=c
29651ac_cpp='$CPP $CPPFLAGS'
29652ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29653ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29654ac_compiler_gnu=$ac_cv_c_compiler_gnu
29655
29656
29657
29658
29659  # If we're not using GNU ld, then there's no point in even trying these
29660  # tests.  Check for that first.  We should have already tested for gld
29661  # by now (in libtool), but require it now just to be safe...
29662  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29663  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29664
29665
29666
29667  # The name set by libtool depends on the version of libtool.  Shame on us
29668  # for depending on an impl detail, but c'est la vie.  Older versions used
29669  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29670  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29671  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
29672  # set (hence we're using an older libtool), then set it.
29673  if test x${with_gnu_ld+set} != xset; then
29674    if test x${ac_cv_prog_gnu_ld+set} != xset; then
29675      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
29676      with_gnu_ld=no
29677    else
29678      with_gnu_ld=$ac_cv_prog_gnu_ld
29679    fi
29680  fi
29681
29682  # Start by getting the version number.  I think the libtool test already
29683  # does some of this, but throws away the result.
29684  glibcxx_ld_is_gold=no
29685  if test x"$with_gnu_ld" = x"yes"; then
29686    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29687$as_echo_n "checking for ld version... " >&6; }
29688
29689    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29690      glibcxx_ld_is_gold=yes
29691    fi
29692    ldver=`$LD --version 2>/dev/null |
29693	   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'`
29694
29695    glibcxx_gnu_ld_version=`echo $ldver | \
29696	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29697    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29698$as_echo "$glibcxx_gnu_ld_version" >&6; }
29699  fi
29700
29701  # Set --gc-sections.
29702  glibcxx_have_gc_sections=no
29703  if test "$glibcxx_ld_is_gold" = "yes"; then
29704    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29705      glibcxx_have_gc_sections=yes
29706    fi
29707  else
29708    glibcxx_gcsections_min_ld=21602
29709    if test x"$with_gnu_ld" = x"yes" &&
29710	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29711      glibcxx_have_gc_sections=yes
29712    fi
29713  fi
29714  if test "$glibcxx_have_gc_sections" = "yes"; then
29715    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
29716    # NB: This flag only works reliably after 2.16.1. Configure tests
29717    # for this are difficult, so hard wire a value that should work.
29718
29719    ac_test_CFLAGS="${CFLAGS+set}"
29720    ac_save_CFLAGS="$CFLAGS"
29721    CFLAGS='-Wl,--gc-sections'
29722
29723    # Check for -Wl,--gc-sections
29724    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29725$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29726    if test x$gcc_no_link = xyes; then
29727  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29728fi
29729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730/* end confdefs.h.  */
29731 int one(void) { return 1; }
29732     int two(void) { return 2; }
29733
29734int
29735main ()
29736{
29737 two();
29738  ;
29739  return 0;
29740}
29741_ACEOF
29742if ac_fn_c_try_link "$LINENO"; then :
29743  ac_gcsections=yes
29744else
29745  ac_gcsections=no
29746fi
29747rm -f core conftest.err conftest.$ac_objext \
29748    conftest$ac_exeext conftest.$ac_ext
29749    if test "$ac_gcsections" = "yes"; then
29750      rm -f conftest.c
29751      touch conftest.c
29752      if $CC -c conftest.c; then
29753	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29754	   grep "Warning: gc-sections option ignored" > /dev/null; then
29755	  ac_gcsections=no
29756	fi
29757      fi
29758      rm -f conftest.c conftest.o conftest
29759    fi
29760    if test "$ac_gcsections" = "yes"; then
29761      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29762    fi
29763    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29764$as_echo "$ac_gcsections" >&6; }
29765
29766    if test "$ac_test_CFLAGS" = set; then
29767      CFLAGS="$ac_save_CFLAGS"
29768    else
29769      # this is the suspicious part
29770      CFLAGS=''
29771    fi
29772  fi
29773
29774  # Set -z,relro.
29775  # Note this is only for shared objects.
29776  ac_ld_relro=no
29777  if test x"$with_gnu_ld" = x"yes"; then
29778    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29779$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29780    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29781    if test -n "$cxx_z_relo"; then
29782      OPT_LDFLAGS="-Wl,-z,relro"
29783      ac_ld_relro=yes
29784    fi
29785    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29786$as_echo "$ac_ld_relro" >&6; }
29787  fi
29788
29789  # Set linker optimization flags.
29790  if test x"$with_gnu_ld" = x"yes"; then
29791    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29792  fi
29793
29794
29795
29796
29797
29798  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29799  ac_save_CXXFLAGS="$CXXFLAGS"
29800  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29801
29802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29803$as_echo_n "checking for sin in -lm... " >&6; }
29804if ${ac_cv_lib_m_sin+:} false; then :
29805  $as_echo_n "(cached) " >&6
29806else
29807  ac_check_lib_save_LIBS=$LIBS
29808LIBS="-lm  $LIBS"
29809if test x$gcc_no_link = xyes; then
29810  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29811fi
29812cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29813/* end confdefs.h.  */
29814
29815/* Override any GCC internal prototype to avoid an error.
29816   Use char because int might match the return type of a GCC
29817   builtin and then its argument prototype would still apply.  */
29818#ifdef __cplusplus
29819extern "C"
29820#endif
29821char sin ();
29822int
29823main ()
29824{
29825return sin ();
29826  ;
29827  return 0;
29828}
29829_ACEOF
29830if ac_fn_c_try_link "$LINENO"; then :
29831  ac_cv_lib_m_sin=yes
29832else
29833  ac_cv_lib_m_sin=no
29834fi
29835rm -f core conftest.err conftest.$ac_objext \
29836    conftest$ac_exeext conftest.$ac_ext
29837LIBS=$ac_check_lib_save_LIBS
29838fi
29839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29840$as_echo "$ac_cv_lib_m_sin" >&6; }
29841if test "x$ac_cv_lib_m_sin" = xyes; then :
29842  libm="-lm"
29843fi
29844
29845  ac_save_LIBS="$LIBS"
29846  LIBS="$LIBS $libm"
29847
29848
29849
29850  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29851$as_echo_n "checking for isinf declaration... " >&6; }
29852  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29853    if ${glibcxx_cv_func_isinf_use+:} false; then :
29854  $as_echo_n "(cached) " >&6
29855else
29856
29857
29858      ac_ext=cpp
29859ac_cpp='$CXXCPP $CPPFLAGS'
29860ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29861ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29862ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29863
29864      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29865/* end confdefs.h.  */
29866#include <math.h>
29867		      #ifdef HAVE_IEEEFP_H
29868		      #include <ieeefp.h>
29869		      #endif
29870
29871int
29872main ()
29873{
29874 isinf(0);
29875  ;
29876  return 0;
29877}
29878_ACEOF
29879if ac_fn_cxx_try_compile "$LINENO"; then :
29880  glibcxx_cv_func_isinf_use=yes
29881else
29882  glibcxx_cv_func_isinf_use=no
29883fi
29884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29885      ac_ext=c
29886ac_cpp='$CPP $CPPFLAGS'
29887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29889ac_compiler_gnu=$ac_cv_c_compiler_gnu
29890
29891
29892fi
29893
29894  fi
29895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29896$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29897
29898  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29899    for ac_func in isinf
29900do :
29901  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29902if test "x$ac_cv_func_isinf" = xyes; then :
29903  cat >>confdefs.h <<_ACEOF
29904#define HAVE_ISINF 1
29905_ACEOF
29906
29907fi
29908done
29909
29910  else
29911
29912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29913$as_echo_n "checking for _isinf declaration... " >&6; }
29914  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29915    if ${glibcxx_cv_func__isinf_use+:} false; then :
29916  $as_echo_n "(cached) " >&6
29917else
29918
29919
29920      ac_ext=cpp
29921ac_cpp='$CXXCPP $CPPFLAGS'
29922ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29923ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29924ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29925
29926      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29927/* end confdefs.h.  */
29928#include <math.h>
29929		      #ifdef HAVE_IEEEFP_H
29930		      #include <ieeefp.h>
29931		      #endif
29932
29933int
29934main ()
29935{
29936 _isinf(0);
29937  ;
29938  return 0;
29939}
29940_ACEOF
29941if ac_fn_cxx_try_compile "$LINENO"; then :
29942  glibcxx_cv_func__isinf_use=yes
29943else
29944  glibcxx_cv_func__isinf_use=no
29945fi
29946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29947      ac_ext=c
29948ac_cpp='$CPP $CPPFLAGS'
29949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29951ac_compiler_gnu=$ac_cv_c_compiler_gnu
29952
29953
29954fi
29955
29956  fi
29957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29958$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29959
29960    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29961      for ac_func in _isinf
29962do :
29963  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29964if test "x$ac_cv_func__isinf" = xyes; then :
29965  cat >>confdefs.h <<_ACEOF
29966#define HAVE__ISINF 1
29967_ACEOF
29968
29969fi
29970done
29971
29972    fi
29973  fi
29974
29975
29976
29977
29978
29979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29980$as_echo_n "checking for isnan declaration... " >&6; }
29981  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29982    if ${glibcxx_cv_func_isnan_use+:} false; then :
29983  $as_echo_n "(cached) " >&6
29984else
29985
29986
29987      ac_ext=cpp
29988ac_cpp='$CXXCPP $CPPFLAGS'
29989ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29990ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29991ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29992
29993      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29994/* end confdefs.h.  */
29995#include <math.h>
29996		      #ifdef HAVE_IEEEFP_H
29997		      #include <ieeefp.h>
29998		      #endif
29999
30000int
30001main ()
30002{
30003 isnan(0);
30004  ;
30005  return 0;
30006}
30007_ACEOF
30008if ac_fn_cxx_try_compile "$LINENO"; then :
30009  glibcxx_cv_func_isnan_use=yes
30010else
30011  glibcxx_cv_func_isnan_use=no
30012fi
30013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30014      ac_ext=c
30015ac_cpp='$CPP $CPPFLAGS'
30016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30018ac_compiler_gnu=$ac_cv_c_compiler_gnu
30019
30020
30021fi
30022
30023  fi
30024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
30025$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
30026
30027  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30028    for ac_func in isnan
30029do :
30030  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
30031if test "x$ac_cv_func_isnan" = xyes; then :
30032  cat >>confdefs.h <<_ACEOF
30033#define HAVE_ISNAN 1
30034_ACEOF
30035
30036fi
30037done
30038
30039  else
30040
30041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
30042$as_echo_n "checking for _isnan declaration... " >&6; }
30043  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
30044    if ${glibcxx_cv_func__isnan_use+:} false; then :
30045  $as_echo_n "(cached) " >&6
30046else
30047
30048
30049      ac_ext=cpp
30050ac_cpp='$CXXCPP $CPPFLAGS'
30051ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30052ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30053ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30054
30055      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30056/* end confdefs.h.  */
30057#include <math.h>
30058		      #ifdef HAVE_IEEEFP_H
30059		      #include <ieeefp.h>
30060		      #endif
30061
30062int
30063main ()
30064{
30065 _isnan(0);
30066  ;
30067  return 0;
30068}
30069_ACEOF
30070if ac_fn_cxx_try_compile "$LINENO"; then :
30071  glibcxx_cv_func__isnan_use=yes
30072else
30073  glibcxx_cv_func__isnan_use=no
30074fi
30075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30076      ac_ext=c
30077ac_cpp='$CPP $CPPFLAGS'
30078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30080ac_compiler_gnu=$ac_cv_c_compiler_gnu
30081
30082
30083fi
30084
30085  fi
30086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
30087$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
30088
30089    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
30090      for ac_func in _isnan
30091do :
30092  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
30093if test "x$ac_cv_func__isnan" = xyes; then :
30094  cat >>confdefs.h <<_ACEOF
30095#define HAVE__ISNAN 1
30096_ACEOF
30097
30098fi
30099done
30100
30101    fi
30102  fi
30103
30104
30105
30106
30107
30108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
30109$as_echo_n "checking for finite declaration... " >&6; }
30110  if test x${glibcxx_cv_func_finite_use+set} != xset; then
30111    if ${glibcxx_cv_func_finite_use+:} false; then :
30112  $as_echo_n "(cached) " >&6
30113else
30114
30115
30116      ac_ext=cpp
30117ac_cpp='$CXXCPP $CPPFLAGS'
30118ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30119ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30120ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30121
30122      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30123/* end confdefs.h.  */
30124#include <math.h>
30125		      #ifdef HAVE_IEEEFP_H
30126		      #include <ieeefp.h>
30127		      #endif
30128
30129int
30130main ()
30131{
30132 finite(0);
30133  ;
30134  return 0;
30135}
30136_ACEOF
30137if ac_fn_cxx_try_compile "$LINENO"; then :
30138  glibcxx_cv_func_finite_use=yes
30139else
30140  glibcxx_cv_func_finite_use=no
30141fi
30142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30143      ac_ext=c
30144ac_cpp='$CPP $CPPFLAGS'
30145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147ac_compiler_gnu=$ac_cv_c_compiler_gnu
30148
30149
30150fi
30151
30152  fi
30153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
30154$as_echo "$glibcxx_cv_func_finite_use" >&6; }
30155
30156  if test x$glibcxx_cv_func_finite_use = x"yes"; then
30157    for ac_func in finite
30158do :
30159  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
30160if test "x$ac_cv_func_finite" = xyes; then :
30161  cat >>confdefs.h <<_ACEOF
30162#define HAVE_FINITE 1
30163_ACEOF
30164
30165fi
30166done
30167
30168  else
30169
30170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
30171$as_echo_n "checking for _finite declaration... " >&6; }
30172  if test x${glibcxx_cv_func__finite_use+set} != xset; then
30173    if ${glibcxx_cv_func__finite_use+:} false; then :
30174  $as_echo_n "(cached) " >&6
30175else
30176
30177
30178      ac_ext=cpp
30179ac_cpp='$CXXCPP $CPPFLAGS'
30180ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30181ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30182ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30183
30184      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30185/* end confdefs.h.  */
30186#include <math.h>
30187		      #ifdef HAVE_IEEEFP_H
30188		      #include <ieeefp.h>
30189		      #endif
30190
30191int
30192main ()
30193{
30194 _finite(0);
30195  ;
30196  return 0;
30197}
30198_ACEOF
30199if ac_fn_cxx_try_compile "$LINENO"; then :
30200  glibcxx_cv_func__finite_use=yes
30201else
30202  glibcxx_cv_func__finite_use=no
30203fi
30204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30205      ac_ext=c
30206ac_cpp='$CPP $CPPFLAGS'
30207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209ac_compiler_gnu=$ac_cv_c_compiler_gnu
30210
30211
30212fi
30213
30214  fi
30215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
30216$as_echo "$glibcxx_cv_func__finite_use" >&6; }
30217
30218    if test x$glibcxx_cv_func__finite_use = x"yes"; then
30219      for ac_func in _finite
30220do :
30221  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
30222if test "x$ac_cv_func__finite" = xyes; then :
30223  cat >>confdefs.h <<_ACEOF
30224#define HAVE__FINITE 1
30225_ACEOF
30226
30227fi
30228done
30229
30230    fi
30231  fi
30232
30233
30234
30235
30236
30237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30238$as_echo_n "checking for sincos declaration... " >&6; }
30239  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30240    if ${glibcxx_cv_func_sincos_use+:} false; then :
30241  $as_echo_n "(cached) " >&6
30242else
30243
30244
30245      ac_ext=cpp
30246ac_cpp='$CXXCPP $CPPFLAGS'
30247ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30248ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30249ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30250
30251      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30252/* end confdefs.h.  */
30253#include <math.h>
30254int
30255main ()
30256{
30257 sincos(0, 0, 0);
30258  ;
30259  return 0;
30260}
30261_ACEOF
30262if ac_fn_cxx_try_compile "$LINENO"; then :
30263  glibcxx_cv_func_sincos_use=yes
30264else
30265  glibcxx_cv_func_sincos_use=no
30266fi
30267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30268      ac_ext=c
30269ac_cpp='$CPP $CPPFLAGS'
30270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30272ac_compiler_gnu=$ac_cv_c_compiler_gnu
30273
30274
30275fi
30276
30277  fi
30278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30279$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30280
30281  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30282    for ac_func in sincos
30283do :
30284  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30285if test "x$ac_cv_func_sincos" = xyes; then :
30286  cat >>confdefs.h <<_ACEOF
30287#define HAVE_SINCOS 1
30288_ACEOF
30289
30290fi
30291done
30292
30293  else
30294
30295  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30296$as_echo_n "checking for _sincos declaration... " >&6; }
30297  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30298    if ${glibcxx_cv_func__sincos_use+:} false; then :
30299  $as_echo_n "(cached) " >&6
30300else
30301
30302
30303      ac_ext=cpp
30304ac_cpp='$CXXCPP $CPPFLAGS'
30305ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30306ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30307ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30308
30309      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30310/* end confdefs.h.  */
30311#include <math.h>
30312int
30313main ()
30314{
30315 _sincos(0, 0, 0);
30316  ;
30317  return 0;
30318}
30319_ACEOF
30320if ac_fn_cxx_try_compile "$LINENO"; then :
30321  glibcxx_cv_func__sincos_use=yes
30322else
30323  glibcxx_cv_func__sincos_use=no
30324fi
30325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30326      ac_ext=c
30327ac_cpp='$CPP $CPPFLAGS'
30328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330ac_compiler_gnu=$ac_cv_c_compiler_gnu
30331
30332
30333fi
30334
30335  fi
30336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30337$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30338
30339    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30340      for ac_func in _sincos
30341do :
30342  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30343if test "x$ac_cv_func__sincos" = xyes; then :
30344  cat >>confdefs.h <<_ACEOF
30345#define HAVE__SINCOS 1
30346_ACEOF
30347
30348fi
30349done
30350
30351    fi
30352  fi
30353
30354
30355
30356
30357
30358  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30359$as_echo_n "checking for fpclass declaration... " >&6; }
30360  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30361    if ${glibcxx_cv_func_fpclass_use+:} false; then :
30362  $as_echo_n "(cached) " >&6
30363else
30364
30365
30366      ac_ext=cpp
30367ac_cpp='$CXXCPP $CPPFLAGS'
30368ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30369ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30370ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30371
30372      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30373/* end confdefs.h.  */
30374#include <math.h>
30375		      #ifdef HAVE_IEEEFP_H
30376		      #include <ieeefp.h>
30377		      #endif
30378
30379int
30380main ()
30381{
30382 fpclass(0);
30383  ;
30384  return 0;
30385}
30386_ACEOF
30387if ac_fn_cxx_try_compile "$LINENO"; then :
30388  glibcxx_cv_func_fpclass_use=yes
30389else
30390  glibcxx_cv_func_fpclass_use=no
30391fi
30392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393      ac_ext=c
30394ac_cpp='$CPP $CPPFLAGS'
30395ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397ac_compiler_gnu=$ac_cv_c_compiler_gnu
30398
30399
30400fi
30401
30402  fi
30403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30404$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30405
30406  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30407    for ac_func in fpclass
30408do :
30409  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30410if test "x$ac_cv_func_fpclass" = xyes; then :
30411  cat >>confdefs.h <<_ACEOF
30412#define HAVE_FPCLASS 1
30413_ACEOF
30414
30415fi
30416done
30417
30418  else
30419
30420  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30421$as_echo_n "checking for _fpclass declaration... " >&6; }
30422  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30423    if ${glibcxx_cv_func__fpclass_use+:} false; then :
30424  $as_echo_n "(cached) " >&6
30425else
30426
30427
30428      ac_ext=cpp
30429ac_cpp='$CXXCPP $CPPFLAGS'
30430ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30431ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30432ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30433
30434      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30435/* end confdefs.h.  */
30436#include <math.h>
30437		      #ifdef HAVE_IEEEFP_H
30438		      #include <ieeefp.h>
30439		      #endif
30440
30441int
30442main ()
30443{
30444 _fpclass(0);
30445  ;
30446  return 0;
30447}
30448_ACEOF
30449if ac_fn_cxx_try_compile "$LINENO"; then :
30450  glibcxx_cv_func__fpclass_use=yes
30451else
30452  glibcxx_cv_func__fpclass_use=no
30453fi
30454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30455      ac_ext=c
30456ac_cpp='$CPP $CPPFLAGS'
30457ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30458ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30459ac_compiler_gnu=$ac_cv_c_compiler_gnu
30460
30461
30462fi
30463
30464  fi
30465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30466$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30467
30468    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30469      for ac_func in _fpclass
30470do :
30471  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30472if test "x$ac_cv_func__fpclass" = xyes; then :
30473  cat >>confdefs.h <<_ACEOF
30474#define HAVE__FPCLASS 1
30475_ACEOF
30476
30477fi
30478done
30479
30480    fi
30481  fi
30482
30483
30484
30485
30486
30487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30488$as_echo_n "checking for qfpclass declaration... " >&6; }
30489  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30490    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30491  $as_echo_n "(cached) " >&6
30492else
30493
30494
30495      ac_ext=cpp
30496ac_cpp='$CXXCPP $CPPFLAGS'
30497ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30498ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30499ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30500
30501      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30502/* end confdefs.h.  */
30503#include <math.h>
30504		      #ifdef HAVE_IEEEFP_H
30505		      #include <ieeefp.h>
30506		      #endif
30507
30508int
30509main ()
30510{
30511 qfpclass(0);
30512  ;
30513  return 0;
30514}
30515_ACEOF
30516if ac_fn_cxx_try_compile "$LINENO"; then :
30517  glibcxx_cv_func_qfpclass_use=yes
30518else
30519  glibcxx_cv_func_qfpclass_use=no
30520fi
30521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30522      ac_ext=c
30523ac_cpp='$CPP $CPPFLAGS'
30524ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526ac_compiler_gnu=$ac_cv_c_compiler_gnu
30527
30528
30529fi
30530
30531  fi
30532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30533$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30534
30535  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30536    for ac_func in qfpclass
30537do :
30538  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30539if test "x$ac_cv_func_qfpclass" = xyes; then :
30540  cat >>confdefs.h <<_ACEOF
30541#define HAVE_QFPCLASS 1
30542_ACEOF
30543
30544fi
30545done
30546
30547  else
30548
30549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30550$as_echo_n "checking for _qfpclass declaration... " >&6; }
30551  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30552    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30553  $as_echo_n "(cached) " >&6
30554else
30555
30556
30557      ac_ext=cpp
30558ac_cpp='$CXXCPP $CPPFLAGS'
30559ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30560ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30561ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30562
30563      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30564/* end confdefs.h.  */
30565#include <math.h>
30566		      #ifdef HAVE_IEEEFP_H
30567		      #include <ieeefp.h>
30568		      #endif
30569
30570int
30571main ()
30572{
30573 _qfpclass(0);
30574  ;
30575  return 0;
30576}
30577_ACEOF
30578if ac_fn_cxx_try_compile "$LINENO"; then :
30579  glibcxx_cv_func__qfpclass_use=yes
30580else
30581  glibcxx_cv_func__qfpclass_use=no
30582fi
30583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30584      ac_ext=c
30585ac_cpp='$CPP $CPPFLAGS'
30586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30588ac_compiler_gnu=$ac_cv_c_compiler_gnu
30589
30590
30591fi
30592
30593  fi
30594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30595$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30596
30597    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30598      for ac_func in _qfpclass
30599do :
30600  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30601if test "x$ac_cv_func__qfpclass" = xyes; then :
30602  cat >>confdefs.h <<_ACEOF
30603#define HAVE__QFPCLASS 1
30604_ACEOF
30605
30606fi
30607done
30608
30609    fi
30610  fi
30611
30612
30613
30614
30615
30616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30617$as_echo_n "checking for hypot declaration... " >&6; }
30618  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30619    if ${glibcxx_cv_func_hypot_use+:} false; then :
30620  $as_echo_n "(cached) " >&6
30621else
30622
30623
30624      ac_ext=cpp
30625ac_cpp='$CXXCPP $CPPFLAGS'
30626ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30627ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30628ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30629
30630      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30631/* end confdefs.h.  */
30632#include <math.h>
30633int
30634main ()
30635{
30636 hypot(0, 0);
30637  ;
30638  return 0;
30639}
30640_ACEOF
30641if ac_fn_cxx_try_compile "$LINENO"; then :
30642  glibcxx_cv_func_hypot_use=yes
30643else
30644  glibcxx_cv_func_hypot_use=no
30645fi
30646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30647      ac_ext=c
30648ac_cpp='$CPP $CPPFLAGS'
30649ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30650ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30651ac_compiler_gnu=$ac_cv_c_compiler_gnu
30652
30653
30654fi
30655
30656  fi
30657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30658$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30659
30660  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30661    for ac_func in hypot
30662do :
30663  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30664if test "x$ac_cv_func_hypot" = xyes; then :
30665  cat >>confdefs.h <<_ACEOF
30666#define HAVE_HYPOT 1
30667_ACEOF
30668
30669fi
30670done
30671
30672  else
30673
30674  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30675$as_echo_n "checking for _hypot declaration... " >&6; }
30676  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30677    if ${glibcxx_cv_func__hypot_use+:} false; then :
30678  $as_echo_n "(cached) " >&6
30679else
30680
30681
30682      ac_ext=cpp
30683ac_cpp='$CXXCPP $CPPFLAGS'
30684ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30687
30688      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30689/* end confdefs.h.  */
30690#include <math.h>
30691int
30692main ()
30693{
30694 _hypot(0, 0);
30695  ;
30696  return 0;
30697}
30698_ACEOF
30699if ac_fn_cxx_try_compile "$LINENO"; then :
30700  glibcxx_cv_func__hypot_use=yes
30701else
30702  glibcxx_cv_func__hypot_use=no
30703fi
30704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30705      ac_ext=c
30706ac_cpp='$CPP $CPPFLAGS'
30707ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709ac_compiler_gnu=$ac_cv_c_compiler_gnu
30710
30711
30712fi
30713
30714  fi
30715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30716$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30717
30718    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30719      for ac_func in _hypot
30720do :
30721  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30722if test "x$ac_cv_func__hypot" = xyes; then :
30723  cat >>confdefs.h <<_ACEOF
30724#define HAVE__HYPOT 1
30725_ACEOF
30726
30727fi
30728done
30729
30730    fi
30731  fi
30732
30733
30734
30735
30736
30737    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30738$as_echo_n "checking for float trig functions... " >&6; }
30739  if ${glibcxx_cv_func_float_trig_use+:} false; then :
30740  $as_echo_n "(cached) " >&6
30741else
30742
30743
30744    ac_ext=cpp
30745ac_cpp='$CXXCPP $CPPFLAGS'
30746ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30747ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30748ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30749
30750    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30751/* end confdefs.h.  */
30752#include <math.h>
30753int
30754main ()
30755{
30756acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30757  ;
30758  return 0;
30759}
30760_ACEOF
30761if ac_fn_cxx_try_compile "$LINENO"; then :
30762  glibcxx_cv_func_float_trig_use=yes
30763else
30764  glibcxx_cv_func_float_trig_use=no
30765fi
30766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30767    ac_ext=c
30768ac_cpp='$CPP $CPPFLAGS'
30769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30771ac_compiler_gnu=$ac_cv_c_compiler_gnu
30772
30773fi
30774
30775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30776$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30777  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30778    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30779do :
30780  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30781ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30782if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30783  cat >>confdefs.h <<_ACEOF
30784#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30785_ACEOF
30786
30787fi
30788done
30789
30790  else
30791    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30792$as_echo_n "checking for _float trig functions... " >&6; }
30793    if ${glibcxx_cv_func__float_trig_use+:} false; then :
30794  $as_echo_n "(cached) " >&6
30795else
30796
30797
30798      ac_ext=cpp
30799ac_cpp='$CXXCPP $CPPFLAGS'
30800ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30801ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30802ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30803
30804      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30805/* end confdefs.h.  */
30806#include <math.h>
30807int
30808main ()
30809{
30810_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30811  ;
30812  return 0;
30813}
30814_ACEOF
30815if ac_fn_cxx_try_compile "$LINENO"; then :
30816  glibcxx_cv_func__float_trig_use=yes
30817else
30818  glibcxx_cv_func__float_trig_use=no
30819fi
30820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30821      ac_ext=c
30822ac_cpp='$CPP $CPPFLAGS'
30823ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30824ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30825ac_compiler_gnu=$ac_cv_c_compiler_gnu
30826
30827fi
30828
30829    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30830$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30831    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30832      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30833do :
30834  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30835ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30836if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30837  cat >>confdefs.h <<_ACEOF
30838#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30839_ACEOF
30840
30841fi
30842done
30843
30844    fi
30845  fi
30846
30847
30848
30849
30850
30851    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30852$as_echo_n "checking for float round functions... " >&6; }
30853  if ${glibcxx_cv_func_float_round_use+:} false; then :
30854  $as_echo_n "(cached) " >&6
30855else
30856
30857
30858    ac_ext=cpp
30859ac_cpp='$CXXCPP $CPPFLAGS'
30860ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30863
30864    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30865/* end confdefs.h.  */
30866#include <math.h>
30867int
30868main ()
30869{
30870ceilf (0); floorf (0);
30871  ;
30872  return 0;
30873}
30874_ACEOF
30875if ac_fn_cxx_try_compile "$LINENO"; then :
30876  glibcxx_cv_func_float_round_use=yes
30877else
30878  glibcxx_cv_func_float_round_use=no
30879fi
30880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30881    ac_ext=c
30882ac_cpp='$CPP $CPPFLAGS'
30883ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30884ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30885ac_compiler_gnu=$ac_cv_c_compiler_gnu
30886
30887fi
30888
30889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30890$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30891  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30892    for ac_func in ceilf floorf
30893do :
30894  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30895ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30896if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30897  cat >>confdefs.h <<_ACEOF
30898#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30899_ACEOF
30900
30901fi
30902done
30903
30904  else
30905    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30906$as_echo_n "checking for _float round functions... " >&6; }
30907    if ${glibcxx_cv_func__float_round_use+:} false; then :
30908  $as_echo_n "(cached) " >&6
30909else
30910
30911
30912      ac_ext=cpp
30913ac_cpp='$CXXCPP $CPPFLAGS'
30914ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30915ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30916ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30917
30918      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30919/* end confdefs.h.  */
30920#include <math.h>
30921int
30922main ()
30923{
30924_ceilf (0); _floorf (0);
30925  ;
30926  return 0;
30927}
30928_ACEOF
30929if ac_fn_cxx_try_compile "$LINENO"; then :
30930  glibcxx_cv_func__float_round_use=yes
30931else
30932  glibcxx_cv_func__float_round_use=no
30933fi
30934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30935      ac_ext=c
30936ac_cpp='$CPP $CPPFLAGS'
30937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30939ac_compiler_gnu=$ac_cv_c_compiler_gnu
30940
30941fi
30942
30943    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30944$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30945    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30946      for ac_func in _ceilf _floorf
30947do :
30948  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30949ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30950if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30951  cat >>confdefs.h <<_ACEOF
30952#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30953_ACEOF
30954
30955fi
30956done
30957
30958    fi
30959  fi
30960
30961
30962
30963
30964
30965
30966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30967$as_echo_n "checking for expf declaration... " >&6; }
30968  if test x${glibcxx_cv_func_expf_use+set} != xset; then
30969    if ${glibcxx_cv_func_expf_use+:} false; then :
30970  $as_echo_n "(cached) " >&6
30971else
30972
30973
30974      ac_ext=cpp
30975ac_cpp='$CXXCPP $CPPFLAGS'
30976ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30979
30980      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30981/* end confdefs.h.  */
30982#include <math.h>
30983		      #ifdef HAVE_IEEEFP_H
30984		      #include <ieeefp.h>
30985		      #endif
30986
30987int
30988main ()
30989{
30990 expf(0);
30991  ;
30992  return 0;
30993}
30994_ACEOF
30995if ac_fn_cxx_try_compile "$LINENO"; then :
30996  glibcxx_cv_func_expf_use=yes
30997else
30998  glibcxx_cv_func_expf_use=no
30999fi
31000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31001      ac_ext=c
31002ac_cpp='$CPP $CPPFLAGS'
31003ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31005ac_compiler_gnu=$ac_cv_c_compiler_gnu
31006
31007
31008fi
31009
31010  fi
31011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
31012$as_echo "$glibcxx_cv_func_expf_use" >&6; }
31013
31014  if test x$glibcxx_cv_func_expf_use = x"yes"; then
31015    for ac_func in expf
31016do :
31017  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
31018if test "x$ac_cv_func_expf" = xyes; then :
31019  cat >>confdefs.h <<_ACEOF
31020#define HAVE_EXPF 1
31021_ACEOF
31022
31023fi
31024done
31025
31026  else
31027
31028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
31029$as_echo_n "checking for _expf declaration... " >&6; }
31030  if test x${glibcxx_cv_func__expf_use+set} != xset; then
31031    if ${glibcxx_cv_func__expf_use+:} false; then :
31032  $as_echo_n "(cached) " >&6
31033else
31034
31035
31036      ac_ext=cpp
31037ac_cpp='$CXXCPP $CPPFLAGS'
31038ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31039ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31040ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31041
31042      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31043/* end confdefs.h.  */
31044#include <math.h>
31045		      #ifdef HAVE_IEEEFP_H
31046		      #include <ieeefp.h>
31047		      #endif
31048
31049int
31050main ()
31051{
31052 _expf(0);
31053  ;
31054  return 0;
31055}
31056_ACEOF
31057if ac_fn_cxx_try_compile "$LINENO"; then :
31058  glibcxx_cv_func__expf_use=yes
31059else
31060  glibcxx_cv_func__expf_use=no
31061fi
31062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31063      ac_ext=c
31064ac_cpp='$CPP $CPPFLAGS'
31065ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31066ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31067ac_compiler_gnu=$ac_cv_c_compiler_gnu
31068
31069
31070fi
31071
31072  fi
31073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
31074$as_echo "$glibcxx_cv_func__expf_use" >&6; }
31075
31076    if test x$glibcxx_cv_func__expf_use = x"yes"; then
31077      for ac_func in _expf
31078do :
31079  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
31080if test "x$ac_cv_func__expf" = xyes; then :
31081  cat >>confdefs.h <<_ACEOF
31082#define HAVE__EXPF 1
31083_ACEOF
31084
31085fi
31086done
31087
31088    fi
31089  fi
31090
31091
31092
31093
31094
31095  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
31096$as_echo_n "checking for isnanf declaration... " >&6; }
31097  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31098    if ${glibcxx_cv_func_isnanf_use+:} false; then :
31099  $as_echo_n "(cached) " >&6
31100else
31101
31102
31103      ac_ext=cpp
31104ac_cpp='$CXXCPP $CPPFLAGS'
31105ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31106ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31107ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31108
31109      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31110/* end confdefs.h.  */
31111#include <math.h>
31112		      #ifdef HAVE_IEEEFP_H
31113		      #include <ieeefp.h>
31114		      #endif
31115
31116int
31117main ()
31118{
31119 isnanf(0);
31120  ;
31121  return 0;
31122}
31123_ACEOF
31124if ac_fn_cxx_try_compile "$LINENO"; then :
31125  glibcxx_cv_func_isnanf_use=yes
31126else
31127  glibcxx_cv_func_isnanf_use=no
31128fi
31129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31130      ac_ext=c
31131ac_cpp='$CPP $CPPFLAGS'
31132ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31133ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31134ac_compiler_gnu=$ac_cv_c_compiler_gnu
31135
31136
31137fi
31138
31139  fi
31140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
31141$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
31142
31143  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31144    for ac_func in isnanf
31145do :
31146  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
31147if test "x$ac_cv_func_isnanf" = xyes; then :
31148  cat >>confdefs.h <<_ACEOF
31149#define HAVE_ISNANF 1
31150_ACEOF
31151
31152fi
31153done
31154
31155  else
31156
31157  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
31158$as_echo_n "checking for _isnanf declaration... " >&6; }
31159  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31160    if ${glibcxx_cv_func__isnanf_use+:} false; then :
31161  $as_echo_n "(cached) " >&6
31162else
31163
31164
31165      ac_ext=cpp
31166ac_cpp='$CXXCPP $CPPFLAGS'
31167ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31168ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31169ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31170
31171      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31172/* end confdefs.h.  */
31173#include <math.h>
31174		      #ifdef HAVE_IEEEFP_H
31175		      #include <ieeefp.h>
31176		      #endif
31177
31178int
31179main ()
31180{
31181 _isnanf(0);
31182  ;
31183  return 0;
31184}
31185_ACEOF
31186if ac_fn_cxx_try_compile "$LINENO"; then :
31187  glibcxx_cv_func__isnanf_use=yes
31188else
31189  glibcxx_cv_func__isnanf_use=no
31190fi
31191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31192      ac_ext=c
31193ac_cpp='$CPP $CPPFLAGS'
31194ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31195ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31196ac_compiler_gnu=$ac_cv_c_compiler_gnu
31197
31198
31199fi
31200
31201  fi
31202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
31203$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
31204
31205    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31206      for ac_func in _isnanf
31207do :
31208  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
31209if test "x$ac_cv_func__isnanf" = xyes; then :
31210  cat >>confdefs.h <<_ACEOF
31211#define HAVE__ISNANF 1
31212_ACEOF
31213
31214fi
31215done
31216
31217    fi
31218  fi
31219
31220
31221
31222
31223
31224  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31225$as_echo_n "checking for isinff declaration... " >&6; }
31226  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31227    if ${glibcxx_cv_func_isinff_use+:} false; then :
31228  $as_echo_n "(cached) " >&6
31229else
31230
31231
31232      ac_ext=cpp
31233ac_cpp='$CXXCPP $CPPFLAGS'
31234ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31235ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31236ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31237
31238      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31239/* end confdefs.h.  */
31240#include <math.h>
31241		      #ifdef HAVE_IEEEFP_H
31242		      #include <ieeefp.h>
31243		      #endif
31244
31245int
31246main ()
31247{
31248 isinff(0);
31249  ;
31250  return 0;
31251}
31252_ACEOF
31253if ac_fn_cxx_try_compile "$LINENO"; then :
31254  glibcxx_cv_func_isinff_use=yes
31255else
31256  glibcxx_cv_func_isinff_use=no
31257fi
31258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31259      ac_ext=c
31260ac_cpp='$CPP $CPPFLAGS'
31261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263ac_compiler_gnu=$ac_cv_c_compiler_gnu
31264
31265
31266fi
31267
31268  fi
31269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31270$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31271
31272  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31273    for ac_func in isinff
31274do :
31275  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31276if test "x$ac_cv_func_isinff" = xyes; then :
31277  cat >>confdefs.h <<_ACEOF
31278#define HAVE_ISINFF 1
31279_ACEOF
31280
31281fi
31282done
31283
31284  else
31285
31286  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31287$as_echo_n "checking for _isinff declaration... " >&6; }
31288  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31289    if ${glibcxx_cv_func__isinff_use+:} false; then :
31290  $as_echo_n "(cached) " >&6
31291else
31292
31293
31294      ac_ext=cpp
31295ac_cpp='$CXXCPP $CPPFLAGS'
31296ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31299
31300      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31301/* end confdefs.h.  */
31302#include <math.h>
31303		      #ifdef HAVE_IEEEFP_H
31304		      #include <ieeefp.h>
31305		      #endif
31306
31307int
31308main ()
31309{
31310 _isinff(0);
31311  ;
31312  return 0;
31313}
31314_ACEOF
31315if ac_fn_cxx_try_compile "$LINENO"; then :
31316  glibcxx_cv_func__isinff_use=yes
31317else
31318  glibcxx_cv_func__isinff_use=no
31319fi
31320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31321      ac_ext=c
31322ac_cpp='$CPP $CPPFLAGS'
31323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31325ac_compiler_gnu=$ac_cv_c_compiler_gnu
31326
31327
31328fi
31329
31330  fi
31331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31332$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31333
31334    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31335      for ac_func in _isinff
31336do :
31337  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31338if test "x$ac_cv_func__isinff" = xyes; then :
31339  cat >>confdefs.h <<_ACEOF
31340#define HAVE__ISINFF 1
31341_ACEOF
31342
31343fi
31344done
31345
31346    fi
31347  fi
31348
31349
31350
31351
31352
31353  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31354$as_echo_n "checking for atan2f declaration... " >&6; }
31355  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31356    if ${glibcxx_cv_func_atan2f_use+:} false; then :
31357  $as_echo_n "(cached) " >&6
31358else
31359
31360
31361      ac_ext=cpp
31362ac_cpp='$CXXCPP $CPPFLAGS'
31363ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31364ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31365ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31366
31367      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31368/* end confdefs.h.  */
31369#include <math.h>
31370int
31371main ()
31372{
31373 atan2f(0, 0);
31374  ;
31375  return 0;
31376}
31377_ACEOF
31378if ac_fn_cxx_try_compile "$LINENO"; then :
31379  glibcxx_cv_func_atan2f_use=yes
31380else
31381  glibcxx_cv_func_atan2f_use=no
31382fi
31383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31384      ac_ext=c
31385ac_cpp='$CPP $CPPFLAGS'
31386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31388ac_compiler_gnu=$ac_cv_c_compiler_gnu
31389
31390
31391fi
31392
31393  fi
31394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31395$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31396
31397  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31398    for ac_func in atan2f
31399do :
31400  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31401if test "x$ac_cv_func_atan2f" = xyes; then :
31402  cat >>confdefs.h <<_ACEOF
31403#define HAVE_ATAN2F 1
31404_ACEOF
31405
31406fi
31407done
31408
31409  else
31410
31411  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31412$as_echo_n "checking for _atan2f declaration... " >&6; }
31413  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31414    if ${glibcxx_cv_func__atan2f_use+:} false; then :
31415  $as_echo_n "(cached) " >&6
31416else
31417
31418
31419      ac_ext=cpp
31420ac_cpp='$CXXCPP $CPPFLAGS'
31421ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31424
31425      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31426/* end confdefs.h.  */
31427#include <math.h>
31428int
31429main ()
31430{
31431 _atan2f(0, 0);
31432  ;
31433  return 0;
31434}
31435_ACEOF
31436if ac_fn_cxx_try_compile "$LINENO"; then :
31437  glibcxx_cv_func__atan2f_use=yes
31438else
31439  glibcxx_cv_func__atan2f_use=no
31440fi
31441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31442      ac_ext=c
31443ac_cpp='$CPP $CPPFLAGS'
31444ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31445ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31446ac_compiler_gnu=$ac_cv_c_compiler_gnu
31447
31448
31449fi
31450
31451  fi
31452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31453$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31454
31455    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31456      for ac_func in _atan2f
31457do :
31458  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31459if test "x$ac_cv_func__atan2f" = xyes; then :
31460  cat >>confdefs.h <<_ACEOF
31461#define HAVE__ATAN2F 1
31462_ACEOF
31463
31464fi
31465done
31466
31467    fi
31468  fi
31469
31470
31471
31472
31473
31474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31475$as_echo_n "checking for fabsf declaration... " >&6; }
31476  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31477    if ${glibcxx_cv_func_fabsf_use+:} false; then :
31478  $as_echo_n "(cached) " >&6
31479else
31480
31481
31482      ac_ext=cpp
31483ac_cpp='$CXXCPP $CPPFLAGS'
31484ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31485ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31486ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31487
31488      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31489/* end confdefs.h.  */
31490#include <math.h>
31491		      #ifdef HAVE_IEEEFP_H
31492		      #include <ieeefp.h>
31493		      #endif
31494
31495int
31496main ()
31497{
31498 fabsf(0);
31499  ;
31500  return 0;
31501}
31502_ACEOF
31503if ac_fn_cxx_try_compile "$LINENO"; then :
31504  glibcxx_cv_func_fabsf_use=yes
31505else
31506  glibcxx_cv_func_fabsf_use=no
31507fi
31508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31509      ac_ext=c
31510ac_cpp='$CPP $CPPFLAGS'
31511ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31512ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31513ac_compiler_gnu=$ac_cv_c_compiler_gnu
31514
31515
31516fi
31517
31518  fi
31519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31520$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31521
31522  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31523    for ac_func in fabsf
31524do :
31525  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31526if test "x$ac_cv_func_fabsf" = xyes; then :
31527  cat >>confdefs.h <<_ACEOF
31528#define HAVE_FABSF 1
31529_ACEOF
31530
31531fi
31532done
31533
31534  else
31535
31536  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31537$as_echo_n "checking for _fabsf declaration... " >&6; }
31538  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31539    if ${glibcxx_cv_func__fabsf_use+:} false; then :
31540  $as_echo_n "(cached) " >&6
31541else
31542
31543
31544      ac_ext=cpp
31545ac_cpp='$CXXCPP $CPPFLAGS'
31546ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31547ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31548ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31549
31550      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31551/* end confdefs.h.  */
31552#include <math.h>
31553		      #ifdef HAVE_IEEEFP_H
31554		      #include <ieeefp.h>
31555		      #endif
31556
31557int
31558main ()
31559{
31560 _fabsf(0);
31561  ;
31562  return 0;
31563}
31564_ACEOF
31565if ac_fn_cxx_try_compile "$LINENO"; then :
31566  glibcxx_cv_func__fabsf_use=yes
31567else
31568  glibcxx_cv_func__fabsf_use=no
31569fi
31570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31571      ac_ext=c
31572ac_cpp='$CPP $CPPFLAGS'
31573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31575ac_compiler_gnu=$ac_cv_c_compiler_gnu
31576
31577
31578fi
31579
31580  fi
31581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31582$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31583
31584    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31585      for ac_func in _fabsf
31586do :
31587  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31588if test "x$ac_cv_func__fabsf" = xyes; then :
31589  cat >>confdefs.h <<_ACEOF
31590#define HAVE__FABSF 1
31591_ACEOF
31592
31593fi
31594done
31595
31596    fi
31597  fi
31598
31599
31600
31601
31602
31603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31604$as_echo_n "checking for fmodf declaration... " >&6; }
31605  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31606    if ${glibcxx_cv_func_fmodf_use+:} false; then :
31607  $as_echo_n "(cached) " >&6
31608else
31609
31610
31611      ac_ext=cpp
31612ac_cpp='$CXXCPP $CPPFLAGS'
31613ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31614ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31615ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31616
31617      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31618/* end confdefs.h.  */
31619#include <math.h>
31620int
31621main ()
31622{
31623 fmodf(0, 0);
31624  ;
31625  return 0;
31626}
31627_ACEOF
31628if ac_fn_cxx_try_compile "$LINENO"; then :
31629  glibcxx_cv_func_fmodf_use=yes
31630else
31631  glibcxx_cv_func_fmodf_use=no
31632fi
31633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31634      ac_ext=c
31635ac_cpp='$CPP $CPPFLAGS'
31636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31638ac_compiler_gnu=$ac_cv_c_compiler_gnu
31639
31640
31641fi
31642
31643  fi
31644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31645$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31646
31647  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31648    for ac_func in fmodf
31649do :
31650  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31651if test "x$ac_cv_func_fmodf" = xyes; then :
31652  cat >>confdefs.h <<_ACEOF
31653#define HAVE_FMODF 1
31654_ACEOF
31655
31656fi
31657done
31658
31659  else
31660
31661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31662$as_echo_n "checking for _fmodf declaration... " >&6; }
31663  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31664    if ${glibcxx_cv_func__fmodf_use+:} false; then :
31665  $as_echo_n "(cached) " >&6
31666else
31667
31668
31669      ac_ext=cpp
31670ac_cpp='$CXXCPP $CPPFLAGS'
31671ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31672ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31673ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31674
31675      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31676/* end confdefs.h.  */
31677#include <math.h>
31678int
31679main ()
31680{
31681 _fmodf(0, 0);
31682  ;
31683  return 0;
31684}
31685_ACEOF
31686if ac_fn_cxx_try_compile "$LINENO"; then :
31687  glibcxx_cv_func__fmodf_use=yes
31688else
31689  glibcxx_cv_func__fmodf_use=no
31690fi
31691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31692      ac_ext=c
31693ac_cpp='$CPP $CPPFLAGS'
31694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31696ac_compiler_gnu=$ac_cv_c_compiler_gnu
31697
31698
31699fi
31700
31701  fi
31702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31703$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31704
31705    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31706      for ac_func in _fmodf
31707do :
31708  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31709if test "x$ac_cv_func__fmodf" = xyes; then :
31710  cat >>confdefs.h <<_ACEOF
31711#define HAVE__FMODF 1
31712_ACEOF
31713
31714fi
31715done
31716
31717    fi
31718  fi
31719
31720
31721
31722
31723
31724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31725$as_echo_n "checking for frexpf declaration... " >&6; }
31726  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31727    if ${glibcxx_cv_func_frexpf_use+:} false; then :
31728  $as_echo_n "(cached) " >&6
31729else
31730
31731
31732      ac_ext=cpp
31733ac_cpp='$CXXCPP $CPPFLAGS'
31734ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31735ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31736ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31737
31738      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31739/* end confdefs.h.  */
31740#include <math.h>
31741int
31742main ()
31743{
31744 frexpf(0, 0);
31745  ;
31746  return 0;
31747}
31748_ACEOF
31749if ac_fn_cxx_try_compile "$LINENO"; then :
31750  glibcxx_cv_func_frexpf_use=yes
31751else
31752  glibcxx_cv_func_frexpf_use=no
31753fi
31754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31755      ac_ext=c
31756ac_cpp='$CPP $CPPFLAGS'
31757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31759ac_compiler_gnu=$ac_cv_c_compiler_gnu
31760
31761
31762fi
31763
31764  fi
31765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31766$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31767
31768  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31769    for ac_func in frexpf
31770do :
31771  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31772if test "x$ac_cv_func_frexpf" = xyes; then :
31773  cat >>confdefs.h <<_ACEOF
31774#define HAVE_FREXPF 1
31775_ACEOF
31776
31777fi
31778done
31779
31780  else
31781
31782  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31783$as_echo_n "checking for _frexpf declaration... " >&6; }
31784  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31785    if ${glibcxx_cv_func__frexpf_use+:} false; then :
31786  $as_echo_n "(cached) " >&6
31787else
31788
31789
31790      ac_ext=cpp
31791ac_cpp='$CXXCPP $CPPFLAGS'
31792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31795
31796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31797/* end confdefs.h.  */
31798#include <math.h>
31799int
31800main ()
31801{
31802 _frexpf(0, 0);
31803  ;
31804  return 0;
31805}
31806_ACEOF
31807if ac_fn_cxx_try_compile "$LINENO"; then :
31808  glibcxx_cv_func__frexpf_use=yes
31809else
31810  glibcxx_cv_func__frexpf_use=no
31811fi
31812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31813      ac_ext=c
31814ac_cpp='$CPP $CPPFLAGS'
31815ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31816ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31817ac_compiler_gnu=$ac_cv_c_compiler_gnu
31818
31819
31820fi
31821
31822  fi
31823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31824$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31825
31826    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31827      for ac_func in _frexpf
31828do :
31829  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31830if test "x$ac_cv_func__frexpf" = xyes; then :
31831  cat >>confdefs.h <<_ACEOF
31832#define HAVE__FREXPF 1
31833_ACEOF
31834
31835fi
31836done
31837
31838    fi
31839  fi
31840
31841
31842
31843
31844
31845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31846$as_echo_n "checking for hypotf declaration... " >&6; }
31847  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31848    if ${glibcxx_cv_func_hypotf_use+:} false; then :
31849  $as_echo_n "(cached) " >&6
31850else
31851
31852
31853      ac_ext=cpp
31854ac_cpp='$CXXCPP $CPPFLAGS'
31855ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31858
31859      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31860/* end confdefs.h.  */
31861#include <math.h>
31862int
31863main ()
31864{
31865 hypotf(0, 0);
31866  ;
31867  return 0;
31868}
31869_ACEOF
31870if ac_fn_cxx_try_compile "$LINENO"; then :
31871  glibcxx_cv_func_hypotf_use=yes
31872else
31873  glibcxx_cv_func_hypotf_use=no
31874fi
31875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31876      ac_ext=c
31877ac_cpp='$CPP $CPPFLAGS'
31878ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31879ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31880ac_compiler_gnu=$ac_cv_c_compiler_gnu
31881
31882
31883fi
31884
31885  fi
31886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31887$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31888
31889  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31890    for ac_func in hypotf
31891do :
31892  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31893if test "x$ac_cv_func_hypotf" = xyes; then :
31894  cat >>confdefs.h <<_ACEOF
31895#define HAVE_HYPOTF 1
31896_ACEOF
31897
31898fi
31899done
31900
31901  else
31902
31903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31904$as_echo_n "checking for _hypotf declaration... " >&6; }
31905  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31906    if ${glibcxx_cv_func__hypotf_use+:} false; then :
31907  $as_echo_n "(cached) " >&6
31908else
31909
31910
31911      ac_ext=cpp
31912ac_cpp='$CXXCPP $CPPFLAGS'
31913ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31914ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31915ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31916
31917      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31918/* end confdefs.h.  */
31919#include <math.h>
31920int
31921main ()
31922{
31923 _hypotf(0, 0);
31924  ;
31925  return 0;
31926}
31927_ACEOF
31928if ac_fn_cxx_try_compile "$LINENO"; then :
31929  glibcxx_cv_func__hypotf_use=yes
31930else
31931  glibcxx_cv_func__hypotf_use=no
31932fi
31933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31934      ac_ext=c
31935ac_cpp='$CPP $CPPFLAGS'
31936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938ac_compiler_gnu=$ac_cv_c_compiler_gnu
31939
31940
31941fi
31942
31943  fi
31944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31945$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31946
31947    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31948      for ac_func in _hypotf
31949do :
31950  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31951if test "x$ac_cv_func__hypotf" = xyes; then :
31952  cat >>confdefs.h <<_ACEOF
31953#define HAVE__HYPOTF 1
31954_ACEOF
31955
31956fi
31957done
31958
31959    fi
31960  fi
31961
31962
31963
31964
31965
31966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31967$as_echo_n "checking for ldexpf declaration... " >&6; }
31968  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31969    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31970  $as_echo_n "(cached) " >&6
31971else
31972
31973
31974      ac_ext=cpp
31975ac_cpp='$CXXCPP $CPPFLAGS'
31976ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31977ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31978ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31979
31980      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31981/* end confdefs.h.  */
31982#include <math.h>
31983int
31984main ()
31985{
31986 ldexpf(0, 0);
31987  ;
31988  return 0;
31989}
31990_ACEOF
31991if ac_fn_cxx_try_compile "$LINENO"; then :
31992  glibcxx_cv_func_ldexpf_use=yes
31993else
31994  glibcxx_cv_func_ldexpf_use=no
31995fi
31996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31997      ac_ext=c
31998ac_cpp='$CPP $CPPFLAGS'
31999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32001ac_compiler_gnu=$ac_cv_c_compiler_gnu
32002
32003
32004fi
32005
32006  fi
32007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
32008$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
32009
32010  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32011    for ac_func in ldexpf
32012do :
32013  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
32014if test "x$ac_cv_func_ldexpf" = xyes; then :
32015  cat >>confdefs.h <<_ACEOF
32016#define HAVE_LDEXPF 1
32017_ACEOF
32018
32019fi
32020done
32021
32022  else
32023
32024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
32025$as_echo_n "checking for _ldexpf declaration... " >&6; }
32026  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32027    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
32028  $as_echo_n "(cached) " >&6
32029else
32030
32031
32032      ac_ext=cpp
32033ac_cpp='$CXXCPP $CPPFLAGS'
32034ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32035ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32036ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32037
32038      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32039/* end confdefs.h.  */
32040#include <math.h>
32041int
32042main ()
32043{
32044 _ldexpf(0, 0);
32045  ;
32046  return 0;
32047}
32048_ACEOF
32049if ac_fn_cxx_try_compile "$LINENO"; then :
32050  glibcxx_cv_func__ldexpf_use=yes
32051else
32052  glibcxx_cv_func__ldexpf_use=no
32053fi
32054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32055      ac_ext=c
32056ac_cpp='$CPP $CPPFLAGS'
32057ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32058ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32059ac_compiler_gnu=$ac_cv_c_compiler_gnu
32060
32061
32062fi
32063
32064  fi
32065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
32066$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
32067
32068    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32069      for ac_func in _ldexpf
32070do :
32071  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
32072if test "x$ac_cv_func__ldexpf" = xyes; then :
32073  cat >>confdefs.h <<_ACEOF
32074#define HAVE__LDEXPF 1
32075_ACEOF
32076
32077fi
32078done
32079
32080    fi
32081  fi
32082
32083
32084
32085
32086
32087  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
32088$as_echo_n "checking for logf declaration... " >&6; }
32089  if test x${glibcxx_cv_func_logf_use+set} != xset; then
32090    if ${glibcxx_cv_func_logf_use+:} false; then :
32091  $as_echo_n "(cached) " >&6
32092else
32093
32094
32095      ac_ext=cpp
32096ac_cpp='$CXXCPP $CPPFLAGS'
32097ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32098ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32099ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32100
32101      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32102/* end confdefs.h.  */
32103#include <math.h>
32104		      #ifdef HAVE_IEEEFP_H
32105		      #include <ieeefp.h>
32106		      #endif
32107
32108int
32109main ()
32110{
32111 logf(0);
32112  ;
32113  return 0;
32114}
32115_ACEOF
32116if ac_fn_cxx_try_compile "$LINENO"; then :
32117  glibcxx_cv_func_logf_use=yes
32118else
32119  glibcxx_cv_func_logf_use=no
32120fi
32121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32122      ac_ext=c
32123ac_cpp='$CPP $CPPFLAGS'
32124ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32125ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32126ac_compiler_gnu=$ac_cv_c_compiler_gnu
32127
32128
32129fi
32130
32131  fi
32132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
32133$as_echo "$glibcxx_cv_func_logf_use" >&6; }
32134
32135  if test x$glibcxx_cv_func_logf_use = x"yes"; then
32136    for ac_func in logf
32137do :
32138  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
32139if test "x$ac_cv_func_logf" = xyes; then :
32140  cat >>confdefs.h <<_ACEOF
32141#define HAVE_LOGF 1
32142_ACEOF
32143
32144fi
32145done
32146
32147  else
32148
32149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
32150$as_echo_n "checking for _logf declaration... " >&6; }
32151  if test x${glibcxx_cv_func__logf_use+set} != xset; then
32152    if ${glibcxx_cv_func__logf_use+:} false; then :
32153  $as_echo_n "(cached) " >&6
32154else
32155
32156
32157      ac_ext=cpp
32158ac_cpp='$CXXCPP $CPPFLAGS'
32159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32162
32163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32164/* end confdefs.h.  */
32165#include <math.h>
32166		      #ifdef HAVE_IEEEFP_H
32167		      #include <ieeefp.h>
32168		      #endif
32169
32170int
32171main ()
32172{
32173 _logf(0);
32174  ;
32175  return 0;
32176}
32177_ACEOF
32178if ac_fn_cxx_try_compile "$LINENO"; then :
32179  glibcxx_cv_func__logf_use=yes
32180else
32181  glibcxx_cv_func__logf_use=no
32182fi
32183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32184      ac_ext=c
32185ac_cpp='$CPP $CPPFLAGS'
32186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32188ac_compiler_gnu=$ac_cv_c_compiler_gnu
32189
32190
32191fi
32192
32193  fi
32194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
32195$as_echo "$glibcxx_cv_func__logf_use" >&6; }
32196
32197    if test x$glibcxx_cv_func__logf_use = x"yes"; then
32198      for ac_func in _logf
32199do :
32200  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
32201if test "x$ac_cv_func__logf" = xyes; then :
32202  cat >>confdefs.h <<_ACEOF
32203#define HAVE__LOGF 1
32204_ACEOF
32205
32206fi
32207done
32208
32209    fi
32210  fi
32211
32212
32213
32214
32215
32216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32217$as_echo_n "checking for log10f declaration... " >&6; }
32218  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32219    if ${glibcxx_cv_func_log10f_use+:} false; then :
32220  $as_echo_n "(cached) " >&6
32221else
32222
32223
32224      ac_ext=cpp
32225ac_cpp='$CXXCPP $CPPFLAGS'
32226ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32227ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32228ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32229
32230      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32231/* end confdefs.h.  */
32232#include <math.h>
32233		      #ifdef HAVE_IEEEFP_H
32234		      #include <ieeefp.h>
32235		      #endif
32236
32237int
32238main ()
32239{
32240 log10f(0);
32241  ;
32242  return 0;
32243}
32244_ACEOF
32245if ac_fn_cxx_try_compile "$LINENO"; then :
32246  glibcxx_cv_func_log10f_use=yes
32247else
32248  glibcxx_cv_func_log10f_use=no
32249fi
32250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32251      ac_ext=c
32252ac_cpp='$CPP $CPPFLAGS'
32253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32255ac_compiler_gnu=$ac_cv_c_compiler_gnu
32256
32257
32258fi
32259
32260  fi
32261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32262$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32263
32264  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32265    for ac_func in log10f
32266do :
32267  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32268if test "x$ac_cv_func_log10f" = xyes; then :
32269  cat >>confdefs.h <<_ACEOF
32270#define HAVE_LOG10F 1
32271_ACEOF
32272
32273fi
32274done
32275
32276  else
32277
32278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32279$as_echo_n "checking for _log10f declaration... " >&6; }
32280  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32281    if ${glibcxx_cv_func__log10f_use+:} false; then :
32282  $as_echo_n "(cached) " >&6
32283else
32284
32285
32286      ac_ext=cpp
32287ac_cpp='$CXXCPP $CPPFLAGS'
32288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32290ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32291
32292      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32293/* end confdefs.h.  */
32294#include <math.h>
32295		      #ifdef HAVE_IEEEFP_H
32296		      #include <ieeefp.h>
32297		      #endif
32298
32299int
32300main ()
32301{
32302 _log10f(0);
32303  ;
32304  return 0;
32305}
32306_ACEOF
32307if ac_fn_cxx_try_compile "$LINENO"; then :
32308  glibcxx_cv_func__log10f_use=yes
32309else
32310  glibcxx_cv_func__log10f_use=no
32311fi
32312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32313      ac_ext=c
32314ac_cpp='$CPP $CPPFLAGS'
32315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32317ac_compiler_gnu=$ac_cv_c_compiler_gnu
32318
32319
32320fi
32321
32322  fi
32323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32324$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32325
32326    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32327      for ac_func in _log10f
32328do :
32329  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32330if test "x$ac_cv_func__log10f" = xyes; then :
32331  cat >>confdefs.h <<_ACEOF
32332#define HAVE__LOG10F 1
32333_ACEOF
32334
32335fi
32336done
32337
32338    fi
32339  fi
32340
32341
32342
32343
32344
32345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32346$as_echo_n "checking for modff declaration... " >&6; }
32347  if test x${glibcxx_cv_func_modff_use+set} != xset; then
32348    if ${glibcxx_cv_func_modff_use+:} false; then :
32349  $as_echo_n "(cached) " >&6
32350else
32351
32352
32353      ac_ext=cpp
32354ac_cpp='$CXXCPP $CPPFLAGS'
32355ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32356ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32357ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32358
32359      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32360/* end confdefs.h.  */
32361#include <math.h>
32362int
32363main ()
32364{
32365 modff(0, 0);
32366  ;
32367  return 0;
32368}
32369_ACEOF
32370if ac_fn_cxx_try_compile "$LINENO"; then :
32371  glibcxx_cv_func_modff_use=yes
32372else
32373  glibcxx_cv_func_modff_use=no
32374fi
32375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32376      ac_ext=c
32377ac_cpp='$CPP $CPPFLAGS'
32378ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32379ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32380ac_compiler_gnu=$ac_cv_c_compiler_gnu
32381
32382
32383fi
32384
32385  fi
32386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32387$as_echo "$glibcxx_cv_func_modff_use" >&6; }
32388
32389  if test x$glibcxx_cv_func_modff_use = x"yes"; then
32390    for ac_func in modff
32391do :
32392  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32393if test "x$ac_cv_func_modff" = xyes; then :
32394  cat >>confdefs.h <<_ACEOF
32395#define HAVE_MODFF 1
32396_ACEOF
32397
32398fi
32399done
32400
32401  else
32402
32403  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32404$as_echo_n "checking for _modff declaration... " >&6; }
32405  if test x${glibcxx_cv_func__modff_use+set} != xset; then
32406    if ${glibcxx_cv_func__modff_use+:} false; then :
32407  $as_echo_n "(cached) " >&6
32408else
32409
32410
32411      ac_ext=cpp
32412ac_cpp='$CXXCPP $CPPFLAGS'
32413ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32414ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32415ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32416
32417      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32418/* end confdefs.h.  */
32419#include <math.h>
32420int
32421main ()
32422{
32423 _modff(0, 0);
32424  ;
32425  return 0;
32426}
32427_ACEOF
32428if ac_fn_cxx_try_compile "$LINENO"; then :
32429  glibcxx_cv_func__modff_use=yes
32430else
32431  glibcxx_cv_func__modff_use=no
32432fi
32433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32434      ac_ext=c
32435ac_cpp='$CPP $CPPFLAGS'
32436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32438ac_compiler_gnu=$ac_cv_c_compiler_gnu
32439
32440
32441fi
32442
32443  fi
32444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32445$as_echo "$glibcxx_cv_func__modff_use" >&6; }
32446
32447    if test x$glibcxx_cv_func__modff_use = x"yes"; then
32448      for ac_func in _modff
32449do :
32450  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32451if test "x$ac_cv_func__modff" = xyes; then :
32452  cat >>confdefs.h <<_ACEOF
32453#define HAVE__MODFF 1
32454_ACEOF
32455
32456fi
32457done
32458
32459    fi
32460  fi
32461
32462
32463
32464
32465
32466  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32467$as_echo_n "checking for modf declaration... " >&6; }
32468  if test x${glibcxx_cv_func_modf_use+set} != xset; then
32469    if ${glibcxx_cv_func_modf_use+:} false; then :
32470  $as_echo_n "(cached) " >&6
32471else
32472
32473
32474      ac_ext=cpp
32475ac_cpp='$CXXCPP $CPPFLAGS'
32476ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32477ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32478ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32479
32480      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32481/* end confdefs.h.  */
32482#include <math.h>
32483int
32484main ()
32485{
32486 modf(0, 0);
32487  ;
32488  return 0;
32489}
32490_ACEOF
32491if ac_fn_cxx_try_compile "$LINENO"; then :
32492  glibcxx_cv_func_modf_use=yes
32493else
32494  glibcxx_cv_func_modf_use=no
32495fi
32496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32497      ac_ext=c
32498ac_cpp='$CPP $CPPFLAGS'
32499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32501ac_compiler_gnu=$ac_cv_c_compiler_gnu
32502
32503
32504fi
32505
32506  fi
32507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32508$as_echo "$glibcxx_cv_func_modf_use" >&6; }
32509
32510  if test x$glibcxx_cv_func_modf_use = x"yes"; then
32511    for ac_func in modf
32512do :
32513  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32514if test "x$ac_cv_func_modf" = xyes; then :
32515  cat >>confdefs.h <<_ACEOF
32516#define HAVE_MODF 1
32517_ACEOF
32518
32519fi
32520done
32521
32522  else
32523
32524  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32525$as_echo_n "checking for _modf declaration... " >&6; }
32526  if test x${glibcxx_cv_func__modf_use+set} != xset; then
32527    if ${glibcxx_cv_func__modf_use+:} false; then :
32528  $as_echo_n "(cached) " >&6
32529else
32530
32531
32532      ac_ext=cpp
32533ac_cpp='$CXXCPP $CPPFLAGS'
32534ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32535ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32536ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32537
32538      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32539/* end confdefs.h.  */
32540#include <math.h>
32541int
32542main ()
32543{
32544 _modf(0, 0);
32545  ;
32546  return 0;
32547}
32548_ACEOF
32549if ac_fn_cxx_try_compile "$LINENO"; then :
32550  glibcxx_cv_func__modf_use=yes
32551else
32552  glibcxx_cv_func__modf_use=no
32553fi
32554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32555      ac_ext=c
32556ac_cpp='$CPP $CPPFLAGS'
32557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32559ac_compiler_gnu=$ac_cv_c_compiler_gnu
32560
32561
32562fi
32563
32564  fi
32565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32566$as_echo "$glibcxx_cv_func__modf_use" >&6; }
32567
32568    if test x$glibcxx_cv_func__modf_use = x"yes"; then
32569      for ac_func in _modf
32570do :
32571  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32572if test "x$ac_cv_func__modf" = xyes; then :
32573  cat >>confdefs.h <<_ACEOF
32574#define HAVE__MODF 1
32575_ACEOF
32576
32577fi
32578done
32579
32580    fi
32581  fi
32582
32583
32584
32585
32586
32587  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32588$as_echo_n "checking for powf declaration... " >&6; }
32589  if test x${glibcxx_cv_func_powf_use+set} != xset; then
32590    if ${glibcxx_cv_func_powf_use+:} false; then :
32591  $as_echo_n "(cached) " >&6
32592else
32593
32594
32595      ac_ext=cpp
32596ac_cpp='$CXXCPP $CPPFLAGS'
32597ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32598ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32599ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32600
32601      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32602/* end confdefs.h.  */
32603#include <math.h>
32604int
32605main ()
32606{
32607 powf(0, 0);
32608  ;
32609  return 0;
32610}
32611_ACEOF
32612if ac_fn_cxx_try_compile "$LINENO"; then :
32613  glibcxx_cv_func_powf_use=yes
32614else
32615  glibcxx_cv_func_powf_use=no
32616fi
32617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32618      ac_ext=c
32619ac_cpp='$CPP $CPPFLAGS'
32620ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32621ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32622ac_compiler_gnu=$ac_cv_c_compiler_gnu
32623
32624
32625fi
32626
32627  fi
32628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32629$as_echo "$glibcxx_cv_func_powf_use" >&6; }
32630
32631  if test x$glibcxx_cv_func_powf_use = x"yes"; then
32632    for ac_func in powf
32633do :
32634  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32635if test "x$ac_cv_func_powf" = xyes; then :
32636  cat >>confdefs.h <<_ACEOF
32637#define HAVE_POWF 1
32638_ACEOF
32639
32640fi
32641done
32642
32643  else
32644
32645  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32646$as_echo_n "checking for _powf declaration... " >&6; }
32647  if test x${glibcxx_cv_func__powf_use+set} != xset; then
32648    if ${glibcxx_cv_func__powf_use+:} false; then :
32649  $as_echo_n "(cached) " >&6
32650else
32651
32652
32653      ac_ext=cpp
32654ac_cpp='$CXXCPP $CPPFLAGS'
32655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32658
32659      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32660/* end confdefs.h.  */
32661#include <math.h>
32662int
32663main ()
32664{
32665 _powf(0, 0);
32666  ;
32667  return 0;
32668}
32669_ACEOF
32670if ac_fn_cxx_try_compile "$LINENO"; then :
32671  glibcxx_cv_func__powf_use=yes
32672else
32673  glibcxx_cv_func__powf_use=no
32674fi
32675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32676      ac_ext=c
32677ac_cpp='$CPP $CPPFLAGS'
32678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680ac_compiler_gnu=$ac_cv_c_compiler_gnu
32681
32682
32683fi
32684
32685  fi
32686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32687$as_echo "$glibcxx_cv_func__powf_use" >&6; }
32688
32689    if test x$glibcxx_cv_func__powf_use = x"yes"; then
32690      for ac_func in _powf
32691do :
32692  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32693if test "x$ac_cv_func__powf" = xyes; then :
32694  cat >>confdefs.h <<_ACEOF
32695#define HAVE__POWF 1
32696_ACEOF
32697
32698fi
32699done
32700
32701    fi
32702  fi
32703
32704
32705
32706
32707
32708  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32709$as_echo_n "checking for sqrtf declaration... " >&6; }
32710  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32711    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32712  $as_echo_n "(cached) " >&6
32713else
32714
32715
32716      ac_ext=cpp
32717ac_cpp='$CXXCPP $CPPFLAGS'
32718ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32719ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32720ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32721
32722      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32723/* end confdefs.h.  */
32724#include <math.h>
32725		      #ifdef HAVE_IEEEFP_H
32726		      #include <ieeefp.h>
32727		      #endif
32728
32729int
32730main ()
32731{
32732 sqrtf(0);
32733  ;
32734  return 0;
32735}
32736_ACEOF
32737if ac_fn_cxx_try_compile "$LINENO"; then :
32738  glibcxx_cv_func_sqrtf_use=yes
32739else
32740  glibcxx_cv_func_sqrtf_use=no
32741fi
32742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32743      ac_ext=c
32744ac_cpp='$CPP $CPPFLAGS'
32745ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32746ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32747ac_compiler_gnu=$ac_cv_c_compiler_gnu
32748
32749
32750fi
32751
32752  fi
32753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32754$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32755
32756  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32757    for ac_func in sqrtf
32758do :
32759  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32760if test "x$ac_cv_func_sqrtf" = xyes; then :
32761  cat >>confdefs.h <<_ACEOF
32762#define HAVE_SQRTF 1
32763_ACEOF
32764
32765fi
32766done
32767
32768  else
32769
32770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32771$as_echo_n "checking for _sqrtf declaration... " >&6; }
32772  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32773    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32774  $as_echo_n "(cached) " >&6
32775else
32776
32777
32778      ac_ext=cpp
32779ac_cpp='$CXXCPP $CPPFLAGS'
32780ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32781ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32782ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32783
32784      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32785/* end confdefs.h.  */
32786#include <math.h>
32787		      #ifdef HAVE_IEEEFP_H
32788		      #include <ieeefp.h>
32789		      #endif
32790
32791int
32792main ()
32793{
32794 _sqrtf(0);
32795  ;
32796  return 0;
32797}
32798_ACEOF
32799if ac_fn_cxx_try_compile "$LINENO"; then :
32800  glibcxx_cv_func__sqrtf_use=yes
32801else
32802  glibcxx_cv_func__sqrtf_use=no
32803fi
32804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32805      ac_ext=c
32806ac_cpp='$CPP $CPPFLAGS'
32807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32809ac_compiler_gnu=$ac_cv_c_compiler_gnu
32810
32811
32812fi
32813
32814  fi
32815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32816$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32817
32818    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32819      for ac_func in _sqrtf
32820do :
32821  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32822if test "x$ac_cv_func__sqrtf" = xyes; then :
32823  cat >>confdefs.h <<_ACEOF
32824#define HAVE__SQRTF 1
32825_ACEOF
32826
32827fi
32828done
32829
32830    fi
32831  fi
32832
32833
32834
32835
32836
32837  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32838$as_echo_n "checking for sincosf declaration... " >&6; }
32839  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32840    if ${glibcxx_cv_func_sincosf_use+:} false; then :
32841  $as_echo_n "(cached) " >&6
32842else
32843
32844
32845      ac_ext=cpp
32846ac_cpp='$CXXCPP $CPPFLAGS'
32847ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32848ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32849ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32850
32851      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32852/* end confdefs.h.  */
32853#include <math.h>
32854int
32855main ()
32856{
32857 sincosf(0, 0, 0);
32858  ;
32859  return 0;
32860}
32861_ACEOF
32862if ac_fn_cxx_try_compile "$LINENO"; then :
32863  glibcxx_cv_func_sincosf_use=yes
32864else
32865  glibcxx_cv_func_sincosf_use=no
32866fi
32867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32868      ac_ext=c
32869ac_cpp='$CPP $CPPFLAGS'
32870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32872ac_compiler_gnu=$ac_cv_c_compiler_gnu
32873
32874
32875fi
32876
32877  fi
32878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32879$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32880
32881  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32882    for ac_func in sincosf
32883do :
32884  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32885if test "x$ac_cv_func_sincosf" = xyes; then :
32886  cat >>confdefs.h <<_ACEOF
32887#define HAVE_SINCOSF 1
32888_ACEOF
32889
32890fi
32891done
32892
32893  else
32894
32895  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32896$as_echo_n "checking for _sincosf declaration... " >&6; }
32897  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32898    if ${glibcxx_cv_func__sincosf_use+:} false; then :
32899  $as_echo_n "(cached) " >&6
32900else
32901
32902
32903      ac_ext=cpp
32904ac_cpp='$CXXCPP $CPPFLAGS'
32905ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32906ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32907ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32908
32909      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32910/* end confdefs.h.  */
32911#include <math.h>
32912int
32913main ()
32914{
32915 _sincosf(0, 0, 0);
32916  ;
32917  return 0;
32918}
32919_ACEOF
32920if ac_fn_cxx_try_compile "$LINENO"; then :
32921  glibcxx_cv_func__sincosf_use=yes
32922else
32923  glibcxx_cv_func__sincosf_use=no
32924fi
32925rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32926      ac_ext=c
32927ac_cpp='$CPP $CPPFLAGS'
32928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32930ac_compiler_gnu=$ac_cv_c_compiler_gnu
32931
32932
32933fi
32934
32935  fi
32936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32937$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32938
32939    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32940      for ac_func in _sincosf
32941do :
32942  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32943if test "x$ac_cv_func__sincosf" = xyes; then :
32944  cat >>confdefs.h <<_ACEOF
32945#define HAVE__SINCOSF 1
32946_ACEOF
32947
32948fi
32949done
32950
32951    fi
32952  fi
32953
32954
32955
32956
32957
32958  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32959$as_echo_n "checking for finitef declaration... " >&6; }
32960  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32961    if ${glibcxx_cv_func_finitef_use+:} false; then :
32962  $as_echo_n "(cached) " >&6
32963else
32964
32965
32966      ac_ext=cpp
32967ac_cpp='$CXXCPP $CPPFLAGS'
32968ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32969ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32970ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32971
32972      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32973/* end confdefs.h.  */
32974#include <math.h>
32975		      #ifdef HAVE_IEEEFP_H
32976		      #include <ieeefp.h>
32977		      #endif
32978
32979int
32980main ()
32981{
32982 finitef(0);
32983  ;
32984  return 0;
32985}
32986_ACEOF
32987if ac_fn_cxx_try_compile "$LINENO"; then :
32988  glibcxx_cv_func_finitef_use=yes
32989else
32990  glibcxx_cv_func_finitef_use=no
32991fi
32992rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32993      ac_ext=c
32994ac_cpp='$CPP $CPPFLAGS'
32995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32997ac_compiler_gnu=$ac_cv_c_compiler_gnu
32998
32999
33000fi
33001
33002  fi
33003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
33004$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
33005
33006  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33007    for ac_func in finitef
33008do :
33009  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
33010if test "x$ac_cv_func_finitef" = xyes; then :
33011  cat >>confdefs.h <<_ACEOF
33012#define HAVE_FINITEF 1
33013_ACEOF
33014
33015fi
33016done
33017
33018  else
33019
33020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
33021$as_echo_n "checking for _finitef declaration... " >&6; }
33022  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33023    if ${glibcxx_cv_func__finitef_use+:} false; then :
33024  $as_echo_n "(cached) " >&6
33025else
33026
33027
33028      ac_ext=cpp
33029ac_cpp='$CXXCPP $CPPFLAGS'
33030ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33031ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33032ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33033
33034      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33035/* end confdefs.h.  */
33036#include <math.h>
33037		      #ifdef HAVE_IEEEFP_H
33038		      #include <ieeefp.h>
33039		      #endif
33040
33041int
33042main ()
33043{
33044 _finitef(0);
33045  ;
33046  return 0;
33047}
33048_ACEOF
33049if ac_fn_cxx_try_compile "$LINENO"; then :
33050  glibcxx_cv_func__finitef_use=yes
33051else
33052  glibcxx_cv_func__finitef_use=no
33053fi
33054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33055      ac_ext=c
33056ac_cpp='$CPP $CPPFLAGS'
33057ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33058ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33059ac_compiler_gnu=$ac_cv_c_compiler_gnu
33060
33061
33062fi
33063
33064  fi
33065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
33066$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
33067
33068    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33069      for ac_func in _finitef
33070do :
33071  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
33072if test "x$ac_cv_func__finitef" = xyes; then :
33073  cat >>confdefs.h <<_ACEOF
33074#define HAVE__FINITEF 1
33075_ACEOF
33076
33077fi
33078done
33079
33080    fi
33081  fi
33082
33083
33084
33085
33086
33087    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
33088$as_echo_n "checking for long double trig functions... " >&6; }
33089  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
33090  $as_echo_n "(cached) " >&6
33091else
33092
33093
33094    ac_ext=cpp
33095ac_cpp='$CXXCPP $CPPFLAGS'
33096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33099
33100    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33101/* end confdefs.h.  */
33102#include <math.h>
33103int
33104main ()
33105{
33106acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33107  ;
33108  return 0;
33109}
33110_ACEOF
33111if ac_fn_cxx_try_compile "$LINENO"; then :
33112  glibcxx_cv_func_long_double_trig_use=yes
33113else
33114  glibcxx_cv_func_long_double_trig_use=no
33115fi
33116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33117    ac_ext=c
33118ac_cpp='$CPP $CPPFLAGS'
33119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33121ac_compiler_gnu=$ac_cv_c_compiler_gnu
33122
33123fi
33124
33125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
33126$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
33127  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33128    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33129do :
33130  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33131ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33132if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33133  cat >>confdefs.h <<_ACEOF
33134#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33135_ACEOF
33136
33137fi
33138done
33139
33140  else
33141    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
33142$as_echo_n "checking for _long double trig functions... " >&6; }
33143    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
33144  $as_echo_n "(cached) " >&6
33145else
33146
33147
33148      ac_ext=cpp
33149ac_cpp='$CXXCPP $CPPFLAGS'
33150ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33151ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33152ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33153
33154      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33155/* end confdefs.h.  */
33156#include <math.h>
33157int
33158main ()
33159{
33160_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33161  ;
33162  return 0;
33163}
33164_ACEOF
33165if ac_fn_cxx_try_compile "$LINENO"; then :
33166  glibcxx_cv_func__long_double_trig_use=yes
33167else
33168  glibcxx_cv_func__long_double_trig_use=no
33169fi
33170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33171      ac_ext=c
33172ac_cpp='$CPP $CPPFLAGS'
33173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175ac_compiler_gnu=$ac_cv_c_compiler_gnu
33176
33177fi
33178
33179    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33180$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33181    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33182      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33183do :
33184  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33185ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33186if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33187  cat >>confdefs.h <<_ACEOF
33188#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33189_ACEOF
33190
33191fi
33192done
33193
33194    fi
33195  fi
33196
33197
33198
33199
33200
33201    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33202$as_echo_n "checking for long double round functions... " >&6; }
33203  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33204  $as_echo_n "(cached) " >&6
33205else
33206
33207
33208    ac_ext=cpp
33209ac_cpp='$CXXCPP $CPPFLAGS'
33210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33213
33214    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33215/* end confdefs.h.  */
33216#include <math.h>
33217int
33218main ()
33219{
33220ceill (0); floorl (0);
33221  ;
33222  return 0;
33223}
33224_ACEOF
33225if ac_fn_cxx_try_compile "$LINENO"; then :
33226  glibcxx_cv_func_long_double_round_use=yes
33227else
33228  glibcxx_cv_func_long_double_round_use=no
33229fi
33230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33231    ac_ext=c
33232ac_cpp='$CPP $CPPFLAGS'
33233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33235ac_compiler_gnu=$ac_cv_c_compiler_gnu
33236
33237fi
33238
33239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33240$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33241  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33242    for ac_func in ceill floorl
33243do :
33244  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33245ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33246if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33247  cat >>confdefs.h <<_ACEOF
33248#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33249_ACEOF
33250
33251fi
33252done
33253
33254  else
33255    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33256$as_echo_n "checking for _long double round functions... " >&6; }
33257    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33258  $as_echo_n "(cached) " >&6
33259else
33260
33261
33262      ac_ext=cpp
33263ac_cpp='$CXXCPP $CPPFLAGS'
33264ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33265ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33266ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33267
33268      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33269/* end confdefs.h.  */
33270#include <math.h>
33271int
33272main ()
33273{
33274_ceill (0); _floorl (0);
33275  ;
33276  return 0;
33277}
33278_ACEOF
33279if ac_fn_cxx_try_compile "$LINENO"; then :
33280  glibcxx_cv_func__long_double_round_use=yes
33281else
33282  glibcxx_cv_func__long_double_round_use=no
33283fi
33284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33285      ac_ext=c
33286ac_cpp='$CPP $CPPFLAGS'
33287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33289ac_compiler_gnu=$ac_cv_c_compiler_gnu
33290
33291fi
33292
33293    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33294$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33295    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33296      for ac_func in _ceill _floorl
33297do :
33298  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33299ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33300if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33301  cat >>confdefs.h <<_ACEOF
33302#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33303_ACEOF
33304
33305fi
33306done
33307
33308    fi
33309  fi
33310
33311
33312
33313
33314
33315
33316  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33317$as_echo_n "checking for isnanl declaration... " >&6; }
33318  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33319    if ${glibcxx_cv_func_isnanl_use+:} false; then :
33320  $as_echo_n "(cached) " >&6
33321else
33322
33323
33324      ac_ext=cpp
33325ac_cpp='$CXXCPP $CPPFLAGS'
33326ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33327ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33328ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33329
33330      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33331/* end confdefs.h.  */
33332#include <math.h>
33333		      #ifdef HAVE_IEEEFP_H
33334		      #include <ieeefp.h>
33335		      #endif
33336
33337int
33338main ()
33339{
33340 isnanl(0);
33341  ;
33342  return 0;
33343}
33344_ACEOF
33345if ac_fn_cxx_try_compile "$LINENO"; then :
33346  glibcxx_cv_func_isnanl_use=yes
33347else
33348  glibcxx_cv_func_isnanl_use=no
33349fi
33350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33351      ac_ext=c
33352ac_cpp='$CPP $CPPFLAGS'
33353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355ac_compiler_gnu=$ac_cv_c_compiler_gnu
33356
33357
33358fi
33359
33360  fi
33361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33362$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33363
33364  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33365    for ac_func in isnanl
33366do :
33367  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33368if test "x$ac_cv_func_isnanl" = xyes; then :
33369  cat >>confdefs.h <<_ACEOF
33370#define HAVE_ISNANL 1
33371_ACEOF
33372
33373fi
33374done
33375
33376  else
33377
33378  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33379$as_echo_n "checking for _isnanl declaration... " >&6; }
33380  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33381    if ${glibcxx_cv_func__isnanl_use+:} false; then :
33382  $as_echo_n "(cached) " >&6
33383else
33384
33385
33386      ac_ext=cpp
33387ac_cpp='$CXXCPP $CPPFLAGS'
33388ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33389ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33390ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33391
33392      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33393/* end confdefs.h.  */
33394#include <math.h>
33395		      #ifdef HAVE_IEEEFP_H
33396		      #include <ieeefp.h>
33397		      #endif
33398
33399int
33400main ()
33401{
33402 _isnanl(0);
33403  ;
33404  return 0;
33405}
33406_ACEOF
33407if ac_fn_cxx_try_compile "$LINENO"; then :
33408  glibcxx_cv_func__isnanl_use=yes
33409else
33410  glibcxx_cv_func__isnanl_use=no
33411fi
33412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33413      ac_ext=c
33414ac_cpp='$CPP $CPPFLAGS'
33415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417ac_compiler_gnu=$ac_cv_c_compiler_gnu
33418
33419
33420fi
33421
33422  fi
33423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33424$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33425
33426    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33427      for ac_func in _isnanl
33428do :
33429  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33430if test "x$ac_cv_func__isnanl" = xyes; then :
33431  cat >>confdefs.h <<_ACEOF
33432#define HAVE__ISNANL 1
33433_ACEOF
33434
33435fi
33436done
33437
33438    fi
33439  fi
33440
33441
33442
33443
33444
33445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33446$as_echo_n "checking for isinfl declaration... " >&6; }
33447  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33448    if ${glibcxx_cv_func_isinfl_use+:} false; then :
33449  $as_echo_n "(cached) " >&6
33450else
33451
33452
33453      ac_ext=cpp
33454ac_cpp='$CXXCPP $CPPFLAGS'
33455ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33458
33459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33460/* end confdefs.h.  */
33461#include <math.h>
33462		      #ifdef HAVE_IEEEFP_H
33463		      #include <ieeefp.h>
33464		      #endif
33465
33466int
33467main ()
33468{
33469 isinfl(0);
33470  ;
33471  return 0;
33472}
33473_ACEOF
33474if ac_fn_cxx_try_compile "$LINENO"; then :
33475  glibcxx_cv_func_isinfl_use=yes
33476else
33477  glibcxx_cv_func_isinfl_use=no
33478fi
33479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33480      ac_ext=c
33481ac_cpp='$CPP $CPPFLAGS'
33482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484ac_compiler_gnu=$ac_cv_c_compiler_gnu
33485
33486
33487fi
33488
33489  fi
33490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33491$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33492
33493  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33494    for ac_func in isinfl
33495do :
33496  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33497if test "x$ac_cv_func_isinfl" = xyes; then :
33498  cat >>confdefs.h <<_ACEOF
33499#define HAVE_ISINFL 1
33500_ACEOF
33501
33502fi
33503done
33504
33505  else
33506
33507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33508$as_echo_n "checking for _isinfl declaration... " >&6; }
33509  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33510    if ${glibcxx_cv_func__isinfl_use+:} false; then :
33511  $as_echo_n "(cached) " >&6
33512else
33513
33514
33515      ac_ext=cpp
33516ac_cpp='$CXXCPP $CPPFLAGS'
33517ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33520
33521      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33522/* end confdefs.h.  */
33523#include <math.h>
33524		      #ifdef HAVE_IEEEFP_H
33525		      #include <ieeefp.h>
33526		      #endif
33527
33528int
33529main ()
33530{
33531 _isinfl(0);
33532  ;
33533  return 0;
33534}
33535_ACEOF
33536if ac_fn_cxx_try_compile "$LINENO"; then :
33537  glibcxx_cv_func__isinfl_use=yes
33538else
33539  glibcxx_cv_func__isinfl_use=no
33540fi
33541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33542      ac_ext=c
33543ac_cpp='$CPP $CPPFLAGS'
33544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546ac_compiler_gnu=$ac_cv_c_compiler_gnu
33547
33548
33549fi
33550
33551  fi
33552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33553$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33554
33555    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33556      for ac_func in _isinfl
33557do :
33558  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33559if test "x$ac_cv_func__isinfl" = xyes; then :
33560  cat >>confdefs.h <<_ACEOF
33561#define HAVE__ISINFL 1
33562_ACEOF
33563
33564fi
33565done
33566
33567    fi
33568  fi
33569
33570
33571
33572
33573
33574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33575$as_echo_n "checking for atan2l declaration... " >&6; }
33576  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33577    if ${glibcxx_cv_func_atan2l_use+:} false; then :
33578  $as_echo_n "(cached) " >&6
33579else
33580
33581
33582      ac_ext=cpp
33583ac_cpp='$CXXCPP $CPPFLAGS'
33584ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33585ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33586ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33587
33588      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33589/* end confdefs.h.  */
33590#include <math.h>
33591int
33592main ()
33593{
33594 atan2l(0, 0);
33595  ;
33596  return 0;
33597}
33598_ACEOF
33599if ac_fn_cxx_try_compile "$LINENO"; then :
33600  glibcxx_cv_func_atan2l_use=yes
33601else
33602  glibcxx_cv_func_atan2l_use=no
33603fi
33604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33605      ac_ext=c
33606ac_cpp='$CPP $CPPFLAGS'
33607ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609ac_compiler_gnu=$ac_cv_c_compiler_gnu
33610
33611
33612fi
33613
33614  fi
33615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33616$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33617
33618  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33619    for ac_func in atan2l
33620do :
33621  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33622if test "x$ac_cv_func_atan2l" = xyes; then :
33623  cat >>confdefs.h <<_ACEOF
33624#define HAVE_ATAN2L 1
33625_ACEOF
33626
33627fi
33628done
33629
33630  else
33631
33632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33633$as_echo_n "checking for _atan2l declaration... " >&6; }
33634  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33635    if ${glibcxx_cv_func__atan2l_use+:} false; then :
33636  $as_echo_n "(cached) " >&6
33637else
33638
33639
33640      ac_ext=cpp
33641ac_cpp='$CXXCPP $CPPFLAGS'
33642ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33645
33646      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33647/* end confdefs.h.  */
33648#include <math.h>
33649int
33650main ()
33651{
33652 _atan2l(0, 0);
33653  ;
33654  return 0;
33655}
33656_ACEOF
33657if ac_fn_cxx_try_compile "$LINENO"; then :
33658  glibcxx_cv_func__atan2l_use=yes
33659else
33660  glibcxx_cv_func__atan2l_use=no
33661fi
33662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33663      ac_ext=c
33664ac_cpp='$CPP $CPPFLAGS'
33665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667ac_compiler_gnu=$ac_cv_c_compiler_gnu
33668
33669
33670fi
33671
33672  fi
33673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33674$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33675
33676    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33677      for ac_func in _atan2l
33678do :
33679  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33680if test "x$ac_cv_func__atan2l" = xyes; then :
33681  cat >>confdefs.h <<_ACEOF
33682#define HAVE__ATAN2L 1
33683_ACEOF
33684
33685fi
33686done
33687
33688    fi
33689  fi
33690
33691
33692
33693
33694
33695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33696$as_echo_n "checking for expl declaration... " >&6; }
33697  if test x${glibcxx_cv_func_expl_use+set} != xset; then
33698    if ${glibcxx_cv_func_expl_use+:} false; then :
33699  $as_echo_n "(cached) " >&6
33700else
33701
33702
33703      ac_ext=cpp
33704ac_cpp='$CXXCPP $CPPFLAGS'
33705ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33708
33709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33710/* end confdefs.h.  */
33711#include <math.h>
33712		      #ifdef HAVE_IEEEFP_H
33713		      #include <ieeefp.h>
33714		      #endif
33715
33716int
33717main ()
33718{
33719 expl(0);
33720  ;
33721  return 0;
33722}
33723_ACEOF
33724if ac_fn_cxx_try_compile "$LINENO"; then :
33725  glibcxx_cv_func_expl_use=yes
33726else
33727  glibcxx_cv_func_expl_use=no
33728fi
33729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730      ac_ext=c
33731ac_cpp='$CPP $CPPFLAGS'
33732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734ac_compiler_gnu=$ac_cv_c_compiler_gnu
33735
33736
33737fi
33738
33739  fi
33740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33741$as_echo "$glibcxx_cv_func_expl_use" >&6; }
33742
33743  if test x$glibcxx_cv_func_expl_use = x"yes"; then
33744    for ac_func in expl
33745do :
33746  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33747if test "x$ac_cv_func_expl" = xyes; then :
33748  cat >>confdefs.h <<_ACEOF
33749#define HAVE_EXPL 1
33750_ACEOF
33751
33752fi
33753done
33754
33755  else
33756
33757  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33758$as_echo_n "checking for _expl declaration... " >&6; }
33759  if test x${glibcxx_cv_func__expl_use+set} != xset; then
33760    if ${glibcxx_cv_func__expl_use+:} false; then :
33761  $as_echo_n "(cached) " >&6
33762else
33763
33764
33765      ac_ext=cpp
33766ac_cpp='$CXXCPP $CPPFLAGS'
33767ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33770
33771      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33772/* end confdefs.h.  */
33773#include <math.h>
33774		      #ifdef HAVE_IEEEFP_H
33775		      #include <ieeefp.h>
33776		      #endif
33777
33778int
33779main ()
33780{
33781 _expl(0);
33782  ;
33783  return 0;
33784}
33785_ACEOF
33786if ac_fn_cxx_try_compile "$LINENO"; then :
33787  glibcxx_cv_func__expl_use=yes
33788else
33789  glibcxx_cv_func__expl_use=no
33790fi
33791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33792      ac_ext=c
33793ac_cpp='$CPP $CPPFLAGS'
33794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796ac_compiler_gnu=$ac_cv_c_compiler_gnu
33797
33798
33799fi
33800
33801  fi
33802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33803$as_echo "$glibcxx_cv_func__expl_use" >&6; }
33804
33805    if test x$glibcxx_cv_func__expl_use = x"yes"; then
33806      for ac_func in _expl
33807do :
33808  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33809if test "x$ac_cv_func__expl" = xyes; then :
33810  cat >>confdefs.h <<_ACEOF
33811#define HAVE__EXPL 1
33812_ACEOF
33813
33814fi
33815done
33816
33817    fi
33818  fi
33819
33820
33821
33822
33823
33824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33825$as_echo_n "checking for fabsl declaration... " >&6; }
33826  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33827    if ${glibcxx_cv_func_fabsl_use+:} false; then :
33828  $as_echo_n "(cached) " >&6
33829else
33830
33831
33832      ac_ext=cpp
33833ac_cpp='$CXXCPP $CPPFLAGS'
33834ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837
33838      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33839/* end confdefs.h.  */
33840#include <math.h>
33841		      #ifdef HAVE_IEEEFP_H
33842		      #include <ieeefp.h>
33843		      #endif
33844
33845int
33846main ()
33847{
33848 fabsl(0);
33849  ;
33850  return 0;
33851}
33852_ACEOF
33853if ac_fn_cxx_try_compile "$LINENO"; then :
33854  glibcxx_cv_func_fabsl_use=yes
33855else
33856  glibcxx_cv_func_fabsl_use=no
33857fi
33858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33859      ac_ext=c
33860ac_cpp='$CPP $CPPFLAGS'
33861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33863ac_compiler_gnu=$ac_cv_c_compiler_gnu
33864
33865
33866fi
33867
33868  fi
33869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33870$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33871
33872  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33873    for ac_func in fabsl
33874do :
33875  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33876if test "x$ac_cv_func_fabsl" = xyes; then :
33877  cat >>confdefs.h <<_ACEOF
33878#define HAVE_FABSL 1
33879_ACEOF
33880
33881fi
33882done
33883
33884  else
33885
33886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33887$as_echo_n "checking for _fabsl declaration... " >&6; }
33888  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33889    if ${glibcxx_cv_func__fabsl_use+:} false; then :
33890  $as_echo_n "(cached) " >&6
33891else
33892
33893
33894      ac_ext=cpp
33895ac_cpp='$CXXCPP $CPPFLAGS'
33896ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33897ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33898ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33899
33900      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33901/* end confdefs.h.  */
33902#include <math.h>
33903		      #ifdef HAVE_IEEEFP_H
33904		      #include <ieeefp.h>
33905		      #endif
33906
33907int
33908main ()
33909{
33910 _fabsl(0);
33911  ;
33912  return 0;
33913}
33914_ACEOF
33915if ac_fn_cxx_try_compile "$LINENO"; then :
33916  glibcxx_cv_func__fabsl_use=yes
33917else
33918  glibcxx_cv_func__fabsl_use=no
33919fi
33920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33921      ac_ext=c
33922ac_cpp='$CPP $CPPFLAGS'
33923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925ac_compiler_gnu=$ac_cv_c_compiler_gnu
33926
33927
33928fi
33929
33930  fi
33931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33932$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33933
33934    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33935      for ac_func in _fabsl
33936do :
33937  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33938if test "x$ac_cv_func__fabsl" = xyes; then :
33939  cat >>confdefs.h <<_ACEOF
33940#define HAVE__FABSL 1
33941_ACEOF
33942
33943fi
33944done
33945
33946    fi
33947  fi
33948
33949
33950
33951
33952
33953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33954$as_echo_n "checking for fmodl declaration... " >&6; }
33955  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33956    if ${glibcxx_cv_func_fmodl_use+:} false; then :
33957  $as_echo_n "(cached) " >&6
33958else
33959
33960
33961      ac_ext=cpp
33962ac_cpp='$CXXCPP $CPPFLAGS'
33963ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33966
33967      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33968/* end confdefs.h.  */
33969#include <math.h>
33970int
33971main ()
33972{
33973 fmodl(0, 0);
33974  ;
33975  return 0;
33976}
33977_ACEOF
33978if ac_fn_cxx_try_compile "$LINENO"; then :
33979  glibcxx_cv_func_fmodl_use=yes
33980else
33981  glibcxx_cv_func_fmodl_use=no
33982fi
33983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33984      ac_ext=c
33985ac_cpp='$CPP $CPPFLAGS'
33986ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33987ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33988ac_compiler_gnu=$ac_cv_c_compiler_gnu
33989
33990
33991fi
33992
33993  fi
33994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33995$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33996
33997  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33998    for ac_func in fmodl
33999do :
34000  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
34001if test "x$ac_cv_func_fmodl" = xyes; then :
34002  cat >>confdefs.h <<_ACEOF
34003#define HAVE_FMODL 1
34004_ACEOF
34005
34006fi
34007done
34008
34009  else
34010
34011  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
34012$as_echo_n "checking for _fmodl declaration... " >&6; }
34013  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
34014    if ${glibcxx_cv_func__fmodl_use+:} false; then :
34015  $as_echo_n "(cached) " >&6
34016else
34017
34018
34019      ac_ext=cpp
34020ac_cpp='$CXXCPP $CPPFLAGS'
34021ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34022ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34023ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34024
34025      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34026/* end confdefs.h.  */
34027#include <math.h>
34028int
34029main ()
34030{
34031 _fmodl(0, 0);
34032  ;
34033  return 0;
34034}
34035_ACEOF
34036if ac_fn_cxx_try_compile "$LINENO"; then :
34037  glibcxx_cv_func__fmodl_use=yes
34038else
34039  glibcxx_cv_func__fmodl_use=no
34040fi
34041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34042      ac_ext=c
34043ac_cpp='$CPP $CPPFLAGS'
34044ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34045ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34046ac_compiler_gnu=$ac_cv_c_compiler_gnu
34047
34048
34049fi
34050
34051  fi
34052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
34053$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
34054
34055    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
34056      for ac_func in _fmodl
34057do :
34058  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
34059if test "x$ac_cv_func__fmodl" = xyes; then :
34060  cat >>confdefs.h <<_ACEOF
34061#define HAVE__FMODL 1
34062_ACEOF
34063
34064fi
34065done
34066
34067    fi
34068  fi
34069
34070
34071
34072
34073
34074  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
34075$as_echo_n "checking for frexpl declaration... " >&6; }
34076  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
34077    if ${glibcxx_cv_func_frexpl_use+:} false; then :
34078  $as_echo_n "(cached) " >&6
34079else
34080
34081
34082      ac_ext=cpp
34083ac_cpp='$CXXCPP $CPPFLAGS'
34084ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34087
34088      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34089/* end confdefs.h.  */
34090#include <math.h>
34091int
34092main ()
34093{
34094 frexpl(0, 0);
34095  ;
34096  return 0;
34097}
34098_ACEOF
34099if ac_fn_cxx_try_compile "$LINENO"; then :
34100  glibcxx_cv_func_frexpl_use=yes
34101else
34102  glibcxx_cv_func_frexpl_use=no
34103fi
34104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34105      ac_ext=c
34106ac_cpp='$CPP $CPPFLAGS'
34107ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109ac_compiler_gnu=$ac_cv_c_compiler_gnu
34110
34111
34112fi
34113
34114  fi
34115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
34116$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
34117
34118  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
34119    for ac_func in frexpl
34120do :
34121  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
34122if test "x$ac_cv_func_frexpl" = xyes; then :
34123  cat >>confdefs.h <<_ACEOF
34124#define HAVE_FREXPL 1
34125_ACEOF
34126
34127fi
34128done
34129
34130  else
34131
34132  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
34133$as_echo_n "checking for _frexpl declaration... " >&6; }
34134  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
34135    if ${glibcxx_cv_func__frexpl_use+:} false; then :
34136  $as_echo_n "(cached) " >&6
34137else
34138
34139
34140      ac_ext=cpp
34141ac_cpp='$CXXCPP $CPPFLAGS'
34142ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34145
34146      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34147/* end confdefs.h.  */
34148#include <math.h>
34149int
34150main ()
34151{
34152 _frexpl(0, 0);
34153  ;
34154  return 0;
34155}
34156_ACEOF
34157if ac_fn_cxx_try_compile "$LINENO"; then :
34158  glibcxx_cv_func__frexpl_use=yes
34159else
34160  glibcxx_cv_func__frexpl_use=no
34161fi
34162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34163      ac_ext=c
34164ac_cpp='$CPP $CPPFLAGS'
34165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34167ac_compiler_gnu=$ac_cv_c_compiler_gnu
34168
34169
34170fi
34171
34172  fi
34173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
34174$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34175
34176    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34177      for ac_func in _frexpl
34178do :
34179  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34180if test "x$ac_cv_func__frexpl" = xyes; then :
34181  cat >>confdefs.h <<_ACEOF
34182#define HAVE__FREXPL 1
34183_ACEOF
34184
34185fi
34186done
34187
34188    fi
34189  fi
34190
34191
34192
34193
34194
34195  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34196$as_echo_n "checking for hypotl declaration... " >&6; }
34197  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34198    if ${glibcxx_cv_func_hypotl_use+:} false; then :
34199  $as_echo_n "(cached) " >&6
34200else
34201
34202
34203      ac_ext=cpp
34204ac_cpp='$CXXCPP $CPPFLAGS'
34205ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34208
34209      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34210/* end confdefs.h.  */
34211#include <math.h>
34212int
34213main ()
34214{
34215 hypotl(0, 0);
34216  ;
34217  return 0;
34218}
34219_ACEOF
34220if ac_fn_cxx_try_compile "$LINENO"; then :
34221  glibcxx_cv_func_hypotl_use=yes
34222else
34223  glibcxx_cv_func_hypotl_use=no
34224fi
34225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34226      ac_ext=c
34227ac_cpp='$CPP $CPPFLAGS'
34228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34230ac_compiler_gnu=$ac_cv_c_compiler_gnu
34231
34232
34233fi
34234
34235  fi
34236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34237$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34238
34239  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34240    for ac_func in hypotl
34241do :
34242  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34243if test "x$ac_cv_func_hypotl" = xyes; then :
34244  cat >>confdefs.h <<_ACEOF
34245#define HAVE_HYPOTL 1
34246_ACEOF
34247
34248fi
34249done
34250
34251  else
34252
34253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34254$as_echo_n "checking for _hypotl declaration... " >&6; }
34255  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34256    if ${glibcxx_cv_func__hypotl_use+:} false; then :
34257  $as_echo_n "(cached) " >&6
34258else
34259
34260
34261      ac_ext=cpp
34262ac_cpp='$CXXCPP $CPPFLAGS'
34263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34266
34267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34268/* end confdefs.h.  */
34269#include <math.h>
34270int
34271main ()
34272{
34273 _hypotl(0, 0);
34274  ;
34275  return 0;
34276}
34277_ACEOF
34278if ac_fn_cxx_try_compile "$LINENO"; then :
34279  glibcxx_cv_func__hypotl_use=yes
34280else
34281  glibcxx_cv_func__hypotl_use=no
34282fi
34283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34284      ac_ext=c
34285ac_cpp='$CPP $CPPFLAGS'
34286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34288ac_compiler_gnu=$ac_cv_c_compiler_gnu
34289
34290
34291fi
34292
34293  fi
34294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34295$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34296
34297    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34298      for ac_func in _hypotl
34299do :
34300  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34301if test "x$ac_cv_func__hypotl" = xyes; then :
34302  cat >>confdefs.h <<_ACEOF
34303#define HAVE__HYPOTL 1
34304_ACEOF
34305
34306fi
34307done
34308
34309    fi
34310  fi
34311
34312
34313
34314
34315
34316  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34317$as_echo_n "checking for ldexpl declaration... " >&6; }
34318  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34319    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34320  $as_echo_n "(cached) " >&6
34321else
34322
34323
34324      ac_ext=cpp
34325ac_cpp='$CXXCPP $CPPFLAGS'
34326ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34329
34330      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34331/* end confdefs.h.  */
34332#include <math.h>
34333int
34334main ()
34335{
34336 ldexpl(0, 0);
34337  ;
34338  return 0;
34339}
34340_ACEOF
34341if ac_fn_cxx_try_compile "$LINENO"; then :
34342  glibcxx_cv_func_ldexpl_use=yes
34343else
34344  glibcxx_cv_func_ldexpl_use=no
34345fi
34346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34347      ac_ext=c
34348ac_cpp='$CPP $CPPFLAGS'
34349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34351ac_compiler_gnu=$ac_cv_c_compiler_gnu
34352
34353
34354fi
34355
34356  fi
34357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34358$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34359
34360  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34361    for ac_func in ldexpl
34362do :
34363  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34364if test "x$ac_cv_func_ldexpl" = xyes; then :
34365  cat >>confdefs.h <<_ACEOF
34366#define HAVE_LDEXPL 1
34367_ACEOF
34368
34369fi
34370done
34371
34372  else
34373
34374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34375$as_echo_n "checking for _ldexpl declaration... " >&6; }
34376  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34377    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34378  $as_echo_n "(cached) " >&6
34379else
34380
34381
34382      ac_ext=cpp
34383ac_cpp='$CXXCPP $CPPFLAGS'
34384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34387
34388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34389/* end confdefs.h.  */
34390#include <math.h>
34391int
34392main ()
34393{
34394 _ldexpl(0, 0);
34395  ;
34396  return 0;
34397}
34398_ACEOF
34399if ac_fn_cxx_try_compile "$LINENO"; then :
34400  glibcxx_cv_func__ldexpl_use=yes
34401else
34402  glibcxx_cv_func__ldexpl_use=no
34403fi
34404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34405      ac_ext=c
34406ac_cpp='$CPP $CPPFLAGS'
34407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34409ac_compiler_gnu=$ac_cv_c_compiler_gnu
34410
34411
34412fi
34413
34414  fi
34415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34416$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34417
34418    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34419      for ac_func in _ldexpl
34420do :
34421  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34422if test "x$ac_cv_func__ldexpl" = xyes; then :
34423  cat >>confdefs.h <<_ACEOF
34424#define HAVE__LDEXPL 1
34425_ACEOF
34426
34427fi
34428done
34429
34430    fi
34431  fi
34432
34433
34434
34435
34436
34437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34438$as_echo_n "checking for logl declaration... " >&6; }
34439  if test x${glibcxx_cv_func_logl_use+set} != xset; then
34440    if ${glibcxx_cv_func_logl_use+:} false; then :
34441  $as_echo_n "(cached) " >&6
34442else
34443
34444
34445      ac_ext=cpp
34446ac_cpp='$CXXCPP $CPPFLAGS'
34447ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34448ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34449ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34450
34451      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34452/* end confdefs.h.  */
34453#include <math.h>
34454		      #ifdef HAVE_IEEEFP_H
34455		      #include <ieeefp.h>
34456		      #endif
34457
34458int
34459main ()
34460{
34461 logl(0);
34462  ;
34463  return 0;
34464}
34465_ACEOF
34466if ac_fn_cxx_try_compile "$LINENO"; then :
34467  glibcxx_cv_func_logl_use=yes
34468else
34469  glibcxx_cv_func_logl_use=no
34470fi
34471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34472      ac_ext=c
34473ac_cpp='$CPP $CPPFLAGS'
34474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34475ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34476ac_compiler_gnu=$ac_cv_c_compiler_gnu
34477
34478
34479fi
34480
34481  fi
34482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34483$as_echo "$glibcxx_cv_func_logl_use" >&6; }
34484
34485  if test x$glibcxx_cv_func_logl_use = x"yes"; then
34486    for ac_func in logl
34487do :
34488  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34489if test "x$ac_cv_func_logl" = xyes; then :
34490  cat >>confdefs.h <<_ACEOF
34491#define HAVE_LOGL 1
34492_ACEOF
34493
34494fi
34495done
34496
34497  else
34498
34499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34500$as_echo_n "checking for _logl declaration... " >&6; }
34501  if test x${glibcxx_cv_func__logl_use+set} != xset; then
34502    if ${glibcxx_cv_func__logl_use+:} false; then :
34503  $as_echo_n "(cached) " >&6
34504else
34505
34506
34507      ac_ext=cpp
34508ac_cpp='$CXXCPP $CPPFLAGS'
34509ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34512
34513      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34514/* end confdefs.h.  */
34515#include <math.h>
34516		      #ifdef HAVE_IEEEFP_H
34517		      #include <ieeefp.h>
34518		      #endif
34519
34520int
34521main ()
34522{
34523 _logl(0);
34524  ;
34525  return 0;
34526}
34527_ACEOF
34528if ac_fn_cxx_try_compile "$LINENO"; then :
34529  glibcxx_cv_func__logl_use=yes
34530else
34531  glibcxx_cv_func__logl_use=no
34532fi
34533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34534      ac_ext=c
34535ac_cpp='$CPP $CPPFLAGS'
34536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34538ac_compiler_gnu=$ac_cv_c_compiler_gnu
34539
34540
34541fi
34542
34543  fi
34544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34545$as_echo "$glibcxx_cv_func__logl_use" >&6; }
34546
34547    if test x$glibcxx_cv_func__logl_use = x"yes"; then
34548      for ac_func in _logl
34549do :
34550  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34551if test "x$ac_cv_func__logl" = xyes; then :
34552  cat >>confdefs.h <<_ACEOF
34553#define HAVE__LOGL 1
34554_ACEOF
34555
34556fi
34557done
34558
34559    fi
34560  fi
34561
34562
34563
34564
34565
34566  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34567$as_echo_n "checking for log10l declaration... " >&6; }
34568  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34569    if ${glibcxx_cv_func_log10l_use+:} false; then :
34570  $as_echo_n "(cached) " >&6
34571else
34572
34573
34574      ac_ext=cpp
34575ac_cpp='$CXXCPP $CPPFLAGS'
34576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34579
34580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34581/* end confdefs.h.  */
34582#include <math.h>
34583		      #ifdef HAVE_IEEEFP_H
34584		      #include <ieeefp.h>
34585		      #endif
34586
34587int
34588main ()
34589{
34590 log10l(0);
34591  ;
34592  return 0;
34593}
34594_ACEOF
34595if ac_fn_cxx_try_compile "$LINENO"; then :
34596  glibcxx_cv_func_log10l_use=yes
34597else
34598  glibcxx_cv_func_log10l_use=no
34599fi
34600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34601      ac_ext=c
34602ac_cpp='$CPP $CPPFLAGS'
34603ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34604ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34605ac_compiler_gnu=$ac_cv_c_compiler_gnu
34606
34607
34608fi
34609
34610  fi
34611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34612$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34613
34614  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34615    for ac_func in log10l
34616do :
34617  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34618if test "x$ac_cv_func_log10l" = xyes; then :
34619  cat >>confdefs.h <<_ACEOF
34620#define HAVE_LOG10L 1
34621_ACEOF
34622
34623fi
34624done
34625
34626  else
34627
34628  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34629$as_echo_n "checking for _log10l declaration... " >&6; }
34630  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34631    if ${glibcxx_cv_func__log10l_use+:} false; then :
34632  $as_echo_n "(cached) " >&6
34633else
34634
34635
34636      ac_ext=cpp
34637ac_cpp='$CXXCPP $CPPFLAGS'
34638ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34639ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34640ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34641
34642      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34643/* end confdefs.h.  */
34644#include <math.h>
34645		      #ifdef HAVE_IEEEFP_H
34646		      #include <ieeefp.h>
34647		      #endif
34648
34649int
34650main ()
34651{
34652 _log10l(0);
34653  ;
34654  return 0;
34655}
34656_ACEOF
34657if ac_fn_cxx_try_compile "$LINENO"; then :
34658  glibcxx_cv_func__log10l_use=yes
34659else
34660  glibcxx_cv_func__log10l_use=no
34661fi
34662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34663      ac_ext=c
34664ac_cpp='$CPP $CPPFLAGS'
34665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34667ac_compiler_gnu=$ac_cv_c_compiler_gnu
34668
34669
34670fi
34671
34672  fi
34673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34674$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34675
34676    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34677      for ac_func in _log10l
34678do :
34679  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34680if test "x$ac_cv_func__log10l" = xyes; then :
34681  cat >>confdefs.h <<_ACEOF
34682#define HAVE__LOG10L 1
34683_ACEOF
34684
34685fi
34686done
34687
34688    fi
34689  fi
34690
34691
34692
34693
34694
34695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34696$as_echo_n "checking for modfl declaration... " >&6; }
34697  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34698    if ${glibcxx_cv_func_modfl_use+:} false; then :
34699  $as_echo_n "(cached) " >&6
34700else
34701
34702
34703      ac_ext=cpp
34704ac_cpp='$CXXCPP $CPPFLAGS'
34705ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34708
34709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34710/* end confdefs.h.  */
34711#include <math.h>
34712int
34713main ()
34714{
34715 modfl(0, 0);
34716  ;
34717  return 0;
34718}
34719_ACEOF
34720if ac_fn_cxx_try_compile "$LINENO"; then :
34721  glibcxx_cv_func_modfl_use=yes
34722else
34723  glibcxx_cv_func_modfl_use=no
34724fi
34725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34726      ac_ext=c
34727ac_cpp='$CPP $CPPFLAGS'
34728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34730ac_compiler_gnu=$ac_cv_c_compiler_gnu
34731
34732
34733fi
34734
34735  fi
34736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34737$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34738
34739  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34740    for ac_func in modfl
34741do :
34742  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34743if test "x$ac_cv_func_modfl" = xyes; then :
34744  cat >>confdefs.h <<_ACEOF
34745#define HAVE_MODFL 1
34746_ACEOF
34747
34748fi
34749done
34750
34751  else
34752
34753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34754$as_echo_n "checking for _modfl declaration... " >&6; }
34755  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34756    if ${glibcxx_cv_func__modfl_use+:} false; then :
34757  $as_echo_n "(cached) " >&6
34758else
34759
34760
34761      ac_ext=cpp
34762ac_cpp='$CXXCPP $CPPFLAGS'
34763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34766
34767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34768/* end confdefs.h.  */
34769#include <math.h>
34770int
34771main ()
34772{
34773 _modfl(0, 0);
34774  ;
34775  return 0;
34776}
34777_ACEOF
34778if ac_fn_cxx_try_compile "$LINENO"; then :
34779  glibcxx_cv_func__modfl_use=yes
34780else
34781  glibcxx_cv_func__modfl_use=no
34782fi
34783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784      ac_ext=c
34785ac_cpp='$CPP $CPPFLAGS'
34786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789
34790
34791fi
34792
34793  fi
34794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34795$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34796
34797    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34798      for ac_func in _modfl
34799do :
34800  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34801if test "x$ac_cv_func__modfl" = xyes; then :
34802  cat >>confdefs.h <<_ACEOF
34803#define HAVE__MODFL 1
34804_ACEOF
34805
34806fi
34807done
34808
34809    fi
34810  fi
34811
34812
34813
34814
34815
34816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34817$as_echo_n "checking for powl declaration... " >&6; }
34818  if test x${glibcxx_cv_func_powl_use+set} != xset; then
34819    if ${glibcxx_cv_func_powl_use+:} false; then :
34820  $as_echo_n "(cached) " >&6
34821else
34822
34823
34824      ac_ext=cpp
34825ac_cpp='$CXXCPP $CPPFLAGS'
34826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34829
34830      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34831/* end confdefs.h.  */
34832#include <math.h>
34833int
34834main ()
34835{
34836 powl(0, 0);
34837  ;
34838  return 0;
34839}
34840_ACEOF
34841if ac_fn_cxx_try_compile "$LINENO"; then :
34842  glibcxx_cv_func_powl_use=yes
34843else
34844  glibcxx_cv_func_powl_use=no
34845fi
34846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34847      ac_ext=c
34848ac_cpp='$CPP $CPPFLAGS'
34849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34851ac_compiler_gnu=$ac_cv_c_compiler_gnu
34852
34853
34854fi
34855
34856  fi
34857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34858$as_echo "$glibcxx_cv_func_powl_use" >&6; }
34859
34860  if test x$glibcxx_cv_func_powl_use = x"yes"; then
34861    for ac_func in powl
34862do :
34863  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34864if test "x$ac_cv_func_powl" = xyes; then :
34865  cat >>confdefs.h <<_ACEOF
34866#define HAVE_POWL 1
34867_ACEOF
34868
34869fi
34870done
34871
34872  else
34873
34874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34875$as_echo_n "checking for _powl declaration... " >&6; }
34876  if test x${glibcxx_cv_func__powl_use+set} != xset; then
34877    if ${glibcxx_cv_func__powl_use+:} false; then :
34878  $as_echo_n "(cached) " >&6
34879else
34880
34881
34882      ac_ext=cpp
34883ac_cpp='$CXXCPP $CPPFLAGS'
34884ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34885ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34886ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34887
34888      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34889/* end confdefs.h.  */
34890#include <math.h>
34891int
34892main ()
34893{
34894 _powl(0, 0);
34895  ;
34896  return 0;
34897}
34898_ACEOF
34899if ac_fn_cxx_try_compile "$LINENO"; then :
34900  glibcxx_cv_func__powl_use=yes
34901else
34902  glibcxx_cv_func__powl_use=no
34903fi
34904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34905      ac_ext=c
34906ac_cpp='$CPP $CPPFLAGS'
34907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34909ac_compiler_gnu=$ac_cv_c_compiler_gnu
34910
34911
34912fi
34913
34914  fi
34915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34916$as_echo "$glibcxx_cv_func__powl_use" >&6; }
34917
34918    if test x$glibcxx_cv_func__powl_use = x"yes"; then
34919      for ac_func in _powl
34920do :
34921  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34922if test "x$ac_cv_func__powl" = xyes; then :
34923  cat >>confdefs.h <<_ACEOF
34924#define HAVE__POWL 1
34925_ACEOF
34926
34927fi
34928done
34929
34930    fi
34931  fi
34932
34933
34934
34935
34936
34937  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34938$as_echo_n "checking for sqrtl declaration... " >&6; }
34939  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34940    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34941  $as_echo_n "(cached) " >&6
34942else
34943
34944
34945      ac_ext=cpp
34946ac_cpp='$CXXCPP $CPPFLAGS'
34947ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34948ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34949ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34950
34951      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34952/* end confdefs.h.  */
34953#include <math.h>
34954		      #ifdef HAVE_IEEEFP_H
34955		      #include <ieeefp.h>
34956		      #endif
34957
34958int
34959main ()
34960{
34961 sqrtl(0);
34962  ;
34963  return 0;
34964}
34965_ACEOF
34966if ac_fn_cxx_try_compile "$LINENO"; then :
34967  glibcxx_cv_func_sqrtl_use=yes
34968else
34969  glibcxx_cv_func_sqrtl_use=no
34970fi
34971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34972      ac_ext=c
34973ac_cpp='$CPP $CPPFLAGS'
34974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34976ac_compiler_gnu=$ac_cv_c_compiler_gnu
34977
34978
34979fi
34980
34981  fi
34982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34983$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34984
34985  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34986    for ac_func in sqrtl
34987do :
34988  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34989if test "x$ac_cv_func_sqrtl" = xyes; then :
34990  cat >>confdefs.h <<_ACEOF
34991#define HAVE_SQRTL 1
34992_ACEOF
34993
34994fi
34995done
34996
34997  else
34998
34999  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
35000$as_echo_n "checking for _sqrtl declaration... " >&6; }
35001  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35002    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
35003  $as_echo_n "(cached) " >&6
35004else
35005
35006
35007      ac_ext=cpp
35008ac_cpp='$CXXCPP $CPPFLAGS'
35009ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35012
35013      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35014/* end confdefs.h.  */
35015#include <math.h>
35016		      #ifdef HAVE_IEEEFP_H
35017		      #include <ieeefp.h>
35018		      #endif
35019
35020int
35021main ()
35022{
35023 _sqrtl(0);
35024  ;
35025  return 0;
35026}
35027_ACEOF
35028if ac_fn_cxx_try_compile "$LINENO"; then :
35029  glibcxx_cv_func__sqrtl_use=yes
35030else
35031  glibcxx_cv_func__sqrtl_use=no
35032fi
35033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35034      ac_ext=c
35035ac_cpp='$CPP $CPPFLAGS'
35036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35038ac_compiler_gnu=$ac_cv_c_compiler_gnu
35039
35040
35041fi
35042
35043  fi
35044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
35045$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
35046
35047    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35048      for ac_func in _sqrtl
35049do :
35050  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
35051if test "x$ac_cv_func__sqrtl" = xyes; then :
35052  cat >>confdefs.h <<_ACEOF
35053#define HAVE__SQRTL 1
35054_ACEOF
35055
35056fi
35057done
35058
35059    fi
35060  fi
35061
35062
35063
35064
35065
35066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
35067$as_echo_n "checking for sincosl declaration... " >&6; }
35068  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35069    if ${glibcxx_cv_func_sincosl_use+:} false; then :
35070  $as_echo_n "(cached) " >&6
35071else
35072
35073
35074      ac_ext=cpp
35075ac_cpp='$CXXCPP $CPPFLAGS'
35076ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35077ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35078ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35079
35080      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35081/* end confdefs.h.  */
35082#include <math.h>
35083int
35084main ()
35085{
35086 sincosl(0, 0, 0);
35087  ;
35088  return 0;
35089}
35090_ACEOF
35091if ac_fn_cxx_try_compile "$LINENO"; then :
35092  glibcxx_cv_func_sincosl_use=yes
35093else
35094  glibcxx_cv_func_sincosl_use=no
35095fi
35096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35097      ac_ext=c
35098ac_cpp='$CPP $CPPFLAGS'
35099ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101ac_compiler_gnu=$ac_cv_c_compiler_gnu
35102
35103
35104fi
35105
35106  fi
35107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
35108$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
35109
35110  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35111    for ac_func in sincosl
35112do :
35113  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
35114if test "x$ac_cv_func_sincosl" = xyes; then :
35115  cat >>confdefs.h <<_ACEOF
35116#define HAVE_SINCOSL 1
35117_ACEOF
35118
35119fi
35120done
35121
35122  else
35123
35124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
35125$as_echo_n "checking for _sincosl declaration... " >&6; }
35126  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35127    if ${glibcxx_cv_func__sincosl_use+:} false; then :
35128  $as_echo_n "(cached) " >&6
35129else
35130
35131
35132      ac_ext=cpp
35133ac_cpp='$CXXCPP $CPPFLAGS'
35134ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35135ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35136ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35137
35138      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35139/* end confdefs.h.  */
35140#include <math.h>
35141int
35142main ()
35143{
35144 _sincosl(0, 0, 0);
35145  ;
35146  return 0;
35147}
35148_ACEOF
35149if ac_fn_cxx_try_compile "$LINENO"; then :
35150  glibcxx_cv_func__sincosl_use=yes
35151else
35152  glibcxx_cv_func__sincosl_use=no
35153fi
35154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35155      ac_ext=c
35156ac_cpp='$CPP $CPPFLAGS'
35157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35159ac_compiler_gnu=$ac_cv_c_compiler_gnu
35160
35161
35162fi
35163
35164  fi
35165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
35166$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
35167
35168    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35169      for ac_func in _sincosl
35170do :
35171  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35172if test "x$ac_cv_func__sincosl" = xyes; then :
35173  cat >>confdefs.h <<_ACEOF
35174#define HAVE__SINCOSL 1
35175_ACEOF
35176
35177fi
35178done
35179
35180    fi
35181  fi
35182
35183
35184
35185
35186
35187  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35188$as_echo_n "checking for finitel declaration... " >&6; }
35189  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35190    if ${glibcxx_cv_func_finitel_use+:} false; then :
35191  $as_echo_n "(cached) " >&6
35192else
35193
35194
35195      ac_ext=cpp
35196ac_cpp='$CXXCPP $CPPFLAGS'
35197ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35198ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35199ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35200
35201      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35202/* end confdefs.h.  */
35203#include <math.h>
35204		      #ifdef HAVE_IEEEFP_H
35205		      #include <ieeefp.h>
35206		      #endif
35207
35208int
35209main ()
35210{
35211 finitel(0);
35212  ;
35213  return 0;
35214}
35215_ACEOF
35216if ac_fn_cxx_try_compile "$LINENO"; then :
35217  glibcxx_cv_func_finitel_use=yes
35218else
35219  glibcxx_cv_func_finitel_use=no
35220fi
35221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35222      ac_ext=c
35223ac_cpp='$CPP $CPPFLAGS'
35224ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35225ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35226ac_compiler_gnu=$ac_cv_c_compiler_gnu
35227
35228
35229fi
35230
35231  fi
35232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35233$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35234
35235  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35236    for ac_func in finitel
35237do :
35238  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35239if test "x$ac_cv_func_finitel" = xyes; then :
35240  cat >>confdefs.h <<_ACEOF
35241#define HAVE_FINITEL 1
35242_ACEOF
35243
35244fi
35245done
35246
35247  else
35248
35249  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35250$as_echo_n "checking for _finitel declaration... " >&6; }
35251  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35252    if ${glibcxx_cv_func__finitel_use+:} false; then :
35253  $as_echo_n "(cached) " >&6
35254else
35255
35256
35257      ac_ext=cpp
35258ac_cpp='$CXXCPP $CPPFLAGS'
35259ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35260ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35261ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35262
35263      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35264/* end confdefs.h.  */
35265#include <math.h>
35266		      #ifdef HAVE_IEEEFP_H
35267		      #include <ieeefp.h>
35268		      #endif
35269
35270int
35271main ()
35272{
35273 _finitel(0);
35274  ;
35275  return 0;
35276}
35277_ACEOF
35278if ac_fn_cxx_try_compile "$LINENO"; then :
35279  glibcxx_cv_func__finitel_use=yes
35280else
35281  glibcxx_cv_func__finitel_use=no
35282fi
35283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35284      ac_ext=c
35285ac_cpp='$CPP $CPPFLAGS'
35286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35288ac_compiler_gnu=$ac_cv_c_compiler_gnu
35289
35290
35291fi
35292
35293  fi
35294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35295$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35296
35297    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35298      for ac_func in _finitel
35299do :
35300  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35301if test "x$ac_cv_func__finitel" = xyes; then :
35302  cat >>confdefs.h <<_ACEOF
35303#define HAVE__FINITEL 1
35304_ACEOF
35305
35306fi
35307done
35308
35309    fi
35310  fi
35311
35312
35313
35314
35315  LIBS="$ac_save_LIBS"
35316  CXXFLAGS="$ac_save_CXXFLAGS"
35317
35318
35319  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35320  ac_save_CXXFLAGS="$CXXFLAGS"
35321  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35322
35323
35324  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35325$as_echo_n "checking for at_quick_exit declaration... " >&6; }
35326  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35327    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35328  $as_echo_n "(cached) " >&6
35329else
35330
35331
35332      ac_ext=cpp
35333ac_cpp='$CXXCPP $CPPFLAGS'
35334ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35335ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35336ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35337
35338      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35339/* end confdefs.h.  */
35340#include <stdlib.h>
35341int
35342main ()
35343{
35344 at_quick_exit(0);
35345  ;
35346  return 0;
35347}
35348_ACEOF
35349if ac_fn_cxx_try_compile "$LINENO"; then :
35350  glibcxx_cv_func_at_quick_exit_use=yes
35351else
35352  glibcxx_cv_func_at_quick_exit_use=no
35353fi
35354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35355      ac_ext=c
35356ac_cpp='$CPP $CPPFLAGS'
35357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359ac_compiler_gnu=$ac_cv_c_compiler_gnu
35360
35361
35362fi
35363
35364  fi
35365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35366$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35367  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35368    for ac_func in at_quick_exit
35369do :
35370  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35371if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35372  cat >>confdefs.h <<_ACEOF
35373#define HAVE_AT_QUICK_EXIT 1
35374_ACEOF
35375
35376fi
35377done
35378
35379  fi
35380
35381
35382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35383$as_echo_n "checking for quick_exit declaration... " >&6; }
35384  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35385    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35386  $as_echo_n "(cached) " >&6
35387else
35388
35389
35390      ac_ext=cpp
35391ac_cpp='$CXXCPP $CPPFLAGS'
35392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35395
35396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35397/* end confdefs.h.  */
35398#include <stdlib.h>
35399int
35400main ()
35401{
35402 quick_exit(0);
35403  ;
35404  return 0;
35405}
35406_ACEOF
35407if ac_fn_cxx_try_compile "$LINENO"; then :
35408  glibcxx_cv_func_quick_exit_use=yes
35409else
35410  glibcxx_cv_func_quick_exit_use=no
35411fi
35412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35413      ac_ext=c
35414ac_cpp='$CPP $CPPFLAGS'
35415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35417ac_compiler_gnu=$ac_cv_c_compiler_gnu
35418
35419
35420fi
35421
35422  fi
35423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35424$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35425  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35426    for ac_func in quick_exit
35427do :
35428  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35429if test "x$ac_cv_func_quick_exit" = xyes; then :
35430  cat >>confdefs.h <<_ACEOF
35431#define HAVE_QUICK_EXIT 1
35432_ACEOF
35433
35434fi
35435done
35436
35437  fi
35438
35439
35440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35441$as_echo_n "checking for strtold declaration... " >&6; }
35442  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35443    if ${glibcxx_cv_func_strtold_use+:} false; then :
35444  $as_echo_n "(cached) " >&6
35445else
35446
35447
35448      ac_ext=cpp
35449ac_cpp='$CXXCPP $CPPFLAGS'
35450ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35451ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35452ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35453
35454      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35455/* end confdefs.h.  */
35456#include <stdlib.h>
35457int
35458main ()
35459{
35460 strtold(0, 0);
35461  ;
35462  return 0;
35463}
35464_ACEOF
35465if ac_fn_cxx_try_compile "$LINENO"; then :
35466  glibcxx_cv_func_strtold_use=yes
35467else
35468  glibcxx_cv_func_strtold_use=no
35469fi
35470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35471      ac_ext=c
35472ac_cpp='$CPP $CPPFLAGS'
35473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35475ac_compiler_gnu=$ac_cv_c_compiler_gnu
35476
35477
35478fi
35479
35480  fi
35481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35482$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35483  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35484    for ac_func in strtold
35485do :
35486  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35487if test "x$ac_cv_func_strtold" = xyes; then :
35488  cat >>confdefs.h <<_ACEOF
35489#define HAVE_STRTOLD 1
35490_ACEOF
35491
35492fi
35493done
35494
35495  fi
35496
35497
35498
35499
35500  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35501$as_echo_n "checking for strtof declaration... " >&6; }
35502  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35503    if ${glibcxx_cv_func_strtof_use+:} false; then :
35504  $as_echo_n "(cached) " >&6
35505else
35506
35507
35508      ac_ext=cpp
35509ac_cpp='$CXXCPP $CPPFLAGS'
35510ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35513
35514      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35515/* end confdefs.h.  */
35516#include <stdlib.h>
35517int
35518main ()
35519{
35520 strtof(0, 0);
35521  ;
35522  return 0;
35523}
35524_ACEOF
35525if ac_fn_cxx_try_compile "$LINENO"; then :
35526  glibcxx_cv_func_strtof_use=yes
35527else
35528  glibcxx_cv_func_strtof_use=no
35529fi
35530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35531      ac_ext=c
35532ac_cpp='$CPP $CPPFLAGS'
35533ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535ac_compiler_gnu=$ac_cv_c_compiler_gnu
35536
35537
35538fi
35539
35540  fi
35541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35542$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35543  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35544    for ac_func in strtof
35545do :
35546  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35547if test "x$ac_cv_func_strtof" = xyes; then :
35548  cat >>confdefs.h <<_ACEOF
35549#define HAVE_STRTOF 1
35550_ACEOF
35551
35552fi
35553done
35554
35555  fi
35556
35557
35558
35559
35560  CXXFLAGS="$ac_save_CXXFLAGS"
35561
35562
35563    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35564
35565    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35566
35567    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35568
35569    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35570
35571
35572    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35573
35574    $as_echo "#define HAVE_MODF 1" >>confdefs.h
35575
35576    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35577
35578    ;;
35579
35580  spu-*-elf*)
35581
35582  # All these tests are for C++; save the language and the compiler flags.
35583  # The CXXFLAGS thing is suspicious, but based on similar bits previously
35584  # found in GLIBCXX_CONFIGURE.
35585
35586  ac_ext=cpp
35587ac_cpp='$CXXCPP $CPPFLAGS'
35588ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35591
35592  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35593  ac_save_CXXFLAGS="$CXXFLAGS"
35594
35595  # Check for -ffunction-sections -fdata-sections
35596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35597$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35598  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35599  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35600/* end confdefs.h.  */
35601int foo; void bar() { };
35602int
35603main ()
35604{
35605
35606  ;
35607  return 0;
35608}
35609_ACEOF
35610if ac_fn_cxx_try_compile "$LINENO"; then :
35611  ac_fdsections=yes
35612else
35613  ac_fdsections=no
35614fi
35615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35616  if test "$ac_test_CXXFLAGS" = set; then
35617    CXXFLAGS="$ac_save_CXXFLAGS"
35618  else
35619    # this is the suspicious part
35620    CXXFLAGS=''
35621  fi
35622  if test x"$ac_fdsections" = x"yes"; then
35623    SECTION_FLAGS='-ffunction-sections -fdata-sections'
35624  fi
35625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35626$as_echo "$ac_fdsections" >&6; }
35627
35628  ac_ext=c
35629ac_cpp='$CPP $CPPFLAGS'
35630ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632ac_compiler_gnu=$ac_cv_c_compiler_gnu
35633
35634
35635
35636
35637  # If we're not using GNU ld, then there's no point in even trying these
35638  # tests.  Check for that first.  We should have already tested for gld
35639  # by now (in libtool), but require it now just to be safe...
35640  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35641  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35642
35643
35644
35645  # The name set by libtool depends on the version of libtool.  Shame on us
35646  # for depending on an impl detail, but c'est la vie.  Older versions used
35647  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35648  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35649  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
35650  # set (hence we're using an older libtool), then set it.
35651  if test x${with_gnu_ld+set} != xset; then
35652    if test x${ac_cv_prog_gnu_ld+set} != xset; then
35653      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
35654      with_gnu_ld=no
35655    else
35656      with_gnu_ld=$ac_cv_prog_gnu_ld
35657    fi
35658  fi
35659
35660  # Start by getting the version number.  I think the libtool test already
35661  # does some of this, but throws away the result.
35662  glibcxx_ld_is_gold=no
35663  if test x"$with_gnu_ld" = x"yes"; then
35664    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35665$as_echo_n "checking for ld version... " >&6; }
35666
35667    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35668      glibcxx_ld_is_gold=yes
35669    fi
35670    ldver=`$LD --version 2>/dev/null |
35671	   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'`
35672
35673    glibcxx_gnu_ld_version=`echo $ldver | \
35674	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35675    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35676$as_echo "$glibcxx_gnu_ld_version" >&6; }
35677  fi
35678
35679  # Set --gc-sections.
35680  glibcxx_have_gc_sections=no
35681  if test "$glibcxx_ld_is_gold" = "yes"; then
35682    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35683      glibcxx_have_gc_sections=yes
35684    fi
35685  else
35686    glibcxx_gcsections_min_ld=21602
35687    if test x"$with_gnu_ld" = x"yes" &&
35688	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35689      glibcxx_have_gc_sections=yes
35690    fi
35691  fi
35692  if test "$glibcxx_have_gc_sections" = "yes"; then
35693    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
35694    # NB: This flag only works reliably after 2.16.1. Configure tests
35695    # for this are difficult, so hard wire a value that should work.
35696
35697    ac_test_CFLAGS="${CFLAGS+set}"
35698    ac_save_CFLAGS="$CFLAGS"
35699    CFLAGS='-Wl,--gc-sections'
35700
35701    # Check for -Wl,--gc-sections
35702    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35703$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35704    if test x$gcc_no_link = xyes; then
35705  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35706fi
35707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35708/* end confdefs.h.  */
35709 int one(void) { return 1; }
35710     int two(void) { return 2; }
35711
35712int
35713main ()
35714{
35715 two();
35716  ;
35717  return 0;
35718}
35719_ACEOF
35720if ac_fn_c_try_link "$LINENO"; then :
35721  ac_gcsections=yes
35722else
35723  ac_gcsections=no
35724fi
35725rm -f core conftest.err conftest.$ac_objext \
35726    conftest$ac_exeext conftest.$ac_ext
35727    if test "$ac_gcsections" = "yes"; then
35728      rm -f conftest.c
35729      touch conftest.c
35730      if $CC -c conftest.c; then
35731	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35732	   grep "Warning: gc-sections option ignored" > /dev/null; then
35733	  ac_gcsections=no
35734	fi
35735      fi
35736      rm -f conftest.c conftest.o conftest
35737    fi
35738    if test "$ac_gcsections" = "yes"; then
35739      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35740    fi
35741    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35742$as_echo "$ac_gcsections" >&6; }
35743
35744    if test "$ac_test_CFLAGS" = set; then
35745      CFLAGS="$ac_save_CFLAGS"
35746    else
35747      # this is the suspicious part
35748      CFLAGS=''
35749    fi
35750  fi
35751
35752  # Set -z,relro.
35753  # Note this is only for shared objects.
35754  ac_ld_relro=no
35755  if test x"$with_gnu_ld" = x"yes"; then
35756    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35757$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35758    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35759    if test -n "$cxx_z_relo"; then
35760      OPT_LDFLAGS="-Wl,-z,relro"
35761      ac_ld_relro=yes
35762    fi
35763    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35764$as_echo "$ac_ld_relro" >&6; }
35765  fi
35766
35767  # Set linker optimization flags.
35768  if test x"$with_gnu_ld" = x"yes"; then
35769    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35770  fi
35771
35772
35773
35774
35775
35776  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35777  ac_save_CXXFLAGS="$CXXFLAGS"
35778  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35779
35780    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35781$as_echo_n "checking for sin in -lm... " >&6; }
35782if ${ac_cv_lib_m_sin+:} false; then :
35783  $as_echo_n "(cached) " >&6
35784else
35785  ac_check_lib_save_LIBS=$LIBS
35786LIBS="-lm  $LIBS"
35787if test x$gcc_no_link = xyes; then
35788  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35789fi
35790cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35791/* end confdefs.h.  */
35792
35793/* Override any GCC internal prototype to avoid an error.
35794   Use char because int might match the return type of a GCC
35795   builtin and then its argument prototype would still apply.  */
35796#ifdef __cplusplus
35797extern "C"
35798#endif
35799char sin ();
35800int
35801main ()
35802{
35803return sin ();
35804  ;
35805  return 0;
35806}
35807_ACEOF
35808if ac_fn_c_try_link "$LINENO"; then :
35809  ac_cv_lib_m_sin=yes
35810else
35811  ac_cv_lib_m_sin=no
35812fi
35813rm -f core conftest.err conftest.$ac_objext \
35814    conftest$ac_exeext conftest.$ac_ext
35815LIBS=$ac_check_lib_save_LIBS
35816fi
35817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35818$as_echo "$ac_cv_lib_m_sin" >&6; }
35819if test "x$ac_cv_lib_m_sin" = xyes; then :
35820  libm="-lm"
35821fi
35822
35823  ac_save_LIBS="$LIBS"
35824  LIBS="$LIBS $libm"
35825
35826
35827
35828  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35829$as_echo_n "checking for isinf declaration... " >&6; }
35830  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35831    if ${glibcxx_cv_func_isinf_use+:} false; then :
35832  $as_echo_n "(cached) " >&6
35833else
35834
35835
35836      ac_ext=cpp
35837ac_cpp='$CXXCPP $CPPFLAGS'
35838ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35839ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35840ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35841
35842      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35843/* end confdefs.h.  */
35844#include <math.h>
35845		      #ifdef HAVE_IEEEFP_H
35846		      #include <ieeefp.h>
35847		      #endif
35848
35849int
35850main ()
35851{
35852 isinf(0);
35853  ;
35854  return 0;
35855}
35856_ACEOF
35857if ac_fn_cxx_try_compile "$LINENO"; then :
35858  glibcxx_cv_func_isinf_use=yes
35859else
35860  glibcxx_cv_func_isinf_use=no
35861fi
35862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35863      ac_ext=c
35864ac_cpp='$CPP $CPPFLAGS'
35865ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35866ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35867ac_compiler_gnu=$ac_cv_c_compiler_gnu
35868
35869
35870fi
35871
35872  fi
35873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35874$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35875
35876  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35877    for ac_func in isinf
35878do :
35879  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35880if test "x$ac_cv_func_isinf" = xyes; then :
35881  cat >>confdefs.h <<_ACEOF
35882#define HAVE_ISINF 1
35883_ACEOF
35884
35885fi
35886done
35887
35888  else
35889
35890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35891$as_echo_n "checking for _isinf declaration... " >&6; }
35892  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35893    if ${glibcxx_cv_func__isinf_use+:} false; then :
35894  $as_echo_n "(cached) " >&6
35895else
35896
35897
35898      ac_ext=cpp
35899ac_cpp='$CXXCPP $CPPFLAGS'
35900ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35901ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35902ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35903
35904      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35905/* end confdefs.h.  */
35906#include <math.h>
35907		      #ifdef HAVE_IEEEFP_H
35908		      #include <ieeefp.h>
35909		      #endif
35910
35911int
35912main ()
35913{
35914 _isinf(0);
35915  ;
35916  return 0;
35917}
35918_ACEOF
35919if ac_fn_cxx_try_compile "$LINENO"; then :
35920  glibcxx_cv_func__isinf_use=yes
35921else
35922  glibcxx_cv_func__isinf_use=no
35923fi
35924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35925      ac_ext=c
35926ac_cpp='$CPP $CPPFLAGS'
35927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35929ac_compiler_gnu=$ac_cv_c_compiler_gnu
35930
35931
35932fi
35933
35934  fi
35935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35936$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35937
35938    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35939      for ac_func in _isinf
35940do :
35941  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35942if test "x$ac_cv_func__isinf" = xyes; then :
35943  cat >>confdefs.h <<_ACEOF
35944#define HAVE__ISINF 1
35945_ACEOF
35946
35947fi
35948done
35949
35950    fi
35951  fi
35952
35953
35954
35955
35956
35957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35958$as_echo_n "checking for isnan declaration... " >&6; }
35959  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35960    if ${glibcxx_cv_func_isnan_use+:} false; then :
35961  $as_echo_n "(cached) " >&6
35962else
35963
35964
35965      ac_ext=cpp
35966ac_cpp='$CXXCPP $CPPFLAGS'
35967ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35968ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35969ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35970
35971      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35972/* end confdefs.h.  */
35973#include <math.h>
35974		      #ifdef HAVE_IEEEFP_H
35975		      #include <ieeefp.h>
35976		      #endif
35977
35978int
35979main ()
35980{
35981 isnan(0);
35982  ;
35983  return 0;
35984}
35985_ACEOF
35986if ac_fn_cxx_try_compile "$LINENO"; then :
35987  glibcxx_cv_func_isnan_use=yes
35988else
35989  glibcxx_cv_func_isnan_use=no
35990fi
35991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35992      ac_ext=c
35993ac_cpp='$CPP $CPPFLAGS'
35994ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996ac_compiler_gnu=$ac_cv_c_compiler_gnu
35997
35998
35999fi
36000
36001  fi
36002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
36003$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
36004
36005  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
36006    for ac_func in isnan
36007do :
36008  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
36009if test "x$ac_cv_func_isnan" = xyes; then :
36010  cat >>confdefs.h <<_ACEOF
36011#define HAVE_ISNAN 1
36012_ACEOF
36013
36014fi
36015done
36016
36017  else
36018
36019  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
36020$as_echo_n "checking for _isnan declaration... " >&6; }
36021  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
36022    if ${glibcxx_cv_func__isnan_use+:} false; then :
36023  $as_echo_n "(cached) " >&6
36024else
36025
36026
36027      ac_ext=cpp
36028ac_cpp='$CXXCPP $CPPFLAGS'
36029ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36030ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36031ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36032
36033      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36034/* end confdefs.h.  */
36035#include <math.h>
36036		      #ifdef HAVE_IEEEFP_H
36037		      #include <ieeefp.h>
36038		      #endif
36039
36040int
36041main ()
36042{
36043 _isnan(0);
36044  ;
36045  return 0;
36046}
36047_ACEOF
36048if ac_fn_cxx_try_compile "$LINENO"; then :
36049  glibcxx_cv_func__isnan_use=yes
36050else
36051  glibcxx_cv_func__isnan_use=no
36052fi
36053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36054      ac_ext=c
36055ac_cpp='$CPP $CPPFLAGS'
36056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36058ac_compiler_gnu=$ac_cv_c_compiler_gnu
36059
36060
36061fi
36062
36063  fi
36064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
36065$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
36066
36067    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
36068      for ac_func in _isnan
36069do :
36070  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
36071if test "x$ac_cv_func__isnan" = xyes; then :
36072  cat >>confdefs.h <<_ACEOF
36073#define HAVE__ISNAN 1
36074_ACEOF
36075
36076fi
36077done
36078
36079    fi
36080  fi
36081
36082
36083
36084
36085
36086  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
36087$as_echo_n "checking for finite declaration... " >&6; }
36088  if test x${glibcxx_cv_func_finite_use+set} != xset; then
36089    if ${glibcxx_cv_func_finite_use+:} false; then :
36090  $as_echo_n "(cached) " >&6
36091else
36092
36093
36094      ac_ext=cpp
36095ac_cpp='$CXXCPP $CPPFLAGS'
36096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36099
36100      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36101/* end confdefs.h.  */
36102#include <math.h>
36103		      #ifdef HAVE_IEEEFP_H
36104		      #include <ieeefp.h>
36105		      #endif
36106
36107int
36108main ()
36109{
36110 finite(0);
36111  ;
36112  return 0;
36113}
36114_ACEOF
36115if ac_fn_cxx_try_compile "$LINENO"; then :
36116  glibcxx_cv_func_finite_use=yes
36117else
36118  glibcxx_cv_func_finite_use=no
36119fi
36120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36121      ac_ext=c
36122ac_cpp='$CPP $CPPFLAGS'
36123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36125ac_compiler_gnu=$ac_cv_c_compiler_gnu
36126
36127
36128fi
36129
36130  fi
36131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
36132$as_echo "$glibcxx_cv_func_finite_use" >&6; }
36133
36134  if test x$glibcxx_cv_func_finite_use = x"yes"; then
36135    for ac_func in finite
36136do :
36137  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
36138if test "x$ac_cv_func_finite" = xyes; then :
36139  cat >>confdefs.h <<_ACEOF
36140#define HAVE_FINITE 1
36141_ACEOF
36142
36143fi
36144done
36145
36146  else
36147
36148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
36149$as_echo_n "checking for _finite declaration... " >&6; }
36150  if test x${glibcxx_cv_func__finite_use+set} != xset; then
36151    if ${glibcxx_cv_func__finite_use+:} false; then :
36152  $as_echo_n "(cached) " >&6
36153else
36154
36155
36156      ac_ext=cpp
36157ac_cpp='$CXXCPP $CPPFLAGS'
36158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36161
36162      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36163/* end confdefs.h.  */
36164#include <math.h>
36165		      #ifdef HAVE_IEEEFP_H
36166		      #include <ieeefp.h>
36167		      #endif
36168
36169int
36170main ()
36171{
36172 _finite(0);
36173  ;
36174  return 0;
36175}
36176_ACEOF
36177if ac_fn_cxx_try_compile "$LINENO"; then :
36178  glibcxx_cv_func__finite_use=yes
36179else
36180  glibcxx_cv_func__finite_use=no
36181fi
36182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36183      ac_ext=c
36184ac_cpp='$CPP $CPPFLAGS'
36185ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36187ac_compiler_gnu=$ac_cv_c_compiler_gnu
36188
36189
36190fi
36191
36192  fi
36193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
36194$as_echo "$glibcxx_cv_func__finite_use" >&6; }
36195
36196    if test x$glibcxx_cv_func__finite_use = x"yes"; then
36197      for ac_func in _finite
36198do :
36199  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
36200if test "x$ac_cv_func__finite" = xyes; then :
36201  cat >>confdefs.h <<_ACEOF
36202#define HAVE__FINITE 1
36203_ACEOF
36204
36205fi
36206done
36207
36208    fi
36209  fi
36210
36211
36212
36213
36214
36215  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36216$as_echo_n "checking for sincos declaration... " >&6; }
36217  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36218    if ${glibcxx_cv_func_sincos_use+:} false; then :
36219  $as_echo_n "(cached) " >&6
36220else
36221
36222
36223      ac_ext=cpp
36224ac_cpp='$CXXCPP $CPPFLAGS'
36225ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36226ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36227ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36228
36229      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36230/* end confdefs.h.  */
36231#include <math.h>
36232int
36233main ()
36234{
36235 sincos(0, 0, 0);
36236  ;
36237  return 0;
36238}
36239_ACEOF
36240if ac_fn_cxx_try_compile "$LINENO"; then :
36241  glibcxx_cv_func_sincos_use=yes
36242else
36243  glibcxx_cv_func_sincos_use=no
36244fi
36245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36246      ac_ext=c
36247ac_cpp='$CPP $CPPFLAGS'
36248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250ac_compiler_gnu=$ac_cv_c_compiler_gnu
36251
36252
36253fi
36254
36255  fi
36256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36257$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36258
36259  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36260    for ac_func in sincos
36261do :
36262  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36263if test "x$ac_cv_func_sincos" = xyes; then :
36264  cat >>confdefs.h <<_ACEOF
36265#define HAVE_SINCOS 1
36266_ACEOF
36267
36268fi
36269done
36270
36271  else
36272
36273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36274$as_echo_n "checking for _sincos declaration... " >&6; }
36275  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36276    if ${glibcxx_cv_func__sincos_use+:} false; then :
36277  $as_echo_n "(cached) " >&6
36278else
36279
36280
36281      ac_ext=cpp
36282ac_cpp='$CXXCPP $CPPFLAGS'
36283ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36286
36287      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36288/* end confdefs.h.  */
36289#include <math.h>
36290int
36291main ()
36292{
36293 _sincos(0, 0, 0);
36294  ;
36295  return 0;
36296}
36297_ACEOF
36298if ac_fn_cxx_try_compile "$LINENO"; then :
36299  glibcxx_cv_func__sincos_use=yes
36300else
36301  glibcxx_cv_func__sincos_use=no
36302fi
36303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36304      ac_ext=c
36305ac_cpp='$CPP $CPPFLAGS'
36306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308ac_compiler_gnu=$ac_cv_c_compiler_gnu
36309
36310
36311fi
36312
36313  fi
36314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36315$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36316
36317    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36318      for ac_func in _sincos
36319do :
36320  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36321if test "x$ac_cv_func__sincos" = xyes; then :
36322  cat >>confdefs.h <<_ACEOF
36323#define HAVE__SINCOS 1
36324_ACEOF
36325
36326fi
36327done
36328
36329    fi
36330  fi
36331
36332
36333
36334
36335
36336  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36337$as_echo_n "checking for fpclass declaration... " >&6; }
36338  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36339    if ${glibcxx_cv_func_fpclass_use+:} false; then :
36340  $as_echo_n "(cached) " >&6
36341else
36342
36343
36344      ac_ext=cpp
36345ac_cpp='$CXXCPP $CPPFLAGS'
36346ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36347ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36348ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36349
36350      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36351/* end confdefs.h.  */
36352#include <math.h>
36353		      #ifdef HAVE_IEEEFP_H
36354		      #include <ieeefp.h>
36355		      #endif
36356
36357int
36358main ()
36359{
36360 fpclass(0);
36361  ;
36362  return 0;
36363}
36364_ACEOF
36365if ac_fn_cxx_try_compile "$LINENO"; then :
36366  glibcxx_cv_func_fpclass_use=yes
36367else
36368  glibcxx_cv_func_fpclass_use=no
36369fi
36370rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36371      ac_ext=c
36372ac_cpp='$CPP $CPPFLAGS'
36373ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36374ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36375ac_compiler_gnu=$ac_cv_c_compiler_gnu
36376
36377
36378fi
36379
36380  fi
36381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36382$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36383
36384  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36385    for ac_func in fpclass
36386do :
36387  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36388if test "x$ac_cv_func_fpclass" = xyes; then :
36389  cat >>confdefs.h <<_ACEOF
36390#define HAVE_FPCLASS 1
36391_ACEOF
36392
36393fi
36394done
36395
36396  else
36397
36398  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36399$as_echo_n "checking for _fpclass declaration... " >&6; }
36400  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36401    if ${glibcxx_cv_func__fpclass_use+:} false; then :
36402  $as_echo_n "(cached) " >&6
36403else
36404
36405
36406      ac_ext=cpp
36407ac_cpp='$CXXCPP $CPPFLAGS'
36408ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36409ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36410ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36411
36412      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36413/* end confdefs.h.  */
36414#include <math.h>
36415		      #ifdef HAVE_IEEEFP_H
36416		      #include <ieeefp.h>
36417		      #endif
36418
36419int
36420main ()
36421{
36422 _fpclass(0);
36423  ;
36424  return 0;
36425}
36426_ACEOF
36427if ac_fn_cxx_try_compile "$LINENO"; then :
36428  glibcxx_cv_func__fpclass_use=yes
36429else
36430  glibcxx_cv_func__fpclass_use=no
36431fi
36432rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36433      ac_ext=c
36434ac_cpp='$CPP $CPPFLAGS'
36435ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36436ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36437ac_compiler_gnu=$ac_cv_c_compiler_gnu
36438
36439
36440fi
36441
36442  fi
36443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36444$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36445
36446    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36447      for ac_func in _fpclass
36448do :
36449  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36450if test "x$ac_cv_func__fpclass" = xyes; then :
36451  cat >>confdefs.h <<_ACEOF
36452#define HAVE__FPCLASS 1
36453_ACEOF
36454
36455fi
36456done
36457
36458    fi
36459  fi
36460
36461
36462
36463
36464
36465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36466$as_echo_n "checking for qfpclass declaration... " >&6; }
36467  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36468    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36469  $as_echo_n "(cached) " >&6
36470else
36471
36472
36473      ac_ext=cpp
36474ac_cpp='$CXXCPP $CPPFLAGS'
36475ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36478
36479      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36480/* end confdefs.h.  */
36481#include <math.h>
36482		      #ifdef HAVE_IEEEFP_H
36483		      #include <ieeefp.h>
36484		      #endif
36485
36486int
36487main ()
36488{
36489 qfpclass(0);
36490  ;
36491  return 0;
36492}
36493_ACEOF
36494if ac_fn_cxx_try_compile "$LINENO"; then :
36495  glibcxx_cv_func_qfpclass_use=yes
36496else
36497  glibcxx_cv_func_qfpclass_use=no
36498fi
36499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36500      ac_ext=c
36501ac_cpp='$CPP $CPPFLAGS'
36502ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36503ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36504ac_compiler_gnu=$ac_cv_c_compiler_gnu
36505
36506
36507fi
36508
36509  fi
36510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36511$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36512
36513  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36514    for ac_func in qfpclass
36515do :
36516  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36517if test "x$ac_cv_func_qfpclass" = xyes; then :
36518  cat >>confdefs.h <<_ACEOF
36519#define HAVE_QFPCLASS 1
36520_ACEOF
36521
36522fi
36523done
36524
36525  else
36526
36527  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36528$as_echo_n "checking for _qfpclass declaration... " >&6; }
36529  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36530    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36531  $as_echo_n "(cached) " >&6
36532else
36533
36534
36535      ac_ext=cpp
36536ac_cpp='$CXXCPP $CPPFLAGS'
36537ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36538ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36539ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36540
36541      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36542/* end confdefs.h.  */
36543#include <math.h>
36544		      #ifdef HAVE_IEEEFP_H
36545		      #include <ieeefp.h>
36546		      #endif
36547
36548int
36549main ()
36550{
36551 _qfpclass(0);
36552  ;
36553  return 0;
36554}
36555_ACEOF
36556if ac_fn_cxx_try_compile "$LINENO"; then :
36557  glibcxx_cv_func__qfpclass_use=yes
36558else
36559  glibcxx_cv_func__qfpclass_use=no
36560fi
36561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36562      ac_ext=c
36563ac_cpp='$CPP $CPPFLAGS'
36564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36566ac_compiler_gnu=$ac_cv_c_compiler_gnu
36567
36568
36569fi
36570
36571  fi
36572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36573$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36574
36575    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36576      for ac_func in _qfpclass
36577do :
36578  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36579if test "x$ac_cv_func__qfpclass" = xyes; then :
36580  cat >>confdefs.h <<_ACEOF
36581#define HAVE__QFPCLASS 1
36582_ACEOF
36583
36584fi
36585done
36586
36587    fi
36588  fi
36589
36590
36591
36592
36593
36594  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36595$as_echo_n "checking for hypot declaration... " >&6; }
36596  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36597    if ${glibcxx_cv_func_hypot_use+:} false; then :
36598  $as_echo_n "(cached) " >&6
36599else
36600
36601
36602      ac_ext=cpp
36603ac_cpp='$CXXCPP $CPPFLAGS'
36604ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36605ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36606ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36607
36608      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36609/* end confdefs.h.  */
36610#include <math.h>
36611int
36612main ()
36613{
36614 hypot(0, 0);
36615  ;
36616  return 0;
36617}
36618_ACEOF
36619if ac_fn_cxx_try_compile "$LINENO"; then :
36620  glibcxx_cv_func_hypot_use=yes
36621else
36622  glibcxx_cv_func_hypot_use=no
36623fi
36624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36625      ac_ext=c
36626ac_cpp='$CPP $CPPFLAGS'
36627ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629ac_compiler_gnu=$ac_cv_c_compiler_gnu
36630
36631
36632fi
36633
36634  fi
36635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36636$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36637
36638  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36639    for ac_func in hypot
36640do :
36641  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36642if test "x$ac_cv_func_hypot" = xyes; then :
36643  cat >>confdefs.h <<_ACEOF
36644#define HAVE_HYPOT 1
36645_ACEOF
36646
36647fi
36648done
36649
36650  else
36651
36652  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36653$as_echo_n "checking for _hypot declaration... " >&6; }
36654  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36655    if ${glibcxx_cv_func__hypot_use+:} false; then :
36656  $as_echo_n "(cached) " >&6
36657else
36658
36659
36660      ac_ext=cpp
36661ac_cpp='$CXXCPP $CPPFLAGS'
36662ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36663ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36664ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36665
36666      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36667/* end confdefs.h.  */
36668#include <math.h>
36669int
36670main ()
36671{
36672 _hypot(0, 0);
36673  ;
36674  return 0;
36675}
36676_ACEOF
36677if ac_fn_cxx_try_compile "$LINENO"; then :
36678  glibcxx_cv_func__hypot_use=yes
36679else
36680  glibcxx_cv_func__hypot_use=no
36681fi
36682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36683      ac_ext=c
36684ac_cpp='$CPP $CPPFLAGS'
36685ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687ac_compiler_gnu=$ac_cv_c_compiler_gnu
36688
36689
36690fi
36691
36692  fi
36693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36694$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36695
36696    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36697      for ac_func in _hypot
36698do :
36699  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36700if test "x$ac_cv_func__hypot" = xyes; then :
36701  cat >>confdefs.h <<_ACEOF
36702#define HAVE__HYPOT 1
36703_ACEOF
36704
36705fi
36706done
36707
36708    fi
36709  fi
36710
36711
36712
36713
36714
36715    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36716$as_echo_n "checking for float trig functions... " >&6; }
36717  if ${glibcxx_cv_func_float_trig_use+:} false; then :
36718  $as_echo_n "(cached) " >&6
36719else
36720
36721
36722    ac_ext=cpp
36723ac_cpp='$CXXCPP $CPPFLAGS'
36724ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36725ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36726ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36727
36728    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36729/* end confdefs.h.  */
36730#include <math.h>
36731int
36732main ()
36733{
36734acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36735  ;
36736  return 0;
36737}
36738_ACEOF
36739if ac_fn_cxx_try_compile "$LINENO"; then :
36740  glibcxx_cv_func_float_trig_use=yes
36741else
36742  glibcxx_cv_func_float_trig_use=no
36743fi
36744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36745    ac_ext=c
36746ac_cpp='$CPP $CPPFLAGS'
36747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36749ac_compiler_gnu=$ac_cv_c_compiler_gnu
36750
36751fi
36752
36753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36754$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36755  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36756    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36757do :
36758  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36759ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36760if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36761  cat >>confdefs.h <<_ACEOF
36762#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36763_ACEOF
36764
36765fi
36766done
36767
36768  else
36769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36770$as_echo_n "checking for _float trig functions... " >&6; }
36771    if ${glibcxx_cv_func__float_trig_use+:} false; then :
36772  $as_echo_n "(cached) " >&6
36773else
36774
36775
36776      ac_ext=cpp
36777ac_cpp='$CXXCPP $CPPFLAGS'
36778ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36781
36782      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36783/* end confdefs.h.  */
36784#include <math.h>
36785int
36786main ()
36787{
36788_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36789  ;
36790  return 0;
36791}
36792_ACEOF
36793if ac_fn_cxx_try_compile "$LINENO"; then :
36794  glibcxx_cv_func__float_trig_use=yes
36795else
36796  glibcxx_cv_func__float_trig_use=no
36797fi
36798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36799      ac_ext=c
36800ac_cpp='$CPP $CPPFLAGS'
36801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36803ac_compiler_gnu=$ac_cv_c_compiler_gnu
36804
36805fi
36806
36807    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36808$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36809    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36810      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36811do :
36812  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36813ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36814if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36815  cat >>confdefs.h <<_ACEOF
36816#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36817_ACEOF
36818
36819fi
36820done
36821
36822    fi
36823  fi
36824
36825
36826
36827
36828
36829    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36830$as_echo_n "checking for float round functions... " >&6; }
36831  if ${glibcxx_cv_func_float_round_use+:} false; then :
36832  $as_echo_n "(cached) " >&6
36833else
36834
36835
36836    ac_ext=cpp
36837ac_cpp='$CXXCPP $CPPFLAGS'
36838ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36839ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36840ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36841
36842    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36843/* end confdefs.h.  */
36844#include <math.h>
36845int
36846main ()
36847{
36848ceilf (0); floorf (0);
36849  ;
36850  return 0;
36851}
36852_ACEOF
36853if ac_fn_cxx_try_compile "$LINENO"; then :
36854  glibcxx_cv_func_float_round_use=yes
36855else
36856  glibcxx_cv_func_float_round_use=no
36857fi
36858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36859    ac_ext=c
36860ac_cpp='$CPP $CPPFLAGS'
36861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36863ac_compiler_gnu=$ac_cv_c_compiler_gnu
36864
36865fi
36866
36867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36868$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36869  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36870    for ac_func in ceilf floorf
36871do :
36872  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36873ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36874if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36875  cat >>confdefs.h <<_ACEOF
36876#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36877_ACEOF
36878
36879fi
36880done
36881
36882  else
36883    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36884$as_echo_n "checking for _float round functions... " >&6; }
36885    if ${glibcxx_cv_func__float_round_use+:} false; then :
36886  $as_echo_n "(cached) " >&6
36887else
36888
36889
36890      ac_ext=cpp
36891ac_cpp='$CXXCPP $CPPFLAGS'
36892ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36893ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36894ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36895
36896      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36897/* end confdefs.h.  */
36898#include <math.h>
36899int
36900main ()
36901{
36902_ceilf (0); _floorf (0);
36903  ;
36904  return 0;
36905}
36906_ACEOF
36907if ac_fn_cxx_try_compile "$LINENO"; then :
36908  glibcxx_cv_func__float_round_use=yes
36909else
36910  glibcxx_cv_func__float_round_use=no
36911fi
36912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36913      ac_ext=c
36914ac_cpp='$CPP $CPPFLAGS'
36915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36917ac_compiler_gnu=$ac_cv_c_compiler_gnu
36918
36919fi
36920
36921    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36922$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36923    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36924      for ac_func in _ceilf _floorf
36925do :
36926  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36927ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36928if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36929  cat >>confdefs.h <<_ACEOF
36930#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36931_ACEOF
36932
36933fi
36934done
36935
36936    fi
36937  fi
36938
36939
36940
36941
36942
36943
36944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36945$as_echo_n "checking for expf declaration... " >&6; }
36946  if test x${glibcxx_cv_func_expf_use+set} != xset; then
36947    if ${glibcxx_cv_func_expf_use+:} false; then :
36948  $as_echo_n "(cached) " >&6
36949else
36950
36951
36952      ac_ext=cpp
36953ac_cpp='$CXXCPP $CPPFLAGS'
36954ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36955ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36956ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36957
36958      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36959/* end confdefs.h.  */
36960#include <math.h>
36961		      #ifdef HAVE_IEEEFP_H
36962		      #include <ieeefp.h>
36963		      #endif
36964
36965int
36966main ()
36967{
36968 expf(0);
36969  ;
36970  return 0;
36971}
36972_ACEOF
36973if ac_fn_cxx_try_compile "$LINENO"; then :
36974  glibcxx_cv_func_expf_use=yes
36975else
36976  glibcxx_cv_func_expf_use=no
36977fi
36978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36979      ac_ext=c
36980ac_cpp='$CPP $CPPFLAGS'
36981ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36982ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36983ac_compiler_gnu=$ac_cv_c_compiler_gnu
36984
36985
36986fi
36987
36988  fi
36989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36990$as_echo "$glibcxx_cv_func_expf_use" >&6; }
36991
36992  if test x$glibcxx_cv_func_expf_use = x"yes"; then
36993    for ac_func in expf
36994do :
36995  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36996if test "x$ac_cv_func_expf" = xyes; then :
36997  cat >>confdefs.h <<_ACEOF
36998#define HAVE_EXPF 1
36999_ACEOF
37000
37001fi
37002done
37003
37004  else
37005
37006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
37007$as_echo_n "checking for _expf declaration... " >&6; }
37008  if test x${glibcxx_cv_func__expf_use+set} != xset; then
37009    if ${glibcxx_cv_func__expf_use+:} false; then :
37010  $as_echo_n "(cached) " >&6
37011else
37012
37013
37014      ac_ext=cpp
37015ac_cpp='$CXXCPP $CPPFLAGS'
37016ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37017ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37018ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37019
37020      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37021/* end confdefs.h.  */
37022#include <math.h>
37023		      #ifdef HAVE_IEEEFP_H
37024		      #include <ieeefp.h>
37025		      #endif
37026
37027int
37028main ()
37029{
37030 _expf(0);
37031  ;
37032  return 0;
37033}
37034_ACEOF
37035if ac_fn_cxx_try_compile "$LINENO"; then :
37036  glibcxx_cv_func__expf_use=yes
37037else
37038  glibcxx_cv_func__expf_use=no
37039fi
37040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37041      ac_ext=c
37042ac_cpp='$CPP $CPPFLAGS'
37043ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37044ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37045ac_compiler_gnu=$ac_cv_c_compiler_gnu
37046
37047
37048fi
37049
37050  fi
37051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
37052$as_echo "$glibcxx_cv_func__expf_use" >&6; }
37053
37054    if test x$glibcxx_cv_func__expf_use = x"yes"; then
37055      for ac_func in _expf
37056do :
37057  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
37058if test "x$ac_cv_func__expf" = xyes; then :
37059  cat >>confdefs.h <<_ACEOF
37060#define HAVE__EXPF 1
37061_ACEOF
37062
37063fi
37064done
37065
37066    fi
37067  fi
37068
37069
37070
37071
37072
37073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
37074$as_echo_n "checking for isnanf declaration... " >&6; }
37075  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37076    if ${glibcxx_cv_func_isnanf_use+:} false; then :
37077  $as_echo_n "(cached) " >&6
37078else
37079
37080
37081      ac_ext=cpp
37082ac_cpp='$CXXCPP $CPPFLAGS'
37083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37086
37087      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37088/* end confdefs.h.  */
37089#include <math.h>
37090		      #ifdef HAVE_IEEEFP_H
37091		      #include <ieeefp.h>
37092		      #endif
37093
37094int
37095main ()
37096{
37097 isnanf(0);
37098  ;
37099  return 0;
37100}
37101_ACEOF
37102if ac_fn_cxx_try_compile "$LINENO"; then :
37103  glibcxx_cv_func_isnanf_use=yes
37104else
37105  glibcxx_cv_func_isnanf_use=no
37106fi
37107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37108      ac_ext=c
37109ac_cpp='$CPP $CPPFLAGS'
37110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112ac_compiler_gnu=$ac_cv_c_compiler_gnu
37113
37114
37115fi
37116
37117  fi
37118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
37119$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
37120
37121  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37122    for ac_func in isnanf
37123do :
37124  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
37125if test "x$ac_cv_func_isnanf" = xyes; then :
37126  cat >>confdefs.h <<_ACEOF
37127#define HAVE_ISNANF 1
37128_ACEOF
37129
37130fi
37131done
37132
37133  else
37134
37135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
37136$as_echo_n "checking for _isnanf declaration... " >&6; }
37137  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37138    if ${glibcxx_cv_func__isnanf_use+:} false; then :
37139  $as_echo_n "(cached) " >&6
37140else
37141
37142
37143      ac_ext=cpp
37144ac_cpp='$CXXCPP $CPPFLAGS'
37145ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37146ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37147ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37148
37149      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37150/* end confdefs.h.  */
37151#include <math.h>
37152		      #ifdef HAVE_IEEEFP_H
37153		      #include <ieeefp.h>
37154		      #endif
37155
37156int
37157main ()
37158{
37159 _isnanf(0);
37160  ;
37161  return 0;
37162}
37163_ACEOF
37164if ac_fn_cxx_try_compile "$LINENO"; then :
37165  glibcxx_cv_func__isnanf_use=yes
37166else
37167  glibcxx_cv_func__isnanf_use=no
37168fi
37169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37170      ac_ext=c
37171ac_cpp='$CPP $CPPFLAGS'
37172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174ac_compiler_gnu=$ac_cv_c_compiler_gnu
37175
37176
37177fi
37178
37179  fi
37180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
37181$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
37182
37183    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37184      for ac_func in _isnanf
37185do :
37186  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
37187if test "x$ac_cv_func__isnanf" = xyes; then :
37188  cat >>confdefs.h <<_ACEOF
37189#define HAVE__ISNANF 1
37190_ACEOF
37191
37192fi
37193done
37194
37195    fi
37196  fi
37197
37198
37199
37200
37201
37202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
37203$as_echo_n "checking for isinff declaration... " >&6; }
37204  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37205    if ${glibcxx_cv_func_isinff_use+:} false; then :
37206  $as_echo_n "(cached) " >&6
37207else
37208
37209
37210      ac_ext=cpp
37211ac_cpp='$CXXCPP $CPPFLAGS'
37212ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37213ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37214ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37215
37216      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37217/* end confdefs.h.  */
37218#include <math.h>
37219		      #ifdef HAVE_IEEEFP_H
37220		      #include <ieeefp.h>
37221		      #endif
37222
37223int
37224main ()
37225{
37226 isinff(0);
37227  ;
37228  return 0;
37229}
37230_ACEOF
37231if ac_fn_cxx_try_compile "$LINENO"; then :
37232  glibcxx_cv_func_isinff_use=yes
37233else
37234  glibcxx_cv_func_isinff_use=no
37235fi
37236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37237      ac_ext=c
37238ac_cpp='$CPP $CPPFLAGS'
37239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37241ac_compiler_gnu=$ac_cv_c_compiler_gnu
37242
37243
37244fi
37245
37246  fi
37247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37248$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37249
37250  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37251    for ac_func in isinff
37252do :
37253  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37254if test "x$ac_cv_func_isinff" = xyes; then :
37255  cat >>confdefs.h <<_ACEOF
37256#define HAVE_ISINFF 1
37257_ACEOF
37258
37259fi
37260done
37261
37262  else
37263
37264  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37265$as_echo_n "checking for _isinff declaration... " >&6; }
37266  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37267    if ${glibcxx_cv_func__isinff_use+:} false; then :
37268  $as_echo_n "(cached) " >&6
37269else
37270
37271
37272      ac_ext=cpp
37273ac_cpp='$CXXCPP $CPPFLAGS'
37274ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37277
37278      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37279/* end confdefs.h.  */
37280#include <math.h>
37281		      #ifdef HAVE_IEEEFP_H
37282		      #include <ieeefp.h>
37283		      #endif
37284
37285int
37286main ()
37287{
37288 _isinff(0);
37289  ;
37290  return 0;
37291}
37292_ACEOF
37293if ac_fn_cxx_try_compile "$LINENO"; then :
37294  glibcxx_cv_func__isinff_use=yes
37295else
37296  glibcxx_cv_func__isinff_use=no
37297fi
37298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37299      ac_ext=c
37300ac_cpp='$CPP $CPPFLAGS'
37301ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37302ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37303ac_compiler_gnu=$ac_cv_c_compiler_gnu
37304
37305
37306fi
37307
37308  fi
37309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37310$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37311
37312    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37313      for ac_func in _isinff
37314do :
37315  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37316if test "x$ac_cv_func__isinff" = xyes; then :
37317  cat >>confdefs.h <<_ACEOF
37318#define HAVE__ISINFF 1
37319_ACEOF
37320
37321fi
37322done
37323
37324    fi
37325  fi
37326
37327
37328
37329
37330
37331  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37332$as_echo_n "checking for atan2f declaration... " >&6; }
37333  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37334    if ${glibcxx_cv_func_atan2f_use+:} false; then :
37335  $as_echo_n "(cached) " >&6
37336else
37337
37338
37339      ac_ext=cpp
37340ac_cpp='$CXXCPP $CPPFLAGS'
37341ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37342ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37343ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37344
37345      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37346/* end confdefs.h.  */
37347#include <math.h>
37348int
37349main ()
37350{
37351 atan2f(0, 0);
37352  ;
37353  return 0;
37354}
37355_ACEOF
37356if ac_fn_cxx_try_compile "$LINENO"; then :
37357  glibcxx_cv_func_atan2f_use=yes
37358else
37359  glibcxx_cv_func_atan2f_use=no
37360fi
37361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37362      ac_ext=c
37363ac_cpp='$CPP $CPPFLAGS'
37364ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37365ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37366ac_compiler_gnu=$ac_cv_c_compiler_gnu
37367
37368
37369fi
37370
37371  fi
37372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37373$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37374
37375  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37376    for ac_func in atan2f
37377do :
37378  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37379if test "x$ac_cv_func_atan2f" = xyes; then :
37380  cat >>confdefs.h <<_ACEOF
37381#define HAVE_ATAN2F 1
37382_ACEOF
37383
37384fi
37385done
37386
37387  else
37388
37389  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37390$as_echo_n "checking for _atan2f declaration... " >&6; }
37391  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37392    if ${glibcxx_cv_func__atan2f_use+:} false; then :
37393  $as_echo_n "(cached) " >&6
37394else
37395
37396
37397      ac_ext=cpp
37398ac_cpp='$CXXCPP $CPPFLAGS'
37399ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37400ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37401ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37402
37403      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37404/* end confdefs.h.  */
37405#include <math.h>
37406int
37407main ()
37408{
37409 _atan2f(0, 0);
37410  ;
37411  return 0;
37412}
37413_ACEOF
37414if ac_fn_cxx_try_compile "$LINENO"; then :
37415  glibcxx_cv_func__atan2f_use=yes
37416else
37417  glibcxx_cv_func__atan2f_use=no
37418fi
37419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37420      ac_ext=c
37421ac_cpp='$CPP $CPPFLAGS'
37422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37424ac_compiler_gnu=$ac_cv_c_compiler_gnu
37425
37426
37427fi
37428
37429  fi
37430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37431$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37432
37433    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37434      for ac_func in _atan2f
37435do :
37436  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37437if test "x$ac_cv_func__atan2f" = xyes; then :
37438  cat >>confdefs.h <<_ACEOF
37439#define HAVE__ATAN2F 1
37440_ACEOF
37441
37442fi
37443done
37444
37445    fi
37446  fi
37447
37448
37449
37450
37451
37452  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37453$as_echo_n "checking for fabsf declaration... " >&6; }
37454  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37455    if ${glibcxx_cv_func_fabsf_use+:} false; then :
37456  $as_echo_n "(cached) " >&6
37457else
37458
37459
37460      ac_ext=cpp
37461ac_cpp='$CXXCPP $CPPFLAGS'
37462ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37463ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37464ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37465
37466      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37467/* end confdefs.h.  */
37468#include <math.h>
37469		      #ifdef HAVE_IEEEFP_H
37470		      #include <ieeefp.h>
37471		      #endif
37472
37473int
37474main ()
37475{
37476 fabsf(0);
37477  ;
37478  return 0;
37479}
37480_ACEOF
37481if ac_fn_cxx_try_compile "$LINENO"; then :
37482  glibcxx_cv_func_fabsf_use=yes
37483else
37484  glibcxx_cv_func_fabsf_use=no
37485fi
37486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37487      ac_ext=c
37488ac_cpp='$CPP $CPPFLAGS'
37489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37491ac_compiler_gnu=$ac_cv_c_compiler_gnu
37492
37493
37494fi
37495
37496  fi
37497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37498$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37499
37500  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37501    for ac_func in fabsf
37502do :
37503  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37504if test "x$ac_cv_func_fabsf" = xyes; then :
37505  cat >>confdefs.h <<_ACEOF
37506#define HAVE_FABSF 1
37507_ACEOF
37508
37509fi
37510done
37511
37512  else
37513
37514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37515$as_echo_n "checking for _fabsf declaration... " >&6; }
37516  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37517    if ${glibcxx_cv_func__fabsf_use+:} false; then :
37518  $as_echo_n "(cached) " >&6
37519else
37520
37521
37522      ac_ext=cpp
37523ac_cpp='$CXXCPP $CPPFLAGS'
37524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37527
37528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37529/* end confdefs.h.  */
37530#include <math.h>
37531		      #ifdef HAVE_IEEEFP_H
37532		      #include <ieeefp.h>
37533		      #endif
37534
37535int
37536main ()
37537{
37538 _fabsf(0);
37539  ;
37540  return 0;
37541}
37542_ACEOF
37543if ac_fn_cxx_try_compile "$LINENO"; then :
37544  glibcxx_cv_func__fabsf_use=yes
37545else
37546  glibcxx_cv_func__fabsf_use=no
37547fi
37548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37549      ac_ext=c
37550ac_cpp='$CPP $CPPFLAGS'
37551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37553ac_compiler_gnu=$ac_cv_c_compiler_gnu
37554
37555
37556fi
37557
37558  fi
37559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37560$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37561
37562    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37563      for ac_func in _fabsf
37564do :
37565  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37566if test "x$ac_cv_func__fabsf" = xyes; then :
37567  cat >>confdefs.h <<_ACEOF
37568#define HAVE__FABSF 1
37569_ACEOF
37570
37571fi
37572done
37573
37574    fi
37575  fi
37576
37577
37578
37579
37580
37581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37582$as_echo_n "checking for fmodf declaration... " >&6; }
37583  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37584    if ${glibcxx_cv_func_fmodf_use+:} false; then :
37585  $as_echo_n "(cached) " >&6
37586else
37587
37588
37589      ac_ext=cpp
37590ac_cpp='$CXXCPP $CPPFLAGS'
37591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37594
37595      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37596/* end confdefs.h.  */
37597#include <math.h>
37598int
37599main ()
37600{
37601 fmodf(0, 0);
37602  ;
37603  return 0;
37604}
37605_ACEOF
37606if ac_fn_cxx_try_compile "$LINENO"; then :
37607  glibcxx_cv_func_fmodf_use=yes
37608else
37609  glibcxx_cv_func_fmodf_use=no
37610fi
37611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37612      ac_ext=c
37613ac_cpp='$CPP $CPPFLAGS'
37614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616ac_compiler_gnu=$ac_cv_c_compiler_gnu
37617
37618
37619fi
37620
37621  fi
37622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37623$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37624
37625  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37626    for ac_func in fmodf
37627do :
37628  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37629if test "x$ac_cv_func_fmodf" = xyes; then :
37630  cat >>confdefs.h <<_ACEOF
37631#define HAVE_FMODF 1
37632_ACEOF
37633
37634fi
37635done
37636
37637  else
37638
37639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37640$as_echo_n "checking for _fmodf declaration... " >&6; }
37641  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37642    if ${glibcxx_cv_func__fmodf_use+:} false; then :
37643  $as_echo_n "(cached) " >&6
37644else
37645
37646
37647      ac_ext=cpp
37648ac_cpp='$CXXCPP $CPPFLAGS'
37649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37652
37653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37654/* end confdefs.h.  */
37655#include <math.h>
37656int
37657main ()
37658{
37659 _fmodf(0, 0);
37660  ;
37661  return 0;
37662}
37663_ACEOF
37664if ac_fn_cxx_try_compile "$LINENO"; then :
37665  glibcxx_cv_func__fmodf_use=yes
37666else
37667  glibcxx_cv_func__fmodf_use=no
37668fi
37669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37670      ac_ext=c
37671ac_cpp='$CPP $CPPFLAGS'
37672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37674ac_compiler_gnu=$ac_cv_c_compiler_gnu
37675
37676
37677fi
37678
37679  fi
37680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37681$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37682
37683    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37684      for ac_func in _fmodf
37685do :
37686  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37687if test "x$ac_cv_func__fmodf" = xyes; then :
37688  cat >>confdefs.h <<_ACEOF
37689#define HAVE__FMODF 1
37690_ACEOF
37691
37692fi
37693done
37694
37695    fi
37696  fi
37697
37698
37699
37700
37701
37702  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37703$as_echo_n "checking for frexpf declaration... " >&6; }
37704  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37705    if ${glibcxx_cv_func_frexpf_use+:} false; then :
37706  $as_echo_n "(cached) " >&6
37707else
37708
37709
37710      ac_ext=cpp
37711ac_cpp='$CXXCPP $CPPFLAGS'
37712ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37715
37716      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37717/* end confdefs.h.  */
37718#include <math.h>
37719int
37720main ()
37721{
37722 frexpf(0, 0);
37723  ;
37724  return 0;
37725}
37726_ACEOF
37727if ac_fn_cxx_try_compile "$LINENO"; then :
37728  glibcxx_cv_func_frexpf_use=yes
37729else
37730  glibcxx_cv_func_frexpf_use=no
37731fi
37732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37733      ac_ext=c
37734ac_cpp='$CPP $CPPFLAGS'
37735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737ac_compiler_gnu=$ac_cv_c_compiler_gnu
37738
37739
37740fi
37741
37742  fi
37743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37744$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37745
37746  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37747    for ac_func in frexpf
37748do :
37749  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37750if test "x$ac_cv_func_frexpf" = xyes; then :
37751  cat >>confdefs.h <<_ACEOF
37752#define HAVE_FREXPF 1
37753_ACEOF
37754
37755fi
37756done
37757
37758  else
37759
37760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37761$as_echo_n "checking for _frexpf declaration... " >&6; }
37762  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37763    if ${glibcxx_cv_func__frexpf_use+:} false; then :
37764  $as_echo_n "(cached) " >&6
37765else
37766
37767
37768      ac_ext=cpp
37769ac_cpp='$CXXCPP $CPPFLAGS'
37770ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37771ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37772ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37773
37774      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37775/* end confdefs.h.  */
37776#include <math.h>
37777int
37778main ()
37779{
37780 _frexpf(0, 0);
37781  ;
37782  return 0;
37783}
37784_ACEOF
37785if ac_fn_cxx_try_compile "$LINENO"; then :
37786  glibcxx_cv_func__frexpf_use=yes
37787else
37788  glibcxx_cv_func__frexpf_use=no
37789fi
37790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37791      ac_ext=c
37792ac_cpp='$CPP $CPPFLAGS'
37793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37795ac_compiler_gnu=$ac_cv_c_compiler_gnu
37796
37797
37798fi
37799
37800  fi
37801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37802$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37803
37804    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37805      for ac_func in _frexpf
37806do :
37807  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37808if test "x$ac_cv_func__frexpf" = xyes; then :
37809  cat >>confdefs.h <<_ACEOF
37810#define HAVE__FREXPF 1
37811_ACEOF
37812
37813fi
37814done
37815
37816    fi
37817  fi
37818
37819
37820
37821
37822
37823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37824$as_echo_n "checking for hypotf declaration... " >&6; }
37825  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37826    if ${glibcxx_cv_func_hypotf_use+:} false; then :
37827  $as_echo_n "(cached) " >&6
37828else
37829
37830
37831      ac_ext=cpp
37832ac_cpp='$CXXCPP $CPPFLAGS'
37833ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37836
37837      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37838/* end confdefs.h.  */
37839#include <math.h>
37840int
37841main ()
37842{
37843 hypotf(0, 0);
37844  ;
37845  return 0;
37846}
37847_ACEOF
37848if ac_fn_cxx_try_compile "$LINENO"; then :
37849  glibcxx_cv_func_hypotf_use=yes
37850else
37851  glibcxx_cv_func_hypotf_use=no
37852fi
37853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37854      ac_ext=c
37855ac_cpp='$CPP $CPPFLAGS'
37856ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37857ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37858ac_compiler_gnu=$ac_cv_c_compiler_gnu
37859
37860
37861fi
37862
37863  fi
37864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37865$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37866
37867  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37868    for ac_func in hypotf
37869do :
37870  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37871if test "x$ac_cv_func_hypotf" = xyes; then :
37872  cat >>confdefs.h <<_ACEOF
37873#define HAVE_HYPOTF 1
37874_ACEOF
37875
37876fi
37877done
37878
37879  else
37880
37881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37882$as_echo_n "checking for _hypotf declaration... " >&6; }
37883  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37884    if ${glibcxx_cv_func__hypotf_use+:} false; then :
37885  $as_echo_n "(cached) " >&6
37886else
37887
37888
37889      ac_ext=cpp
37890ac_cpp='$CXXCPP $CPPFLAGS'
37891ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37892ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37893ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37894
37895      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37896/* end confdefs.h.  */
37897#include <math.h>
37898int
37899main ()
37900{
37901 _hypotf(0, 0);
37902  ;
37903  return 0;
37904}
37905_ACEOF
37906if ac_fn_cxx_try_compile "$LINENO"; then :
37907  glibcxx_cv_func__hypotf_use=yes
37908else
37909  glibcxx_cv_func__hypotf_use=no
37910fi
37911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37912      ac_ext=c
37913ac_cpp='$CPP $CPPFLAGS'
37914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37916ac_compiler_gnu=$ac_cv_c_compiler_gnu
37917
37918
37919fi
37920
37921  fi
37922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37923$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37924
37925    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37926      for ac_func in _hypotf
37927do :
37928  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37929if test "x$ac_cv_func__hypotf" = xyes; then :
37930  cat >>confdefs.h <<_ACEOF
37931#define HAVE__HYPOTF 1
37932_ACEOF
37933
37934fi
37935done
37936
37937    fi
37938  fi
37939
37940
37941
37942
37943
37944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37945$as_echo_n "checking for ldexpf declaration... " >&6; }
37946  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37947    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37948  $as_echo_n "(cached) " >&6
37949else
37950
37951
37952      ac_ext=cpp
37953ac_cpp='$CXXCPP $CPPFLAGS'
37954ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37955ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37956ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37957
37958      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37959/* end confdefs.h.  */
37960#include <math.h>
37961int
37962main ()
37963{
37964 ldexpf(0, 0);
37965  ;
37966  return 0;
37967}
37968_ACEOF
37969if ac_fn_cxx_try_compile "$LINENO"; then :
37970  glibcxx_cv_func_ldexpf_use=yes
37971else
37972  glibcxx_cv_func_ldexpf_use=no
37973fi
37974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37975      ac_ext=c
37976ac_cpp='$CPP $CPPFLAGS'
37977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37979ac_compiler_gnu=$ac_cv_c_compiler_gnu
37980
37981
37982fi
37983
37984  fi
37985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37986$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37987
37988  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37989    for ac_func in ldexpf
37990do :
37991  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37992if test "x$ac_cv_func_ldexpf" = xyes; then :
37993  cat >>confdefs.h <<_ACEOF
37994#define HAVE_LDEXPF 1
37995_ACEOF
37996
37997fi
37998done
37999
38000  else
38001
38002  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
38003$as_echo_n "checking for _ldexpf declaration... " >&6; }
38004  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38005    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
38006  $as_echo_n "(cached) " >&6
38007else
38008
38009
38010      ac_ext=cpp
38011ac_cpp='$CXXCPP $CPPFLAGS'
38012ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38013ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38014ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38015
38016      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38017/* end confdefs.h.  */
38018#include <math.h>
38019int
38020main ()
38021{
38022 _ldexpf(0, 0);
38023  ;
38024  return 0;
38025}
38026_ACEOF
38027if ac_fn_cxx_try_compile "$LINENO"; then :
38028  glibcxx_cv_func__ldexpf_use=yes
38029else
38030  glibcxx_cv_func__ldexpf_use=no
38031fi
38032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38033      ac_ext=c
38034ac_cpp='$CPP $CPPFLAGS'
38035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38037ac_compiler_gnu=$ac_cv_c_compiler_gnu
38038
38039
38040fi
38041
38042  fi
38043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
38044$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
38045
38046    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38047      for ac_func in _ldexpf
38048do :
38049  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
38050if test "x$ac_cv_func__ldexpf" = xyes; then :
38051  cat >>confdefs.h <<_ACEOF
38052#define HAVE__LDEXPF 1
38053_ACEOF
38054
38055fi
38056done
38057
38058    fi
38059  fi
38060
38061
38062
38063
38064
38065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
38066$as_echo_n "checking for logf declaration... " >&6; }
38067  if test x${glibcxx_cv_func_logf_use+set} != xset; then
38068    if ${glibcxx_cv_func_logf_use+:} false; then :
38069  $as_echo_n "(cached) " >&6
38070else
38071
38072
38073      ac_ext=cpp
38074ac_cpp='$CXXCPP $CPPFLAGS'
38075ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38076ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38077ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38078
38079      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38080/* end confdefs.h.  */
38081#include <math.h>
38082		      #ifdef HAVE_IEEEFP_H
38083		      #include <ieeefp.h>
38084		      #endif
38085
38086int
38087main ()
38088{
38089 logf(0);
38090  ;
38091  return 0;
38092}
38093_ACEOF
38094if ac_fn_cxx_try_compile "$LINENO"; then :
38095  glibcxx_cv_func_logf_use=yes
38096else
38097  glibcxx_cv_func_logf_use=no
38098fi
38099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38100      ac_ext=c
38101ac_cpp='$CPP $CPPFLAGS'
38102ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38103ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38104ac_compiler_gnu=$ac_cv_c_compiler_gnu
38105
38106
38107fi
38108
38109  fi
38110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
38111$as_echo "$glibcxx_cv_func_logf_use" >&6; }
38112
38113  if test x$glibcxx_cv_func_logf_use = x"yes"; then
38114    for ac_func in logf
38115do :
38116  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
38117if test "x$ac_cv_func_logf" = xyes; then :
38118  cat >>confdefs.h <<_ACEOF
38119#define HAVE_LOGF 1
38120_ACEOF
38121
38122fi
38123done
38124
38125  else
38126
38127  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
38128$as_echo_n "checking for _logf declaration... " >&6; }
38129  if test x${glibcxx_cv_func__logf_use+set} != xset; then
38130    if ${glibcxx_cv_func__logf_use+:} false; then :
38131  $as_echo_n "(cached) " >&6
38132else
38133
38134
38135      ac_ext=cpp
38136ac_cpp='$CXXCPP $CPPFLAGS'
38137ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38138ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38139ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38140
38141      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38142/* end confdefs.h.  */
38143#include <math.h>
38144		      #ifdef HAVE_IEEEFP_H
38145		      #include <ieeefp.h>
38146		      #endif
38147
38148int
38149main ()
38150{
38151 _logf(0);
38152  ;
38153  return 0;
38154}
38155_ACEOF
38156if ac_fn_cxx_try_compile "$LINENO"; then :
38157  glibcxx_cv_func__logf_use=yes
38158else
38159  glibcxx_cv_func__logf_use=no
38160fi
38161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38162      ac_ext=c
38163ac_cpp='$CPP $CPPFLAGS'
38164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38166ac_compiler_gnu=$ac_cv_c_compiler_gnu
38167
38168
38169fi
38170
38171  fi
38172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
38173$as_echo "$glibcxx_cv_func__logf_use" >&6; }
38174
38175    if test x$glibcxx_cv_func__logf_use = x"yes"; then
38176      for ac_func in _logf
38177do :
38178  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
38179if test "x$ac_cv_func__logf" = xyes; then :
38180  cat >>confdefs.h <<_ACEOF
38181#define HAVE__LOGF 1
38182_ACEOF
38183
38184fi
38185done
38186
38187    fi
38188  fi
38189
38190
38191
38192
38193
38194  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
38195$as_echo_n "checking for log10f declaration... " >&6; }
38196  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38197    if ${glibcxx_cv_func_log10f_use+:} false; then :
38198  $as_echo_n "(cached) " >&6
38199else
38200
38201
38202      ac_ext=cpp
38203ac_cpp='$CXXCPP $CPPFLAGS'
38204ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38205ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38206ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38207
38208      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38209/* end confdefs.h.  */
38210#include <math.h>
38211		      #ifdef HAVE_IEEEFP_H
38212		      #include <ieeefp.h>
38213		      #endif
38214
38215int
38216main ()
38217{
38218 log10f(0);
38219  ;
38220  return 0;
38221}
38222_ACEOF
38223if ac_fn_cxx_try_compile "$LINENO"; then :
38224  glibcxx_cv_func_log10f_use=yes
38225else
38226  glibcxx_cv_func_log10f_use=no
38227fi
38228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38229      ac_ext=c
38230ac_cpp='$CPP $CPPFLAGS'
38231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38233ac_compiler_gnu=$ac_cv_c_compiler_gnu
38234
38235
38236fi
38237
38238  fi
38239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38240$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38241
38242  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38243    for ac_func in log10f
38244do :
38245  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38246if test "x$ac_cv_func_log10f" = xyes; then :
38247  cat >>confdefs.h <<_ACEOF
38248#define HAVE_LOG10F 1
38249_ACEOF
38250
38251fi
38252done
38253
38254  else
38255
38256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38257$as_echo_n "checking for _log10f declaration... " >&6; }
38258  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38259    if ${glibcxx_cv_func__log10f_use+:} false; then :
38260  $as_echo_n "(cached) " >&6
38261else
38262
38263
38264      ac_ext=cpp
38265ac_cpp='$CXXCPP $CPPFLAGS'
38266ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38267ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38268ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38269
38270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38271/* end confdefs.h.  */
38272#include <math.h>
38273		      #ifdef HAVE_IEEEFP_H
38274		      #include <ieeefp.h>
38275		      #endif
38276
38277int
38278main ()
38279{
38280 _log10f(0);
38281  ;
38282  return 0;
38283}
38284_ACEOF
38285if ac_fn_cxx_try_compile "$LINENO"; then :
38286  glibcxx_cv_func__log10f_use=yes
38287else
38288  glibcxx_cv_func__log10f_use=no
38289fi
38290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38291      ac_ext=c
38292ac_cpp='$CPP $CPPFLAGS'
38293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38295ac_compiler_gnu=$ac_cv_c_compiler_gnu
38296
38297
38298fi
38299
38300  fi
38301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38302$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38303
38304    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38305      for ac_func in _log10f
38306do :
38307  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38308if test "x$ac_cv_func__log10f" = xyes; then :
38309  cat >>confdefs.h <<_ACEOF
38310#define HAVE__LOG10F 1
38311_ACEOF
38312
38313fi
38314done
38315
38316    fi
38317  fi
38318
38319
38320
38321
38322
38323  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38324$as_echo_n "checking for modff declaration... " >&6; }
38325  if test x${glibcxx_cv_func_modff_use+set} != xset; then
38326    if ${glibcxx_cv_func_modff_use+:} false; then :
38327  $as_echo_n "(cached) " >&6
38328else
38329
38330
38331      ac_ext=cpp
38332ac_cpp='$CXXCPP $CPPFLAGS'
38333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38336
38337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38338/* end confdefs.h.  */
38339#include <math.h>
38340int
38341main ()
38342{
38343 modff(0, 0);
38344  ;
38345  return 0;
38346}
38347_ACEOF
38348if ac_fn_cxx_try_compile "$LINENO"; then :
38349  glibcxx_cv_func_modff_use=yes
38350else
38351  glibcxx_cv_func_modff_use=no
38352fi
38353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38354      ac_ext=c
38355ac_cpp='$CPP $CPPFLAGS'
38356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38358ac_compiler_gnu=$ac_cv_c_compiler_gnu
38359
38360
38361fi
38362
38363  fi
38364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38365$as_echo "$glibcxx_cv_func_modff_use" >&6; }
38366
38367  if test x$glibcxx_cv_func_modff_use = x"yes"; then
38368    for ac_func in modff
38369do :
38370  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38371if test "x$ac_cv_func_modff" = xyes; then :
38372  cat >>confdefs.h <<_ACEOF
38373#define HAVE_MODFF 1
38374_ACEOF
38375
38376fi
38377done
38378
38379  else
38380
38381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38382$as_echo_n "checking for _modff declaration... " >&6; }
38383  if test x${glibcxx_cv_func__modff_use+set} != xset; then
38384    if ${glibcxx_cv_func__modff_use+:} false; then :
38385  $as_echo_n "(cached) " >&6
38386else
38387
38388
38389      ac_ext=cpp
38390ac_cpp='$CXXCPP $CPPFLAGS'
38391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38394
38395      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38396/* end confdefs.h.  */
38397#include <math.h>
38398int
38399main ()
38400{
38401 _modff(0, 0);
38402  ;
38403  return 0;
38404}
38405_ACEOF
38406if ac_fn_cxx_try_compile "$LINENO"; then :
38407  glibcxx_cv_func__modff_use=yes
38408else
38409  glibcxx_cv_func__modff_use=no
38410fi
38411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38412      ac_ext=c
38413ac_cpp='$CPP $CPPFLAGS'
38414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38416ac_compiler_gnu=$ac_cv_c_compiler_gnu
38417
38418
38419fi
38420
38421  fi
38422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38423$as_echo "$glibcxx_cv_func__modff_use" >&6; }
38424
38425    if test x$glibcxx_cv_func__modff_use = x"yes"; then
38426      for ac_func in _modff
38427do :
38428  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38429if test "x$ac_cv_func__modff" = xyes; then :
38430  cat >>confdefs.h <<_ACEOF
38431#define HAVE__MODFF 1
38432_ACEOF
38433
38434fi
38435done
38436
38437    fi
38438  fi
38439
38440
38441
38442
38443
38444  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38445$as_echo_n "checking for modf declaration... " >&6; }
38446  if test x${glibcxx_cv_func_modf_use+set} != xset; then
38447    if ${glibcxx_cv_func_modf_use+:} false; then :
38448  $as_echo_n "(cached) " >&6
38449else
38450
38451
38452      ac_ext=cpp
38453ac_cpp='$CXXCPP $CPPFLAGS'
38454ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38457
38458      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38459/* end confdefs.h.  */
38460#include <math.h>
38461int
38462main ()
38463{
38464 modf(0, 0);
38465  ;
38466  return 0;
38467}
38468_ACEOF
38469if ac_fn_cxx_try_compile "$LINENO"; then :
38470  glibcxx_cv_func_modf_use=yes
38471else
38472  glibcxx_cv_func_modf_use=no
38473fi
38474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38475      ac_ext=c
38476ac_cpp='$CPP $CPPFLAGS'
38477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38479ac_compiler_gnu=$ac_cv_c_compiler_gnu
38480
38481
38482fi
38483
38484  fi
38485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38486$as_echo "$glibcxx_cv_func_modf_use" >&6; }
38487
38488  if test x$glibcxx_cv_func_modf_use = x"yes"; then
38489    for ac_func in modf
38490do :
38491  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38492if test "x$ac_cv_func_modf" = xyes; then :
38493  cat >>confdefs.h <<_ACEOF
38494#define HAVE_MODF 1
38495_ACEOF
38496
38497fi
38498done
38499
38500  else
38501
38502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38503$as_echo_n "checking for _modf declaration... " >&6; }
38504  if test x${glibcxx_cv_func__modf_use+set} != xset; then
38505    if ${glibcxx_cv_func__modf_use+:} false; then :
38506  $as_echo_n "(cached) " >&6
38507else
38508
38509
38510      ac_ext=cpp
38511ac_cpp='$CXXCPP $CPPFLAGS'
38512ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38513ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38514ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38515
38516      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38517/* end confdefs.h.  */
38518#include <math.h>
38519int
38520main ()
38521{
38522 _modf(0, 0);
38523  ;
38524  return 0;
38525}
38526_ACEOF
38527if ac_fn_cxx_try_compile "$LINENO"; then :
38528  glibcxx_cv_func__modf_use=yes
38529else
38530  glibcxx_cv_func__modf_use=no
38531fi
38532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38533      ac_ext=c
38534ac_cpp='$CPP $CPPFLAGS'
38535ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38536ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38537ac_compiler_gnu=$ac_cv_c_compiler_gnu
38538
38539
38540fi
38541
38542  fi
38543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38544$as_echo "$glibcxx_cv_func__modf_use" >&6; }
38545
38546    if test x$glibcxx_cv_func__modf_use = x"yes"; then
38547      for ac_func in _modf
38548do :
38549  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38550if test "x$ac_cv_func__modf" = xyes; then :
38551  cat >>confdefs.h <<_ACEOF
38552#define HAVE__MODF 1
38553_ACEOF
38554
38555fi
38556done
38557
38558    fi
38559  fi
38560
38561
38562
38563
38564
38565  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38566$as_echo_n "checking for powf declaration... " >&6; }
38567  if test x${glibcxx_cv_func_powf_use+set} != xset; then
38568    if ${glibcxx_cv_func_powf_use+:} false; then :
38569  $as_echo_n "(cached) " >&6
38570else
38571
38572
38573      ac_ext=cpp
38574ac_cpp='$CXXCPP $CPPFLAGS'
38575ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38576ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38577ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38578
38579      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38580/* end confdefs.h.  */
38581#include <math.h>
38582int
38583main ()
38584{
38585 powf(0, 0);
38586  ;
38587  return 0;
38588}
38589_ACEOF
38590if ac_fn_cxx_try_compile "$LINENO"; then :
38591  glibcxx_cv_func_powf_use=yes
38592else
38593  glibcxx_cv_func_powf_use=no
38594fi
38595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38596      ac_ext=c
38597ac_cpp='$CPP $CPPFLAGS'
38598ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38599ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38600ac_compiler_gnu=$ac_cv_c_compiler_gnu
38601
38602
38603fi
38604
38605  fi
38606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38607$as_echo "$glibcxx_cv_func_powf_use" >&6; }
38608
38609  if test x$glibcxx_cv_func_powf_use = x"yes"; then
38610    for ac_func in powf
38611do :
38612  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38613if test "x$ac_cv_func_powf" = xyes; then :
38614  cat >>confdefs.h <<_ACEOF
38615#define HAVE_POWF 1
38616_ACEOF
38617
38618fi
38619done
38620
38621  else
38622
38623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38624$as_echo_n "checking for _powf declaration... " >&6; }
38625  if test x${glibcxx_cv_func__powf_use+set} != xset; then
38626    if ${glibcxx_cv_func__powf_use+:} false; then :
38627  $as_echo_n "(cached) " >&6
38628else
38629
38630
38631      ac_ext=cpp
38632ac_cpp='$CXXCPP $CPPFLAGS'
38633ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38634ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38635ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38636
38637      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38638/* end confdefs.h.  */
38639#include <math.h>
38640int
38641main ()
38642{
38643 _powf(0, 0);
38644  ;
38645  return 0;
38646}
38647_ACEOF
38648if ac_fn_cxx_try_compile "$LINENO"; then :
38649  glibcxx_cv_func__powf_use=yes
38650else
38651  glibcxx_cv_func__powf_use=no
38652fi
38653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38654      ac_ext=c
38655ac_cpp='$CPP $CPPFLAGS'
38656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38658ac_compiler_gnu=$ac_cv_c_compiler_gnu
38659
38660
38661fi
38662
38663  fi
38664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38665$as_echo "$glibcxx_cv_func__powf_use" >&6; }
38666
38667    if test x$glibcxx_cv_func__powf_use = x"yes"; then
38668      for ac_func in _powf
38669do :
38670  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38671if test "x$ac_cv_func__powf" = xyes; then :
38672  cat >>confdefs.h <<_ACEOF
38673#define HAVE__POWF 1
38674_ACEOF
38675
38676fi
38677done
38678
38679    fi
38680  fi
38681
38682
38683
38684
38685
38686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38687$as_echo_n "checking for sqrtf declaration... " >&6; }
38688  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38689    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38690  $as_echo_n "(cached) " >&6
38691else
38692
38693
38694      ac_ext=cpp
38695ac_cpp='$CXXCPP $CPPFLAGS'
38696ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38697ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38698ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38699
38700      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38701/* end confdefs.h.  */
38702#include <math.h>
38703		      #ifdef HAVE_IEEEFP_H
38704		      #include <ieeefp.h>
38705		      #endif
38706
38707int
38708main ()
38709{
38710 sqrtf(0);
38711  ;
38712  return 0;
38713}
38714_ACEOF
38715if ac_fn_cxx_try_compile "$LINENO"; then :
38716  glibcxx_cv_func_sqrtf_use=yes
38717else
38718  glibcxx_cv_func_sqrtf_use=no
38719fi
38720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38721      ac_ext=c
38722ac_cpp='$CPP $CPPFLAGS'
38723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38725ac_compiler_gnu=$ac_cv_c_compiler_gnu
38726
38727
38728fi
38729
38730  fi
38731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38732$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38733
38734  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38735    for ac_func in sqrtf
38736do :
38737  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38738if test "x$ac_cv_func_sqrtf" = xyes; then :
38739  cat >>confdefs.h <<_ACEOF
38740#define HAVE_SQRTF 1
38741_ACEOF
38742
38743fi
38744done
38745
38746  else
38747
38748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38749$as_echo_n "checking for _sqrtf declaration... " >&6; }
38750  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38751    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38752  $as_echo_n "(cached) " >&6
38753else
38754
38755
38756      ac_ext=cpp
38757ac_cpp='$CXXCPP $CPPFLAGS'
38758ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38759ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38760ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38761
38762      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38763/* end confdefs.h.  */
38764#include <math.h>
38765		      #ifdef HAVE_IEEEFP_H
38766		      #include <ieeefp.h>
38767		      #endif
38768
38769int
38770main ()
38771{
38772 _sqrtf(0);
38773  ;
38774  return 0;
38775}
38776_ACEOF
38777if ac_fn_cxx_try_compile "$LINENO"; then :
38778  glibcxx_cv_func__sqrtf_use=yes
38779else
38780  glibcxx_cv_func__sqrtf_use=no
38781fi
38782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38783      ac_ext=c
38784ac_cpp='$CPP $CPPFLAGS'
38785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38787ac_compiler_gnu=$ac_cv_c_compiler_gnu
38788
38789
38790fi
38791
38792  fi
38793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38794$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38795
38796    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38797      for ac_func in _sqrtf
38798do :
38799  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38800if test "x$ac_cv_func__sqrtf" = xyes; then :
38801  cat >>confdefs.h <<_ACEOF
38802#define HAVE__SQRTF 1
38803_ACEOF
38804
38805fi
38806done
38807
38808    fi
38809  fi
38810
38811
38812
38813
38814
38815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38816$as_echo_n "checking for sincosf declaration... " >&6; }
38817  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38818    if ${glibcxx_cv_func_sincosf_use+:} false; then :
38819  $as_echo_n "(cached) " >&6
38820else
38821
38822
38823      ac_ext=cpp
38824ac_cpp='$CXXCPP $CPPFLAGS'
38825ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38828
38829      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38830/* end confdefs.h.  */
38831#include <math.h>
38832int
38833main ()
38834{
38835 sincosf(0, 0, 0);
38836  ;
38837  return 0;
38838}
38839_ACEOF
38840if ac_fn_cxx_try_compile "$LINENO"; then :
38841  glibcxx_cv_func_sincosf_use=yes
38842else
38843  glibcxx_cv_func_sincosf_use=no
38844fi
38845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38846      ac_ext=c
38847ac_cpp='$CPP $CPPFLAGS'
38848ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38849ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38850ac_compiler_gnu=$ac_cv_c_compiler_gnu
38851
38852
38853fi
38854
38855  fi
38856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38857$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38858
38859  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38860    for ac_func in sincosf
38861do :
38862  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38863if test "x$ac_cv_func_sincosf" = xyes; then :
38864  cat >>confdefs.h <<_ACEOF
38865#define HAVE_SINCOSF 1
38866_ACEOF
38867
38868fi
38869done
38870
38871  else
38872
38873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38874$as_echo_n "checking for _sincosf declaration... " >&6; }
38875  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38876    if ${glibcxx_cv_func__sincosf_use+:} false; then :
38877  $as_echo_n "(cached) " >&6
38878else
38879
38880
38881      ac_ext=cpp
38882ac_cpp='$CXXCPP $CPPFLAGS'
38883ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38884ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38885ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38886
38887      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38888/* end confdefs.h.  */
38889#include <math.h>
38890int
38891main ()
38892{
38893 _sincosf(0, 0, 0);
38894  ;
38895  return 0;
38896}
38897_ACEOF
38898if ac_fn_cxx_try_compile "$LINENO"; then :
38899  glibcxx_cv_func__sincosf_use=yes
38900else
38901  glibcxx_cv_func__sincosf_use=no
38902fi
38903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38904      ac_ext=c
38905ac_cpp='$CPP $CPPFLAGS'
38906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908ac_compiler_gnu=$ac_cv_c_compiler_gnu
38909
38910
38911fi
38912
38913  fi
38914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38915$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38916
38917    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38918      for ac_func in _sincosf
38919do :
38920  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38921if test "x$ac_cv_func__sincosf" = xyes; then :
38922  cat >>confdefs.h <<_ACEOF
38923#define HAVE__SINCOSF 1
38924_ACEOF
38925
38926fi
38927done
38928
38929    fi
38930  fi
38931
38932
38933
38934
38935
38936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38937$as_echo_n "checking for finitef declaration... " >&6; }
38938  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38939    if ${glibcxx_cv_func_finitef_use+:} false; then :
38940  $as_echo_n "(cached) " >&6
38941else
38942
38943
38944      ac_ext=cpp
38945ac_cpp='$CXXCPP $CPPFLAGS'
38946ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38949
38950      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38951/* end confdefs.h.  */
38952#include <math.h>
38953		      #ifdef HAVE_IEEEFP_H
38954		      #include <ieeefp.h>
38955		      #endif
38956
38957int
38958main ()
38959{
38960 finitef(0);
38961  ;
38962  return 0;
38963}
38964_ACEOF
38965if ac_fn_cxx_try_compile "$LINENO"; then :
38966  glibcxx_cv_func_finitef_use=yes
38967else
38968  glibcxx_cv_func_finitef_use=no
38969fi
38970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38971      ac_ext=c
38972ac_cpp='$CPP $CPPFLAGS'
38973ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38975ac_compiler_gnu=$ac_cv_c_compiler_gnu
38976
38977
38978fi
38979
38980  fi
38981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38982$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38983
38984  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38985    for ac_func in finitef
38986do :
38987  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38988if test "x$ac_cv_func_finitef" = xyes; then :
38989  cat >>confdefs.h <<_ACEOF
38990#define HAVE_FINITEF 1
38991_ACEOF
38992
38993fi
38994done
38995
38996  else
38997
38998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38999$as_echo_n "checking for _finitef declaration... " >&6; }
39000  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39001    if ${glibcxx_cv_func__finitef_use+:} false; then :
39002  $as_echo_n "(cached) " >&6
39003else
39004
39005
39006      ac_ext=cpp
39007ac_cpp='$CXXCPP $CPPFLAGS'
39008ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39009ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39010ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39011
39012      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39013/* end confdefs.h.  */
39014#include <math.h>
39015		      #ifdef HAVE_IEEEFP_H
39016		      #include <ieeefp.h>
39017		      #endif
39018
39019int
39020main ()
39021{
39022 _finitef(0);
39023  ;
39024  return 0;
39025}
39026_ACEOF
39027if ac_fn_cxx_try_compile "$LINENO"; then :
39028  glibcxx_cv_func__finitef_use=yes
39029else
39030  glibcxx_cv_func__finitef_use=no
39031fi
39032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39033      ac_ext=c
39034ac_cpp='$CPP $CPPFLAGS'
39035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39037ac_compiler_gnu=$ac_cv_c_compiler_gnu
39038
39039
39040fi
39041
39042  fi
39043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
39044$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
39045
39046    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39047      for ac_func in _finitef
39048do :
39049  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
39050if test "x$ac_cv_func__finitef" = xyes; then :
39051  cat >>confdefs.h <<_ACEOF
39052#define HAVE__FINITEF 1
39053_ACEOF
39054
39055fi
39056done
39057
39058    fi
39059  fi
39060
39061
39062
39063
39064
39065    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
39066$as_echo_n "checking for long double trig functions... " >&6; }
39067  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
39068  $as_echo_n "(cached) " >&6
39069else
39070
39071
39072    ac_ext=cpp
39073ac_cpp='$CXXCPP $CPPFLAGS'
39074ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39075ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39076ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39077
39078    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39079/* end confdefs.h.  */
39080#include <math.h>
39081int
39082main ()
39083{
39084acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
39085  ;
39086  return 0;
39087}
39088_ACEOF
39089if ac_fn_cxx_try_compile "$LINENO"; then :
39090  glibcxx_cv_func_long_double_trig_use=yes
39091else
39092  glibcxx_cv_func_long_double_trig_use=no
39093fi
39094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39095    ac_ext=c
39096ac_cpp='$CPP $CPPFLAGS'
39097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39099ac_compiler_gnu=$ac_cv_c_compiler_gnu
39100
39101fi
39102
39103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
39104$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
39105  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39106    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
39107do :
39108  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39109ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39110if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39111  cat >>confdefs.h <<_ACEOF
39112#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39113_ACEOF
39114
39115fi
39116done
39117
39118  else
39119    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
39120$as_echo_n "checking for _long double trig functions... " >&6; }
39121    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
39122  $as_echo_n "(cached) " >&6
39123else
39124
39125
39126      ac_ext=cpp
39127ac_cpp='$CXXCPP $CPPFLAGS'
39128ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39129ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39130ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39131
39132      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39133/* end confdefs.h.  */
39134#include <math.h>
39135int
39136main ()
39137{
39138_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
39139  ;
39140  return 0;
39141}
39142_ACEOF
39143if ac_fn_cxx_try_compile "$LINENO"; then :
39144  glibcxx_cv_func__long_double_trig_use=yes
39145else
39146  glibcxx_cv_func__long_double_trig_use=no
39147fi
39148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39149      ac_ext=c
39150ac_cpp='$CPP $CPPFLAGS'
39151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39153ac_compiler_gnu=$ac_cv_c_compiler_gnu
39154
39155fi
39156
39157    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
39158$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
39159    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
39160      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
39161do :
39162  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39163ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39164if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39165  cat >>confdefs.h <<_ACEOF
39166#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39167_ACEOF
39168
39169fi
39170done
39171
39172    fi
39173  fi
39174
39175
39176
39177
39178
39179    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
39180$as_echo_n "checking for long double round functions... " >&6; }
39181  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
39182  $as_echo_n "(cached) " >&6
39183else
39184
39185
39186    ac_ext=cpp
39187ac_cpp='$CXXCPP $CPPFLAGS'
39188ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39189ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39190ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39191
39192    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39193/* end confdefs.h.  */
39194#include <math.h>
39195int
39196main ()
39197{
39198ceill (0); floorl (0);
39199  ;
39200  return 0;
39201}
39202_ACEOF
39203if ac_fn_cxx_try_compile "$LINENO"; then :
39204  glibcxx_cv_func_long_double_round_use=yes
39205else
39206  glibcxx_cv_func_long_double_round_use=no
39207fi
39208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39209    ac_ext=c
39210ac_cpp='$CPP $CPPFLAGS'
39211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39213ac_compiler_gnu=$ac_cv_c_compiler_gnu
39214
39215fi
39216
39217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39218$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39219  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39220    for ac_func in ceill floorl
39221do :
39222  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39223ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39224if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39225  cat >>confdefs.h <<_ACEOF
39226#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39227_ACEOF
39228
39229fi
39230done
39231
39232  else
39233    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39234$as_echo_n "checking for _long double round functions... " >&6; }
39235    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39236  $as_echo_n "(cached) " >&6
39237else
39238
39239
39240      ac_ext=cpp
39241ac_cpp='$CXXCPP $CPPFLAGS'
39242ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39243ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39244ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39245
39246      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39247/* end confdefs.h.  */
39248#include <math.h>
39249int
39250main ()
39251{
39252_ceill (0); _floorl (0);
39253  ;
39254  return 0;
39255}
39256_ACEOF
39257if ac_fn_cxx_try_compile "$LINENO"; then :
39258  glibcxx_cv_func__long_double_round_use=yes
39259else
39260  glibcxx_cv_func__long_double_round_use=no
39261fi
39262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39263      ac_ext=c
39264ac_cpp='$CPP $CPPFLAGS'
39265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39267ac_compiler_gnu=$ac_cv_c_compiler_gnu
39268
39269fi
39270
39271    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39272$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39273    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39274      for ac_func in _ceill _floorl
39275do :
39276  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39277ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39278if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39279  cat >>confdefs.h <<_ACEOF
39280#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39281_ACEOF
39282
39283fi
39284done
39285
39286    fi
39287  fi
39288
39289
39290
39291
39292
39293
39294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39295$as_echo_n "checking for isnanl declaration... " >&6; }
39296  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39297    if ${glibcxx_cv_func_isnanl_use+:} false; then :
39298  $as_echo_n "(cached) " >&6
39299else
39300
39301
39302      ac_ext=cpp
39303ac_cpp='$CXXCPP $CPPFLAGS'
39304ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39307
39308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39309/* end confdefs.h.  */
39310#include <math.h>
39311		      #ifdef HAVE_IEEEFP_H
39312		      #include <ieeefp.h>
39313		      #endif
39314
39315int
39316main ()
39317{
39318 isnanl(0);
39319  ;
39320  return 0;
39321}
39322_ACEOF
39323if ac_fn_cxx_try_compile "$LINENO"; then :
39324  glibcxx_cv_func_isnanl_use=yes
39325else
39326  glibcxx_cv_func_isnanl_use=no
39327fi
39328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39329      ac_ext=c
39330ac_cpp='$CPP $CPPFLAGS'
39331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39333ac_compiler_gnu=$ac_cv_c_compiler_gnu
39334
39335
39336fi
39337
39338  fi
39339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39340$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39341
39342  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39343    for ac_func in isnanl
39344do :
39345  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39346if test "x$ac_cv_func_isnanl" = xyes; then :
39347  cat >>confdefs.h <<_ACEOF
39348#define HAVE_ISNANL 1
39349_ACEOF
39350
39351fi
39352done
39353
39354  else
39355
39356  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39357$as_echo_n "checking for _isnanl declaration... " >&6; }
39358  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39359    if ${glibcxx_cv_func__isnanl_use+:} false; then :
39360  $as_echo_n "(cached) " >&6
39361else
39362
39363
39364      ac_ext=cpp
39365ac_cpp='$CXXCPP $CPPFLAGS'
39366ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39367ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39368ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39369
39370      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39371/* end confdefs.h.  */
39372#include <math.h>
39373		      #ifdef HAVE_IEEEFP_H
39374		      #include <ieeefp.h>
39375		      #endif
39376
39377int
39378main ()
39379{
39380 _isnanl(0);
39381  ;
39382  return 0;
39383}
39384_ACEOF
39385if ac_fn_cxx_try_compile "$LINENO"; then :
39386  glibcxx_cv_func__isnanl_use=yes
39387else
39388  glibcxx_cv_func__isnanl_use=no
39389fi
39390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39391      ac_ext=c
39392ac_cpp='$CPP $CPPFLAGS'
39393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39395ac_compiler_gnu=$ac_cv_c_compiler_gnu
39396
39397
39398fi
39399
39400  fi
39401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39402$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39403
39404    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39405      for ac_func in _isnanl
39406do :
39407  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39408if test "x$ac_cv_func__isnanl" = xyes; then :
39409  cat >>confdefs.h <<_ACEOF
39410#define HAVE__ISNANL 1
39411_ACEOF
39412
39413fi
39414done
39415
39416    fi
39417  fi
39418
39419
39420
39421
39422
39423  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39424$as_echo_n "checking for isinfl declaration... " >&6; }
39425  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39426    if ${glibcxx_cv_func_isinfl_use+:} false; then :
39427  $as_echo_n "(cached) " >&6
39428else
39429
39430
39431      ac_ext=cpp
39432ac_cpp='$CXXCPP $CPPFLAGS'
39433ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39436
39437      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39438/* end confdefs.h.  */
39439#include <math.h>
39440		      #ifdef HAVE_IEEEFP_H
39441		      #include <ieeefp.h>
39442		      #endif
39443
39444int
39445main ()
39446{
39447 isinfl(0);
39448  ;
39449  return 0;
39450}
39451_ACEOF
39452if ac_fn_cxx_try_compile "$LINENO"; then :
39453  glibcxx_cv_func_isinfl_use=yes
39454else
39455  glibcxx_cv_func_isinfl_use=no
39456fi
39457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39458      ac_ext=c
39459ac_cpp='$CPP $CPPFLAGS'
39460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39462ac_compiler_gnu=$ac_cv_c_compiler_gnu
39463
39464
39465fi
39466
39467  fi
39468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39469$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39470
39471  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39472    for ac_func in isinfl
39473do :
39474  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39475if test "x$ac_cv_func_isinfl" = xyes; then :
39476  cat >>confdefs.h <<_ACEOF
39477#define HAVE_ISINFL 1
39478_ACEOF
39479
39480fi
39481done
39482
39483  else
39484
39485  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39486$as_echo_n "checking for _isinfl declaration... " >&6; }
39487  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39488    if ${glibcxx_cv_func__isinfl_use+:} false; then :
39489  $as_echo_n "(cached) " >&6
39490else
39491
39492
39493      ac_ext=cpp
39494ac_cpp='$CXXCPP $CPPFLAGS'
39495ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39496ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39497ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39498
39499      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39500/* end confdefs.h.  */
39501#include <math.h>
39502		      #ifdef HAVE_IEEEFP_H
39503		      #include <ieeefp.h>
39504		      #endif
39505
39506int
39507main ()
39508{
39509 _isinfl(0);
39510  ;
39511  return 0;
39512}
39513_ACEOF
39514if ac_fn_cxx_try_compile "$LINENO"; then :
39515  glibcxx_cv_func__isinfl_use=yes
39516else
39517  glibcxx_cv_func__isinfl_use=no
39518fi
39519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39520      ac_ext=c
39521ac_cpp='$CPP $CPPFLAGS'
39522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39524ac_compiler_gnu=$ac_cv_c_compiler_gnu
39525
39526
39527fi
39528
39529  fi
39530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39531$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39532
39533    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39534      for ac_func in _isinfl
39535do :
39536  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39537if test "x$ac_cv_func__isinfl" = xyes; then :
39538  cat >>confdefs.h <<_ACEOF
39539#define HAVE__ISINFL 1
39540_ACEOF
39541
39542fi
39543done
39544
39545    fi
39546  fi
39547
39548
39549
39550
39551
39552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39553$as_echo_n "checking for atan2l declaration... " >&6; }
39554  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39555    if ${glibcxx_cv_func_atan2l_use+:} false; then :
39556  $as_echo_n "(cached) " >&6
39557else
39558
39559
39560      ac_ext=cpp
39561ac_cpp='$CXXCPP $CPPFLAGS'
39562ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39565
39566      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39567/* end confdefs.h.  */
39568#include <math.h>
39569int
39570main ()
39571{
39572 atan2l(0, 0);
39573  ;
39574  return 0;
39575}
39576_ACEOF
39577if ac_fn_cxx_try_compile "$LINENO"; then :
39578  glibcxx_cv_func_atan2l_use=yes
39579else
39580  glibcxx_cv_func_atan2l_use=no
39581fi
39582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39583      ac_ext=c
39584ac_cpp='$CPP $CPPFLAGS'
39585ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39586ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39587ac_compiler_gnu=$ac_cv_c_compiler_gnu
39588
39589
39590fi
39591
39592  fi
39593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39594$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39595
39596  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39597    for ac_func in atan2l
39598do :
39599  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39600if test "x$ac_cv_func_atan2l" = xyes; then :
39601  cat >>confdefs.h <<_ACEOF
39602#define HAVE_ATAN2L 1
39603_ACEOF
39604
39605fi
39606done
39607
39608  else
39609
39610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39611$as_echo_n "checking for _atan2l declaration... " >&6; }
39612  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39613    if ${glibcxx_cv_func__atan2l_use+:} false; then :
39614  $as_echo_n "(cached) " >&6
39615else
39616
39617
39618      ac_ext=cpp
39619ac_cpp='$CXXCPP $CPPFLAGS'
39620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39623
39624      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39625/* end confdefs.h.  */
39626#include <math.h>
39627int
39628main ()
39629{
39630 _atan2l(0, 0);
39631  ;
39632  return 0;
39633}
39634_ACEOF
39635if ac_fn_cxx_try_compile "$LINENO"; then :
39636  glibcxx_cv_func__atan2l_use=yes
39637else
39638  glibcxx_cv_func__atan2l_use=no
39639fi
39640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39641      ac_ext=c
39642ac_cpp='$CPP $CPPFLAGS'
39643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39645ac_compiler_gnu=$ac_cv_c_compiler_gnu
39646
39647
39648fi
39649
39650  fi
39651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39652$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39653
39654    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39655      for ac_func in _atan2l
39656do :
39657  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39658if test "x$ac_cv_func__atan2l" = xyes; then :
39659  cat >>confdefs.h <<_ACEOF
39660#define HAVE__ATAN2L 1
39661_ACEOF
39662
39663fi
39664done
39665
39666    fi
39667  fi
39668
39669
39670
39671
39672
39673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39674$as_echo_n "checking for expl declaration... " >&6; }
39675  if test x${glibcxx_cv_func_expl_use+set} != xset; then
39676    if ${glibcxx_cv_func_expl_use+:} false; then :
39677  $as_echo_n "(cached) " >&6
39678else
39679
39680
39681      ac_ext=cpp
39682ac_cpp='$CXXCPP $CPPFLAGS'
39683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39686
39687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39688/* end confdefs.h.  */
39689#include <math.h>
39690		      #ifdef HAVE_IEEEFP_H
39691		      #include <ieeefp.h>
39692		      #endif
39693
39694int
39695main ()
39696{
39697 expl(0);
39698  ;
39699  return 0;
39700}
39701_ACEOF
39702if ac_fn_cxx_try_compile "$LINENO"; then :
39703  glibcxx_cv_func_expl_use=yes
39704else
39705  glibcxx_cv_func_expl_use=no
39706fi
39707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39708      ac_ext=c
39709ac_cpp='$CPP $CPPFLAGS'
39710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712ac_compiler_gnu=$ac_cv_c_compiler_gnu
39713
39714
39715fi
39716
39717  fi
39718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39719$as_echo "$glibcxx_cv_func_expl_use" >&6; }
39720
39721  if test x$glibcxx_cv_func_expl_use = x"yes"; then
39722    for ac_func in expl
39723do :
39724  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39725if test "x$ac_cv_func_expl" = xyes; then :
39726  cat >>confdefs.h <<_ACEOF
39727#define HAVE_EXPL 1
39728_ACEOF
39729
39730fi
39731done
39732
39733  else
39734
39735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39736$as_echo_n "checking for _expl declaration... " >&6; }
39737  if test x${glibcxx_cv_func__expl_use+set} != xset; then
39738    if ${glibcxx_cv_func__expl_use+:} false; then :
39739  $as_echo_n "(cached) " >&6
39740else
39741
39742
39743      ac_ext=cpp
39744ac_cpp='$CXXCPP $CPPFLAGS'
39745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39748
39749      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39750/* end confdefs.h.  */
39751#include <math.h>
39752		      #ifdef HAVE_IEEEFP_H
39753		      #include <ieeefp.h>
39754		      #endif
39755
39756int
39757main ()
39758{
39759 _expl(0);
39760  ;
39761  return 0;
39762}
39763_ACEOF
39764if ac_fn_cxx_try_compile "$LINENO"; then :
39765  glibcxx_cv_func__expl_use=yes
39766else
39767  glibcxx_cv_func__expl_use=no
39768fi
39769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39770      ac_ext=c
39771ac_cpp='$CPP $CPPFLAGS'
39772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39774ac_compiler_gnu=$ac_cv_c_compiler_gnu
39775
39776
39777fi
39778
39779  fi
39780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39781$as_echo "$glibcxx_cv_func__expl_use" >&6; }
39782
39783    if test x$glibcxx_cv_func__expl_use = x"yes"; then
39784      for ac_func in _expl
39785do :
39786  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39787if test "x$ac_cv_func__expl" = xyes; then :
39788  cat >>confdefs.h <<_ACEOF
39789#define HAVE__EXPL 1
39790_ACEOF
39791
39792fi
39793done
39794
39795    fi
39796  fi
39797
39798
39799
39800
39801
39802  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39803$as_echo_n "checking for fabsl declaration... " >&6; }
39804  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39805    if ${glibcxx_cv_func_fabsl_use+:} false; then :
39806  $as_echo_n "(cached) " >&6
39807else
39808
39809
39810      ac_ext=cpp
39811ac_cpp='$CXXCPP $CPPFLAGS'
39812ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39813ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39814ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39815
39816      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39817/* end confdefs.h.  */
39818#include <math.h>
39819		      #ifdef HAVE_IEEEFP_H
39820		      #include <ieeefp.h>
39821		      #endif
39822
39823int
39824main ()
39825{
39826 fabsl(0);
39827  ;
39828  return 0;
39829}
39830_ACEOF
39831if ac_fn_cxx_try_compile "$LINENO"; then :
39832  glibcxx_cv_func_fabsl_use=yes
39833else
39834  glibcxx_cv_func_fabsl_use=no
39835fi
39836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39837      ac_ext=c
39838ac_cpp='$CPP $CPPFLAGS'
39839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39841ac_compiler_gnu=$ac_cv_c_compiler_gnu
39842
39843
39844fi
39845
39846  fi
39847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39848$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39849
39850  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39851    for ac_func in fabsl
39852do :
39853  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39854if test "x$ac_cv_func_fabsl" = xyes; then :
39855  cat >>confdefs.h <<_ACEOF
39856#define HAVE_FABSL 1
39857_ACEOF
39858
39859fi
39860done
39861
39862  else
39863
39864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39865$as_echo_n "checking for _fabsl declaration... " >&6; }
39866  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39867    if ${glibcxx_cv_func__fabsl_use+:} false; then :
39868  $as_echo_n "(cached) " >&6
39869else
39870
39871
39872      ac_ext=cpp
39873ac_cpp='$CXXCPP $CPPFLAGS'
39874ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39875ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39876ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39877
39878      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39879/* end confdefs.h.  */
39880#include <math.h>
39881		      #ifdef HAVE_IEEEFP_H
39882		      #include <ieeefp.h>
39883		      #endif
39884
39885int
39886main ()
39887{
39888 _fabsl(0);
39889  ;
39890  return 0;
39891}
39892_ACEOF
39893if ac_fn_cxx_try_compile "$LINENO"; then :
39894  glibcxx_cv_func__fabsl_use=yes
39895else
39896  glibcxx_cv_func__fabsl_use=no
39897fi
39898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39899      ac_ext=c
39900ac_cpp='$CPP $CPPFLAGS'
39901ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903ac_compiler_gnu=$ac_cv_c_compiler_gnu
39904
39905
39906fi
39907
39908  fi
39909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39910$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39911
39912    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39913      for ac_func in _fabsl
39914do :
39915  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39916if test "x$ac_cv_func__fabsl" = xyes; then :
39917  cat >>confdefs.h <<_ACEOF
39918#define HAVE__FABSL 1
39919_ACEOF
39920
39921fi
39922done
39923
39924    fi
39925  fi
39926
39927
39928
39929
39930
39931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39932$as_echo_n "checking for fmodl declaration... " >&6; }
39933  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39934    if ${glibcxx_cv_func_fmodl_use+:} false; then :
39935  $as_echo_n "(cached) " >&6
39936else
39937
39938
39939      ac_ext=cpp
39940ac_cpp='$CXXCPP $CPPFLAGS'
39941ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39944
39945      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39946/* end confdefs.h.  */
39947#include <math.h>
39948int
39949main ()
39950{
39951 fmodl(0, 0);
39952  ;
39953  return 0;
39954}
39955_ACEOF
39956if ac_fn_cxx_try_compile "$LINENO"; then :
39957  glibcxx_cv_func_fmodl_use=yes
39958else
39959  glibcxx_cv_func_fmodl_use=no
39960fi
39961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39962      ac_ext=c
39963ac_cpp='$CPP $CPPFLAGS'
39964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39966ac_compiler_gnu=$ac_cv_c_compiler_gnu
39967
39968
39969fi
39970
39971  fi
39972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39973$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39974
39975  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39976    for ac_func in fmodl
39977do :
39978  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39979if test "x$ac_cv_func_fmodl" = xyes; then :
39980  cat >>confdefs.h <<_ACEOF
39981#define HAVE_FMODL 1
39982_ACEOF
39983
39984fi
39985done
39986
39987  else
39988
39989  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39990$as_echo_n "checking for _fmodl declaration... " >&6; }
39991  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39992    if ${glibcxx_cv_func__fmodl_use+:} false; then :
39993  $as_echo_n "(cached) " >&6
39994else
39995
39996
39997      ac_ext=cpp
39998ac_cpp='$CXXCPP $CPPFLAGS'
39999ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40000ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40001ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40002
40003      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40004/* end confdefs.h.  */
40005#include <math.h>
40006int
40007main ()
40008{
40009 _fmodl(0, 0);
40010  ;
40011  return 0;
40012}
40013_ACEOF
40014if ac_fn_cxx_try_compile "$LINENO"; then :
40015  glibcxx_cv_func__fmodl_use=yes
40016else
40017  glibcxx_cv_func__fmodl_use=no
40018fi
40019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40020      ac_ext=c
40021ac_cpp='$CPP $CPPFLAGS'
40022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40024ac_compiler_gnu=$ac_cv_c_compiler_gnu
40025
40026
40027fi
40028
40029  fi
40030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
40031$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
40032
40033    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
40034      for ac_func in _fmodl
40035do :
40036  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
40037if test "x$ac_cv_func__fmodl" = xyes; then :
40038  cat >>confdefs.h <<_ACEOF
40039#define HAVE__FMODL 1
40040_ACEOF
40041
40042fi
40043done
40044
40045    fi
40046  fi
40047
40048
40049
40050
40051
40052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
40053$as_echo_n "checking for frexpl declaration... " >&6; }
40054  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
40055    if ${glibcxx_cv_func_frexpl_use+:} false; then :
40056  $as_echo_n "(cached) " >&6
40057else
40058
40059
40060      ac_ext=cpp
40061ac_cpp='$CXXCPP $CPPFLAGS'
40062ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40063ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40064ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40065
40066      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40067/* end confdefs.h.  */
40068#include <math.h>
40069int
40070main ()
40071{
40072 frexpl(0, 0);
40073  ;
40074  return 0;
40075}
40076_ACEOF
40077if ac_fn_cxx_try_compile "$LINENO"; then :
40078  glibcxx_cv_func_frexpl_use=yes
40079else
40080  glibcxx_cv_func_frexpl_use=no
40081fi
40082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40083      ac_ext=c
40084ac_cpp='$CPP $CPPFLAGS'
40085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40087ac_compiler_gnu=$ac_cv_c_compiler_gnu
40088
40089
40090fi
40091
40092  fi
40093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
40094$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
40095
40096  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
40097    for ac_func in frexpl
40098do :
40099  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
40100if test "x$ac_cv_func_frexpl" = xyes; then :
40101  cat >>confdefs.h <<_ACEOF
40102#define HAVE_FREXPL 1
40103_ACEOF
40104
40105fi
40106done
40107
40108  else
40109
40110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
40111$as_echo_n "checking for _frexpl declaration... " >&6; }
40112  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
40113    if ${glibcxx_cv_func__frexpl_use+:} false; then :
40114  $as_echo_n "(cached) " >&6
40115else
40116
40117
40118      ac_ext=cpp
40119ac_cpp='$CXXCPP $CPPFLAGS'
40120ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40121ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40122ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40123
40124      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40125/* end confdefs.h.  */
40126#include <math.h>
40127int
40128main ()
40129{
40130 _frexpl(0, 0);
40131  ;
40132  return 0;
40133}
40134_ACEOF
40135if ac_fn_cxx_try_compile "$LINENO"; then :
40136  glibcxx_cv_func__frexpl_use=yes
40137else
40138  glibcxx_cv_func__frexpl_use=no
40139fi
40140rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40141      ac_ext=c
40142ac_cpp='$CPP $CPPFLAGS'
40143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40145ac_compiler_gnu=$ac_cv_c_compiler_gnu
40146
40147
40148fi
40149
40150  fi
40151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
40152$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
40153
40154    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
40155      for ac_func in _frexpl
40156do :
40157  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
40158if test "x$ac_cv_func__frexpl" = xyes; then :
40159  cat >>confdefs.h <<_ACEOF
40160#define HAVE__FREXPL 1
40161_ACEOF
40162
40163fi
40164done
40165
40166    fi
40167  fi
40168
40169
40170
40171
40172
40173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
40174$as_echo_n "checking for hypotl declaration... " >&6; }
40175  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
40176    if ${glibcxx_cv_func_hypotl_use+:} false; then :
40177  $as_echo_n "(cached) " >&6
40178else
40179
40180
40181      ac_ext=cpp
40182ac_cpp='$CXXCPP $CPPFLAGS'
40183ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40184ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40185ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40186
40187      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40188/* end confdefs.h.  */
40189#include <math.h>
40190int
40191main ()
40192{
40193 hypotl(0, 0);
40194  ;
40195  return 0;
40196}
40197_ACEOF
40198if ac_fn_cxx_try_compile "$LINENO"; then :
40199  glibcxx_cv_func_hypotl_use=yes
40200else
40201  glibcxx_cv_func_hypotl_use=no
40202fi
40203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40204      ac_ext=c
40205ac_cpp='$CPP $CPPFLAGS'
40206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40208ac_compiler_gnu=$ac_cv_c_compiler_gnu
40209
40210
40211fi
40212
40213  fi
40214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40215$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40216
40217  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40218    for ac_func in hypotl
40219do :
40220  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40221if test "x$ac_cv_func_hypotl" = xyes; then :
40222  cat >>confdefs.h <<_ACEOF
40223#define HAVE_HYPOTL 1
40224_ACEOF
40225
40226fi
40227done
40228
40229  else
40230
40231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40232$as_echo_n "checking for _hypotl declaration... " >&6; }
40233  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40234    if ${glibcxx_cv_func__hypotl_use+:} false; then :
40235  $as_echo_n "(cached) " >&6
40236else
40237
40238
40239      ac_ext=cpp
40240ac_cpp='$CXXCPP $CPPFLAGS'
40241ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40242ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40243ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40244
40245      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40246/* end confdefs.h.  */
40247#include <math.h>
40248int
40249main ()
40250{
40251 _hypotl(0, 0);
40252  ;
40253  return 0;
40254}
40255_ACEOF
40256if ac_fn_cxx_try_compile "$LINENO"; then :
40257  glibcxx_cv_func__hypotl_use=yes
40258else
40259  glibcxx_cv_func__hypotl_use=no
40260fi
40261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40262      ac_ext=c
40263ac_cpp='$CPP $CPPFLAGS'
40264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40266ac_compiler_gnu=$ac_cv_c_compiler_gnu
40267
40268
40269fi
40270
40271  fi
40272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40273$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40274
40275    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40276      for ac_func in _hypotl
40277do :
40278  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40279if test "x$ac_cv_func__hypotl" = xyes; then :
40280  cat >>confdefs.h <<_ACEOF
40281#define HAVE__HYPOTL 1
40282_ACEOF
40283
40284fi
40285done
40286
40287    fi
40288  fi
40289
40290
40291
40292
40293
40294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40295$as_echo_n "checking for ldexpl declaration... " >&6; }
40296  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40297    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40298  $as_echo_n "(cached) " >&6
40299else
40300
40301
40302      ac_ext=cpp
40303ac_cpp='$CXXCPP $CPPFLAGS'
40304ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40305ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40306ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40307
40308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40309/* end confdefs.h.  */
40310#include <math.h>
40311int
40312main ()
40313{
40314 ldexpl(0, 0);
40315  ;
40316  return 0;
40317}
40318_ACEOF
40319if ac_fn_cxx_try_compile "$LINENO"; then :
40320  glibcxx_cv_func_ldexpl_use=yes
40321else
40322  glibcxx_cv_func_ldexpl_use=no
40323fi
40324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40325      ac_ext=c
40326ac_cpp='$CPP $CPPFLAGS'
40327ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40328ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40329ac_compiler_gnu=$ac_cv_c_compiler_gnu
40330
40331
40332fi
40333
40334  fi
40335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40336$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40337
40338  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40339    for ac_func in ldexpl
40340do :
40341  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40342if test "x$ac_cv_func_ldexpl" = xyes; then :
40343  cat >>confdefs.h <<_ACEOF
40344#define HAVE_LDEXPL 1
40345_ACEOF
40346
40347fi
40348done
40349
40350  else
40351
40352  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40353$as_echo_n "checking for _ldexpl declaration... " >&6; }
40354  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40355    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40356  $as_echo_n "(cached) " >&6
40357else
40358
40359
40360      ac_ext=cpp
40361ac_cpp='$CXXCPP $CPPFLAGS'
40362ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40363ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40364ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40365
40366      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40367/* end confdefs.h.  */
40368#include <math.h>
40369int
40370main ()
40371{
40372 _ldexpl(0, 0);
40373  ;
40374  return 0;
40375}
40376_ACEOF
40377if ac_fn_cxx_try_compile "$LINENO"; then :
40378  glibcxx_cv_func__ldexpl_use=yes
40379else
40380  glibcxx_cv_func__ldexpl_use=no
40381fi
40382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40383      ac_ext=c
40384ac_cpp='$CPP $CPPFLAGS'
40385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40387ac_compiler_gnu=$ac_cv_c_compiler_gnu
40388
40389
40390fi
40391
40392  fi
40393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40394$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40395
40396    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40397      for ac_func in _ldexpl
40398do :
40399  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40400if test "x$ac_cv_func__ldexpl" = xyes; then :
40401  cat >>confdefs.h <<_ACEOF
40402#define HAVE__LDEXPL 1
40403_ACEOF
40404
40405fi
40406done
40407
40408    fi
40409  fi
40410
40411
40412
40413
40414
40415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40416$as_echo_n "checking for logl declaration... " >&6; }
40417  if test x${glibcxx_cv_func_logl_use+set} != xset; then
40418    if ${glibcxx_cv_func_logl_use+:} false; then :
40419  $as_echo_n "(cached) " >&6
40420else
40421
40422
40423      ac_ext=cpp
40424ac_cpp='$CXXCPP $CPPFLAGS'
40425ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40426ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40427ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40428
40429      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40430/* end confdefs.h.  */
40431#include <math.h>
40432		      #ifdef HAVE_IEEEFP_H
40433		      #include <ieeefp.h>
40434		      #endif
40435
40436int
40437main ()
40438{
40439 logl(0);
40440  ;
40441  return 0;
40442}
40443_ACEOF
40444if ac_fn_cxx_try_compile "$LINENO"; then :
40445  glibcxx_cv_func_logl_use=yes
40446else
40447  glibcxx_cv_func_logl_use=no
40448fi
40449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40450      ac_ext=c
40451ac_cpp='$CPP $CPPFLAGS'
40452ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40453ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40454ac_compiler_gnu=$ac_cv_c_compiler_gnu
40455
40456
40457fi
40458
40459  fi
40460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40461$as_echo "$glibcxx_cv_func_logl_use" >&6; }
40462
40463  if test x$glibcxx_cv_func_logl_use = x"yes"; then
40464    for ac_func in logl
40465do :
40466  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40467if test "x$ac_cv_func_logl" = xyes; then :
40468  cat >>confdefs.h <<_ACEOF
40469#define HAVE_LOGL 1
40470_ACEOF
40471
40472fi
40473done
40474
40475  else
40476
40477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40478$as_echo_n "checking for _logl declaration... " >&6; }
40479  if test x${glibcxx_cv_func__logl_use+set} != xset; then
40480    if ${glibcxx_cv_func__logl_use+:} false; then :
40481  $as_echo_n "(cached) " >&6
40482else
40483
40484
40485      ac_ext=cpp
40486ac_cpp='$CXXCPP $CPPFLAGS'
40487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40490
40491      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40492/* end confdefs.h.  */
40493#include <math.h>
40494		      #ifdef HAVE_IEEEFP_H
40495		      #include <ieeefp.h>
40496		      #endif
40497
40498int
40499main ()
40500{
40501 _logl(0);
40502  ;
40503  return 0;
40504}
40505_ACEOF
40506if ac_fn_cxx_try_compile "$LINENO"; then :
40507  glibcxx_cv_func__logl_use=yes
40508else
40509  glibcxx_cv_func__logl_use=no
40510fi
40511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40512      ac_ext=c
40513ac_cpp='$CPP $CPPFLAGS'
40514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40516ac_compiler_gnu=$ac_cv_c_compiler_gnu
40517
40518
40519fi
40520
40521  fi
40522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40523$as_echo "$glibcxx_cv_func__logl_use" >&6; }
40524
40525    if test x$glibcxx_cv_func__logl_use = x"yes"; then
40526      for ac_func in _logl
40527do :
40528  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40529if test "x$ac_cv_func__logl" = xyes; then :
40530  cat >>confdefs.h <<_ACEOF
40531#define HAVE__LOGL 1
40532_ACEOF
40533
40534fi
40535done
40536
40537    fi
40538  fi
40539
40540
40541
40542
40543
40544  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40545$as_echo_n "checking for log10l declaration... " >&6; }
40546  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40547    if ${glibcxx_cv_func_log10l_use+:} false; then :
40548  $as_echo_n "(cached) " >&6
40549else
40550
40551
40552      ac_ext=cpp
40553ac_cpp='$CXXCPP $CPPFLAGS'
40554ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40555ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40556ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40557
40558      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40559/* end confdefs.h.  */
40560#include <math.h>
40561		      #ifdef HAVE_IEEEFP_H
40562		      #include <ieeefp.h>
40563		      #endif
40564
40565int
40566main ()
40567{
40568 log10l(0);
40569  ;
40570  return 0;
40571}
40572_ACEOF
40573if ac_fn_cxx_try_compile "$LINENO"; then :
40574  glibcxx_cv_func_log10l_use=yes
40575else
40576  glibcxx_cv_func_log10l_use=no
40577fi
40578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40579      ac_ext=c
40580ac_cpp='$CPP $CPPFLAGS'
40581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40583ac_compiler_gnu=$ac_cv_c_compiler_gnu
40584
40585
40586fi
40587
40588  fi
40589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40590$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40591
40592  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40593    for ac_func in log10l
40594do :
40595  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40596if test "x$ac_cv_func_log10l" = xyes; then :
40597  cat >>confdefs.h <<_ACEOF
40598#define HAVE_LOG10L 1
40599_ACEOF
40600
40601fi
40602done
40603
40604  else
40605
40606  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40607$as_echo_n "checking for _log10l declaration... " >&6; }
40608  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40609    if ${glibcxx_cv_func__log10l_use+:} false; then :
40610  $as_echo_n "(cached) " >&6
40611else
40612
40613
40614      ac_ext=cpp
40615ac_cpp='$CXXCPP $CPPFLAGS'
40616ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40617ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40618ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40619
40620      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40621/* end confdefs.h.  */
40622#include <math.h>
40623		      #ifdef HAVE_IEEEFP_H
40624		      #include <ieeefp.h>
40625		      #endif
40626
40627int
40628main ()
40629{
40630 _log10l(0);
40631  ;
40632  return 0;
40633}
40634_ACEOF
40635if ac_fn_cxx_try_compile "$LINENO"; then :
40636  glibcxx_cv_func__log10l_use=yes
40637else
40638  glibcxx_cv_func__log10l_use=no
40639fi
40640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40641      ac_ext=c
40642ac_cpp='$CPP $CPPFLAGS'
40643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40645ac_compiler_gnu=$ac_cv_c_compiler_gnu
40646
40647
40648fi
40649
40650  fi
40651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40652$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40653
40654    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40655      for ac_func in _log10l
40656do :
40657  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40658if test "x$ac_cv_func__log10l" = xyes; then :
40659  cat >>confdefs.h <<_ACEOF
40660#define HAVE__LOG10L 1
40661_ACEOF
40662
40663fi
40664done
40665
40666    fi
40667  fi
40668
40669
40670
40671
40672
40673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40674$as_echo_n "checking for modfl declaration... " >&6; }
40675  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40676    if ${glibcxx_cv_func_modfl_use+:} false; then :
40677  $as_echo_n "(cached) " >&6
40678else
40679
40680
40681      ac_ext=cpp
40682ac_cpp='$CXXCPP $CPPFLAGS'
40683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40686
40687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40688/* end confdefs.h.  */
40689#include <math.h>
40690int
40691main ()
40692{
40693 modfl(0, 0);
40694  ;
40695  return 0;
40696}
40697_ACEOF
40698if ac_fn_cxx_try_compile "$LINENO"; then :
40699  glibcxx_cv_func_modfl_use=yes
40700else
40701  glibcxx_cv_func_modfl_use=no
40702fi
40703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40704      ac_ext=c
40705ac_cpp='$CPP $CPPFLAGS'
40706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40708ac_compiler_gnu=$ac_cv_c_compiler_gnu
40709
40710
40711fi
40712
40713  fi
40714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40715$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40716
40717  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40718    for ac_func in modfl
40719do :
40720  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40721if test "x$ac_cv_func_modfl" = xyes; then :
40722  cat >>confdefs.h <<_ACEOF
40723#define HAVE_MODFL 1
40724_ACEOF
40725
40726fi
40727done
40728
40729  else
40730
40731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40732$as_echo_n "checking for _modfl declaration... " >&6; }
40733  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40734    if ${glibcxx_cv_func__modfl_use+:} false; then :
40735  $as_echo_n "(cached) " >&6
40736else
40737
40738
40739      ac_ext=cpp
40740ac_cpp='$CXXCPP $CPPFLAGS'
40741ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40742ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40743ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40744
40745      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40746/* end confdefs.h.  */
40747#include <math.h>
40748int
40749main ()
40750{
40751 _modfl(0, 0);
40752  ;
40753  return 0;
40754}
40755_ACEOF
40756if ac_fn_cxx_try_compile "$LINENO"; then :
40757  glibcxx_cv_func__modfl_use=yes
40758else
40759  glibcxx_cv_func__modfl_use=no
40760fi
40761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40762      ac_ext=c
40763ac_cpp='$CPP $CPPFLAGS'
40764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766ac_compiler_gnu=$ac_cv_c_compiler_gnu
40767
40768
40769fi
40770
40771  fi
40772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40773$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40774
40775    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40776      for ac_func in _modfl
40777do :
40778  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40779if test "x$ac_cv_func__modfl" = xyes; then :
40780  cat >>confdefs.h <<_ACEOF
40781#define HAVE__MODFL 1
40782_ACEOF
40783
40784fi
40785done
40786
40787    fi
40788  fi
40789
40790
40791
40792
40793
40794  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40795$as_echo_n "checking for powl declaration... " >&6; }
40796  if test x${glibcxx_cv_func_powl_use+set} != xset; then
40797    if ${glibcxx_cv_func_powl_use+:} false; then :
40798  $as_echo_n "(cached) " >&6
40799else
40800
40801
40802      ac_ext=cpp
40803ac_cpp='$CXXCPP $CPPFLAGS'
40804ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40805ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40806ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40807
40808      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40809/* end confdefs.h.  */
40810#include <math.h>
40811int
40812main ()
40813{
40814 powl(0, 0);
40815  ;
40816  return 0;
40817}
40818_ACEOF
40819if ac_fn_cxx_try_compile "$LINENO"; then :
40820  glibcxx_cv_func_powl_use=yes
40821else
40822  glibcxx_cv_func_powl_use=no
40823fi
40824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40825      ac_ext=c
40826ac_cpp='$CPP $CPPFLAGS'
40827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40829ac_compiler_gnu=$ac_cv_c_compiler_gnu
40830
40831
40832fi
40833
40834  fi
40835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40836$as_echo "$glibcxx_cv_func_powl_use" >&6; }
40837
40838  if test x$glibcxx_cv_func_powl_use = x"yes"; then
40839    for ac_func in powl
40840do :
40841  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40842if test "x$ac_cv_func_powl" = xyes; then :
40843  cat >>confdefs.h <<_ACEOF
40844#define HAVE_POWL 1
40845_ACEOF
40846
40847fi
40848done
40849
40850  else
40851
40852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40853$as_echo_n "checking for _powl declaration... " >&6; }
40854  if test x${glibcxx_cv_func__powl_use+set} != xset; then
40855    if ${glibcxx_cv_func__powl_use+:} false; then :
40856  $as_echo_n "(cached) " >&6
40857else
40858
40859
40860      ac_ext=cpp
40861ac_cpp='$CXXCPP $CPPFLAGS'
40862ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40863ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40864ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40865
40866      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40867/* end confdefs.h.  */
40868#include <math.h>
40869int
40870main ()
40871{
40872 _powl(0, 0);
40873  ;
40874  return 0;
40875}
40876_ACEOF
40877if ac_fn_cxx_try_compile "$LINENO"; then :
40878  glibcxx_cv_func__powl_use=yes
40879else
40880  glibcxx_cv_func__powl_use=no
40881fi
40882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40883      ac_ext=c
40884ac_cpp='$CPP $CPPFLAGS'
40885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40887ac_compiler_gnu=$ac_cv_c_compiler_gnu
40888
40889
40890fi
40891
40892  fi
40893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40894$as_echo "$glibcxx_cv_func__powl_use" >&6; }
40895
40896    if test x$glibcxx_cv_func__powl_use = x"yes"; then
40897      for ac_func in _powl
40898do :
40899  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40900if test "x$ac_cv_func__powl" = xyes; then :
40901  cat >>confdefs.h <<_ACEOF
40902#define HAVE__POWL 1
40903_ACEOF
40904
40905fi
40906done
40907
40908    fi
40909  fi
40910
40911
40912
40913
40914
40915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40916$as_echo_n "checking for sqrtl declaration... " >&6; }
40917  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40918    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40919  $as_echo_n "(cached) " >&6
40920else
40921
40922
40923      ac_ext=cpp
40924ac_cpp='$CXXCPP $CPPFLAGS'
40925ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40926ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40927ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40928
40929      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40930/* end confdefs.h.  */
40931#include <math.h>
40932		      #ifdef HAVE_IEEEFP_H
40933		      #include <ieeefp.h>
40934		      #endif
40935
40936int
40937main ()
40938{
40939 sqrtl(0);
40940  ;
40941  return 0;
40942}
40943_ACEOF
40944if ac_fn_cxx_try_compile "$LINENO"; then :
40945  glibcxx_cv_func_sqrtl_use=yes
40946else
40947  glibcxx_cv_func_sqrtl_use=no
40948fi
40949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40950      ac_ext=c
40951ac_cpp='$CPP $CPPFLAGS'
40952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40954ac_compiler_gnu=$ac_cv_c_compiler_gnu
40955
40956
40957fi
40958
40959  fi
40960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40961$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40962
40963  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40964    for ac_func in sqrtl
40965do :
40966  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40967if test "x$ac_cv_func_sqrtl" = xyes; then :
40968  cat >>confdefs.h <<_ACEOF
40969#define HAVE_SQRTL 1
40970_ACEOF
40971
40972fi
40973done
40974
40975  else
40976
40977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40978$as_echo_n "checking for _sqrtl declaration... " >&6; }
40979  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40980    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40981  $as_echo_n "(cached) " >&6
40982else
40983
40984
40985      ac_ext=cpp
40986ac_cpp='$CXXCPP $CPPFLAGS'
40987ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40988ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40989ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40990
40991      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40992/* end confdefs.h.  */
40993#include <math.h>
40994		      #ifdef HAVE_IEEEFP_H
40995		      #include <ieeefp.h>
40996		      #endif
40997
40998int
40999main ()
41000{
41001 _sqrtl(0);
41002  ;
41003  return 0;
41004}
41005_ACEOF
41006if ac_fn_cxx_try_compile "$LINENO"; then :
41007  glibcxx_cv_func__sqrtl_use=yes
41008else
41009  glibcxx_cv_func__sqrtl_use=no
41010fi
41011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41012      ac_ext=c
41013ac_cpp='$CPP $CPPFLAGS'
41014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41016ac_compiler_gnu=$ac_cv_c_compiler_gnu
41017
41018
41019fi
41020
41021  fi
41022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
41023$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
41024
41025    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41026      for ac_func in _sqrtl
41027do :
41028  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
41029if test "x$ac_cv_func__sqrtl" = xyes; then :
41030  cat >>confdefs.h <<_ACEOF
41031#define HAVE__SQRTL 1
41032_ACEOF
41033
41034fi
41035done
41036
41037    fi
41038  fi
41039
41040
41041
41042
41043
41044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
41045$as_echo_n "checking for sincosl declaration... " >&6; }
41046  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41047    if ${glibcxx_cv_func_sincosl_use+:} false; then :
41048  $as_echo_n "(cached) " >&6
41049else
41050
41051
41052      ac_ext=cpp
41053ac_cpp='$CXXCPP $CPPFLAGS'
41054ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41055ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41056ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41057
41058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41059/* end confdefs.h.  */
41060#include <math.h>
41061int
41062main ()
41063{
41064 sincosl(0, 0, 0);
41065  ;
41066  return 0;
41067}
41068_ACEOF
41069if ac_fn_cxx_try_compile "$LINENO"; then :
41070  glibcxx_cv_func_sincosl_use=yes
41071else
41072  glibcxx_cv_func_sincosl_use=no
41073fi
41074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41075      ac_ext=c
41076ac_cpp='$CPP $CPPFLAGS'
41077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41079ac_compiler_gnu=$ac_cv_c_compiler_gnu
41080
41081
41082fi
41083
41084  fi
41085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
41086$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
41087
41088  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41089    for ac_func in sincosl
41090do :
41091  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
41092if test "x$ac_cv_func_sincosl" = xyes; then :
41093  cat >>confdefs.h <<_ACEOF
41094#define HAVE_SINCOSL 1
41095_ACEOF
41096
41097fi
41098done
41099
41100  else
41101
41102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
41103$as_echo_n "checking for _sincosl declaration... " >&6; }
41104  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41105    if ${glibcxx_cv_func__sincosl_use+:} false; then :
41106  $as_echo_n "(cached) " >&6
41107else
41108
41109
41110      ac_ext=cpp
41111ac_cpp='$CXXCPP $CPPFLAGS'
41112ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41113ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41114ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41115
41116      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41117/* end confdefs.h.  */
41118#include <math.h>
41119int
41120main ()
41121{
41122 _sincosl(0, 0, 0);
41123  ;
41124  return 0;
41125}
41126_ACEOF
41127if ac_fn_cxx_try_compile "$LINENO"; then :
41128  glibcxx_cv_func__sincosl_use=yes
41129else
41130  glibcxx_cv_func__sincosl_use=no
41131fi
41132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41133      ac_ext=c
41134ac_cpp='$CPP $CPPFLAGS'
41135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41137ac_compiler_gnu=$ac_cv_c_compiler_gnu
41138
41139
41140fi
41141
41142  fi
41143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
41144$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
41145
41146    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41147      for ac_func in _sincosl
41148do :
41149  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
41150if test "x$ac_cv_func__sincosl" = xyes; then :
41151  cat >>confdefs.h <<_ACEOF
41152#define HAVE__SINCOSL 1
41153_ACEOF
41154
41155fi
41156done
41157
41158    fi
41159  fi
41160
41161
41162
41163
41164
41165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
41166$as_echo_n "checking for finitel declaration... " >&6; }
41167  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41168    if ${glibcxx_cv_func_finitel_use+:} false; then :
41169  $as_echo_n "(cached) " >&6
41170else
41171
41172
41173      ac_ext=cpp
41174ac_cpp='$CXXCPP $CPPFLAGS'
41175ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41176ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41177ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41178
41179      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41180/* end confdefs.h.  */
41181#include <math.h>
41182		      #ifdef HAVE_IEEEFP_H
41183		      #include <ieeefp.h>
41184		      #endif
41185
41186int
41187main ()
41188{
41189 finitel(0);
41190  ;
41191  return 0;
41192}
41193_ACEOF
41194if ac_fn_cxx_try_compile "$LINENO"; then :
41195  glibcxx_cv_func_finitel_use=yes
41196else
41197  glibcxx_cv_func_finitel_use=no
41198fi
41199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41200      ac_ext=c
41201ac_cpp='$CPP $CPPFLAGS'
41202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204ac_compiler_gnu=$ac_cv_c_compiler_gnu
41205
41206
41207fi
41208
41209  fi
41210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41211$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41212
41213  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41214    for ac_func in finitel
41215do :
41216  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41217if test "x$ac_cv_func_finitel" = xyes; then :
41218  cat >>confdefs.h <<_ACEOF
41219#define HAVE_FINITEL 1
41220_ACEOF
41221
41222fi
41223done
41224
41225  else
41226
41227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41228$as_echo_n "checking for _finitel declaration... " >&6; }
41229  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41230    if ${glibcxx_cv_func__finitel_use+:} false; then :
41231  $as_echo_n "(cached) " >&6
41232else
41233
41234
41235      ac_ext=cpp
41236ac_cpp='$CXXCPP $CPPFLAGS'
41237ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41238ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41239ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41240
41241      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41242/* end confdefs.h.  */
41243#include <math.h>
41244		      #ifdef HAVE_IEEEFP_H
41245		      #include <ieeefp.h>
41246		      #endif
41247
41248int
41249main ()
41250{
41251 _finitel(0);
41252  ;
41253  return 0;
41254}
41255_ACEOF
41256if ac_fn_cxx_try_compile "$LINENO"; then :
41257  glibcxx_cv_func__finitel_use=yes
41258else
41259  glibcxx_cv_func__finitel_use=no
41260fi
41261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41262      ac_ext=c
41263ac_cpp='$CPP $CPPFLAGS'
41264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41266ac_compiler_gnu=$ac_cv_c_compiler_gnu
41267
41268
41269fi
41270
41271  fi
41272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41273$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41274
41275    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41276      for ac_func in _finitel
41277do :
41278  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41279if test "x$ac_cv_func__finitel" = xyes; then :
41280  cat >>confdefs.h <<_ACEOF
41281#define HAVE__FINITEL 1
41282_ACEOF
41283
41284fi
41285done
41286
41287    fi
41288  fi
41289
41290
41291
41292
41293  LIBS="$ac_save_LIBS"
41294  CXXFLAGS="$ac_save_CXXFLAGS"
41295
41296
41297  ac_test_CXXFLAGS="${CXXFLAGS+set}"
41298  ac_save_CXXFLAGS="$CXXFLAGS"
41299  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41300
41301
41302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41303$as_echo_n "checking for at_quick_exit declaration... " >&6; }
41304  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41305    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41306  $as_echo_n "(cached) " >&6
41307else
41308
41309
41310      ac_ext=cpp
41311ac_cpp='$CXXCPP $CPPFLAGS'
41312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41315
41316      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41317/* end confdefs.h.  */
41318#include <stdlib.h>
41319int
41320main ()
41321{
41322 at_quick_exit(0);
41323  ;
41324  return 0;
41325}
41326_ACEOF
41327if ac_fn_cxx_try_compile "$LINENO"; then :
41328  glibcxx_cv_func_at_quick_exit_use=yes
41329else
41330  glibcxx_cv_func_at_quick_exit_use=no
41331fi
41332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41333      ac_ext=c
41334ac_cpp='$CPP $CPPFLAGS'
41335ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41336ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41337ac_compiler_gnu=$ac_cv_c_compiler_gnu
41338
41339
41340fi
41341
41342  fi
41343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41344$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41345  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41346    for ac_func in at_quick_exit
41347do :
41348  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41349if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41350  cat >>confdefs.h <<_ACEOF
41351#define HAVE_AT_QUICK_EXIT 1
41352_ACEOF
41353
41354fi
41355done
41356
41357  fi
41358
41359
41360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41361$as_echo_n "checking for quick_exit declaration... " >&6; }
41362  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41363    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41364  $as_echo_n "(cached) " >&6
41365else
41366
41367
41368      ac_ext=cpp
41369ac_cpp='$CXXCPP $CPPFLAGS'
41370ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41371ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41372ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41373
41374      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41375/* end confdefs.h.  */
41376#include <stdlib.h>
41377int
41378main ()
41379{
41380 quick_exit(0);
41381  ;
41382  return 0;
41383}
41384_ACEOF
41385if ac_fn_cxx_try_compile "$LINENO"; then :
41386  glibcxx_cv_func_quick_exit_use=yes
41387else
41388  glibcxx_cv_func_quick_exit_use=no
41389fi
41390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41391      ac_ext=c
41392ac_cpp='$CPP $CPPFLAGS'
41393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41395ac_compiler_gnu=$ac_cv_c_compiler_gnu
41396
41397
41398fi
41399
41400  fi
41401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41402$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41403  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41404    for ac_func in quick_exit
41405do :
41406  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41407if test "x$ac_cv_func_quick_exit" = xyes; then :
41408  cat >>confdefs.h <<_ACEOF
41409#define HAVE_QUICK_EXIT 1
41410_ACEOF
41411
41412fi
41413done
41414
41415  fi
41416
41417
41418  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41419$as_echo_n "checking for strtold declaration... " >&6; }
41420  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41421    if ${glibcxx_cv_func_strtold_use+:} false; then :
41422  $as_echo_n "(cached) " >&6
41423else
41424
41425
41426      ac_ext=cpp
41427ac_cpp='$CXXCPP $CPPFLAGS'
41428ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41429ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41430ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41431
41432      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41433/* end confdefs.h.  */
41434#include <stdlib.h>
41435int
41436main ()
41437{
41438 strtold(0, 0);
41439  ;
41440  return 0;
41441}
41442_ACEOF
41443if ac_fn_cxx_try_compile "$LINENO"; then :
41444  glibcxx_cv_func_strtold_use=yes
41445else
41446  glibcxx_cv_func_strtold_use=no
41447fi
41448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41449      ac_ext=c
41450ac_cpp='$CPP $CPPFLAGS'
41451ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41452ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41453ac_compiler_gnu=$ac_cv_c_compiler_gnu
41454
41455
41456fi
41457
41458  fi
41459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41460$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41461  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41462    for ac_func in strtold
41463do :
41464  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41465if test "x$ac_cv_func_strtold" = xyes; then :
41466  cat >>confdefs.h <<_ACEOF
41467#define HAVE_STRTOLD 1
41468_ACEOF
41469
41470fi
41471done
41472
41473  fi
41474
41475
41476
41477
41478  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41479$as_echo_n "checking for strtof declaration... " >&6; }
41480  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41481    if ${glibcxx_cv_func_strtof_use+:} false; then :
41482  $as_echo_n "(cached) " >&6
41483else
41484
41485
41486      ac_ext=cpp
41487ac_cpp='$CXXCPP $CPPFLAGS'
41488ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41489ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41490ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41491
41492      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41493/* end confdefs.h.  */
41494#include <stdlib.h>
41495int
41496main ()
41497{
41498 strtof(0, 0);
41499  ;
41500  return 0;
41501}
41502_ACEOF
41503if ac_fn_cxx_try_compile "$LINENO"; then :
41504  glibcxx_cv_func_strtof_use=yes
41505else
41506  glibcxx_cv_func_strtof_use=no
41507fi
41508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41509      ac_ext=c
41510ac_cpp='$CPP $CPPFLAGS'
41511ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41512ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41513ac_compiler_gnu=$ac_cv_c_compiler_gnu
41514
41515
41516fi
41517
41518  fi
41519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41520$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41521  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41522    for ac_func in strtof
41523do :
41524  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41525if test "x$ac_cv_func_strtof" = xyes; then :
41526  cat >>confdefs.h <<_ACEOF
41527#define HAVE_STRTOF 1
41528_ACEOF
41529
41530fi
41531done
41532
41533  fi
41534
41535
41536
41537
41538  CXXFLAGS="$ac_save_CXXFLAGS"
41539
41540
41541
41542
41543
41544
41545  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41546$as_echo_n "checking for iconv... " >&6; }
41547if ${am_cv_func_iconv+:} false; then :
41548  $as_echo_n "(cached) " >&6
41549else
41550
41551    am_cv_func_iconv="no, consider installing GNU libiconv"
41552    am_cv_lib_iconv=no
41553                    am_save_CPPFLAGS="$CPPFLAGS"
41554    CPPFLAGS="$CPPFLAGS $INCICONV"
41555    if test x$gcc_no_link = xyes; then
41556  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41557fi
41558cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41559/* end confdefs.h.  */
41560#include <stdlib.h>
41561#include <iconv.h>
41562int
41563main ()
41564{
41565iconv_t cd = iconv_open("","");
41566       iconv(cd,NULL,NULL,NULL,NULL);
41567       iconv_close(cd);
41568  ;
41569  return 0;
41570}
41571_ACEOF
41572if ac_fn_c_try_link "$LINENO"; then :
41573  am_cv_func_iconv=yes
41574fi
41575rm -f core conftest.err conftest.$ac_objext \
41576    conftest$ac_exeext conftest.$ac_ext
41577    CPPFLAGS="$am_save_CPPFLAGS"
41578
41579    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41580      for _libs in .libs _libs; do
41581        am_save_CPPFLAGS="$CPPFLAGS"
41582        am_save_LIBS="$LIBS"
41583        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41584        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41585        if test x$gcc_no_link = xyes; then
41586  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41587fi
41588cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41589/* end confdefs.h.  */
41590#include <stdlib.h>
41591#include <iconv.h>
41592int
41593main ()
41594{
41595iconv_t cd = iconv_open("","");
41596           iconv(cd,NULL,NULL,NULL,NULL);
41597           iconv_close(cd);
41598  ;
41599  return 0;
41600}
41601_ACEOF
41602if ac_fn_c_try_link "$LINENO"; then :
41603  INCICONV="-I../libiconv/include"
41604          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41605          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41606          am_cv_lib_iconv=yes
41607          am_cv_func_iconv=yes
41608fi
41609rm -f core conftest.err conftest.$ac_objext \
41610    conftest$ac_exeext conftest.$ac_ext
41611        CPPFLAGS="$am_save_CPPFLAGS"
41612        LIBS="$am_save_LIBS"
41613        if test "$am_cv_func_iconv" = "yes"; then
41614          break
41615        fi
41616      done
41617    fi
41618
41619    if test "$am_cv_func_iconv" != yes; then
41620      am_save_CPPFLAGS="$CPPFLAGS"
41621      am_save_LIBS="$LIBS"
41622      CPPFLAGS="$CPPFLAGS $INCICONV"
41623      LIBS="$LIBS $LIBICONV"
41624      if test x$gcc_no_link = xyes; then
41625  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41626fi
41627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41628/* end confdefs.h.  */
41629#include <stdlib.h>
41630#include <iconv.h>
41631int
41632main ()
41633{
41634iconv_t cd = iconv_open("","");
41635         iconv(cd,NULL,NULL,NULL,NULL);
41636         iconv_close(cd);
41637  ;
41638  return 0;
41639}
41640_ACEOF
41641if ac_fn_c_try_link "$LINENO"; then :
41642  am_cv_lib_iconv=yes
41643        am_cv_func_iconv=yes
41644fi
41645rm -f core conftest.err conftest.$ac_objext \
41646    conftest$ac_exeext conftest.$ac_ext
41647      CPPFLAGS="$am_save_CPPFLAGS"
41648      LIBS="$am_save_LIBS"
41649    fi
41650
41651fi
41652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41653$as_echo "$am_cv_func_iconv" >&6; }
41654  if test "$am_cv_func_iconv" = yes; then
41655
41656$as_echo "#define HAVE_ICONV 1" >>confdefs.h
41657
41658  fi
41659  if test "$am_cv_lib_iconv" = yes; then
41660
41661  for element in $INCICONV; do
41662    haveit=
41663    for x in $CPPFLAGS; do
41664
41665  acl_save_prefix="$prefix"
41666  prefix="$acl_final_prefix"
41667  acl_save_exec_prefix="$exec_prefix"
41668  exec_prefix="$acl_final_exec_prefix"
41669  eval x=\"$x\"
41670  exec_prefix="$acl_save_exec_prefix"
41671  prefix="$acl_save_prefix"
41672
41673      if test "X$x" = "X$element"; then
41674        haveit=yes
41675        break
41676      fi
41677    done
41678    if test -z "$haveit"; then
41679      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41680    fi
41681  done
41682
41683    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41684$as_echo_n "checking how to link with libiconv... " >&6; }
41685    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41686$as_echo "$LIBICONV" >&6; }
41687  else
41688    LIBICONV=
41689    LTLIBICONV=
41690  fi
41691
41692
41693
41694  if test "$am_cv_func_iconv" = yes; then
41695    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41696$as_echo_n "checking for iconv declaration... " >&6; }
41697    if ${am_cv_proto_iconv+:} false; then :
41698  $as_echo_n "(cached) " >&6
41699else
41700
41701      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41702/* end confdefs.h.  */
41703
41704#include <stdlib.h>
41705#include <iconv.h>
41706extern
41707#ifdef __cplusplus
41708"C"
41709#endif
41710#if defined(__STDC__) || defined(__cplusplus)
41711size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41712#else
41713size_t iconv();
41714#endif
41715
41716int
41717main ()
41718{
41719
41720  ;
41721  return 0;
41722}
41723_ACEOF
41724if ac_fn_c_try_compile "$LINENO"; then :
41725  am_cv_proto_iconv_arg1=""
41726else
41727  am_cv_proto_iconv_arg1="const"
41728fi
41729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41730      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);"
41731fi
41732
41733    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41734    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41735         }$am_cv_proto_iconv" >&5
41736$as_echo "${ac_t:-
41737         }$am_cv_proto_iconv" >&6; }
41738
41739cat >>confdefs.h <<_ACEOF
41740#define ICONV_CONST $am_cv_proto_iconv_arg1
41741_ACEOF
41742
41743  fi
41744
41745    ;;
41746
41747  *-aix*)
41748
41749  # If we're not using GNU ld, then there's no point in even trying these
41750  # tests.  Check for that first.  We should have already tested for gld
41751  # by now (in libtool), but require it now just to be safe...
41752  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41753  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41754
41755
41756
41757  # The name set by libtool depends on the version of libtool.  Shame on us
41758  # for depending on an impl detail, but c'est la vie.  Older versions used
41759  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41760  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41761  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
41762  # set (hence we're using an older libtool), then set it.
41763  if test x${with_gnu_ld+set} != xset; then
41764    if test x${ac_cv_prog_gnu_ld+set} != xset; then
41765      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
41766      with_gnu_ld=no
41767    else
41768      with_gnu_ld=$ac_cv_prog_gnu_ld
41769    fi
41770  fi
41771
41772  # Start by getting the version number.  I think the libtool test already
41773  # does some of this, but throws away the result.
41774  glibcxx_ld_is_gold=no
41775  if test x"$with_gnu_ld" = x"yes"; then
41776    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41777$as_echo_n "checking for ld version... " >&6; }
41778
41779    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41780      glibcxx_ld_is_gold=yes
41781    fi
41782    ldver=`$LD --version 2>/dev/null |
41783	   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'`
41784
41785    glibcxx_gnu_ld_version=`echo $ldver | \
41786	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41787    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41788$as_echo "$glibcxx_gnu_ld_version" >&6; }
41789  fi
41790
41791  # Set --gc-sections.
41792  glibcxx_have_gc_sections=no
41793  if test "$glibcxx_ld_is_gold" = "yes"; then
41794    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41795      glibcxx_have_gc_sections=yes
41796    fi
41797  else
41798    glibcxx_gcsections_min_ld=21602
41799    if test x"$with_gnu_ld" = x"yes" &&
41800	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41801      glibcxx_have_gc_sections=yes
41802    fi
41803  fi
41804  if test "$glibcxx_have_gc_sections" = "yes"; then
41805    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
41806    # NB: This flag only works reliably after 2.16.1. Configure tests
41807    # for this are difficult, so hard wire a value that should work.
41808
41809    ac_test_CFLAGS="${CFLAGS+set}"
41810    ac_save_CFLAGS="$CFLAGS"
41811    CFLAGS='-Wl,--gc-sections'
41812
41813    # Check for -Wl,--gc-sections
41814    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41815$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41816    if test x$gcc_no_link = xyes; then
41817  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41818fi
41819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41820/* end confdefs.h.  */
41821 int one(void) { return 1; }
41822     int two(void) { return 2; }
41823
41824int
41825main ()
41826{
41827 two();
41828  ;
41829  return 0;
41830}
41831_ACEOF
41832if ac_fn_c_try_link "$LINENO"; then :
41833  ac_gcsections=yes
41834else
41835  ac_gcsections=no
41836fi
41837rm -f core conftest.err conftest.$ac_objext \
41838    conftest$ac_exeext conftest.$ac_ext
41839    if test "$ac_gcsections" = "yes"; then
41840      rm -f conftest.c
41841      touch conftest.c
41842      if $CC -c conftest.c; then
41843	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41844	   grep "Warning: gc-sections option ignored" > /dev/null; then
41845	  ac_gcsections=no
41846	fi
41847      fi
41848      rm -f conftest.c conftest.o conftest
41849    fi
41850    if test "$ac_gcsections" = "yes"; then
41851      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41852    fi
41853    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41854$as_echo "$ac_gcsections" >&6; }
41855
41856    if test "$ac_test_CFLAGS" = set; then
41857      CFLAGS="$ac_save_CFLAGS"
41858    else
41859      # this is the suspicious part
41860      CFLAGS=''
41861    fi
41862  fi
41863
41864  # Set -z,relro.
41865  # Note this is only for shared objects.
41866  ac_ld_relro=no
41867  if test x"$with_gnu_ld" = x"yes"; then
41868    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41869$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41870    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41871    if test -n "$cxx_z_relo"; then
41872      OPT_LDFLAGS="-Wl,-z,relro"
41873      ac_ld_relro=yes
41874    fi
41875    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41876$as_echo "$ac_ld_relro" >&6; }
41877  fi
41878
41879  # Set linker optimization flags.
41880  if test x"$with_gnu_ld" = x"yes"; then
41881    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41882  fi
41883
41884
41885
41886
41887
41888  ac_test_CXXFLAGS="${CXXFLAGS+set}"
41889  ac_save_CXXFLAGS="$CXXFLAGS"
41890  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41891
41892    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41893$as_echo_n "checking for sin in -lm... " >&6; }
41894if ${ac_cv_lib_m_sin+:} false; then :
41895  $as_echo_n "(cached) " >&6
41896else
41897  ac_check_lib_save_LIBS=$LIBS
41898LIBS="-lm  $LIBS"
41899if test x$gcc_no_link = xyes; then
41900  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41901fi
41902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41903/* end confdefs.h.  */
41904
41905/* Override any GCC internal prototype to avoid an error.
41906   Use char because int might match the return type of a GCC
41907   builtin and then its argument prototype would still apply.  */
41908#ifdef __cplusplus
41909extern "C"
41910#endif
41911char sin ();
41912int
41913main ()
41914{
41915return sin ();
41916  ;
41917  return 0;
41918}
41919_ACEOF
41920if ac_fn_c_try_link "$LINENO"; then :
41921  ac_cv_lib_m_sin=yes
41922else
41923  ac_cv_lib_m_sin=no
41924fi
41925rm -f core conftest.err conftest.$ac_objext \
41926    conftest$ac_exeext conftest.$ac_ext
41927LIBS=$ac_check_lib_save_LIBS
41928fi
41929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41930$as_echo "$ac_cv_lib_m_sin" >&6; }
41931if test "x$ac_cv_lib_m_sin" = xyes; then :
41932  libm="-lm"
41933fi
41934
41935  ac_save_LIBS="$LIBS"
41936  LIBS="$LIBS $libm"
41937
41938
41939
41940  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41941$as_echo_n "checking for isinf declaration... " >&6; }
41942  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41943    if ${glibcxx_cv_func_isinf_use+:} false; then :
41944  $as_echo_n "(cached) " >&6
41945else
41946
41947
41948      ac_ext=cpp
41949ac_cpp='$CXXCPP $CPPFLAGS'
41950ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41951ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41952ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41953
41954      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41955/* end confdefs.h.  */
41956#include <math.h>
41957		      #ifdef HAVE_IEEEFP_H
41958		      #include <ieeefp.h>
41959		      #endif
41960
41961int
41962main ()
41963{
41964 isinf(0);
41965  ;
41966  return 0;
41967}
41968_ACEOF
41969if ac_fn_cxx_try_compile "$LINENO"; then :
41970  glibcxx_cv_func_isinf_use=yes
41971else
41972  glibcxx_cv_func_isinf_use=no
41973fi
41974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41975      ac_ext=c
41976ac_cpp='$CPP $CPPFLAGS'
41977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41979ac_compiler_gnu=$ac_cv_c_compiler_gnu
41980
41981
41982fi
41983
41984  fi
41985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41986$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41987
41988  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41989    for ac_func in isinf
41990do :
41991  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41992if test "x$ac_cv_func_isinf" = xyes; then :
41993  cat >>confdefs.h <<_ACEOF
41994#define HAVE_ISINF 1
41995_ACEOF
41996
41997fi
41998done
41999
42000  else
42001
42002  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
42003$as_echo_n "checking for _isinf declaration... " >&6; }
42004  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42005    if ${glibcxx_cv_func__isinf_use+:} false; then :
42006  $as_echo_n "(cached) " >&6
42007else
42008
42009
42010      ac_ext=cpp
42011ac_cpp='$CXXCPP $CPPFLAGS'
42012ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42013ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42014ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42015
42016      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42017/* end confdefs.h.  */
42018#include <math.h>
42019		      #ifdef HAVE_IEEEFP_H
42020		      #include <ieeefp.h>
42021		      #endif
42022
42023int
42024main ()
42025{
42026 _isinf(0);
42027  ;
42028  return 0;
42029}
42030_ACEOF
42031if ac_fn_cxx_try_compile "$LINENO"; then :
42032  glibcxx_cv_func__isinf_use=yes
42033else
42034  glibcxx_cv_func__isinf_use=no
42035fi
42036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42037      ac_ext=c
42038ac_cpp='$CPP $CPPFLAGS'
42039ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42040ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42041ac_compiler_gnu=$ac_cv_c_compiler_gnu
42042
42043
42044fi
42045
42046  fi
42047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
42048$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
42049
42050    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42051      for ac_func in _isinf
42052do :
42053  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
42054if test "x$ac_cv_func__isinf" = xyes; then :
42055  cat >>confdefs.h <<_ACEOF
42056#define HAVE__ISINF 1
42057_ACEOF
42058
42059fi
42060done
42061
42062    fi
42063  fi
42064
42065
42066
42067
42068
42069  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
42070$as_echo_n "checking for isnan declaration... " >&6; }
42071  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42072    if ${glibcxx_cv_func_isnan_use+:} false; then :
42073  $as_echo_n "(cached) " >&6
42074else
42075
42076
42077      ac_ext=cpp
42078ac_cpp='$CXXCPP $CPPFLAGS'
42079ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42080ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42081ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42082
42083      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42084/* end confdefs.h.  */
42085#include <math.h>
42086		      #ifdef HAVE_IEEEFP_H
42087		      #include <ieeefp.h>
42088		      #endif
42089
42090int
42091main ()
42092{
42093 isnan(0);
42094  ;
42095  return 0;
42096}
42097_ACEOF
42098if ac_fn_cxx_try_compile "$LINENO"; then :
42099  glibcxx_cv_func_isnan_use=yes
42100else
42101  glibcxx_cv_func_isnan_use=no
42102fi
42103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42104      ac_ext=c
42105ac_cpp='$CPP $CPPFLAGS'
42106ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42107ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42108ac_compiler_gnu=$ac_cv_c_compiler_gnu
42109
42110
42111fi
42112
42113  fi
42114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
42115$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
42116
42117  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42118    for ac_func in isnan
42119do :
42120  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
42121if test "x$ac_cv_func_isnan" = xyes; then :
42122  cat >>confdefs.h <<_ACEOF
42123#define HAVE_ISNAN 1
42124_ACEOF
42125
42126fi
42127done
42128
42129  else
42130
42131  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
42132$as_echo_n "checking for _isnan declaration... " >&6; }
42133  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42134    if ${glibcxx_cv_func__isnan_use+:} false; then :
42135  $as_echo_n "(cached) " >&6
42136else
42137
42138
42139      ac_ext=cpp
42140ac_cpp='$CXXCPP $CPPFLAGS'
42141ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42142ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42143ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42144
42145      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42146/* end confdefs.h.  */
42147#include <math.h>
42148		      #ifdef HAVE_IEEEFP_H
42149		      #include <ieeefp.h>
42150		      #endif
42151
42152int
42153main ()
42154{
42155 _isnan(0);
42156  ;
42157  return 0;
42158}
42159_ACEOF
42160if ac_fn_cxx_try_compile "$LINENO"; then :
42161  glibcxx_cv_func__isnan_use=yes
42162else
42163  glibcxx_cv_func__isnan_use=no
42164fi
42165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42166      ac_ext=c
42167ac_cpp='$CPP $CPPFLAGS'
42168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42170ac_compiler_gnu=$ac_cv_c_compiler_gnu
42171
42172
42173fi
42174
42175  fi
42176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
42177$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
42178
42179    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42180      for ac_func in _isnan
42181do :
42182  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
42183if test "x$ac_cv_func__isnan" = xyes; then :
42184  cat >>confdefs.h <<_ACEOF
42185#define HAVE__ISNAN 1
42186_ACEOF
42187
42188fi
42189done
42190
42191    fi
42192  fi
42193
42194
42195
42196
42197
42198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
42199$as_echo_n "checking for finite declaration... " >&6; }
42200  if test x${glibcxx_cv_func_finite_use+set} != xset; then
42201    if ${glibcxx_cv_func_finite_use+:} false; then :
42202  $as_echo_n "(cached) " >&6
42203else
42204
42205
42206      ac_ext=cpp
42207ac_cpp='$CXXCPP $CPPFLAGS'
42208ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42209ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42210ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42211
42212      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42213/* end confdefs.h.  */
42214#include <math.h>
42215		      #ifdef HAVE_IEEEFP_H
42216		      #include <ieeefp.h>
42217		      #endif
42218
42219int
42220main ()
42221{
42222 finite(0);
42223  ;
42224  return 0;
42225}
42226_ACEOF
42227if ac_fn_cxx_try_compile "$LINENO"; then :
42228  glibcxx_cv_func_finite_use=yes
42229else
42230  glibcxx_cv_func_finite_use=no
42231fi
42232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42233      ac_ext=c
42234ac_cpp='$CPP $CPPFLAGS'
42235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42237ac_compiler_gnu=$ac_cv_c_compiler_gnu
42238
42239
42240fi
42241
42242  fi
42243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42244$as_echo "$glibcxx_cv_func_finite_use" >&6; }
42245
42246  if test x$glibcxx_cv_func_finite_use = x"yes"; then
42247    for ac_func in finite
42248do :
42249  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42250if test "x$ac_cv_func_finite" = xyes; then :
42251  cat >>confdefs.h <<_ACEOF
42252#define HAVE_FINITE 1
42253_ACEOF
42254
42255fi
42256done
42257
42258  else
42259
42260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42261$as_echo_n "checking for _finite declaration... " >&6; }
42262  if test x${glibcxx_cv_func__finite_use+set} != xset; then
42263    if ${glibcxx_cv_func__finite_use+:} false; then :
42264  $as_echo_n "(cached) " >&6
42265else
42266
42267
42268      ac_ext=cpp
42269ac_cpp='$CXXCPP $CPPFLAGS'
42270ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42271ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42272ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42273
42274      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42275/* end confdefs.h.  */
42276#include <math.h>
42277		      #ifdef HAVE_IEEEFP_H
42278		      #include <ieeefp.h>
42279		      #endif
42280
42281int
42282main ()
42283{
42284 _finite(0);
42285  ;
42286  return 0;
42287}
42288_ACEOF
42289if ac_fn_cxx_try_compile "$LINENO"; then :
42290  glibcxx_cv_func__finite_use=yes
42291else
42292  glibcxx_cv_func__finite_use=no
42293fi
42294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42295      ac_ext=c
42296ac_cpp='$CPP $CPPFLAGS'
42297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42299ac_compiler_gnu=$ac_cv_c_compiler_gnu
42300
42301
42302fi
42303
42304  fi
42305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42306$as_echo "$glibcxx_cv_func__finite_use" >&6; }
42307
42308    if test x$glibcxx_cv_func__finite_use = x"yes"; then
42309      for ac_func in _finite
42310do :
42311  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42312if test "x$ac_cv_func__finite" = xyes; then :
42313  cat >>confdefs.h <<_ACEOF
42314#define HAVE__FINITE 1
42315_ACEOF
42316
42317fi
42318done
42319
42320    fi
42321  fi
42322
42323
42324
42325
42326
42327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42328$as_echo_n "checking for sincos declaration... " >&6; }
42329  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42330    if ${glibcxx_cv_func_sincos_use+:} false; then :
42331  $as_echo_n "(cached) " >&6
42332else
42333
42334
42335      ac_ext=cpp
42336ac_cpp='$CXXCPP $CPPFLAGS'
42337ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42338ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42339ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42340
42341      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42342/* end confdefs.h.  */
42343#include <math.h>
42344int
42345main ()
42346{
42347 sincos(0, 0, 0);
42348  ;
42349  return 0;
42350}
42351_ACEOF
42352if ac_fn_cxx_try_compile "$LINENO"; then :
42353  glibcxx_cv_func_sincos_use=yes
42354else
42355  glibcxx_cv_func_sincos_use=no
42356fi
42357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42358      ac_ext=c
42359ac_cpp='$CPP $CPPFLAGS'
42360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42362ac_compiler_gnu=$ac_cv_c_compiler_gnu
42363
42364
42365fi
42366
42367  fi
42368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42369$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42370
42371  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42372    for ac_func in sincos
42373do :
42374  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42375if test "x$ac_cv_func_sincos" = xyes; then :
42376  cat >>confdefs.h <<_ACEOF
42377#define HAVE_SINCOS 1
42378_ACEOF
42379
42380fi
42381done
42382
42383  else
42384
42385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42386$as_echo_n "checking for _sincos declaration... " >&6; }
42387  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42388    if ${glibcxx_cv_func__sincos_use+:} false; then :
42389  $as_echo_n "(cached) " >&6
42390else
42391
42392
42393      ac_ext=cpp
42394ac_cpp='$CXXCPP $CPPFLAGS'
42395ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42396ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42397ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42398
42399      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42400/* end confdefs.h.  */
42401#include <math.h>
42402int
42403main ()
42404{
42405 _sincos(0, 0, 0);
42406  ;
42407  return 0;
42408}
42409_ACEOF
42410if ac_fn_cxx_try_compile "$LINENO"; then :
42411  glibcxx_cv_func__sincos_use=yes
42412else
42413  glibcxx_cv_func__sincos_use=no
42414fi
42415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42416      ac_ext=c
42417ac_cpp='$CPP $CPPFLAGS'
42418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42420ac_compiler_gnu=$ac_cv_c_compiler_gnu
42421
42422
42423fi
42424
42425  fi
42426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42427$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42428
42429    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42430      for ac_func in _sincos
42431do :
42432  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42433if test "x$ac_cv_func__sincos" = xyes; then :
42434  cat >>confdefs.h <<_ACEOF
42435#define HAVE__SINCOS 1
42436_ACEOF
42437
42438fi
42439done
42440
42441    fi
42442  fi
42443
42444
42445
42446
42447
42448  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42449$as_echo_n "checking for fpclass declaration... " >&6; }
42450  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42451    if ${glibcxx_cv_func_fpclass_use+:} false; then :
42452  $as_echo_n "(cached) " >&6
42453else
42454
42455
42456      ac_ext=cpp
42457ac_cpp='$CXXCPP $CPPFLAGS'
42458ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42461
42462      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42463/* end confdefs.h.  */
42464#include <math.h>
42465		      #ifdef HAVE_IEEEFP_H
42466		      #include <ieeefp.h>
42467		      #endif
42468
42469int
42470main ()
42471{
42472 fpclass(0);
42473  ;
42474  return 0;
42475}
42476_ACEOF
42477if ac_fn_cxx_try_compile "$LINENO"; then :
42478  glibcxx_cv_func_fpclass_use=yes
42479else
42480  glibcxx_cv_func_fpclass_use=no
42481fi
42482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42483      ac_ext=c
42484ac_cpp='$CPP $CPPFLAGS'
42485ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42486ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42487ac_compiler_gnu=$ac_cv_c_compiler_gnu
42488
42489
42490fi
42491
42492  fi
42493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42494$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42495
42496  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42497    for ac_func in fpclass
42498do :
42499  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42500if test "x$ac_cv_func_fpclass" = xyes; then :
42501  cat >>confdefs.h <<_ACEOF
42502#define HAVE_FPCLASS 1
42503_ACEOF
42504
42505fi
42506done
42507
42508  else
42509
42510  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42511$as_echo_n "checking for _fpclass declaration... " >&6; }
42512  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42513    if ${glibcxx_cv_func__fpclass_use+:} false; then :
42514  $as_echo_n "(cached) " >&6
42515else
42516
42517
42518      ac_ext=cpp
42519ac_cpp='$CXXCPP $CPPFLAGS'
42520ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42521ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42522ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42523
42524      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42525/* end confdefs.h.  */
42526#include <math.h>
42527		      #ifdef HAVE_IEEEFP_H
42528		      #include <ieeefp.h>
42529		      #endif
42530
42531int
42532main ()
42533{
42534 _fpclass(0);
42535  ;
42536  return 0;
42537}
42538_ACEOF
42539if ac_fn_cxx_try_compile "$LINENO"; then :
42540  glibcxx_cv_func__fpclass_use=yes
42541else
42542  glibcxx_cv_func__fpclass_use=no
42543fi
42544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42545      ac_ext=c
42546ac_cpp='$CPP $CPPFLAGS'
42547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42549ac_compiler_gnu=$ac_cv_c_compiler_gnu
42550
42551
42552fi
42553
42554  fi
42555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42556$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42557
42558    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42559      for ac_func in _fpclass
42560do :
42561  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42562if test "x$ac_cv_func__fpclass" = xyes; then :
42563  cat >>confdefs.h <<_ACEOF
42564#define HAVE__FPCLASS 1
42565_ACEOF
42566
42567fi
42568done
42569
42570    fi
42571  fi
42572
42573
42574
42575
42576
42577  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42578$as_echo_n "checking for qfpclass declaration... " >&6; }
42579  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42580    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42581  $as_echo_n "(cached) " >&6
42582else
42583
42584
42585      ac_ext=cpp
42586ac_cpp='$CXXCPP $CPPFLAGS'
42587ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42588ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42589ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42590
42591      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42592/* end confdefs.h.  */
42593#include <math.h>
42594		      #ifdef HAVE_IEEEFP_H
42595		      #include <ieeefp.h>
42596		      #endif
42597
42598int
42599main ()
42600{
42601 qfpclass(0);
42602  ;
42603  return 0;
42604}
42605_ACEOF
42606if ac_fn_cxx_try_compile "$LINENO"; then :
42607  glibcxx_cv_func_qfpclass_use=yes
42608else
42609  glibcxx_cv_func_qfpclass_use=no
42610fi
42611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42612      ac_ext=c
42613ac_cpp='$CPP $CPPFLAGS'
42614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42616ac_compiler_gnu=$ac_cv_c_compiler_gnu
42617
42618
42619fi
42620
42621  fi
42622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42623$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42624
42625  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42626    for ac_func in qfpclass
42627do :
42628  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42629if test "x$ac_cv_func_qfpclass" = xyes; then :
42630  cat >>confdefs.h <<_ACEOF
42631#define HAVE_QFPCLASS 1
42632_ACEOF
42633
42634fi
42635done
42636
42637  else
42638
42639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42640$as_echo_n "checking for _qfpclass declaration... " >&6; }
42641  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42642    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42643  $as_echo_n "(cached) " >&6
42644else
42645
42646
42647      ac_ext=cpp
42648ac_cpp='$CXXCPP $CPPFLAGS'
42649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42652
42653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42654/* end confdefs.h.  */
42655#include <math.h>
42656		      #ifdef HAVE_IEEEFP_H
42657		      #include <ieeefp.h>
42658		      #endif
42659
42660int
42661main ()
42662{
42663 _qfpclass(0);
42664  ;
42665  return 0;
42666}
42667_ACEOF
42668if ac_fn_cxx_try_compile "$LINENO"; then :
42669  glibcxx_cv_func__qfpclass_use=yes
42670else
42671  glibcxx_cv_func__qfpclass_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
42680
42681fi
42682
42683  fi
42684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42685$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42686
42687    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42688      for ac_func in _qfpclass
42689do :
42690  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42691if test "x$ac_cv_func__qfpclass" = xyes; then :
42692  cat >>confdefs.h <<_ACEOF
42693#define HAVE__QFPCLASS 1
42694_ACEOF
42695
42696fi
42697done
42698
42699    fi
42700  fi
42701
42702
42703
42704
42705
42706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42707$as_echo_n "checking for hypot declaration... " >&6; }
42708  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42709    if ${glibcxx_cv_func_hypot_use+:} false; then :
42710  $as_echo_n "(cached) " >&6
42711else
42712
42713
42714      ac_ext=cpp
42715ac_cpp='$CXXCPP $CPPFLAGS'
42716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42719
42720      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42721/* end confdefs.h.  */
42722#include <math.h>
42723int
42724main ()
42725{
42726 hypot(0, 0);
42727  ;
42728  return 0;
42729}
42730_ACEOF
42731if ac_fn_cxx_try_compile "$LINENO"; then :
42732  glibcxx_cv_func_hypot_use=yes
42733else
42734  glibcxx_cv_func_hypot_use=no
42735fi
42736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42737      ac_ext=c
42738ac_cpp='$CPP $CPPFLAGS'
42739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42741ac_compiler_gnu=$ac_cv_c_compiler_gnu
42742
42743
42744fi
42745
42746  fi
42747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42748$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42749
42750  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42751    for ac_func in hypot
42752do :
42753  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42754if test "x$ac_cv_func_hypot" = xyes; then :
42755  cat >>confdefs.h <<_ACEOF
42756#define HAVE_HYPOT 1
42757_ACEOF
42758
42759fi
42760done
42761
42762  else
42763
42764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42765$as_echo_n "checking for _hypot declaration... " >&6; }
42766  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42767    if ${glibcxx_cv_func__hypot_use+:} false; then :
42768  $as_echo_n "(cached) " >&6
42769else
42770
42771
42772      ac_ext=cpp
42773ac_cpp='$CXXCPP $CPPFLAGS'
42774ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42775ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42776ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42777
42778      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42779/* end confdefs.h.  */
42780#include <math.h>
42781int
42782main ()
42783{
42784 _hypot(0, 0);
42785  ;
42786  return 0;
42787}
42788_ACEOF
42789if ac_fn_cxx_try_compile "$LINENO"; then :
42790  glibcxx_cv_func__hypot_use=yes
42791else
42792  glibcxx_cv_func__hypot_use=no
42793fi
42794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42795      ac_ext=c
42796ac_cpp='$CPP $CPPFLAGS'
42797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42799ac_compiler_gnu=$ac_cv_c_compiler_gnu
42800
42801
42802fi
42803
42804  fi
42805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42806$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42807
42808    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42809      for ac_func in _hypot
42810do :
42811  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42812if test "x$ac_cv_func__hypot" = xyes; then :
42813  cat >>confdefs.h <<_ACEOF
42814#define HAVE__HYPOT 1
42815_ACEOF
42816
42817fi
42818done
42819
42820    fi
42821  fi
42822
42823
42824
42825
42826
42827    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42828$as_echo_n "checking for float trig functions... " >&6; }
42829  if ${glibcxx_cv_func_float_trig_use+:} false; then :
42830  $as_echo_n "(cached) " >&6
42831else
42832
42833
42834    ac_ext=cpp
42835ac_cpp='$CXXCPP $CPPFLAGS'
42836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42839
42840    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42841/* end confdefs.h.  */
42842#include <math.h>
42843int
42844main ()
42845{
42846acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42847  ;
42848  return 0;
42849}
42850_ACEOF
42851if ac_fn_cxx_try_compile "$LINENO"; then :
42852  glibcxx_cv_func_float_trig_use=yes
42853else
42854  glibcxx_cv_func_float_trig_use=no
42855fi
42856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42857    ac_ext=c
42858ac_cpp='$CPP $CPPFLAGS'
42859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42861ac_compiler_gnu=$ac_cv_c_compiler_gnu
42862
42863fi
42864
42865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42866$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42867  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42868    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42869do :
42870  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42871ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42872if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42873  cat >>confdefs.h <<_ACEOF
42874#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42875_ACEOF
42876
42877fi
42878done
42879
42880  else
42881    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42882$as_echo_n "checking for _float trig functions... " >&6; }
42883    if ${glibcxx_cv_func__float_trig_use+:} false; then :
42884  $as_echo_n "(cached) " >&6
42885else
42886
42887
42888      ac_ext=cpp
42889ac_cpp='$CXXCPP $CPPFLAGS'
42890ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42891ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42892ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42893
42894      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42895/* end confdefs.h.  */
42896#include <math.h>
42897int
42898main ()
42899{
42900_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42901  ;
42902  return 0;
42903}
42904_ACEOF
42905if ac_fn_cxx_try_compile "$LINENO"; then :
42906  glibcxx_cv_func__float_trig_use=yes
42907else
42908  glibcxx_cv_func__float_trig_use=no
42909fi
42910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42911      ac_ext=c
42912ac_cpp='$CPP $CPPFLAGS'
42913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42915ac_compiler_gnu=$ac_cv_c_compiler_gnu
42916
42917fi
42918
42919    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42920$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42921    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42922      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42923do :
42924  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42925ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42926if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42927  cat >>confdefs.h <<_ACEOF
42928#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42929_ACEOF
42930
42931fi
42932done
42933
42934    fi
42935  fi
42936
42937
42938
42939
42940
42941    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42942$as_echo_n "checking for float round functions... " >&6; }
42943  if ${glibcxx_cv_func_float_round_use+:} false; then :
42944  $as_echo_n "(cached) " >&6
42945else
42946
42947
42948    ac_ext=cpp
42949ac_cpp='$CXXCPP $CPPFLAGS'
42950ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42951ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42952ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42953
42954    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42955/* end confdefs.h.  */
42956#include <math.h>
42957int
42958main ()
42959{
42960ceilf (0); floorf (0);
42961  ;
42962  return 0;
42963}
42964_ACEOF
42965if ac_fn_cxx_try_compile "$LINENO"; then :
42966  glibcxx_cv_func_float_round_use=yes
42967else
42968  glibcxx_cv_func_float_round_use=no
42969fi
42970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42971    ac_ext=c
42972ac_cpp='$CPP $CPPFLAGS'
42973ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42975ac_compiler_gnu=$ac_cv_c_compiler_gnu
42976
42977fi
42978
42979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42980$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42981  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42982    for ac_func in ceilf floorf
42983do :
42984  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42985ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42986if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42987  cat >>confdefs.h <<_ACEOF
42988#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42989_ACEOF
42990
42991fi
42992done
42993
42994  else
42995    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42996$as_echo_n "checking for _float round functions... " >&6; }
42997    if ${glibcxx_cv_func__float_round_use+:} false; then :
42998  $as_echo_n "(cached) " >&6
42999else
43000
43001
43002      ac_ext=cpp
43003ac_cpp='$CXXCPP $CPPFLAGS'
43004ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43005ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43006ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43007
43008      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43009/* end confdefs.h.  */
43010#include <math.h>
43011int
43012main ()
43013{
43014_ceilf (0); _floorf (0);
43015  ;
43016  return 0;
43017}
43018_ACEOF
43019if ac_fn_cxx_try_compile "$LINENO"; then :
43020  glibcxx_cv_func__float_round_use=yes
43021else
43022  glibcxx_cv_func__float_round_use=no
43023fi
43024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43025      ac_ext=c
43026ac_cpp='$CPP $CPPFLAGS'
43027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43029ac_compiler_gnu=$ac_cv_c_compiler_gnu
43030
43031fi
43032
43033    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
43034$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
43035    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
43036      for ac_func in _ceilf _floorf
43037do :
43038  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43039ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43040if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43041  cat >>confdefs.h <<_ACEOF
43042#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43043_ACEOF
43044
43045fi
43046done
43047
43048    fi
43049  fi
43050
43051
43052
43053
43054
43055
43056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
43057$as_echo_n "checking for expf declaration... " >&6; }
43058  if test x${glibcxx_cv_func_expf_use+set} != xset; then
43059    if ${glibcxx_cv_func_expf_use+:} false; then :
43060  $as_echo_n "(cached) " >&6
43061else
43062
43063
43064      ac_ext=cpp
43065ac_cpp='$CXXCPP $CPPFLAGS'
43066ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43069
43070      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071/* end confdefs.h.  */
43072#include <math.h>
43073		      #ifdef HAVE_IEEEFP_H
43074		      #include <ieeefp.h>
43075		      #endif
43076
43077int
43078main ()
43079{
43080 expf(0);
43081  ;
43082  return 0;
43083}
43084_ACEOF
43085if ac_fn_cxx_try_compile "$LINENO"; then :
43086  glibcxx_cv_func_expf_use=yes
43087else
43088  glibcxx_cv_func_expf_use=no
43089fi
43090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43091      ac_ext=c
43092ac_cpp='$CPP $CPPFLAGS'
43093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095ac_compiler_gnu=$ac_cv_c_compiler_gnu
43096
43097
43098fi
43099
43100  fi
43101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
43102$as_echo "$glibcxx_cv_func_expf_use" >&6; }
43103
43104  if test x$glibcxx_cv_func_expf_use = x"yes"; then
43105    for ac_func in expf
43106do :
43107  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
43108if test "x$ac_cv_func_expf" = xyes; then :
43109  cat >>confdefs.h <<_ACEOF
43110#define HAVE_EXPF 1
43111_ACEOF
43112
43113fi
43114done
43115
43116  else
43117
43118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
43119$as_echo_n "checking for _expf declaration... " >&6; }
43120  if test x${glibcxx_cv_func__expf_use+set} != xset; then
43121    if ${glibcxx_cv_func__expf_use+:} false; then :
43122  $as_echo_n "(cached) " >&6
43123else
43124
43125
43126      ac_ext=cpp
43127ac_cpp='$CXXCPP $CPPFLAGS'
43128ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43129ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43130ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43131
43132      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43133/* end confdefs.h.  */
43134#include <math.h>
43135		      #ifdef HAVE_IEEEFP_H
43136		      #include <ieeefp.h>
43137		      #endif
43138
43139int
43140main ()
43141{
43142 _expf(0);
43143  ;
43144  return 0;
43145}
43146_ACEOF
43147if ac_fn_cxx_try_compile "$LINENO"; then :
43148  glibcxx_cv_func__expf_use=yes
43149else
43150  glibcxx_cv_func__expf_use=no
43151fi
43152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43153      ac_ext=c
43154ac_cpp='$CPP $CPPFLAGS'
43155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157ac_compiler_gnu=$ac_cv_c_compiler_gnu
43158
43159
43160fi
43161
43162  fi
43163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
43164$as_echo "$glibcxx_cv_func__expf_use" >&6; }
43165
43166    if test x$glibcxx_cv_func__expf_use = x"yes"; then
43167      for ac_func in _expf
43168do :
43169  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
43170if test "x$ac_cv_func__expf" = xyes; then :
43171  cat >>confdefs.h <<_ACEOF
43172#define HAVE__EXPF 1
43173_ACEOF
43174
43175fi
43176done
43177
43178    fi
43179  fi
43180
43181
43182
43183
43184
43185  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
43186$as_echo_n "checking for isnanf declaration... " >&6; }
43187  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
43188    if ${glibcxx_cv_func_isnanf_use+:} false; then :
43189  $as_echo_n "(cached) " >&6
43190else
43191
43192
43193      ac_ext=cpp
43194ac_cpp='$CXXCPP $CPPFLAGS'
43195ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43198
43199      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43200/* end confdefs.h.  */
43201#include <math.h>
43202		      #ifdef HAVE_IEEEFP_H
43203		      #include <ieeefp.h>
43204		      #endif
43205
43206int
43207main ()
43208{
43209 isnanf(0);
43210  ;
43211  return 0;
43212}
43213_ACEOF
43214if ac_fn_cxx_try_compile "$LINENO"; then :
43215  glibcxx_cv_func_isnanf_use=yes
43216else
43217  glibcxx_cv_func_isnanf_use=no
43218fi
43219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43220      ac_ext=c
43221ac_cpp='$CPP $CPPFLAGS'
43222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224ac_compiler_gnu=$ac_cv_c_compiler_gnu
43225
43226
43227fi
43228
43229  fi
43230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43231$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43232
43233  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
43234    for ac_func in isnanf
43235do :
43236  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
43237if test "x$ac_cv_func_isnanf" = xyes; then :
43238  cat >>confdefs.h <<_ACEOF
43239#define HAVE_ISNANF 1
43240_ACEOF
43241
43242fi
43243done
43244
43245  else
43246
43247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43248$as_echo_n "checking for _isnanf declaration... " >&6; }
43249  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43250    if ${glibcxx_cv_func__isnanf_use+:} false; then :
43251  $as_echo_n "(cached) " >&6
43252else
43253
43254
43255      ac_ext=cpp
43256ac_cpp='$CXXCPP $CPPFLAGS'
43257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43260
43261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43262/* end confdefs.h.  */
43263#include <math.h>
43264		      #ifdef HAVE_IEEEFP_H
43265		      #include <ieeefp.h>
43266		      #endif
43267
43268int
43269main ()
43270{
43271 _isnanf(0);
43272  ;
43273  return 0;
43274}
43275_ACEOF
43276if ac_fn_cxx_try_compile "$LINENO"; then :
43277  glibcxx_cv_func__isnanf_use=yes
43278else
43279  glibcxx_cv_func__isnanf_use=no
43280fi
43281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43282      ac_ext=c
43283ac_cpp='$CPP $CPPFLAGS'
43284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43286ac_compiler_gnu=$ac_cv_c_compiler_gnu
43287
43288
43289fi
43290
43291  fi
43292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43293$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43294
43295    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43296      for ac_func in _isnanf
43297do :
43298  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43299if test "x$ac_cv_func__isnanf" = xyes; then :
43300  cat >>confdefs.h <<_ACEOF
43301#define HAVE__ISNANF 1
43302_ACEOF
43303
43304fi
43305done
43306
43307    fi
43308  fi
43309
43310
43311
43312
43313
43314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43315$as_echo_n "checking for isinff declaration... " >&6; }
43316  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43317    if ${glibcxx_cv_func_isinff_use+:} false; then :
43318  $as_echo_n "(cached) " >&6
43319else
43320
43321
43322      ac_ext=cpp
43323ac_cpp='$CXXCPP $CPPFLAGS'
43324ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43325ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43326ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43327
43328      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43329/* end confdefs.h.  */
43330#include <math.h>
43331		      #ifdef HAVE_IEEEFP_H
43332		      #include <ieeefp.h>
43333		      #endif
43334
43335int
43336main ()
43337{
43338 isinff(0);
43339  ;
43340  return 0;
43341}
43342_ACEOF
43343if ac_fn_cxx_try_compile "$LINENO"; then :
43344  glibcxx_cv_func_isinff_use=yes
43345else
43346  glibcxx_cv_func_isinff_use=no
43347fi
43348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43349      ac_ext=c
43350ac_cpp='$CPP $CPPFLAGS'
43351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43353ac_compiler_gnu=$ac_cv_c_compiler_gnu
43354
43355
43356fi
43357
43358  fi
43359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43360$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43361
43362  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43363    for ac_func in isinff
43364do :
43365  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43366if test "x$ac_cv_func_isinff" = xyes; then :
43367  cat >>confdefs.h <<_ACEOF
43368#define HAVE_ISINFF 1
43369_ACEOF
43370
43371fi
43372done
43373
43374  else
43375
43376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43377$as_echo_n "checking for _isinff declaration... " >&6; }
43378  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43379    if ${glibcxx_cv_func__isinff_use+:} false; then :
43380  $as_echo_n "(cached) " >&6
43381else
43382
43383
43384      ac_ext=cpp
43385ac_cpp='$CXXCPP $CPPFLAGS'
43386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43389
43390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43391/* end confdefs.h.  */
43392#include <math.h>
43393		      #ifdef HAVE_IEEEFP_H
43394		      #include <ieeefp.h>
43395		      #endif
43396
43397int
43398main ()
43399{
43400 _isinff(0);
43401  ;
43402  return 0;
43403}
43404_ACEOF
43405if ac_fn_cxx_try_compile "$LINENO"; then :
43406  glibcxx_cv_func__isinff_use=yes
43407else
43408  glibcxx_cv_func__isinff_use=no
43409fi
43410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43411      ac_ext=c
43412ac_cpp='$CPP $CPPFLAGS'
43413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43415ac_compiler_gnu=$ac_cv_c_compiler_gnu
43416
43417
43418fi
43419
43420  fi
43421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43422$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43423
43424    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43425      for ac_func in _isinff
43426do :
43427  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43428if test "x$ac_cv_func__isinff" = xyes; then :
43429  cat >>confdefs.h <<_ACEOF
43430#define HAVE__ISINFF 1
43431_ACEOF
43432
43433fi
43434done
43435
43436    fi
43437  fi
43438
43439
43440
43441
43442
43443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43444$as_echo_n "checking for atan2f declaration... " >&6; }
43445  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43446    if ${glibcxx_cv_func_atan2f_use+:} false; then :
43447  $as_echo_n "(cached) " >&6
43448else
43449
43450
43451      ac_ext=cpp
43452ac_cpp='$CXXCPP $CPPFLAGS'
43453ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43454ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43455ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43456
43457      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43458/* end confdefs.h.  */
43459#include <math.h>
43460int
43461main ()
43462{
43463 atan2f(0, 0);
43464  ;
43465  return 0;
43466}
43467_ACEOF
43468if ac_fn_cxx_try_compile "$LINENO"; then :
43469  glibcxx_cv_func_atan2f_use=yes
43470else
43471  glibcxx_cv_func_atan2f_use=no
43472fi
43473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43474      ac_ext=c
43475ac_cpp='$CPP $CPPFLAGS'
43476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43478ac_compiler_gnu=$ac_cv_c_compiler_gnu
43479
43480
43481fi
43482
43483  fi
43484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43485$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43486
43487  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43488    for ac_func in atan2f
43489do :
43490  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43491if test "x$ac_cv_func_atan2f" = xyes; then :
43492  cat >>confdefs.h <<_ACEOF
43493#define HAVE_ATAN2F 1
43494_ACEOF
43495
43496fi
43497done
43498
43499  else
43500
43501  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43502$as_echo_n "checking for _atan2f declaration... " >&6; }
43503  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43504    if ${glibcxx_cv_func__atan2f_use+:} false; then :
43505  $as_echo_n "(cached) " >&6
43506else
43507
43508
43509      ac_ext=cpp
43510ac_cpp='$CXXCPP $CPPFLAGS'
43511ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43512ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43513ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43514
43515      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43516/* end confdefs.h.  */
43517#include <math.h>
43518int
43519main ()
43520{
43521 _atan2f(0, 0);
43522  ;
43523  return 0;
43524}
43525_ACEOF
43526if ac_fn_cxx_try_compile "$LINENO"; then :
43527  glibcxx_cv_func__atan2f_use=yes
43528else
43529  glibcxx_cv_func__atan2f_use=no
43530fi
43531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43532      ac_ext=c
43533ac_cpp='$CPP $CPPFLAGS'
43534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43536ac_compiler_gnu=$ac_cv_c_compiler_gnu
43537
43538
43539fi
43540
43541  fi
43542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43543$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43544
43545    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43546      for ac_func in _atan2f
43547do :
43548  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43549if test "x$ac_cv_func__atan2f" = xyes; then :
43550  cat >>confdefs.h <<_ACEOF
43551#define HAVE__ATAN2F 1
43552_ACEOF
43553
43554fi
43555done
43556
43557    fi
43558  fi
43559
43560
43561
43562
43563
43564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43565$as_echo_n "checking for fabsf declaration... " >&6; }
43566  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43567    if ${glibcxx_cv_func_fabsf_use+:} false; then :
43568  $as_echo_n "(cached) " >&6
43569else
43570
43571
43572      ac_ext=cpp
43573ac_cpp='$CXXCPP $CPPFLAGS'
43574ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43575ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43576ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43577
43578      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43579/* end confdefs.h.  */
43580#include <math.h>
43581		      #ifdef HAVE_IEEEFP_H
43582		      #include <ieeefp.h>
43583		      #endif
43584
43585int
43586main ()
43587{
43588 fabsf(0);
43589  ;
43590  return 0;
43591}
43592_ACEOF
43593if ac_fn_cxx_try_compile "$LINENO"; then :
43594  glibcxx_cv_func_fabsf_use=yes
43595else
43596  glibcxx_cv_func_fabsf_use=no
43597fi
43598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43599      ac_ext=c
43600ac_cpp='$CPP $CPPFLAGS'
43601ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603ac_compiler_gnu=$ac_cv_c_compiler_gnu
43604
43605
43606fi
43607
43608  fi
43609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43610$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43611
43612  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43613    for ac_func in fabsf
43614do :
43615  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43616if test "x$ac_cv_func_fabsf" = xyes; then :
43617  cat >>confdefs.h <<_ACEOF
43618#define HAVE_FABSF 1
43619_ACEOF
43620
43621fi
43622done
43623
43624  else
43625
43626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43627$as_echo_n "checking for _fabsf declaration... " >&6; }
43628  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43629    if ${glibcxx_cv_func__fabsf_use+:} false; then :
43630  $as_echo_n "(cached) " >&6
43631else
43632
43633
43634      ac_ext=cpp
43635ac_cpp='$CXXCPP $CPPFLAGS'
43636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43639
43640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43641/* end confdefs.h.  */
43642#include <math.h>
43643		      #ifdef HAVE_IEEEFP_H
43644		      #include <ieeefp.h>
43645		      #endif
43646
43647int
43648main ()
43649{
43650 _fabsf(0);
43651  ;
43652  return 0;
43653}
43654_ACEOF
43655if ac_fn_cxx_try_compile "$LINENO"; then :
43656  glibcxx_cv_func__fabsf_use=yes
43657else
43658  glibcxx_cv_func__fabsf_use=no
43659fi
43660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43661      ac_ext=c
43662ac_cpp='$CPP $CPPFLAGS'
43663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43665ac_compiler_gnu=$ac_cv_c_compiler_gnu
43666
43667
43668fi
43669
43670  fi
43671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43672$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43673
43674    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43675      for ac_func in _fabsf
43676do :
43677  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43678if test "x$ac_cv_func__fabsf" = xyes; then :
43679  cat >>confdefs.h <<_ACEOF
43680#define HAVE__FABSF 1
43681_ACEOF
43682
43683fi
43684done
43685
43686    fi
43687  fi
43688
43689
43690
43691
43692
43693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43694$as_echo_n "checking for fmodf declaration... " >&6; }
43695  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43696    if ${glibcxx_cv_func_fmodf_use+:} false; then :
43697  $as_echo_n "(cached) " >&6
43698else
43699
43700
43701      ac_ext=cpp
43702ac_cpp='$CXXCPP $CPPFLAGS'
43703ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43704ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43705ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43706
43707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43708/* end confdefs.h.  */
43709#include <math.h>
43710int
43711main ()
43712{
43713 fmodf(0, 0);
43714  ;
43715  return 0;
43716}
43717_ACEOF
43718if ac_fn_cxx_try_compile "$LINENO"; then :
43719  glibcxx_cv_func_fmodf_use=yes
43720else
43721  glibcxx_cv_func_fmodf_use=no
43722fi
43723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43724      ac_ext=c
43725ac_cpp='$CPP $CPPFLAGS'
43726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728ac_compiler_gnu=$ac_cv_c_compiler_gnu
43729
43730
43731fi
43732
43733  fi
43734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43735$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43736
43737  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43738    for ac_func in fmodf
43739do :
43740  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43741if test "x$ac_cv_func_fmodf" = xyes; then :
43742  cat >>confdefs.h <<_ACEOF
43743#define HAVE_FMODF 1
43744_ACEOF
43745
43746fi
43747done
43748
43749  else
43750
43751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43752$as_echo_n "checking for _fmodf declaration... " >&6; }
43753  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43754    if ${glibcxx_cv_func__fmodf_use+:} false; then :
43755  $as_echo_n "(cached) " >&6
43756else
43757
43758
43759      ac_ext=cpp
43760ac_cpp='$CXXCPP $CPPFLAGS'
43761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43764
43765      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43766/* end confdefs.h.  */
43767#include <math.h>
43768int
43769main ()
43770{
43771 _fmodf(0, 0);
43772  ;
43773  return 0;
43774}
43775_ACEOF
43776if ac_fn_cxx_try_compile "$LINENO"; then :
43777  glibcxx_cv_func__fmodf_use=yes
43778else
43779  glibcxx_cv_func__fmodf_use=no
43780fi
43781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43782      ac_ext=c
43783ac_cpp='$CPP $CPPFLAGS'
43784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43786ac_compiler_gnu=$ac_cv_c_compiler_gnu
43787
43788
43789fi
43790
43791  fi
43792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43793$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43794
43795    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43796      for ac_func in _fmodf
43797do :
43798  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43799if test "x$ac_cv_func__fmodf" = xyes; then :
43800  cat >>confdefs.h <<_ACEOF
43801#define HAVE__FMODF 1
43802_ACEOF
43803
43804fi
43805done
43806
43807    fi
43808  fi
43809
43810
43811
43812
43813
43814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43815$as_echo_n "checking for frexpf declaration... " >&6; }
43816  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43817    if ${glibcxx_cv_func_frexpf_use+:} false; then :
43818  $as_echo_n "(cached) " >&6
43819else
43820
43821
43822      ac_ext=cpp
43823ac_cpp='$CXXCPP $CPPFLAGS'
43824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43827
43828      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43829/* end confdefs.h.  */
43830#include <math.h>
43831int
43832main ()
43833{
43834 frexpf(0, 0);
43835  ;
43836  return 0;
43837}
43838_ACEOF
43839if ac_fn_cxx_try_compile "$LINENO"; then :
43840  glibcxx_cv_func_frexpf_use=yes
43841else
43842  glibcxx_cv_func_frexpf_use=no
43843fi
43844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43845      ac_ext=c
43846ac_cpp='$CPP $CPPFLAGS'
43847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43849ac_compiler_gnu=$ac_cv_c_compiler_gnu
43850
43851
43852fi
43853
43854  fi
43855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43856$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43857
43858  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43859    for ac_func in frexpf
43860do :
43861  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43862if test "x$ac_cv_func_frexpf" = xyes; then :
43863  cat >>confdefs.h <<_ACEOF
43864#define HAVE_FREXPF 1
43865_ACEOF
43866
43867fi
43868done
43869
43870  else
43871
43872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43873$as_echo_n "checking for _frexpf declaration... " >&6; }
43874  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43875    if ${glibcxx_cv_func__frexpf_use+:} false; then :
43876  $as_echo_n "(cached) " >&6
43877else
43878
43879
43880      ac_ext=cpp
43881ac_cpp='$CXXCPP $CPPFLAGS'
43882ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43885
43886      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43887/* end confdefs.h.  */
43888#include <math.h>
43889int
43890main ()
43891{
43892 _frexpf(0, 0);
43893  ;
43894  return 0;
43895}
43896_ACEOF
43897if ac_fn_cxx_try_compile "$LINENO"; then :
43898  glibcxx_cv_func__frexpf_use=yes
43899else
43900  glibcxx_cv_func__frexpf_use=no
43901fi
43902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43903      ac_ext=c
43904ac_cpp='$CPP $CPPFLAGS'
43905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43907ac_compiler_gnu=$ac_cv_c_compiler_gnu
43908
43909
43910fi
43911
43912  fi
43913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43914$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43915
43916    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43917      for ac_func in _frexpf
43918do :
43919  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43920if test "x$ac_cv_func__frexpf" = xyes; then :
43921  cat >>confdefs.h <<_ACEOF
43922#define HAVE__FREXPF 1
43923_ACEOF
43924
43925fi
43926done
43927
43928    fi
43929  fi
43930
43931
43932
43933
43934
43935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43936$as_echo_n "checking for hypotf declaration... " >&6; }
43937  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43938    if ${glibcxx_cv_func_hypotf_use+:} false; then :
43939  $as_echo_n "(cached) " >&6
43940else
43941
43942
43943      ac_ext=cpp
43944ac_cpp='$CXXCPP $CPPFLAGS'
43945ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43948
43949      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43950/* end confdefs.h.  */
43951#include <math.h>
43952int
43953main ()
43954{
43955 hypotf(0, 0);
43956  ;
43957  return 0;
43958}
43959_ACEOF
43960if ac_fn_cxx_try_compile "$LINENO"; then :
43961  glibcxx_cv_func_hypotf_use=yes
43962else
43963  glibcxx_cv_func_hypotf_use=no
43964fi
43965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43966      ac_ext=c
43967ac_cpp='$CPP $CPPFLAGS'
43968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43970ac_compiler_gnu=$ac_cv_c_compiler_gnu
43971
43972
43973fi
43974
43975  fi
43976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43977$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43978
43979  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43980    for ac_func in hypotf
43981do :
43982  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43983if test "x$ac_cv_func_hypotf" = xyes; then :
43984  cat >>confdefs.h <<_ACEOF
43985#define HAVE_HYPOTF 1
43986_ACEOF
43987
43988fi
43989done
43990
43991  else
43992
43993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43994$as_echo_n "checking for _hypotf declaration... " >&6; }
43995  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43996    if ${glibcxx_cv_func__hypotf_use+:} false; then :
43997  $as_echo_n "(cached) " >&6
43998else
43999
44000
44001      ac_ext=cpp
44002ac_cpp='$CXXCPP $CPPFLAGS'
44003ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44006
44007      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44008/* end confdefs.h.  */
44009#include <math.h>
44010int
44011main ()
44012{
44013 _hypotf(0, 0);
44014  ;
44015  return 0;
44016}
44017_ACEOF
44018if ac_fn_cxx_try_compile "$LINENO"; then :
44019  glibcxx_cv_func__hypotf_use=yes
44020else
44021  glibcxx_cv_func__hypotf_use=no
44022fi
44023rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44024      ac_ext=c
44025ac_cpp='$CPP $CPPFLAGS'
44026ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44027ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44028ac_compiler_gnu=$ac_cv_c_compiler_gnu
44029
44030
44031fi
44032
44033  fi
44034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
44035$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
44036
44037    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
44038      for ac_func in _hypotf
44039do :
44040  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
44041if test "x$ac_cv_func__hypotf" = xyes; then :
44042  cat >>confdefs.h <<_ACEOF
44043#define HAVE__HYPOTF 1
44044_ACEOF
44045
44046fi
44047done
44048
44049    fi
44050  fi
44051
44052
44053
44054
44055
44056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
44057$as_echo_n "checking for ldexpf declaration... " >&6; }
44058  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
44059    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
44060  $as_echo_n "(cached) " >&6
44061else
44062
44063
44064      ac_ext=cpp
44065ac_cpp='$CXXCPP $CPPFLAGS'
44066ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44067ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44068ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44069
44070      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44071/* end confdefs.h.  */
44072#include <math.h>
44073int
44074main ()
44075{
44076 ldexpf(0, 0);
44077  ;
44078  return 0;
44079}
44080_ACEOF
44081if ac_fn_cxx_try_compile "$LINENO"; then :
44082  glibcxx_cv_func_ldexpf_use=yes
44083else
44084  glibcxx_cv_func_ldexpf_use=no
44085fi
44086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44087      ac_ext=c
44088ac_cpp='$CPP $CPPFLAGS'
44089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44091ac_compiler_gnu=$ac_cv_c_compiler_gnu
44092
44093
44094fi
44095
44096  fi
44097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
44098$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
44099
44100  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
44101    for ac_func in ldexpf
44102do :
44103  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
44104if test "x$ac_cv_func_ldexpf" = xyes; then :
44105  cat >>confdefs.h <<_ACEOF
44106#define HAVE_LDEXPF 1
44107_ACEOF
44108
44109fi
44110done
44111
44112  else
44113
44114  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
44115$as_echo_n "checking for _ldexpf declaration... " >&6; }
44116  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
44117    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
44118  $as_echo_n "(cached) " >&6
44119else
44120
44121
44122      ac_ext=cpp
44123ac_cpp='$CXXCPP $CPPFLAGS'
44124ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44125ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44126ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44127
44128      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44129/* end confdefs.h.  */
44130#include <math.h>
44131int
44132main ()
44133{
44134 _ldexpf(0, 0);
44135  ;
44136  return 0;
44137}
44138_ACEOF
44139if ac_fn_cxx_try_compile "$LINENO"; then :
44140  glibcxx_cv_func__ldexpf_use=yes
44141else
44142  glibcxx_cv_func__ldexpf_use=no
44143fi
44144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44145      ac_ext=c
44146ac_cpp='$CPP $CPPFLAGS'
44147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44149ac_compiler_gnu=$ac_cv_c_compiler_gnu
44150
44151
44152fi
44153
44154  fi
44155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
44156$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
44157
44158    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
44159      for ac_func in _ldexpf
44160do :
44161  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
44162if test "x$ac_cv_func__ldexpf" = xyes; then :
44163  cat >>confdefs.h <<_ACEOF
44164#define HAVE__LDEXPF 1
44165_ACEOF
44166
44167fi
44168done
44169
44170    fi
44171  fi
44172
44173
44174
44175
44176
44177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
44178$as_echo_n "checking for logf declaration... " >&6; }
44179  if test x${glibcxx_cv_func_logf_use+set} != xset; then
44180    if ${glibcxx_cv_func_logf_use+:} false; then :
44181  $as_echo_n "(cached) " >&6
44182else
44183
44184
44185      ac_ext=cpp
44186ac_cpp='$CXXCPP $CPPFLAGS'
44187ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44188ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44189ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44190
44191      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44192/* end confdefs.h.  */
44193#include <math.h>
44194		      #ifdef HAVE_IEEEFP_H
44195		      #include <ieeefp.h>
44196		      #endif
44197
44198int
44199main ()
44200{
44201 logf(0);
44202  ;
44203  return 0;
44204}
44205_ACEOF
44206if ac_fn_cxx_try_compile "$LINENO"; then :
44207  glibcxx_cv_func_logf_use=yes
44208else
44209  glibcxx_cv_func_logf_use=no
44210fi
44211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44212      ac_ext=c
44213ac_cpp='$CPP $CPPFLAGS'
44214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44216ac_compiler_gnu=$ac_cv_c_compiler_gnu
44217
44218
44219fi
44220
44221  fi
44222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
44223$as_echo "$glibcxx_cv_func_logf_use" >&6; }
44224
44225  if test x$glibcxx_cv_func_logf_use = x"yes"; then
44226    for ac_func in logf
44227do :
44228  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
44229if test "x$ac_cv_func_logf" = xyes; then :
44230  cat >>confdefs.h <<_ACEOF
44231#define HAVE_LOGF 1
44232_ACEOF
44233
44234fi
44235done
44236
44237  else
44238
44239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
44240$as_echo_n "checking for _logf declaration... " >&6; }
44241  if test x${glibcxx_cv_func__logf_use+set} != xset; then
44242    if ${glibcxx_cv_func__logf_use+:} false; then :
44243  $as_echo_n "(cached) " >&6
44244else
44245
44246
44247      ac_ext=cpp
44248ac_cpp='$CXXCPP $CPPFLAGS'
44249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44252
44253      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44254/* end confdefs.h.  */
44255#include <math.h>
44256		      #ifdef HAVE_IEEEFP_H
44257		      #include <ieeefp.h>
44258		      #endif
44259
44260int
44261main ()
44262{
44263 _logf(0);
44264  ;
44265  return 0;
44266}
44267_ACEOF
44268if ac_fn_cxx_try_compile "$LINENO"; then :
44269  glibcxx_cv_func__logf_use=yes
44270else
44271  glibcxx_cv_func__logf_use=no
44272fi
44273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44274      ac_ext=c
44275ac_cpp='$CPP $CPPFLAGS'
44276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44278ac_compiler_gnu=$ac_cv_c_compiler_gnu
44279
44280
44281fi
44282
44283  fi
44284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44285$as_echo "$glibcxx_cv_func__logf_use" >&6; }
44286
44287    if test x$glibcxx_cv_func__logf_use = x"yes"; then
44288      for ac_func in _logf
44289do :
44290  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44291if test "x$ac_cv_func__logf" = xyes; then :
44292  cat >>confdefs.h <<_ACEOF
44293#define HAVE__LOGF 1
44294_ACEOF
44295
44296fi
44297done
44298
44299    fi
44300  fi
44301
44302
44303
44304
44305
44306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44307$as_echo_n "checking for log10f declaration... " >&6; }
44308  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44309    if ${glibcxx_cv_func_log10f_use+:} false; then :
44310  $as_echo_n "(cached) " >&6
44311else
44312
44313
44314      ac_ext=cpp
44315ac_cpp='$CXXCPP $CPPFLAGS'
44316ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44317ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44318ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44319
44320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44321/* end confdefs.h.  */
44322#include <math.h>
44323		      #ifdef HAVE_IEEEFP_H
44324		      #include <ieeefp.h>
44325		      #endif
44326
44327int
44328main ()
44329{
44330 log10f(0);
44331  ;
44332  return 0;
44333}
44334_ACEOF
44335if ac_fn_cxx_try_compile "$LINENO"; then :
44336  glibcxx_cv_func_log10f_use=yes
44337else
44338  glibcxx_cv_func_log10f_use=no
44339fi
44340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44341      ac_ext=c
44342ac_cpp='$CPP $CPPFLAGS'
44343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44345ac_compiler_gnu=$ac_cv_c_compiler_gnu
44346
44347
44348fi
44349
44350  fi
44351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44352$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44353
44354  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44355    for ac_func in log10f
44356do :
44357  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44358if test "x$ac_cv_func_log10f" = xyes; then :
44359  cat >>confdefs.h <<_ACEOF
44360#define HAVE_LOG10F 1
44361_ACEOF
44362
44363fi
44364done
44365
44366  else
44367
44368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44369$as_echo_n "checking for _log10f declaration... " >&6; }
44370  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44371    if ${glibcxx_cv_func__log10f_use+:} false; then :
44372  $as_echo_n "(cached) " >&6
44373else
44374
44375
44376      ac_ext=cpp
44377ac_cpp='$CXXCPP $CPPFLAGS'
44378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44381
44382      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44383/* end confdefs.h.  */
44384#include <math.h>
44385		      #ifdef HAVE_IEEEFP_H
44386		      #include <ieeefp.h>
44387		      #endif
44388
44389int
44390main ()
44391{
44392 _log10f(0);
44393  ;
44394  return 0;
44395}
44396_ACEOF
44397if ac_fn_cxx_try_compile "$LINENO"; then :
44398  glibcxx_cv_func__log10f_use=yes
44399else
44400  glibcxx_cv_func__log10f_use=no
44401fi
44402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44403      ac_ext=c
44404ac_cpp='$CPP $CPPFLAGS'
44405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44407ac_compiler_gnu=$ac_cv_c_compiler_gnu
44408
44409
44410fi
44411
44412  fi
44413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44414$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44415
44416    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44417      for ac_func in _log10f
44418do :
44419  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44420if test "x$ac_cv_func__log10f" = xyes; then :
44421  cat >>confdefs.h <<_ACEOF
44422#define HAVE__LOG10F 1
44423_ACEOF
44424
44425fi
44426done
44427
44428    fi
44429  fi
44430
44431
44432
44433
44434
44435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44436$as_echo_n "checking for modff declaration... " >&6; }
44437  if test x${glibcxx_cv_func_modff_use+set} != xset; then
44438    if ${glibcxx_cv_func_modff_use+:} false; then :
44439  $as_echo_n "(cached) " >&6
44440else
44441
44442
44443      ac_ext=cpp
44444ac_cpp='$CXXCPP $CPPFLAGS'
44445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44448
44449      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44450/* end confdefs.h.  */
44451#include <math.h>
44452int
44453main ()
44454{
44455 modff(0, 0);
44456  ;
44457  return 0;
44458}
44459_ACEOF
44460if ac_fn_cxx_try_compile "$LINENO"; then :
44461  glibcxx_cv_func_modff_use=yes
44462else
44463  glibcxx_cv_func_modff_use=no
44464fi
44465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44466      ac_ext=c
44467ac_cpp='$CPP $CPPFLAGS'
44468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44470ac_compiler_gnu=$ac_cv_c_compiler_gnu
44471
44472
44473fi
44474
44475  fi
44476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44477$as_echo "$glibcxx_cv_func_modff_use" >&6; }
44478
44479  if test x$glibcxx_cv_func_modff_use = x"yes"; then
44480    for ac_func in modff
44481do :
44482  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44483if test "x$ac_cv_func_modff" = xyes; then :
44484  cat >>confdefs.h <<_ACEOF
44485#define HAVE_MODFF 1
44486_ACEOF
44487
44488fi
44489done
44490
44491  else
44492
44493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44494$as_echo_n "checking for _modff declaration... " >&6; }
44495  if test x${glibcxx_cv_func__modff_use+set} != xset; then
44496    if ${glibcxx_cv_func__modff_use+:} false; then :
44497  $as_echo_n "(cached) " >&6
44498else
44499
44500
44501      ac_ext=cpp
44502ac_cpp='$CXXCPP $CPPFLAGS'
44503ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44504ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44505ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44506
44507      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44508/* end confdefs.h.  */
44509#include <math.h>
44510int
44511main ()
44512{
44513 _modff(0, 0);
44514  ;
44515  return 0;
44516}
44517_ACEOF
44518if ac_fn_cxx_try_compile "$LINENO"; then :
44519  glibcxx_cv_func__modff_use=yes
44520else
44521  glibcxx_cv_func__modff_use=no
44522fi
44523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44524      ac_ext=c
44525ac_cpp='$CPP $CPPFLAGS'
44526ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44527ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44528ac_compiler_gnu=$ac_cv_c_compiler_gnu
44529
44530
44531fi
44532
44533  fi
44534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44535$as_echo "$glibcxx_cv_func__modff_use" >&6; }
44536
44537    if test x$glibcxx_cv_func__modff_use = x"yes"; then
44538      for ac_func in _modff
44539do :
44540  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44541if test "x$ac_cv_func__modff" = xyes; then :
44542  cat >>confdefs.h <<_ACEOF
44543#define HAVE__MODFF 1
44544_ACEOF
44545
44546fi
44547done
44548
44549    fi
44550  fi
44551
44552
44553
44554
44555
44556  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44557$as_echo_n "checking for modf declaration... " >&6; }
44558  if test x${glibcxx_cv_func_modf_use+set} != xset; then
44559    if ${glibcxx_cv_func_modf_use+:} false; then :
44560  $as_echo_n "(cached) " >&6
44561else
44562
44563
44564      ac_ext=cpp
44565ac_cpp='$CXXCPP $CPPFLAGS'
44566ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44567ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44568ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44569
44570      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44571/* end confdefs.h.  */
44572#include <math.h>
44573int
44574main ()
44575{
44576 modf(0, 0);
44577  ;
44578  return 0;
44579}
44580_ACEOF
44581if ac_fn_cxx_try_compile "$LINENO"; then :
44582  glibcxx_cv_func_modf_use=yes
44583else
44584  glibcxx_cv_func_modf_use=no
44585fi
44586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44587      ac_ext=c
44588ac_cpp='$CPP $CPPFLAGS'
44589ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44590ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44591ac_compiler_gnu=$ac_cv_c_compiler_gnu
44592
44593
44594fi
44595
44596  fi
44597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44598$as_echo "$glibcxx_cv_func_modf_use" >&6; }
44599
44600  if test x$glibcxx_cv_func_modf_use = x"yes"; then
44601    for ac_func in modf
44602do :
44603  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44604if test "x$ac_cv_func_modf" = xyes; then :
44605  cat >>confdefs.h <<_ACEOF
44606#define HAVE_MODF 1
44607_ACEOF
44608
44609fi
44610done
44611
44612  else
44613
44614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44615$as_echo_n "checking for _modf declaration... " >&6; }
44616  if test x${glibcxx_cv_func__modf_use+set} != xset; then
44617    if ${glibcxx_cv_func__modf_use+:} false; then :
44618  $as_echo_n "(cached) " >&6
44619else
44620
44621
44622      ac_ext=cpp
44623ac_cpp='$CXXCPP $CPPFLAGS'
44624ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44625ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44626ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44627
44628      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44629/* end confdefs.h.  */
44630#include <math.h>
44631int
44632main ()
44633{
44634 _modf(0, 0);
44635  ;
44636  return 0;
44637}
44638_ACEOF
44639if ac_fn_cxx_try_compile "$LINENO"; then :
44640  glibcxx_cv_func__modf_use=yes
44641else
44642  glibcxx_cv_func__modf_use=no
44643fi
44644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44645      ac_ext=c
44646ac_cpp='$CPP $CPPFLAGS'
44647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44649ac_compiler_gnu=$ac_cv_c_compiler_gnu
44650
44651
44652fi
44653
44654  fi
44655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44656$as_echo "$glibcxx_cv_func__modf_use" >&6; }
44657
44658    if test x$glibcxx_cv_func__modf_use = x"yes"; then
44659      for ac_func in _modf
44660do :
44661  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44662if test "x$ac_cv_func__modf" = xyes; then :
44663  cat >>confdefs.h <<_ACEOF
44664#define HAVE__MODF 1
44665_ACEOF
44666
44667fi
44668done
44669
44670    fi
44671  fi
44672
44673
44674
44675
44676
44677  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44678$as_echo_n "checking for powf declaration... " >&6; }
44679  if test x${glibcxx_cv_func_powf_use+set} != xset; then
44680    if ${glibcxx_cv_func_powf_use+:} false; then :
44681  $as_echo_n "(cached) " >&6
44682else
44683
44684
44685      ac_ext=cpp
44686ac_cpp='$CXXCPP $CPPFLAGS'
44687ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44688ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44689ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44690
44691      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44692/* end confdefs.h.  */
44693#include <math.h>
44694int
44695main ()
44696{
44697 powf(0, 0);
44698  ;
44699  return 0;
44700}
44701_ACEOF
44702if ac_fn_cxx_try_compile "$LINENO"; then :
44703  glibcxx_cv_func_powf_use=yes
44704else
44705  glibcxx_cv_func_powf_use=no
44706fi
44707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44708      ac_ext=c
44709ac_cpp='$CPP $CPPFLAGS'
44710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44712ac_compiler_gnu=$ac_cv_c_compiler_gnu
44713
44714
44715fi
44716
44717  fi
44718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44719$as_echo "$glibcxx_cv_func_powf_use" >&6; }
44720
44721  if test x$glibcxx_cv_func_powf_use = x"yes"; then
44722    for ac_func in powf
44723do :
44724  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44725if test "x$ac_cv_func_powf" = xyes; then :
44726  cat >>confdefs.h <<_ACEOF
44727#define HAVE_POWF 1
44728_ACEOF
44729
44730fi
44731done
44732
44733  else
44734
44735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44736$as_echo_n "checking for _powf declaration... " >&6; }
44737  if test x${glibcxx_cv_func__powf_use+set} != xset; then
44738    if ${glibcxx_cv_func__powf_use+:} false; then :
44739  $as_echo_n "(cached) " >&6
44740else
44741
44742
44743      ac_ext=cpp
44744ac_cpp='$CXXCPP $CPPFLAGS'
44745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44748
44749      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44750/* end confdefs.h.  */
44751#include <math.h>
44752int
44753main ()
44754{
44755 _powf(0, 0);
44756  ;
44757  return 0;
44758}
44759_ACEOF
44760if ac_fn_cxx_try_compile "$LINENO"; then :
44761  glibcxx_cv_func__powf_use=yes
44762else
44763  glibcxx_cv_func__powf_use=no
44764fi
44765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44766      ac_ext=c
44767ac_cpp='$CPP $CPPFLAGS'
44768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770ac_compiler_gnu=$ac_cv_c_compiler_gnu
44771
44772
44773fi
44774
44775  fi
44776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44777$as_echo "$glibcxx_cv_func__powf_use" >&6; }
44778
44779    if test x$glibcxx_cv_func__powf_use = x"yes"; then
44780      for ac_func in _powf
44781do :
44782  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44783if test "x$ac_cv_func__powf" = xyes; then :
44784  cat >>confdefs.h <<_ACEOF
44785#define HAVE__POWF 1
44786_ACEOF
44787
44788fi
44789done
44790
44791    fi
44792  fi
44793
44794
44795
44796
44797
44798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44799$as_echo_n "checking for sqrtf declaration... " >&6; }
44800  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44801    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44802  $as_echo_n "(cached) " >&6
44803else
44804
44805
44806      ac_ext=cpp
44807ac_cpp='$CXXCPP $CPPFLAGS'
44808ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44809ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44810ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44811
44812      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44813/* end confdefs.h.  */
44814#include <math.h>
44815		      #ifdef HAVE_IEEEFP_H
44816		      #include <ieeefp.h>
44817		      #endif
44818
44819int
44820main ()
44821{
44822 sqrtf(0);
44823  ;
44824  return 0;
44825}
44826_ACEOF
44827if ac_fn_cxx_try_compile "$LINENO"; then :
44828  glibcxx_cv_func_sqrtf_use=yes
44829else
44830  glibcxx_cv_func_sqrtf_use=no
44831fi
44832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44833      ac_ext=c
44834ac_cpp='$CPP $CPPFLAGS'
44835ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44836ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44837ac_compiler_gnu=$ac_cv_c_compiler_gnu
44838
44839
44840fi
44841
44842  fi
44843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44844$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44845
44846  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44847    for ac_func in sqrtf
44848do :
44849  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44850if test "x$ac_cv_func_sqrtf" = xyes; then :
44851  cat >>confdefs.h <<_ACEOF
44852#define HAVE_SQRTF 1
44853_ACEOF
44854
44855fi
44856done
44857
44858  else
44859
44860  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44861$as_echo_n "checking for _sqrtf declaration... " >&6; }
44862  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44863    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44864  $as_echo_n "(cached) " >&6
44865else
44866
44867
44868      ac_ext=cpp
44869ac_cpp='$CXXCPP $CPPFLAGS'
44870ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44871ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44872ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44873
44874      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44875/* end confdefs.h.  */
44876#include <math.h>
44877		      #ifdef HAVE_IEEEFP_H
44878		      #include <ieeefp.h>
44879		      #endif
44880
44881int
44882main ()
44883{
44884 _sqrtf(0);
44885  ;
44886  return 0;
44887}
44888_ACEOF
44889if ac_fn_cxx_try_compile "$LINENO"; then :
44890  glibcxx_cv_func__sqrtf_use=yes
44891else
44892  glibcxx_cv_func__sqrtf_use=no
44893fi
44894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44895      ac_ext=c
44896ac_cpp='$CPP $CPPFLAGS'
44897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44899ac_compiler_gnu=$ac_cv_c_compiler_gnu
44900
44901
44902fi
44903
44904  fi
44905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44906$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44907
44908    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44909      for ac_func in _sqrtf
44910do :
44911  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44912if test "x$ac_cv_func__sqrtf" = xyes; then :
44913  cat >>confdefs.h <<_ACEOF
44914#define HAVE__SQRTF 1
44915_ACEOF
44916
44917fi
44918done
44919
44920    fi
44921  fi
44922
44923
44924
44925
44926
44927  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44928$as_echo_n "checking for sincosf declaration... " >&6; }
44929  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44930    if ${glibcxx_cv_func_sincosf_use+:} false; then :
44931  $as_echo_n "(cached) " >&6
44932else
44933
44934
44935      ac_ext=cpp
44936ac_cpp='$CXXCPP $CPPFLAGS'
44937ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44938ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44939ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44940
44941      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44942/* end confdefs.h.  */
44943#include <math.h>
44944int
44945main ()
44946{
44947 sincosf(0, 0, 0);
44948  ;
44949  return 0;
44950}
44951_ACEOF
44952if ac_fn_cxx_try_compile "$LINENO"; then :
44953  glibcxx_cv_func_sincosf_use=yes
44954else
44955  glibcxx_cv_func_sincosf_use=no
44956fi
44957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44958      ac_ext=c
44959ac_cpp='$CPP $CPPFLAGS'
44960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44962ac_compiler_gnu=$ac_cv_c_compiler_gnu
44963
44964
44965fi
44966
44967  fi
44968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44969$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44970
44971  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44972    for ac_func in sincosf
44973do :
44974  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44975if test "x$ac_cv_func_sincosf" = xyes; then :
44976  cat >>confdefs.h <<_ACEOF
44977#define HAVE_SINCOSF 1
44978_ACEOF
44979
44980fi
44981done
44982
44983  else
44984
44985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44986$as_echo_n "checking for _sincosf declaration... " >&6; }
44987  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44988    if ${glibcxx_cv_func__sincosf_use+:} false; then :
44989  $as_echo_n "(cached) " >&6
44990else
44991
44992
44993      ac_ext=cpp
44994ac_cpp='$CXXCPP $CPPFLAGS'
44995ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44996ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44997ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44998
44999      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45000/* end confdefs.h.  */
45001#include <math.h>
45002int
45003main ()
45004{
45005 _sincosf(0, 0, 0);
45006  ;
45007  return 0;
45008}
45009_ACEOF
45010if ac_fn_cxx_try_compile "$LINENO"; then :
45011  glibcxx_cv_func__sincosf_use=yes
45012else
45013  glibcxx_cv_func__sincosf_use=no
45014fi
45015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45016      ac_ext=c
45017ac_cpp='$CPP $CPPFLAGS'
45018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45020ac_compiler_gnu=$ac_cv_c_compiler_gnu
45021
45022
45023fi
45024
45025  fi
45026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
45027$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
45028
45029    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
45030      for ac_func in _sincosf
45031do :
45032  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
45033if test "x$ac_cv_func__sincosf" = xyes; then :
45034  cat >>confdefs.h <<_ACEOF
45035#define HAVE__SINCOSF 1
45036_ACEOF
45037
45038fi
45039done
45040
45041    fi
45042  fi
45043
45044
45045
45046
45047
45048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
45049$as_echo_n "checking for finitef declaration... " >&6; }
45050  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
45051    if ${glibcxx_cv_func_finitef_use+:} false; then :
45052  $as_echo_n "(cached) " >&6
45053else
45054
45055
45056      ac_ext=cpp
45057ac_cpp='$CXXCPP $CPPFLAGS'
45058ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45059ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45060ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45061
45062      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45063/* end confdefs.h.  */
45064#include <math.h>
45065		      #ifdef HAVE_IEEEFP_H
45066		      #include <ieeefp.h>
45067		      #endif
45068
45069int
45070main ()
45071{
45072 finitef(0);
45073  ;
45074  return 0;
45075}
45076_ACEOF
45077if ac_fn_cxx_try_compile "$LINENO"; then :
45078  glibcxx_cv_func_finitef_use=yes
45079else
45080  glibcxx_cv_func_finitef_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
45089
45090fi
45091
45092  fi
45093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
45094$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
45095
45096  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
45097    for ac_func in finitef
45098do :
45099  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
45100if test "x$ac_cv_func_finitef" = xyes; then :
45101  cat >>confdefs.h <<_ACEOF
45102#define HAVE_FINITEF 1
45103_ACEOF
45104
45105fi
45106done
45107
45108  else
45109
45110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
45111$as_echo_n "checking for _finitef declaration... " >&6; }
45112  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
45113    if ${glibcxx_cv_func__finitef_use+:} false; then :
45114  $as_echo_n "(cached) " >&6
45115else
45116
45117
45118      ac_ext=cpp
45119ac_cpp='$CXXCPP $CPPFLAGS'
45120ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45121ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45122ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45123
45124      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45125/* end confdefs.h.  */
45126#include <math.h>
45127		      #ifdef HAVE_IEEEFP_H
45128		      #include <ieeefp.h>
45129		      #endif
45130
45131int
45132main ()
45133{
45134 _finitef(0);
45135  ;
45136  return 0;
45137}
45138_ACEOF
45139if ac_fn_cxx_try_compile "$LINENO"; then :
45140  glibcxx_cv_func__finitef_use=yes
45141else
45142  glibcxx_cv_func__finitef_use=no
45143fi
45144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45145      ac_ext=c
45146ac_cpp='$CPP $CPPFLAGS'
45147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45149ac_compiler_gnu=$ac_cv_c_compiler_gnu
45150
45151
45152fi
45153
45154  fi
45155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
45156$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
45157
45158    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
45159      for ac_func in _finitef
45160do :
45161  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
45162if test "x$ac_cv_func__finitef" = xyes; then :
45163  cat >>confdefs.h <<_ACEOF
45164#define HAVE__FINITEF 1
45165_ACEOF
45166
45167fi
45168done
45169
45170    fi
45171  fi
45172
45173
45174
45175
45176
45177    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
45178$as_echo_n "checking for long double trig functions... " >&6; }
45179  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
45180  $as_echo_n "(cached) " >&6
45181else
45182
45183
45184    ac_ext=cpp
45185ac_cpp='$CXXCPP $CPPFLAGS'
45186ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45187ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45188ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45189
45190    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45191/* end confdefs.h.  */
45192#include <math.h>
45193int
45194main ()
45195{
45196acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
45197  ;
45198  return 0;
45199}
45200_ACEOF
45201if ac_fn_cxx_try_compile "$LINENO"; then :
45202  glibcxx_cv_func_long_double_trig_use=yes
45203else
45204  glibcxx_cv_func_long_double_trig_use=no
45205fi
45206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45207    ac_ext=c
45208ac_cpp='$CPP $CPPFLAGS'
45209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45211ac_compiler_gnu=$ac_cv_c_compiler_gnu
45212
45213fi
45214
45215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
45216$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
45217  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
45218    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
45219do :
45220  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45221ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45222if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45223  cat >>confdefs.h <<_ACEOF
45224#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45225_ACEOF
45226
45227fi
45228done
45229
45230  else
45231    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
45232$as_echo_n "checking for _long double trig functions... " >&6; }
45233    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
45234  $as_echo_n "(cached) " >&6
45235else
45236
45237
45238      ac_ext=cpp
45239ac_cpp='$CXXCPP $CPPFLAGS'
45240ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45241ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45242ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45243
45244      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45245/* end confdefs.h.  */
45246#include <math.h>
45247int
45248main ()
45249{
45250_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45251  ;
45252  return 0;
45253}
45254_ACEOF
45255if ac_fn_cxx_try_compile "$LINENO"; then :
45256  glibcxx_cv_func__long_double_trig_use=yes
45257else
45258  glibcxx_cv_func__long_double_trig_use=no
45259fi
45260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45261      ac_ext=c
45262ac_cpp='$CPP $CPPFLAGS'
45263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45265ac_compiler_gnu=$ac_cv_c_compiler_gnu
45266
45267fi
45268
45269    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45270$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45271    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45272      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45273do :
45274  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45275ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45276if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45277  cat >>confdefs.h <<_ACEOF
45278#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45279_ACEOF
45280
45281fi
45282done
45283
45284    fi
45285  fi
45286
45287
45288
45289
45290
45291    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45292$as_echo_n "checking for long double round functions... " >&6; }
45293  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45294  $as_echo_n "(cached) " >&6
45295else
45296
45297
45298    ac_ext=cpp
45299ac_cpp='$CXXCPP $CPPFLAGS'
45300ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45301ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45302ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45303
45304    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45305/* end confdefs.h.  */
45306#include <math.h>
45307int
45308main ()
45309{
45310ceill (0); floorl (0);
45311  ;
45312  return 0;
45313}
45314_ACEOF
45315if ac_fn_cxx_try_compile "$LINENO"; then :
45316  glibcxx_cv_func_long_double_round_use=yes
45317else
45318  glibcxx_cv_func_long_double_round_use=no
45319fi
45320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45321    ac_ext=c
45322ac_cpp='$CPP $CPPFLAGS'
45323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45325ac_compiler_gnu=$ac_cv_c_compiler_gnu
45326
45327fi
45328
45329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45330$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45331  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45332    for ac_func in ceill floorl
45333do :
45334  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45335ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45336if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45337  cat >>confdefs.h <<_ACEOF
45338#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45339_ACEOF
45340
45341fi
45342done
45343
45344  else
45345    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45346$as_echo_n "checking for _long double round functions... " >&6; }
45347    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45348  $as_echo_n "(cached) " >&6
45349else
45350
45351
45352      ac_ext=cpp
45353ac_cpp='$CXXCPP $CPPFLAGS'
45354ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45357
45358      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45359/* end confdefs.h.  */
45360#include <math.h>
45361int
45362main ()
45363{
45364_ceill (0); _floorl (0);
45365  ;
45366  return 0;
45367}
45368_ACEOF
45369if ac_fn_cxx_try_compile "$LINENO"; then :
45370  glibcxx_cv_func__long_double_round_use=yes
45371else
45372  glibcxx_cv_func__long_double_round_use=no
45373fi
45374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45375      ac_ext=c
45376ac_cpp='$CPP $CPPFLAGS'
45377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45379ac_compiler_gnu=$ac_cv_c_compiler_gnu
45380
45381fi
45382
45383    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45384$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45385    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45386      for ac_func in _ceill _floorl
45387do :
45388  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45389ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45390if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45391  cat >>confdefs.h <<_ACEOF
45392#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45393_ACEOF
45394
45395fi
45396done
45397
45398    fi
45399  fi
45400
45401
45402
45403
45404
45405
45406  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45407$as_echo_n "checking for isnanl declaration... " >&6; }
45408  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45409    if ${glibcxx_cv_func_isnanl_use+:} false; then :
45410  $as_echo_n "(cached) " >&6
45411else
45412
45413
45414      ac_ext=cpp
45415ac_cpp='$CXXCPP $CPPFLAGS'
45416ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45419
45420      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45421/* end confdefs.h.  */
45422#include <math.h>
45423		      #ifdef HAVE_IEEEFP_H
45424		      #include <ieeefp.h>
45425		      #endif
45426
45427int
45428main ()
45429{
45430 isnanl(0);
45431  ;
45432  return 0;
45433}
45434_ACEOF
45435if ac_fn_cxx_try_compile "$LINENO"; then :
45436  glibcxx_cv_func_isnanl_use=yes
45437else
45438  glibcxx_cv_func_isnanl_use=no
45439fi
45440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45441      ac_ext=c
45442ac_cpp='$CPP $CPPFLAGS'
45443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445ac_compiler_gnu=$ac_cv_c_compiler_gnu
45446
45447
45448fi
45449
45450  fi
45451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45452$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45453
45454  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45455    for ac_func in isnanl
45456do :
45457  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45458if test "x$ac_cv_func_isnanl" = xyes; then :
45459  cat >>confdefs.h <<_ACEOF
45460#define HAVE_ISNANL 1
45461_ACEOF
45462
45463fi
45464done
45465
45466  else
45467
45468  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45469$as_echo_n "checking for _isnanl declaration... " >&6; }
45470  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45471    if ${glibcxx_cv_func__isnanl_use+:} false; then :
45472  $as_echo_n "(cached) " >&6
45473else
45474
45475
45476      ac_ext=cpp
45477ac_cpp='$CXXCPP $CPPFLAGS'
45478ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45479ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45480ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45481
45482      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45483/* end confdefs.h.  */
45484#include <math.h>
45485		      #ifdef HAVE_IEEEFP_H
45486		      #include <ieeefp.h>
45487		      #endif
45488
45489int
45490main ()
45491{
45492 _isnanl(0);
45493  ;
45494  return 0;
45495}
45496_ACEOF
45497if ac_fn_cxx_try_compile "$LINENO"; then :
45498  glibcxx_cv_func__isnanl_use=yes
45499else
45500  glibcxx_cv_func__isnanl_use=no
45501fi
45502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45503      ac_ext=c
45504ac_cpp='$CPP $CPPFLAGS'
45505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45507ac_compiler_gnu=$ac_cv_c_compiler_gnu
45508
45509
45510fi
45511
45512  fi
45513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45514$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45515
45516    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45517      for ac_func in _isnanl
45518do :
45519  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45520if test "x$ac_cv_func__isnanl" = xyes; then :
45521  cat >>confdefs.h <<_ACEOF
45522#define HAVE__ISNANL 1
45523_ACEOF
45524
45525fi
45526done
45527
45528    fi
45529  fi
45530
45531
45532
45533
45534
45535  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45536$as_echo_n "checking for isinfl declaration... " >&6; }
45537  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45538    if ${glibcxx_cv_func_isinfl_use+:} false; then :
45539  $as_echo_n "(cached) " >&6
45540else
45541
45542
45543      ac_ext=cpp
45544ac_cpp='$CXXCPP $CPPFLAGS'
45545ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45546ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45547ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45548
45549      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45550/* end confdefs.h.  */
45551#include <math.h>
45552		      #ifdef HAVE_IEEEFP_H
45553		      #include <ieeefp.h>
45554		      #endif
45555
45556int
45557main ()
45558{
45559 isinfl(0);
45560  ;
45561  return 0;
45562}
45563_ACEOF
45564if ac_fn_cxx_try_compile "$LINENO"; then :
45565  glibcxx_cv_func_isinfl_use=yes
45566else
45567  glibcxx_cv_func_isinfl_use=no
45568fi
45569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45570      ac_ext=c
45571ac_cpp='$CPP $CPPFLAGS'
45572ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574ac_compiler_gnu=$ac_cv_c_compiler_gnu
45575
45576
45577fi
45578
45579  fi
45580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45581$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45582
45583  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45584    for ac_func in isinfl
45585do :
45586  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45587if test "x$ac_cv_func_isinfl" = xyes; then :
45588  cat >>confdefs.h <<_ACEOF
45589#define HAVE_ISINFL 1
45590_ACEOF
45591
45592fi
45593done
45594
45595  else
45596
45597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45598$as_echo_n "checking for _isinfl declaration... " >&6; }
45599  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45600    if ${glibcxx_cv_func__isinfl_use+:} false; then :
45601  $as_echo_n "(cached) " >&6
45602else
45603
45604
45605      ac_ext=cpp
45606ac_cpp='$CXXCPP $CPPFLAGS'
45607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45608ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45610
45611      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45612/* end confdefs.h.  */
45613#include <math.h>
45614		      #ifdef HAVE_IEEEFP_H
45615		      #include <ieeefp.h>
45616		      #endif
45617
45618int
45619main ()
45620{
45621 _isinfl(0);
45622  ;
45623  return 0;
45624}
45625_ACEOF
45626if ac_fn_cxx_try_compile "$LINENO"; then :
45627  glibcxx_cv_func__isinfl_use=yes
45628else
45629  glibcxx_cv_func__isinfl_use=no
45630fi
45631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45632      ac_ext=c
45633ac_cpp='$CPP $CPPFLAGS'
45634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45636ac_compiler_gnu=$ac_cv_c_compiler_gnu
45637
45638
45639fi
45640
45641  fi
45642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45643$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45644
45645    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45646      for ac_func in _isinfl
45647do :
45648  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45649if test "x$ac_cv_func__isinfl" = xyes; then :
45650  cat >>confdefs.h <<_ACEOF
45651#define HAVE__ISINFL 1
45652_ACEOF
45653
45654fi
45655done
45656
45657    fi
45658  fi
45659
45660
45661
45662
45663
45664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45665$as_echo_n "checking for atan2l declaration... " >&6; }
45666  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45667    if ${glibcxx_cv_func_atan2l_use+:} false; then :
45668  $as_echo_n "(cached) " >&6
45669else
45670
45671
45672      ac_ext=cpp
45673ac_cpp='$CXXCPP $CPPFLAGS'
45674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45677
45678      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45679/* end confdefs.h.  */
45680#include <math.h>
45681int
45682main ()
45683{
45684 atan2l(0, 0);
45685  ;
45686  return 0;
45687}
45688_ACEOF
45689if ac_fn_cxx_try_compile "$LINENO"; then :
45690  glibcxx_cv_func_atan2l_use=yes
45691else
45692  glibcxx_cv_func_atan2l_use=no
45693fi
45694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45695      ac_ext=c
45696ac_cpp='$CPP $CPPFLAGS'
45697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45699ac_compiler_gnu=$ac_cv_c_compiler_gnu
45700
45701
45702fi
45703
45704  fi
45705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45706$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45707
45708  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45709    for ac_func in atan2l
45710do :
45711  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45712if test "x$ac_cv_func_atan2l" = xyes; then :
45713  cat >>confdefs.h <<_ACEOF
45714#define HAVE_ATAN2L 1
45715_ACEOF
45716
45717fi
45718done
45719
45720  else
45721
45722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45723$as_echo_n "checking for _atan2l declaration... " >&6; }
45724  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45725    if ${glibcxx_cv_func__atan2l_use+:} false; then :
45726  $as_echo_n "(cached) " >&6
45727else
45728
45729
45730      ac_ext=cpp
45731ac_cpp='$CXXCPP $CPPFLAGS'
45732ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45735
45736      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45737/* end confdefs.h.  */
45738#include <math.h>
45739int
45740main ()
45741{
45742 _atan2l(0, 0);
45743  ;
45744  return 0;
45745}
45746_ACEOF
45747if ac_fn_cxx_try_compile "$LINENO"; then :
45748  glibcxx_cv_func__atan2l_use=yes
45749else
45750  glibcxx_cv_func__atan2l_use=no
45751fi
45752rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45753      ac_ext=c
45754ac_cpp='$CPP $CPPFLAGS'
45755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45757ac_compiler_gnu=$ac_cv_c_compiler_gnu
45758
45759
45760fi
45761
45762  fi
45763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45764$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45765
45766    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45767      for ac_func in _atan2l
45768do :
45769  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45770if test "x$ac_cv_func__atan2l" = xyes; then :
45771  cat >>confdefs.h <<_ACEOF
45772#define HAVE__ATAN2L 1
45773_ACEOF
45774
45775fi
45776done
45777
45778    fi
45779  fi
45780
45781
45782
45783
45784
45785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45786$as_echo_n "checking for expl declaration... " >&6; }
45787  if test x${glibcxx_cv_func_expl_use+set} != xset; then
45788    if ${glibcxx_cv_func_expl_use+:} false; then :
45789  $as_echo_n "(cached) " >&6
45790else
45791
45792
45793      ac_ext=cpp
45794ac_cpp='$CXXCPP $CPPFLAGS'
45795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45798
45799      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45800/* end confdefs.h.  */
45801#include <math.h>
45802		      #ifdef HAVE_IEEEFP_H
45803		      #include <ieeefp.h>
45804		      #endif
45805
45806int
45807main ()
45808{
45809 expl(0);
45810  ;
45811  return 0;
45812}
45813_ACEOF
45814if ac_fn_cxx_try_compile "$LINENO"; then :
45815  glibcxx_cv_func_expl_use=yes
45816else
45817  glibcxx_cv_func_expl_use=no
45818fi
45819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45820      ac_ext=c
45821ac_cpp='$CPP $CPPFLAGS'
45822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45824ac_compiler_gnu=$ac_cv_c_compiler_gnu
45825
45826
45827fi
45828
45829  fi
45830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45831$as_echo "$glibcxx_cv_func_expl_use" >&6; }
45832
45833  if test x$glibcxx_cv_func_expl_use = x"yes"; then
45834    for ac_func in expl
45835do :
45836  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45837if test "x$ac_cv_func_expl" = xyes; then :
45838  cat >>confdefs.h <<_ACEOF
45839#define HAVE_EXPL 1
45840_ACEOF
45841
45842fi
45843done
45844
45845  else
45846
45847  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45848$as_echo_n "checking for _expl declaration... " >&6; }
45849  if test x${glibcxx_cv_func__expl_use+set} != xset; then
45850    if ${glibcxx_cv_func__expl_use+:} false; then :
45851  $as_echo_n "(cached) " >&6
45852else
45853
45854
45855      ac_ext=cpp
45856ac_cpp='$CXXCPP $CPPFLAGS'
45857ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45858ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45859ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45860
45861      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45862/* end confdefs.h.  */
45863#include <math.h>
45864		      #ifdef HAVE_IEEEFP_H
45865		      #include <ieeefp.h>
45866		      #endif
45867
45868int
45869main ()
45870{
45871 _expl(0);
45872  ;
45873  return 0;
45874}
45875_ACEOF
45876if ac_fn_cxx_try_compile "$LINENO"; then :
45877  glibcxx_cv_func__expl_use=yes
45878else
45879  glibcxx_cv_func__expl_use=no
45880fi
45881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45882      ac_ext=c
45883ac_cpp='$CPP $CPPFLAGS'
45884ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45885ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45886ac_compiler_gnu=$ac_cv_c_compiler_gnu
45887
45888
45889fi
45890
45891  fi
45892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45893$as_echo "$glibcxx_cv_func__expl_use" >&6; }
45894
45895    if test x$glibcxx_cv_func__expl_use = x"yes"; then
45896      for ac_func in _expl
45897do :
45898  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45899if test "x$ac_cv_func__expl" = xyes; then :
45900  cat >>confdefs.h <<_ACEOF
45901#define HAVE__EXPL 1
45902_ACEOF
45903
45904fi
45905done
45906
45907    fi
45908  fi
45909
45910
45911
45912
45913
45914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45915$as_echo_n "checking for fabsl declaration... " >&6; }
45916  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45917    if ${glibcxx_cv_func_fabsl_use+:} false; then :
45918  $as_echo_n "(cached) " >&6
45919else
45920
45921
45922      ac_ext=cpp
45923ac_cpp='$CXXCPP $CPPFLAGS'
45924ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45925ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45926ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45927
45928      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45929/* end confdefs.h.  */
45930#include <math.h>
45931		      #ifdef HAVE_IEEEFP_H
45932		      #include <ieeefp.h>
45933		      #endif
45934
45935int
45936main ()
45937{
45938 fabsl(0);
45939  ;
45940  return 0;
45941}
45942_ACEOF
45943if ac_fn_cxx_try_compile "$LINENO"; then :
45944  glibcxx_cv_func_fabsl_use=yes
45945else
45946  glibcxx_cv_func_fabsl_use=no
45947fi
45948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45949      ac_ext=c
45950ac_cpp='$CPP $CPPFLAGS'
45951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45953ac_compiler_gnu=$ac_cv_c_compiler_gnu
45954
45955
45956fi
45957
45958  fi
45959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45960$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45961
45962  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45963    for ac_func in fabsl
45964do :
45965  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45966if test "x$ac_cv_func_fabsl" = xyes; then :
45967  cat >>confdefs.h <<_ACEOF
45968#define HAVE_FABSL 1
45969_ACEOF
45970
45971fi
45972done
45973
45974  else
45975
45976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45977$as_echo_n "checking for _fabsl declaration... " >&6; }
45978  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45979    if ${glibcxx_cv_func__fabsl_use+:} false; then :
45980  $as_echo_n "(cached) " >&6
45981else
45982
45983
45984      ac_ext=cpp
45985ac_cpp='$CXXCPP $CPPFLAGS'
45986ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45987ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45988ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45989
45990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45991/* end confdefs.h.  */
45992#include <math.h>
45993		      #ifdef HAVE_IEEEFP_H
45994		      #include <ieeefp.h>
45995		      #endif
45996
45997int
45998main ()
45999{
46000 _fabsl(0);
46001  ;
46002  return 0;
46003}
46004_ACEOF
46005if ac_fn_cxx_try_compile "$LINENO"; then :
46006  glibcxx_cv_func__fabsl_use=yes
46007else
46008  glibcxx_cv_func__fabsl_use=no
46009fi
46010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46011      ac_ext=c
46012ac_cpp='$CPP $CPPFLAGS'
46013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46015ac_compiler_gnu=$ac_cv_c_compiler_gnu
46016
46017
46018fi
46019
46020  fi
46021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
46022$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
46023
46024    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46025      for ac_func in _fabsl
46026do :
46027  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
46028if test "x$ac_cv_func__fabsl" = xyes; then :
46029  cat >>confdefs.h <<_ACEOF
46030#define HAVE__FABSL 1
46031_ACEOF
46032
46033fi
46034done
46035
46036    fi
46037  fi
46038
46039
46040
46041
46042
46043  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
46044$as_echo_n "checking for fmodl declaration... " >&6; }
46045  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46046    if ${glibcxx_cv_func_fmodl_use+:} false; then :
46047  $as_echo_n "(cached) " >&6
46048else
46049
46050
46051      ac_ext=cpp
46052ac_cpp='$CXXCPP $CPPFLAGS'
46053ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46054ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46055ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46056
46057      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46058/* end confdefs.h.  */
46059#include <math.h>
46060int
46061main ()
46062{
46063 fmodl(0, 0);
46064  ;
46065  return 0;
46066}
46067_ACEOF
46068if ac_fn_cxx_try_compile "$LINENO"; then :
46069  glibcxx_cv_func_fmodl_use=yes
46070else
46071  glibcxx_cv_func_fmodl_use=no
46072fi
46073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46074      ac_ext=c
46075ac_cpp='$CPP $CPPFLAGS'
46076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46078ac_compiler_gnu=$ac_cv_c_compiler_gnu
46079
46080
46081fi
46082
46083  fi
46084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
46085$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
46086
46087  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46088    for ac_func in fmodl
46089do :
46090  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
46091if test "x$ac_cv_func_fmodl" = xyes; then :
46092  cat >>confdefs.h <<_ACEOF
46093#define HAVE_FMODL 1
46094_ACEOF
46095
46096fi
46097done
46098
46099  else
46100
46101  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
46102$as_echo_n "checking for _fmodl declaration... " >&6; }
46103  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46104    if ${glibcxx_cv_func__fmodl_use+:} false; then :
46105  $as_echo_n "(cached) " >&6
46106else
46107
46108
46109      ac_ext=cpp
46110ac_cpp='$CXXCPP $CPPFLAGS'
46111ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46112ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46113ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46114
46115      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46116/* end confdefs.h.  */
46117#include <math.h>
46118int
46119main ()
46120{
46121 _fmodl(0, 0);
46122  ;
46123  return 0;
46124}
46125_ACEOF
46126if ac_fn_cxx_try_compile "$LINENO"; then :
46127  glibcxx_cv_func__fmodl_use=yes
46128else
46129  glibcxx_cv_func__fmodl_use=no
46130fi
46131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46132      ac_ext=c
46133ac_cpp='$CPP $CPPFLAGS'
46134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46136ac_compiler_gnu=$ac_cv_c_compiler_gnu
46137
46138
46139fi
46140
46141  fi
46142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
46143$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
46144
46145    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46146      for ac_func in _fmodl
46147do :
46148  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
46149if test "x$ac_cv_func__fmodl" = xyes; then :
46150  cat >>confdefs.h <<_ACEOF
46151#define HAVE__FMODL 1
46152_ACEOF
46153
46154fi
46155done
46156
46157    fi
46158  fi
46159
46160
46161
46162
46163
46164  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
46165$as_echo_n "checking for frexpl declaration... " >&6; }
46166  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46167    if ${glibcxx_cv_func_frexpl_use+:} false; then :
46168  $as_echo_n "(cached) " >&6
46169else
46170
46171
46172      ac_ext=cpp
46173ac_cpp='$CXXCPP $CPPFLAGS'
46174ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46177
46178      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46179/* end confdefs.h.  */
46180#include <math.h>
46181int
46182main ()
46183{
46184 frexpl(0, 0);
46185  ;
46186  return 0;
46187}
46188_ACEOF
46189if ac_fn_cxx_try_compile "$LINENO"; then :
46190  glibcxx_cv_func_frexpl_use=yes
46191else
46192  glibcxx_cv_func_frexpl_use=no
46193fi
46194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46195      ac_ext=c
46196ac_cpp='$CPP $CPPFLAGS'
46197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46199ac_compiler_gnu=$ac_cv_c_compiler_gnu
46200
46201
46202fi
46203
46204  fi
46205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
46206$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
46207
46208  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46209    for ac_func in frexpl
46210do :
46211  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
46212if test "x$ac_cv_func_frexpl" = xyes; then :
46213  cat >>confdefs.h <<_ACEOF
46214#define HAVE_FREXPL 1
46215_ACEOF
46216
46217fi
46218done
46219
46220  else
46221
46222  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
46223$as_echo_n "checking for _frexpl declaration... " >&6; }
46224  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46225    if ${glibcxx_cv_func__frexpl_use+:} false; then :
46226  $as_echo_n "(cached) " >&6
46227else
46228
46229
46230      ac_ext=cpp
46231ac_cpp='$CXXCPP $CPPFLAGS'
46232ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46233ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46234ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46235
46236      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46237/* end confdefs.h.  */
46238#include <math.h>
46239int
46240main ()
46241{
46242 _frexpl(0, 0);
46243  ;
46244  return 0;
46245}
46246_ACEOF
46247if ac_fn_cxx_try_compile "$LINENO"; then :
46248  glibcxx_cv_func__frexpl_use=yes
46249else
46250  glibcxx_cv_func__frexpl_use=no
46251fi
46252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46253      ac_ext=c
46254ac_cpp='$CPP $CPPFLAGS'
46255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46257ac_compiler_gnu=$ac_cv_c_compiler_gnu
46258
46259
46260fi
46261
46262  fi
46263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46264$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46265
46266    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46267      for ac_func in _frexpl
46268do :
46269  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46270if test "x$ac_cv_func__frexpl" = xyes; then :
46271  cat >>confdefs.h <<_ACEOF
46272#define HAVE__FREXPL 1
46273_ACEOF
46274
46275fi
46276done
46277
46278    fi
46279  fi
46280
46281
46282
46283
46284
46285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46286$as_echo_n "checking for hypotl declaration... " >&6; }
46287  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46288    if ${glibcxx_cv_func_hypotl_use+:} false; then :
46289  $as_echo_n "(cached) " >&6
46290else
46291
46292
46293      ac_ext=cpp
46294ac_cpp='$CXXCPP $CPPFLAGS'
46295ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46296ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46297ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46298
46299      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46300/* end confdefs.h.  */
46301#include <math.h>
46302int
46303main ()
46304{
46305 hypotl(0, 0);
46306  ;
46307  return 0;
46308}
46309_ACEOF
46310if ac_fn_cxx_try_compile "$LINENO"; then :
46311  glibcxx_cv_func_hypotl_use=yes
46312else
46313  glibcxx_cv_func_hypotl_use=no
46314fi
46315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46316      ac_ext=c
46317ac_cpp='$CPP $CPPFLAGS'
46318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46320ac_compiler_gnu=$ac_cv_c_compiler_gnu
46321
46322
46323fi
46324
46325  fi
46326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46327$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46328
46329  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46330    for ac_func in hypotl
46331do :
46332  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46333if test "x$ac_cv_func_hypotl" = xyes; then :
46334  cat >>confdefs.h <<_ACEOF
46335#define HAVE_HYPOTL 1
46336_ACEOF
46337
46338fi
46339done
46340
46341  else
46342
46343  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46344$as_echo_n "checking for _hypotl declaration... " >&6; }
46345  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46346    if ${glibcxx_cv_func__hypotl_use+:} false; then :
46347  $as_echo_n "(cached) " >&6
46348else
46349
46350
46351      ac_ext=cpp
46352ac_cpp='$CXXCPP $CPPFLAGS'
46353ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46356
46357      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46358/* end confdefs.h.  */
46359#include <math.h>
46360int
46361main ()
46362{
46363 _hypotl(0, 0);
46364  ;
46365  return 0;
46366}
46367_ACEOF
46368if ac_fn_cxx_try_compile "$LINENO"; then :
46369  glibcxx_cv_func__hypotl_use=yes
46370else
46371  glibcxx_cv_func__hypotl_use=no
46372fi
46373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46374      ac_ext=c
46375ac_cpp='$CPP $CPPFLAGS'
46376ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46377ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46378ac_compiler_gnu=$ac_cv_c_compiler_gnu
46379
46380
46381fi
46382
46383  fi
46384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46385$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46386
46387    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46388      for ac_func in _hypotl
46389do :
46390  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46391if test "x$ac_cv_func__hypotl" = xyes; then :
46392  cat >>confdefs.h <<_ACEOF
46393#define HAVE__HYPOTL 1
46394_ACEOF
46395
46396fi
46397done
46398
46399    fi
46400  fi
46401
46402
46403
46404
46405
46406  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46407$as_echo_n "checking for ldexpl declaration... " >&6; }
46408  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46409    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46410  $as_echo_n "(cached) " >&6
46411else
46412
46413
46414      ac_ext=cpp
46415ac_cpp='$CXXCPP $CPPFLAGS'
46416ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46417ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46418ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46419
46420      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46421/* end confdefs.h.  */
46422#include <math.h>
46423int
46424main ()
46425{
46426 ldexpl(0, 0);
46427  ;
46428  return 0;
46429}
46430_ACEOF
46431if ac_fn_cxx_try_compile "$LINENO"; then :
46432  glibcxx_cv_func_ldexpl_use=yes
46433else
46434  glibcxx_cv_func_ldexpl_use=no
46435fi
46436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46437      ac_ext=c
46438ac_cpp='$CPP $CPPFLAGS'
46439ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46440ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46441ac_compiler_gnu=$ac_cv_c_compiler_gnu
46442
46443
46444fi
46445
46446  fi
46447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46448$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46449
46450  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46451    for ac_func in ldexpl
46452do :
46453  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46454if test "x$ac_cv_func_ldexpl" = xyes; then :
46455  cat >>confdefs.h <<_ACEOF
46456#define HAVE_LDEXPL 1
46457_ACEOF
46458
46459fi
46460done
46461
46462  else
46463
46464  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46465$as_echo_n "checking for _ldexpl declaration... " >&6; }
46466  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46467    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46468  $as_echo_n "(cached) " >&6
46469else
46470
46471
46472      ac_ext=cpp
46473ac_cpp='$CXXCPP $CPPFLAGS'
46474ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46475ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46476ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46477
46478      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46479/* end confdefs.h.  */
46480#include <math.h>
46481int
46482main ()
46483{
46484 _ldexpl(0, 0);
46485  ;
46486  return 0;
46487}
46488_ACEOF
46489if ac_fn_cxx_try_compile "$LINENO"; then :
46490  glibcxx_cv_func__ldexpl_use=yes
46491else
46492  glibcxx_cv_func__ldexpl_use=no
46493fi
46494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46495      ac_ext=c
46496ac_cpp='$CPP $CPPFLAGS'
46497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46499ac_compiler_gnu=$ac_cv_c_compiler_gnu
46500
46501
46502fi
46503
46504  fi
46505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46506$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46507
46508    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46509      for ac_func in _ldexpl
46510do :
46511  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46512if test "x$ac_cv_func__ldexpl" = xyes; then :
46513  cat >>confdefs.h <<_ACEOF
46514#define HAVE__LDEXPL 1
46515_ACEOF
46516
46517fi
46518done
46519
46520    fi
46521  fi
46522
46523
46524
46525
46526
46527  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46528$as_echo_n "checking for logl declaration... " >&6; }
46529  if test x${glibcxx_cv_func_logl_use+set} != xset; then
46530    if ${glibcxx_cv_func_logl_use+:} false; then :
46531  $as_echo_n "(cached) " >&6
46532else
46533
46534
46535      ac_ext=cpp
46536ac_cpp='$CXXCPP $CPPFLAGS'
46537ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46538ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46539ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46540
46541      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46542/* end confdefs.h.  */
46543#include <math.h>
46544		      #ifdef HAVE_IEEEFP_H
46545		      #include <ieeefp.h>
46546		      #endif
46547
46548int
46549main ()
46550{
46551 logl(0);
46552  ;
46553  return 0;
46554}
46555_ACEOF
46556if ac_fn_cxx_try_compile "$LINENO"; then :
46557  glibcxx_cv_func_logl_use=yes
46558else
46559  glibcxx_cv_func_logl_use=no
46560fi
46561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46562      ac_ext=c
46563ac_cpp='$CPP $CPPFLAGS'
46564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46566ac_compiler_gnu=$ac_cv_c_compiler_gnu
46567
46568
46569fi
46570
46571  fi
46572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46573$as_echo "$glibcxx_cv_func_logl_use" >&6; }
46574
46575  if test x$glibcxx_cv_func_logl_use = x"yes"; then
46576    for ac_func in logl
46577do :
46578  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46579if test "x$ac_cv_func_logl" = xyes; then :
46580  cat >>confdefs.h <<_ACEOF
46581#define HAVE_LOGL 1
46582_ACEOF
46583
46584fi
46585done
46586
46587  else
46588
46589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46590$as_echo_n "checking for _logl declaration... " >&6; }
46591  if test x${glibcxx_cv_func__logl_use+set} != xset; then
46592    if ${glibcxx_cv_func__logl_use+:} false; then :
46593  $as_echo_n "(cached) " >&6
46594else
46595
46596
46597      ac_ext=cpp
46598ac_cpp='$CXXCPP $CPPFLAGS'
46599ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46600ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46601ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46602
46603      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46604/* end confdefs.h.  */
46605#include <math.h>
46606		      #ifdef HAVE_IEEEFP_H
46607		      #include <ieeefp.h>
46608		      #endif
46609
46610int
46611main ()
46612{
46613 _logl(0);
46614  ;
46615  return 0;
46616}
46617_ACEOF
46618if ac_fn_cxx_try_compile "$LINENO"; then :
46619  glibcxx_cv_func__logl_use=yes
46620else
46621  glibcxx_cv_func__logl_use=no
46622fi
46623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46624      ac_ext=c
46625ac_cpp='$CPP $CPPFLAGS'
46626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46628ac_compiler_gnu=$ac_cv_c_compiler_gnu
46629
46630
46631fi
46632
46633  fi
46634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46635$as_echo "$glibcxx_cv_func__logl_use" >&6; }
46636
46637    if test x$glibcxx_cv_func__logl_use = x"yes"; then
46638      for ac_func in _logl
46639do :
46640  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46641if test "x$ac_cv_func__logl" = xyes; then :
46642  cat >>confdefs.h <<_ACEOF
46643#define HAVE__LOGL 1
46644_ACEOF
46645
46646fi
46647done
46648
46649    fi
46650  fi
46651
46652
46653
46654
46655
46656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46657$as_echo_n "checking for log10l declaration... " >&6; }
46658  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46659    if ${glibcxx_cv_func_log10l_use+:} false; then :
46660  $as_echo_n "(cached) " >&6
46661else
46662
46663
46664      ac_ext=cpp
46665ac_cpp='$CXXCPP $CPPFLAGS'
46666ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46667ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46668ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46669
46670      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46671/* end confdefs.h.  */
46672#include <math.h>
46673		      #ifdef HAVE_IEEEFP_H
46674		      #include <ieeefp.h>
46675		      #endif
46676
46677int
46678main ()
46679{
46680 log10l(0);
46681  ;
46682  return 0;
46683}
46684_ACEOF
46685if ac_fn_cxx_try_compile "$LINENO"; then :
46686  glibcxx_cv_func_log10l_use=yes
46687else
46688  glibcxx_cv_func_log10l_use=no
46689fi
46690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46691      ac_ext=c
46692ac_cpp='$CPP $CPPFLAGS'
46693ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46694ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46695ac_compiler_gnu=$ac_cv_c_compiler_gnu
46696
46697
46698fi
46699
46700  fi
46701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46702$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46703
46704  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46705    for ac_func in log10l
46706do :
46707  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46708if test "x$ac_cv_func_log10l" = xyes; then :
46709  cat >>confdefs.h <<_ACEOF
46710#define HAVE_LOG10L 1
46711_ACEOF
46712
46713fi
46714done
46715
46716  else
46717
46718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46719$as_echo_n "checking for _log10l declaration... " >&6; }
46720  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46721    if ${glibcxx_cv_func__log10l_use+:} false; then :
46722  $as_echo_n "(cached) " >&6
46723else
46724
46725
46726      ac_ext=cpp
46727ac_cpp='$CXXCPP $CPPFLAGS'
46728ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46731
46732      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46733/* end confdefs.h.  */
46734#include <math.h>
46735		      #ifdef HAVE_IEEEFP_H
46736		      #include <ieeefp.h>
46737		      #endif
46738
46739int
46740main ()
46741{
46742 _log10l(0);
46743  ;
46744  return 0;
46745}
46746_ACEOF
46747if ac_fn_cxx_try_compile "$LINENO"; then :
46748  glibcxx_cv_func__log10l_use=yes
46749else
46750  glibcxx_cv_func__log10l_use=no
46751fi
46752rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46753      ac_ext=c
46754ac_cpp='$CPP $CPPFLAGS'
46755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46757ac_compiler_gnu=$ac_cv_c_compiler_gnu
46758
46759
46760fi
46761
46762  fi
46763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46764$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46765
46766    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46767      for ac_func in _log10l
46768do :
46769  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46770if test "x$ac_cv_func__log10l" = xyes; then :
46771  cat >>confdefs.h <<_ACEOF
46772#define HAVE__LOG10L 1
46773_ACEOF
46774
46775fi
46776done
46777
46778    fi
46779  fi
46780
46781
46782
46783
46784
46785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46786$as_echo_n "checking for modfl declaration... " >&6; }
46787  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46788    if ${glibcxx_cv_func_modfl_use+:} false; then :
46789  $as_echo_n "(cached) " >&6
46790else
46791
46792
46793      ac_ext=cpp
46794ac_cpp='$CXXCPP $CPPFLAGS'
46795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46798
46799      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46800/* end confdefs.h.  */
46801#include <math.h>
46802int
46803main ()
46804{
46805 modfl(0, 0);
46806  ;
46807  return 0;
46808}
46809_ACEOF
46810if ac_fn_cxx_try_compile "$LINENO"; then :
46811  glibcxx_cv_func_modfl_use=yes
46812else
46813  glibcxx_cv_func_modfl_use=no
46814fi
46815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46816      ac_ext=c
46817ac_cpp='$CPP $CPPFLAGS'
46818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46820ac_compiler_gnu=$ac_cv_c_compiler_gnu
46821
46822
46823fi
46824
46825  fi
46826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46827$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46828
46829  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46830    for ac_func in modfl
46831do :
46832  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46833if test "x$ac_cv_func_modfl" = xyes; then :
46834  cat >>confdefs.h <<_ACEOF
46835#define HAVE_MODFL 1
46836_ACEOF
46837
46838fi
46839done
46840
46841  else
46842
46843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46844$as_echo_n "checking for _modfl declaration... " >&6; }
46845  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46846    if ${glibcxx_cv_func__modfl_use+:} false; then :
46847  $as_echo_n "(cached) " >&6
46848else
46849
46850
46851      ac_ext=cpp
46852ac_cpp='$CXXCPP $CPPFLAGS'
46853ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46854ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46855ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46856
46857      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46858/* end confdefs.h.  */
46859#include <math.h>
46860int
46861main ()
46862{
46863 _modfl(0, 0);
46864  ;
46865  return 0;
46866}
46867_ACEOF
46868if ac_fn_cxx_try_compile "$LINENO"; then :
46869  glibcxx_cv_func__modfl_use=yes
46870else
46871  glibcxx_cv_func__modfl_use=no
46872fi
46873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46874      ac_ext=c
46875ac_cpp='$CPP $CPPFLAGS'
46876ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46877ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46878ac_compiler_gnu=$ac_cv_c_compiler_gnu
46879
46880
46881fi
46882
46883  fi
46884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46885$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46886
46887    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46888      for ac_func in _modfl
46889do :
46890  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46891if test "x$ac_cv_func__modfl" = xyes; then :
46892  cat >>confdefs.h <<_ACEOF
46893#define HAVE__MODFL 1
46894_ACEOF
46895
46896fi
46897done
46898
46899    fi
46900  fi
46901
46902
46903
46904
46905
46906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46907$as_echo_n "checking for powl declaration... " >&6; }
46908  if test x${glibcxx_cv_func_powl_use+set} != xset; then
46909    if ${glibcxx_cv_func_powl_use+:} false; then :
46910  $as_echo_n "(cached) " >&6
46911else
46912
46913
46914      ac_ext=cpp
46915ac_cpp='$CXXCPP $CPPFLAGS'
46916ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46917ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46918ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46919
46920      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46921/* end confdefs.h.  */
46922#include <math.h>
46923int
46924main ()
46925{
46926 powl(0, 0);
46927  ;
46928  return 0;
46929}
46930_ACEOF
46931if ac_fn_cxx_try_compile "$LINENO"; then :
46932  glibcxx_cv_func_powl_use=yes
46933else
46934  glibcxx_cv_func_powl_use=no
46935fi
46936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46937      ac_ext=c
46938ac_cpp='$CPP $CPPFLAGS'
46939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46941ac_compiler_gnu=$ac_cv_c_compiler_gnu
46942
46943
46944fi
46945
46946  fi
46947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46948$as_echo "$glibcxx_cv_func_powl_use" >&6; }
46949
46950  if test x$glibcxx_cv_func_powl_use = x"yes"; then
46951    for ac_func in powl
46952do :
46953  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46954if test "x$ac_cv_func_powl" = xyes; then :
46955  cat >>confdefs.h <<_ACEOF
46956#define HAVE_POWL 1
46957_ACEOF
46958
46959fi
46960done
46961
46962  else
46963
46964  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46965$as_echo_n "checking for _powl declaration... " >&6; }
46966  if test x${glibcxx_cv_func__powl_use+set} != xset; then
46967    if ${glibcxx_cv_func__powl_use+:} false; then :
46968  $as_echo_n "(cached) " >&6
46969else
46970
46971
46972      ac_ext=cpp
46973ac_cpp='$CXXCPP $CPPFLAGS'
46974ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46975ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46976ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46977
46978      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46979/* end confdefs.h.  */
46980#include <math.h>
46981int
46982main ()
46983{
46984 _powl(0, 0);
46985  ;
46986  return 0;
46987}
46988_ACEOF
46989if ac_fn_cxx_try_compile "$LINENO"; then :
46990  glibcxx_cv_func__powl_use=yes
46991else
46992  glibcxx_cv_func__powl_use=no
46993fi
46994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46995      ac_ext=c
46996ac_cpp='$CPP $CPPFLAGS'
46997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46999ac_compiler_gnu=$ac_cv_c_compiler_gnu
47000
47001
47002fi
47003
47004  fi
47005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
47006$as_echo "$glibcxx_cv_func__powl_use" >&6; }
47007
47008    if test x$glibcxx_cv_func__powl_use = x"yes"; then
47009      for ac_func in _powl
47010do :
47011  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
47012if test "x$ac_cv_func__powl" = xyes; then :
47013  cat >>confdefs.h <<_ACEOF
47014#define HAVE__POWL 1
47015_ACEOF
47016
47017fi
47018done
47019
47020    fi
47021  fi
47022
47023
47024
47025
47026
47027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
47028$as_echo_n "checking for sqrtl declaration... " >&6; }
47029  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47030    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
47031  $as_echo_n "(cached) " >&6
47032else
47033
47034
47035      ac_ext=cpp
47036ac_cpp='$CXXCPP $CPPFLAGS'
47037ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47038ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47039ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47040
47041      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47042/* end confdefs.h.  */
47043#include <math.h>
47044		      #ifdef HAVE_IEEEFP_H
47045		      #include <ieeefp.h>
47046		      #endif
47047
47048int
47049main ()
47050{
47051 sqrtl(0);
47052  ;
47053  return 0;
47054}
47055_ACEOF
47056if ac_fn_cxx_try_compile "$LINENO"; then :
47057  glibcxx_cv_func_sqrtl_use=yes
47058else
47059  glibcxx_cv_func_sqrtl_use=no
47060fi
47061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47062      ac_ext=c
47063ac_cpp='$CPP $CPPFLAGS'
47064ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47065ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47066ac_compiler_gnu=$ac_cv_c_compiler_gnu
47067
47068
47069fi
47070
47071  fi
47072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
47073$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
47074
47075  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47076    for ac_func in sqrtl
47077do :
47078  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
47079if test "x$ac_cv_func_sqrtl" = xyes; then :
47080  cat >>confdefs.h <<_ACEOF
47081#define HAVE_SQRTL 1
47082_ACEOF
47083
47084fi
47085done
47086
47087  else
47088
47089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
47090$as_echo_n "checking for _sqrtl declaration... " >&6; }
47091  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47092    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
47093  $as_echo_n "(cached) " >&6
47094else
47095
47096
47097      ac_ext=cpp
47098ac_cpp='$CXXCPP $CPPFLAGS'
47099ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47100ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47101ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47102
47103      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47104/* end confdefs.h.  */
47105#include <math.h>
47106		      #ifdef HAVE_IEEEFP_H
47107		      #include <ieeefp.h>
47108		      #endif
47109
47110int
47111main ()
47112{
47113 _sqrtl(0);
47114  ;
47115  return 0;
47116}
47117_ACEOF
47118if ac_fn_cxx_try_compile "$LINENO"; then :
47119  glibcxx_cv_func__sqrtl_use=yes
47120else
47121  glibcxx_cv_func__sqrtl_use=no
47122fi
47123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47124      ac_ext=c
47125ac_cpp='$CPP $CPPFLAGS'
47126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47128ac_compiler_gnu=$ac_cv_c_compiler_gnu
47129
47130
47131fi
47132
47133  fi
47134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
47135$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
47136
47137    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47138      for ac_func in _sqrtl
47139do :
47140  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
47141if test "x$ac_cv_func__sqrtl" = xyes; then :
47142  cat >>confdefs.h <<_ACEOF
47143#define HAVE__SQRTL 1
47144_ACEOF
47145
47146fi
47147done
47148
47149    fi
47150  fi
47151
47152
47153
47154
47155
47156  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
47157$as_echo_n "checking for sincosl declaration... " >&6; }
47158  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47159    if ${glibcxx_cv_func_sincosl_use+:} false; then :
47160  $as_echo_n "(cached) " >&6
47161else
47162
47163
47164      ac_ext=cpp
47165ac_cpp='$CXXCPP $CPPFLAGS'
47166ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47167ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47168ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47169
47170      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47171/* end confdefs.h.  */
47172#include <math.h>
47173int
47174main ()
47175{
47176 sincosl(0, 0, 0);
47177  ;
47178  return 0;
47179}
47180_ACEOF
47181if ac_fn_cxx_try_compile "$LINENO"; then :
47182  glibcxx_cv_func_sincosl_use=yes
47183else
47184  glibcxx_cv_func_sincosl_use=no
47185fi
47186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47187      ac_ext=c
47188ac_cpp='$CPP $CPPFLAGS'
47189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47191ac_compiler_gnu=$ac_cv_c_compiler_gnu
47192
47193
47194fi
47195
47196  fi
47197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
47198$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
47199
47200  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47201    for ac_func in sincosl
47202do :
47203  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
47204if test "x$ac_cv_func_sincosl" = xyes; then :
47205  cat >>confdefs.h <<_ACEOF
47206#define HAVE_SINCOSL 1
47207_ACEOF
47208
47209fi
47210done
47211
47212  else
47213
47214  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
47215$as_echo_n "checking for _sincosl declaration... " >&6; }
47216  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47217    if ${glibcxx_cv_func__sincosl_use+:} false; then :
47218  $as_echo_n "(cached) " >&6
47219else
47220
47221
47222      ac_ext=cpp
47223ac_cpp='$CXXCPP $CPPFLAGS'
47224ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47225ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47226ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47227
47228      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47229/* end confdefs.h.  */
47230#include <math.h>
47231int
47232main ()
47233{
47234 _sincosl(0, 0, 0);
47235  ;
47236  return 0;
47237}
47238_ACEOF
47239if ac_fn_cxx_try_compile "$LINENO"; then :
47240  glibcxx_cv_func__sincosl_use=yes
47241else
47242  glibcxx_cv_func__sincosl_use=no
47243fi
47244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47245      ac_ext=c
47246ac_cpp='$CPP $CPPFLAGS'
47247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47249ac_compiler_gnu=$ac_cv_c_compiler_gnu
47250
47251
47252fi
47253
47254  fi
47255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47256$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47257
47258    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47259      for ac_func in _sincosl
47260do :
47261  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47262if test "x$ac_cv_func__sincosl" = xyes; then :
47263  cat >>confdefs.h <<_ACEOF
47264#define HAVE__SINCOSL 1
47265_ACEOF
47266
47267fi
47268done
47269
47270    fi
47271  fi
47272
47273
47274
47275
47276
47277  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47278$as_echo_n "checking for finitel declaration... " >&6; }
47279  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47280    if ${glibcxx_cv_func_finitel_use+:} false; then :
47281  $as_echo_n "(cached) " >&6
47282else
47283
47284
47285      ac_ext=cpp
47286ac_cpp='$CXXCPP $CPPFLAGS'
47287ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47290
47291      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47292/* end confdefs.h.  */
47293#include <math.h>
47294		      #ifdef HAVE_IEEEFP_H
47295		      #include <ieeefp.h>
47296		      #endif
47297
47298int
47299main ()
47300{
47301 finitel(0);
47302  ;
47303  return 0;
47304}
47305_ACEOF
47306if ac_fn_cxx_try_compile "$LINENO"; then :
47307  glibcxx_cv_func_finitel_use=yes
47308else
47309  glibcxx_cv_func_finitel_use=no
47310fi
47311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47312      ac_ext=c
47313ac_cpp='$CPP $CPPFLAGS'
47314ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47315ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47316ac_compiler_gnu=$ac_cv_c_compiler_gnu
47317
47318
47319fi
47320
47321  fi
47322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47323$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47324
47325  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47326    for ac_func in finitel
47327do :
47328  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47329if test "x$ac_cv_func_finitel" = xyes; then :
47330  cat >>confdefs.h <<_ACEOF
47331#define HAVE_FINITEL 1
47332_ACEOF
47333
47334fi
47335done
47336
47337  else
47338
47339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47340$as_echo_n "checking for _finitel declaration... " >&6; }
47341  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47342    if ${glibcxx_cv_func__finitel_use+:} false; then :
47343  $as_echo_n "(cached) " >&6
47344else
47345
47346
47347      ac_ext=cpp
47348ac_cpp='$CXXCPP $CPPFLAGS'
47349ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47352
47353      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47354/* end confdefs.h.  */
47355#include <math.h>
47356		      #ifdef HAVE_IEEEFP_H
47357		      #include <ieeefp.h>
47358		      #endif
47359
47360int
47361main ()
47362{
47363 _finitel(0);
47364  ;
47365  return 0;
47366}
47367_ACEOF
47368if ac_fn_cxx_try_compile "$LINENO"; then :
47369  glibcxx_cv_func__finitel_use=yes
47370else
47371  glibcxx_cv_func__finitel_use=no
47372fi
47373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47374      ac_ext=c
47375ac_cpp='$CPP $CPPFLAGS'
47376ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47377ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47378ac_compiler_gnu=$ac_cv_c_compiler_gnu
47379
47380
47381fi
47382
47383  fi
47384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47385$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47386
47387    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47388      for ac_func in _finitel
47389do :
47390  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47391if test "x$ac_cv_func__finitel" = xyes; then :
47392  cat >>confdefs.h <<_ACEOF
47393#define HAVE__FINITEL 1
47394_ACEOF
47395
47396fi
47397done
47398
47399    fi
47400  fi
47401
47402
47403
47404
47405  LIBS="$ac_save_LIBS"
47406  CXXFLAGS="$ac_save_CXXFLAGS"
47407
47408
47409  ac_test_CXXFLAGS="${CXXFLAGS+set}"
47410  ac_save_CXXFLAGS="$CXXFLAGS"
47411  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47412
47413
47414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47415$as_echo_n "checking for at_quick_exit declaration... " >&6; }
47416  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47417    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47418  $as_echo_n "(cached) " >&6
47419else
47420
47421
47422      ac_ext=cpp
47423ac_cpp='$CXXCPP $CPPFLAGS'
47424ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47425ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47426ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47427
47428      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47429/* end confdefs.h.  */
47430#include <stdlib.h>
47431int
47432main ()
47433{
47434 at_quick_exit(0);
47435  ;
47436  return 0;
47437}
47438_ACEOF
47439if ac_fn_cxx_try_compile "$LINENO"; then :
47440  glibcxx_cv_func_at_quick_exit_use=yes
47441else
47442  glibcxx_cv_func_at_quick_exit_use=no
47443fi
47444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47445      ac_ext=c
47446ac_cpp='$CPP $CPPFLAGS'
47447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47449ac_compiler_gnu=$ac_cv_c_compiler_gnu
47450
47451
47452fi
47453
47454  fi
47455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47456$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47457  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47458    for ac_func in at_quick_exit
47459do :
47460  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47461if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47462  cat >>confdefs.h <<_ACEOF
47463#define HAVE_AT_QUICK_EXIT 1
47464_ACEOF
47465
47466fi
47467done
47468
47469  fi
47470
47471
47472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47473$as_echo_n "checking for quick_exit declaration... " >&6; }
47474  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47475    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47476  $as_echo_n "(cached) " >&6
47477else
47478
47479
47480      ac_ext=cpp
47481ac_cpp='$CXXCPP $CPPFLAGS'
47482ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47483ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47484ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47485
47486      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47487/* end confdefs.h.  */
47488#include <stdlib.h>
47489int
47490main ()
47491{
47492 quick_exit(0);
47493  ;
47494  return 0;
47495}
47496_ACEOF
47497if ac_fn_cxx_try_compile "$LINENO"; then :
47498  glibcxx_cv_func_quick_exit_use=yes
47499else
47500  glibcxx_cv_func_quick_exit_use=no
47501fi
47502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47503      ac_ext=c
47504ac_cpp='$CPP $CPPFLAGS'
47505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47507ac_compiler_gnu=$ac_cv_c_compiler_gnu
47508
47509
47510fi
47511
47512  fi
47513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47514$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47515  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47516    for ac_func in quick_exit
47517do :
47518  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47519if test "x$ac_cv_func_quick_exit" = xyes; then :
47520  cat >>confdefs.h <<_ACEOF
47521#define HAVE_QUICK_EXIT 1
47522_ACEOF
47523
47524fi
47525done
47526
47527  fi
47528
47529
47530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47531$as_echo_n "checking for strtold declaration... " >&6; }
47532  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47533    if ${glibcxx_cv_func_strtold_use+:} false; then :
47534  $as_echo_n "(cached) " >&6
47535else
47536
47537
47538      ac_ext=cpp
47539ac_cpp='$CXXCPP $CPPFLAGS'
47540ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47541ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47542ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47543
47544      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47545/* end confdefs.h.  */
47546#include <stdlib.h>
47547int
47548main ()
47549{
47550 strtold(0, 0);
47551  ;
47552  return 0;
47553}
47554_ACEOF
47555if ac_fn_cxx_try_compile "$LINENO"; then :
47556  glibcxx_cv_func_strtold_use=yes
47557else
47558  glibcxx_cv_func_strtold_use=no
47559fi
47560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47561      ac_ext=c
47562ac_cpp='$CPP $CPPFLAGS'
47563ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47564ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47565ac_compiler_gnu=$ac_cv_c_compiler_gnu
47566
47567
47568fi
47569
47570  fi
47571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47572$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47573  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47574    for ac_func in strtold
47575do :
47576  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47577if test "x$ac_cv_func_strtold" = xyes; then :
47578  cat >>confdefs.h <<_ACEOF
47579#define HAVE_STRTOLD 1
47580_ACEOF
47581
47582fi
47583done
47584
47585  fi
47586
47587
47588
47589
47590  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47591$as_echo_n "checking for strtof declaration... " >&6; }
47592  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47593    if ${glibcxx_cv_func_strtof_use+:} false; then :
47594  $as_echo_n "(cached) " >&6
47595else
47596
47597
47598      ac_ext=cpp
47599ac_cpp='$CXXCPP $CPPFLAGS'
47600ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47601ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47602ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47603
47604      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47605/* end confdefs.h.  */
47606#include <stdlib.h>
47607int
47608main ()
47609{
47610 strtof(0, 0);
47611  ;
47612  return 0;
47613}
47614_ACEOF
47615if ac_fn_cxx_try_compile "$LINENO"; then :
47616  glibcxx_cv_func_strtof_use=yes
47617else
47618  glibcxx_cv_func_strtof_use=no
47619fi
47620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47621      ac_ext=c
47622ac_cpp='$CPP $CPPFLAGS'
47623ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47624ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47625ac_compiler_gnu=$ac_cv_c_compiler_gnu
47626
47627
47628fi
47629
47630  fi
47631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47632$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47633  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47634    for ac_func in strtof
47635do :
47636  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47637if test "x$ac_cv_func_strtof" = xyes; then :
47638  cat >>confdefs.h <<_ACEOF
47639#define HAVE_STRTOF 1
47640_ACEOF
47641
47642fi
47643done
47644
47645  fi
47646
47647
47648
47649
47650  CXXFLAGS="$ac_save_CXXFLAGS"
47651
47652    $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
47653
47654    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47655
47656    # We don't yet support AIX's TLS ABI.
47657    #GCC_CHECK_TLS
47658
47659
47660
47661
47662
47663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47664$as_echo_n "checking for iconv... " >&6; }
47665if ${am_cv_func_iconv+:} false; then :
47666  $as_echo_n "(cached) " >&6
47667else
47668
47669    am_cv_func_iconv="no, consider installing GNU libiconv"
47670    am_cv_lib_iconv=no
47671                    am_save_CPPFLAGS="$CPPFLAGS"
47672    CPPFLAGS="$CPPFLAGS $INCICONV"
47673    if test x$gcc_no_link = xyes; then
47674  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47675fi
47676cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47677/* end confdefs.h.  */
47678#include <stdlib.h>
47679#include <iconv.h>
47680int
47681main ()
47682{
47683iconv_t cd = iconv_open("","");
47684       iconv(cd,NULL,NULL,NULL,NULL);
47685       iconv_close(cd);
47686  ;
47687  return 0;
47688}
47689_ACEOF
47690if ac_fn_c_try_link "$LINENO"; then :
47691  am_cv_func_iconv=yes
47692fi
47693rm -f core conftest.err conftest.$ac_objext \
47694    conftest$ac_exeext conftest.$ac_ext
47695    CPPFLAGS="$am_save_CPPFLAGS"
47696
47697    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47698      for _libs in .libs _libs; do
47699        am_save_CPPFLAGS="$CPPFLAGS"
47700        am_save_LIBS="$LIBS"
47701        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47702        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47703        if test x$gcc_no_link = xyes; then
47704  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47705fi
47706cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47707/* end confdefs.h.  */
47708#include <stdlib.h>
47709#include <iconv.h>
47710int
47711main ()
47712{
47713iconv_t cd = iconv_open("","");
47714           iconv(cd,NULL,NULL,NULL,NULL);
47715           iconv_close(cd);
47716  ;
47717  return 0;
47718}
47719_ACEOF
47720if ac_fn_c_try_link "$LINENO"; then :
47721  INCICONV="-I../libiconv/include"
47722          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47723          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47724          am_cv_lib_iconv=yes
47725          am_cv_func_iconv=yes
47726fi
47727rm -f core conftest.err conftest.$ac_objext \
47728    conftest$ac_exeext conftest.$ac_ext
47729        CPPFLAGS="$am_save_CPPFLAGS"
47730        LIBS="$am_save_LIBS"
47731        if test "$am_cv_func_iconv" = "yes"; then
47732          break
47733        fi
47734      done
47735    fi
47736
47737    if test "$am_cv_func_iconv" != yes; then
47738      am_save_CPPFLAGS="$CPPFLAGS"
47739      am_save_LIBS="$LIBS"
47740      CPPFLAGS="$CPPFLAGS $INCICONV"
47741      LIBS="$LIBS $LIBICONV"
47742      if test x$gcc_no_link = xyes; then
47743  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47744fi
47745cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47746/* end confdefs.h.  */
47747#include <stdlib.h>
47748#include <iconv.h>
47749int
47750main ()
47751{
47752iconv_t cd = iconv_open("","");
47753         iconv(cd,NULL,NULL,NULL,NULL);
47754         iconv_close(cd);
47755  ;
47756  return 0;
47757}
47758_ACEOF
47759if ac_fn_c_try_link "$LINENO"; then :
47760  am_cv_lib_iconv=yes
47761        am_cv_func_iconv=yes
47762fi
47763rm -f core conftest.err conftest.$ac_objext \
47764    conftest$ac_exeext conftest.$ac_ext
47765      CPPFLAGS="$am_save_CPPFLAGS"
47766      LIBS="$am_save_LIBS"
47767    fi
47768
47769fi
47770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47771$as_echo "$am_cv_func_iconv" >&6; }
47772  if test "$am_cv_func_iconv" = yes; then
47773
47774$as_echo "#define HAVE_ICONV 1" >>confdefs.h
47775
47776  fi
47777  if test "$am_cv_lib_iconv" = yes; then
47778
47779  for element in $INCICONV; do
47780    haveit=
47781    for x in $CPPFLAGS; do
47782
47783  acl_save_prefix="$prefix"
47784  prefix="$acl_final_prefix"
47785  acl_save_exec_prefix="$exec_prefix"
47786  exec_prefix="$acl_final_exec_prefix"
47787  eval x=\"$x\"
47788  exec_prefix="$acl_save_exec_prefix"
47789  prefix="$acl_save_prefix"
47790
47791      if test "X$x" = "X$element"; then
47792        haveit=yes
47793        break
47794      fi
47795    done
47796    if test -z "$haveit"; then
47797      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47798    fi
47799  done
47800
47801    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47802$as_echo_n "checking how to link with libiconv... " >&6; }
47803    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47804$as_echo "$LIBICONV" >&6; }
47805  else
47806    LIBICONV=
47807    LTLIBICONV=
47808  fi
47809
47810
47811
47812  if test "$am_cv_func_iconv" = yes; then
47813    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47814$as_echo_n "checking for iconv declaration... " >&6; }
47815    if ${am_cv_proto_iconv+:} false; then :
47816  $as_echo_n "(cached) " >&6
47817else
47818
47819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47820/* end confdefs.h.  */
47821
47822#include <stdlib.h>
47823#include <iconv.h>
47824extern
47825#ifdef __cplusplus
47826"C"
47827#endif
47828#if defined(__STDC__) || defined(__cplusplus)
47829size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47830#else
47831size_t iconv();
47832#endif
47833
47834int
47835main ()
47836{
47837
47838  ;
47839  return 0;
47840}
47841_ACEOF
47842if ac_fn_c_try_compile "$LINENO"; then :
47843  am_cv_proto_iconv_arg1=""
47844else
47845  am_cv_proto_iconv_arg1="const"
47846fi
47847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47848      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);"
47849fi
47850
47851    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47852    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47853         }$am_cv_proto_iconv" >&5
47854$as_echo "${ac_t:-
47855         }$am_cv_proto_iconv" >&6; }
47856
47857cat >>confdefs.h <<_ACEOF
47858#define ICONV_CONST $am_cv_proto_iconv_arg1
47859_ACEOF
47860
47861  fi
47862
47863    ;;
47864
47865  *-darwin*)
47866    # Darwin versions vary, but the linker should work in a cross environment,
47867    # so we just check for all the features here.
47868    # Check for available headers.
47869
47870    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47871
47872  ac_test_CXXFLAGS="${CXXFLAGS+set}"
47873  ac_save_CXXFLAGS="$CXXFLAGS"
47874  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47875
47876    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47877$as_echo_n "checking for sin in -lm... " >&6; }
47878if ${ac_cv_lib_m_sin+:} false; then :
47879  $as_echo_n "(cached) " >&6
47880else
47881  ac_check_lib_save_LIBS=$LIBS
47882LIBS="-lm  $LIBS"
47883if test x$gcc_no_link = xyes; then
47884  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47885fi
47886cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47887/* end confdefs.h.  */
47888
47889/* Override any GCC internal prototype to avoid an error.
47890   Use char because int might match the return type of a GCC
47891   builtin and then its argument prototype would still apply.  */
47892#ifdef __cplusplus
47893extern "C"
47894#endif
47895char sin ();
47896int
47897main ()
47898{
47899return sin ();
47900  ;
47901  return 0;
47902}
47903_ACEOF
47904if ac_fn_c_try_link "$LINENO"; then :
47905  ac_cv_lib_m_sin=yes
47906else
47907  ac_cv_lib_m_sin=no
47908fi
47909rm -f core conftest.err conftest.$ac_objext \
47910    conftest$ac_exeext conftest.$ac_ext
47911LIBS=$ac_check_lib_save_LIBS
47912fi
47913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47914$as_echo "$ac_cv_lib_m_sin" >&6; }
47915if test "x$ac_cv_lib_m_sin" = xyes; then :
47916  libm="-lm"
47917fi
47918
47919  ac_save_LIBS="$LIBS"
47920  LIBS="$LIBS $libm"
47921
47922
47923
47924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47925$as_echo_n "checking for isinf declaration... " >&6; }
47926  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47927    if ${glibcxx_cv_func_isinf_use+:} false; then :
47928  $as_echo_n "(cached) " >&6
47929else
47930
47931
47932      ac_ext=cpp
47933ac_cpp='$CXXCPP $CPPFLAGS'
47934ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47935ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47936ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47937
47938      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47939/* end confdefs.h.  */
47940#include <math.h>
47941		      #ifdef HAVE_IEEEFP_H
47942		      #include <ieeefp.h>
47943		      #endif
47944
47945int
47946main ()
47947{
47948 isinf(0);
47949  ;
47950  return 0;
47951}
47952_ACEOF
47953if ac_fn_cxx_try_compile "$LINENO"; then :
47954  glibcxx_cv_func_isinf_use=yes
47955else
47956  glibcxx_cv_func_isinf_use=no
47957fi
47958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47959      ac_ext=c
47960ac_cpp='$CPP $CPPFLAGS'
47961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47963ac_compiler_gnu=$ac_cv_c_compiler_gnu
47964
47965
47966fi
47967
47968  fi
47969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47970$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47971
47972  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47973    for ac_func in isinf
47974do :
47975  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47976if test "x$ac_cv_func_isinf" = xyes; then :
47977  cat >>confdefs.h <<_ACEOF
47978#define HAVE_ISINF 1
47979_ACEOF
47980
47981fi
47982done
47983
47984  else
47985
47986  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47987$as_echo_n "checking for _isinf declaration... " >&6; }
47988  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47989    if ${glibcxx_cv_func__isinf_use+:} false; then :
47990  $as_echo_n "(cached) " >&6
47991else
47992
47993
47994      ac_ext=cpp
47995ac_cpp='$CXXCPP $CPPFLAGS'
47996ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47997ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47998ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47999
48000      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48001/* end confdefs.h.  */
48002#include <math.h>
48003		      #ifdef HAVE_IEEEFP_H
48004		      #include <ieeefp.h>
48005		      #endif
48006
48007int
48008main ()
48009{
48010 _isinf(0);
48011  ;
48012  return 0;
48013}
48014_ACEOF
48015if ac_fn_cxx_try_compile "$LINENO"; then :
48016  glibcxx_cv_func__isinf_use=yes
48017else
48018  glibcxx_cv_func__isinf_use=no
48019fi
48020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48021      ac_ext=c
48022ac_cpp='$CPP $CPPFLAGS'
48023ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48024ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48025ac_compiler_gnu=$ac_cv_c_compiler_gnu
48026
48027
48028fi
48029
48030  fi
48031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48032$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48033
48034    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48035      for ac_func in _isinf
48036do :
48037  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48038if test "x$ac_cv_func__isinf" = xyes; then :
48039  cat >>confdefs.h <<_ACEOF
48040#define HAVE__ISINF 1
48041_ACEOF
48042
48043fi
48044done
48045
48046    fi
48047  fi
48048
48049
48050
48051
48052
48053  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48054$as_echo_n "checking for isnan declaration... " >&6; }
48055  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48056    if ${glibcxx_cv_func_isnan_use+:} false; then :
48057  $as_echo_n "(cached) " >&6
48058else
48059
48060
48061      ac_ext=cpp
48062ac_cpp='$CXXCPP $CPPFLAGS'
48063ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48064ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48065ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48066
48067      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48068/* end confdefs.h.  */
48069#include <math.h>
48070		      #ifdef HAVE_IEEEFP_H
48071		      #include <ieeefp.h>
48072		      #endif
48073
48074int
48075main ()
48076{
48077 isnan(0);
48078  ;
48079  return 0;
48080}
48081_ACEOF
48082if ac_fn_cxx_try_compile "$LINENO"; then :
48083  glibcxx_cv_func_isnan_use=yes
48084else
48085  glibcxx_cv_func_isnan_use=no
48086fi
48087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48088      ac_ext=c
48089ac_cpp='$CPP $CPPFLAGS'
48090ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48091ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48092ac_compiler_gnu=$ac_cv_c_compiler_gnu
48093
48094
48095fi
48096
48097  fi
48098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48099$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48100
48101  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48102    for ac_func in isnan
48103do :
48104  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48105if test "x$ac_cv_func_isnan" = xyes; then :
48106  cat >>confdefs.h <<_ACEOF
48107#define HAVE_ISNAN 1
48108_ACEOF
48109
48110fi
48111done
48112
48113  else
48114
48115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48116$as_echo_n "checking for _isnan declaration... " >&6; }
48117  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48118    if ${glibcxx_cv_func__isnan_use+:} false; then :
48119  $as_echo_n "(cached) " >&6
48120else
48121
48122
48123      ac_ext=cpp
48124ac_cpp='$CXXCPP $CPPFLAGS'
48125ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48126ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48127ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48128
48129      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48130/* end confdefs.h.  */
48131#include <math.h>
48132		      #ifdef HAVE_IEEEFP_H
48133		      #include <ieeefp.h>
48134		      #endif
48135
48136int
48137main ()
48138{
48139 _isnan(0);
48140  ;
48141  return 0;
48142}
48143_ACEOF
48144if ac_fn_cxx_try_compile "$LINENO"; then :
48145  glibcxx_cv_func__isnan_use=yes
48146else
48147  glibcxx_cv_func__isnan_use=no
48148fi
48149rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48150      ac_ext=c
48151ac_cpp='$CPP $CPPFLAGS'
48152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48154ac_compiler_gnu=$ac_cv_c_compiler_gnu
48155
48156
48157fi
48158
48159  fi
48160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48161$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48162
48163    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48164      for ac_func in _isnan
48165do :
48166  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48167if test "x$ac_cv_func__isnan" = xyes; then :
48168  cat >>confdefs.h <<_ACEOF
48169#define HAVE__ISNAN 1
48170_ACEOF
48171
48172fi
48173done
48174
48175    fi
48176  fi
48177
48178
48179
48180
48181
48182  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48183$as_echo_n "checking for finite declaration... " >&6; }
48184  if test x${glibcxx_cv_func_finite_use+set} != xset; then
48185    if ${glibcxx_cv_func_finite_use+:} false; then :
48186  $as_echo_n "(cached) " >&6
48187else
48188
48189
48190      ac_ext=cpp
48191ac_cpp='$CXXCPP $CPPFLAGS'
48192ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48193ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48194ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48195
48196      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48197/* end confdefs.h.  */
48198#include <math.h>
48199		      #ifdef HAVE_IEEEFP_H
48200		      #include <ieeefp.h>
48201		      #endif
48202
48203int
48204main ()
48205{
48206 finite(0);
48207  ;
48208  return 0;
48209}
48210_ACEOF
48211if ac_fn_cxx_try_compile "$LINENO"; then :
48212  glibcxx_cv_func_finite_use=yes
48213else
48214  glibcxx_cv_func_finite_use=no
48215fi
48216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48217      ac_ext=c
48218ac_cpp='$CPP $CPPFLAGS'
48219ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48220ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48221ac_compiler_gnu=$ac_cv_c_compiler_gnu
48222
48223
48224fi
48225
48226  fi
48227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48228$as_echo "$glibcxx_cv_func_finite_use" >&6; }
48229
48230  if test x$glibcxx_cv_func_finite_use = x"yes"; then
48231    for ac_func in finite
48232do :
48233  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48234if test "x$ac_cv_func_finite" = xyes; then :
48235  cat >>confdefs.h <<_ACEOF
48236#define HAVE_FINITE 1
48237_ACEOF
48238
48239fi
48240done
48241
48242  else
48243
48244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48245$as_echo_n "checking for _finite declaration... " >&6; }
48246  if test x${glibcxx_cv_func__finite_use+set} != xset; then
48247    if ${glibcxx_cv_func__finite_use+:} false; then :
48248  $as_echo_n "(cached) " >&6
48249else
48250
48251
48252      ac_ext=cpp
48253ac_cpp='$CXXCPP $CPPFLAGS'
48254ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48255ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48256ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48257
48258      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48259/* end confdefs.h.  */
48260#include <math.h>
48261		      #ifdef HAVE_IEEEFP_H
48262		      #include <ieeefp.h>
48263		      #endif
48264
48265int
48266main ()
48267{
48268 _finite(0);
48269  ;
48270  return 0;
48271}
48272_ACEOF
48273if ac_fn_cxx_try_compile "$LINENO"; then :
48274  glibcxx_cv_func__finite_use=yes
48275else
48276  glibcxx_cv_func__finite_use=no
48277fi
48278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48279      ac_ext=c
48280ac_cpp='$CPP $CPPFLAGS'
48281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48283ac_compiler_gnu=$ac_cv_c_compiler_gnu
48284
48285
48286fi
48287
48288  fi
48289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48290$as_echo "$glibcxx_cv_func__finite_use" >&6; }
48291
48292    if test x$glibcxx_cv_func__finite_use = x"yes"; then
48293      for ac_func in _finite
48294do :
48295  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48296if test "x$ac_cv_func__finite" = xyes; then :
48297  cat >>confdefs.h <<_ACEOF
48298#define HAVE__FINITE 1
48299_ACEOF
48300
48301fi
48302done
48303
48304    fi
48305  fi
48306
48307
48308
48309
48310
48311  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48312$as_echo_n "checking for sincos declaration... " >&6; }
48313  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48314    if ${glibcxx_cv_func_sincos_use+:} false; then :
48315  $as_echo_n "(cached) " >&6
48316else
48317
48318
48319      ac_ext=cpp
48320ac_cpp='$CXXCPP $CPPFLAGS'
48321ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48322ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48323ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48324
48325      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48326/* end confdefs.h.  */
48327#include <math.h>
48328int
48329main ()
48330{
48331 sincos(0, 0, 0);
48332  ;
48333  return 0;
48334}
48335_ACEOF
48336if ac_fn_cxx_try_compile "$LINENO"; then :
48337  glibcxx_cv_func_sincos_use=yes
48338else
48339  glibcxx_cv_func_sincos_use=no
48340fi
48341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48342      ac_ext=c
48343ac_cpp='$CPP $CPPFLAGS'
48344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346ac_compiler_gnu=$ac_cv_c_compiler_gnu
48347
48348
48349fi
48350
48351  fi
48352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48353$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48354
48355  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48356    for ac_func in sincos
48357do :
48358  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48359if test "x$ac_cv_func_sincos" = xyes; then :
48360  cat >>confdefs.h <<_ACEOF
48361#define HAVE_SINCOS 1
48362_ACEOF
48363
48364fi
48365done
48366
48367  else
48368
48369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48370$as_echo_n "checking for _sincos declaration... " >&6; }
48371  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48372    if ${glibcxx_cv_func__sincos_use+:} false; then :
48373  $as_echo_n "(cached) " >&6
48374else
48375
48376
48377      ac_ext=cpp
48378ac_cpp='$CXXCPP $CPPFLAGS'
48379ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48380ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48381ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48382
48383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48384/* end confdefs.h.  */
48385#include <math.h>
48386int
48387main ()
48388{
48389 _sincos(0, 0, 0);
48390  ;
48391  return 0;
48392}
48393_ACEOF
48394if ac_fn_cxx_try_compile "$LINENO"; then :
48395  glibcxx_cv_func__sincos_use=yes
48396else
48397  glibcxx_cv_func__sincos_use=no
48398fi
48399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48400      ac_ext=c
48401ac_cpp='$CPP $CPPFLAGS'
48402ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48403ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48404ac_compiler_gnu=$ac_cv_c_compiler_gnu
48405
48406
48407fi
48408
48409  fi
48410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48411$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48412
48413    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48414      for ac_func in _sincos
48415do :
48416  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48417if test "x$ac_cv_func__sincos" = xyes; then :
48418  cat >>confdefs.h <<_ACEOF
48419#define HAVE__SINCOS 1
48420_ACEOF
48421
48422fi
48423done
48424
48425    fi
48426  fi
48427
48428
48429
48430
48431
48432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48433$as_echo_n "checking for fpclass declaration... " >&6; }
48434  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48435    if ${glibcxx_cv_func_fpclass_use+:} false; then :
48436  $as_echo_n "(cached) " >&6
48437else
48438
48439
48440      ac_ext=cpp
48441ac_cpp='$CXXCPP $CPPFLAGS'
48442ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48443ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48444ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48445
48446      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48447/* end confdefs.h.  */
48448#include <math.h>
48449		      #ifdef HAVE_IEEEFP_H
48450		      #include <ieeefp.h>
48451		      #endif
48452
48453int
48454main ()
48455{
48456 fpclass(0);
48457  ;
48458  return 0;
48459}
48460_ACEOF
48461if ac_fn_cxx_try_compile "$LINENO"; then :
48462  glibcxx_cv_func_fpclass_use=yes
48463else
48464  glibcxx_cv_func_fpclass_use=no
48465fi
48466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48467      ac_ext=c
48468ac_cpp='$CPP $CPPFLAGS'
48469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48471ac_compiler_gnu=$ac_cv_c_compiler_gnu
48472
48473
48474fi
48475
48476  fi
48477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48478$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48479
48480  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48481    for ac_func in fpclass
48482do :
48483  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48484if test "x$ac_cv_func_fpclass" = xyes; then :
48485  cat >>confdefs.h <<_ACEOF
48486#define HAVE_FPCLASS 1
48487_ACEOF
48488
48489fi
48490done
48491
48492  else
48493
48494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48495$as_echo_n "checking for _fpclass declaration... " >&6; }
48496  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48497    if ${glibcxx_cv_func__fpclass_use+:} false; then :
48498  $as_echo_n "(cached) " >&6
48499else
48500
48501
48502      ac_ext=cpp
48503ac_cpp='$CXXCPP $CPPFLAGS'
48504ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48505ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48506ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48507
48508      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48509/* end confdefs.h.  */
48510#include <math.h>
48511		      #ifdef HAVE_IEEEFP_H
48512		      #include <ieeefp.h>
48513		      #endif
48514
48515int
48516main ()
48517{
48518 _fpclass(0);
48519  ;
48520  return 0;
48521}
48522_ACEOF
48523if ac_fn_cxx_try_compile "$LINENO"; then :
48524  glibcxx_cv_func__fpclass_use=yes
48525else
48526  glibcxx_cv_func__fpclass_use=no
48527fi
48528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48529      ac_ext=c
48530ac_cpp='$CPP $CPPFLAGS'
48531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48533ac_compiler_gnu=$ac_cv_c_compiler_gnu
48534
48535
48536fi
48537
48538  fi
48539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48540$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48541
48542    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48543      for ac_func in _fpclass
48544do :
48545  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48546if test "x$ac_cv_func__fpclass" = xyes; then :
48547  cat >>confdefs.h <<_ACEOF
48548#define HAVE__FPCLASS 1
48549_ACEOF
48550
48551fi
48552done
48553
48554    fi
48555  fi
48556
48557
48558
48559
48560
48561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48562$as_echo_n "checking for qfpclass declaration... " >&6; }
48563  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48564    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48565  $as_echo_n "(cached) " >&6
48566else
48567
48568
48569      ac_ext=cpp
48570ac_cpp='$CXXCPP $CPPFLAGS'
48571ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48572ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48573ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48574
48575      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48576/* end confdefs.h.  */
48577#include <math.h>
48578		      #ifdef HAVE_IEEEFP_H
48579		      #include <ieeefp.h>
48580		      #endif
48581
48582int
48583main ()
48584{
48585 qfpclass(0);
48586  ;
48587  return 0;
48588}
48589_ACEOF
48590if ac_fn_cxx_try_compile "$LINENO"; then :
48591  glibcxx_cv_func_qfpclass_use=yes
48592else
48593  glibcxx_cv_func_qfpclass_use=no
48594fi
48595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48596      ac_ext=c
48597ac_cpp='$CPP $CPPFLAGS'
48598ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48599ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48600ac_compiler_gnu=$ac_cv_c_compiler_gnu
48601
48602
48603fi
48604
48605  fi
48606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48607$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48608
48609  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48610    for ac_func in qfpclass
48611do :
48612  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48613if test "x$ac_cv_func_qfpclass" = xyes; then :
48614  cat >>confdefs.h <<_ACEOF
48615#define HAVE_QFPCLASS 1
48616_ACEOF
48617
48618fi
48619done
48620
48621  else
48622
48623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48624$as_echo_n "checking for _qfpclass declaration... " >&6; }
48625  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48626    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48627  $as_echo_n "(cached) " >&6
48628else
48629
48630
48631      ac_ext=cpp
48632ac_cpp='$CXXCPP $CPPFLAGS'
48633ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48634ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48635ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48636
48637      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48638/* end confdefs.h.  */
48639#include <math.h>
48640		      #ifdef HAVE_IEEEFP_H
48641		      #include <ieeefp.h>
48642		      #endif
48643
48644int
48645main ()
48646{
48647 _qfpclass(0);
48648  ;
48649  return 0;
48650}
48651_ACEOF
48652if ac_fn_cxx_try_compile "$LINENO"; then :
48653  glibcxx_cv_func__qfpclass_use=yes
48654else
48655  glibcxx_cv_func__qfpclass_use=no
48656fi
48657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48658      ac_ext=c
48659ac_cpp='$CPP $CPPFLAGS'
48660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48662ac_compiler_gnu=$ac_cv_c_compiler_gnu
48663
48664
48665fi
48666
48667  fi
48668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48669$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48670
48671    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48672      for ac_func in _qfpclass
48673do :
48674  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48675if test "x$ac_cv_func__qfpclass" = xyes; then :
48676  cat >>confdefs.h <<_ACEOF
48677#define HAVE__QFPCLASS 1
48678_ACEOF
48679
48680fi
48681done
48682
48683    fi
48684  fi
48685
48686
48687
48688
48689
48690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48691$as_echo_n "checking for hypot declaration... " >&6; }
48692  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48693    if ${glibcxx_cv_func_hypot_use+:} false; then :
48694  $as_echo_n "(cached) " >&6
48695else
48696
48697
48698      ac_ext=cpp
48699ac_cpp='$CXXCPP $CPPFLAGS'
48700ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48701ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48702ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48703
48704      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48705/* end confdefs.h.  */
48706#include <math.h>
48707int
48708main ()
48709{
48710 hypot(0, 0);
48711  ;
48712  return 0;
48713}
48714_ACEOF
48715if ac_fn_cxx_try_compile "$LINENO"; then :
48716  glibcxx_cv_func_hypot_use=yes
48717else
48718  glibcxx_cv_func_hypot_use=no
48719fi
48720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48721      ac_ext=c
48722ac_cpp='$CPP $CPPFLAGS'
48723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48725ac_compiler_gnu=$ac_cv_c_compiler_gnu
48726
48727
48728fi
48729
48730  fi
48731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48732$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48733
48734  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48735    for ac_func in hypot
48736do :
48737  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48738if test "x$ac_cv_func_hypot" = xyes; then :
48739  cat >>confdefs.h <<_ACEOF
48740#define HAVE_HYPOT 1
48741_ACEOF
48742
48743fi
48744done
48745
48746  else
48747
48748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48749$as_echo_n "checking for _hypot declaration... " >&6; }
48750  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48751    if ${glibcxx_cv_func__hypot_use+:} false; then :
48752  $as_echo_n "(cached) " >&6
48753else
48754
48755
48756      ac_ext=cpp
48757ac_cpp='$CXXCPP $CPPFLAGS'
48758ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48761
48762      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763/* end confdefs.h.  */
48764#include <math.h>
48765int
48766main ()
48767{
48768 _hypot(0, 0);
48769  ;
48770  return 0;
48771}
48772_ACEOF
48773if ac_fn_cxx_try_compile "$LINENO"; then :
48774  glibcxx_cv_func__hypot_use=yes
48775else
48776  glibcxx_cv_func__hypot_use=no
48777fi
48778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48779      ac_ext=c
48780ac_cpp='$CPP $CPPFLAGS'
48781ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783ac_compiler_gnu=$ac_cv_c_compiler_gnu
48784
48785
48786fi
48787
48788  fi
48789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48790$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48791
48792    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48793      for ac_func in _hypot
48794do :
48795  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48796if test "x$ac_cv_func__hypot" = xyes; then :
48797  cat >>confdefs.h <<_ACEOF
48798#define HAVE__HYPOT 1
48799_ACEOF
48800
48801fi
48802done
48803
48804    fi
48805  fi
48806
48807
48808
48809
48810
48811    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48812$as_echo_n "checking for float trig functions... " >&6; }
48813  if ${glibcxx_cv_func_float_trig_use+:} false; then :
48814  $as_echo_n "(cached) " >&6
48815else
48816
48817
48818    ac_ext=cpp
48819ac_cpp='$CXXCPP $CPPFLAGS'
48820ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48821ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48822ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48823
48824    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48825/* end confdefs.h.  */
48826#include <math.h>
48827int
48828main ()
48829{
48830acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48831  ;
48832  return 0;
48833}
48834_ACEOF
48835if ac_fn_cxx_try_compile "$LINENO"; then :
48836  glibcxx_cv_func_float_trig_use=yes
48837else
48838  glibcxx_cv_func_float_trig_use=no
48839fi
48840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48841    ac_ext=c
48842ac_cpp='$CPP $CPPFLAGS'
48843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845ac_compiler_gnu=$ac_cv_c_compiler_gnu
48846
48847fi
48848
48849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48850$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48851  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48852    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48853do :
48854  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48855ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48856if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48857  cat >>confdefs.h <<_ACEOF
48858#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48859_ACEOF
48860
48861fi
48862done
48863
48864  else
48865    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48866$as_echo_n "checking for _float trig functions... " >&6; }
48867    if ${glibcxx_cv_func__float_trig_use+:} false; then :
48868  $as_echo_n "(cached) " >&6
48869else
48870
48871
48872      ac_ext=cpp
48873ac_cpp='$CXXCPP $CPPFLAGS'
48874ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48875ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48876ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48877
48878      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48879/* end confdefs.h.  */
48880#include <math.h>
48881int
48882main ()
48883{
48884_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48885  ;
48886  return 0;
48887}
48888_ACEOF
48889if ac_fn_cxx_try_compile "$LINENO"; then :
48890  glibcxx_cv_func__float_trig_use=yes
48891else
48892  glibcxx_cv_func__float_trig_use=no
48893fi
48894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48895      ac_ext=c
48896ac_cpp='$CPP $CPPFLAGS'
48897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899ac_compiler_gnu=$ac_cv_c_compiler_gnu
48900
48901fi
48902
48903    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48904$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48905    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48906      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48907do :
48908  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48909ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48910if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48911  cat >>confdefs.h <<_ACEOF
48912#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48913_ACEOF
48914
48915fi
48916done
48917
48918    fi
48919  fi
48920
48921
48922
48923
48924
48925    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48926$as_echo_n "checking for float round functions... " >&6; }
48927  if ${glibcxx_cv_func_float_round_use+:} false; then :
48928  $as_echo_n "(cached) " >&6
48929else
48930
48931
48932    ac_ext=cpp
48933ac_cpp='$CXXCPP $CPPFLAGS'
48934ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48935ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48936ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48937
48938    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48939/* end confdefs.h.  */
48940#include <math.h>
48941int
48942main ()
48943{
48944ceilf (0); floorf (0);
48945  ;
48946  return 0;
48947}
48948_ACEOF
48949if ac_fn_cxx_try_compile "$LINENO"; then :
48950  glibcxx_cv_func_float_round_use=yes
48951else
48952  glibcxx_cv_func_float_round_use=no
48953fi
48954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48955    ac_ext=c
48956ac_cpp='$CPP $CPPFLAGS'
48957ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48958ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48959ac_compiler_gnu=$ac_cv_c_compiler_gnu
48960
48961fi
48962
48963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48964$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48965  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48966    for ac_func in ceilf floorf
48967do :
48968  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48969ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48970if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48971  cat >>confdefs.h <<_ACEOF
48972#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48973_ACEOF
48974
48975fi
48976done
48977
48978  else
48979    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48980$as_echo_n "checking for _float round functions... " >&6; }
48981    if ${glibcxx_cv_func__float_round_use+:} false; then :
48982  $as_echo_n "(cached) " >&6
48983else
48984
48985
48986      ac_ext=cpp
48987ac_cpp='$CXXCPP $CPPFLAGS'
48988ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48989ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48990ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48991
48992      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48993/* end confdefs.h.  */
48994#include <math.h>
48995int
48996main ()
48997{
48998_ceilf (0); _floorf (0);
48999  ;
49000  return 0;
49001}
49002_ACEOF
49003if ac_fn_cxx_try_compile "$LINENO"; then :
49004  glibcxx_cv_func__float_round_use=yes
49005else
49006  glibcxx_cv_func__float_round_use=no
49007fi
49008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49009      ac_ext=c
49010ac_cpp='$CPP $CPPFLAGS'
49011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49013ac_compiler_gnu=$ac_cv_c_compiler_gnu
49014
49015fi
49016
49017    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49018$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49019    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49020      for ac_func in _ceilf _floorf
49021do :
49022  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49023ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49024if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49025  cat >>confdefs.h <<_ACEOF
49026#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49027_ACEOF
49028
49029fi
49030done
49031
49032    fi
49033  fi
49034
49035
49036
49037
49038
49039
49040  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49041$as_echo_n "checking for expf declaration... " >&6; }
49042  if test x${glibcxx_cv_func_expf_use+set} != xset; then
49043    if ${glibcxx_cv_func_expf_use+:} false; then :
49044  $as_echo_n "(cached) " >&6
49045else
49046
49047
49048      ac_ext=cpp
49049ac_cpp='$CXXCPP $CPPFLAGS'
49050ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49051ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49052ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49053
49054      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49055/* end confdefs.h.  */
49056#include <math.h>
49057		      #ifdef HAVE_IEEEFP_H
49058		      #include <ieeefp.h>
49059		      #endif
49060
49061int
49062main ()
49063{
49064 expf(0);
49065  ;
49066  return 0;
49067}
49068_ACEOF
49069if ac_fn_cxx_try_compile "$LINENO"; then :
49070  glibcxx_cv_func_expf_use=yes
49071else
49072  glibcxx_cv_func_expf_use=no
49073fi
49074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49075      ac_ext=c
49076ac_cpp='$CPP $CPPFLAGS'
49077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49079ac_compiler_gnu=$ac_cv_c_compiler_gnu
49080
49081
49082fi
49083
49084  fi
49085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49086$as_echo "$glibcxx_cv_func_expf_use" >&6; }
49087
49088  if test x$glibcxx_cv_func_expf_use = x"yes"; then
49089    for ac_func in expf
49090do :
49091  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49092if test "x$ac_cv_func_expf" = xyes; then :
49093  cat >>confdefs.h <<_ACEOF
49094#define HAVE_EXPF 1
49095_ACEOF
49096
49097fi
49098done
49099
49100  else
49101
49102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49103$as_echo_n "checking for _expf declaration... " >&6; }
49104  if test x${glibcxx_cv_func__expf_use+set} != xset; then
49105    if ${glibcxx_cv_func__expf_use+:} false; then :
49106  $as_echo_n "(cached) " >&6
49107else
49108
49109
49110      ac_ext=cpp
49111ac_cpp='$CXXCPP $CPPFLAGS'
49112ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49115
49116      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49117/* end confdefs.h.  */
49118#include <math.h>
49119		      #ifdef HAVE_IEEEFP_H
49120		      #include <ieeefp.h>
49121		      #endif
49122
49123int
49124main ()
49125{
49126 _expf(0);
49127  ;
49128  return 0;
49129}
49130_ACEOF
49131if ac_fn_cxx_try_compile "$LINENO"; then :
49132  glibcxx_cv_func__expf_use=yes
49133else
49134  glibcxx_cv_func__expf_use=no
49135fi
49136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49137      ac_ext=c
49138ac_cpp='$CPP $CPPFLAGS'
49139ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141ac_compiler_gnu=$ac_cv_c_compiler_gnu
49142
49143
49144fi
49145
49146  fi
49147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49148$as_echo "$glibcxx_cv_func__expf_use" >&6; }
49149
49150    if test x$glibcxx_cv_func__expf_use = x"yes"; then
49151      for ac_func in _expf
49152do :
49153  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49154if test "x$ac_cv_func__expf" = xyes; then :
49155  cat >>confdefs.h <<_ACEOF
49156#define HAVE__EXPF 1
49157_ACEOF
49158
49159fi
49160done
49161
49162    fi
49163  fi
49164
49165
49166
49167
49168
49169  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49170$as_echo_n "checking for isnanf declaration... " >&6; }
49171  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49172    if ${glibcxx_cv_func_isnanf_use+:} false; then :
49173  $as_echo_n "(cached) " >&6
49174else
49175
49176
49177      ac_ext=cpp
49178ac_cpp='$CXXCPP $CPPFLAGS'
49179ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49180ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49181ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49182
49183      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49184/* end confdefs.h.  */
49185#include <math.h>
49186		      #ifdef HAVE_IEEEFP_H
49187		      #include <ieeefp.h>
49188		      #endif
49189
49190int
49191main ()
49192{
49193 isnanf(0);
49194  ;
49195  return 0;
49196}
49197_ACEOF
49198if ac_fn_cxx_try_compile "$LINENO"; then :
49199  glibcxx_cv_func_isnanf_use=yes
49200else
49201  glibcxx_cv_func_isnanf_use=no
49202fi
49203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49204      ac_ext=c
49205ac_cpp='$CPP $CPPFLAGS'
49206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208ac_compiler_gnu=$ac_cv_c_compiler_gnu
49209
49210
49211fi
49212
49213  fi
49214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49215$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49216
49217  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49218    for ac_func in isnanf
49219do :
49220  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49221if test "x$ac_cv_func_isnanf" = xyes; then :
49222  cat >>confdefs.h <<_ACEOF
49223#define HAVE_ISNANF 1
49224_ACEOF
49225
49226fi
49227done
49228
49229  else
49230
49231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49232$as_echo_n "checking for _isnanf declaration... " >&6; }
49233  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49234    if ${glibcxx_cv_func__isnanf_use+:} false; then :
49235  $as_echo_n "(cached) " >&6
49236else
49237
49238
49239      ac_ext=cpp
49240ac_cpp='$CXXCPP $CPPFLAGS'
49241ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49244
49245      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49246/* end confdefs.h.  */
49247#include <math.h>
49248		      #ifdef HAVE_IEEEFP_H
49249		      #include <ieeefp.h>
49250		      #endif
49251
49252int
49253main ()
49254{
49255 _isnanf(0);
49256  ;
49257  return 0;
49258}
49259_ACEOF
49260if ac_fn_cxx_try_compile "$LINENO"; then :
49261  glibcxx_cv_func__isnanf_use=yes
49262else
49263  glibcxx_cv_func__isnanf_use=no
49264fi
49265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49266      ac_ext=c
49267ac_cpp='$CPP $CPPFLAGS'
49268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270ac_compiler_gnu=$ac_cv_c_compiler_gnu
49271
49272
49273fi
49274
49275  fi
49276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49277$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49278
49279    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49280      for ac_func in _isnanf
49281do :
49282  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49283if test "x$ac_cv_func__isnanf" = xyes; then :
49284  cat >>confdefs.h <<_ACEOF
49285#define HAVE__ISNANF 1
49286_ACEOF
49287
49288fi
49289done
49290
49291    fi
49292  fi
49293
49294
49295
49296
49297
49298  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49299$as_echo_n "checking for isinff declaration... " >&6; }
49300  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49301    if ${glibcxx_cv_func_isinff_use+:} false; then :
49302  $as_echo_n "(cached) " >&6
49303else
49304
49305
49306      ac_ext=cpp
49307ac_cpp='$CXXCPP $CPPFLAGS'
49308ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49309ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49310ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49311
49312      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49313/* end confdefs.h.  */
49314#include <math.h>
49315		      #ifdef HAVE_IEEEFP_H
49316		      #include <ieeefp.h>
49317		      #endif
49318
49319int
49320main ()
49321{
49322 isinff(0);
49323  ;
49324  return 0;
49325}
49326_ACEOF
49327if ac_fn_cxx_try_compile "$LINENO"; then :
49328  glibcxx_cv_func_isinff_use=yes
49329else
49330  glibcxx_cv_func_isinff_use=no
49331fi
49332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49333      ac_ext=c
49334ac_cpp='$CPP $CPPFLAGS'
49335ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337ac_compiler_gnu=$ac_cv_c_compiler_gnu
49338
49339
49340fi
49341
49342  fi
49343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49344$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49345
49346  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49347    for ac_func in isinff
49348do :
49349  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49350if test "x$ac_cv_func_isinff" = xyes; then :
49351  cat >>confdefs.h <<_ACEOF
49352#define HAVE_ISINFF 1
49353_ACEOF
49354
49355fi
49356done
49357
49358  else
49359
49360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49361$as_echo_n "checking for _isinff declaration... " >&6; }
49362  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49363    if ${glibcxx_cv_func__isinff_use+:} false; then :
49364  $as_echo_n "(cached) " >&6
49365else
49366
49367
49368      ac_ext=cpp
49369ac_cpp='$CXXCPP $CPPFLAGS'
49370ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49373
49374      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49375/* end confdefs.h.  */
49376#include <math.h>
49377		      #ifdef HAVE_IEEEFP_H
49378		      #include <ieeefp.h>
49379		      #endif
49380
49381int
49382main ()
49383{
49384 _isinff(0);
49385  ;
49386  return 0;
49387}
49388_ACEOF
49389if ac_fn_cxx_try_compile "$LINENO"; then :
49390  glibcxx_cv_func__isinff_use=yes
49391else
49392  glibcxx_cv_func__isinff_use=no
49393fi
49394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49395      ac_ext=c
49396ac_cpp='$CPP $CPPFLAGS'
49397ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49398ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49399ac_compiler_gnu=$ac_cv_c_compiler_gnu
49400
49401
49402fi
49403
49404  fi
49405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49406$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49407
49408    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49409      for ac_func in _isinff
49410do :
49411  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49412if test "x$ac_cv_func__isinff" = xyes; then :
49413  cat >>confdefs.h <<_ACEOF
49414#define HAVE__ISINFF 1
49415_ACEOF
49416
49417fi
49418done
49419
49420    fi
49421  fi
49422
49423
49424
49425
49426
49427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49428$as_echo_n "checking for atan2f declaration... " >&6; }
49429  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49430    if ${glibcxx_cv_func_atan2f_use+:} false; then :
49431  $as_echo_n "(cached) " >&6
49432else
49433
49434
49435      ac_ext=cpp
49436ac_cpp='$CXXCPP $CPPFLAGS'
49437ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49438ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49439ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49440
49441      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49442/* end confdefs.h.  */
49443#include <math.h>
49444int
49445main ()
49446{
49447 atan2f(0, 0);
49448  ;
49449  return 0;
49450}
49451_ACEOF
49452if ac_fn_cxx_try_compile "$LINENO"; then :
49453  glibcxx_cv_func_atan2f_use=yes
49454else
49455  glibcxx_cv_func_atan2f_use=no
49456fi
49457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49458      ac_ext=c
49459ac_cpp='$CPP $CPPFLAGS'
49460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462ac_compiler_gnu=$ac_cv_c_compiler_gnu
49463
49464
49465fi
49466
49467  fi
49468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49469$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49470
49471  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49472    for ac_func in atan2f
49473do :
49474  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49475if test "x$ac_cv_func_atan2f" = xyes; then :
49476  cat >>confdefs.h <<_ACEOF
49477#define HAVE_ATAN2F 1
49478_ACEOF
49479
49480fi
49481done
49482
49483  else
49484
49485  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49486$as_echo_n "checking for _atan2f declaration... " >&6; }
49487  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49488    if ${glibcxx_cv_func__atan2f_use+:} false; then :
49489  $as_echo_n "(cached) " >&6
49490else
49491
49492
49493      ac_ext=cpp
49494ac_cpp='$CXXCPP $CPPFLAGS'
49495ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49496ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49497ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49498
49499      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49500/* end confdefs.h.  */
49501#include <math.h>
49502int
49503main ()
49504{
49505 _atan2f(0, 0);
49506  ;
49507  return 0;
49508}
49509_ACEOF
49510if ac_fn_cxx_try_compile "$LINENO"; then :
49511  glibcxx_cv_func__atan2f_use=yes
49512else
49513  glibcxx_cv_func__atan2f_use=no
49514fi
49515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49516      ac_ext=c
49517ac_cpp='$CPP $CPPFLAGS'
49518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49520ac_compiler_gnu=$ac_cv_c_compiler_gnu
49521
49522
49523fi
49524
49525  fi
49526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49527$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49528
49529    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49530      for ac_func in _atan2f
49531do :
49532  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49533if test "x$ac_cv_func__atan2f" = xyes; then :
49534  cat >>confdefs.h <<_ACEOF
49535#define HAVE__ATAN2F 1
49536_ACEOF
49537
49538fi
49539done
49540
49541    fi
49542  fi
49543
49544
49545
49546
49547
49548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49549$as_echo_n "checking for fabsf declaration... " >&6; }
49550  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49551    if ${glibcxx_cv_func_fabsf_use+:} false; then :
49552  $as_echo_n "(cached) " >&6
49553else
49554
49555
49556      ac_ext=cpp
49557ac_cpp='$CXXCPP $CPPFLAGS'
49558ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49559ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49560ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49561
49562      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49563/* end confdefs.h.  */
49564#include <math.h>
49565		      #ifdef HAVE_IEEEFP_H
49566		      #include <ieeefp.h>
49567		      #endif
49568
49569int
49570main ()
49571{
49572 fabsf(0);
49573  ;
49574  return 0;
49575}
49576_ACEOF
49577if ac_fn_cxx_try_compile "$LINENO"; then :
49578  glibcxx_cv_func_fabsf_use=yes
49579else
49580  glibcxx_cv_func_fabsf_use=no
49581fi
49582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49583      ac_ext=c
49584ac_cpp='$CPP $CPPFLAGS'
49585ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49586ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49587ac_compiler_gnu=$ac_cv_c_compiler_gnu
49588
49589
49590fi
49591
49592  fi
49593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49594$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49595
49596  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49597    for ac_func in fabsf
49598do :
49599  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49600if test "x$ac_cv_func_fabsf" = xyes; then :
49601  cat >>confdefs.h <<_ACEOF
49602#define HAVE_FABSF 1
49603_ACEOF
49604
49605fi
49606done
49607
49608  else
49609
49610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49611$as_echo_n "checking for _fabsf declaration... " >&6; }
49612  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49613    if ${glibcxx_cv_func__fabsf_use+:} false; then :
49614  $as_echo_n "(cached) " >&6
49615else
49616
49617
49618      ac_ext=cpp
49619ac_cpp='$CXXCPP $CPPFLAGS'
49620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49623
49624      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49625/* end confdefs.h.  */
49626#include <math.h>
49627		      #ifdef HAVE_IEEEFP_H
49628		      #include <ieeefp.h>
49629		      #endif
49630
49631int
49632main ()
49633{
49634 _fabsf(0);
49635  ;
49636  return 0;
49637}
49638_ACEOF
49639if ac_fn_cxx_try_compile "$LINENO"; then :
49640  glibcxx_cv_func__fabsf_use=yes
49641else
49642  glibcxx_cv_func__fabsf_use=no
49643fi
49644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49645      ac_ext=c
49646ac_cpp='$CPP $CPPFLAGS'
49647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49649ac_compiler_gnu=$ac_cv_c_compiler_gnu
49650
49651
49652fi
49653
49654  fi
49655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49656$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49657
49658    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49659      for ac_func in _fabsf
49660do :
49661  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49662if test "x$ac_cv_func__fabsf" = xyes; then :
49663  cat >>confdefs.h <<_ACEOF
49664#define HAVE__FABSF 1
49665_ACEOF
49666
49667fi
49668done
49669
49670    fi
49671  fi
49672
49673
49674
49675
49676
49677  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49678$as_echo_n "checking for fmodf declaration... " >&6; }
49679  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49680    if ${glibcxx_cv_func_fmodf_use+:} false; then :
49681  $as_echo_n "(cached) " >&6
49682else
49683
49684
49685      ac_ext=cpp
49686ac_cpp='$CXXCPP $CPPFLAGS'
49687ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49688ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49689ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49690
49691      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49692/* end confdefs.h.  */
49693#include <math.h>
49694int
49695main ()
49696{
49697 fmodf(0, 0);
49698  ;
49699  return 0;
49700}
49701_ACEOF
49702if ac_fn_cxx_try_compile "$LINENO"; then :
49703  glibcxx_cv_func_fmodf_use=yes
49704else
49705  glibcxx_cv_func_fmodf_use=no
49706fi
49707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49708      ac_ext=c
49709ac_cpp='$CPP $CPPFLAGS'
49710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49712ac_compiler_gnu=$ac_cv_c_compiler_gnu
49713
49714
49715fi
49716
49717  fi
49718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49719$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49720
49721  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49722    for ac_func in fmodf
49723do :
49724  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49725if test "x$ac_cv_func_fmodf" = xyes; then :
49726  cat >>confdefs.h <<_ACEOF
49727#define HAVE_FMODF 1
49728_ACEOF
49729
49730fi
49731done
49732
49733  else
49734
49735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49736$as_echo_n "checking for _fmodf declaration... " >&6; }
49737  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49738    if ${glibcxx_cv_func__fmodf_use+:} false; then :
49739  $as_echo_n "(cached) " >&6
49740else
49741
49742
49743      ac_ext=cpp
49744ac_cpp='$CXXCPP $CPPFLAGS'
49745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49748
49749      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49750/* end confdefs.h.  */
49751#include <math.h>
49752int
49753main ()
49754{
49755 _fmodf(0, 0);
49756  ;
49757  return 0;
49758}
49759_ACEOF
49760if ac_fn_cxx_try_compile "$LINENO"; then :
49761  glibcxx_cv_func__fmodf_use=yes
49762else
49763  glibcxx_cv_func__fmodf_use=no
49764fi
49765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49766      ac_ext=c
49767ac_cpp='$CPP $CPPFLAGS'
49768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770ac_compiler_gnu=$ac_cv_c_compiler_gnu
49771
49772
49773fi
49774
49775  fi
49776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49777$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49778
49779    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49780      for ac_func in _fmodf
49781do :
49782  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49783if test "x$ac_cv_func__fmodf" = xyes; then :
49784  cat >>confdefs.h <<_ACEOF
49785#define HAVE__FMODF 1
49786_ACEOF
49787
49788fi
49789done
49790
49791    fi
49792  fi
49793
49794
49795
49796
49797
49798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49799$as_echo_n "checking for frexpf declaration... " >&6; }
49800  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49801    if ${glibcxx_cv_func_frexpf_use+:} false; then :
49802  $as_echo_n "(cached) " >&6
49803else
49804
49805
49806      ac_ext=cpp
49807ac_cpp='$CXXCPP $CPPFLAGS'
49808ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49809ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49810ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49811
49812      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49813/* end confdefs.h.  */
49814#include <math.h>
49815int
49816main ()
49817{
49818 frexpf(0, 0);
49819  ;
49820  return 0;
49821}
49822_ACEOF
49823if ac_fn_cxx_try_compile "$LINENO"; then :
49824  glibcxx_cv_func_frexpf_use=yes
49825else
49826  glibcxx_cv_func_frexpf_use=no
49827fi
49828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49829      ac_ext=c
49830ac_cpp='$CPP $CPPFLAGS'
49831ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49832ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49833ac_compiler_gnu=$ac_cv_c_compiler_gnu
49834
49835
49836fi
49837
49838  fi
49839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49840$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49841
49842  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49843    for ac_func in frexpf
49844do :
49845  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49846if test "x$ac_cv_func_frexpf" = xyes; then :
49847  cat >>confdefs.h <<_ACEOF
49848#define HAVE_FREXPF 1
49849_ACEOF
49850
49851fi
49852done
49853
49854  else
49855
49856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49857$as_echo_n "checking for _frexpf declaration... " >&6; }
49858  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49859    if ${glibcxx_cv_func__frexpf_use+:} false; then :
49860  $as_echo_n "(cached) " >&6
49861else
49862
49863
49864      ac_ext=cpp
49865ac_cpp='$CXXCPP $CPPFLAGS'
49866ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49867ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49868ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49869
49870      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49871/* end confdefs.h.  */
49872#include <math.h>
49873int
49874main ()
49875{
49876 _frexpf(0, 0);
49877  ;
49878  return 0;
49879}
49880_ACEOF
49881if ac_fn_cxx_try_compile "$LINENO"; then :
49882  glibcxx_cv_func__frexpf_use=yes
49883else
49884  glibcxx_cv_func__frexpf_use=no
49885fi
49886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49887      ac_ext=c
49888ac_cpp='$CPP $CPPFLAGS'
49889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891ac_compiler_gnu=$ac_cv_c_compiler_gnu
49892
49893
49894fi
49895
49896  fi
49897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49898$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49899
49900    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49901      for ac_func in _frexpf
49902do :
49903  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49904if test "x$ac_cv_func__frexpf" = xyes; then :
49905  cat >>confdefs.h <<_ACEOF
49906#define HAVE__FREXPF 1
49907_ACEOF
49908
49909fi
49910done
49911
49912    fi
49913  fi
49914
49915
49916
49917
49918
49919  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49920$as_echo_n "checking for hypotf declaration... " >&6; }
49921  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49922    if ${glibcxx_cv_func_hypotf_use+:} false; then :
49923  $as_echo_n "(cached) " >&6
49924else
49925
49926
49927      ac_ext=cpp
49928ac_cpp='$CXXCPP $CPPFLAGS'
49929ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49930ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49931ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49932
49933      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49934/* end confdefs.h.  */
49935#include <math.h>
49936int
49937main ()
49938{
49939 hypotf(0, 0);
49940  ;
49941  return 0;
49942}
49943_ACEOF
49944if ac_fn_cxx_try_compile "$LINENO"; then :
49945  glibcxx_cv_func_hypotf_use=yes
49946else
49947  glibcxx_cv_func_hypotf_use=no
49948fi
49949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49950      ac_ext=c
49951ac_cpp='$CPP $CPPFLAGS'
49952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49954ac_compiler_gnu=$ac_cv_c_compiler_gnu
49955
49956
49957fi
49958
49959  fi
49960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49961$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49962
49963  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49964    for ac_func in hypotf
49965do :
49966  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49967if test "x$ac_cv_func_hypotf" = xyes; then :
49968  cat >>confdefs.h <<_ACEOF
49969#define HAVE_HYPOTF 1
49970_ACEOF
49971
49972fi
49973done
49974
49975  else
49976
49977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49978$as_echo_n "checking for _hypotf declaration... " >&6; }
49979  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49980    if ${glibcxx_cv_func__hypotf_use+:} false; then :
49981  $as_echo_n "(cached) " >&6
49982else
49983
49984
49985      ac_ext=cpp
49986ac_cpp='$CXXCPP $CPPFLAGS'
49987ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49990
49991      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49992/* end confdefs.h.  */
49993#include <math.h>
49994int
49995main ()
49996{
49997 _hypotf(0, 0);
49998  ;
49999  return 0;
50000}
50001_ACEOF
50002if ac_fn_cxx_try_compile "$LINENO"; then :
50003  glibcxx_cv_func__hypotf_use=yes
50004else
50005  glibcxx_cv_func__hypotf_use=no
50006fi
50007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50008      ac_ext=c
50009ac_cpp='$CPP $CPPFLAGS'
50010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012ac_compiler_gnu=$ac_cv_c_compiler_gnu
50013
50014
50015fi
50016
50017  fi
50018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50019$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50020
50021    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50022      for ac_func in _hypotf
50023do :
50024  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50025if test "x$ac_cv_func__hypotf" = xyes; then :
50026  cat >>confdefs.h <<_ACEOF
50027#define HAVE__HYPOTF 1
50028_ACEOF
50029
50030fi
50031done
50032
50033    fi
50034  fi
50035
50036
50037
50038
50039
50040  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50041$as_echo_n "checking for ldexpf declaration... " >&6; }
50042  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50043    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50044  $as_echo_n "(cached) " >&6
50045else
50046
50047
50048      ac_ext=cpp
50049ac_cpp='$CXXCPP $CPPFLAGS'
50050ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50051ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50052ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50053
50054      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50055/* end confdefs.h.  */
50056#include <math.h>
50057int
50058main ()
50059{
50060 ldexpf(0, 0);
50061  ;
50062  return 0;
50063}
50064_ACEOF
50065if ac_fn_cxx_try_compile "$LINENO"; then :
50066  glibcxx_cv_func_ldexpf_use=yes
50067else
50068  glibcxx_cv_func_ldexpf_use=no
50069fi
50070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50071      ac_ext=c
50072ac_cpp='$CPP $CPPFLAGS'
50073ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50074ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50075ac_compiler_gnu=$ac_cv_c_compiler_gnu
50076
50077
50078fi
50079
50080  fi
50081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50082$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50083
50084  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50085    for ac_func in ldexpf
50086do :
50087  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50088if test "x$ac_cv_func_ldexpf" = xyes; then :
50089  cat >>confdefs.h <<_ACEOF
50090#define HAVE_LDEXPF 1
50091_ACEOF
50092
50093fi
50094done
50095
50096  else
50097
50098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50099$as_echo_n "checking for _ldexpf declaration... " >&6; }
50100  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50101    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50102  $as_echo_n "(cached) " >&6
50103else
50104
50105
50106      ac_ext=cpp
50107ac_cpp='$CXXCPP $CPPFLAGS'
50108ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50111
50112      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50113/* end confdefs.h.  */
50114#include <math.h>
50115int
50116main ()
50117{
50118 _ldexpf(0, 0);
50119  ;
50120  return 0;
50121}
50122_ACEOF
50123if ac_fn_cxx_try_compile "$LINENO"; then :
50124  glibcxx_cv_func__ldexpf_use=yes
50125else
50126  glibcxx_cv_func__ldexpf_use=no
50127fi
50128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50129      ac_ext=c
50130ac_cpp='$CPP $CPPFLAGS'
50131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50133ac_compiler_gnu=$ac_cv_c_compiler_gnu
50134
50135
50136fi
50137
50138  fi
50139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50140$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50141
50142    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50143      for ac_func in _ldexpf
50144do :
50145  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50146if test "x$ac_cv_func__ldexpf" = xyes; then :
50147  cat >>confdefs.h <<_ACEOF
50148#define HAVE__LDEXPF 1
50149_ACEOF
50150
50151fi
50152done
50153
50154    fi
50155  fi
50156
50157
50158
50159
50160
50161  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50162$as_echo_n "checking for logf declaration... " >&6; }
50163  if test x${glibcxx_cv_func_logf_use+set} != xset; then
50164    if ${glibcxx_cv_func_logf_use+:} false; then :
50165  $as_echo_n "(cached) " >&6
50166else
50167
50168
50169      ac_ext=cpp
50170ac_cpp='$CXXCPP $CPPFLAGS'
50171ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50172ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50173ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50174
50175      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50176/* end confdefs.h.  */
50177#include <math.h>
50178		      #ifdef HAVE_IEEEFP_H
50179		      #include <ieeefp.h>
50180		      #endif
50181
50182int
50183main ()
50184{
50185 logf(0);
50186  ;
50187  return 0;
50188}
50189_ACEOF
50190if ac_fn_cxx_try_compile "$LINENO"; then :
50191  glibcxx_cv_func_logf_use=yes
50192else
50193  glibcxx_cv_func_logf_use=no
50194fi
50195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50196      ac_ext=c
50197ac_cpp='$CPP $CPPFLAGS'
50198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200ac_compiler_gnu=$ac_cv_c_compiler_gnu
50201
50202
50203fi
50204
50205  fi
50206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50207$as_echo "$glibcxx_cv_func_logf_use" >&6; }
50208
50209  if test x$glibcxx_cv_func_logf_use = x"yes"; then
50210    for ac_func in logf
50211do :
50212  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50213if test "x$ac_cv_func_logf" = xyes; then :
50214  cat >>confdefs.h <<_ACEOF
50215#define HAVE_LOGF 1
50216_ACEOF
50217
50218fi
50219done
50220
50221  else
50222
50223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50224$as_echo_n "checking for _logf declaration... " >&6; }
50225  if test x${glibcxx_cv_func__logf_use+set} != xset; then
50226    if ${glibcxx_cv_func__logf_use+:} false; then :
50227  $as_echo_n "(cached) " >&6
50228else
50229
50230
50231      ac_ext=cpp
50232ac_cpp='$CXXCPP $CPPFLAGS'
50233ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50234ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50235ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50236
50237      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50238/* end confdefs.h.  */
50239#include <math.h>
50240		      #ifdef HAVE_IEEEFP_H
50241		      #include <ieeefp.h>
50242		      #endif
50243
50244int
50245main ()
50246{
50247 _logf(0);
50248  ;
50249  return 0;
50250}
50251_ACEOF
50252if ac_fn_cxx_try_compile "$LINENO"; then :
50253  glibcxx_cv_func__logf_use=yes
50254else
50255  glibcxx_cv_func__logf_use=no
50256fi
50257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50258      ac_ext=c
50259ac_cpp='$CPP $CPPFLAGS'
50260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50262ac_compiler_gnu=$ac_cv_c_compiler_gnu
50263
50264
50265fi
50266
50267  fi
50268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50269$as_echo "$glibcxx_cv_func__logf_use" >&6; }
50270
50271    if test x$glibcxx_cv_func__logf_use = x"yes"; then
50272      for ac_func in _logf
50273do :
50274  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50275if test "x$ac_cv_func__logf" = xyes; then :
50276  cat >>confdefs.h <<_ACEOF
50277#define HAVE__LOGF 1
50278_ACEOF
50279
50280fi
50281done
50282
50283    fi
50284  fi
50285
50286
50287
50288
50289
50290  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50291$as_echo_n "checking for log10f declaration... " >&6; }
50292  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50293    if ${glibcxx_cv_func_log10f_use+:} false; then :
50294  $as_echo_n "(cached) " >&6
50295else
50296
50297
50298      ac_ext=cpp
50299ac_cpp='$CXXCPP $CPPFLAGS'
50300ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50301ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50302ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50303
50304      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50305/* end confdefs.h.  */
50306#include <math.h>
50307		      #ifdef HAVE_IEEEFP_H
50308		      #include <ieeefp.h>
50309		      #endif
50310
50311int
50312main ()
50313{
50314 log10f(0);
50315  ;
50316  return 0;
50317}
50318_ACEOF
50319if ac_fn_cxx_try_compile "$LINENO"; then :
50320  glibcxx_cv_func_log10f_use=yes
50321else
50322  glibcxx_cv_func_log10f_use=no
50323fi
50324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50325      ac_ext=c
50326ac_cpp='$CPP $CPPFLAGS'
50327ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50328ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50329ac_compiler_gnu=$ac_cv_c_compiler_gnu
50330
50331
50332fi
50333
50334  fi
50335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50336$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50337
50338  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50339    for ac_func in log10f
50340do :
50341  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50342if test "x$ac_cv_func_log10f" = xyes; then :
50343  cat >>confdefs.h <<_ACEOF
50344#define HAVE_LOG10F 1
50345_ACEOF
50346
50347fi
50348done
50349
50350  else
50351
50352  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50353$as_echo_n "checking for _log10f declaration... " >&6; }
50354  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50355    if ${glibcxx_cv_func__log10f_use+:} false; then :
50356  $as_echo_n "(cached) " >&6
50357else
50358
50359
50360      ac_ext=cpp
50361ac_cpp='$CXXCPP $CPPFLAGS'
50362ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50365
50366      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50367/* end confdefs.h.  */
50368#include <math.h>
50369		      #ifdef HAVE_IEEEFP_H
50370		      #include <ieeefp.h>
50371		      #endif
50372
50373int
50374main ()
50375{
50376 _log10f(0);
50377  ;
50378  return 0;
50379}
50380_ACEOF
50381if ac_fn_cxx_try_compile "$LINENO"; then :
50382  glibcxx_cv_func__log10f_use=yes
50383else
50384  glibcxx_cv_func__log10f_use=no
50385fi
50386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50387      ac_ext=c
50388ac_cpp='$CPP $CPPFLAGS'
50389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50391ac_compiler_gnu=$ac_cv_c_compiler_gnu
50392
50393
50394fi
50395
50396  fi
50397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50398$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50399
50400    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50401      for ac_func in _log10f
50402do :
50403  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50404if test "x$ac_cv_func__log10f" = xyes; then :
50405  cat >>confdefs.h <<_ACEOF
50406#define HAVE__LOG10F 1
50407_ACEOF
50408
50409fi
50410done
50411
50412    fi
50413  fi
50414
50415
50416
50417
50418
50419  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50420$as_echo_n "checking for modff declaration... " >&6; }
50421  if test x${glibcxx_cv_func_modff_use+set} != xset; then
50422    if ${glibcxx_cv_func_modff_use+:} false; then :
50423  $as_echo_n "(cached) " >&6
50424else
50425
50426
50427      ac_ext=cpp
50428ac_cpp='$CXXCPP $CPPFLAGS'
50429ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50430ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50431ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50432
50433      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50434/* end confdefs.h.  */
50435#include <math.h>
50436int
50437main ()
50438{
50439 modff(0, 0);
50440  ;
50441  return 0;
50442}
50443_ACEOF
50444if ac_fn_cxx_try_compile "$LINENO"; then :
50445  glibcxx_cv_func_modff_use=yes
50446else
50447  glibcxx_cv_func_modff_use=no
50448fi
50449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50450      ac_ext=c
50451ac_cpp='$CPP $CPPFLAGS'
50452ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454ac_compiler_gnu=$ac_cv_c_compiler_gnu
50455
50456
50457fi
50458
50459  fi
50460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50461$as_echo "$glibcxx_cv_func_modff_use" >&6; }
50462
50463  if test x$glibcxx_cv_func_modff_use = x"yes"; then
50464    for ac_func in modff
50465do :
50466  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50467if test "x$ac_cv_func_modff" = xyes; then :
50468  cat >>confdefs.h <<_ACEOF
50469#define HAVE_MODFF 1
50470_ACEOF
50471
50472fi
50473done
50474
50475  else
50476
50477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50478$as_echo_n "checking for _modff declaration... " >&6; }
50479  if test x${glibcxx_cv_func__modff_use+set} != xset; then
50480    if ${glibcxx_cv_func__modff_use+:} false; then :
50481  $as_echo_n "(cached) " >&6
50482else
50483
50484
50485      ac_ext=cpp
50486ac_cpp='$CXXCPP $CPPFLAGS'
50487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50490
50491      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50492/* end confdefs.h.  */
50493#include <math.h>
50494int
50495main ()
50496{
50497 _modff(0, 0);
50498  ;
50499  return 0;
50500}
50501_ACEOF
50502if ac_fn_cxx_try_compile "$LINENO"; then :
50503  glibcxx_cv_func__modff_use=yes
50504else
50505  glibcxx_cv_func__modff_use=no
50506fi
50507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50508      ac_ext=c
50509ac_cpp='$CPP $CPPFLAGS'
50510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50512ac_compiler_gnu=$ac_cv_c_compiler_gnu
50513
50514
50515fi
50516
50517  fi
50518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50519$as_echo "$glibcxx_cv_func__modff_use" >&6; }
50520
50521    if test x$glibcxx_cv_func__modff_use = x"yes"; then
50522      for ac_func in _modff
50523do :
50524  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50525if test "x$ac_cv_func__modff" = xyes; then :
50526  cat >>confdefs.h <<_ACEOF
50527#define HAVE__MODFF 1
50528_ACEOF
50529
50530fi
50531done
50532
50533    fi
50534  fi
50535
50536
50537
50538
50539
50540  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50541$as_echo_n "checking for modf declaration... " >&6; }
50542  if test x${glibcxx_cv_func_modf_use+set} != xset; then
50543    if ${glibcxx_cv_func_modf_use+:} false; then :
50544  $as_echo_n "(cached) " >&6
50545else
50546
50547
50548      ac_ext=cpp
50549ac_cpp='$CXXCPP $CPPFLAGS'
50550ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50551ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50552ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50553
50554      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50555/* end confdefs.h.  */
50556#include <math.h>
50557int
50558main ()
50559{
50560 modf(0, 0);
50561  ;
50562  return 0;
50563}
50564_ACEOF
50565if ac_fn_cxx_try_compile "$LINENO"; then :
50566  glibcxx_cv_func_modf_use=yes
50567else
50568  glibcxx_cv_func_modf_use=no
50569fi
50570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50571      ac_ext=c
50572ac_cpp='$CPP $CPPFLAGS'
50573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50575ac_compiler_gnu=$ac_cv_c_compiler_gnu
50576
50577
50578fi
50579
50580  fi
50581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50582$as_echo "$glibcxx_cv_func_modf_use" >&6; }
50583
50584  if test x$glibcxx_cv_func_modf_use = x"yes"; then
50585    for ac_func in modf
50586do :
50587  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50588if test "x$ac_cv_func_modf" = xyes; then :
50589  cat >>confdefs.h <<_ACEOF
50590#define HAVE_MODF 1
50591_ACEOF
50592
50593fi
50594done
50595
50596  else
50597
50598  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50599$as_echo_n "checking for _modf declaration... " >&6; }
50600  if test x${glibcxx_cv_func__modf_use+set} != xset; then
50601    if ${glibcxx_cv_func__modf_use+:} false; then :
50602  $as_echo_n "(cached) " >&6
50603else
50604
50605
50606      ac_ext=cpp
50607ac_cpp='$CXXCPP $CPPFLAGS'
50608ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50609ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50610ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50611
50612      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50613/* end confdefs.h.  */
50614#include <math.h>
50615int
50616main ()
50617{
50618 _modf(0, 0);
50619  ;
50620  return 0;
50621}
50622_ACEOF
50623if ac_fn_cxx_try_compile "$LINENO"; then :
50624  glibcxx_cv_func__modf_use=yes
50625else
50626  glibcxx_cv_func__modf_use=no
50627fi
50628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50629      ac_ext=c
50630ac_cpp='$CPP $CPPFLAGS'
50631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50633ac_compiler_gnu=$ac_cv_c_compiler_gnu
50634
50635
50636fi
50637
50638  fi
50639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50640$as_echo "$glibcxx_cv_func__modf_use" >&6; }
50641
50642    if test x$glibcxx_cv_func__modf_use = x"yes"; then
50643      for ac_func in _modf
50644do :
50645  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50646if test "x$ac_cv_func__modf" = xyes; then :
50647  cat >>confdefs.h <<_ACEOF
50648#define HAVE__MODF 1
50649_ACEOF
50650
50651fi
50652done
50653
50654    fi
50655  fi
50656
50657
50658
50659
50660
50661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50662$as_echo_n "checking for powf declaration... " >&6; }
50663  if test x${glibcxx_cv_func_powf_use+set} != xset; then
50664    if ${glibcxx_cv_func_powf_use+:} false; then :
50665  $as_echo_n "(cached) " >&6
50666else
50667
50668
50669      ac_ext=cpp
50670ac_cpp='$CXXCPP $CPPFLAGS'
50671ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50672ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50673ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50674
50675      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50676/* end confdefs.h.  */
50677#include <math.h>
50678int
50679main ()
50680{
50681 powf(0, 0);
50682  ;
50683  return 0;
50684}
50685_ACEOF
50686if ac_fn_cxx_try_compile "$LINENO"; then :
50687  glibcxx_cv_func_powf_use=yes
50688else
50689  glibcxx_cv_func_powf_use=no
50690fi
50691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50692      ac_ext=c
50693ac_cpp='$CPP $CPPFLAGS'
50694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50696ac_compiler_gnu=$ac_cv_c_compiler_gnu
50697
50698
50699fi
50700
50701  fi
50702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50703$as_echo "$glibcxx_cv_func_powf_use" >&6; }
50704
50705  if test x$glibcxx_cv_func_powf_use = x"yes"; then
50706    for ac_func in powf
50707do :
50708  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50709if test "x$ac_cv_func_powf" = xyes; then :
50710  cat >>confdefs.h <<_ACEOF
50711#define HAVE_POWF 1
50712_ACEOF
50713
50714fi
50715done
50716
50717  else
50718
50719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50720$as_echo_n "checking for _powf declaration... " >&6; }
50721  if test x${glibcxx_cv_func__powf_use+set} != xset; then
50722    if ${glibcxx_cv_func__powf_use+:} false; then :
50723  $as_echo_n "(cached) " >&6
50724else
50725
50726
50727      ac_ext=cpp
50728ac_cpp='$CXXCPP $CPPFLAGS'
50729ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50730ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50731ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50732
50733      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50734/* end confdefs.h.  */
50735#include <math.h>
50736int
50737main ()
50738{
50739 _powf(0, 0);
50740  ;
50741  return 0;
50742}
50743_ACEOF
50744if ac_fn_cxx_try_compile "$LINENO"; then :
50745  glibcxx_cv_func__powf_use=yes
50746else
50747  glibcxx_cv_func__powf_use=no
50748fi
50749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50750      ac_ext=c
50751ac_cpp='$CPP $CPPFLAGS'
50752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50754ac_compiler_gnu=$ac_cv_c_compiler_gnu
50755
50756
50757fi
50758
50759  fi
50760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50761$as_echo "$glibcxx_cv_func__powf_use" >&6; }
50762
50763    if test x$glibcxx_cv_func__powf_use = x"yes"; then
50764      for ac_func in _powf
50765do :
50766  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50767if test "x$ac_cv_func__powf" = xyes; then :
50768  cat >>confdefs.h <<_ACEOF
50769#define HAVE__POWF 1
50770_ACEOF
50771
50772fi
50773done
50774
50775    fi
50776  fi
50777
50778
50779
50780
50781
50782  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50783$as_echo_n "checking for sqrtf declaration... " >&6; }
50784  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50785    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50786  $as_echo_n "(cached) " >&6
50787else
50788
50789
50790      ac_ext=cpp
50791ac_cpp='$CXXCPP $CPPFLAGS'
50792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50795
50796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50797/* end confdefs.h.  */
50798#include <math.h>
50799		      #ifdef HAVE_IEEEFP_H
50800		      #include <ieeefp.h>
50801		      #endif
50802
50803int
50804main ()
50805{
50806 sqrtf(0);
50807  ;
50808  return 0;
50809}
50810_ACEOF
50811if ac_fn_cxx_try_compile "$LINENO"; then :
50812  glibcxx_cv_func_sqrtf_use=yes
50813else
50814  glibcxx_cv_func_sqrtf_use=no
50815fi
50816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50817      ac_ext=c
50818ac_cpp='$CPP $CPPFLAGS'
50819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50821ac_compiler_gnu=$ac_cv_c_compiler_gnu
50822
50823
50824fi
50825
50826  fi
50827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50828$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50829
50830  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50831    for ac_func in sqrtf
50832do :
50833  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50834if test "x$ac_cv_func_sqrtf" = xyes; then :
50835  cat >>confdefs.h <<_ACEOF
50836#define HAVE_SQRTF 1
50837_ACEOF
50838
50839fi
50840done
50841
50842  else
50843
50844  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50845$as_echo_n "checking for _sqrtf declaration... " >&6; }
50846  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50847    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50848  $as_echo_n "(cached) " >&6
50849else
50850
50851
50852      ac_ext=cpp
50853ac_cpp='$CXXCPP $CPPFLAGS'
50854ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50855ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50856ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50857
50858      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50859/* end confdefs.h.  */
50860#include <math.h>
50861		      #ifdef HAVE_IEEEFP_H
50862		      #include <ieeefp.h>
50863		      #endif
50864
50865int
50866main ()
50867{
50868 _sqrtf(0);
50869  ;
50870  return 0;
50871}
50872_ACEOF
50873if ac_fn_cxx_try_compile "$LINENO"; then :
50874  glibcxx_cv_func__sqrtf_use=yes
50875else
50876  glibcxx_cv_func__sqrtf_use=no
50877fi
50878rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50879      ac_ext=c
50880ac_cpp='$CPP $CPPFLAGS'
50881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50883ac_compiler_gnu=$ac_cv_c_compiler_gnu
50884
50885
50886fi
50887
50888  fi
50889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50890$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50891
50892    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50893      for ac_func in _sqrtf
50894do :
50895  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50896if test "x$ac_cv_func__sqrtf" = xyes; then :
50897  cat >>confdefs.h <<_ACEOF
50898#define HAVE__SQRTF 1
50899_ACEOF
50900
50901fi
50902done
50903
50904    fi
50905  fi
50906
50907
50908
50909
50910
50911  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50912$as_echo_n "checking for sincosf declaration... " >&6; }
50913  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50914    if ${glibcxx_cv_func_sincosf_use+:} false; then :
50915  $as_echo_n "(cached) " >&6
50916else
50917
50918
50919      ac_ext=cpp
50920ac_cpp='$CXXCPP $CPPFLAGS'
50921ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50922ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50923ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50924
50925      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50926/* end confdefs.h.  */
50927#include <math.h>
50928int
50929main ()
50930{
50931 sincosf(0, 0, 0);
50932  ;
50933  return 0;
50934}
50935_ACEOF
50936if ac_fn_cxx_try_compile "$LINENO"; then :
50937  glibcxx_cv_func_sincosf_use=yes
50938else
50939  glibcxx_cv_func_sincosf_use=no
50940fi
50941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50942      ac_ext=c
50943ac_cpp='$CPP $CPPFLAGS'
50944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50946ac_compiler_gnu=$ac_cv_c_compiler_gnu
50947
50948
50949fi
50950
50951  fi
50952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50953$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50954
50955  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50956    for ac_func in sincosf
50957do :
50958  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50959if test "x$ac_cv_func_sincosf" = xyes; then :
50960  cat >>confdefs.h <<_ACEOF
50961#define HAVE_SINCOSF 1
50962_ACEOF
50963
50964fi
50965done
50966
50967  else
50968
50969  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50970$as_echo_n "checking for _sincosf declaration... " >&6; }
50971  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50972    if ${glibcxx_cv_func__sincosf_use+:} false; then :
50973  $as_echo_n "(cached) " >&6
50974else
50975
50976
50977      ac_ext=cpp
50978ac_cpp='$CXXCPP $CPPFLAGS'
50979ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50980ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50981ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50982
50983      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50984/* end confdefs.h.  */
50985#include <math.h>
50986int
50987main ()
50988{
50989 _sincosf(0, 0, 0);
50990  ;
50991  return 0;
50992}
50993_ACEOF
50994if ac_fn_cxx_try_compile "$LINENO"; then :
50995  glibcxx_cv_func__sincosf_use=yes
50996else
50997  glibcxx_cv_func__sincosf_use=no
50998fi
50999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51000      ac_ext=c
51001ac_cpp='$CPP $CPPFLAGS'
51002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51004ac_compiler_gnu=$ac_cv_c_compiler_gnu
51005
51006
51007fi
51008
51009  fi
51010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51011$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51012
51013    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51014      for ac_func in _sincosf
51015do :
51016  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51017if test "x$ac_cv_func__sincosf" = xyes; then :
51018  cat >>confdefs.h <<_ACEOF
51019#define HAVE__SINCOSF 1
51020_ACEOF
51021
51022fi
51023done
51024
51025    fi
51026  fi
51027
51028
51029
51030
51031
51032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51033$as_echo_n "checking for finitef declaration... " >&6; }
51034  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51035    if ${glibcxx_cv_func_finitef_use+:} false; then :
51036  $as_echo_n "(cached) " >&6
51037else
51038
51039
51040      ac_ext=cpp
51041ac_cpp='$CXXCPP $CPPFLAGS'
51042ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51043ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51044ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51045
51046      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51047/* end confdefs.h.  */
51048#include <math.h>
51049		      #ifdef HAVE_IEEEFP_H
51050		      #include <ieeefp.h>
51051		      #endif
51052
51053int
51054main ()
51055{
51056 finitef(0);
51057  ;
51058  return 0;
51059}
51060_ACEOF
51061if ac_fn_cxx_try_compile "$LINENO"; then :
51062  glibcxx_cv_func_finitef_use=yes
51063else
51064  glibcxx_cv_func_finitef_use=no
51065fi
51066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51067      ac_ext=c
51068ac_cpp='$CPP $CPPFLAGS'
51069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51071ac_compiler_gnu=$ac_cv_c_compiler_gnu
51072
51073
51074fi
51075
51076  fi
51077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51078$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51079
51080  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51081    for ac_func in finitef
51082do :
51083  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51084if test "x$ac_cv_func_finitef" = xyes; then :
51085  cat >>confdefs.h <<_ACEOF
51086#define HAVE_FINITEF 1
51087_ACEOF
51088
51089fi
51090done
51091
51092  else
51093
51094  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51095$as_echo_n "checking for _finitef declaration... " >&6; }
51096  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51097    if ${glibcxx_cv_func__finitef_use+:} false; then :
51098  $as_echo_n "(cached) " >&6
51099else
51100
51101
51102      ac_ext=cpp
51103ac_cpp='$CXXCPP $CPPFLAGS'
51104ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51105ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51106ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51107
51108      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51109/* end confdefs.h.  */
51110#include <math.h>
51111		      #ifdef HAVE_IEEEFP_H
51112		      #include <ieeefp.h>
51113		      #endif
51114
51115int
51116main ()
51117{
51118 _finitef(0);
51119  ;
51120  return 0;
51121}
51122_ACEOF
51123if ac_fn_cxx_try_compile "$LINENO"; then :
51124  glibcxx_cv_func__finitef_use=yes
51125else
51126  glibcxx_cv_func__finitef_use=no
51127fi
51128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51129      ac_ext=c
51130ac_cpp='$CPP $CPPFLAGS'
51131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51133ac_compiler_gnu=$ac_cv_c_compiler_gnu
51134
51135
51136fi
51137
51138  fi
51139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51140$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51141
51142    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51143      for ac_func in _finitef
51144do :
51145  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51146if test "x$ac_cv_func__finitef" = xyes; then :
51147  cat >>confdefs.h <<_ACEOF
51148#define HAVE__FINITEF 1
51149_ACEOF
51150
51151fi
51152done
51153
51154    fi
51155  fi
51156
51157
51158
51159
51160
51161    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51162$as_echo_n "checking for long double trig functions... " >&6; }
51163  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51164  $as_echo_n "(cached) " >&6
51165else
51166
51167
51168    ac_ext=cpp
51169ac_cpp='$CXXCPP $CPPFLAGS'
51170ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51171ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51172ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51173
51174    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51175/* end confdefs.h.  */
51176#include <math.h>
51177int
51178main ()
51179{
51180acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51181  ;
51182  return 0;
51183}
51184_ACEOF
51185if ac_fn_cxx_try_compile "$LINENO"; then :
51186  glibcxx_cv_func_long_double_trig_use=yes
51187else
51188  glibcxx_cv_func_long_double_trig_use=no
51189fi
51190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51191    ac_ext=c
51192ac_cpp='$CPP $CPPFLAGS'
51193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195ac_compiler_gnu=$ac_cv_c_compiler_gnu
51196
51197fi
51198
51199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51200$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51201  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51202    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51203do :
51204  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51205ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51206if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51207  cat >>confdefs.h <<_ACEOF
51208#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51209_ACEOF
51210
51211fi
51212done
51213
51214  else
51215    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51216$as_echo_n "checking for _long double trig functions... " >&6; }
51217    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51218  $as_echo_n "(cached) " >&6
51219else
51220
51221
51222      ac_ext=cpp
51223ac_cpp='$CXXCPP $CPPFLAGS'
51224ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51225ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51226ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51227
51228      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51229/* end confdefs.h.  */
51230#include <math.h>
51231int
51232main ()
51233{
51234_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51235  ;
51236  return 0;
51237}
51238_ACEOF
51239if ac_fn_cxx_try_compile "$LINENO"; then :
51240  glibcxx_cv_func__long_double_trig_use=yes
51241else
51242  glibcxx_cv_func__long_double_trig_use=no
51243fi
51244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51245      ac_ext=c
51246ac_cpp='$CPP $CPPFLAGS'
51247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51249ac_compiler_gnu=$ac_cv_c_compiler_gnu
51250
51251fi
51252
51253    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51254$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51255    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51256      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51257do :
51258  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51259ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51260if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51261  cat >>confdefs.h <<_ACEOF
51262#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51263_ACEOF
51264
51265fi
51266done
51267
51268    fi
51269  fi
51270
51271
51272
51273
51274
51275    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51276$as_echo_n "checking for long double round functions... " >&6; }
51277  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51278  $as_echo_n "(cached) " >&6
51279else
51280
51281
51282    ac_ext=cpp
51283ac_cpp='$CXXCPP $CPPFLAGS'
51284ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51285ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51286ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51287
51288    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51289/* end confdefs.h.  */
51290#include <math.h>
51291int
51292main ()
51293{
51294ceill (0); floorl (0);
51295  ;
51296  return 0;
51297}
51298_ACEOF
51299if ac_fn_cxx_try_compile "$LINENO"; then :
51300  glibcxx_cv_func_long_double_round_use=yes
51301else
51302  glibcxx_cv_func_long_double_round_use=no
51303fi
51304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51305    ac_ext=c
51306ac_cpp='$CPP $CPPFLAGS'
51307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51309ac_compiler_gnu=$ac_cv_c_compiler_gnu
51310
51311fi
51312
51313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51314$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51315  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51316    for ac_func in ceill floorl
51317do :
51318  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51319ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51320if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51321  cat >>confdefs.h <<_ACEOF
51322#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51323_ACEOF
51324
51325fi
51326done
51327
51328  else
51329    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51330$as_echo_n "checking for _long double round functions... " >&6; }
51331    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51332  $as_echo_n "(cached) " >&6
51333else
51334
51335
51336      ac_ext=cpp
51337ac_cpp='$CXXCPP $CPPFLAGS'
51338ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51339ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51340ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51341
51342      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51343/* end confdefs.h.  */
51344#include <math.h>
51345int
51346main ()
51347{
51348_ceill (0); _floorl (0);
51349  ;
51350  return 0;
51351}
51352_ACEOF
51353if ac_fn_cxx_try_compile "$LINENO"; then :
51354  glibcxx_cv_func__long_double_round_use=yes
51355else
51356  glibcxx_cv_func__long_double_round_use=no
51357fi
51358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51359      ac_ext=c
51360ac_cpp='$CPP $CPPFLAGS'
51361ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51362ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51363ac_compiler_gnu=$ac_cv_c_compiler_gnu
51364
51365fi
51366
51367    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51368$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51369    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51370      for ac_func in _ceill _floorl
51371do :
51372  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51373ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51374if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51375  cat >>confdefs.h <<_ACEOF
51376#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51377_ACEOF
51378
51379fi
51380done
51381
51382    fi
51383  fi
51384
51385
51386
51387
51388
51389
51390  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51391$as_echo_n "checking for isnanl declaration... " >&6; }
51392  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51393    if ${glibcxx_cv_func_isnanl_use+:} false; then :
51394  $as_echo_n "(cached) " >&6
51395else
51396
51397
51398      ac_ext=cpp
51399ac_cpp='$CXXCPP $CPPFLAGS'
51400ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51401ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51402ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51403
51404      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51405/* end confdefs.h.  */
51406#include <math.h>
51407		      #ifdef HAVE_IEEEFP_H
51408		      #include <ieeefp.h>
51409		      #endif
51410
51411int
51412main ()
51413{
51414 isnanl(0);
51415  ;
51416  return 0;
51417}
51418_ACEOF
51419if ac_fn_cxx_try_compile "$LINENO"; then :
51420  glibcxx_cv_func_isnanl_use=yes
51421else
51422  glibcxx_cv_func_isnanl_use=no
51423fi
51424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51425      ac_ext=c
51426ac_cpp='$CPP $CPPFLAGS'
51427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51429ac_compiler_gnu=$ac_cv_c_compiler_gnu
51430
51431
51432fi
51433
51434  fi
51435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51436$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51437
51438  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51439    for ac_func in isnanl
51440do :
51441  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51442if test "x$ac_cv_func_isnanl" = xyes; then :
51443  cat >>confdefs.h <<_ACEOF
51444#define HAVE_ISNANL 1
51445_ACEOF
51446
51447fi
51448done
51449
51450  else
51451
51452  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51453$as_echo_n "checking for _isnanl declaration... " >&6; }
51454  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51455    if ${glibcxx_cv_func__isnanl_use+:} false; then :
51456  $as_echo_n "(cached) " >&6
51457else
51458
51459
51460      ac_ext=cpp
51461ac_cpp='$CXXCPP $CPPFLAGS'
51462ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51463ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51464ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51465
51466      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51467/* end confdefs.h.  */
51468#include <math.h>
51469		      #ifdef HAVE_IEEEFP_H
51470		      #include <ieeefp.h>
51471		      #endif
51472
51473int
51474main ()
51475{
51476 _isnanl(0);
51477  ;
51478  return 0;
51479}
51480_ACEOF
51481if ac_fn_cxx_try_compile "$LINENO"; then :
51482  glibcxx_cv_func__isnanl_use=yes
51483else
51484  glibcxx_cv_func__isnanl_use=no
51485fi
51486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51487      ac_ext=c
51488ac_cpp='$CPP $CPPFLAGS'
51489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51491ac_compiler_gnu=$ac_cv_c_compiler_gnu
51492
51493
51494fi
51495
51496  fi
51497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51498$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51499
51500    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51501      for ac_func in _isnanl
51502do :
51503  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51504if test "x$ac_cv_func__isnanl" = xyes; then :
51505  cat >>confdefs.h <<_ACEOF
51506#define HAVE__ISNANL 1
51507_ACEOF
51508
51509fi
51510done
51511
51512    fi
51513  fi
51514
51515
51516
51517
51518
51519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51520$as_echo_n "checking for isinfl declaration... " >&6; }
51521  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51522    if ${glibcxx_cv_func_isinfl_use+:} false; then :
51523  $as_echo_n "(cached) " >&6
51524else
51525
51526
51527      ac_ext=cpp
51528ac_cpp='$CXXCPP $CPPFLAGS'
51529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51532
51533      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51534/* end confdefs.h.  */
51535#include <math.h>
51536		      #ifdef HAVE_IEEEFP_H
51537		      #include <ieeefp.h>
51538		      #endif
51539
51540int
51541main ()
51542{
51543 isinfl(0);
51544  ;
51545  return 0;
51546}
51547_ACEOF
51548if ac_fn_cxx_try_compile "$LINENO"; then :
51549  glibcxx_cv_func_isinfl_use=yes
51550else
51551  glibcxx_cv_func_isinfl_use=no
51552fi
51553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51554      ac_ext=c
51555ac_cpp='$CPP $CPPFLAGS'
51556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51558ac_compiler_gnu=$ac_cv_c_compiler_gnu
51559
51560
51561fi
51562
51563  fi
51564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51565$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51566
51567  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51568    for ac_func in isinfl
51569do :
51570  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51571if test "x$ac_cv_func_isinfl" = xyes; then :
51572  cat >>confdefs.h <<_ACEOF
51573#define HAVE_ISINFL 1
51574_ACEOF
51575
51576fi
51577done
51578
51579  else
51580
51581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51582$as_echo_n "checking for _isinfl declaration... " >&6; }
51583  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51584    if ${glibcxx_cv_func__isinfl_use+:} false; then :
51585  $as_echo_n "(cached) " >&6
51586else
51587
51588
51589      ac_ext=cpp
51590ac_cpp='$CXXCPP $CPPFLAGS'
51591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51594
51595      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51596/* end confdefs.h.  */
51597#include <math.h>
51598		      #ifdef HAVE_IEEEFP_H
51599		      #include <ieeefp.h>
51600		      #endif
51601
51602int
51603main ()
51604{
51605 _isinfl(0);
51606  ;
51607  return 0;
51608}
51609_ACEOF
51610if ac_fn_cxx_try_compile "$LINENO"; then :
51611  glibcxx_cv_func__isinfl_use=yes
51612else
51613  glibcxx_cv_func__isinfl_use=no
51614fi
51615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51616      ac_ext=c
51617ac_cpp='$CPP $CPPFLAGS'
51618ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51619ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51620ac_compiler_gnu=$ac_cv_c_compiler_gnu
51621
51622
51623fi
51624
51625  fi
51626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51627$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51628
51629    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51630      for ac_func in _isinfl
51631do :
51632  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51633if test "x$ac_cv_func__isinfl" = xyes; then :
51634  cat >>confdefs.h <<_ACEOF
51635#define HAVE__ISINFL 1
51636_ACEOF
51637
51638fi
51639done
51640
51641    fi
51642  fi
51643
51644
51645
51646
51647
51648  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51649$as_echo_n "checking for atan2l declaration... " >&6; }
51650  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51651    if ${glibcxx_cv_func_atan2l_use+:} false; then :
51652  $as_echo_n "(cached) " >&6
51653else
51654
51655
51656      ac_ext=cpp
51657ac_cpp='$CXXCPP $CPPFLAGS'
51658ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51659ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51660ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51661
51662      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51663/* end confdefs.h.  */
51664#include <math.h>
51665int
51666main ()
51667{
51668 atan2l(0, 0);
51669  ;
51670  return 0;
51671}
51672_ACEOF
51673if ac_fn_cxx_try_compile "$LINENO"; then :
51674  glibcxx_cv_func_atan2l_use=yes
51675else
51676  glibcxx_cv_func_atan2l_use=no
51677fi
51678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51679      ac_ext=c
51680ac_cpp='$CPP $CPPFLAGS'
51681ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51682ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51683ac_compiler_gnu=$ac_cv_c_compiler_gnu
51684
51685
51686fi
51687
51688  fi
51689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51690$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51691
51692  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51693    for ac_func in atan2l
51694do :
51695  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51696if test "x$ac_cv_func_atan2l" = xyes; then :
51697  cat >>confdefs.h <<_ACEOF
51698#define HAVE_ATAN2L 1
51699_ACEOF
51700
51701fi
51702done
51703
51704  else
51705
51706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51707$as_echo_n "checking for _atan2l declaration... " >&6; }
51708  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51709    if ${glibcxx_cv_func__atan2l_use+:} false; then :
51710  $as_echo_n "(cached) " >&6
51711else
51712
51713
51714      ac_ext=cpp
51715ac_cpp='$CXXCPP $CPPFLAGS'
51716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51719
51720      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51721/* end confdefs.h.  */
51722#include <math.h>
51723int
51724main ()
51725{
51726 _atan2l(0, 0);
51727  ;
51728  return 0;
51729}
51730_ACEOF
51731if ac_fn_cxx_try_compile "$LINENO"; then :
51732  glibcxx_cv_func__atan2l_use=yes
51733else
51734  glibcxx_cv_func__atan2l_use=no
51735fi
51736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51737      ac_ext=c
51738ac_cpp='$CPP $CPPFLAGS'
51739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51741ac_compiler_gnu=$ac_cv_c_compiler_gnu
51742
51743
51744fi
51745
51746  fi
51747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51748$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51749
51750    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51751      for ac_func in _atan2l
51752do :
51753  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51754if test "x$ac_cv_func__atan2l" = xyes; then :
51755  cat >>confdefs.h <<_ACEOF
51756#define HAVE__ATAN2L 1
51757_ACEOF
51758
51759fi
51760done
51761
51762    fi
51763  fi
51764
51765
51766
51767
51768
51769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51770$as_echo_n "checking for expl declaration... " >&6; }
51771  if test x${glibcxx_cv_func_expl_use+set} != xset; then
51772    if ${glibcxx_cv_func_expl_use+:} false; then :
51773  $as_echo_n "(cached) " >&6
51774else
51775
51776
51777      ac_ext=cpp
51778ac_cpp='$CXXCPP $CPPFLAGS'
51779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51782
51783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51784/* end confdefs.h.  */
51785#include <math.h>
51786		      #ifdef HAVE_IEEEFP_H
51787		      #include <ieeefp.h>
51788		      #endif
51789
51790int
51791main ()
51792{
51793 expl(0);
51794  ;
51795  return 0;
51796}
51797_ACEOF
51798if ac_fn_cxx_try_compile "$LINENO"; then :
51799  glibcxx_cv_func_expl_use=yes
51800else
51801  glibcxx_cv_func_expl_use=no
51802fi
51803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51804      ac_ext=c
51805ac_cpp='$CPP $CPPFLAGS'
51806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51808ac_compiler_gnu=$ac_cv_c_compiler_gnu
51809
51810
51811fi
51812
51813  fi
51814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51815$as_echo "$glibcxx_cv_func_expl_use" >&6; }
51816
51817  if test x$glibcxx_cv_func_expl_use = x"yes"; then
51818    for ac_func in expl
51819do :
51820  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51821if test "x$ac_cv_func_expl" = xyes; then :
51822  cat >>confdefs.h <<_ACEOF
51823#define HAVE_EXPL 1
51824_ACEOF
51825
51826fi
51827done
51828
51829  else
51830
51831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51832$as_echo_n "checking for _expl declaration... " >&6; }
51833  if test x${glibcxx_cv_func__expl_use+set} != xset; then
51834    if ${glibcxx_cv_func__expl_use+:} false; then :
51835  $as_echo_n "(cached) " >&6
51836else
51837
51838
51839      ac_ext=cpp
51840ac_cpp='$CXXCPP $CPPFLAGS'
51841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51842ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51844
51845      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51846/* end confdefs.h.  */
51847#include <math.h>
51848		      #ifdef HAVE_IEEEFP_H
51849		      #include <ieeefp.h>
51850		      #endif
51851
51852int
51853main ()
51854{
51855 _expl(0);
51856  ;
51857  return 0;
51858}
51859_ACEOF
51860if ac_fn_cxx_try_compile "$LINENO"; then :
51861  glibcxx_cv_func__expl_use=yes
51862else
51863  glibcxx_cv_func__expl_use=no
51864fi
51865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51866      ac_ext=c
51867ac_cpp='$CPP $CPPFLAGS'
51868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51870ac_compiler_gnu=$ac_cv_c_compiler_gnu
51871
51872
51873fi
51874
51875  fi
51876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51877$as_echo "$glibcxx_cv_func__expl_use" >&6; }
51878
51879    if test x$glibcxx_cv_func__expl_use = x"yes"; then
51880      for ac_func in _expl
51881do :
51882  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51883if test "x$ac_cv_func__expl" = xyes; then :
51884  cat >>confdefs.h <<_ACEOF
51885#define HAVE__EXPL 1
51886_ACEOF
51887
51888fi
51889done
51890
51891    fi
51892  fi
51893
51894
51895
51896
51897
51898  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51899$as_echo_n "checking for fabsl declaration... " >&6; }
51900  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51901    if ${glibcxx_cv_func_fabsl_use+:} false; then :
51902  $as_echo_n "(cached) " >&6
51903else
51904
51905
51906      ac_ext=cpp
51907ac_cpp='$CXXCPP $CPPFLAGS'
51908ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51909ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51910ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51911
51912      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51913/* end confdefs.h.  */
51914#include <math.h>
51915		      #ifdef HAVE_IEEEFP_H
51916		      #include <ieeefp.h>
51917		      #endif
51918
51919int
51920main ()
51921{
51922 fabsl(0);
51923  ;
51924  return 0;
51925}
51926_ACEOF
51927if ac_fn_cxx_try_compile "$LINENO"; then :
51928  glibcxx_cv_func_fabsl_use=yes
51929else
51930  glibcxx_cv_func_fabsl_use=no
51931fi
51932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51933      ac_ext=c
51934ac_cpp='$CPP $CPPFLAGS'
51935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937ac_compiler_gnu=$ac_cv_c_compiler_gnu
51938
51939
51940fi
51941
51942  fi
51943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51944$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51945
51946  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51947    for ac_func in fabsl
51948do :
51949  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51950if test "x$ac_cv_func_fabsl" = xyes; then :
51951  cat >>confdefs.h <<_ACEOF
51952#define HAVE_FABSL 1
51953_ACEOF
51954
51955fi
51956done
51957
51958  else
51959
51960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51961$as_echo_n "checking for _fabsl declaration... " >&6; }
51962  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51963    if ${glibcxx_cv_func__fabsl_use+:} false; then :
51964  $as_echo_n "(cached) " >&6
51965else
51966
51967
51968      ac_ext=cpp
51969ac_cpp='$CXXCPP $CPPFLAGS'
51970ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51971ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51972ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51973
51974      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51975/* end confdefs.h.  */
51976#include <math.h>
51977		      #ifdef HAVE_IEEEFP_H
51978		      #include <ieeefp.h>
51979		      #endif
51980
51981int
51982main ()
51983{
51984 _fabsl(0);
51985  ;
51986  return 0;
51987}
51988_ACEOF
51989if ac_fn_cxx_try_compile "$LINENO"; then :
51990  glibcxx_cv_func__fabsl_use=yes
51991else
51992  glibcxx_cv_func__fabsl_use=no
51993fi
51994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51995      ac_ext=c
51996ac_cpp='$CPP $CPPFLAGS'
51997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999ac_compiler_gnu=$ac_cv_c_compiler_gnu
52000
52001
52002fi
52003
52004  fi
52005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52006$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52007
52008    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52009      for ac_func in _fabsl
52010do :
52011  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52012if test "x$ac_cv_func__fabsl" = xyes; then :
52013  cat >>confdefs.h <<_ACEOF
52014#define HAVE__FABSL 1
52015_ACEOF
52016
52017fi
52018done
52019
52020    fi
52021  fi
52022
52023
52024
52025
52026
52027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52028$as_echo_n "checking for fmodl declaration... " >&6; }
52029  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52030    if ${glibcxx_cv_func_fmodl_use+:} false; then :
52031  $as_echo_n "(cached) " >&6
52032else
52033
52034
52035      ac_ext=cpp
52036ac_cpp='$CXXCPP $CPPFLAGS'
52037ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52038ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52039ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52040
52041      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52042/* end confdefs.h.  */
52043#include <math.h>
52044int
52045main ()
52046{
52047 fmodl(0, 0);
52048  ;
52049  return 0;
52050}
52051_ACEOF
52052if ac_fn_cxx_try_compile "$LINENO"; then :
52053  glibcxx_cv_func_fmodl_use=yes
52054else
52055  glibcxx_cv_func_fmodl_use=no
52056fi
52057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52058      ac_ext=c
52059ac_cpp='$CPP $CPPFLAGS'
52060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52062ac_compiler_gnu=$ac_cv_c_compiler_gnu
52063
52064
52065fi
52066
52067  fi
52068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52069$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52070
52071  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52072    for ac_func in fmodl
52073do :
52074  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52075if test "x$ac_cv_func_fmodl" = xyes; then :
52076  cat >>confdefs.h <<_ACEOF
52077#define HAVE_FMODL 1
52078_ACEOF
52079
52080fi
52081done
52082
52083  else
52084
52085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52086$as_echo_n "checking for _fmodl declaration... " >&6; }
52087  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52088    if ${glibcxx_cv_func__fmodl_use+:} false; then :
52089  $as_echo_n "(cached) " >&6
52090else
52091
52092
52093      ac_ext=cpp
52094ac_cpp='$CXXCPP $CPPFLAGS'
52095ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52096ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52097ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52098
52099      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52100/* end confdefs.h.  */
52101#include <math.h>
52102int
52103main ()
52104{
52105 _fmodl(0, 0);
52106  ;
52107  return 0;
52108}
52109_ACEOF
52110if ac_fn_cxx_try_compile "$LINENO"; then :
52111  glibcxx_cv_func__fmodl_use=yes
52112else
52113  glibcxx_cv_func__fmodl_use=no
52114fi
52115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52116      ac_ext=c
52117ac_cpp='$CPP $CPPFLAGS'
52118ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52119ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52120ac_compiler_gnu=$ac_cv_c_compiler_gnu
52121
52122
52123fi
52124
52125  fi
52126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52127$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52128
52129    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52130      for ac_func in _fmodl
52131do :
52132  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52133if test "x$ac_cv_func__fmodl" = xyes; then :
52134  cat >>confdefs.h <<_ACEOF
52135#define HAVE__FMODL 1
52136_ACEOF
52137
52138fi
52139done
52140
52141    fi
52142  fi
52143
52144
52145
52146
52147
52148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52149$as_echo_n "checking for frexpl declaration... " >&6; }
52150  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52151    if ${glibcxx_cv_func_frexpl_use+:} false; then :
52152  $as_echo_n "(cached) " >&6
52153else
52154
52155
52156      ac_ext=cpp
52157ac_cpp='$CXXCPP $CPPFLAGS'
52158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52161
52162      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52163/* end confdefs.h.  */
52164#include <math.h>
52165int
52166main ()
52167{
52168 frexpl(0, 0);
52169  ;
52170  return 0;
52171}
52172_ACEOF
52173if ac_fn_cxx_try_compile "$LINENO"; then :
52174  glibcxx_cv_func_frexpl_use=yes
52175else
52176  glibcxx_cv_func_frexpl_use=no
52177fi
52178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52179      ac_ext=c
52180ac_cpp='$CPP $CPPFLAGS'
52181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52183ac_compiler_gnu=$ac_cv_c_compiler_gnu
52184
52185
52186fi
52187
52188  fi
52189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52190$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52191
52192  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52193    for ac_func in frexpl
52194do :
52195  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52196if test "x$ac_cv_func_frexpl" = xyes; then :
52197  cat >>confdefs.h <<_ACEOF
52198#define HAVE_FREXPL 1
52199_ACEOF
52200
52201fi
52202done
52203
52204  else
52205
52206  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52207$as_echo_n "checking for _frexpl declaration... " >&6; }
52208  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52209    if ${glibcxx_cv_func__frexpl_use+:} false; then :
52210  $as_echo_n "(cached) " >&6
52211else
52212
52213
52214      ac_ext=cpp
52215ac_cpp='$CXXCPP $CPPFLAGS'
52216ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52219
52220      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52221/* end confdefs.h.  */
52222#include <math.h>
52223int
52224main ()
52225{
52226 _frexpl(0, 0);
52227  ;
52228  return 0;
52229}
52230_ACEOF
52231if ac_fn_cxx_try_compile "$LINENO"; then :
52232  glibcxx_cv_func__frexpl_use=yes
52233else
52234  glibcxx_cv_func__frexpl_use=no
52235fi
52236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52237      ac_ext=c
52238ac_cpp='$CPP $CPPFLAGS'
52239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52241ac_compiler_gnu=$ac_cv_c_compiler_gnu
52242
52243
52244fi
52245
52246  fi
52247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52248$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52249
52250    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52251      for ac_func in _frexpl
52252do :
52253  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52254if test "x$ac_cv_func__frexpl" = xyes; then :
52255  cat >>confdefs.h <<_ACEOF
52256#define HAVE__FREXPL 1
52257_ACEOF
52258
52259fi
52260done
52261
52262    fi
52263  fi
52264
52265
52266
52267
52268
52269  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52270$as_echo_n "checking for hypotl declaration... " >&6; }
52271  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52272    if ${glibcxx_cv_func_hypotl_use+:} false; then :
52273  $as_echo_n "(cached) " >&6
52274else
52275
52276
52277      ac_ext=cpp
52278ac_cpp='$CXXCPP $CPPFLAGS'
52279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52282
52283      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52284/* end confdefs.h.  */
52285#include <math.h>
52286int
52287main ()
52288{
52289 hypotl(0, 0);
52290  ;
52291  return 0;
52292}
52293_ACEOF
52294if ac_fn_cxx_try_compile "$LINENO"; then :
52295  glibcxx_cv_func_hypotl_use=yes
52296else
52297  glibcxx_cv_func_hypotl_use=no
52298fi
52299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52300      ac_ext=c
52301ac_cpp='$CPP $CPPFLAGS'
52302ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52303ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52304ac_compiler_gnu=$ac_cv_c_compiler_gnu
52305
52306
52307fi
52308
52309  fi
52310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52311$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52312
52313  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52314    for ac_func in hypotl
52315do :
52316  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52317if test "x$ac_cv_func_hypotl" = xyes; then :
52318  cat >>confdefs.h <<_ACEOF
52319#define HAVE_HYPOTL 1
52320_ACEOF
52321
52322fi
52323done
52324
52325  else
52326
52327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52328$as_echo_n "checking for _hypotl declaration... " >&6; }
52329  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52330    if ${glibcxx_cv_func__hypotl_use+:} false; then :
52331  $as_echo_n "(cached) " >&6
52332else
52333
52334
52335      ac_ext=cpp
52336ac_cpp='$CXXCPP $CPPFLAGS'
52337ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52340
52341      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52342/* end confdefs.h.  */
52343#include <math.h>
52344int
52345main ()
52346{
52347 _hypotl(0, 0);
52348  ;
52349  return 0;
52350}
52351_ACEOF
52352if ac_fn_cxx_try_compile "$LINENO"; then :
52353  glibcxx_cv_func__hypotl_use=yes
52354else
52355  glibcxx_cv_func__hypotl_use=no
52356fi
52357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52358      ac_ext=c
52359ac_cpp='$CPP $CPPFLAGS'
52360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52362ac_compiler_gnu=$ac_cv_c_compiler_gnu
52363
52364
52365fi
52366
52367  fi
52368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52369$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52370
52371    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52372      for ac_func in _hypotl
52373do :
52374  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52375if test "x$ac_cv_func__hypotl" = xyes; then :
52376  cat >>confdefs.h <<_ACEOF
52377#define HAVE__HYPOTL 1
52378_ACEOF
52379
52380fi
52381done
52382
52383    fi
52384  fi
52385
52386
52387
52388
52389
52390  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52391$as_echo_n "checking for ldexpl declaration... " >&6; }
52392  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52393    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52394  $as_echo_n "(cached) " >&6
52395else
52396
52397
52398      ac_ext=cpp
52399ac_cpp='$CXXCPP $CPPFLAGS'
52400ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52403
52404      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52405/* end confdefs.h.  */
52406#include <math.h>
52407int
52408main ()
52409{
52410 ldexpl(0, 0);
52411  ;
52412  return 0;
52413}
52414_ACEOF
52415if ac_fn_cxx_try_compile "$LINENO"; then :
52416  glibcxx_cv_func_ldexpl_use=yes
52417else
52418  glibcxx_cv_func_ldexpl_use=no
52419fi
52420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52421      ac_ext=c
52422ac_cpp='$CPP $CPPFLAGS'
52423ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52424ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52425ac_compiler_gnu=$ac_cv_c_compiler_gnu
52426
52427
52428fi
52429
52430  fi
52431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52432$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52433
52434  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52435    for ac_func in ldexpl
52436do :
52437  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52438if test "x$ac_cv_func_ldexpl" = xyes; then :
52439  cat >>confdefs.h <<_ACEOF
52440#define HAVE_LDEXPL 1
52441_ACEOF
52442
52443fi
52444done
52445
52446  else
52447
52448  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52449$as_echo_n "checking for _ldexpl declaration... " >&6; }
52450  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52451    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52452  $as_echo_n "(cached) " >&6
52453else
52454
52455
52456      ac_ext=cpp
52457ac_cpp='$CXXCPP $CPPFLAGS'
52458ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52461
52462      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52463/* end confdefs.h.  */
52464#include <math.h>
52465int
52466main ()
52467{
52468 _ldexpl(0, 0);
52469  ;
52470  return 0;
52471}
52472_ACEOF
52473if ac_fn_cxx_try_compile "$LINENO"; then :
52474  glibcxx_cv_func__ldexpl_use=yes
52475else
52476  glibcxx_cv_func__ldexpl_use=no
52477fi
52478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52479      ac_ext=c
52480ac_cpp='$CPP $CPPFLAGS'
52481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52483ac_compiler_gnu=$ac_cv_c_compiler_gnu
52484
52485
52486fi
52487
52488  fi
52489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52490$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52491
52492    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52493      for ac_func in _ldexpl
52494do :
52495  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52496if test "x$ac_cv_func__ldexpl" = xyes; then :
52497  cat >>confdefs.h <<_ACEOF
52498#define HAVE__LDEXPL 1
52499_ACEOF
52500
52501fi
52502done
52503
52504    fi
52505  fi
52506
52507
52508
52509
52510
52511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52512$as_echo_n "checking for logl declaration... " >&6; }
52513  if test x${glibcxx_cv_func_logl_use+set} != xset; then
52514    if ${glibcxx_cv_func_logl_use+:} false; then :
52515  $as_echo_n "(cached) " >&6
52516else
52517
52518
52519      ac_ext=cpp
52520ac_cpp='$CXXCPP $CPPFLAGS'
52521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52524
52525      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52526/* end confdefs.h.  */
52527#include <math.h>
52528		      #ifdef HAVE_IEEEFP_H
52529		      #include <ieeefp.h>
52530		      #endif
52531
52532int
52533main ()
52534{
52535 logl(0);
52536  ;
52537  return 0;
52538}
52539_ACEOF
52540if ac_fn_cxx_try_compile "$LINENO"; then :
52541  glibcxx_cv_func_logl_use=yes
52542else
52543  glibcxx_cv_func_logl_use=no
52544fi
52545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52546      ac_ext=c
52547ac_cpp='$CPP $CPPFLAGS'
52548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52550ac_compiler_gnu=$ac_cv_c_compiler_gnu
52551
52552
52553fi
52554
52555  fi
52556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52557$as_echo "$glibcxx_cv_func_logl_use" >&6; }
52558
52559  if test x$glibcxx_cv_func_logl_use = x"yes"; then
52560    for ac_func in logl
52561do :
52562  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52563if test "x$ac_cv_func_logl" = xyes; then :
52564  cat >>confdefs.h <<_ACEOF
52565#define HAVE_LOGL 1
52566_ACEOF
52567
52568fi
52569done
52570
52571  else
52572
52573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52574$as_echo_n "checking for _logl declaration... " >&6; }
52575  if test x${glibcxx_cv_func__logl_use+set} != xset; then
52576    if ${glibcxx_cv_func__logl_use+:} false; then :
52577  $as_echo_n "(cached) " >&6
52578else
52579
52580
52581      ac_ext=cpp
52582ac_cpp='$CXXCPP $CPPFLAGS'
52583ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52584ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52585ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52586
52587      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52588/* end confdefs.h.  */
52589#include <math.h>
52590		      #ifdef HAVE_IEEEFP_H
52591		      #include <ieeefp.h>
52592		      #endif
52593
52594int
52595main ()
52596{
52597 _logl(0);
52598  ;
52599  return 0;
52600}
52601_ACEOF
52602if ac_fn_cxx_try_compile "$LINENO"; then :
52603  glibcxx_cv_func__logl_use=yes
52604else
52605  glibcxx_cv_func__logl_use=no
52606fi
52607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52608      ac_ext=c
52609ac_cpp='$CPP $CPPFLAGS'
52610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52612ac_compiler_gnu=$ac_cv_c_compiler_gnu
52613
52614
52615fi
52616
52617  fi
52618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52619$as_echo "$glibcxx_cv_func__logl_use" >&6; }
52620
52621    if test x$glibcxx_cv_func__logl_use = x"yes"; then
52622      for ac_func in _logl
52623do :
52624  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52625if test "x$ac_cv_func__logl" = xyes; then :
52626  cat >>confdefs.h <<_ACEOF
52627#define HAVE__LOGL 1
52628_ACEOF
52629
52630fi
52631done
52632
52633    fi
52634  fi
52635
52636
52637
52638
52639
52640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52641$as_echo_n "checking for log10l declaration... " >&6; }
52642  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52643    if ${glibcxx_cv_func_log10l_use+:} false; then :
52644  $as_echo_n "(cached) " >&6
52645else
52646
52647
52648      ac_ext=cpp
52649ac_cpp='$CXXCPP $CPPFLAGS'
52650ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52653
52654      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52655/* end confdefs.h.  */
52656#include <math.h>
52657		      #ifdef HAVE_IEEEFP_H
52658		      #include <ieeefp.h>
52659		      #endif
52660
52661int
52662main ()
52663{
52664 log10l(0);
52665  ;
52666  return 0;
52667}
52668_ACEOF
52669if ac_fn_cxx_try_compile "$LINENO"; then :
52670  glibcxx_cv_func_log10l_use=yes
52671else
52672  glibcxx_cv_func_log10l_use=no
52673fi
52674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52675      ac_ext=c
52676ac_cpp='$CPP $CPPFLAGS'
52677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52679ac_compiler_gnu=$ac_cv_c_compiler_gnu
52680
52681
52682fi
52683
52684  fi
52685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52686$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52687
52688  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52689    for ac_func in log10l
52690do :
52691  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52692if test "x$ac_cv_func_log10l" = xyes; then :
52693  cat >>confdefs.h <<_ACEOF
52694#define HAVE_LOG10L 1
52695_ACEOF
52696
52697fi
52698done
52699
52700  else
52701
52702  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52703$as_echo_n "checking for _log10l declaration... " >&6; }
52704  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52705    if ${glibcxx_cv_func__log10l_use+:} false; then :
52706  $as_echo_n "(cached) " >&6
52707else
52708
52709
52710      ac_ext=cpp
52711ac_cpp='$CXXCPP $CPPFLAGS'
52712ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52715
52716      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52717/* end confdefs.h.  */
52718#include <math.h>
52719		      #ifdef HAVE_IEEEFP_H
52720		      #include <ieeefp.h>
52721		      #endif
52722
52723int
52724main ()
52725{
52726 _log10l(0);
52727  ;
52728  return 0;
52729}
52730_ACEOF
52731if ac_fn_cxx_try_compile "$LINENO"; then :
52732  glibcxx_cv_func__log10l_use=yes
52733else
52734  glibcxx_cv_func__log10l_use=no
52735fi
52736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52737      ac_ext=c
52738ac_cpp='$CPP $CPPFLAGS'
52739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52741ac_compiler_gnu=$ac_cv_c_compiler_gnu
52742
52743
52744fi
52745
52746  fi
52747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52748$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52749
52750    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52751      for ac_func in _log10l
52752do :
52753  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52754if test "x$ac_cv_func__log10l" = xyes; then :
52755  cat >>confdefs.h <<_ACEOF
52756#define HAVE__LOG10L 1
52757_ACEOF
52758
52759fi
52760done
52761
52762    fi
52763  fi
52764
52765
52766
52767
52768
52769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52770$as_echo_n "checking for modfl declaration... " >&6; }
52771  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52772    if ${glibcxx_cv_func_modfl_use+:} false; then :
52773  $as_echo_n "(cached) " >&6
52774else
52775
52776
52777      ac_ext=cpp
52778ac_cpp='$CXXCPP $CPPFLAGS'
52779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52782
52783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52784/* end confdefs.h.  */
52785#include <math.h>
52786int
52787main ()
52788{
52789 modfl(0, 0);
52790  ;
52791  return 0;
52792}
52793_ACEOF
52794if ac_fn_cxx_try_compile "$LINENO"; then :
52795  glibcxx_cv_func_modfl_use=yes
52796else
52797  glibcxx_cv_func_modfl_use=no
52798fi
52799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52800      ac_ext=c
52801ac_cpp='$CPP $CPPFLAGS'
52802ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52803ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52804ac_compiler_gnu=$ac_cv_c_compiler_gnu
52805
52806
52807fi
52808
52809  fi
52810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52811$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52812
52813  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52814    for ac_func in modfl
52815do :
52816  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52817if test "x$ac_cv_func_modfl" = xyes; then :
52818  cat >>confdefs.h <<_ACEOF
52819#define HAVE_MODFL 1
52820_ACEOF
52821
52822fi
52823done
52824
52825  else
52826
52827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52828$as_echo_n "checking for _modfl declaration... " >&6; }
52829  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52830    if ${glibcxx_cv_func__modfl_use+:} false; then :
52831  $as_echo_n "(cached) " >&6
52832else
52833
52834
52835      ac_ext=cpp
52836ac_cpp='$CXXCPP $CPPFLAGS'
52837ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52840
52841      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52842/* end confdefs.h.  */
52843#include <math.h>
52844int
52845main ()
52846{
52847 _modfl(0, 0);
52848  ;
52849  return 0;
52850}
52851_ACEOF
52852if ac_fn_cxx_try_compile "$LINENO"; then :
52853  glibcxx_cv_func__modfl_use=yes
52854else
52855  glibcxx_cv_func__modfl_use=no
52856fi
52857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52858      ac_ext=c
52859ac_cpp='$CPP $CPPFLAGS'
52860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52862ac_compiler_gnu=$ac_cv_c_compiler_gnu
52863
52864
52865fi
52866
52867  fi
52868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52869$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52870
52871    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52872      for ac_func in _modfl
52873do :
52874  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52875if test "x$ac_cv_func__modfl" = xyes; then :
52876  cat >>confdefs.h <<_ACEOF
52877#define HAVE__MODFL 1
52878_ACEOF
52879
52880fi
52881done
52882
52883    fi
52884  fi
52885
52886
52887
52888
52889
52890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52891$as_echo_n "checking for powl declaration... " >&6; }
52892  if test x${glibcxx_cv_func_powl_use+set} != xset; then
52893    if ${glibcxx_cv_func_powl_use+:} false; then :
52894  $as_echo_n "(cached) " >&6
52895else
52896
52897
52898      ac_ext=cpp
52899ac_cpp='$CXXCPP $CPPFLAGS'
52900ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52901ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52902ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52903
52904      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52905/* end confdefs.h.  */
52906#include <math.h>
52907int
52908main ()
52909{
52910 powl(0, 0);
52911  ;
52912  return 0;
52913}
52914_ACEOF
52915if ac_fn_cxx_try_compile "$LINENO"; then :
52916  glibcxx_cv_func_powl_use=yes
52917else
52918  glibcxx_cv_func_powl_use=no
52919fi
52920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52921      ac_ext=c
52922ac_cpp='$CPP $CPPFLAGS'
52923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52925ac_compiler_gnu=$ac_cv_c_compiler_gnu
52926
52927
52928fi
52929
52930  fi
52931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52932$as_echo "$glibcxx_cv_func_powl_use" >&6; }
52933
52934  if test x$glibcxx_cv_func_powl_use = x"yes"; then
52935    for ac_func in powl
52936do :
52937  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52938if test "x$ac_cv_func_powl" = xyes; then :
52939  cat >>confdefs.h <<_ACEOF
52940#define HAVE_POWL 1
52941_ACEOF
52942
52943fi
52944done
52945
52946  else
52947
52948  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52949$as_echo_n "checking for _powl declaration... " >&6; }
52950  if test x${glibcxx_cv_func__powl_use+set} != xset; then
52951    if ${glibcxx_cv_func__powl_use+:} false; then :
52952  $as_echo_n "(cached) " >&6
52953else
52954
52955
52956      ac_ext=cpp
52957ac_cpp='$CXXCPP $CPPFLAGS'
52958ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52959ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52960ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52961
52962      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52963/* end confdefs.h.  */
52964#include <math.h>
52965int
52966main ()
52967{
52968 _powl(0, 0);
52969  ;
52970  return 0;
52971}
52972_ACEOF
52973if ac_fn_cxx_try_compile "$LINENO"; then :
52974  glibcxx_cv_func__powl_use=yes
52975else
52976  glibcxx_cv_func__powl_use=no
52977fi
52978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52979      ac_ext=c
52980ac_cpp='$CPP $CPPFLAGS'
52981ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983ac_compiler_gnu=$ac_cv_c_compiler_gnu
52984
52985
52986fi
52987
52988  fi
52989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52990$as_echo "$glibcxx_cv_func__powl_use" >&6; }
52991
52992    if test x$glibcxx_cv_func__powl_use = x"yes"; then
52993      for ac_func in _powl
52994do :
52995  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52996if test "x$ac_cv_func__powl" = xyes; then :
52997  cat >>confdefs.h <<_ACEOF
52998#define HAVE__POWL 1
52999_ACEOF
53000
53001fi
53002done
53003
53004    fi
53005  fi
53006
53007
53008
53009
53010
53011  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53012$as_echo_n "checking for sqrtl declaration... " >&6; }
53013  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53014    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53015  $as_echo_n "(cached) " >&6
53016else
53017
53018
53019      ac_ext=cpp
53020ac_cpp='$CXXCPP $CPPFLAGS'
53021ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53022ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53023ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53024
53025      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53026/* end confdefs.h.  */
53027#include <math.h>
53028		      #ifdef HAVE_IEEEFP_H
53029		      #include <ieeefp.h>
53030		      #endif
53031
53032int
53033main ()
53034{
53035 sqrtl(0);
53036  ;
53037  return 0;
53038}
53039_ACEOF
53040if ac_fn_cxx_try_compile "$LINENO"; then :
53041  glibcxx_cv_func_sqrtl_use=yes
53042else
53043  glibcxx_cv_func_sqrtl_use=no
53044fi
53045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53046      ac_ext=c
53047ac_cpp='$CPP $CPPFLAGS'
53048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53050ac_compiler_gnu=$ac_cv_c_compiler_gnu
53051
53052
53053fi
53054
53055  fi
53056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53057$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53058
53059  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53060    for ac_func in sqrtl
53061do :
53062  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53063if test "x$ac_cv_func_sqrtl" = xyes; then :
53064  cat >>confdefs.h <<_ACEOF
53065#define HAVE_SQRTL 1
53066_ACEOF
53067
53068fi
53069done
53070
53071  else
53072
53073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53074$as_echo_n "checking for _sqrtl declaration... " >&6; }
53075  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53076    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53077  $as_echo_n "(cached) " >&6
53078else
53079
53080
53081      ac_ext=cpp
53082ac_cpp='$CXXCPP $CPPFLAGS'
53083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53086
53087      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53088/* end confdefs.h.  */
53089#include <math.h>
53090		      #ifdef HAVE_IEEEFP_H
53091		      #include <ieeefp.h>
53092		      #endif
53093
53094int
53095main ()
53096{
53097 _sqrtl(0);
53098  ;
53099  return 0;
53100}
53101_ACEOF
53102if ac_fn_cxx_try_compile "$LINENO"; then :
53103  glibcxx_cv_func__sqrtl_use=yes
53104else
53105  glibcxx_cv_func__sqrtl_use=no
53106fi
53107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53108      ac_ext=c
53109ac_cpp='$CPP $CPPFLAGS'
53110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53112ac_compiler_gnu=$ac_cv_c_compiler_gnu
53113
53114
53115fi
53116
53117  fi
53118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53119$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53120
53121    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53122      for ac_func in _sqrtl
53123do :
53124  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53125if test "x$ac_cv_func__sqrtl" = xyes; then :
53126  cat >>confdefs.h <<_ACEOF
53127#define HAVE__SQRTL 1
53128_ACEOF
53129
53130fi
53131done
53132
53133    fi
53134  fi
53135
53136
53137
53138
53139
53140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53141$as_echo_n "checking for sincosl declaration... " >&6; }
53142  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53143    if ${glibcxx_cv_func_sincosl_use+:} false; then :
53144  $as_echo_n "(cached) " >&6
53145else
53146
53147
53148      ac_ext=cpp
53149ac_cpp='$CXXCPP $CPPFLAGS'
53150ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53151ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53152ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53153
53154      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53155/* end confdefs.h.  */
53156#include <math.h>
53157int
53158main ()
53159{
53160 sincosl(0, 0, 0);
53161  ;
53162  return 0;
53163}
53164_ACEOF
53165if ac_fn_cxx_try_compile "$LINENO"; then :
53166  glibcxx_cv_func_sincosl_use=yes
53167else
53168  glibcxx_cv_func_sincosl_use=no
53169fi
53170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53171      ac_ext=c
53172ac_cpp='$CPP $CPPFLAGS'
53173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53175ac_compiler_gnu=$ac_cv_c_compiler_gnu
53176
53177
53178fi
53179
53180  fi
53181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53182$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53183
53184  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53185    for ac_func in sincosl
53186do :
53187  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53188if test "x$ac_cv_func_sincosl" = xyes; then :
53189  cat >>confdefs.h <<_ACEOF
53190#define HAVE_SINCOSL 1
53191_ACEOF
53192
53193fi
53194done
53195
53196  else
53197
53198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53199$as_echo_n "checking for _sincosl declaration... " >&6; }
53200  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53201    if ${glibcxx_cv_func__sincosl_use+:} false; then :
53202  $as_echo_n "(cached) " >&6
53203else
53204
53205
53206      ac_ext=cpp
53207ac_cpp='$CXXCPP $CPPFLAGS'
53208ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53209ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53210ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53211
53212      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53213/* end confdefs.h.  */
53214#include <math.h>
53215int
53216main ()
53217{
53218 _sincosl(0, 0, 0);
53219  ;
53220  return 0;
53221}
53222_ACEOF
53223if ac_fn_cxx_try_compile "$LINENO"; then :
53224  glibcxx_cv_func__sincosl_use=yes
53225else
53226  glibcxx_cv_func__sincosl_use=no
53227fi
53228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53229      ac_ext=c
53230ac_cpp='$CPP $CPPFLAGS'
53231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53233ac_compiler_gnu=$ac_cv_c_compiler_gnu
53234
53235
53236fi
53237
53238  fi
53239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53240$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53241
53242    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53243      for ac_func in _sincosl
53244do :
53245  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53246if test "x$ac_cv_func__sincosl" = xyes; then :
53247  cat >>confdefs.h <<_ACEOF
53248#define HAVE__SINCOSL 1
53249_ACEOF
53250
53251fi
53252done
53253
53254    fi
53255  fi
53256
53257
53258
53259
53260
53261  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53262$as_echo_n "checking for finitel declaration... " >&6; }
53263  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53264    if ${glibcxx_cv_func_finitel_use+:} false; then :
53265  $as_echo_n "(cached) " >&6
53266else
53267
53268
53269      ac_ext=cpp
53270ac_cpp='$CXXCPP $CPPFLAGS'
53271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53274
53275      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53276/* end confdefs.h.  */
53277#include <math.h>
53278		      #ifdef HAVE_IEEEFP_H
53279		      #include <ieeefp.h>
53280		      #endif
53281
53282int
53283main ()
53284{
53285 finitel(0);
53286  ;
53287  return 0;
53288}
53289_ACEOF
53290if ac_fn_cxx_try_compile "$LINENO"; then :
53291  glibcxx_cv_func_finitel_use=yes
53292else
53293  glibcxx_cv_func_finitel_use=no
53294fi
53295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53296      ac_ext=c
53297ac_cpp='$CPP $CPPFLAGS'
53298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53300ac_compiler_gnu=$ac_cv_c_compiler_gnu
53301
53302
53303fi
53304
53305  fi
53306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53307$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53308
53309  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53310    for ac_func in finitel
53311do :
53312  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53313if test "x$ac_cv_func_finitel" = xyes; then :
53314  cat >>confdefs.h <<_ACEOF
53315#define HAVE_FINITEL 1
53316_ACEOF
53317
53318fi
53319done
53320
53321  else
53322
53323  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53324$as_echo_n "checking for _finitel declaration... " >&6; }
53325  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53326    if ${glibcxx_cv_func__finitel_use+:} false; then :
53327  $as_echo_n "(cached) " >&6
53328else
53329
53330
53331      ac_ext=cpp
53332ac_cpp='$CXXCPP $CPPFLAGS'
53333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53336
53337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53338/* end confdefs.h.  */
53339#include <math.h>
53340		      #ifdef HAVE_IEEEFP_H
53341		      #include <ieeefp.h>
53342		      #endif
53343
53344int
53345main ()
53346{
53347 _finitel(0);
53348  ;
53349  return 0;
53350}
53351_ACEOF
53352if ac_fn_cxx_try_compile "$LINENO"; then :
53353  glibcxx_cv_func__finitel_use=yes
53354else
53355  glibcxx_cv_func__finitel_use=no
53356fi
53357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53358      ac_ext=c
53359ac_cpp='$CPP $CPPFLAGS'
53360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53362ac_compiler_gnu=$ac_cv_c_compiler_gnu
53363
53364
53365fi
53366
53367  fi
53368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53369$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53370
53371    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53372      for ac_func in _finitel
53373do :
53374  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53375if test "x$ac_cv_func__finitel" = xyes; then :
53376  cat >>confdefs.h <<_ACEOF
53377#define HAVE__FINITEL 1
53378_ACEOF
53379
53380fi
53381done
53382
53383    fi
53384  fi
53385
53386
53387
53388
53389  LIBS="$ac_save_LIBS"
53390  CXXFLAGS="$ac_save_CXXFLAGS"
53391
53392
53393  ac_test_CXXFLAGS="${CXXFLAGS+set}"
53394  ac_save_CXXFLAGS="$CXXFLAGS"
53395  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53396
53397
53398  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53399$as_echo_n "checking for at_quick_exit declaration... " >&6; }
53400  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53401    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53402  $as_echo_n "(cached) " >&6
53403else
53404
53405
53406      ac_ext=cpp
53407ac_cpp='$CXXCPP $CPPFLAGS'
53408ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53409ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53410ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53411
53412      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53413/* end confdefs.h.  */
53414#include <stdlib.h>
53415int
53416main ()
53417{
53418 at_quick_exit(0);
53419  ;
53420  return 0;
53421}
53422_ACEOF
53423if ac_fn_cxx_try_compile "$LINENO"; then :
53424  glibcxx_cv_func_at_quick_exit_use=yes
53425else
53426  glibcxx_cv_func_at_quick_exit_use=no
53427fi
53428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53429      ac_ext=c
53430ac_cpp='$CPP $CPPFLAGS'
53431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53433ac_compiler_gnu=$ac_cv_c_compiler_gnu
53434
53435
53436fi
53437
53438  fi
53439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53440$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53441  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53442    for ac_func in at_quick_exit
53443do :
53444  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53445if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53446  cat >>confdefs.h <<_ACEOF
53447#define HAVE_AT_QUICK_EXIT 1
53448_ACEOF
53449
53450fi
53451done
53452
53453  fi
53454
53455
53456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53457$as_echo_n "checking for quick_exit declaration... " >&6; }
53458  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53459    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53460  $as_echo_n "(cached) " >&6
53461else
53462
53463
53464      ac_ext=cpp
53465ac_cpp='$CXXCPP $CPPFLAGS'
53466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53467ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53469
53470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53471/* end confdefs.h.  */
53472#include <stdlib.h>
53473int
53474main ()
53475{
53476 quick_exit(0);
53477  ;
53478  return 0;
53479}
53480_ACEOF
53481if ac_fn_cxx_try_compile "$LINENO"; then :
53482  glibcxx_cv_func_quick_exit_use=yes
53483else
53484  glibcxx_cv_func_quick_exit_use=no
53485fi
53486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53487      ac_ext=c
53488ac_cpp='$CPP $CPPFLAGS'
53489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53491ac_compiler_gnu=$ac_cv_c_compiler_gnu
53492
53493
53494fi
53495
53496  fi
53497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53498$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53499  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53500    for ac_func in quick_exit
53501do :
53502  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53503if test "x$ac_cv_func_quick_exit" = xyes; then :
53504  cat >>confdefs.h <<_ACEOF
53505#define HAVE_QUICK_EXIT 1
53506_ACEOF
53507
53508fi
53509done
53510
53511  fi
53512
53513
53514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53515$as_echo_n "checking for strtold declaration... " >&6; }
53516  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53517    if ${glibcxx_cv_func_strtold_use+:} false; then :
53518  $as_echo_n "(cached) " >&6
53519else
53520
53521
53522      ac_ext=cpp
53523ac_cpp='$CXXCPP $CPPFLAGS'
53524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53527
53528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53529/* end confdefs.h.  */
53530#include <stdlib.h>
53531int
53532main ()
53533{
53534 strtold(0, 0);
53535  ;
53536  return 0;
53537}
53538_ACEOF
53539if ac_fn_cxx_try_compile "$LINENO"; then :
53540  glibcxx_cv_func_strtold_use=yes
53541else
53542  glibcxx_cv_func_strtold_use=no
53543fi
53544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53545      ac_ext=c
53546ac_cpp='$CPP $CPPFLAGS'
53547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53549ac_compiler_gnu=$ac_cv_c_compiler_gnu
53550
53551
53552fi
53553
53554  fi
53555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53556$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53557  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53558    for ac_func in strtold
53559do :
53560  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53561if test "x$ac_cv_func_strtold" = xyes; then :
53562  cat >>confdefs.h <<_ACEOF
53563#define HAVE_STRTOLD 1
53564_ACEOF
53565
53566fi
53567done
53568
53569  fi
53570
53571
53572
53573
53574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53575$as_echo_n "checking for strtof declaration... " >&6; }
53576  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53577    if ${glibcxx_cv_func_strtof_use+:} false; then :
53578  $as_echo_n "(cached) " >&6
53579else
53580
53581
53582      ac_ext=cpp
53583ac_cpp='$CXXCPP $CPPFLAGS'
53584ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53585ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53586ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53587
53588      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53589/* end confdefs.h.  */
53590#include <stdlib.h>
53591int
53592main ()
53593{
53594 strtof(0, 0);
53595  ;
53596  return 0;
53597}
53598_ACEOF
53599if ac_fn_cxx_try_compile "$LINENO"; then :
53600  glibcxx_cv_func_strtof_use=yes
53601else
53602  glibcxx_cv_func_strtof_use=no
53603fi
53604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53605      ac_ext=c
53606ac_cpp='$CPP $CPPFLAGS'
53607ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53608ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53609ac_compiler_gnu=$ac_cv_c_compiler_gnu
53610
53611
53612fi
53613
53614  fi
53615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53616$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53617  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53618    for ac_func in strtof
53619do :
53620  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53621if test "x$ac_cv_func_strtof" = xyes; then :
53622  cat >>confdefs.h <<_ACEOF
53623#define HAVE_STRTOF 1
53624_ACEOF
53625
53626fi
53627done
53628
53629  fi
53630
53631
53632
53633
53634  CXXFLAGS="$ac_save_CXXFLAGS"
53635
53636    ;;
53637
53638  *djgpp)
53639    # GLIBCXX_CHECK_MATH_SUPPORT
53640    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53641
53642    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53643
53644    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53645
53646    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53647
53648    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53649
53650    ;;
53651
53652  *-freebsd*)
53653    SECTION_FLAGS='-ffunction-sections -fdata-sections'
53654
53655
53656  # If we're not using GNU ld, then there's no point in even trying these
53657  # tests.  Check for that first.  We should have already tested for gld
53658  # by now (in libtool), but require it now just to be safe...
53659  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53660  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53661
53662
53663
53664  # The name set by libtool depends on the version of libtool.  Shame on us
53665  # for depending on an impl detail, but c'est la vie.  Older versions used
53666  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53667  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53668  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53669  # set (hence we're using an older libtool), then set it.
53670  if test x${with_gnu_ld+set} != xset; then
53671    if test x${ac_cv_prog_gnu_ld+set} != xset; then
53672      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53673      with_gnu_ld=no
53674    else
53675      with_gnu_ld=$ac_cv_prog_gnu_ld
53676    fi
53677  fi
53678
53679  # Start by getting the version number.  I think the libtool test already
53680  # does some of this, but throws away the result.
53681  glibcxx_ld_is_gold=no
53682  if test x"$with_gnu_ld" = x"yes"; then
53683    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53684$as_echo_n "checking for ld version... " >&6; }
53685
53686    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53687      glibcxx_ld_is_gold=yes
53688    fi
53689    ldver=`$LD --version 2>/dev/null |
53690	   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'`
53691
53692    glibcxx_gnu_ld_version=`echo $ldver | \
53693	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53694    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53695$as_echo "$glibcxx_gnu_ld_version" >&6; }
53696  fi
53697
53698  # Set --gc-sections.
53699  glibcxx_have_gc_sections=no
53700  if test "$glibcxx_ld_is_gold" = "yes"; then
53701    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53702      glibcxx_have_gc_sections=yes
53703    fi
53704  else
53705    glibcxx_gcsections_min_ld=21602
53706    if test x"$with_gnu_ld" = x"yes" &&
53707	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53708      glibcxx_have_gc_sections=yes
53709    fi
53710  fi
53711  if test "$glibcxx_have_gc_sections" = "yes"; then
53712    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53713    # NB: This flag only works reliably after 2.16.1. Configure tests
53714    # for this are difficult, so hard wire a value that should work.
53715
53716    ac_test_CFLAGS="${CFLAGS+set}"
53717    ac_save_CFLAGS="$CFLAGS"
53718    CFLAGS='-Wl,--gc-sections'
53719
53720    # Check for -Wl,--gc-sections
53721    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53722$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53723    if test x$gcc_no_link = xyes; then
53724  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53725fi
53726cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53727/* end confdefs.h.  */
53728 int one(void) { return 1; }
53729     int two(void) { return 2; }
53730
53731int
53732main ()
53733{
53734 two();
53735  ;
53736  return 0;
53737}
53738_ACEOF
53739if ac_fn_c_try_link "$LINENO"; then :
53740  ac_gcsections=yes
53741else
53742  ac_gcsections=no
53743fi
53744rm -f core conftest.err conftest.$ac_objext \
53745    conftest$ac_exeext conftest.$ac_ext
53746    if test "$ac_gcsections" = "yes"; then
53747      rm -f conftest.c
53748      touch conftest.c
53749      if $CC -c conftest.c; then
53750	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53751	   grep "Warning: gc-sections option ignored" > /dev/null; then
53752	  ac_gcsections=no
53753	fi
53754      fi
53755      rm -f conftest.c conftest.o conftest
53756    fi
53757    if test "$ac_gcsections" = "yes"; then
53758      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53759    fi
53760    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53761$as_echo "$ac_gcsections" >&6; }
53762
53763    if test "$ac_test_CFLAGS" = set; then
53764      CFLAGS="$ac_save_CFLAGS"
53765    else
53766      # this is the suspicious part
53767      CFLAGS=''
53768    fi
53769  fi
53770
53771  # Set -z,relro.
53772  # Note this is only for shared objects.
53773  ac_ld_relro=no
53774  if test x"$with_gnu_ld" = x"yes"; then
53775    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53776$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53777    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53778    if test -n "$cxx_z_relo"; then
53779      OPT_LDFLAGS="-Wl,-z,relro"
53780      ac_ld_relro=yes
53781    fi
53782    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53783$as_echo "$ac_ld_relro" >&6; }
53784  fi
53785
53786  # Set linker optimization flags.
53787  if test x"$with_gnu_ld" = x"yes"; then
53788    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53789  fi
53790
53791
53792
53793
53794    $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53795
53796    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53797
53798    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53799
53800    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53801
53802    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53803
53804    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53805
53806    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53807
53808    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53809
53810    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53811
53812
53813    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53814
53815    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53816
53817    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53818
53819    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53820
53821    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53822
53823    $as_echo "#define HAVE_COSF 1" >>confdefs.h
53824
53825    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53826
53827    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53828
53829    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53830
53831    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53832
53833    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53834
53835    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53836
53837    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53838
53839    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53840
53841    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53842
53843    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53844
53845    $as_echo "#define HAVE_POWF 1" >>confdefs.h
53846
53847    $as_echo "#define HAVE_SINF 1" >>confdefs.h
53848
53849    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53850
53851    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53852
53853    $as_echo "#define HAVE_TANF 1" >>confdefs.h
53854
53855    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53856
53857    if test x"long_double_math_on_this_cpu" = x"yes"; then
53858      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53859
53860      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53861
53862      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53863
53864    fi
53865    for ac_func in __cxa_thread_atexit
53866do :
53867  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53868if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
53869  cat >>confdefs.h <<_ACEOF
53870#define HAVE___CXA_THREAD_ATEXIT 1
53871_ACEOF
53872
53873fi
53874done
53875
53876    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53877do :
53878  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53879ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53880if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53881  cat >>confdefs.h <<_ACEOF
53882#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53883_ACEOF
53884
53885fi
53886done
53887
53888    for ac_func in timespec_get
53889do :
53890  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
53891if test "x$ac_cv_func_timespec_get" = xyes; then :
53892  cat >>confdefs.h <<_ACEOF
53893#define HAVE_TIMESPEC_GET 1
53894_ACEOF
53895
53896fi
53897done
53898
53899    for ac_func in sockatmark
53900do :
53901  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
53902if test "x$ac_cv_func_sockatmark" = xyes; then :
53903  cat >>confdefs.h <<_ACEOF
53904#define HAVE_SOCKATMARK 1
53905_ACEOF
53906
53907fi
53908done
53909
53910    ;;
53911
53912  *-fuchsia*)
53913    SECTION_FLAGS='-ffunction-sections -fdata-sections'
53914
53915    ;;
53916
53917  *-hpux*)
53918    SECTION_FLAGS='-ffunction-sections -fdata-sections'
53919
53920
53921  # If we're not using GNU ld, then there's no point in even trying these
53922  # tests.  Check for that first.  We should have already tested for gld
53923  # by now (in libtool), but require it now just to be safe...
53924  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53925  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53926
53927
53928
53929  # The name set by libtool depends on the version of libtool.  Shame on us
53930  # for depending on an impl detail, but c'est la vie.  Older versions used
53931  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53932  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53933  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53934  # set (hence we're using an older libtool), then set it.
53935  if test x${with_gnu_ld+set} != xset; then
53936    if test x${ac_cv_prog_gnu_ld+set} != xset; then
53937      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53938      with_gnu_ld=no
53939    else
53940      with_gnu_ld=$ac_cv_prog_gnu_ld
53941    fi
53942  fi
53943
53944  # Start by getting the version number.  I think the libtool test already
53945  # does some of this, but throws away the result.
53946  glibcxx_ld_is_gold=no
53947  if test x"$with_gnu_ld" = x"yes"; then
53948    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53949$as_echo_n "checking for ld version... " >&6; }
53950
53951    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53952      glibcxx_ld_is_gold=yes
53953    fi
53954    ldver=`$LD --version 2>/dev/null |
53955	   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'`
53956
53957    glibcxx_gnu_ld_version=`echo $ldver | \
53958	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53959    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53960$as_echo "$glibcxx_gnu_ld_version" >&6; }
53961  fi
53962
53963  # Set --gc-sections.
53964  glibcxx_have_gc_sections=no
53965  if test "$glibcxx_ld_is_gold" = "yes"; then
53966    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53967      glibcxx_have_gc_sections=yes
53968    fi
53969  else
53970    glibcxx_gcsections_min_ld=21602
53971    if test x"$with_gnu_ld" = x"yes" &&
53972	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53973      glibcxx_have_gc_sections=yes
53974    fi
53975  fi
53976  if test "$glibcxx_have_gc_sections" = "yes"; then
53977    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53978    # NB: This flag only works reliably after 2.16.1. Configure tests
53979    # for this are difficult, so hard wire a value that should work.
53980
53981    ac_test_CFLAGS="${CFLAGS+set}"
53982    ac_save_CFLAGS="$CFLAGS"
53983    CFLAGS='-Wl,--gc-sections'
53984
53985    # Check for -Wl,--gc-sections
53986    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53987$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53988    if test x$gcc_no_link = xyes; then
53989  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53990fi
53991cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53992/* end confdefs.h.  */
53993 int one(void) { return 1; }
53994     int two(void) { return 2; }
53995
53996int
53997main ()
53998{
53999 two();
54000  ;
54001  return 0;
54002}
54003_ACEOF
54004if ac_fn_c_try_link "$LINENO"; then :
54005  ac_gcsections=yes
54006else
54007  ac_gcsections=no
54008fi
54009rm -f core conftest.err conftest.$ac_objext \
54010    conftest$ac_exeext conftest.$ac_ext
54011    if test "$ac_gcsections" = "yes"; then
54012      rm -f conftest.c
54013      touch conftest.c
54014      if $CC -c conftest.c; then
54015	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54016	   grep "Warning: gc-sections option ignored" > /dev/null; then
54017	  ac_gcsections=no
54018	fi
54019      fi
54020      rm -f conftest.c conftest.o conftest
54021    fi
54022    if test "$ac_gcsections" = "yes"; then
54023      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54024    fi
54025    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54026$as_echo "$ac_gcsections" >&6; }
54027
54028    if test "$ac_test_CFLAGS" = set; then
54029      CFLAGS="$ac_save_CFLAGS"
54030    else
54031      # this is the suspicious part
54032      CFLAGS=''
54033    fi
54034  fi
54035
54036  # Set -z,relro.
54037  # Note this is only for shared objects.
54038  ac_ld_relro=no
54039  if test x"$with_gnu_ld" = x"yes"; then
54040    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54041$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54042    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54043    if test -n "$cxx_z_relo"; then
54044      OPT_LDFLAGS="-Wl,-z,relro"
54045      ac_ld_relro=yes
54046    fi
54047    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54048$as_echo "$ac_ld_relro" >&6; }
54049  fi
54050
54051  # Set linker optimization flags.
54052  if test x"$with_gnu_ld" = x"yes"; then
54053    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54054  fi
54055
54056
54057
54058
54059
54060    # GLIBCXX_CHECK_MATH_SUPPORT
54061    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
54062
54063    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
54064
54065    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
54066
54067    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
54068
54069    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
54070
54071    $as_echo "#define HAVE_COSF 1" >>confdefs.h
54072
54073    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
54074
54075    $as_echo "#define HAVE_SINF 1" >>confdefs.h
54076
54077    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
54078
54079    $as_echo "#define HAVE_TANF 1" >>confdefs.h
54080
54081    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
54082
54083    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
54084
54085    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
54086
54087    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
54088
54089    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
54090
54091    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
54092
54093    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
54094
54095    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
54096
54097    $as_echo "#define HAVE_MODF 1" >>confdefs.h
54098
54099    $as_echo "#define HAVE_POWF 1" >>confdefs.h
54100
54101    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
54102
54103
54104    # GLIBCXX_CHECK_STDLIB_SUPPORT
54105    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
54106
54107
54108
54109
54110   # Check whether --enable-tls was given.
54111if test "${enable_tls+set}" = set; then :
54112  enableval=$enable_tls;
54113      case "$enableval" in
54114       yes|no) ;;
54115       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
54116      esac
54117
54118else
54119  enable_tls=yes
54120fi
54121
54122
54123  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
54124$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
54125if ${gcc_cv_have_tls+:} false; then :
54126  $as_echo_n "(cached) " >&6
54127else
54128
54129    if test "$cross_compiling" = yes; then :
54130                if test x$gcc_no_link = xyes; then
54131  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54132fi
54133cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54134/* end confdefs.h.  */
54135__thread int a; int b; int main() { return a = b; }
54136_ACEOF
54137if ac_fn_c_try_link "$LINENO"; then :
54138  chktls_save_LDFLAGS="$LDFLAGS"
54139	  	  	  case $host in
54140	    *-*-linux*)
54141	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54142	      ;;
54143	  esac
54144	  chktls_save_CFLAGS="$CFLAGS"
54145	  CFLAGS="-fPIC $CFLAGS"
54146	  	  if test x$gcc_no_link = xyes; then
54147  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54148fi
54149cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54150/* end confdefs.h.  */
54151int f() { return 0; }
54152_ACEOF
54153if ac_fn_c_try_link "$LINENO"; then :
54154  if test x$gcc_no_link = xyes; then
54155  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54156fi
54157cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54158/* end confdefs.h.  */
54159__thread int a; int b; int f() { return a = b; }
54160_ACEOF
54161if ac_fn_c_try_link "$LINENO"; then :
54162  gcc_cv_have_tls=yes
54163else
54164  gcc_cv_have_tls=no
54165fi
54166rm -f core conftest.err conftest.$ac_objext \
54167    conftest$ac_exeext conftest.$ac_ext
54168else
54169  gcc_cv_have_tls=yes
54170fi
54171rm -f core conftest.err conftest.$ac_objext \
54172    conftest$ac_exeext conftest.$ac_ext
54173	  CFLAGS="$chktls_save_CFLAGS"
54174	  LDFLAGS="$chktls_save_LDFLAGS"
54175else
54176  gcc_cv_have_tls=no
54177fi
54178rm -f core conftest.err conftest.$ac_objext \
54179    conftest$ac_exeext conftest.$ac_ext
54180
54181
54182else
54183  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54184/* end confdefs.h.  */
54185__thread int a; int b; int main() { return a = b; }
54186_ACEOF
54187if ac_fn_c_try_run "$LINENO"; then :
54188                      chktls_save_LDFLAGS="$LDFLAGS"
54189      LDFLAGS="-static $LDFLAGS"
54190      if test x$gcc_no_link = xyes; then
54191  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54192fi
54193cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54194/* end confdefs.h.  */
54195int main() { return 0; }
54196_ACEOF
54197if ac_fn_c_try_link "$LINENO"; then :
54198  if test "$cross_compiling" = yes; then :
54199  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54200$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54201as_fn_error $? "cannot run test program while cross compiling
54202See \`config.log' for more details" "$LINENO" 5; }
54203else
54204  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54205/* end confdefs.h.  */
54206__thread int a; int b; int main() { return a = b; }
54207_ACEOF
54208if ac_fn_c_try_run "$LINENO"; then :
54209  gcc_cv_have_tls=yes
54210else
54211  gcc_cv_have_tls=no
54212fi
54213rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54214  conftest.$ac_objext conftest.beam conftest.$ac_ext
54215fi
54216
54217else
54218  gcc_cv_have_tls=yes
54219fi
54220rm -f core conftest.err conftest.$ac_objext \
54221    conftest$ac_exeext conftest.$ac_ext
54222      LDFLAGS="$chktls_save_LDFLAGS"
54223      if test $gcc_cv_have_tls = yes; then
54224						chktls_save_CFLAGS="$CFLAGS"
54225	thread_CFLAGS=failed
54226	for flag in '' '-pthread' '-lpthread'; do
54227	  CFLAGS="$flag $chktls_save_CFLAGS"
54228	  if test x$gcc_no_link = xyes; then
54229  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54230fi
54231cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54232/* end confdefs.h.  */
54233#include <pthread.h>
54234		void *g(void *d) { return NULL; }
54235int
54236main ()
54237{
54238pthread_t t; pthread_create(&t,NULL,g,NULL);
54239  ;
54240  return 0;
54241}
54242_ACEOF
54243if ac_fn_c_try_link "$LINENO"; then :
54244  thread_CFLAGS="$flag"
54245fi
54246rm -f core conftest.err conftest.$ac_objext \
54247    conftest$ac_exeext conftest.$ac_ext
54248	  if test "X$thread_CFLAGS" != Xfailed; then
54249	    break
54250	  fi
54251	done
54252	CFLAGS="$chktls_save_CFLAGS"
54253	if test "X$thread_CFLAGS" != Xfailed; then
54254	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54255 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
54256  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54257$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54258as_fn_error $? "cannot run test program while cross compiling
54259See \`config.log' for more details" "$LINENO" 5; }
54260else
54261  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54262/* end confdefs.h.  */
54263#include <pthread.h>
54264		__thread int a;
54265		static int *volatile a_in_other_thread;
54266		static void *
54267		thread_func (void *arg)
54268		{
54269		  a_in_other_thread = &a;
54270		  return (void *)0;
54271		}
54272int
54273main ()
54274{
54275pthread_t thread;
54276		void *thread_retval;
54277		int *volatile a_in_main_thread;
54278		a_in_main_thread = &a;
54279		if (pthread_create (&thread, (pthread_attr_t *)0,
54280				    thread_func, (void *)0))
54281		  return 0;
54282		if (pthread_join (thread, &thread_retval))
54283		  return 0;
54284		return (a_in_other_thread == a_in_main_thread);
54285  ;
54286  return 0;
54287}
54288_ACEOF
54289if ac_fn_c_try_run "$LINENO"; then :
54290  gcc_cv_have_tls=yes
54291else
54292  gcc_cv_have_tls=no
54293fi
54294rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54295  conftest.$ac_objext conftest.beam conftest.$ac_ext
54296fi
54297
54298	  CFLAGS="$chktls_save_CFLAGS"
54299	fi
54300      fi
54301else
54302  gcc_cv_have_tls=no
54303fi
54304rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54305  conftest.$ac_objext conftest.beam conftest.$ac_ext
54306fi
54307
54308fi
54309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54310$as_echo "$gcc_cv_have_tls" >&6; }
54311  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54312
54313$as_echo "#define HAVE_TLS 1" >>confdefs.h
54314
54315  fi
54316    case "$target" in
54317      *-hpux10*)
54318	$as_echo "#define HAVE_ISINF 1" >>confdefs.h
54319
54320	$as_echo "#define HAVE_ISINFF 1" >>confdefs.h
54321
54322	$as_echo "#define HAVE_ISNANF 1" >>confdefs.h
54323
54324	$as_echo "#define HAVE_FINITE 1" >>confdefs.h
54325
54326	$as_echo "#define HAVE_FINITEF 1" >>confdefs.h
54327
54328	;;
54329    esac
54330    ;;
54331  *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
54332
54333  # All these tests are for C++; save the language and the compiler flags.
54334  # The CXXFLAGS thing is suspicious, but based on similar bits previously
54335  # found in GLIBCXX_CONFIGURE.
54336
54337  ac_ext=cpp
54338ac_cpp='$CXXCPP $CPPFLAGS'
54339ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54340ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54341ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54342
54343  ac_test_CXXFLAGS="${CXXFLAGS+set}"
54344  ac_save_CXXFLAGS="$CXXFLAGS"
54345
54346  # Check for -ffunction-sections -fdata-sections
54347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
54348$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
54349  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
54350  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54351/* end confdefs.h.  */
54352int foo; void bar() { };
54353int
54354main ()
54355{
54356
54357  ;
54358  return 0;
54359}
54360_ACEOF
54361if ac_fn_cxx_try_compile "$LINENO"; then :
54362  ac_fdsections=yes
54363else
54364  ac_fdsections=no
54365fi
54366rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54367  if test "$ac_test_CXXFLAGS" = set; then
54368    CXXFLAGS="$ac_save_CXXFLAGS"
54369  else
54370    # this is the suspicious part
54371    CXXFLAGS=''
54372  fi
54373  if test x"$ac_fdsections" = x"yes"; then
54374    SECTION_FLAGS='-ffunction-sections -fdata-sections'
54375  fi
54376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
54377$as_echo "$ac_fdsections" >&6; }
54378
54379  ac_ext=c
54380ac_cpp='$CPP $CPPFLAGS'
54381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54383ac_compiler_gnu=$ac_cv_c_compiler_gnu
54384
54385
54386
54387
54388  # If we're not using GNU ld, then there's no point in even trying these
54389  # tests.  Check for that first.  We should have already tested for gld
54390  # by now (in libtool), but require it now just to be safe...
54391  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54392  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54393
54394
54395
54396  # The name set by libtool depends on the version of libtool.  Shame on us
54397  # for depending on an impl detail, but c'est la vie.  Older versions used
54398  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54399  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54400  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54401  # set (hence we're using an older libtool), then set it.
54402  if test x${with_gnu_ld+set} != xset; then
54403    if test x${ac_cv_prog_gnu_ld+set} != xset; then
54404      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54405      with_gnu_ld=no
54406    else
54407      with_gnu_ld=$ac_cv_prog_gnu_ld
54408    fi
54409  fi
54410
54411  # Start by getting the version number.  I think the libtool test already
54412  # does some of this, but throws away the result.
54413  glibcxx_ld_is_gold=no
54414  if test x"$with_gnu_ld" = x"yes"; then
54415    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54416$as_echo_n "checking for ld version... " >&6; }
54417
54418    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54419      glibcxx_ld_is_gold=yes
54420    fi
54421    ldver=`$LD --version 2>/dev/null |
54422	   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'`
54423
54424    glibcxx_gnu_ld_version=`echo $ldver | \
54425	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54426    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54427$as_echo "$glibcxx_gnu_ld_version" >&6; }
54428  fi
54429
54430  # Set --gc-sections.
54431  glibcxx_have_gc_sections=no
54432  if test "$glibcxx_ld_is_gold" = "yes"; then
54433    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54434      glibcxx_have_gc_sections=yes
54435    fi
54436  else
54437    glibcxx_gcsections_min_ld=21602
54438    if test x"$with_gnu_ld" = x"yes" &&
54439	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54440      glibcxx_have_gc_sections=yes
54441    fi
54442  fi
54443  if test "$glibcxx_have_gc_sections" = "yes"; then
54444    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54445    # NB: This flag only works reliably after 2.16.1. Configure tests
54446    # for this are difficult, so hard wire a value that should work.
54447
54448    ac_test_CFLAGS="${CFLAGS+set}"
54449    ac_save_CFLAGS="$CFLAGS"
54450    CFLAGS='-Wl,--gc-sections'
54451
54452    # Check for -Wl,--gc-sections
54453    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54454$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54455    if test x$gcc_no_link = xyes; then
54456  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54457fi
54458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54459/* end confdefs.h.  */
54460 int one(void) { return 1; }
54461     int two(void) { return 2; }
54462
54463int
54464main ()
54465{
54466 two();
54467  ;
54468  return 0;
54469}
54470_ACEOF
54471if ac_fn_c_try_link "$LINENO"; then :
54472  ac_gcsections=yes
54473else
54474  ac_gcsections=no
54475fi
54476rm -f core conftest.err conftest.$ac_objext \
54477    conftest$ac_exeext conftest.$ac_ext
54478    if test "$ac_gcsections" = "yes"; then
54479      rm -f conftest.c
54480      touch conftest.c
54481      if $CC -c conftest.c; then
54482	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54483	   grep "Warning: gc-sections option ignored" > /dev/null; then
54484	  ac_gcsections=no
54485	fi
54486      fi
54487      rm -f conftest.c conftest.o conftest
54488    fi
54489    if test "$ac_gcsections" = "yes"; then
54490      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54491    fi
54492    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54493$as_echo "$ac_gcsections" >&6; }
54494
54495    if test "$ac_test_CFLAGS" = set; then
54496      CFLAGS="$ac_save_CFLAGS"
54497    else
54498      # this is the suspicious part
54499      CFLAGS=''
54500    fi
54501  fi
54502
54503  # Set -z,relro.
54504  # Note this is only for shared objects.
54505  ac_ld_relro=no
54506  if test x"$with_gnu_ld" = x"yes"; then
54507    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54508$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54509    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54510    if test -n "$cxx_z_relo"; then
54511      OPT_LDFLAGS="-Wl,-z,relro"
54512      ac_ld_relro=yes
54513    fi
54514    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54515$as_echo "$ac_ld_relro" >&6; }
54516  fi
54517
54518  # Set linker optimization flags.
54519  if test x"$with_gnu_ld" = x"yes"; then
54520    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54521  fi
54522
54523
54524
54525
54526
54527  ac_test_CXXFLAGS="${CXXFLAGS+set}"
54528  ac_save_CXXFLAGS="$CXXFLAGS"
54529  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54530
54531    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54532$as_echo_n "checking for sin in -lm... " >&6; }
54533if ${ac_cv_lib_m_sin+:} false; then :
54534  $as_echo_n "(cached) " >&6
54535else
54536  ac_check_lib_save_LIBS=$LIBS
54537LIBS="-lm  $LIBS"
54538if test x$gcc_no_link = xyes; then
54539  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54540fi
54541cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54542/* end confdefs.h.  */
54543
54544/* Override any GCC internal prototype to avoid an error.
54545   Use char because int might match the return type of a GCC
54546   builtin and then its argument prototype would still apply.  */
54547#ifdef __cplusplus
54548extern "C"
54549#endif
54550char sin ();
54551int
54552main ()
54553{
54554return sin ();
54555  ;
54556  return 0;
54557}
54558_ACEOF
54559if ac_fn_c_try_link "$LINENO"; then :
54560  ac_cv_lib_m_sin=yes
54561else
54562  ac_cv_lib_m_sin=no
54563fi
54564rm -f core conftest.err conftest.$ac_objext \
54565    conftest$ac_exeext conftest.$ac_ext
54566LIBS=$ac_check_lib_save_LIBS
54567fi
54568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54569$as_echo "$ac_cv_lib_m_sin" >&6; }
54570if test "x$ac_cv_lib_m_sin" = xyes; then :
54571  libm="-lm"
54572fi
54573
54574  ac_save_LIBS="$LIBS"
54575  LIBS="$LIBS $libm"
54576
54577
54578
54579  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54580$as_echo_n "checking for isinf declaration... " >&6; }
54581  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54582    if ${glibcxx_cv_func_isinf_use+:} false; then :
54583  $as_echo_n "(cached) " >&6
54584else
54585
54586
54587      ac_ext=cpp
54588ac_cpp='$CXXCPP $CPPFLAGS'
54589ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54590ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54591ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54592
54593      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54594/* end confdefs.h.  */
54595#include <math.h>
54596		      #ifdef HAVE_IEEEFP_H
54597		      #include <ieeefp.h>
54598		      #endif
54599
54600int
54601main ()
54602{
54603 isinf(0);
54604  ;
54605  return 0;
54606}
54607_ACEOF
54608if ac_fn_cxx_try_compile "$LINENO"; then :
54609  glibcxx_cv_func_isinf_use=yes
54610else
54611  glibcxx_cv_func_isinf_use=no
54612fi
54613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54614      ac_ext=c
54615ac_cpp='$CPP $CPPFLAGS'
54616ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54617ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54618ac_compiler_gnu=$ac_cv_c_compiler_gnu
54619
54620
54621fi
54622
54623  fi
54624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54625$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54626
54627  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54628    for ac_func in isinf
54629do :
54630  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54631if test "x$ac_cv_func_isinf" = xyes; then :
54632  cat >>confdefs.h <<_ACEOF
54633#define HAVE_ISINF 1
54634_ACEOF
54635
54636fi
54637done
54638
54639  else
54640
54641  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54642$as_echo_n "checking for _isinf declaration... " >&6; }
54643  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54644    if ${glibcxx_cv_func__isinf_use+:} false; then :
54645  $as_echo_n "(cached) " >&6
54646else
54647
54648
54649      ac_ext=cpp
54650ac_cpp='$CXXCPP $CPPFLAGS'
54651ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54652ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54653ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54654
54655      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54656/* end confdefs.h.  */
54657#include <math.h>
54658		      #ifdef HAVE_IEEEFP_H
54659		      #include <ieeefp.h>
54660		      #endif
54661
54662int
54663main ()
54664{
54665 _isinf(0);
54666  ;
54667  return 0;
54668}
54669_ACEOF
54670if ac_fn_cxx_try_compile "$LINENO"; then :
54671  glibcxx_cv_func__isinf_use=yes
54672else
54673  glibcxx_cv_func__isinf_use=no
54674fi
54675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54676      ac_ext=c
54677ac_cpp='$CPP $CPPFLAGS'
54678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54680ac_compiler_gnu=$ac_cv_c_compiler_gnu
54681
54682
54683fi
54684
54685  fi
54686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54687$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54688
54689    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54690      for ac_func in _isinf
54691do :
54692  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54693if test "x$ac_cv_func__isinf" = xyes; then :
54694  cat >>confdefs.h <<_ACEOF
54695#define HAVE__ISINF 1
54696_ACEOF
54697
54698fi
54699done
54700
54701    fi
54702  fi
54703
54704
54705
54706
54707
54708  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54709$as_echo_n "checking for isnan declaration... " >&6; }
54710  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54711    if ${glibcxx_cv_func_isnan_use+:} false; then :
54712  $as_echo_n "(cached) " >&6
54713else
54714
54715
54716      ac_ext=cpp
54717ac_cpp='$CXXCPP $CPPFLAGS'
54718ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54719ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54720ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54721
54722      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54723/* end confdefs.h.  */
54724#include <math.h>
54725		      #ifdef HAVE_IEEEFP_H
54726		      #include <ieeefp.h>
54727		      #endif
54728
54729int
54730main ()
54731{
54732 isnan(0);
54733  ;
54734  return 0;
54735}
54736_ACEOF
54737if ac_fn_cxx_try_compile "$LINENO"; then :
54738  glibcxx_cv_func_isnan_use=yes
54739else
54740  glibcxx_cv_func_isnan_use=no
54741fi
54742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54743      ac_ext=c
54744ac_cpp='$CPP $CPPFLAGS'
54745ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747ac_compiler_gnu=$ac_cv_c_compiler_gnu
54748
54749
54750fi
54751
54752  fi
54753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54754$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54755
54756  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54757    for ac_func in isnan
54758do :
54759  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54760if test "x$ac_cv_func_isnan" = xyes; then :
54761  cat >>confdefs.h <<_ACEOF
54762#define HAVE_ISNAN 1
54763_ACEOF
54764
54765fi
54766done
54767
54768  else
54769
54770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54771$as_echo_n "checking for _isnan declaration... " >&6; }
54772  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54773    if ${glibcxx_cv_func__isnan_use+:} false; then :
54774  $as_echo_n "(cached) " >&6
54775else
54776
54777
54778      ac_ext=cpp
54779ac_cpp='$CXXCPP $CPPFLAGS'
54780ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54783
54784      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54785/* end confdefs.h.  */
54786#include <math.h>
54787		      #ifdef HAVE_IEEEFP_H
54788		      #include <ieeefp.h>
54789		      #endif
54790
54791int
54792main ()
54793{
54794 _isnan(0);
54795  ;
54796  return 0;
54797}
54798_ACEOF
54799if ac_fn_cxx_try_compile "$LINENO"; then :
54800  glibcxx_cv_func__isnan_use=yes
54801else
54802  glibcxx_cv_func__isnan_use=no
54803fi
54804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54805      ac_ext=c
54806ac_cpp='$CPP $CPPFLAGS'
54807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54809ac_compiler_gnu=$ac_cv_c_compiler_gnu
54810
54811
54812fi
54813
54814  fi
54815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54816$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54817
54818    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54819      for ac_func in _isnan
54820do :
54821  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54822if test "x$ac_cv_func__isnan" = xyes; then :
54823  cat >>confdefs.h <<_ACEOF
54824#define HAVE__ISNAN 1
54825_ACEOF
54826
54827fi
54828done
54829
54830    fi
54831  fi
54832
54833
54834
54835
54836
54837  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54838$as_echo_n "checking for finite declaration... " >&6; }
54839  if test x${glibcxx_cv_func_finite_use+set} != xset; then
54840    if ${glibcxx_cv_func_finite_use+:} false; then :
54841  $as_echo_n "(cached) " >&6
54842else
54843
54844
54845      ac_ext=cpp
54846ac_cpp='$CXXCPP $CPPFLAGS'
54847ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54848ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54849ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54850
54851      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54852/* end confdefs.h.  */
54853#include <math.h>
54854		      #ifdef HAVE_IEEEFP_H
54855		      #include <ieeefp.h>
54856		      #endif
54857
54858int
54859main ()
54860{
54861 finite(0);
54862  ;
54863  return 0;
54864}
54865_ACEOF
54866if ac_fn_cxx_try_compile "$LINENO"; then :
54867  glibcxx_cv_func_finite_use=yes
54868else
54869  glibcxx_cv_func_finite_use=no
54870fi
54871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54872      ac_ext=c
54873ac_cpp='$CPP $CPPFLAGS'
54874ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876ac_compiler_gnu=$ac_cv_c_compiler_gnu
54877
54878
54879fi
54880
54881  fi
54882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54883$as_echo "$glibcxx_cv_func_finite_use" >&6; }
54884
54885  if test x$glibcxx_cv_func_finite_use = x"yes"; then
54886    for ac_func in finite
54887do :
54888  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54889if test "x$ac_cv_func_finite" = xyes; then :
54890  cat >>confdefs.h <<_ACEOF
54891#define HAVE_FINITE 1
54892_ACEOF
54893
54894fi
54895done
54896
54897  else
54898
54899  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54900$as_echo_n "checking for _finite declaration... " >&6; }
54901  if test x${glibcxx_cv_func__finite_use+set} != xset; then
54902    if ${glibcxx_cv_func__finite_use+:} false; then :
54903  $as_echo_n "(cached) " >&6
54904else
54905
54906
54907      ac_ext=cpp
54908ac_cpp='$CXXCPP $CPPFLAGS'
54909ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54910ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54911ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54912
54913      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54914/* end confdefs.h.  */
54915#include <math.h>
54916		      #ifdef HAVE_IEEEFP_H
54917		      #include <ieeefp.h>
54918		      #endif
54919
54920int
54921main ()
54922{
54923 _finite(0);
54924  ;
54925  return 0;
54926}
54927_ACEOF
54928if ac_fn_cxx_try_compile "$LINENO"; then :
54929  glibcxx_cv_func__finite_use=yes
54930else
54931  glibcxx_cv_func__finite_use=no
54932fi
54933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54934      ac_ext=c
54935ac_cpp='$CPP $CPPFLAGS'
54936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54938ac_compiler_gnu=$ac_cv_c_compiler_gnu
54939
54940
54941fi
54942
54943  fi
54944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54945$as_echo "$glibcxx_cv_func__finite_use" >&6; }
54946
54947    if test x$glibcxx_cv_func__finite_use = x"yes"; then
54948      for ac_func in _finite
54949do :
54950  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54951if test "x$ac_cv_func__finite" = xyes; then :
54952  cat >>confdefs.h <<_ACEOF
54953#define HAVE__FINITE 1
54954_ACEOF
54955
54956fi
54957done
54958
54959    fi
54960  fi
54961
54962
54963
54964
54965
54966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54967$as_echo_n "checking for sincos declaration... " >&6; }
54968  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54969    if ${glibcxx_cv_func_sincos_use+:} false; then :
54970  $as_echo_n "(cached) " >&6
54971else
54972
54973
54974      ac_ext=cpp
54975ac_cpp='$CXXCPP $CPPFLAGS'
54976ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54979
54980      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981/* end confdefs.h.  */
54982#include <math.h>
54983int
54984main ()
54985{
54986 sincos(0, 0, 0);
54987  ;
54988  return 0;
54989}
54990_ACEOF
54991if ac_fn_cxx_try_compile "$LINENO"; then :
54992  glibcxx_cv_func_sincos_use=yes
54993else
54994  glibcxx_cv_func_sincos_use=no
54995fi
54996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54997      ac_ext=c
54998ac_cpp='$CPP $CPPFLAGS'
54999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001ac_compiler_gnu=$ac_cv_c_compiler_gnu
55002
55003
55004fi
55005
55006  fi
55007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55008$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55009
55010  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55011    for ac_func in sincos
55012do :
55013  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55014if test "x$ac_cv_func_sincos" = xyes; then :
55015  cat >>confdefs.h <<_ACEOF
55016#define HAVE_SINCOS 1
55017_ACEOF
55018
55019fi
55020done
55021
55022  else
55023
55024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55025$as_echo_n "checking for _sincos declaration... " >&6; }
55026  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55027    if ${glibcxx_cv_func__sincos_use+:} false; then :
55028  $as_echo_n "(cached) " >&6
55029else
55030
55031
55032      ac_ext=cpp
55033ac_cpp='$CXXCPP $CPPFLAGS'
55034ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55035ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55036ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55037
55038      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55039/* end confdefs.h.  */
55040#include <math.h>
55041int
55042main ()
55043{
55044 _sincos(0, 0, 0);
55045  ;
55046  return 0;
55047}
55048_ACEOF
55049if ac_fn_cxx_try_compile "$LINENO"; then :
55050  glibcxx_cv_func__sincos_use=yes
55051else
55052  glibcxx_cv_func__sincos_use=no
55053fi
55054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55055      ac_ext=c
55056ac_cpp='$CPP $CPPFLAGS'
55057ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55058ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55059ac_compiler_gnu=$ac_cv_c_compiler_gnu
55060
55061
55062fi
55063
55064  fi
55065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55066$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55067
55068    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55069      for ac_func in _sincos
55070do :
55071  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55072if test "x$ac_cv_func__sincos" = xyes; then :
55073  cat >>confdefs.h <<_ACEOF
55074#define HAVE__SINCOS 1
55075_ACEOF
55076
55077fi
55078done
55079
55080    fi
55081  fi
55082
55083
55084
55085
55086
55087  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55088$as_echo_n "checking for fpclass declaration... " >&6; }
55089  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55090    if ${glibcxx_cv_func_fpclass_use+:} false; then :
55091  $as_echo_n "(cached) " >&6
55092else
55093
55094
55095      ac_ext=cpp
55096ac_cpp='$CXXCPP $CPPFLAGS'
55097ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55100
55101      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55102/* end confdefs.h.  */
55103#include <math.h>
55104		      #ifdef HAVE_IEEEFP_H
55105		      #include <ieeefp.h>
55106		      #endif
55107
55108int
55109main ()
55110{
55111 fpclass(0);
55112  ;
55113  return 0;
55114}
55115_ACEOF
55116if ac_fn_cxx_try_compile "$LINENO"; then :
55117  glibcxx_cv_func_fpclass_use=yes
55118else
55119  glibcxx_cv_func_fpclass_use=no
55120fi
55121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55122      ac_ext=c
55123ac_cpp='$CPP $CPPFLAGS'
55124ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126ac_compiler_gnu=$ac_cv_c_compiler_gnu
55127
55128
55129fi
55130
55131  fi
55132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55133$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55134
55135  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55136    for ac_func in fpclass
55137do :
55138  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55139if test "x$ac_cv_func_fpclass" = xyes; then :
55140  cat >>confdefs.h <<_ACEOF
55141#define HAVE_FPCLASS 1
55142_ACEOF
55143
55144fi
55145done
55146
55147  else
55148
55149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55150$as_echo_n "checking for _fpclass declaration... " >&6; }
55151  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55152    if ${glibcxx_cv_func__fpclass_use+:} false; then :
55153  $as_echo_n "(cached) " >&6
55154else
55155
55156
55157      ac_ext=cpp
55158ac_cpp='$CXXCPP $CPPFLAGS'
55159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55162
55163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55164/* end confdefs.h.  */
55165#include <math.h>
55166		      #ifdef HAVE_IEEEFP_H
55167		      #include <ieeefp.h>
55168		      #endif
55169
55170int
55171main ()
55172{
55173 _fpclass(0);
55174  ;
55175  return 0;
55176}
55177_ACEOF
55178if ac_fn_cxx_try_compile "$LINENO"; then :
55179  glibcxx_cv_func__fpclass_use=yes
55180else
55181  glibcxx_cv_func__fpclass_use=no
55182fi
55183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55184      ac_ext=c
55185ac_cpp='$CPP $CPPFLAGS'
55186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55188ac_compiler_gnu=$ac_cv_c_compiler_gnu
55189
55190
55191fi
55192
55193  fi
55194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55195$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55196
55197    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55198      for ac_func in _fpclass
55199do :
55200  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55201if test "x$ac_cv_func__fpclass" = xyes; then :
55202  cat >>confdefs.h <<_ACEOF
55203#define HAVE__FPCLASS 1
55204_ACEOF
55205
55206fi
55207done
55208
55209    fi
55210  fi
55211
55212
55213
55214
55215
55216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55217$as_echo_n "checking for qfpclass declaration... " >&6; }
55218  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55219    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55220  $as_echo_n "(cached) " >&6
55221else
55222
55223
55224      ac_ext=cpp
55225ac_cpp='$CXXCPP $CPPFLAGS'
55226ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55227ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55228ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55229
55230      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55231/* end confdefs.h.  */
55232#include <math.h>
55233		      #ifdef HAVE_IEEEFP_H
55234		      #include <ieeefp.h>
55235		      #endif
55236
55237int
55238main ()
55239{
55240 qfpclass(0);
55241  ;
55242  return 0;
55243}
55244_ACEOF
55245if ac_fn_cxx_try_compile "$LINENO"; then :
55246  glibcxx_cv_func_qfpclass_use=yes
55247else
55248  glibcxx_cv_func_qfpclass_use=no
55249fi
55250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55251      ac_ext=c
55252ac_cpp='$CPP $CPPFLAGS'
55253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255ac_compiler_gnu=$ac_cv_c_compiler_gnu
55256
55257
55258fi
55259
55260  fi
55261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55262$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55263
55264  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55265    for ac_func in qfpclass
55266do :
55267  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55268if test "x$ac_cv_func_qfpclass" = xyes; then :
55269  cat >>confdefs.h <<_ACEOF
55270#define HAVE_QFPCLASS 1
55271_ACEOF
55272
55273fi
55274done
55275
55276  else
55277
55278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55279$as_echo_n "checking for _qfpclass declaration... " >&6; }
55280  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55281    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55282  $as_echo_n "(cached) " >&6
55283else
55284
55285
55286      ac_ext=cpp
55287ac_cpp='$CXXCPP $CPPFLAGS'
55288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55290ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55291
55292      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55293/* end confdefs.h.  */
55294#include <math.h>
55295		      #ifdef HAVE_IEEEFP_H
55296		      #include <ieeefp.h>
55297		      #endif
55298
55299int
55300main ()
55301{
55302 _qfpclass(0);
55303  ;
55304  return 0;
55305}
55306_ACEOF
55307if ac_fn_cxx_try_compile "$LINENO"; then :
55308  glibcxx_cv_func__qfpclass_use=yes
55309else
55310  glibcxx_cv_func__qfpclass_use=no
55311fi
55312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55313      ac_ext=c
55314ac_cpp='$CPP $CPPFLAGS'
55315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55317ac_compiler_gnu=$ac_cv_c_compiler_gnu
55318
55319
55320fi
55321
55322  fi
55323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55324$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55325
55326    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55327      for ac_func in _qfpclass
55328do :
55329  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55330if test "x$ac_cv_func__qfpclass" = xyes; then :
55331  cat >>confdefs.h <<_ACEOF
55332#define HAVE__QFPCLASS 1
55333_ACEOF
55334
55335fi
55336done
55337
55338    fi
55339  fi
55340
55341
55342
55343
55344
55345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55346$as_echo_n "checking for hypot declaration... " >&6; }
55347  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55348    if ${glibcxx_cv_func_hypot_use+:} false; then :
55349  $as_echo_n "(cached) " >&6
55350else
55351
55352
55353      ac_ext=cpp
55354ac_cpp='$CXXCPP $CPPFLAGS'
55355ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55356ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55357ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55358
55359      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55360/* end confdefs.h.  */
55361#include <math.h>
55362int
55363main ()
55364{
55365 hypot(0, 0);
55366  ;
55367  return 0;
55368}
55369_ACEOF
55370if ac_fn_cxx_try_compile "$LINENO"; then :
55371  glibcxx_cv_func_hypot_use=yes
55372else
55373  glibcxx_cv_func_hypot_use=no
55374fi
55375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55376      ac_ext=c
55377ac_cpp='$CPP $CPPFLAGS'
55378ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380ac_compiler_gnu=$ac_cv_c_compiler_gnu
55381
55382
55383fi
55384
55385  fi
55386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55387$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55388
55389  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55390    for ac_func in hypot
55391do :
55392  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55393if test "x$ac_cv_func_hypot" = xyes; then :
55394  cat >>confdefs.h <<_ACEOF
55395#define HAVE_HYPOT 1
55396_ACEOF
55397
55398fi
55399done
55400
55401  else
55402
55403  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55404$as_echo_n "checking for _hypot declaration... " >&6; }
55405  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55406    if ${glibcxx_cv_func__hypot_use+:} false; then :
55407  $as_echo_n "(cached) " >&6
55408else
55409
55410
55411      ac_ext=cpp
55412ac_cpp='$CXXCPP $CPPFLAGS'
55413ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55414ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55415ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55416
55417      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55418/* end confdefs.h.  */
55419#include <math.h>
55420int
55421main ()
55422{
55423 _hypot(0, 0);
55424  ;
55425  return 0;
55426}
55427_ACEOF
55428if ac_fn_cxx_try_compile "$LINENO"; then :
55429  glibcxx_cv_func__hypot_use=yes
55430else
55431  glibcxx_cv_func__hypot_use=no
55432fi
55433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55434      ac_ext=c
55435ac_cpp='$CPP $CPPFLAGS'
55436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55438ac_compiler_gnu=$ac_cv_c_compiler_gnu
55439
55440
55441fi
55442
55443  fi
55444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55445$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55446
55447    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55448      for ac_func in _hypot
55449do :
55450  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55451if test "x$ac_cv_func__hypot" = xyes; then :
55452  cat >>confdefs.h <<_ACEOF
55453#define HAVE__HYPOT 1
55454_ACEOF
55455
55456fi
55457done
55458
55459    fi
55460  fi
55461
55462
55463
55464
55465
55466    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55467$as_echo_n "checking for float trig functions... " >&6; }
55468  if ${glibcxx_cv_func_float_trig_use+:} false; then :
55469  $as_echo_n "(cached) " >&6
55470else
55471
55472
55473    ac_ext=cpp
55474ac_cpp='$CXXCPP $CPPFLAGS'
55475ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55478
55479    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55480/* end confdefs.h.  */
55481#include <math.h>
55482int
55483main ()
55484{
55485acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55486  ;
55487  return 0;
55488}
55489_ACEOF
55490if ac_fn_cxx_try_compile "$LINENO"; then :
55491  glibcxx_cv_func_float_trig_use=yes
55492else
55493  glibcxx_cv_func_float_trig_use=no
55494fi
55495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55496    ac_ext=c
55497ac_cpp='$CPP $CPPFLAGS'
55498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55500ac_compiler_gnu=$ac_cv_c_compiler_gnu
55501
55502fi
55503
55504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55505$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55506  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55507    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55508do :
55509  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55510ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55511if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55512  cat >>confdefs.h <<_ACEOF
55513#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55514_ACEOF
55515
55516fi
55517done
55518
55519  else
55520    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55521$as_echo_n "checking for _float trig functions... " >&6; }
55522    if ${glibcxx_cv_func__float_trig_use+:} false; then :
55523  $as_echo_n "(cached) " >&6
55524else
55525
55526
55527      ac_ext=cpp
55528ac_cpp='$CXXCPP $CPPFLAGS'
55529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55532
55533      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55534/* end confdefs.h.  */
55535#include <math.h>
55536int
55537main ()
55538{
55539_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55540  ;
55541  return 0;
55542}
55543_ACEOF
55544if ac_fn_cxx_try_compile "$LINENO"; then :
55545  glibcxx_cv_func__float_trig_use=yes
55546else
55547  glibcxx_cv_func__float_trig_use=no
55548fi
55549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55550      ac_ext=c
55551ac_cpp='$CPP $CPPFLAGS'
55552ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55553ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55554ac_compiler_gnu=$ac_cv_c_compiler_gnu
55555
55556fi
55557
55558    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55559$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55560    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55561      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55562do :
55563  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55564ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55565if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55566  cat >>confdefs.h <<_ACEOF
55567#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55568_ACEOF
55569
55570fi
55571done
55572
55573    fi
55574  fi
55575
55576
55577
55578
55579
55580    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55581$as_echo_n "checking for float round functions... " >&6; }
55582  if ${glibcxx_cv_func_float_round_use+:} false; then :
55583  $as_echo_n "(cached) " >&6
55584else
55585
55586
55587    ac_ext=cpp
55588ac_cpp='$CXXCPP $CPPFLAGS'
55589ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55590ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55591ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55592
55593    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55594/* end confdefs.h.  */
55595#include <math.h>
55596int
55597main ()
55598{
55599ceilf (0); floorf (0);
55600  ;
55601  return 0;
55602}
55603_ACEOF
55604if ac_fn_cxx_try_compile "$LINENO"; then :
55605  glibcxx_cv_func_float_round_use=yes
55606else
55607  glibcxx_cv_func_float_round_use=no
55608fi
55609rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55610    ac_ext=c
55611ac_cpp='$CPP $CPPFLAGS'
55612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55614ac_compiler_gnu=$ac_cv_c_compiler_gnu
55615
55616fi
55617
55618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55619$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55620  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55621    for ac_func in ceilf floorf
55622do :
55623  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55624ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55625if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55626  cat >>confdefs.h <<_ACEOF
55627#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55628_ACEOF
55629
55630fi
55631done
55632
55633  else
55634    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55635$as_echo_n "checking for _float round functions... " >&6; }
55636    if ${glibcxx_cv_func__float_round_use+:} false; then :
55637  $as_echo_n "(cached) " >&6
55638else
55639
55640
55641      ac_ext=cpp
55642ac_cpp='$CXXCPP $CPPFLAGS'
55643ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55644ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55645ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55646
55647      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55648/* end confdefs.h.  */
55649#include <math.h>
55650int
55651main ()
55652{
55653_ceilf (0); _floorf (0);
55654  ;
55655  return 0;
55656}
55657_ACEOF
55658if ac_fn_cxx_try_compile "$LINENO"; then :
55659  glibcxx_cv_func__float_round_use=yes
55660else
55661  glibcxx_cv_func__float_round_use=no
55662fi
55663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55664      ac_ext=c
55665ac_cpp='$CPP $CPPFLAGS'
55666ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668ac_compiler_gnu=$ac_cv_c_compiler_gnu
55669
55670fi
55671
55672    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55673$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55674    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55675      for ac_func in _ceilf _floorf
55676do :
55677  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55678ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55679if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55680  cat >>confdefs.h <<_ACEOF
55681#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55682_ACEOF
55683
55684fi
55685done
55686
55687    fi
55688  fi
55689
55690
55691
55692
55693
55694
55695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55696$as_echo_n "checking for expf declaration... " >&6; }
55697  if test x${glibcxx_cv_func_expf_use+set} != xset; then
55698    if ${glibcxx_cv_func_expf_use+:} false; then :
55699  $as_echo_n "(cached) " >&6
55700else
55701
55702
55703      ac_ext=cpp
55704ac_cpp='$CXXCPP $CPPFLAGS'
55705ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55706ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55707ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55708
55709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55710/* end confdefs.h.  */
55711#include <math.h>
55712		      #ifdef HAVE_IEEEFP_H
55713		      #include <ieeefp.h>
55714		      #endif
55715
55716int
55717main ()
55718{
55719 expf(0);
55720  ;
55721  return 0;
55722}
55723_ACEOF
55724if ac_fn_cxx_try_compile "$LINENO"; then :
55725  glibcxx_cv_func_expf_use=yes
55726else
55727  glibcxx_cv_func_expf_use=no
55728fi
55729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55730      ac_ext=c
55731ac_cpp='$CPP $CPPFLAGS'
55732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55734ac_compiler_gnu=$ac_cv_c_compiler_gnu
55735
55736
55737fi
55738
55739  fi
55740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55741$as_echo "$glibcxx_cv_func_expf_use" >&6; }
55742
55743  if test x$glibcxx_cv_func_expf_use = x"yes"; then
55744    for ac_func in expf
55745do :
55746  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55747if test "x$ac_cv_func_expf" = xyes; then :
55748  cat >>confdefs.h <<_ACEOF
55749#define HAVE_EXPF 1
55750_ACEOF
55751
55752fi
55753done
55754
55755  else
55756
55757  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55758$as_echo_n "checking for _expf declaration... " >&6; }
55759  if test x${glibcxx_cv_func__expf_use+set} != xset; then
55760    if ${glibcxx_cv_func__expf_use+:} false; then :
55761  $as_echo_n "(cached) " >&6
55762else
55763
55764
55765      ac_ext=cpp
55766ac_cpp='$CXXCPP $CPPFLAGS'
55767ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55768ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55769ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55770
55771      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55772/* end confdefs.h.  */
55773#include <math.h>
55774		      #ifdef HAVE_IEEEFP_H
55775		      #include <ieeefp.h>
55776		      #endif
55777
55778int
55779main ()
55780{
55781 _expf(0);
55782  ;
55783  return 0;
55784}
55785_ACEOF
55786if ac_fn_cxx_try_compile "$LINENO"; then :
55787  glibcxx_cv_func__expf_use=yes
55788else
55789  glibcxx_cv_func__expf_use=no
55790fi
55791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55792      ac_ext=c
55793ac_cpp='$CPP $CPPFLAGS'
55794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55796ac_compiler_gnu=$ac_cv_c_compiler_gnu
55797
55798
55799fi
55800
55801  fi
55802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55803$as_echo "$glibcxx_cv_func__expf_use" >&6; }
55804
55805    if test x$glibcxx_cv_func__expf_use = x"yes"; then
55806      for ac_func in _expf
55807do :
55808  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55809if test "x$ac_cv_func__expf" = xyes; then :
55810  cat >>confdefs.h <<_ACEOF
55811#define HAVE__EXPF 1
55812_ACEOF
55813
55814fi
55815done
55816
55817    fi
55818  fi
55819
55820
55821
55822
55823
55824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55825$as_echo_n "checking for isnanf declaration... " >&6; }
55826  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55827    if ${glibcxx_cv_func_isnanf_use+:} false; then :
55828  $as_echo_n "(cached) " >&6
55829else
55830
55831
55832      ac_ext=cpp
55833ac_cpp='$CXXCPP $CPPFLAGS'
55834ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55835ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55836ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55837
55838      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55839/* end confdefs.h.  */
55840#include <math.h>
55841		      #ifdef HAVE_IEEEFP_H
55842		      #include <ieeefp.h>
55843		      #endif
55844
55845int
55846main ()
55847{
55848 isnanf(0);
55849  ;
55850  return 0;
55851}
55852_ACEOF
55853if ac_fn_cxx_try_compile "$LINENO"; then :
55854  glibcxx_cv_func_isnanf_use=yes
55855else
55856  glibcxx_cv_func_isnanf_use=no
55857fi
55858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55859      ac_ext=c
55860ac_cpp='$CPP $CPPFLAGS'
55861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55863ac_compiler_gnu=$ac_cv_c_compiler_gnu
55864
55865
55866fi
55867
55868  fi
55869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55870$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55871
55872  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55873    for ac_func in isnanf
55874do :
55875  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55876if test "x$ac_cv_func_isnanf" = xyes; then :
55877  cat >>confdefs.h <<_ACEOF
55878#define HAVE_ISNANF 1
55879_ACEOF
55880
55881fi
55882done
55883
55884  else
55885
55886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55887$as_echo_n "checking for _isnanf declaration... " >&6; }
55888  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55889    if ${glibcxx_cv_func__isnanf_use+:} false; then :
55890  $as_echo_n "(cached) " >&6
55891else
55892
55893
55894      ac_ext=cpp
55895ac_cpp='$CXXCPP $CPPFLAGS'
55896ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55897ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55898ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55899
55900      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55901/* end confdefs.h.  */
55902#include <math.h>
55903		      #ifdef HAVE_IEEEFP_H
55904		      #include <ieeefp.h>
55905		      #endif
55906
55907int
55908main ()
55909{
55910 _isnanf(0);
55911  ;
55912  return 0;
55913}
55914_ACEOF
55915if ac_fn_cxx_try_compile "$LINENO"; then :
55916  glibcxx_cv_func__isnanf_use=yes
55917else
55918  glibcxx_cv_func__isnanf_use=no
55919fi
55920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55921      ac_ext=c
55922ac_cpp='$CPP $CPPFLAGS'
55923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55925ac_compiler_gnu=$ac_cv_c_compiler_gnu
55926
55927
55928fi
55929
55930  fi
55931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55932$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55933
55934    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55935      for ac_func in _isnanf
55936do :
55937  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55938if test "x$ac_cv_func__isnanf" = xyes; then :
55939  cat >>confdefs.h <<_ACEOF
55940#define HAVE__ISNANF 1
55941_ACEOF
55942
55943fi
55944done
55945
55946    fi
55947  fi
55948
55949
55950
55951
55952
55953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55954$as_echo_n "checking for isinff declaration... " >&6; }
55955  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55956    if ${glibcxx_cv_func_isinff_use+:} false; then :
55957  $as_echo_n "(cached) " >&6
55958else
55959
55960
55961      ac_ext=cpp
55962ac_cpp='$CXXCPP $CPPFLAGS'
55963ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55964ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55965ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55966
55967      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55968/* end confdefs.h.  */
55969#include <math.h>
55970		      #ifdef HAVE_IEEEFP_H
55971		      #include <ieeefp.h>
55972		      #endif
55973
55974int
55975main ()
55976{
55977 isinff(0);
55978  ;
55979  return 0;
55980}
55981_ACEOF
55982if ac_fn_cxx_try_compile "$LINENO"; then :
55983  glibcxx_cv_func_isinff_use=yes
55984else
55985  glibcxx_cv_func_isinff_use=no
55986fi
55987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55988      ac_ext=c
55989ac_cpp='$CPP $CPPFLAGS'
55990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992ac_compiler_gnu=$ac_cv_c_compiler_gnu
55993
55994
55995fi
55996
55997  fi
55998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55999$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56000
56001  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56002    for ac_func in isinff
56003do :
56004  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56005if test "x$ac_cv_func_isinff" = xyes; then :
56006  cat >>confdefs.h <<_ACEOF
56007#define HAVE_ISINFF 1
56008_ACEOF
56009
56010fi
56011done
56012
56013  else
56014
56015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56016$as_echo_n "checking for _isinff declaration... " >&6; }
56017  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56018    if ${glibcxx_cv_func__isinff_use+:} false; then :
56019  $as_echo_n "(cached) " >&6
56020else
56021
56022
56023      ac_ext=cpp
56024ac_cpp='$CXXCPP $CPPFLAGS'
56025ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56026ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56027ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56028
56029      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56030/* end confdefs.h.  */
56031#include <math.h>
56032		      #ifdef HAVE_IEEEFP_H
56033		      #include <ieeefp.h>
56034		      #endif
56035
56036int
56037main ()
56038{
56039 _isinff(0);
56040  ;
56041  return 0;
56042}
56043_ACEOF
56044if ac_fn_cxx_try_compile "$LINENO"; then :
56045  glibcxx_cv_func__isinff_use=yes
56046else
56047  glibcxx_cv_func__isinff_use=no
56048fi
56049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56050      ac_ext=c
56051ac_cpp='$CPP $CPPFLAGS'
56052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56054ac_compiler_gnu=$ac_cv_c_compiler_gnu
56055
56056
56057fi
56058
56059  fi
56060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56061$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56062
56063    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56064      for ac_func in _isinff
56065do :
56066  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56067if test "x$ac_cv_func__isinff" = xyes; then :
56068  cat >>confdefs.h <<_ACEOF
56069#define HAVE__ISINFF 1
56070_ACEOF
56071
56072fi
56073done
56074
56075    fi
56076  fi
56077
56078
56079
56080
56081
56082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56083$as_echo_n "checking for atan2f declaration... " >&6; }
56084  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56085    if ${glibcxx_cv_func_atan2f_use+:} false; then :
56086  $as_echo_n "(cached) " >&6
56087else
56088
56089
56090      ac_ext=cpp
56091ac_cpp='$CXXCPP $CPPFLAGS'
56092ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56093ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56094ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56095
56096      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56097/* end confdefs.h.  */
56098#include <math.h>
56099int
56100main ()
56101{
56102 atan2f(0, 0);
56103  ;
56104  return 0;
56105}
56106_ACEOF
56107if ac_fn_cxx_try_compile "$LINENO"; then :
56108  glibcxx_cv_func_atan2f_use=yes
56109else
56110  glibcxx_cv_func_atan2f_use=no
56111fi
56112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56113      ac_ext=c
56114ac_cpp='$CPP $CPPFLAGS'
56115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117ac_compiler_gnu=$ac_cv_c_compiler_gnu
56118
56119
56120fi
56121
56122  fi
56123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56124$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56125
56126  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56127    for ac_func in atan2f
56128do :
56129  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56130if test "x$ac_cv_func_atan2f" = xyes; then :
56131  cat >>confdefs.h <<_ACEOF
56132#define HAVE_ATAN2F 1
56133_ACEOF
56134
56135fi
56136done
56137
56138  else
56139
56140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56141$as_echo_n "checking for _atan2f declaration... " >&6; }
56142  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56143    if ${glibcxx_cv_func__atan2f_use+:} false; then :
56144  $as_echo_n "(cached) " >&6
56145else
56146
56147
56148      ac_ext=cpp
56149ac_cpp='$CXXCPP $CPPFLAGS'
56150ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56151ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56152ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56153
56154      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56155/* end confdefs.h.  */
56156#include <math.h>
56157int
56158main ()
56159{
56160 _atan2f(0, 0);
56161  ;
56162  return 0;
56163}
56164_ACEOF
56165if ac_fn_cxx_try_compile "$LINENO"; then :
56166  glibcxx_cv_func__atan2f_use=yes
56167else
56168  glibcxx_cv_func__atan2f_use=no
56169fi
56170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56171      ac_ext=c
56172ac_cpp='$CPP $CPPFLAGS'
56173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56175ac_compiler_gnu=$ac_cv_c_compiler_gnu
56176
56177
56178fi
56179
56180  fi
56181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56182$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56183
56184    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56185      for ac_func in _atan2f
56186do :
56187  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56188if test "x$ac_cv_func__atan2f" = xyes; then :
56189  cat >>confdefs.h <<_ACEOF
56190#define HAVE__ATAN2F 1
56191_ACEOF
56192
56193fi
56194done
56195
56196    fi
56197  fi
56198
56199
56200
56201
56202
56203  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56204$as_echo_n "checking for fabsf declaration... " >&6; }
56205  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56206    if ${glibcxx_cv_func_fabsf_use+:} false; then :
56207  $as_echo_n "(cached) " >&6
56208else
56209
56210
56211      ac_ext=cpp
56212ac_cpp='$CXXCPP $CPPFLAGS'
56213ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56216
56217      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56218/* end confdefs.h.  */
56219#include <math.h>
56220		      #ifdef HAVE_IEEEFP_H
56221		      #include <ieeefp.h>
56222		      #endif
56223
56224int
56225main ()
56226{
56227 fabsf(0);
56228  ;
56229  return 0;
56230}
56231_ACEOF
56232if ac_fn_cxx_try_compile "$LINENO"; then :
56233  glibcxx_cv_func_fabsf_use=yes
56234else
56235  glibcxx_cv_func_fabsf_use=no
56236fi
56237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56238      ac_ext=c
56239ac_cpp='$CPP $CPPFLAGS'
56240ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56241ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56242ac_compiler_gnu=$ac_cv_c_compiler_gnu
56243
56244
56245fi
56246
56247  fi
56248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56249$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56250
56251  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56252    for ac_func in fabsf
56253do :
56254  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56255if test "x$ac_cv_func_fabsf" = xyes; then :
56256  cat >>confdefs.h <<_ACEOF
56257#define HAVE_FABSF 1
56258_ACEOF
56259
56260fi
56261done
56262
56263  else
56264
56265  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56266$as_echo_n "checking for _fabsf declaration... " >&6; }
56267  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56268    if ${glibcxx_cv_func__fabsf_use+:} false; then :
56269  $as_echo_n "(cached) " >&6
56270else
56271
56272
56273      ac_ext=cpp
56274ac_cpp='$CXXCPP $CPPFLAGS'
56275ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56276ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56277ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56278
56279      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56280/* end confdefs.h.  */
56281#include <math.h>
56282		      #ifdef HAVE_IEEEFP_H
56283		      #include <ieeefp.h>
56284		      #endif
56285
56286int
56287main ()
56288{
56289 _fabsf(0);
56290  ;
56291  return 0;
56292}
56293_ACEOF
56294if ac_fn_cxx_try_compile "$LINENO"; then :
56295  glibcxx_cv_func__fabsf_use=yes
56296else
56297  glibcxx_cv_func__fabsf_use=no
56298fi
56299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56300      ac_ext=c
56301ac_cpp='$CPP $CPPFLAGS'
56302ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56303ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56304ac_compiler_gnu=$ac_cv_c_compiler_gnu
56305
56306
56307fi
56308
56309  fi
56310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56311$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56312
56313    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56314      for ac_func in _fabsf
56315do :
56316  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56317if test "x$ac_cv_func__fabsf" = xyes; then :
56318  cat >>confdefs.h <<_ACEOF
56319#define HAVE__FABSF 1
56320_ACEOF
56321
56322fi
56323done
56324
56325    fi
56326  fi
56327
56328
56329
56330
56331
56332  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56333$as_echo_n "checking for fmodf declaration... " >&6; }
56334  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56335    if ${glibcxx_cv_func_fmodf_use+:} false; then :
56336  $as_echo_n "(cached) " >&6
56337else
56338
56339
56340      ac_ext=cpp
56341ac_cpp='$CXXCPP $CPPFLAGS'
56342ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56343ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56344ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56345
56346      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56347/* end confdefs.h.  */
56348#include <math.h>
56349int
56350main ()
56351{
56352 fmodf(0, 0);
56353  ;
56354  return 0;
56355}
56356_ACEOF
56357if ac_fn_cxx_try_compile "$LINENO"; then :
56358  glibcxx_cv_func_fmodf_use=yes
56359else
56360  glibcxx_cv_func_fmodf_use=no
56361fi
56362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56363      ac_ext=c
56364ac_cpp='$CPP $CPPFLAGS'
56365ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367ac_compiler_gnu=$ac_cv_c_compiler_gnu
56368
56369
56370fi
56371
56372  fi
56373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56374$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56375
56376  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56377    for ac_func in fmodf
56378do :
56379  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56380if test "x$ac_cv_func_fmodf" = xyes; then :
56381  cat >>confdefs.h <<_ACEOF
56382#define HAVE_FMODF 1
56383_ACEOF
56384
56385fi
56386done
56387
56388  else
56389
56390  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56391$as_echo_n "checking for _fmodf declaration... " >&6; }
56392  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56393    if ${glibcxx_cv_func__fmodf_use+:} false; then :
56394  $as_echo_n "(cached) " >&6
56395else
56396
56397
56398      ac_ext=cpp
56399ac_cpp='$CXXCPP $CPPFLAGS'
56400ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56401ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56402ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56403
56404      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56405/* end confdefs.h.  */
56406#include <math.h>
56407int
56408main ()
56409{
56410 _fmodf(0, 0);
56411  ;
56412  return 0;
56413}
56414_ACEOF
56415if ac_fn_cxx_try_compile "$LINENO"; then :
56416  glibcxx_cv_func__fmodf_use=yes
56417else
56418  glibcxx_cv_func__fmodf_use=no
56419fi
56420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56421      ac_ext=c
56422ac_cpp='$CPP $CPPFLAGS'
56423ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56424ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56425ac_compiler_gnu=$ac_cv_c_compiler_gnu
56426
56427
56428fi
56429
56430  fi
56431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56432$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56433
56434    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56435      for ac_func in _fmodf
56436do :
56437  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56438if test "x$ac_cv_func__fmodf" = xyes; then :
56439  cat >>confdefs.h <<_ACEOF
56440#define HAVE__FMODF 1
56441_ACEOF
56442
56443fi
56444done
56445
56446    fi
56447  fi
56448
56449
56450
56451
56452
56453  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56454$as_echo_n "checking for frexpf declaration... " >&6; }
56455  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56456    if ${glibcxx_cv_func_frexpf_use+:} false; then :
56457  $as_echo_n "(cached) " >&6
56458else
56459
56460
56461      ac_ext=cpp
56462ac_cpp='$CXXCPP $CPPFLAGS'
56463ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56464ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56465ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56466
56467      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56468/* end confdefs.h.  */
56469#include <math.h>
56470int
56471main ()
56472{
56473 frexpf(0, 0);
56474  ;
56475  return 0;
56476}
56477_ACEOF
56478if ac_fn_cxx_try_compile "$LINENO"; then :
56479  glibcxx_cv_func_frexpf_use=yes
56480else
56481  glibcxx_cv_func_frexpf_use=no
56482fi
56483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56484      ac_ext=c
56485ac_cpp='$CPP $CPPFLAGS'
56486ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488ac_compiler_gnu=$ac_cv_c_compiler_gnu
56489
56490
56491fi
56492
56493  fi
56494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56495$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56496
56497  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56498    for ac_func in frexpf
56499do :
56500  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56501if test "x$ac_cv_func_frexpf" = xyes; then :
56502  cat >>confdefs.h <<_ACEOF
56503#define HAVE_FREXPF 1
56504_ACEOF
56505
56506fi
56507done
56508
56509  else
56510
56511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56512$as_echo_n "checking for _frexpf declaration... " >&6; }
56513  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56514    if ${glibcxx_cv_func__frexpf_use+:} false; then :
56515  $as_echo_n "(cached) " >&6
56516else
56517
56518
56519      ac_ext=cpp
56520ac_cpp='$CXXCPP $CPPFLAGS'
56521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56524
56525      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56526/* end confdefs.h.  */
56527#include <math.h>
56528int
56529main ()
56530{
56531 _frexpf(0, 0);
56532  ;
56533  return 0;
56534}
56535_ACEOF
56536if ac_fn_cxx_try_compile "$LINENO"; then :
56537  glibcxx_cv_func__frexpf_use=yes
56538else
56539  glibcxx_cv_func__frexpf_use=no
56540fi
56541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56542      ac_ext=c
56543ac_cpp='$CPP $CPPFLAGS'
56544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56546ac_compiler_gnu=$ac_cv_c_compiler_gnu
56547
56548
56549fi
56550
56551  fi
56552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56553$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56554
56555    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56556      for ac_func in _frexpf
56557do :
56558  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56559if test "x$ac_cv_func__frexpf" = xyes; then :
56560  cat >>confdefs.h <<_ACEOF
56561#define HAVE__FREXPF 1
56562_ACEOF
56563
56564fi
56565done
56566
56567    fi
56568  fi
56569
56570
56571
56572
56573
56574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56575$as_echo_n "checking for hypotf declaration... " >&6; }
56576  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56577    if ${glibcxx_cv_func_hypotf_use+:} false; then :
56578  $as_echo_n "(cached) " >&6
56579else
56580
56581
56582      ac_ext=cpp
56583ac_cpp='$CXXCPP $CPPFLAGS'
56584ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56585ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56586ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56587
56588      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56589/* end confdefs.h.  */
56590#include <math.h>
56591int
56592main ()
56593{
56594 hypotf(0, 0);
56595  ;
56596  return 0;
56597}
56598_ACEOF
56599if ac_fn_cxx_try_compile "$LINENO"; then :
56600  glibcxx_cv_func_hypotf_use=yes
56601else
56602  glibcxx_cv_func_hypotf_use=no
56603fi
56604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56605      ac_ext=c
56606ac_cpp='$CPP $CPPFLAGS'
56607ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56608ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56609ac_compiler_gnu=$ac_cv_c_compiler_gnu
56610
56611
56612fi
56613
56614  fi
56615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56616$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56617
56618  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56619    for ac_func in hypotf
56620do :
56621  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56622if test "x$ac_cv_func_hypotf" = xyes; then :
56623  cat >>confdefs.h <<_ACEOF
56624#define HAVE_HYPOTF 1
56625_ACEOF
56626
56627fi
56628done
56629
56630  else
56631
56632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56633$as_echo_n "checking for _hypotf declaration... " >&6; }
56634  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56635    if ${glibcxx_cv_func__hypotf_use+:} false; then :
56636  $as_echo_n "(cached) " >&6
56637else
56638
56639
56640      ac_ext=cpp
56641ac_cpp='$CXXCPP $CPPFLAGS'
56642ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56645
56646      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56647/* end confdefs.h.  */
56648#include <math.h>
56649int
56650main ()
56651{
56652 _hypotf(0, 0);
56653  ;
56654  return 0;
56655}
56656_ACEOF
56657if ac_fn_cxx_try_compile "$LINENO"; then :
56658  glibcxx_cv_func__hypotf_use=yes
56659else
56660  glibcxx_cv_func__hypotf_use=no
56661fi
56662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56663      ac_ext=c
56664ac_cpp='$CPP $CPPFLAGS'
56665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56667ac_compiler_gnu=$ac_cv_c_compiler_gnu
56668
56669
56670fi
56671
56672  fi
56673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56674$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56675
56676    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56677      for ac_func in _hypotf
56678do :
56679  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56680if test "x$ac_cv_func__hypotf" = xyes; then :
56681  cat >>confdefs.h <<_ACEOF
56682#define HAVE__HYPOTF 1
56683_ACEOF
56684
56685fi
56686done
56687
56688    fi
56689  fi
56690
56691
56692
56693
56694
56695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56696$as_echo_n "checking for ldexpf declaration... " >&6; }
56697  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56698    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56699  $as_echo_n "(cached) " >&6
56700else
56701
56702
56703      ac_ext=cpp
56704ac_cpp='$CXXCPP $CPPFLAGS'
56705ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56706ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56707ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56708
56709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56710/* end confdefs.h.  */
56711#include <math.h>
56712int
56713main ()
56714{
56715 ldexpf(0, 0);
56716  ;
56717  return 0;
56718}
56719_ACEOF
56720if ac_fn_cxx_try_compile "$LINENO"; then :
56721  glibcxx_cv_func_ldexpf_use=yes
56722else
56723  glibcxx_cv_func_ldexpf_use=no
56724fi
56725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56726      ac_ext=c
56727ac_cpp='$CPP $CPPFLAGS'
56728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56730ac_compiler_gnu=$ac_cv_c_compiler_gnu
56731
56732
56733fi
56734
56735  fi
56736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56737$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56738
56739  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56740    for ac_func in ldexpf
56741do :
56742  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56743if test "x$ac_cv_func_ldexpf" = xyes; then :
56744  cat >>confdefs.h <<_ACEOF
56745#define HAVE_LDEXPF 1
56746_ACEOF
56747
56748fi
56749done
56750
56751  else
56752
56753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56754$as_echo_n "checking for _ldexpf declaration... " >&6; }
56755  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56756    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56757  $as_echo_n "(cached) " >&6
56758else
56759
56760
56761      ac_ext=cpp
56762ac_cpp='$CXXCPP $CPPFLAGS'
56763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56766
56767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56768/* end confdefs.h.  */
56769#include <math.h>
56770int
56771main ()
56772{
56773 _ldexpf(0, 0);
56774  ;
56775  return 0;
56776}
56777_ACEOF
56778if ac_fn_cxx_try_compile "$LINENO"; then :
56779  glibcxx_cv_func__ldexpf_use=yes
56780else
56781  glibcxx_cv_func__ldexpf_use=no
56782fi
56783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56784      ac_ext=c
56785ac_cpp='$CPP $CPPFLAGS'
56786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56788ac_compiler_gnu=$ac_cv_c_compiler_gnu
56789
56790
56791fi
56792
56793  fi
56794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56795$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56796
56797    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56798      for ac_func in _ldexpf
56799do :
56800  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56801if test "x$ac_cv_func__ldexpf" = xyes; then :
56802  cat >>confdefs.h <<_ACEOF
56803#define HAVE__LDEXPF 1
56804_ACEOF
56805
56806fi
56807done
56808
56809    fi
56810  fi
56811
56812
56813
56814
56815
56816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56817$as_echo_n "checking for logf declaration... " >&6; }
56818  if test x${glibcxx_cv_func_logf_use+set} != xset; then
56819    if ${glibcxx_cv_func_logf_use+:} false; then :
56820  $as_echo_n "(cached) " >&6
56821else
56822
56823
56824      ac_ext=cpp
56825ac_cpp='$CXXCPP $CPPFLAGS'
56826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56829
56830      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56831/* end confdefs.h.  */
56832#include <math.h>
56833		      #ifdef HAVE_IEEEFP_H
56834		      #include <ieeefp.h>
56835		      #endif
56836
56837int
56838main ()
56839{
56840 logf(0);
56841  ;
56842  return 0;
56843}
56844_ACEOF
56845if ac_fn_cxx_try_compile "$LINENO"; then :
56846  glibcxx_cv_func_logf_use=yes
56847else
56848  glibcxx_cv_func_logf_use=no
56849fi
56850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56851      ac_ext=c
56852ac_cpp='$CPP $CPPFLAGS'
56853ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56854ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56855ac_compiler_gnu=$ac_cv_c_compiler_gnu
56856
56857
56858fi
56859
56860  fi
56861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56862$as_echo "$glibcxx_cv_func_logf_use" >&6; }
56863
56864  if test x$glibcxx_cv_func_logf_use = x"yes"; then
56865    for ac_func in logf
56866do :
56867  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56868if test "x$ac_cv_func_logf" = xyes; then :
56869  cat >>confdefs.h <<_ACEOF
56870#define HAVE_LOGF 1
56871_ACEOF
56872
56873fi
56874done
56875
56876  else
56877
56878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56879$as_echo_n "checking for _logf declaration... " >&6; }
56880  if test x${glibcxx_cv_func__logf_use+set} != xset; then
56881    if ${glibcxx_cv_func__logf_use+:} false; then :
56882  $as_echo_n "(cached) " >&6
56883else
56884
56885
56886      ac_ext=cpp
56887ac_cpp='$CXXCPP $CPPFLAGS'
56888ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56889ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56890ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56891
56892      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56893/* end confdefs.h.  */
56894#include <math.h>
56895		      #ifdef HAVE_IEEEFP_H
56896		      #include <ieeefp.h>
56897		      #endif
56898
56899int
56900main ()
56901{
56902 _logf(0);
56903  ;
56904  return 0;
56905}
56906_ACEOF
56907if ac_fn_cxx_try_compile "$LINENO"; then :
56908  glibcxx_cv_func__logf_use=yes
56909else
56910  glibcxx_cv_func__logf_use=no
56911fi
56912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56913      ac_ext=c
56914ac_cpp='$CPP $CPPFLAGS'
56915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56917ac_compiler_gnu=$ac_cv_c_compiler_gnu
56918
56919
56920fi
56921
56922  fi
56923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56924$as_echo "$glibcxx_cv_func__logf_use" >&6; }
56925
56926    if test x$glibcxx_cv_func__logf_use = x"yes"; then
56927      for ac_func in _logf
56928do :
56929  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56930if test "x$ac_cv_func__logf" = xyes; then :
56931  cat >>confdefs.h <<_ACEOF
56932#define HAVE__LOGF 1
56933_ACEOF
56934
56935fi
56936done
56937
56938    fi
56939  fi
56940
56941
56942
56943
56944
56945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56946$as_echo_n "checking for log10f declaration... " >&6; }
56947  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56948    if ${glibcxx_cv_func_log10f_use+:} false; then :
56949  $as_echo_n "(cached) " >&6
56950else
56951
56952
56953      ac_ext=cpp
56954ac_cpp='$CXXCPP $CPPFLAGS'
56955ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56956ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56957ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56958
56959      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56960/* end confdefs.h.  */
56961#include <math.h>
56962		      #ifdef HAVE_IEEEFP_H
56963		      #include <ieeefp.h>
56964		      #endif
56965
56966int
56967main ()
56968{
56969 log10f(0);
56970  ;
56971  return 0;
56972}
56973_ACEOF
56974if ac_fn_cxx_try_compile "$LINENO"; then :
56975  glibcxx_cv_func_log10f_use=yes
56976else
56977  glibcxx_cv_func_log10f_use=no
56978fi
56979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56980      ac_ext=c
56981ac_cpp='$CPP $CPPFLAGS'
56982ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56983ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56984ac_compiler_gnu=$ac_cv_c_compiler_gnu
56985
56986
56987fi
56988
56989  fi
56990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56991$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56992
56993  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56994    for ac_func in log10f
56995do :
56996  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56997if test "x$ac_cv_func_log10f" = xyes; then :
56998  cat >>confdefs.h <<_ACEOF
56999#define HAVE_LOG10F 1
57000_ACEOF
57001
57002fi
57003done
57004
57005  else
57006
57007  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57008$as_echo_n "checking for _log10f declaration... " >&6; }
57009  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57010    if ${glibcxx_cv_func__log10f_use+:} false; then :
57011  $as_echo_n "(cached) " >&6
57012else
57013
57014
57015      ac_ext=cpp
57016ac_cpp='$CXXCPP $CPPFLAGS'
57017ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57018ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57019ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57020
57021      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57022/* end confdefs.h.  */
57023#include <math.h>
57024		      #ifdef HAVE_IEEEFP_H
57025		      #include <ieeefp.h>
57026		      #endif
57027
57028int
57029main ()
57030{
57031 _log10f(0);
57032  ;
57033  return 0;
57034}
57035_ACEOF
57036if ac_fn_cxx_try_compile "$LINENO"; then :
57037  glibcxx_cv_func__log10f_use=yes
57038else
57039  glibcxx_cv_func__log10f_use=no
57040fi
57041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57042      ac_ext=c
57043ac_cpp='$CPP $CPPFLAGS'
57044ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57045ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57046ac_compiler_gnu=$ac_cv_c_compiler_gnu
57047
57048
57049fi
57050
57051  fi
57052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57053$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57054
57055    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57056      for ac_func in _log10f
57057do :
57058  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57059if test "x$ac_cv_func__log10f" = xyes; then :
57060  cat >>confdefs.h <<_ACEOF
57061#define HAVE__LOG10F 1
57062_ACEOF
57063
57064fi
57065done
57066
57067    fi
57068  fi
57069
57070
57071
57072
57073
57074  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57075$as_echo_n "checking for modff declaration... " >&6; }
57076  if test x${glibcxx_cv_func_modff_use+set} != xset; then
57077    if ${glibcxx_cv_func_modff_use+:} false; then :
57078  $as_echo_n "(cached) " >&6
57079else
57080
57081
57082      ac_ext=cpp
57083ac_cpp='$CXXCPP $CPPFLAGS'
57084ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57087
57088      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57089/* end confdefs.h.  */
57090#include <math.h>
57091int
57092main ()
57093{
57094 modff(0, 0);
57095  ;
57096  return 0;
57097}
57098_ACEOF
57099if ac_fn_cxx_try_compile "$LINENO"; then :
57100  glibcxx_cv_func_modff_use=yes
57101else
57102  glibcxx_cv_func_modff_use=no
57103fi
57104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105      ac_ext=c
57106ac_cpp='$CPP $CPPFLAGS'
57107ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109ac_compiler_gnu=$ac_cv_c_compiler_gnu
57110
57111
57112fi
57113
57114  fi
57115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57116$as_echo "$glibcxx_cv_func_modff_use" >&6; }
57117
57118  if test x$glibcxx_cv_func_modff_use = x"yes"; then
57119    for ac_func in modff
57120do :
57121  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57122if test "x$ac_cv_func_modff" = xyes; then :
57123  cat >>confdefs.h <<_ACEOF
57124#define HAVE_MODFF 1
57125_ACEOF
57126
57127fi
57128done
57129
57130  else
57131
57132  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57133$as_echo_n "checking for _modff declaration... " >&6; }
57134  if test x${glibcxx_cv_func__modff_use+set} != xset; then
57135    if ${glibcxx_cv_func__modff_use+:} false; then :
57136  $as_echo_n "(cached) " >&6
57137else
57138
57139
57140      ac_ext=cpp
57141ac_cpp='$CXXCPP $CPPFLAGS'
57142ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57143ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57144ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57145
57146      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57147/* end confdefs.h.  */
57148#include <math.h>
57149int
57150main ()
57151{
57152 _modff(0, 0);
57153  ;
57154  return 0;
57155}
57156_ACEOF
57157if ac_fn_cxx_try_compile "$LINENO"; then :
57158  glibcxx_cv_func__modff_use=yes
57159else
57160  glibcxx_cv_func__modff_use=no
57161fi
57162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57163      ac_ext=c
57164ac_cpp='$CPP $CPPFLAGS'
57165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57167ac_compiler_gnu=$ac_cv_c_compiler_gnu
57168
57169
57170fi
57171
57172  fi
57173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57174$as_echo "$glibcxx_cv_func__modff_use" >&6; }
57175
57176    if test x$glibcxx_cv_func__modff_use = x"yes"; then
57177      for ac_func in _modff
57178do :
57179  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57180if test "x$ac_cv_func__modff" = xyes; then :
57181  cat >>confdefs.h <<_ACEOF
57182#define HAVE__MODFF 1
57183_ACEOF
57184
57185fi
57186done
57187
57188    fi
57189  fi
57190
57191
57192
57193
57194
57195  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57196$as_echo_n "checking for modf declaration... " >&6; }
57197  if test x${glibcxx_cv_func_modf_use+set} != xset; then
57198    if ${glibcxx_cv_func_modf_use+:} false; then :
57199  $as_echo_n "(cached) " >&6
57200else
57201
57202
57203      ac_ext=cpp
57204ac_cpp='$CXXCPP $CPPFLAGS'
57205ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57206ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57207ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57208
57209      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57210/* end confdefs.h.  */
57211#include <math.h>
57212int
57213main ()
57214{
57215 modf(0, 0);
57216  ;
57217  return 0;
57218}
57219_ACEOF
57220if ac_fn_cxx_try_compile "$LINENO"; then :
57221  glibcxx_cv_func_modf_use=yes
57222else
57223  glibcxx_cv_func_modf_use=no
57224fi
57225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57226      ac_ext=c
57227ac_cpp='$CPP $CPPFLAGS'
57228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57230ac_compiler_gnu=$ac_cv_c_compiler_gnu
57231
57232
57233fi
57234
57235  fi
57236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57237$as_echo "$glibcxx_cv_func_modf_use" >&6; }
57238
57239  if test x$glibcxx_cv_func_modf_use = x"yes"; then
57240    for ac_func in modf
57241do :
57242  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57243if test "x$ac_cv_func_modf" = xyes; then :
57244  cat >>confdefs.h <<_ACEOF
57245#define HAVE_MODF 1
57246_ACEOF
57247
57248fi
57249done
57250
57251  else
57252
57253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57254$as_echo_n "checking for _modf declaration... " >&6; }
57255  if test x${glibcxx_cv_func__modf_use+set} != xset; then
57256    if ${glibcxx_cv_func__modf_use+:} false; then :
57257  $as_echo_n "(cached) " >&6
57258else
57259
57260
57261      ac_ext=cpp
57262ac_cpp='$CXXCPP $CPPFLAGS'
57263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57266
57267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57268/* end confdefs.h.  */
57269#include <math.h>
57270int
57271main ()
57272{
57273 _modf(0, 0);
57274  ;
57275  return 0;
57276}
57277_ACEOF
57278if ac_fn_cxx_try_compile "$LINENO"; then :
57279  glibcxx_cv_func__modf_use=yes
57280else
57281  glibcxx_cv_func__modf_use=no
57282fi
57283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57284      ac_ext=c
57285ac_cpp='$CPP $CPPFLAGS'
57286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57288ac_compiler_gnu=$ac_cv_c_compiler_gnu
57289
57290
57291fi
57292
57293  fi
57294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57295$as_echo "$glibcxx_cv_func__modf_use" >&6; }
57296
57297    if test x$glibcxx_cv_func__modf_use = x"yes"; then
57298      for ac_func in _modf
57299do :
57300  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57301if test "x$ac_cv_func__modf" = xyes; then :
57302  cat >>confdefs.h <<_ACEOF
57303#define HAVE__MODF 1
57304_ACEOF
57305
57306fi
57307done
57308
57309    fi
57310  fi
57311
57312
57313
57314
57315
57316  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57317$as_echo_n "checking for powf declaration... " >&6; }
57318  if test x${glibcxx_cv_func_powf_use+set} != xset; then
57319    if ${glibcxx_cv_func_powf_use+:} false; then :
57320  $as_echo_n "(cached) " >&6
57321else
57322
57323
57324      ac_ext=cpp
57325ac_cpp='$CXXCPP $CPPFLAGS'
57326ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57327ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57328ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57329
57330      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57331/* end confdefs.h.  */
57332#include <math.h>
57333int
57334main ()
57335{
57336 powf(0, 0);
57337  ;
57338  return 0;
57339}
57340_ACEOF
57341if ac_fn_cxx_try_compile "$LINENO"; then :
57342  glibcxx_cv_func_powf_use=yes
57343else
57344  glibcxx_cv_func_powf_use=no
57345fi
57346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57347      ac_ext=c
57348ac_cpp='$CPP $CPPFLAGS'
57349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57351ac_compiler_gnu=$ac_cv_c_compiler_gnu
57352
57353
57354fi
57355
57356  fi
57357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57358$as_echo "$glibcxx_cv_func_powf_use" >&6; }
57359
57360  if test x$glibcxx_cv_func_powf_use = x"yes"; then
57361    for ac_func in powf
57362do :
57363  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57364if test "x$ac_cv_func_powf" = xyes; then :
57365  cat >>confdefs.h <<_ACEOF
57366#define HAVE_POWF 1
57367_ACEOF
57368
57369fi
57370done
57371
57372  else
57373
57374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57375$as_echo_n "checking for _powf declaration... " >&6; }
57376  if test x${glibcxx_cv_func__powf_use+set} != xset; then
57377    if ${glibcxx_cv_func__powf_use+:} false; then :
57378  $as_echo_n "(cached) " >&6
57379else
57380
57381
57382      ac_ext=cpp
57383ac_cpp='$CXXCPP $CPPFLAGS'
57384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57387
57388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57389/* end confdefs.h.  */
57390#include <math.h>
57391int
57392main ()
57393{
57394 _powf(0, 0);
57395  ;
57396  return 0;
57397}
57398_ACEOF
57399if ac_fn_cxx_try_compile "$LINENO"; then :
57400  glibcxx_cv_func__powf_use=yes
57401else
57402  glibcxx_cv_func__powf_use=no
57403fi
57404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57405      ac_ext=c
57406ac_cpp='$CPP $CPPFLAGS'
57407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57409ac_compiler_gnu=$ac_cv_c_compiler_gnu
57410
57411
57412fi
57413
57414  fi
57415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57416$as_echo "$glibcxx_cv_func__powf_use" >&6; }
57417
57418    if test x$glibcxx_cv_func__powf_use = x"yes"; then
57419      for ac_func in _powf
57420do :
57421  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57422if test "x$ac_cv_func__powf" = xyes; then :
57423  cat >>confdefs.h <<_ACEOF
57424#define HAVE__POWF 1
57425_ACEOF
57426
57427fi
57428done
57429
57430    fi
57431  fi
57432
57433
57434
57435
57436
57437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57438$as_echo_n "checking for sqrtf declaration... " >&6; }
57439  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57440    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57441  $as_echo_n "(cached) " >&6
57442else
57443
57444
57445      ac_ext=cpp
57446ac_cpp='$CXXCPP $CPPFLAGS'
57447ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57448ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57449ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57450
57451      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57452/* end confdefs.h.  */
57453#include <math.h>
57454		      #ifdef HAVE_IEEEFP_H
57455		      #include <ieeefp.h>
57456		      #endif
57457
57458int
57459main ()
57460{
57461 sqrtf(0);
57462  ;
57463  return 0;
57464}
57465_ACEOF
57466if ac_fn_cxx_try_compile "$LINENO"; then :
57467  glibcxx_cv_func_sqrtf_use=yes
57468else
57469  glibcxx_cv_func_sqrtf_use=no
57470fi
57471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57472      ac_ext=c
57473ac_cpp='$CPP $CPPFLAGS'
57474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476ac_compiler_gnu=$ac_cv_c_compiler_gnu
57477
57478
57479fi
57480
57481  fi
57482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57483$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57484
57485  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57486    for ac_func in sqrtf
57487do :
57488  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57489if test "x$ac_cv_func_sqrtf" = xyes; then :
57490  cat >>confdefs.h <<_ACEOF
57491#define HAVE_SQRTF 1
57492_ACEOF
57493
57494fi
57495done
57496
57497  else
57498
57499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57500$as_echo_n "checking for _sqrtf declaration... " >&6; }
57501  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57502    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57503  $as_echo_n "(cached) " >&6
57504else
57505
57506
57507      ac_ext=cpp
57508ac_cpp='$CXXCPP $CPPFLAGS'
57509ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57510ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57511ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57512
57513      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57514/* end confdefs.h.  */
57515#include <math.h>
57516		      #ifdef HAVE_IEEEFP_H
57517		      #include <ieeefp.h>
57518		      #endif
57519
57520int
57521main ()
57522{
57523 _sqrtf(0);
57524  ;
57525  return 0;
57526}
57527_ACEOF
57528if ac_fn_cxx_try_compile "$LINENO"; then :
57529  glibcxx_cv_func__sqrtf_use=yes
57530else
57531  glibcxx_cv_func__sqrtf_use=no
57532fi
57533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57534      ac_ext=c
57535ac_cpp='$CPP $CPPFLAGS'
57536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538ac_compiler_gnu=$ac_cv_c_compiler_gnu
57539
57540
57541fi
57542
57543  fi
57544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57545$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57546
57547    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57548      for ac_func in _sqrtf
57549do :
57550  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57551if test "x$ac_cv_func__sqrtf" = xyes; then :
57552  cat >>confdefs.h <<_ACEOF
57553#define HAVE__SQRTF 1
57554_ACEOF
57555
57556fi
57557done
57558
57559    fi
57560  fi
57561
57562
57563
57564
57565
57566  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57567$as_echo_n "checking for sincosf declaration... " >&6; }
57568  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57569    if ${glibcxx_cv_func_sincosf_use+:} false; then :
57570  $as_echo_n "(cached) " >&6
57571else
57572
57573
57574      ac_ext=cpp
57575ac_cpp='$CXXCPP $CPPFLAGS'
57576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57579
57580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57581/* end confdefs.h.  */
57582#include <math.h>
57583int
57584main ()
57585{
57586 sincosf(0, 0, 0);
57587  ;
57588  return 0;
57589}
57590_ACEOF
57591if ac_fn_cxx_try_compile "$LINENO"; then :
57592  glibcxx_cv_func_sincosf_use=yes
57593else
57594  glibcxx_cv_func_sincosf_use=no
57595fi
57596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57597      ac_ext=c
57598ac_cpp='$CPP $CPPFLAGS'
57599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57601ac_compiler_gnu=$ac_cv_c_compiler_gnu
57602
57603
57604fi
57605
57606  fi
57607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57608$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57609
57610  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57611    for ac_func in sincosf
57612do :
57613  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57614if test "x$ac_cv_func_sincosf" = xyes; then :
57615  cat >>confdefs.h <<_ACEOF
57616#define HAVE_SINCOSF 1
57617_ACEOF
57618
57619fi
57620done
57621
57622  else
57623
57624  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57625$as_echo_n "checking for _sincosf declaration... " >&6; }
57626  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57627    if ${glibcxx_cv_func__sincosf_use+:} false; then :
57628  $as_echo_n "(cached) " >&6
57629else
57630
57631
57632      ac_ext=cpp
57633ac_cpp='$CXXCPP $CPPFLAGS'
57634ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57635ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57636ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57637
57638      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57639/* end confdefs.h.  */
57640#include <math.h>
57641int
57642main ()
57643{
57644 _sincosf(0, 0, 0);
57645  ;
57646  return 0;
57647}
57648_ACEOF
57649if ac_fn_cxx_try_compile "$LINENO"; then :
57650  glibcxx_cv_func__sincosf_use=yes
57651else
57652  glibcxx_cv_func__sincosf_use=no
57653fi
57654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57655      ac_ext=c
57656ac_cpp='$CPP $CPPFLAGS'
57657ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57658ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57659ac_compiler_gnu=$ac_cv_c_compiler_gnu
57660
57661
57662fi
57663
57664  fi
57665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57666$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57667
57668    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57669      for ac_func in _sincosf
57670do :
57671  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57672if test "x$ac_cv_func__sincosf" = xyes; then :
57673  cat >>confdefs.h <<_ACEOF
57674#define HAVE__SINCOSF 1
57675_ACEOF
57676
57677fi
57678done
57679
57680    fi
57681  fi
57682
57683
57684
57685
57686
57687  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57688$as_echo_n "checking for finitef declaration... " >&6; }
57689  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57690    if ${glibcxx_cv_func_finitef_use+:} false; then :
57691  $as_echo_n "(cached) " >&6
57692else
57693
57694
57695      ac_ext=cpp
57696ac_cpp='$CXXCPP $CPPFLAGS'
57697ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57698ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57699ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57700
57701      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57702/* end confdefs.h.  */
57703#include <math.h>
57704		      #ifdef HAVE_IEEEFP_H
57705		      #include <ieeefp.h>
57706		      #endif
57707
57708int
57709main ()
57710{
57711 finitef(0);
57712  ;
57713  return 0;
57714}
57715_ACEOF
57716if ac_fn_cxx_try_compile "$LINENO"; then :
57717  glibcxx_cv_func_finitef_use=yes
57718else
57719  glibcxx_cv_func_finitef_use=no
57720fi
57721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57722      ac_ext=c
57723ac_cpp='$CPP $CPPFLAGS'
57724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57726ac_compiler_gnu=$ac_cv_c_compiler_gnu
57727
57728
57729fi
57730
57731  fi
57732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57733$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57734
57735  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57736    for ac_func in finitef
57737do :
57738  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57739if test "x$ac_cv_func_finitef" = xyes; then :
57740  cat >>confdefs.h <<_ACEOF
57741#define HAVE_FINITEF 1
57742_ACEOF
57743
57744fi
57745done
57746
57747  else
57748
57749  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57750$as_echo_n "checking for _finitef declaration... " >&6; }
57751  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57752    if ${glibcxx_cv_func__finitef_use+:} false; then :
57753  $as_echo_n "(cached) " >&6
57754else
57755
57756
57757      ac_ext=cpp
57758ac_cpp='$CXXCPP $CPPFLAGS'
57759ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57760ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57761ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57762
57763      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57764/* end confdefs.h.  */
57765#include <math.h>
57766		      #ifdef HAVE_IEEEFP_H
57767		      #include <ieeefp.h>
57768		      #endif
57769
57770int
57771main ()
57772{
57773 _finitef(0);
57774  ;
57775  return 0;
57776}
57777_ACEOF
57778if ac_fn_cxx_try_compile "$LINENO"; then :
57779  glibcxx_cv_func__finitef_use=yes
57780else
57781  glibcxx_cv_func__finitef_use=no
57782fi
57783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57784      ac_ext=c
57785ac_cpp='$CPP $CPPFLAGS'
57786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57788ac_compiler_gnu=$ac_cv_c_compiler_gnu
57789
57790
57791fi
57792
57793  fi
57794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57795$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57796
57797    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57798      for ac_func in _finitef
57799do :
57800  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57801if test "x$ac_cv_func__finitef" = xyes; then :
57802  cat >>confdefs.h <<_ACEOF
57803#define HAVE__FINITEF 1
57804_ACEOF
57805
57806fi
57807done
57808
57809    fi
57810  fi
57811
57812
57813
57814
57815
57816    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57817$as_echo_n "checking for long double trig functions... " >&6; }
57818  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57819  $as_echo_n "(cached) " >&6
57820else
57821
57822
57823    ac_ext=cpp
57824ac_cpp='$CXXCPP $CPPFLAGS'
57825ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57826ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57827ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57828
57829    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57830/* end confdefs.h.  */
57831#include <math.h>
57832int
57833main ()
57834{
57835acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57836  ;
57837  return 0;
57838}
57839_ACEOF
57840if ac_fn_cxx_try_compile "$LINENO"; then :
57841  glibcxx_cv_func_long_double_trig_use=yes
57842else
57843  glibcxx_cv_func_long_double_trig_use=no
57844fi
57845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57846    ac_ext=c
57847ac_cpp='$CPP $CPPFLAGS'
57848ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57849ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57850ac_compiler_gnu=$ac_cv_c_compiler_gnu
57851
57852fi
57853
57854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57855$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57856  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57857    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57858do :
57859  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57860ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57861if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57862  cat >>confdefs.h <<_ACEOF
57863#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57864_ACEOF
57865
57866fi
57867done
57868
57869  else
57870    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57871$as_echo_n "checking for _long double trig functions... " >&6; }
57872    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57873  $as_echo_n "(cached) " >&6
57874else
57875
57876
57877      ac_ext=cpp
57878ac_cpp='$CXXCPP $CPPFLAGS'
57879ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57880ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57881ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57882
57883      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57884/* end confdefs.h.  */
57885#include <math.h>
57886int
57887main ()
57888{
57889_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57890  ;
57891  return 0;
57892}
57893_ACEOF
57894if ac_fn_cxx_try_compile "$LINENO"; then :
57895  glibcxx_cv_func__long_double_trig_use=yes
57896else
57897  glibcxx_cv_func__long_double_trig_use=no
57898fi
57899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57900      ac_ext=c
57901ac_cpp='$CPP $CPPFLAGS'
57902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57904ac_compiler_gnu=$ac_cv_c_compiler_gnu
57905
57906fi
57907
57908    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57909$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57910    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57911      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57912do :
57913  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57914ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57915if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57916  cat >>confdefs.h <<_ACEOF
57917#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57918_ACEOF
57919
57920fi
57921done
57922
57923    fi
57924  fi
57925
57926
57927
57928
57929
57930    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57931$as_echo_n "checking for long double round functions... " >&6; }
57932  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57933  $as_echo_n "(cached) " >&6
57934else
57935
57936
57937    ac_ext=cpp
57938ac_cpp='$CXXCPP $CPPFLAGS'
57939ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57940ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57941ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57942
57943    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57944/* end confdefs.h.  */
57945#include <math.h>
57946int
57947main ()
57948{
57949ceill (0); floorl (0);
57950  ;
57951  return 0;
57952}
57953_ACEOF
57954if ac_fn_cxx_try_compile "$LINENO"; then :
57955  glibcxx_cv_func_long_double_round_use=yes
57956else
57957  glibcxx_cv_func_long_double_round_use=no
57958fi
57959rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57960    ac_ext=c
57961ac_cpp='$CPP $CPPFLAGS'
57962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57964ac_compiler_gnu=$ac_cv_c_compiler_gnu
57965
57966fi
57967
57968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57969$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57970  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57971    for ac_func in ceill floorl
57972do :
57973  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57974ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57975if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57976  cat >>confdefs.h <<_ACEOF
57977#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57978_ACEOF
57979
57980fi
57981done
57982
57983  else
57984    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57985$as_echo_n "checking for _long double round functions... " >&6; }
57986    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57987  $as_echo_n "(cached) " >&6
57988else
57989
57990
57991      ac_ext=cpp
57992ac_cpp='$CXXCPP $CPPFLAGS'
57993ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57994ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57995ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57996
57997      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57998/* end confdefs.h.  */
57999#include <math.h>
58000int
58001main ()
58002{
58003_ceill (0); _floorl (0);
58004  ;
58005  return 0;
58006}
58007_ACEOF
58008if ac_fn_cxx_try_compile "$LINENO"; then :
58009  glibcxx_cv_func__long_double_round_use=yes
58010else
58011  glibcxx_cv_func__long_double_round_use=no
58012fi
58013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58014      ac_ext=c
58015ac_cpp='$CPP $CPPFLAGS'
58016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58018ac_compiler_gnu=$ac_cv_c_compiler_gnu
58019
58020fi
58021
58022    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58023$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58024    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58025      for ac_func in _ceill _floorl
58026do :
58027  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58028ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58029if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58030  cat >>confdefs.h <<_ACEOF
58031#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58032_ACEOF
58033
58034fi
58035done
58036
58037    fi
58038  fi
58039
58040
58041
58042
58043
58044
58045  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58046$as_echo_n "checking for isnanl declaration... " >&6; }
58047  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58048    if ${glibcxx_cv_func_isnanl_use+:} false; then :
58049  $as_echo_n "(cached) " >&6
58050else
58051
58052
58053      ac_ext=cpp
58054ac_cpp='$CXXCPP $CPPFLAGS'
58055ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58056ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58057ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58058
58059      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58060/* end confdefs.h.  */
58061#include <math.h>
58062		      #ifdef HAVE_IEEEFP_H
58063		      #include <ieeefp.h>
58064		      #endif
58065
58066int
58067main ()
58068{
58069 isnanl(0);
58070  ;
58071  return 0;
58072}
58073_ACEOF
58074if ac_fn_cxx_try_compile "$LINENO"; then :
58075  glibcxx_cv_func_isnanl_use=yes
58076else
58077  glibcxx_cv_func_isnanl_use=no
58078fi
58079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58080      ac_ext=c
58081ac_cpp='$CPP $CPPFLAGS'
58082ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58083ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58084ac_compiler_gnu=$ac_cv_c_compiler_gnu
58085
58086
58087fi
58088
58089  fi
58090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58091$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58092
58093  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58094    for ac_func in isnanl
58095do :
58096  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58097if test "x$ac_cv_func_isnanl" = xyes; then :
58098  cat >>confdefs.h <<_ACEOF
58099#define HAVE_ISNANL 1
58100_ACEOF
58101
58102fi
58103done
58104
58105  else
58106
58107  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58108$as_echo_n "checking for _isnanl declaration... " >&6; }
58109  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58110    if ${glibcxx_cv_func__isnanl_use+:} false; then :
58111  $as_echo_n "(cached) " >&6
58112else
58113
58114
58115      ac_ext=cpp
58116ac_cpp='$CXXCPP $CPPFLAGS'
58117ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58118ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58119ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58120
58121      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58122/* end confdefs.h.  */
58123#include <math.h>
58124		      #ifdef HAVE_IEEEFP_H
58125		      #include <ieeefp.h>
58126		      #endif
58127
58128int
58129main ()
58130{
58131 _isnanl(0);
58132  ;
58133  return 0;
58134}
58135_ACEOF
58136if ac_fn_cxx_try_compile "$LINENO"; then :
58137  glibcxx_cv_func__isnanl_use=yes
58138else
58139  glibcxx_cv_func__isnanl_use=no
58140fi
58141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58142      ac_ext=c
58143ac_cpp='$CPP $CPPFLAGS'
58144ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58145ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58146ac_compiler_gnu=$ac_cv_c_compiler_gnu
58147
58148
58149fi
58150
58151  fi
58152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58153$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58154
58155    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58156      for ac_func in _isnanl
58157do :
58158  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58159if test "x$ac_cv_func__isnanl" = xyes; then :
58160  cat >>confdefs.h <<_ACEOF
58161#define HAVE__ISNANL 1
58162_ACEOF
58163
58164fi
58165done
58166
58167    fi
58168  fi
58169
58170
58171
58172
58173
58174  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58175$as_echo_n "checking for isinfl declaration... " >&6; }
58176  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58177    if ${glibcxx_cv_func_isinfl_use+:} false; then :
58178  $as_echo_n "(cached) " >&6
58179else
58180
58181
58182      ac_ext=cpp
58183ac_cpp='$CXXCPP $CPPFLAGS'
58184ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58185ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58186ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58187
58188      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58189/* end confdefs.h.  */
58190#include <math.h>
58191		      #ifdef HAVE_IEEEFP_H
58192		      #include <ieeefp.h>
58193		      #endif
58194
58195int
58196main ()
58197{
58198 isinfl(0);
58199  ;
58200  return 0;
58201}
58202_ACEOF
58203if ac_fn_cxx_try_compile "$LINENO"; then :
58204  glibcxx_cv_func_isinfl_use=yes
58205else
58206  glibcxx_cv_func_isinfl_use=no
58207fi
58208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58209      ac_ext=c
58210ac_cpp='$CPP $CPPFLAGS'
58211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58213ac_compiler_gnu=$ac_cv_c_compiler_gnu
58214
58215
58216fi
58217
58218  fi
58219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58220$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58221
58222  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58223    for ac_func in isinfl
58224do :
58225  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58226if test "x$ac_cv_func_isinfl" = xyes; then :
58227  cat >>confdefs.h <<_ACEOF
58228#define HAVE_ISINFL 1
58229_ACEOF
58230
58231fi
58232done
58233
58234  else
58235
58236  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58237$as_echo_n "checking for _isinfl declaration... " >&6; }
58238  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58239    if ${glibcxx_cv_func__isinfl_use+:} false; then :
58240  $as_echo_n "(cached) " >&6
58241else
58242
58243
58244      ac_ext=cpp
58245ac_cpp='$CXXCPP $CPPFLAGS'
58246ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58247ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58248ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58249
58250      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58251/* end confdefs.h.  */
58252#include <math.h>
58253		      #ifdef HAVE_IEEEFP_H
58254		      #include <ieeefp.h>
58255		      #endif
58256
58257int
58258main ()
58259{
58260 _isinfl(0);
58261  ;
58262  return 0;
58263}
58264_ACEOF
58265if ac_fn_cxx_try_compile "$LINENO"; then :
58266  glibcxx_cv_func__isinfl_use=yes
58267else
58268  glibcxx_cv_func__isinfl_use=no
58269fi
58270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58271      ac_ext=c
58272ac_cpp='$CPP $CPPFLAGS'
58273ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58274ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58275ac_compiler_gnu=$ac_cv_c_compiler_gnu
58276
58277
58278fi
58279
58280  fi
58281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58282$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58283
58284    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58285      for ac_func in _isinfl
58286do :
58287  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58288if test "x$ac_cv_func__isinfl" = xyes; then :
58289  cat >>confdefs.h <<_ACEOF
58290#define HAVE__ISINFL 1
58291_ACEOF
58292
58293fi
58294done
58295
58296    fi
58297  fi
58298
58299
58300
58301
58302
58303  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58304$as_echo_n "checking for atan2l declaration... " >&6; }
58305  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58306    if ${glibcxx_cv_func_atan2l_use+:} false; then :
58307  $as_echo_n "(cached) " >&6
58308else
58309
58310
58311      ac_ext=cpp
58312ac_cpp='$CXXCPP $CPPFLAGS'
58313ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58314ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58315ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58316
58317      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58318/* end confdefs.h.  */
58319#include <math.h>
58320int
58321main ()
58322{
58323 atan2l(0, 0);
58324  ;
58325  return 0;
58326}
58327_ACEOF
58328if ac_fn_cxx_try_compile "$LINENO"; then :
58329  glibcxx_cv_func_atan2l_use=yes
58330else
58331  glibcxx_cv_func_atan2l_use=no
58332fi
58333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58334      ac_ext=c
58335ac_cpp='$CPP $CPPFLAGS'
58336ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58337ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58338ac_compiler_gnu=$ac_cv_c_compiler_gnu
58339
58340
58341fi
58342
58343  fi
58344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58345$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58346
58347  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58348    for ac_func in atan2l
58349do :
58350  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58351if test "x$ac_cv_func_atan2l" = xyes; then :
58352  cat >>confdefs.h <<_ACEOF
58353#define HAVE_ATAN2L 1
58354_ACEOF
58355
58356fi
58357done
58358
58359  else
58360
58361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58362$as_echo_n "checking for _atan2l declaration... " >&6; }
58363  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58364    if ${glibcxx_cv_func__atan2l_use+:} false; then :
58365  $as_echo_n "(cached) " >&6
58366else
58367
58368
58369      ac_ext=cpp
58370ac_cpp='$CXXCPP $CPPFLAGS'
58371ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58372ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58373ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58374
58375      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58376/* end confdefs.h.  */
58377#include <math.h>
58378int
58379main ()
58380{
58381 _atan2l(0, 0);
58382  ;
58383  return 0;
58384}
58385_ACEOF
58386if ac_fn_cxx_try_compile "$LINENO"; then :
58387  glibcxx_cv_func__atan2l_use=yes
58388else
58389  glibcxx_cv_func__atan2l_use=no
58390fi
58391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58392      ac_ext=c
58393ac_cpp='$CPP $CPPFLAGS'
58394ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58395ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58396ac_compiler_gnu=$ac_cv_c_compiler_gnu
58397
58398
58399fi
58400
58401  fi
58402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58403$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58404
58405    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58406      for ac_func in _atan2l
58407do :
58408  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58409if test "x$ac_cv_func__atan2l" = xyes; then :
58410  cat >>confdefs.h <<_ACEOF
58411#define HAVE__ATAN2L 1
58412_ACEOF
58413
58414fi
58415done
58416
58417    fi
58418  fi
58419
58420
58421
58422
58423
58424  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58425$as_echo_n "checking for expl declaration... " >&6; }
58426  if test x${glibcxx_cv_func_expl_use+set} != xset; then
58427    if ${glibcxx_cv_func_expl_use+:} false; then :
58428  $as_echo_n "(cached) " >&6
58429else
58430
58431
58432      ac_ext=cpp
58433ac_cpp='$CXXCPP $CPPFLAGS'
58434ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58435ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58436ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58437
58438      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58439/* end confdefs.h.  */
58440#include <math.h>
58441		      #ifdef HAVE_IEEEFP_H
58442		      #include <ieeefp.h>
58443		      #endif
58444
58445int
58446main ()
58447{
58448 expl(0);
58449  ;
58450  return 0;
58451}
58452_ACEOF
58453if ac_fn_cxx_try_compile "$LINENO"; then :
58454  glibcxx_cv_func_expl_use=yes
58455else
58456  glibcxx_cv_func_expl_use=no
58457fi
58458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58459      ac_ext=c
58460ac_cpp='$CPP $CPPFLAGS'
58461ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58462ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58463ac_compiler_gnu=$ac_cv_c_compiler_gnu
58464
58465
58466fi
58467
58468  fi
58469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58470$as_echo "$glibcxx_cv_func_expl_use" >&6; }
58471
58472  if test x$glibcxx_cv_func_expl_use = x"yes"; then
58473    for ac_func in expl
58474do :
58475  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58476if test "x$ac_cv_func_expl" = xyes; then :
58477  cat >>confdefs.h <<_ACEOF
58478#define HAVE_EXPL 1
58479_ACEOF
58480
58481fi
58482done
58483
58484  else
58485
58486  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58487$as_echo_n "checking for _expl declaration... " >&6; }
58488  if test x${glibcxx_cv_func__expl_use+set} != xset; then
58489    if ${glibcxx_cv_func__expl_use+:} false; then :
58490  $as_echo_n "(cached) " >&6
58491else
58492
58493
58494      ac_ext=cpp
58495ac_cpp='$CXXCPP $CPPFLAGS'
58496ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58497ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58498ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58499
58500      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58501/* end confdefs.h.  */
58502#include <math.h>
58503		      #ifdef HAVE_IEEEFP_H
58504		      #include <ieeefp.h>
58505		      #endif
58506
58507int
58508main ()
58509{
58510 _expl(0);
58511  ;
58512  return 0;
58513}
58514_ACEOF
58515if ac_fn_cxx_try_compile "$LINENO"; then :
58516  glibcxx_cv_func__expl_use=yes
58517else
58518  glibcxx_cv_func__expl_use=no
58519fi
58520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58521      ac_ext=c
58522ac_cpp='$CPP $CPPFLAGS'
58523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58525ac_compiler_gnu=$ac_cv_c_compiler_gnu
58526
58527
58528fi
58529
58530  fi
58531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58532$as_echo "$glibcxx_cv_func__expl_use" >&6; }
58533
58534    if test x$glibcxx_cv_func__expl_use = x"yes"; then
58535      for ac_func in _expl
58536do :
58537  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58538if test "x$ac_cv_func__expl" = xyes; then :
58539  cat >>confdefs.h <<_ACEOF
58540#define HAVE__EXPL 1
58541_ACEOF
58542
58543fi
58544done
58545
58546    fi
58547  fi
58548
58549
58550
58551
58552
58553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58554$as_echo_n "checking for fabsl declaration... " >&6; }
58555  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58556    if ${glibcxx_cv_func_fabsl_use+:} false; then :
58557  $as_echo_n "(cached) " >&6
58558else
58559
58560
58561      ac_ext=cpp
58562ac_cpp='$CXXCPP $CPPFLAGS'
58563ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58564ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58565ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58566
58567      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58568/* end confdefs.h.  */
58569#include <math.h>
58570		      #ifdef HAVE_IEEEFP_H
58571		      #include <ieeefp.h>
58572		      #endif
58573
58574int
58575main ()
58576{
58577 fabsl(0);
58578  ;
58579  return 0;
58580}
58581_ACEOF
58582if ac_fn_cxx_try_compile "$LINENO"; then :
58583  glibcxx_cv_func_fabsl_use=yes
58584else
58585  glibcxx_cv_func_fabsl_use=no
58586fi
58587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58588      ac_ext=c
58589ac_cpp='$CPP $CPPFLAGS'
58590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592ac_compiler_gnu=$ac_cv_c_compiler_gnu
58593
58594
58595fi
58596
58597  fi
58598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58599$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58600
58601  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58602    for ac_func in fabsl
58603do :
58604  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58605if test "x$ac_cv_func_fabsl" = xyes; then :
58606  cat >>confdefs.h <<_ACEOF
58607#define HAVE_FABSL 1
58608_ACEOF
58609
58610fi
58611done
58612
58613  else
58614
58615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58616$as_echo_n "checking for _fabsl declaration... " >&6; }
58617  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58618    if ${glibcxx_cv_func__fabsl_use+:} false; then :
58619  $as_echo_n "(cached) " >&6
58620else
58621
58622
58623      ac_ext=cpp
58624ac_cpp='$CXXCPP $CPPFLAGS'
58625ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58626ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58627ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58628
58629      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58630/* end confdefs.h.  */
58631#include <math.h>
58632		      #ifdef HAVE_IEEEFP_H
58633		      #include <ieeefp.h>
58634		      #endif
58635
58636int
58637main ()
58638{
58639 _fabsl(0);
58640  ;
58641  return 0;
58642}
58643_ACEOF
58644if ac_fn_cxx_try_compile "$LINENO"; then :
58645  glibcxx_cv_func__fabsl_use=yes
58646else
58647  glibcxx_cv_func__fabsl_use=no
58648fi
58649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58650      ac_ext=c
58651ac_cpp='$CPP $CPPFLAGS'
58652ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58653ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58654ac_compiler_gnu=$ac_cv_c_compiler_gnu
58655
58656
58657fi
58658
58659  fi
58660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58661$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58662
58663    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58664      for ac_func in _fabsl
58665do :
58666  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58667if test "x$ac_cv_func__fabsl" = xyes; then :
58668  cat >>confdefs.h <<_ACEOF
58669#define HAVE__FABSL 1
58670_ACEOF
58671
58672fi
58673done
58674
58675    fi
58676  fi
58677
58678
58679
58680
58681
58682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58683$as_echo_n "checking for fmodl declaration... " >&6; }
58684  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58685    if ${glibcxx_cv_func_fmodl_use+:} false; then :
58686  $as_echo_n "(cached) " >&6
58687else
58688
58689
58690      ac_ext=cpp
58691ac_cpp='$CXXCPP $CPPFLAGS'
58692ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58693ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58694ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58695
58696      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58697/* end confdefs.h.  */
58698#include <math.h>
58699int
58700main ()
58701{
58702 fmodl(0, 0);
58703  ;
58704  return 0;
58705}
58706_ACEOF
58707if ac_fn_cxx_try_compile "$LINENO"; then :
58708  glibcxx_cv_func_fmodl_use=yes
58709else
58710  glibcxx_cv_func_fmodl_use=no
58711fi
58712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58713      ac_ext=c
58714ac_cpp='$CPP $CPPFLAGS'
58715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58717ac_compiler_gnu=$ac_cv_c_compiler_gnu
58718
58719
58720fi
58721
58722  fi
58723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58724$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58725
58726  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58727    for ac_func in fmodl
58728do :
58729  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58730if test "x$ac_cv_func_fmodl" = xyes; then :
58731  cat >>confdefs.h <<_ACEOF
58732#define HAVE_FMODL 1
58733_ACEOF
58734
58735fi
58736done
58737
58738  else
58739
58740  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58741$as_echo_n "checking for _fmodl declaration... " >&6; }
58742  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58743    if ${glibcxx_cv_func__fmodl_use+:} false; then :
58744  $as_echo_n "(cached) " >&6
58745else
58746
58747
58748      ac_ext=cpp
58749ac_cpp='$CXXCPP $CPPFLAGS'
58750ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58751ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58752ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58753
58754      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58755/* end confdefs.h.  */
58756#include <math.h>
58757int
58758main ()
58759{
58760 _fmodl(0, 0);
58761  ;
58762  return 0;
58763}
58764_ACEOF
58765if ac_fn_cxx_try_compile "$LINENO"; then :
58766  glibcxx_cv_func__fmodl_use=yes
58767else
58768  glibcxx_cv_func__fmodl_use=no
58769fi
58770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58771      ac_ext=c
58772ac_cpp='$CPP $CPPFLAGS'
58773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58775ac_compiler_gnu=$ac_cv_c_compiler_gnu
58776
58777
58778fi
58779
58780  fi
58781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58782$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58783
58784    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58785      for ac_func in _fmodl
58786do :
58787  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58788if test "x$ac_cv_func__fmodl" = xyes; then :
58789  cat >>confdefs.h <<_ACEOF
58790#define HAVE__FMODL 1
58791_ACEOF
58792
58793fi
58794done
58795
58796    fi
58797  fi
58798
58799
58800
58801
58802
58803  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58804$as_echo_n "checking for frexpl declaration... " >&6; }
58805  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58806    if ${glibcxx_cv_func_frexpl_use+:} false; then :
58807  $as_echo_n "(cached) " >&6
58808else
58809
58810
58811      ac_ext=cpp
58812ac_cpp='$CXXCPP $CPPFLAGS'
58813ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58814ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58815ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58816
58817      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58818/* end confdefs.h.  */
58819#include <math.h>
58820int
58821main ()
58822{
58823 frexpl(0, 0);
58824  ;
58825  return 0;
58826}
58827_ACEOF
58828if ac_fn_cxx_try_compile "$LINENO"; then :
58829  glibcxx_cv_func_frexpl_use=yes
58830else
58831  glibcxx_cv_func_frexpl_use=no
58832fi
58833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58834      ac_ext=c
58835ac_cpp='$CPP $CPPFLAGS'
58836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58838ac_compiler_gnu=$ac_cv_c_compiler_gnu
58839
58840
58841fi
58842
58843  fi
58844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58845$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58846
58847  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58848    for ac_func in frexpl
58849do :
58850  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58851if test "x$ac_cv_func_frexpl" = xyes; then :
58852  cat >>confdefs.h <<_ACEOF
58853#define HAVE_FREXPL 1
58854_ACEOF
58855
58856fi
58857done
58858
58859  else
58860
58861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58862$as_echo_n "checking for _frexpl declaration... " >&6; }
58863  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58864    if ${glibcxx_cv_func__frexpl_use+:} false; then :
58865  $as_echo_n "(cached) " >&6
58866else
58867
58868
58869      ac_ext=cpp
58870ac_cpp='$CXXCPP $CPPFLAGS'
58871ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58872ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58873ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58874
58875      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58876/* end confdefs.h.  */
58877#include <math.h>
58878int
58879main ()
58880{
58881 _frexpl(0, 0);
58882  ;
58883  return 0;
58884}
58885_ACEOF
58886if ac_fn_cxx_try_compile "$LINENO"; then :
58887  glibcxx_cv_func__frexpl_use=yes
58888else
58889  glibcxx_cv_func__frexpl_use=no
58890fi
58891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58892      ac_ext=c
58893ac_cpp='$CPP $CPPFLAGS'
58894ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58895ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58896ac_compiler_gnu=$ac_cv_c_compiler_gnu
58897
58898
58899fi
58900
58901  fi
58902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58903$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58904
58905    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58906      for ac_func in _frexpl
58907do :
58908  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58909if test "x$ac_cv_func__frexpl" = xyes; then :
58910  cat >>confdefs.h <<_ACEOF
58911#define HAVE__FREXPL 1
58912_ACEOF
58913
58914fi
58915done
58916
58917    fi
58918  fi
58919
58920
58921
58922
58923
58924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58925$as_echo_n "checking for hypotl declaration... " >&6; }
58926  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58927    if ${glibcxx_cv_func_hypotl_use+:} false; then :
58928  $as_echo_n "(cached) " >&6
58929else
58930
58931
58932      ac_ext=cpp
58933ac_cpp='$CXXCPP $CPPFLAGS'
58934ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58935ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58936ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58937
58938      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58939/* end confdefs.h.  */
58940#include <math.h>
58941int
58942main ()
58943{
58944 hypotl(0, 0);
58945  ;
58946  return 0;
58947}
58948_ACEOF
58949if ac_fn_cxx_try_compile "$LINENO"; then :
58950  glibcxx_cv_func_hypotl_use=yes
58951else
58952  glibcxx_cv_func_hypotl_use=no
58953fi
58954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58955      ac_ext=c
58956ac_cpp='$CPP $CPPFLAGS'
58957ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58958ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58959ac_compiler_gnu=$ac_cv_c_compiler_gnu
58960
58961
58962fi
58963
58964  fi
58965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58966$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58967
58968  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58969    for ac_func in hypotl
58970do :
58971  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58972if test "x$ac_cv_func_hypotl" = xyes; then :
58973  cat >>confdefs.h <<_ACEOF
58974#define HAVE_HYPOTL 1
58975_ACEOF
58976
58977fi
58978done
58979
58980  else
58981
58982  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58983$as_echo_n "checking for _hypotl declaration... " >&6; }
58984  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58985    if ${glibcxx_cv_func__hypotl_use+:} false; then :
58986  $as_echo_n "(cached) " >&6
58987else
58988
58989
58990      ac_ext=cpp
58991ac_cpp='$CXXCPP $CPPFLAGS'
58992ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58993ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58994ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58995
58996      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58997/* end confdefs.h.  */
58998#include <math.h>
58999int
59000main ()
59001{
59002 _hypotl(0, 0);
59003  ;
59004  return 0;
59005}
59006_ACEOF
59007if ac_fn_cxx_try_compile "$LINENO"; then :
59008  glibcxx_cv_func__hypotl_use=yes
59009else
59010  glibcxx_cv_func__hypotl_use=no
59011fi
59012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59013      ac_ext=c
59014ac_cpp='$CPP $CPPFLAGS'
59015ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59016ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59017ac_compiler_gnu=$ac_cv_c_compiler_gnu
59018
59019
59020fi
59021
59022  fi
59023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59024$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59025
59026    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59027      for ac_func in _hypotl
59028do :
59029  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59030if test "x$ac_cv_func__hypotl" = xyes; then :
59031  cat >>confdefs.h <<_ACEOF
59032#define HAVE__HYPOTL 1
59033_ACEOF
59034
59035fi
59036done
59037
59038    fi
59039  fi
59040
59041
59042
59043
59044
59045  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59046$as_echo_n "checking for ldexpl declaration... " >&6; }
59047  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59048    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59049  $as_echo_n "(cached) " >&6
59050else
59051
59052
59053      ac_ext=cpp
59054ac_cpp='$CXXCPP $CPPFLAGS'
59055ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058
59059      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060/* end confdefs.h.  */
59061#include <math.h>
59062int
59063main ()
59064{
59065 ldexpl(0, 0);
59066  ;
59067  return 0;
59068}
59069_ACEOF
59070if ac_fn_cxx_try_compile "$LINENO"; then :
59071  glibcxx_cv_func_ldexpl_use=yes
59072else
59073  glibcxx_cv_func_ldexpl_use=no
59074fi
59075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59076      ac_ext=c
59077ac_cpp='$CPP $CPPFLAGS'
59078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59080ac_compiler_gnu=$ac_cv_c_compiler_gnu
59081
59082
59083fi
59084
59085  fi
59086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59087$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59088
59089  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59090    for ac_func in ldexpl
59091do :
59092  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59093if test "x$ac_cv_func_ldexpl" = xyes; then :
59094  cat >>confdefs.h <<_ACEOF
59095#define HAVE_LDEXPL 1
59096_ACEOF
59097
59098fi
59099done
59100
59101  else
59102
59103  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59104$as_echo_n "checking for _ldexpl declaration... " >&6; }
59105  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59106    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59107  $as_echo_n "(cached) " >&6
59108else
59109
59110
59111      ac_ext=cpp
59112ac_cpp='$CXXCPP $CPPFLAGS'
59113ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59114ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59115ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59116
59117      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59118/* end confdefs.h.  */
59119#include <math.h>
59120int
59121main ()
59122{
59123 _ldexpl(0, 0);
59124  ;
59125  return 0;
59126}
59127_ACEOF
59128if ac_fn_cxx_try_compile "$LINENO"; then :
59129  glibcxx_cv_func__ldexpl_use=yes
59130else
59131  glibcxx_cv_func__ldexpl_use=no
59132fi
59133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59134      ac_ext=c
59135ac_cpp='$CPP $CPPFLAGS'
59136ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59137ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59138ac_compiler_gnu=$ac_cv_c_compiler_gnu
59139
59140
59141fi
59142
59143  fi
59144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59145$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59146
59147    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59148      for ac_func in _ldexpl
59149do :
59150  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59151if test "x$ac_cv_func__ldexpl" = xyes; then :
59152  cat >>confdefs.h <<_ACEOF
59153#define HAVE__LDEXPL 1
59154_ACEOF
59155
59156fi
59157done
59158
59159    fi
59160  fi
59161
59162
59163
59164
59165
59166  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59167$as_echo_n "checking for logl declaration... " >&6; }
59168  if test x${glibcxx_cv_func_logl_use+set} != xset; then
59169    if ${glibcxx_cv_func_logl_use+:} false; then :
59170  $as_echo_n "(cached) " >&6
59171else
59172
59173
59174      ac_ext=cpp
59175ac_cpp='$CXXCPP $CPPFLAGS'
59176ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59177ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59178ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59179
59180      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59181/* end confdefs.h.  */
59182#include <math.h>
59183		      #ifdef HAVE_IEEEFP_H
59184		      #include <ieeefp.h>
59185		      #endif
59186
59187int
59188main ()
59189{
59190 logl(0);
59191  ;
59192  return 0;
59193}
59194_ACEOF
59195if ac_fn_cxx_try_compile "$LINENO"; then :
59196  glibcxx_cv_func_logl_use=yes
59197else
59198  glibcxx_cv_func_logl_use=no
59199fi
59200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59201      ac_ext=c
59202ac_cpp='$CPP $CPPFLAGS'
59203ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59204ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59205ac_compiler_gnu=$ac_cv_c_compiler_gnu
59206
59207
59208fi
59209
59210  fi
59211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59212$as_echo "$glibcxx_cv_func_logl_use" >&6; }
59213
59214  if test x$glibcxx_cv_func_logl_use = x"yes"; then
59215    for ac_func in logl
59216do :
59217  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59218if test "x$ac_cv_func_logl" = xyes; then :
59219  cat >>confdefs.h <<_ACEOF
59220#define HAVE_LOGL 1
59221_ACEOF
59222
59223fi
59224done
59225
59226  else
59227
59228  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59229$as_echo_n "checking for _logl declaration... " >&6; }
59230  if test x${glibcxx_cv_func__logl_use+set} != xset; then
59231    if ${glibcxx_cv_func__logl_use+:} false; then :
59232  $as_echo_n "(cached) " >&6
59233else
59234
59235
59236      ac_ext=cpp
59237ac_cpp='$CXXCPP $CPPFLAGS'
59238ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59239ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59240ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59241
59242      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59243/* end confdefs.h.  */
59244#include <math.h>
59245		      #ifdef HAVE_IEEEFP_H
59246		      #include <ieeefp.h>
59247		      #endif
59248
59249int
59250main ()
59251{
59252 _logl(0);
59253  ;
59254  return 0;
59255}
59256_ACEOF
59257if ac_fn_cxx_try_compile "$LINENO"; then :
59258  glibcxx_cv_func__logl_use=yes
59259else
59260  glibcxx_cv_func__logl_use=no
59261fi
59262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59263      ac_ext=c
59264ac_cpp='$CPP $CPPFLAGS'
59265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59267ac_compiler_gnu=$ac_cv_c_compiler_gnu
59268
59269
59270fi
59271
59272  fi
59273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59274$as_echo "$glibcxx_cv_func__logl_use" >&6; }
59275
59276    if test x$glibcxx_cv_func__logl_use = x"yes"; then
59277      for ac_func in _logl
59278do :
59279  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59280if test "x$ac_cv_func__logl" = xyes; then :
59281  cat >>confdefs.h <<_ACEOF
59282#define HAVE__LOGL 1
59283_ACEOF
59284
59285fi
59286done
59287
59288    fi
59289  fi
59290
59291
59292
59293
59294
59295  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59296$as_echo_n "checking for log10l declaration... " >&6; }
59297  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59298    if ${glibcxx_cv_func_log10l_use+:} false; then :
59299  $as_echo_n "(cached) " >&6
59300else
59301
59302
59303      ac_ext=cpp
59304ac_cpp='$CXXCPP $CPPFLAGS'
59305ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59306ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59307ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59308
59309      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59310/* end confdefs.h.  */
59311#include <math.h>
59312		      #ifdef HAVE_IEEEFP_H
59313		      #include <ieeefp.h>
59314		      #endif
59315
59316int
59317main ()
59318{
59319 log10l(0);
59320  ;
59321  return 0;
59322}
59323_ACEOF
59324if ac_fn_cxx_try_compile "$LINENO"; then :
59325  glibcxx_cv_func_log10l_use=yes
59326else
59327  glibcxx_cv_func_log10l_use=no
59328fi
59329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59330      ac_ext=c
59331ac_cpp='$CPP $CPPFLAGS'
59332ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334ac_compiler_gnu=$ac_cv_c_compiler_gnu
59335
59336
59337fi
59338
59339  fi
59340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59341$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59342
59343  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59344    for ac_func in log10l
59345do :
59346  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59347if test "x$ac_cv_func_log10l" = xyes; then :
59348  cat >>confdefs.h <<_ACEOF
59349#define HAVE_LOG10L 1
59350_ACEOF
59351
59352fi
59353done
59354
59355  else
59356
59357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59358$as_echo_n "checking for _log10l declaration... " >&6; }
59359  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59360    if ${glibcxx_cv_func__log10l_use+:} false; then :
59361  $as_echo_n "(cached) " >&6
59362else
59363
59364
59365      ac_ext=cpp
59366ac_cpp='$CXXCPP $CPPFLAGS'
59367ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59368ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59369ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59370
59371      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59372/* end confdefs.h.  */
59373#include <math.h>
59374		      #ifdef HAVE_IEEEFP_H
59375		      #include <ieeefp.h>
59376		      #endif
59377
59378int
59379main ()
59380{
59381 _log10l(0);
59382  ;
59383  return 0;
59384}
59385_ACEOF
59386if ac_fn_cxx_try_compile "$LINENO"; then :
59387  glibcxx_cv_func__log10l_use=yes
59388else
59389  glibcxx_cv_func__log10l_use=no
59390fi
59391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59392      ac_ext=c
59393ac_cpp='$CPP $CPPFLAGS'
59394ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396ac_compiler_gnu=$ac_cv_c_compiler_gnu
59397
59398
59399fi
59400
59401  fi
59402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59403$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59404
59405    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59406      for ac_func in _log10l
59407do :
59408  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59409if test "x$ac_cv_func__log10l" = xyes; then :
59410  cat >>confdefs.h <<_ACEOF
59411#define HAVE__LOG10L 1
59412_ACEOF
59413
59414fi
59415done
59416
59417    fi
59418  fi
59419
59420
59421
59422
59423
59424  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59425$as_echo_n "checking for modfl declaration... " >&6; }
59426  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59427    if ${glibcxx_cv_func_modfl_use+:} false; then :
59428  $as_echo_n "(cached) " >&6
59429else
59430
59431
59432      ac_ext=cpp
59433ac_cpp='$CXXCPP $CPPFLAGS'
59434ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59435ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59436ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59437
59438      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59439/* end confdefs.h.  */
59440#include <math.h>
59441int
59442main ()
59443{
59444 modfl(0, 0);
59445  ;
59446  return 0;
59447}
59448_ACEOF
59449if ac_fn_cxx_try_compile "$LINENO"; then :
59450  glibcxx_cv_func_modfl_use=yes
59451else
59452  glibcxx_cv_func_modfl_use=no
59453fi
59454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59455      ac_ext=c
59456ac_cpp='$CPP $CPPFLAGS'
59457ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59458ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59459ac_compiler_gnu=$ac_cv_c_compiler_gnu
59460
59461
59462fi
59463
59464  fi
59465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59466$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59467
59468  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59469    for ac_func in modfl
59470do :
59471  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59472if test "x$ac_cv_func_modfl" = xyes; then :
59473  cat >>confdefs.h <<_ACEOF
59474#define HAVE_MODFL 1
59475_ACEOF
59476
59477fi
59478done
59479
59480  else
59481
59482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59483$as_echo_n "checking for _modfl declaration... " >&6; }
59484  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59485    if ${glibcxx_cv_func__modfl_use+:} false; then :
59486  $as_echo_n "(cached) " >&6
59487else
59488
59489
59490      ac_ext=cpp
59491ac_cpp='$CXXCPP $CPPFLAGS'
59492ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59493ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59494ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59495
59496      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59497/* end confdefs.h.  */
59498#include <math.h>
59499int
59500main ()
59501{
59502 _modfl(0, 0);
59503  ;
59504  return 0;
59505}
59506_ACEOF
59507if ac_fn_cxx_try_compile "$LINENO"; then :
59508  glibcxx_cv_func__modfl_use=yes
59509else
59510  glibcxx_cv_func__modfl_use=no
59511fi
59512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59513      ac_ext=c
59514ac_cpp='$CPP $CPPFLAGS'
59515ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59516ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59517ac_compiler_gnu=$ac_cv_c_compiler_gnu
59518
59519
59520fi
59521
59522  fi
59523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59524$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59525
59526    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59527      for ac_func in _modfl
59528do :
59529  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59530if test "x$ac_cv_func__modfl" = xyes; then :
59531  cat >>confdefs.h <<_ACEOF
59532#define HAVE__MODFL 1
59533_ACEOF
59534
59535fi
59536done
59537
59538    fi
59539  fi
59540
59541
59542
59543
59544
59545  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59546$as_echo_n "checking for powl declaration... " >&6; }
59547  if test x${glibcxx_cv_func_powl_use+set} != xset; then
59548    if ${glibcxx_cv_func_powl_use+:} false; then :
59549  $as_echo_n "(cached) " >&6
59550else
59551
59552
59553      ac_ext=cpp
59554ac_cpp='$CXXCPP $CPPFLAGS'
59555ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59556ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59557ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59558
59559      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59560/* end confdefs.h.  */
59561#include <math.h>
59562int
59563main ()
59564{
59565 powl(0, 0);
59566  ;
59567  return 0;
59568}
59569_ACEOF
59570if ac_fn_cxx_try_compile "$LINENO"; then :
59571  glibcxx_cv_func_powl_use=yes
59572else
59573  glibcxx_cv_func_powl_use=no
59574fi
59575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59576      ac_ext=c
59577ac_cpp='$CPP $CPPFLAGS'
59578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59580ac_compiler_gnu=$ac_cv_c_compiler_gnu
59581
59582
59583fi
59584
59585  fi
59586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59587$as_echo "$glibcxx_cv_func_powl_use" >&6; }
59588
59589  if test x$glibcxx_cv_func_powl_use = x"yes"; then
59590    for ac_func in powl
59591do :
59592  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59593if test "x$ac_cv_func_powl" = xyes; then :
59594  cat >>confdefs.h <<_ACEOF
59595#define HAVE_POWL 1
59596_ACEOF
59597
59598fi
59599done
59600
59601  else
59602
59603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59604$as_echo_n "checking for _powl declaration... " >&6; }
59605  if test x${glibcxx_cv_func__powl_use+set} != xset; then
59606    if ${glibcxx_cv_func__powl_use+:} false; then :
59607  $as_echo_n "(cached) " >&6
59608else
59609
59610
59611      ac_ext=cpp
59612ac_cpp='$CXXCPP $CPPFLAGS'
59613ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59614ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59615ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59616
59617      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59618/* end confdefs.h.  */
59619#include <math.h>
59620int
59621main ()
59622{
59623 _powl(0, 0);
59624  ;
59625  return 0;
59626}
59627_ACEOF
59628if ac_fn_cxx_try_compile "$LINENO"; then :
59629  glibcxx_cv_func__powl_use=yes
59630else
59631  glibcxx_cv_func__powl_use=no
59632fi
59633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59634      ac_ext=c
59635ac_cpp='$CPP $CPPFLAGS'
59636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638ac_compiler_gnu=$ac_cv_c_compiler_gnu
59639
59640
59641fi
59642
59643  fi
59644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59645$as_echo "$glibcxx_cv_func__powl_use" >&6; }
59646
59647    if test x$glibcxx_cv_func__powl_use = x"yes"; then
59648      for ac_func in _powl
59649do :
59650  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59651if test "x$ac_cv_func__powl" = xyes; then :
59652  cat >>confdefs.h <<_ACEOF
59653#define HAVE__POWL 1
59654_ACEOF
59655
59656fi
59657done
59658
59659    fi
59660  fi
59661
59662
59663
59664
59665
59666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59667$as_echo_n "checking for sqrtl declaration... " >&6; }
59668  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59669    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59670  $as_echo_n "(cached) " >&6
59671else
59672
59673
59674      ac_ext=cpp
59675ac_cpp='$CXXCPP $CPPFLAGS'
59676ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59677ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59678ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59679
59680      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59681/* end confdefs.h.  */
59682#include <math.h>
59683		      #ifdef HAVE_IEEEFP_H
59684		      #include <ieeefp.h>
59685		      #endif
59686
59687int
59688main ()
59689{
59690 sqrtl(0);
59691  ;
59692  return 0;
59693}
59694_ACEOF
59695if ac_fn_cxx_try_compile "$LINENO"; then :
59696  glibcxx_cv_func_sqrtl_use=yes
59697else
59698  glibcxx_cv_func_sqrtl_use=no
59699fi
59700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59701      ac_ext=c
59702ac_cpp='$CPP $CPPFLAGS'
59703ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59704ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59705ac_compiler_gnu=$ac_cv_c_compiler_gnu
59706
59707
59708fi
59709
59710  fi
59711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59712$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59713
59714  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59715    for ac_func in sqrtl
59716do :
59717  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59718if test "x$ac_cv_func_sqrtl" = xyes; then :
59719  cat >>confdefs.h <<_ACEOF
59720#define HAVE_SQRTL 1
59721_ACEOF
59722
59723fi
59724done
59725
59726  else
59727
59728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59729$as_echo_n "checking for _sqrtl declaration... " >&6; }
59730  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59731    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59732  $as_echo_n "(cached) " >&6
59733else
59734
59735
59736      ac_ext=cpp
59737ac_cpp='$CXXCPP $CPPFLAGS'
59738ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59739ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59740ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59741
59742      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59743/* end confdefs.h.  */
59744#include <math.h>
59745		      #ifdef HAVE_IEEEFP_H
59746		      #include <ieeefp.h>
59747		      #endif
59748
59749int
59750main ()
59751{
59752 _sqrtl(0);
59753  ;
59754  return 0;
59755}
59756_ACEOF
59757if ac_fn_cxx_try_compile "$LINENO"; then :
59758  glibcxx_cv_func__sqrtl_use=yes
59759else
59760  glibcxx_cv_func__sqrtl_use=no
59761fi
59762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59763      ac_ext=c
59764ac_cpp='$CPP $CPPFLAGS'
59765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59767ac_compiler_gnu=$ac_cv_c_compiler_gnu
59768
59769
59770fi
59771
59772  fi
59773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59774$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59775
59776    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59777      for ac_func in _sqrtl
59778do :
59779  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59780if test "x$ac_cv_func__sqrtl" = xyes; then :
59781  cat >>confdefs.h <<_ACEOF
59782#define HAVE__SQRTL 1
59783_ACEOF
59784
59785fi
59786done
59787
59788    fi
59789  fi
59790
59791
59792
59793
59794
59795  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59796$as_echo_n "checking for sincosl declaration... " >&6; }
59797  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59798    if ${glibcxx_cv_func_sincosl_use+:} false; then :
59799  $as_echo_n "(cached) " >&6
59800else
59801
59802
59803      ac_ext=cpp
59804ac_cpp='$CXXCPP $CPPFLAGS'
59805ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59806ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59807ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59808
59809      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59810/* end confdefs.h.  */
59811#include <math.h>
59812int
59813main ()
59814{
59815 sincosl(0, 0, 0);
59816  ;
59817  return 0;
59818}
59819_ACEOF
59820if ac_fn_cxx_try_compile "$LINENO"; then :
59821  glibcxx_cv_func_sincosl_use=yes
59822else
59823  glibcxx_cv_func_sincosl_use=no
59824fi
59825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59826      ac_ext=c
59827ac_cpp='$CPP $CPPFLAGS'
59828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59830ac_compiler_gnu=$ac_cv_c_compiler_gnu
59831
59832
59833fi
59834
59835  fi
59836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59837$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59838
59839  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59840    for ac_func in sincosl
59841do :
59842  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59843if test "x$ac_cv_func_sincosl" = xyes; then :
59844  cat >>confdefs.h <<_ACEOF
59845#define HAVE_SINCOSL 1
59846_ACEOF
59847
59848fi
59849done
59850
59851  else
59852
59853  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59854$as_echo_n "checking for _sincosl declaration... " >&6; }
59855  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59856    if ${glibcxx_cv_func__sincosl_use+:} false; then :
59857  $as_echo_n "(cached) " >&6
59858else
59859
59860
59861      ac_ext=cpp
59862ac_cpp='$CXXCPP $CPPFLAGS'
59863ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59864ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59865ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59866
59867      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59868/* end confdefs.h.  */
59869#include <math.h>
59870int
59871main ()
59872{
59873 _sincosl(0, 0, 0);
59874  ;
59875  return 0;
59876}
59877_ACEOF
59878if ac_fn_cxx_try_compile "$LINENO"; then :
59879  glibcxx_cv_func__sincosl_use=yes
59880else
59881  glibcxx_cv_func__sincosl_use=no
59882fi
59883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59884      ac_ext=c
59885ac_cpp='$CPP $CPPFLAGS'
59886ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59887ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59888ac_compiler_gnu=$ac_cv_c_compiler_gnu
59889
59890
59891fi
59892
59893  fi
59894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59895$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59896
59897    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59898      for ac_func in _sincosl
59899do :
59900  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59901if test "x$ac_cv_func__sincosl" = xyes; then :
59902  cat >>confdefs.h <<_ACEOF
59903#define HAVE__SINCOSL 1
59904_ACEOF
59905
59906fi
59907done
59908
59909    fi
59910  fi
59911
59912
59913
59914
59915
59916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59917$as_echo_n "checking for finitel declaration... " >&6; }
59918  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59919    if ${glibcxx_cv_func_finitel_use+:} false; then :
59920  $as_echo_n "(cached) " >&6
59921else
59922
59923
59924      ac_ext=cpp
59925ac_cpp='$CXXCPP $CPPFLAGS'
59926ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59927ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59928ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59929
59930      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59931/* end confdefs.h.  */
59932#include <math.h>
59933		      #ifdef HAVE_IEEEFP_H
59934		      #include <ieeefp.h>
59935		      #endif
59936
59937int
59938main ()
59939{
59940 finitel(0);
59941  ;
59942  return 0;
59943}
59944_ACEOF
59945if ac_fn_cxx_try_compile "$LINENO"; then :
59946  glibcxx_cv_func_finitel_use=yes
59947else
59948  glibcxx_cv_func_finitel_use=no
59949fi
59950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59951      ac_ext=c
59952ac_cpp='$CPP $CPPFLAGS'
59953ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59954ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59955ac_compiler_gnu=$ac_cv_c_compiler_gnu
59956
59957
59958fi
59959
59960  fi
59961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59962$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59963
59964  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59965    for ac_func in finitel
59966do :
59967  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59968if test "x$ac_cv_func_finitel" = xyes; then :
59969  cat >>confdefs.h <<_ACEOF
59970#define HAVE_FINITEL 1
59971_ACEOF
59972
59973fi
59974done
59975
59976  else
59977
59978  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59979$as_echo_n "checking for _finitel declaration... " >&6; }
59980  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59981    if ${glibcxx_cv_func__finitel_use+:} false; then :
59982  $as_echo_n "(cached) " >&6
59983else
59984
59985
59986      ac_ext=cpp
59987ac_cpp='$CXXCPP $CPPFLAGS'
59988ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59989ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59990ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59991
59992      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59993/* end confdefs.h.  */
59994#include <math.h>
59995		      #ifdef HAVE_IEEEFP_H
59996		      #include <ieeefp.h>
59997		      #endif
59998
59999int
60000main ()
60001{
60002 _finitel(0);
60003  ;
60004  return 0;
60005}
60006_ACEOF
60007if ac_fn_cxx_try_compile "$LINENO"; then :
60008  glibcxx_cv_func__finitel_use=yes
60009else
60010  glibcxx_cv_func__finitel_use=no
60011fi
60012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60013      ac_ext=c
60014ac_cpp='$CPP $CPPFLAGS'
60015ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60016ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60017ac_compiler_gnu=$ac_cv_c_compiler_gnu
60018
60019
60020fi
60021
60022  fi
60023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60024$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60025
60026    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60027      for ac_func in _finitel
60028do :
60029  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60030if test "x$ac_cv_func__finitel" = xyes; then :
60031  cat >>confdefs.h <<_ACEOF
60032#define HAVE__FINITEL 1
60033_ACEOF
60034
60035fi
60036done
60037
60038    fi
60039  fi
60040
60041
60042
60043
60044  LIBS="$ac_save_LIBS"
60045  CXXFLAGS="$ac_save_CXXFLAGS"
60046
60047
60048  ac_test_CXXFLAGS="${CXXFLAGS+set}"
60049  ac_save_CXXFLAGS="$CXXFLAGS"
60050  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60051
60052
60053  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60054$as_echo_n "checking for at_quick_exit declaration... " >&6; }
60055  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60056    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60057  $as_echo_n "(cached) " >&6
60058else
60059
60060
60061      ac_ext=cpp
60062ac_cpp='$CXXCPP $CPPFLAGS'
60063ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60064ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60065ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60066
60067      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60068/* end confdefs.h.  */
60069#include <stdlib.h>
60070int
60071main ()
60072{
60073 at_quick_exit(0);
60074  ;
60075  return 0;
60076}
60077_ACEOF
60078if ac_fn_cxx_try_compile "$LINENO"; then :
60079  glibcxx_cv_func_at_quick_exit_use=yes
60080else
60081  glibcxx_cv_func_at_quick_exit_use=no
60082fi
60083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60084      ac_ext=c
60085ac_cpp='$CPP $CPPFLAGS'
60086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60088ac_compiler_gnu=$ac_cv_c_compiler_gnu
60089
60090
60091fi
60092
60093  fi
60094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60095$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60096  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60097    for ac_func in at_quick_exit
60098do :
60099  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60100if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60101  cat >>confdefs.h <<_ACEOF
60102#define HAVE_AT_QUICK_EXIT 1
60103_ACEOF
60104
60105fi
60106done
60107
60108  fi
60109
60110
60111  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60112$as_echo_n "checking for quick_exit declaration... " >&6; }
60113  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60114    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60115  $as_echo_n "(cached) " >&6
60116else
60117
60118
60119      ac_ext=cpp
60120ac_cpp='$CXXCPP $CPPFLAGS'
60121ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60122ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60123ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60124
60125      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60126/* end confdefs.h.  */
60127#include <stdlib.h>
60128int
60129main ()
60130{
60131 quick_exit(0);
60132  ;
60133  return 0;
60134}
60135_ACEOF
60136if ac_fn_cxx_try_compile "$LINENO"; then :
60137  glibcxx_cv_func_quick_exit_use=yes
60138else
60139  glibcxx_cv_func_quick_exit_use=no
60140fi
60141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60142      ac_ext=c
60143ac_cpp='$CPP $CPPFLAGS'
60144ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60145ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60146ac_compiler_gnu=$ac_cv_c_compiler_gnu
60147
60148
60149fi
60150
60151  fi
60152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60153$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60154  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60155    for ac_func in quick_exit
60156do :
60157  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60158if test "x$ac_cv_func_quick_exit" = xyes; then :
60159  cat >>confdefs.h <<_ACEOF
60160#define HAVE_QUICK_EXIT 1
60161_ACEOF
60162
60163fi
60164done
60165
60166  fi
60167
60168
60169  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60170$as_echo_n "checking for strtold declaration... " >&6; }
60171  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60172    if ${glibcxx_cv_func_strtold_use+:} false; then :
60173  $as_echo_n "(cached) " >&6
60174else
60175
60176
60177      ac_ext=cpp
60178ac_cpp='$CXXCPP $CPPFLAGS'
60179ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60180ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60181ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60182
60183      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60184/* end confdefs.h.  */
60185#include <stdlib.h>
60186int
60187main ()
60188{
60189 strtold(0, 0);
60190  ;
60191  return 0;
60192}
60193_ACEOF
60194if ac_fn_cxx_try_compile "$LINENO"; then :
60195  glibcxx_cv_func_strtold_use=yes
60196else
60197  glibcxx_cv_func_strtold_use=no
60198fi
60199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60200      ac_ext=c
60201ac_cpp='$CPP $CPPFLAGS'
60202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60204ac_compiler_gnu=$ac_cv_c_compiler_gnu
60205
60206
60207fi
60208
60209  fi
60210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60211$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60212  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60213    for ac_func in strtold
60214do :
60215  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60216if test "x$ac_cv_func_strtold" = xyes; then :
60217  cat >>confdefs.h <<_ACEOF
60218#define HAVE_STRTOLD 1
60219_ACEOF
60220
60221fi
60222done
60223
60224  fi
60225
60226
60227
60228
60229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60230$as_echo_n "checking for strtof declaration... " >&6; }
60231  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60232    if ${glibcxx_cv_func_strtof_use+:} false; then :
60233  $as_echo_n "(cached) " >&6
60234else
60235
60236
60237      ac_ext=cpp
60238ac_cpp='$CXXCPP $CPPFLAGS'
60239ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60240ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60241ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60242
60243      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60244/* end confdefs.h.  */
60245#include <stdlib.h>
60246int
60247main ()
60248{
60249 strtof(0, 0);
60250  ;
60251  return 0;
60252}
60253_ACEOF
60254if ac_fn_cxx_try_compile "$LINENO"; then :
60255  glibcxx_cv_func_strtof_use=yes
60256else
60257  glibcxx_cv_func_strtof_use=no
60258fi
60259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60260      ac_ext=c
60261ac_cpp='$CPP $CPPFLAGS'
60262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60264ac_compiler_gnu=$ac_cv_c_compiler_gnu
60265
60266
60267fi
60268
60269  fi
60270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60271$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60272  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60273    for ac_func in strtof
60274do :
60275  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60276if test "x$ac_cv_func_strtof" = xyes; then :
60277  cat >>confdefs.h <<_ACEOF
60278#define HAVE_STRTOF 1
60279_ACEOF
60280
60281fi
60282done
60283
60284  fi
60285
60286
60287
60288
60289  CXXFLAGS="$ac_save_CXXFLAGS"
60290
60291    $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
60292
60293    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
60294
60295
60296
60297   # Check whether --enable-tls was given.
60298if test "${enable_tls+set}" = set; then :
60299  enableval=$enable_tls;
60300      case "$enableval" in
60301       yes|no) ;;
60302       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60303      esac
60304
60305else
60306  enable_tls=yes
60307fi
60308
60309
60310  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60311$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60312if ${gcc_cv_have_tls+:} false; then :
60313  $as_echo_n "(cached) " >&6
60314else
60315
60316    if test "$cross_compiling" = yes; then :
60317                if test x$gcc_no_link = xyes; then
60318  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60319fi
60320cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60321/* end confdefs.h.  */
60322__thread int a; int b; int main() { return a = b; }
60323_ACEOF
60324if ac_fn_c_try_link "$LINENO"; then :
60325  chktls_save_LDFLAGS="$LDFLAGS"
60326	  	  	  case $host in
60327	    *-*-linux*)
60328	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60329	      ;;
60330	  esac
60331	  chktls_save_CFLAGS="$CFLAGS"
60332	  CFLAGS="-fPIC $CFLAGS"
60333	  	  if test x$gcc_no_link = xyes; then
60334  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60335fi
60336cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60337/* end confdefs.h.  */
60338int f() { return 0; }
60339_ACEOF
60340if ac_fn_c_try_link "$LINENO"; then :
60341  if test x$gcc_no_link = xyes; then
60342  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60343fi
60344cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60345/* end confdefs.h.  */
60346__thread int a; int b; int f() { return a = b; }
60347_ACEOF
60348if ac_fn_c_try_link "$LINENO"; then :
60349  gcc_cv_have_tls=yes
60350else
60351  gcc_cv_have_tls=no
60352fi
60353rm -f core conftest.err conftest.$ac_objext \
60354    conftest$ac_exeext conftest.$ac_ext
60355else
60356  gcc_cv_have_tls=yes
60357fi
60358rm -f core conftest.err conftest.$ac_objext \
60359    conftest$ac_exeext conftest.$ac_ext
60360	  CFLAGS="$chktls_save_CFLAGS"
60361	  LDFLAGS="$chktls_save_LDFLAGS"
60362else
60363  gcc_cv_have_tls=no
60364fi
60365rm -f core conftest.err conftest.$ac_objext \
60366    conftest$ac_exeext conftest.$ac_ext
60367
60368
60369else
60370  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60371/* end confdefs.h.  */
60372__thread int a; int b; int main() { return a = b; }
60373_ACEOF
60374if ac_fn_c_try_run "$LINENO"; then :
60375                      chktls_save_LDFLAGS="$LDFLAGS"
60376      LDFLAGS="-static $LDFLAGS"
60377      if test x$gcc_no_link = xyes; then
60378  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60379fi
60380cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60381/* end confdefs.h.  */
60382int main() { return 0; }
60383_ACEOF
60384if ac_fn_c_try_link "$LINENO"; then :
60385  if test "$cross_compiling" = yes; then :
60386  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60388as_fn_error $? "cannot run test program while cross compiling
60389See \`config.log' for more details" "$LINENO" 5; }
60390else
60391  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60392/* end confdefs.h.  */
60393__thread int a; int b; int main() { return a = b; }
60394_ACEOF
60395if ac_fn_c_try_run "$LINENO"; then :
60396  gcc_cv_have_tls=yes
60397else
60398  gcc_cv_have_tls=no
60399fi
60400rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60401  conftest.$ac_objext conftest.beam conftest.$ac_ext
60402fi
60403
60404else
60405  gcc_cv_have_tls=yes
60406fi
60407rm -f core conftest.err conftest.$ac_objext \
60408    conftest$ac_exeext conftest.$ac_ext
60409      LDFLAGS="$chktls_save_LDFLAGS"
60410      if test $gcc_cv_have_tls = yes; then
60411						chktls_save_CFLAGS="$CFLAGS"
60412	thread_CFLAGS=failed
60413	for flag in '' '-pthread' '-lpthread'; do
60414	  CFLAGS="$flag $chktls_save_CFLAGS"
60415	  if test x$gcc_no_link = xyes; then
60416  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60417fi
60418cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60419/* end confdefs.h.  */
60420#include <pthread.h>
60421		void *g(void *d) { return NULL; }
60422int
60423main ()
60424{
60425pthread_t t; pthread_create(&t,NULL,g,NULL);
60426  ;
60427  return 0;
60428}
60429_ACEOF
60430if ac_fn_c_try_link "$LINENO"; then :
60431  thread_CFLAGS="$flag"
60432fi
60433rm -f core conftest.err conftest.$ac_objext \
60434    conftest$ac_exeext conftest.$ac_ext
60435	  if test "X$thread_CFLAGS" != Xfailed; then
60436	    break
60437	  fi
60438	done
60439	CFLAGS="$chktls_save_CFLAGS"
60440	if test "X$thread_CFLAGS" != Xfailed; then
60441	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60442 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
60443  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60444$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60445as_fn_error $? "cannot run test program while cross compiling
60446See \`config.log' for more details" "$LINENO" 5; }
60447else
60448  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60449/* end confdefs.h.  */
60450#include <pthread.h>
60451		__thread int a;
60452		static int *volatile a_in_other_thread;
60453		static void *
60454		thread_func (void *arg)
60455		{
60456		  a_in_other_thread = &a;
60457		  return (void *)0;
60458		}
60459int
60460main ()
60461{
60462pthread_t thread;
60463		void *thread_retval;
60464		int *volatile a_in_main_thread;
60465		a_in_main_thread = &a;
60466		if (pthread_create (&thread, (pthread_attr_t *)0,
60467				    thread_func, (void *)0))
60468		  return 0;
60469		if (pthread_join (thread, &thread_retval))
60470		  return 0;
60471		return (a_in_other_thread == a_in_main_thread);
60472  ;
60473  return 0;
60474}
60475_ACEOF
60476if ac_fn_c_try_run "$LINENO"; then :
60477  gcc_cv_have_tls=yes
60478else
60479  gcc_cv_have_tls=no
60480fi
60481rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60482  conftest.$ac_objext conftest.beam conftest.$ac_ext
60483fi
60484
60485	  CFLAGS="$chktls_save_CFLAGS"
60486	fi
60487      fi
60488else
60489  gcc_cv_have_tls=no
60490fi
60491rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60492  conftest.$ac_objext conftest.beam conftest.$ac_ext
60493fi
60494
60495fi
60496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60497$as_echo "$gcc_cv_have_tls" >&6; }
60498  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60499
60500$as_echo "#define HAVE_TLS 1" >>confdefs.h
60501
60502  fi
60503    for ac_func in __cxa_thread_atexit_impl
60504do :
60505  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
60506if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
60507  cat >>confdefs.h <<_ACEOF
60508#define HAVE___CXA_THREAD_ATEXIT_IMPL 1
60509_ACEOF
60510
60511fi
60512done
60513
60514    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60515do :
60516  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60517ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60518if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60519  cat >>confdefs.h <<_ACEOF
60520#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60521_ACEOF
60522
60523fi
60524done
60525
60526    for ac_func in timespec_get
60527do :
60528  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60529if test "x$ac_cv_func_timespec_get" = xyes; then :
60530  cat >>confdefs.h <<_ACEOF
60531#define HAVE_TIMESPEC_GET 1
60532_ACEOF
60533
60534fi
60535done
60536
60537    for ac_func in sockatmark
60538do :
60539  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60540if test "x$ac_cv_func_sockatmark" = xyes; then :
60541  cat >>confdefs.h <<_ACEOF
60542#define HAVE_SOCKATMARK 1
60543_ACEOF
60544
60545fi
60546done
60547
60548
60549
60550
60551
60552
60553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60554$as_echo_n "checking for iconv... " >&6; }
60555if ${am_cv_func_iconv+:} false; then :
60556  $as_echo_n "(cached) " >&6
60557else
60558
60559    am_cv_func_iconv="no, consider installing GNU libiconv"
60560    am_cv_lib_iconv=no
60561                    am_save_CPPFLAGS="$CPPFLAGS"
60562    CPPFLAGS="$CPPFLAGS $INCICONV"
60563    if test x$gcc_no_link = xyes; then
60564  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60565fi
60566cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60567/* end confdefs.h.  */
60568#include <stdlib.h>
60569#include <iconv.h>
60570int
60571main ()
60572{
60573iconv_t cd = iconv_open("","");
60574       iconv(cd,NULL,NULL,NULL,NULL);
60575       iconv_close(cd);
60576  ;
60577  return 0;
60578}
60579_ACEOF
60580if ac_fn_c_try_link "$LINENO"; then :
60581  am_cv_func_iconv=yes
60582fi
60583rm -f core conftest.err conftest.$ac_objext \
60584    conftest$ac_exeext conftest.$ac_ext
60585    CPPFLAGS="$am_save_CPPFLAGS"
60586
60587    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60588      for _libs in .libs _libs; do
60589        am_save_CPPFLAGS="$CPPFLAGS"
60590        am_save_LIBS="$LIBS"
60591        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60592        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60593        if 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#include <stdlib.h>
60599#include <iconv.h>
60600int
60601main ()
60602{
60603iconv_t cd = iconv_open("","");
60604           iconv(cd,NULL,NULL,NULL,NULL);
60605           iconv_close(cd);
60606  ;
60607  return 0;
60608}
60609_ACEOF
60610if ac_fn_c_try_link "$LINENO"; then :
60611  INCICONV="-I../libiconv/include"
60612          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60613          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60614          am_cv_lib_iconv=yes
60615          am_cv_func_iconv=yes
60616fi
60617rm -f core conftest.err conftest.$ac_objext \
60618    conftest$ac_exeext conftest.$ac_ext
60619        CPPFLAGS="$am_save_CPPFLAGS"
60620        LIBS="$am_save_LIBS"
60621        if test "$am_cv_func_iconv" = "yes"; then
60622          break
60623        fi
60624      done
60625    fi
60626
60627    if test "$am_cv_func_iconv" != yes; then
60628      am_save_CPPFLAGS="$CPPFLAGS"
60629      am_save_LIBS="$LIBS"
60630      CPPFLAGS="$CPPFLAGS $INCICONV"
60631      LIBS="$LIBS $LIBICONV"
60632      if test x$gcc_no_link = xyes; then
60633  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60634fi
60635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60636/* end confdefs.h.  */
60637#include <stdlib.h>
60638#include <iconv.h>
60639int
60640main ()
60641{
60642iconv_t cd = iconv_open("","");
60643         iconv(cd,NULL,NULL,NULL,NULL);
60644         iconv_close(cd);
60645  ;
60646  return 0;
60647}
60648_ACEOF
60649if ac_fn_c_try_link "$LINENO"; then :
60650  am_cv_lib_iconv=yes
60651        am_cv_func_iconv=yes
60652fi
60653rm -f core conftest.err conftest.$ac_objext \
60654    conftest$ac_exeext conftest.$ac_ext
60655      CPPFLAGS="$am_save_CPPFLAGS"
60656      LIBS="$am_save_LIBS"
60657    fi
60658
60659fi
60660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60661$as_echo "$am_cv_func_iconv" >&6; }
60662  if test "$am_cv_func_iconv" = yes; then
60663
60664$as_echo "#define HAVE_ICONV 1" >>confdefs.h
60665
60666  fi
60667  if test "$am_cv_lib_iconv" = yes; then
60668
60669  for element in $INCICONV; do
60670    haveit=
60671    for x in $CPPFLAGS; do
60672
60673  acl_save_prefix="$prefix"
60674  prefix="$acl_final_prefix"
60675  acl_save_exec_prefix="$exec_prefix"
60676  exec_prefix="$acl_final_exec_prefix"
60677  eval x=\"$x\"
60678  exec_prefix="$acl_save_exec_prefix"
60679  prefix="$acl_save_prefix"
60680
60681      if test "X$x" = "X$element"; then
60682        haveit=yes
60683        break
60684      fi
60685    done
60686    if test -z "$haveit"; then
60687      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60688    fi
60689  done
60690
60691    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60692$as_echo_n "checking how to link with libiconv... " >&6; }
60693    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60694$as_echo "$LIBICONV" >&6; }
60695  else
60696    LIBICONV=
60697    LTLIBICONV=
60698  fi
60699
60700
60701
60702  if test "$am_cv_func_iconv" = yes; then
60703    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60704$as_echo_n "checking for iconv declaration... " >&6; }
60705    if ${am_cv_proto_iconv+:} false; then :
60706  $as_echo_n "(cached) " >&6
60707else
60708
60709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60710/* end confdefs.h.  */
60711
60712#include <stdlib.h>
60713#include <iconv.h>
60714extern
60715#ifdef __cplusplus
60716"C"
60717#endif
60718#if defined(__STDC__) || defined(__cplusplus)
60719size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60720#else
60721size_t iconv();
60722#endif
60723
60724int
60725main ()
60726{
60727
60728  ;
60729  return 0;
60730}
60731_ACEOF
60732if ac_fn_c_try_compile "$LINENO"; then :
60733  am_cv_proto_iconv_arg1=""
60734else
60735  am_cv_proto_iconv_arg1="const"
60736fi
60737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60738      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);"
60739fi
60740
60741    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60742    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60743         }$am_cv_proto_iconv" >&5
60744$as_echo "${ac_t:-
60745         }$am_cv_proto_iconv" >&6; }
60746
60747cat >>confdefs.h <<_ACEOF
60748#define ICONV_CONST $am_cv_proto_iconv_arg1
60749_ACEOF
60750
60751  fi
60752
60753    ;;
60754  *-mingw32*)
60755
60756  # If we're not using GNU ld, then there's no point in even trying these
60757  # tests.  Check for that first.  We should have already tested for gld
60758  # by now (in libtool), but require it now just to be safe...
60759  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60760  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60761
60762
60763
60764  # The name set by libtool depends on the version of libtool.  Shame on us
60765  # for depending on an impl detail, but c'est la vie.  Older versions used
60766  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60767  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60768  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60769  # set (hence we're using an older libtool), then set it.
60770  if test x${with_gnu_ld+set} != xset; then
60771    if test x${ac_cv_prog_gnu_ld+set} != xset; then
60772      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60773      with_gnu_ld=no
60774    else
60775      with_gnu_ld=$ac_cv_prog_gnu_ld
60776    fi
60777  fi
60778
60779  # Start by getting the version number.  I think the libtool test already
60780  # does some of this, but throws away the result.
60781  glibcxx_ld_is_gold=no
60782  if test x"$with_gnu_ld" = x"yes"; then
60783    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60784$as_echo_n "checking for ld version... " >&6; }
60785
60786    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60787      glibcxx_ld_is_gold=yes
60788    fi
60789    ldver=`$LD --version 2>/dev/null |
60790	   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'`
60791
60792    glibcxx_gnu_ld_version=`echo $ldver | \
60793	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60794    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60795$as_echo "$glibcxx_gnu_ld_version" >&6; }
60796  fi
60797
60798  # Set --gc-sections.
60799  glibcxx_have_gc_sections=no
60800  if test "$glibcxx_ld_is_gold" = "yes"; then
60801    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60802      glibcxx_have_gc_sections=yes
60803    fi
60804  else
60805    glibcxx_gcsections_min_ld=21602
60806    if test x"$with_gnu_ld" = x"yes" &&
60807	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60808      glibcxx_have_gc_sections=yes
60809    fi
60810  fi
60811  if test "$glibcxx_have_gc_sections" = "yes"; then
60812    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60813    # NB: This flag only works reliably after 2.16.1. Configure tests
60814    # for this are difficult, so hard wire a value that should work.
60815
60816    ac_test_CFLAGS="${CFLAGS+set}"
60817    ac_save_CFLAGS="$CFLAGS"
60818    CFLAGS='-Wl,--gc-sections'
60819
60820    # Check for -Wl,--gc-sections
60821    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60822$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60823    if test x$gcc_no_link = xyes; then
60824  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60825fi
60826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60827/* end confdefs.h.  */
60828 int one(void) { return 1; }
60829     int two(void) { return 2; }
60830
60831int
60832main ()
60833{
60834 two();
60835  ;
60836  return 0;
60837}
60838_ACEOF
60839if ac_fn_c_try_link "$LINENO"; then :
60840  ac_gcsections=yes
60841else
60842  ac_gcsections=no
60843fi
60844rm -f core conftest.err conftest.$ac_objext \
60845    conftest$ac_exeext conftest.$ac_ext
60846    if test "$ac_gcsections" = "yes"; then
60847      rm -f conftest.c
60848      touch conftest.c
60849      if $CC -c conftest.c; then
60850	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60851	   grep "Warning: gc-sections option ignored" > /dev/null; then
60852	  ac_gcsections=no
60853	fi
60854      fi
60855      rm -f conftest.c conftest.o conftest
60856    fi
60857    if test "$ac_gcsections" = "yes"; then
60858      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60859    fi
60860    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60861$as_echo "$ac_gcsections" >&6; }
60862
60863    if test "$ac_test_CFLAGS" = set; then
60864      CFLAGS="$ac_save_CFLAGS"
60865    else
60866      # this is the suspicious part
60867      CFLAGS=''
60868    fi
60869  fi
60870
60871  # Set -z,relro.
60872  # Note this is only for shared objects.
60873  ac_ld_relro=no
60874  if test x"$with_gnu_ld" = x"yes"; then
60875    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60876$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60877    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60878    if test -n "$cxx_z_relo"; then
60879      OPT_LDFLAGS="-Wl,-z,relro"
60880      ac_ld_relro=yes
60881    fi
60882    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60883$as_echo "$ac_ld_relro" >&6; }
60884  fi
60885
60886  # Set linker optimization flags.
60887  if test x"$with_gnu_ld" = x"yes"; then
60888    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60889  fi
60890
60891
60892
60893
60894
60895  ac_test_CXXFLAGS="${CXXFLAGS+set}"
60896  ac_save_CXXFLAGS="$CXXFLAGS"
60897  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60898
60899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60900$as_echo_n "checking for sin in -lm... " >&6; }
60901if ${ac_cv_lib_m_sin+:} false; then :
60902  $as_echo_n "(cached) " >&6
60903else
60904  ac_check_lib_save_LIBS=$LIBS
60905LIBS="-lm  $LIBS"
60906if test x$gcc_no_link = xyes; then
60907  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60908fi
60909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60910/* end confdefs.h.  */
60911
60912/* Override any GCC internal prototype to avoid an error.
60913   Use char because int might match the return type of a GCC
60914   builtin and then its argument prototype would still apply.  */
60915#ifdef __cplusplus
60916extern "C"
60917#endif
60918char sin ();
60919int
60920main ()
60921{
60922return sin ();
60923  ;
60924  return 0;
60925}
60926_ACEOF
60927if ac_fn_c_try_link "$LINENO"; then :
60928  ac_cv_lib_m_sin=yes
60929else
60930  ac_cv_lib_m_sin=no
60931fi
60932rm -f core conftest.err conftest.$ac_objext \
60933    conftest$ac_exeext conftest.$ac_ext
60934LIBS=$ac_check_lib_save_LIBS
60935fi
60936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60937$as_echo "$ac_cv_lib_m_sin" >&6; }
60938if test "x$ac_cv_lib_m_sin" = xyes; then :
60939  libm="-lm"
60940fi
60941
60942  ac_save_LIBS="$LIBS"
60943  LIBS="$LIBS $libm"
60944
60945
60946
60947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60948$as_echo_n "checking for isinf declaration... " >&6; }
60949  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60950    if ${glibcxx_cv_func_isinf_use+:} false; then :
60951  $as_echo_n "(cached) " >&6
60952else
60953
60954
60955      ac_ext=cpp
60956ac_cpp='$CXXCPP $CPPFLAGS'
60957ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60958ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60959ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60960
60961      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60962/* end confdefs.h.  */
60963#include <math.h>
60964		      #ifdef HAVE_IEEEFP_H
60965		      #include <ieeefp.h>
60966		      #endif
60967
60968int
60969main ()
60970{
60971 isinf(0);
60972  ;
60973  return 0;
60974}
60975_ACEOF
60976if ac_fn_cxx_try_compile "$LINENO"; then :
60977  glibcxx_cv_func_isinf_use=yes
60978else
60979  glibcxx_cv_func_isinf_use=no
60980fi
60981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60982      ac_ext=c
60983ac_cpp='$CPP $CPPFLAGS'
60984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60986ac_compiler_gnu=$ac_cv_c_compiler_gnu
60987
60988
60989fi
60990
60991  fi
60992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60993$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60994
60995  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60996    for ac_func in isinf
60997do :
60998  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60999if test "x$ac_cv_func_isinf" = xyes; then :
61000  cat >>confdefs.h <<_ACEOF
61001#define HAVE_ISINF 1
61002_ACEOF
61003
61004fi
61005done
61006
61007  else
61008
61009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61010$as_echo_n "checking for _isinf declaration... " >&6; }
61011  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61012    if ${glibcxx_cv_func__isinf_use+:} false; then :
61013  $as_echo_n "(cached) " >&6
61014else
61015
61016
61017      ac_ext=cpp
61018ac_cpp='$CXXCPP $CPPFLAGS'
61019ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61020ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61021ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61022
61023      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61024/* end confdefs.h.  */
61025#include <math.h>
61026		      #ifdef HAVE_IEEEFP_H
61027		      #include <ieeefp.h>
61028		      #endif
61029
61030int
61031main ()
61032{
61033 _isinf(0);
61034  ;
61035  return 0;
61036}
61037_ACEOF
61038if ac_fn_cxx_try_compile "$LINENO"; then :
61039  glibcxx_cv_func__isinf_use=yes
61040else
61041  glibcxx_cv_func__isinf_use=no
61042fi
61043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61044      ac_ext=c
61045ac_cpp='$CPP $CPPFLAGS'
61046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61048ac_compiler_gnu=$ac_cv_c_compiler_gnu
61049
61050
61051fi
61052
61053  fi
61054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61055$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61056
61057    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61058      for ac_func in _isinf
61059do :
61060  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61061if test "x$ac_cv_func__isinf" = xyes; then :
61062  cat >>confdefs.h <<_ACEOF
61063#define HAVE__ISINF 1
61064_ACEOF
61065
61066fi
61067done
61068
61069    fi
61070  fi
61071
61072
61073
61074
61075
61076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61077$as_echo_n "checking for isnan declaration... " >&6; }
61078  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61079    if ${glibcxx_cv_func_isnan_use+:} false; then :
61080  $as_echo_n "(cached) " >&6
61081else
61082
61083
61084      ac_ext=cpp
61085ac_cpp='$CXXCPP $CPPFLAGS'
61086ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61087ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61088ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61089
61090      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61091/* end confdefs.h.  */
61092#include <math.h>
61093		      #ifdef HAVE_IEEEFP_H
61094		      #include <ieeefp.h>
61095		      #endif
61096
61097int
61098main ()
61099{
61100 isnan(0);
61101  ;
61102  return 0;
61103}
61104_ACEOF
61105if ac_fn_cxx_try_compile "$LINENO"; then :
61106  glibcxx_cv_func_isnan_use=yes
61107else
61108  glibcxx_cv_func_isnan_use=no
61109fi
61110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61111      ac_ext=c
61112ac_cpp='$CPP $CPPFLAGS'
61113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61115ac_compiler_gnu=$ac_cv_c_compiler_gnu
61116
61117
61118fi
61119
61120  fi
61121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61122$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61123
61124  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61125    for ac_func in isnan
61126do :
61127  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61128if test "x$ac_cv_func_isnan" = xyes; then :
61129  cat >>confdefs.h <<_ACEOF
61130#define HAVE_ISNAN 1
61131_ACEOF
61132
61133fi
61134done
61135
61136  else
61137
61138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61139$as_echo_n "checking for _isnan declaration... " >&6; }
61140  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61141    if ${glibcxx_cv_func__isnan_use+:} false; then :
61142  $as_echo_n "(cached) " >&6
61143else
61144
61145
61146      ac_ext=cpp
61147ac_cpp='$CXXCPP $CPPFLAGS'
61148ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61149ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61150ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61151
61152      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61153/* end confdefs.h.  */
61154#include <math.h>
61155		      #ifdef HAVE_IEEEFP_H
61156		      #include <ieeefp.h>
61157		      #endif
61158
61159int
61160main ()
61161{
61162 _isnan(0);
61163  ;
61164  return 0;
61165}
61166_ACEOF
61167if ac_fn_cxx_try_compile "$LINENO"; then :
61168  glibcxx_cv_func__isnan_use=yes
61169else
61170  glibcxx_cv_func__isnan_use=no
61171fi
61172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61173      ac_ext=c
61174ac_cpp='$CPP $CPPFLAGS'
61175ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61176ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61177ac_compiler_gnu=$ac_cv_c_compiler_gnu
61178
61179
61180fi
61181
61182  fi
61183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61184$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61185
61186    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61187      for ac_func in _isnan
61188do :
61189  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61190if test "x$ac_cv_func__isnan" = xyes; then :
61191  cat >>confdefs.h <<_ACEOF
61192#define HAVE__ISNAN 1
61193_ACEOF
61194
61195fi
61196done
61197
61198    fi
61199  fi
61200
61201
61202
61203
61204
61205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61206$as_echo_n "checking for finite declaration... " >&6; }
61207  if test x${glibcxx_cv_func_finite_use+set} != xset; then
61208    if ${glibcxx_cv_func_finite_use+:} false; then :
61209  $as_echo_n "(cached) " >&6
61210else
61211
61212
61213      ac_ext=cpp
61214ac_cpp='$CXXCPP $CPPFLAGS'
61215ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61218
61219      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61220/* end confdefs.h.  */
61221#include <math.h>
61222		      #ifdef HAVE_IEEEFP_H
61223		      #include <ieeefp.h>
61224		      #endif
61225
61226int
61227main ()
61228{
61229 finite(0);
61230  ;
61231  return 0;
61232}
61233_ACEOF
61234if ac_fn_cxx_try_compile "$LINENO"; then :
61235  glibcxx_cv_func_finite_use=yes
61236else
61237  glibcxx_cv_func_finite_use=no
61238fi
61239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61240      ac_ext=c
61241ac_cpp='$CPP $CPPFLAGS'
61242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61244ac_compiler_gnu=$ac_cv_c_compiler_gnu
61245
61246
61247fi
61248
61249  fi
61250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61251$as_echo "$glibcxx_cv_func_finite_use" >&6; }
61252
61253  if test x$glibcxx_cv_func_finite_use = x"yes"; then
61254    for ac_func in finite
61255do :
61256  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61257if test "x$ac_cv_func_finite" = xyes; then :
61258  cat >>confdefs.h <<_ACEOF
61259#define HAVE_FINITE 1
61260_ACEOF
61261
61262fi
61263done
61264
61265  else
61266
61267  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61268$as_echo_n "checking for _finite declaration... " >&6; }
61269  if test x${glibcxx_cv_func__finite_use+set} != xset; then
61270    if ${glibcxx_cv_func__finite_use+:} false; then :
61271  $as_echo_n "(cached) " >&6
61272else
61273
61274
61275      ac_ext=cpp
61276ac_cpp='$CXXCPP $CPPFLAGS'
61277ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61278ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61279ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61280
61281      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61282/* end confdefs.h.  */
61283#include <math.h>
61284		      #ifdef HAVE_IEEEFP_H
61285		      #include <ieeefp.h>
61286		      #endif
61287
61288int
61289main ()
61290{
61291 _finite(0);
61292  ;
61293  return 0;
61294}
61295_ACEOF
61296if ac_fn_cxx_try_compile "$LINENO"; then :
61297  glibcxx_cv_func__finite_use=yes
61298else
61299  glibcxx_cv_func__finite_use=no
61300fi
61301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61302      ac_ext=c
61303ac_cpp='$CPP $CPPFLAGS'
61304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61306ac_compiler_gnu=$ac_cv_c_compiler_gnu
61307
61308
61309fi
61310
61311  fi
61312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61313$as_echo "$glibcxx_cv_func__finite_use" >&6; }
61314
61315    if test x$glibcxx_cv_func__finite_use = x"yes"; then
61316      for ac_func in _finite
61317do :
61318  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61319if test "x$ac_cv_func__finite" = xyes; then :
61320  cat >>confdefs.h <<_ACEOF
61321#define HAVE__FINITE 1
61322_ACEOF
61323
61324fi
61325done
61326
61327    fi
61328  fi
61329
61330
61331
61332
61333
61334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61335$as_echo_n "checking for sincos declaration... " >&6; }
61336  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61337    if ${glibcxx_cv_func_sincos_use+:} false; then :
61338  $as_echo_n "(cached) " >&6
61339else
61340
61341
61342      ac_ext=cpp
61343ac_cpp='$CXXCPP $CPPFLAGS'
61344ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61345ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61346ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61347
61348      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61349/* end confdefs.h.  */
61350#include <math.h>
61351int
61352main ()
61353{
61354 sincos(0, 0, 0);
61355  ;
61356  return 0;
61357}
61358_ACEOF
61359if ac_fn_cxx_try_compile "$LINENO"; then :
61360  glibcxx_cv_func_sincos_use=yes
61361else
61362  glibcxx_cv_func_sincos_use=no
61363fi
61364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61365      ac_ext=c
61366ac_cpp='$CPP $CPPFLAGS'
61367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61369ac_compiler_gnu=$ac_cv_c_compiler_gnu
61370
61371
61372fi
61373
61374  fi
61375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61376$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61377
61378  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61379    for ac_func in sincos
61380do :
61381  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61382if test "x$ac_cv_func_sincos" = xyes; then :
61383  cat >>confdefs.h <<_ACEOF
61384#define HAVE_SINCOS 1
61385_ACEOF
61386
61387fi
61388done
61389
61390  else
61391
61392  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61393$as_echo_n "checking for _sincos declaration... " >&6; }
61394  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61395    if ${glibcxx_cv_func__sincos_use+:} false; then :
61396  $as_echo_n "(cached) " >&6
61397else
61398
61399
61400      ac_ext=cpp
61401ac_cpp='$CXXCPP $CPPFLAGS'
61402ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61403ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61404ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61405
61406      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61407/* end confdefs.h.  */
61408#include <math.h>
61409int
61410main ()
61411{
61412 _sincos(0, 0, 0);
61413  ;
61414  return 0;
61415}
61416_ACEOF
61417if ac_fn_cxx_try_compile "$LINENO"; then :
61418  glibcxx_cv_func__sincos_use=yes
61419else
61420  glibcxx_cv_func__sincos_use=no
61421fi
61422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61423      ac_ext=c
61424ac_cpp='$CPP $CPPFLAGS'
61425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61427ac_compiler_gnu=$ac_cv_c_compiler_gnu
61428
61429
61430fi
61431
61432  fi
61433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61434$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61435
61436    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61437      for ac_func in _sincos
61438do :
61439  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61440if test "x$ac_cv_func__sincos" = xyes; then :
61441  cat >>confdefs.h <<_ACEOF
61442#define HAVE__SINCOS 1
61443_ACEOF
61444
61445fi
61446done
61447
61448    fi
61449  fi
61450
61451
61452
61453
61454
61455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61456$as_echo_n "checking for fpclass declaration... " >&6; }
61457  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61458    if ${glibcxx_cv_func_fpclass_use+:} false; then :
61459  $as_echo_n "(cached) " >&6
61460else
61461
61462
61463      ac_ext=cpp
61464ac_cpp='$CXXCPP $CPPFLAGS'
61465ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61466ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61467ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61468
61469      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61470/* end confdefs.h.  */
61471#include <math.h>
61472		      #ifdef HAVE_IEEEFP_H
61473		      #include <ieeefp.h>
61474		      #endif
61475
61476int
61477main ()
61478{
61479 fpclass(0);
61480  ;
61481  return 0;
61482}
61483_ACEOF
61484if ac_fn_cxx_try_compile "$LINENO"; then :
61485  glibcxx_cv_func_fpclass_use=yes
61486else
61487  glibcxx_cv_func_fpclass_use=no
61488fi
61489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61490      ac_ext=c
61491ac_cpp='$CPP $CPPFLAGS'
61492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61494ac_compiler_gnu=$ac_cv_c_compiler_gnu
61495
61496
61497fi
61498
61499  fi
61500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61501$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61502
61503  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61504    for ac_func in fpclass
61505do :
61506  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61507if test "x$ac_cv_func_fpclass" = xyes; then :
61508  cat >>confdefs.h <<_ACEOF
61509#define HAVE_FPCLASS 1
61510_ACEOF
61511
61512fi
61513done
61514
61515  else
61516
61517  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61518$as_echo_n "checking for _fpclass declaration... " >&6; }
61519  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61520    if ${glibcxx_cv_func__fpclass_use+:} false; then :
61521  $as_echo_n "(cached) " >&6
61522else
61523
61524
61525      ac_ext=cpp
61526ac_cpp='$CXXCPP $CPPFLAGS'
61527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61530
61531      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61532/* end confdefs.h.  */
61533#include <math.h>
61534		      #ifdef HAVE_IEEEFP_H
61535		      #include <ieeefp.h>
61536		      #endif
61537
61538int
61539main ()
61540{
61541 _fpclass(0);
61542  ;
61543  return 0;
61544}
61545_ACEOF
61546if ac_fn_cxx_try_compile "$LINENO"; then :
61547  glibcxx_cv_func__fpclass_use=yes
61548else
61549  glibcxx_cv_func__fpclass_use=no
61550fi
61551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61552      ac_ext=c
61553ac_cpp='$CPP $CPPFLAGS'
61554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61556ac_compiler_gnu=$ac_cv_c_compiler_gnu
61557
61558
61559fi
61560
61561  fi
61562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61563$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61564
61565    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61566      for ac_func in _fpclass
61567do :
61568  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61569if test "x$ac_cv_func__fpclass" = xyes; then :
61570  cat >>confdefs.h <<_ACEOF
61571#define HAVE__FPCLASS 1
61572_ACEOF
61573
61574fi
61575done
61576
61577    fi
61578  fi
61579
61580
61581
61582
61583
61584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61585$as_echo_n "checking for qfpclass declaration... " >&6; }
61586  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61587    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61588  $as_echo_n "(cached) " >&6
61589else
61590
61591
61592      ac_ext=cpp
61593ac_cpp='$CXXCPP $CPPFLAGS'
61594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61597
61598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61599/* end confdefs.h.  */
61600#include <math.h>
61601		      #ifdef HAVE_IEEEFP_H
61602		      #include <ieeefp.h>
61603		      #endif
61604
61605int
61606main ()
61607{
61608 qfpclass(0);
61609  ;
61610  return 0;
61611}
61612_ACEOF
61613if ac_fn_cxx_try_compile "$LINENO"; then :
61614  glibcxx_cv_func_qfpclass_use=yes
61615else
61616  glibcxx_cv_func_qfpclass_use=no
61617fi
61618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61619      ac_ext=c
61620ac_cpp='$CPP $CPPFLAGS'
61621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61623ac_compiler_gnu=$ac_cv_c_compiler_gnu
61624
61625
61626fi
61627
61628  fi
61629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61630$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61631
61632  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61633    for ac_func in qfpclass
61634do :
61635  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61636if test "x$ac_cv_func_qfpclass" = xyes; then :
61637  cat >>confdefs.h <<_ACEOF
61638#define HAVE_QFPCLASS 1
61639_ACEOF
61640
61641fi
61642done
61643
61644  else
61645
61646  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61647$as_echo_n "checking for _qfpclass declaration... " >&6; }
61648  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61649    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61650  $as_echo_n "(cached) " >&6
61651else
61652
61653
61654      ac_ext=cpp
61655ac_cpp='$CXXCPP $CPPFLAGS'
61656ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61657ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61658ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61659
61660      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61661/* end confdefs.h.  */
61662#include <math.h>
61663		      #ifdef HAVE_IEEEFP_H
61664		      #include <ieeefp.h>
61665		      #endif
61666
61667int
61668main ()
61669{
61670 _qfpclass(0);
61671  ;
61672  return 0;
61673}
61674_ACEOF
61675if ac_fn_cxx_try_compile "$LINENO"; then :
61676  glibcxx_cv_func__qfpclass_use=yes
61677else
61678  glibcxx_cv_func__qfpclass_use=no
61679fi
61680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61681      ac_ext=c
61682ac_cpp='$CPP $CPPFLAGS'
61683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61685ac_compiler_gnu=$ac_cv_c_compiler_gnu
61686
61687
61688fi
61689
61690  fi
61691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61692$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61693
61694    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61695      for ac_func in _qfpclass
61696do :
61697  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61698if test "x$ac_cv_func__qfpclass" = xyes; then :
61699  cat >>confdefs.h <<_ACEOF
61700#define HAVE__QFPCLASS 1
61701_ACEOF
61702
61703fi
61704done
61705
61706    fi
61707  fi
61708
61709
61710
61711
61712
61713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61714$as_echo_n "checking for hypot declaration... " >&6; }
61715  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61716    if ${glibcxx_cv_func_hypot_use+:} false; then :
61717  $as_echo_n "(cached) " >&6
61718else
61719
61720
61721      ac_ext=cpp
61722ac_cpp='$CXXCPP $CPPFLAGS'
61723ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61724ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61725ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61726
61727      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61728/* end confdefs.h.  */
61729#include <math.h>
61730int
61731main ()
61732{
61733 hypot(0, 0);
61734  ;
61735  return 0;
61736}
61737_ACEOF
61738if ac_fn_cxx_try_compile "$LINENO"; then :
61739  glibcxx_cv_func_hypot_use=yes
61740else
61741  glibcxx_cv_func_hypot_use=no
61742fi
61743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61744      ac_ext=c
61745ac_cpp='$CPP $CPPFLAGS'
61746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61748ac_compiler_gnu=$ac_cv_c_compiler_gnu
61749
61750
61751fi
61752
61753  fi
61754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61755$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61756
61757  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61758    for ac_func in hypot
61759do :
61760  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61761if test "x$ac_cv_func_hypot" = xyes; then :
61762  cat >>confdefs.h <<_ACEOF
61763#define HAVE_HYPOT 1
61764_ACEOF
61765
61766fi
61767done
61768
61769  else
61770
61771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61772$as_echo_n "checking for _hypot declaration... " >&6; }
61773  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61774    if ${glibcxx_cv_func__hypot_use+:} false; then :
61775  $as_echo_n "(cached) " >&6
61776else
61777
61778
61779      ac_ext=cpp
61780ac_cpp='$CXXCPP $CPPFLAGS'
61781ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61782ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61783ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61784
61785      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61786/* end confdefs.h.  */
61787#include <math.h>
61788int
61789main ()
61790{
61791 _hypot(0, 0);
61792  ;
61793  return 0;
61794}
61795_ACEOF
61796if ac_fn_cxx_try_compile "$LINENO"; then :
61797  glibcxx_cv_func__hypot_use=yes
61798else
61799  glibcxx_cv_func__hypot_use=no
61800fi
61801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61802      ac_ext=c
61803ac_cpp='$CPP $CPPFLAGS'
61804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61806ac_compiler_gnu=$ac_cv_c_compiler_gnu
61807
61808
61809fi
61810
61811  fi
61812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61813$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61814
61815    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61816      for ac_func in _hypot
61817do :
61818  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61819if test "x$ac_cv_func__hypot" = xyes; then :
61820  cat >>confdefs.h <<_ACEOF
61821#define HAVE__HYPOT 1
61822_ACEOF
61823
61824fi
61825done
61826
61827    fi
61828  fi
61829
61830
61831
61832
61833
61834    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61835$as_echo_n "checking for float trig functions... " >&6; }
61836  if ${glibcxx_cv_func_float_trig_use+:} false; then :
61837  $as_echo_n "(cached) " >&6
61838else
61839
61840
61841    ac_ext=cpp
61842ac_cpp='$CXXCPP $CPPFLAGS'
61843ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61844ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61845ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61846
61847    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61848/* end confdefs.h.  */
61849#include <math.h>
61850int
61851main ()
61852{
61853acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61854  ;
61855  return 0;
61856}
61857_ACEOF
61858if ac_fn_cxx_try_compile "$LINENO"; then :
61859  glibcxx_cv_func_float_trig_use=yes
61860else
61861  glibcxx_cv_func_float_trig_use=no
61862fi
61863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61864    ac_ext=c
61865ac_cpp='$CPP $CPPFLAGS'
61866ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61867ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61868ac_compiler_gnu=$ac_cv_c_compiler_gnu
61869
61870fi
61871
61872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61873$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61874  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61875    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61876do :
61877  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61878ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61879if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61880  cat >>confdefs.h <<_ACEOF
61881#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61882_ACEOF
61883
61884fi
61885done
61886
61887  else
61888    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61889$as_echo_n "checking for _float trig functions... " >&6; }
61890    if ${glibcxx_cv_func__float_trig_use+:} false; then :
61891  $as_echo_n "(cached) " >&6
61892else
61893
61894
61895      ac_ext=cpp
61896ac_cpp='$CXXCPP $CPPFLAGS'
61897ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61898ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61899ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61900
61901      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61902/* end confdefs.h.  */
61903#include <math.h>
61904int
61905main ()
61906{
61907_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61908  ;
61909  return 0;
61910}
61911_ACEOF
61912if ac_fn_cxx_try_compile "$LINENO"; then :
61913  glibcxx_cv_func__float_trig_use=yes
61914else
61915  glibcxx_cv_func__float_trig_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
61924fi
61925
61926    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61927$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61928    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61929      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61930do :
61931  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61932ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61933if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61934  cat >>confdefs.h <<_ACEOF
61935#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61936_ACEOF
61937
61938fi
61939done
61940
61941    fi
61942  fi
61943
61944
61945
61946
61947
61948    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61949$as_echo_n "checking for float round functions... " >&6; }
61950  if ${glibcxx_cv_func_float_round_use+:} false; then :
61951  $as_echo_n "(cached) " >&6
61952else
61953
61954
61955    ac_ext=cpp
61956ac_cpp='$CXXCPP $CPPFLAGS'
61957ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61958ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61959ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61960
61961    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61962/* end confdefs.h.  */
61963#include <math.h>
61964int
61965main ()
61966{
61967ceilf (0); floorf (0);
61968  ;
61969  return 0;
61970}
61971_ACEOF
61972if ac_fn_cxx_try_compile "$LINENO"; then :
61973  glibcxx_cv_func_float_round_use=yes
61974else
61975  glibcxx_cv_func_float_round_use=no
61976fi
61977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61978    ac_ext=c
61979ac_cpp='$CPP $CPPFLAGS'
61980ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61981ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61982ac_compiler_gnu=$ac_cv_c_compiler_gnu
61983
61984fi
61985
61986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61987$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61988  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61989    for ac_func in ceilf floorf
61990do :
61991  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61992ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61993if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61994  cat >>confdefs.h <<_ACEOF
61995#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61996_ACEOF
61997
61998fi
61999done
62000
62001  else
62002    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62003$as_echo_n "checking for _float round functions... " >&6; }
62004    if ${glibcxx_cv_func__float_round_use+:} false; then :
62005  $as_echo_n "(cached) " >&6
62006else
62007
62008
62009      ac_ext=cpp
62010ac_cpp='$CXXCPP $CPPFLAGS'
62011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62014
62015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62016/* end confdefs.h.  */
62017#include <math.h>
62018int
62019main ()
62020{
62021_ceilf (0); _floorf (0);
62022  ;
62023  return 0;
62024}
62025_ACEOF
62026if ac_fn_cxx_try_compile "$LINENO"; then :
62027  glibcxx_cv_func__float_round_use=yes
62028else
62029  glibcxx_cv_func__float_round_use=no
62030fi
62031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62032      ac_ext=c
62033ac_cpp='$CPP $CPPFLAGS'
62034ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62035ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62036ac_compiler_gnu=$ac_cv_c_compiler_gnu
62037
62038fi
62039
62040    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62041$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62042    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62043      for ac_func in _ceilf _floorf
62044do :
62045  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62046ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62047if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62048  cat >>confdefs.h <<_ACEOF
62049#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62050_ACEOF
62051
62052fi
62053done
62054
62055    fi
62056  fi
62057
62058
62059
62060
62061
62062
62063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62064$as_echo_n "checking for expf declaration... " >&6; }
62065  if test x${glibcxx_cv_func_expf_use+set} != xset; then
62066    if ${glibcxx_cv_func_expf_use+:} false; then :
62067  $as_echo_n "(cached) " >&6
62068else
62069
62070
62071      ac_ext=cpp
62072ac_cpp='$CXXCPP $CPPFLAGS'
62073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62076
62077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62078/* end confdefs.h.  */
62079#include <math.h>
62080		      #ifdef HAVE_IEEEFP_H
62081		      #include <ieeefp.h>
62082		      #endif
62083
62084int
62085main ()
62086{
62087 expf(0);
62088  ;
62089  return 0;
62090}
62091_ACEOF
62092if ac_fn_cxx_try_compile "$LINENO"; then :
62093  glibcxx_cv_func_expf_use=yes
62094else
62095  glibcxx_cv_func_expf_use=no
62096fi
62097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62098      ac_ext=c
62099ac_cpp='$CPP $CPPFLAGS'
62100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62102ac_compiler_gnu=$ac_cv_c_compiler_gnu
62103
62104
62105fi
62106
62107  fi
62108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62109$as_echo "$glibcxx_cv_func_expf_use" >&6; }
62110
62111  if test x$glibcxx_cv_func_expf_use = x"yes"; then
62112    for ac_func in expf
62113do :
62114  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62115if test "x$ac_cv_func_expf" = xyes; then :
62116  cat >>confdefs.h <<_ACEOF
62117#define HAVE_EXPF 1
62118_ACEOF
62119
62120fi
62121done
62122
62123  else
62124
62125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62126$as_echo_n "checking for _expf declaration... " >&6; }
62127  if test x${glibcxx_cv_func__expf_use+set} != xset; then
62128    if ${glibcxx_cv_func__expf_use+:} false; then :
62129  $as_echo_n "(cached) " >&6
62130else
62131
62132
62133      ac_ext=cpp
62134ac_cpp='$CXXCPP $CPPFLAGS'
62135ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62136ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62137ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62138
62139      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62140/* end confdefs.h.  */
62141#include <math.h>
62142		      #ifdef HAVE_IEEEFP_H
62143		      #include <ieeefp.h>
62144		      #endif
62145
62146int
62147main ()
62148{
62149 _expf(0);
62150  ;
62151  return 0;
62152}
62153_ACEOF
62154if ac_fn_cxx_try_compile "$LINENO"; then :
62155  glibcxx_cv_func__expf_use=yes
62156else
62157  glibcxx_cv_func__expf_use=no
62158fi
62159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62160      ac_ext=c
62161ac_cpp='$CPP $CPPFLAGS'
62162ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62163ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62164ac_compiler_gnu=$ac_cv_c_compiler_gnu
62165
62166
62167fi
62168
62169  fi
62170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62171$as_echo "$glibcxx_cv_func__expf_use" >&6; }
62172
62173    if test x$glibcxx_cv_func__expf_use = x"yes"; then
62174      for ac_func in _expf
62175do :
62176  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62177if test "x$ac_cv_func__expf" = xyes; then :
62178  cat >>confdefs.h <<_ACEOF
62179#define HAVE__EXPF 1
62180_ACEOF
62181
62182fi
62183done
62184
62185    fi
62186  fi
62187
62188
62189
62190
62191
62192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62193$as_echo_n "checking for isnanf declaration... " >&6; }
62194  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62195    if ${glibcxx_cv_func_isnanf_use+:} false; then :
62196  $as_echo_n "(cached) " >&6
62197else
62198
62199
62200      ac_ext=cpp
62201ac_cpp='$CXXCPP $CPPFLAGS'
62202ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62203ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62204ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62205
62206      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62207/* end confdefs.h.  */
62208#include <math.h>
62209		      #ifdef HAVE_IEEEFP_H
62210		      #include <ieeefp.h>
62211		      #endif
62212
62213int
62214main ()
62215{
62216 isnanf(0);
62217  ;
62218  return 0;
62219}
62220_ACEOF
62221if ac_fn_cxx_try_compile "$LINENO"; then :
62222  glibcxx_cv_func_isnanf_use=yes
62223else
62224  glibcxx_cv_func_isnanf_use=no
62225fi
62226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62227      ac_ext=c
62228ac_cpp='$CPP $CPPFLAGS'
62229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62231ac_compiler_gnu=$ac_cv_c_compiler_gnu
62232
62233
62234fi
62235
62236  fi
62237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62238$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62239
62240  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62241    for ac_func in isnanf
62242do :
62243  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62244if test "x$ac_cv_func_isnanf" = xyes; then :
62245  cat >>confdefs.h <<_ACEOF
62246#define HAVE_ISNANF 1
62247_ACEOF
62248
62249fi
62250done
62251
62252  else
62253
62254  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62255$as_echo_n "checking for _isnanf declaration... " >&6; }
62256  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62257    if ${glibcxx_cv_func__isnanf_use+:} false; then :
62258  $as_echo_n "(cached) " >&6
62259else
62260
62261
62262      ac_ext=cpp
62263ac_cpp='$CXXCPP $CPPFLAGS'
62264ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62265ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62266ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62267
62268      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62269/* end confdefs.h.  */
62270#include <math.h>
62271		      #ifdef HAVE_IEEEFP_H
62272		      #include <ieeefp.h>
62273		      #endif
62274
62275int
62276main ()
62277{
62278 _isnanf(0);
62279  ;
62280  return 0;
62281}
62282_ACEOF
62283if ac_fn_cxx_try_compile "$LINENO"; then :
62284  glibcxx_cv_func__isnanf_use=yes
62285else
62286  glibcxx_cv_func__isnanf_use=no
62287fi
62288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62289      ac_ext=c
62290ac_cpp='$CPP $CPPFLAGS'
62291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62293ac_compiler_gnu=$ac_cv_c_compiler_gnu
62294
62295
62296fi
62297
62298  fi
62299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62300$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62301
62302    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62303      for ac_func in _isnanf
62304do :
62305  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62306if test "x$ac_cv_func__isnanf" = xyes; then :
62307  cat >>confdefs.h <<_ACEOF
62308#define HAVE__ISNANF 1
62309_ACEOF
62310
62311fi
62312done
62313
62314    fi
62315  fi
62316
62317
62318
62319
62320
62321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62322$as_echo_n "checking for isinff declaration... " >&6; }
62323  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62324    if ${glibcxx_cv_func_isinff_use+:} false; then :
62325  $as_echo_n "(cached) " >&6
62326else
62327
62328
62329      ac_ext=cpp
62330ac_cpp='$CXXCPP $CPPFLAGS'
62331ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62334
62335      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62336/* end confdefs.h.  */
62337#include <math.h>
62338		      #ifdef HAVE_IEEEFP_H
62339		      #include <ieeefp.h>
62340		      #endif
62341
62342int
62343main ()
62344{
62345 isinff(0);
62346  ;
62347  return 0;
62348}
62349_ACEOF
62350if ac_fn_cxx_try_compile "$LINENO"; then :
62351  glibcxx_cv_func_isinff_use=yes
62352else
62353  glibcxx_cv_func_isinff_use=no
62354fi
62355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62356      ac_ext=c
62357ac_cpp='$CPP $CPPFLAGS'
62358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62360ac_compiler_gnu=$ac_cv_c_compiler_gnu
62361
62362
62363fi
62364
62365  fi
62366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62367$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62368
62369  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62370    for ac_func in isinff
62371do :
62372  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62373if test "x$ac_cv_func_isinff" = xyes; then :
62374  cat >>confdefs.h <<_ACEOF
62375#define HAVE_ISINFF 1
62376_ACEOF
62377
62378fi
62379done
62380
62381  else
62382
62383  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62384$as_echo_n "checking for _isinff declaration... " >&6; }
62385  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62386    if ${glibcxx_cv_func__isinff_use+:} false; then :
62387  $as_echo_n "(cached) " >&6
62388else
62389
62390
62391      ac_ext=cpp
62392ac_cpp='$CXXCPP $CPPFLAGS'
62393ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62394ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62395ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62396
62397      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62398/* end confdefs.h.  */
62399#include <math.h>
62400		      #ifdef HAVE_IEEEFP_H
62401		      #include <ieeefp.h>
62402		      #endif
62403
62404int
62405main ()
62406{
62407 _isinff(0);
62408  ;
62409  return 0;
62410}
62411_ACEOF
62412if ac_fn_cxx_try_compile "$LINENO"; then :
62413  glibcxx_cv_func__isinff_use=yes
62414else
62415  glibcxx_cv_func__isinff_use=no
62416fi
62417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62418      ac_ext=c
62419ac_cpp='$CPP $CPPFLAGS'
62420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62422ac_compiler_gnu=$ac_cv_c_compiler_gnu
62423
62424
62425fi
62426
62427  fi
62428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62429$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62430
62431    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62432      for ac_func in _isinff
62433do :
62434  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62435if test "x$ac_cv_func__isinff" = xyes; then :
62436  cat >>confdefs.h <<_ACEOF
62437#define HAVE__ISINFF 1
62438_ACEOF
62439
62440fi
62441done
62442
62443    fi
62444  fi
62445
62446
62447
62448
62449
62450  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62451$as_echo_n "checking for atan2f declaration... " >&6; }
62452  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62453    if ${glibcxx_cv_func_atan2f_use+:} false; then :
62454  $as_echo_n "(cached) " >&6
62455else
62456
62457
62458      ac_ext=cpp
62459ac_cpp='$CXXCPP $CPPFLAGS'
62460ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62461ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62462ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62463
62464      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62465/* end confdefs.h.  */
62466#include <math.h>
62467int
62468main ()
62469{
62470 atan2f(0, 0);
62471  ;
62472  return 0;
62473}
62474_ACEOF
62475if ac_fn_cxx_try_compile "$LINENO"; then :
62476  glibcxx_cv_func_atan2f_use=yes
62477else
62478  glibcxx_cv_func_atan2f_use=no
62479fi
62480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62481      ac_ext=c
62482ac_cpp='$CPP $CPPFLAGS'
62483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62485ac_compiler_gnu=$ac_cv_c_compiler_gnu
62486
62487
62488fi
62489
62490  fi
62491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62492$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62493
62494  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62495    for ac_func in atan2f
62496do :
62497  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62498if test "x$ac_cv_func_atan2f" = xyes; then :
62499  cat >>confdefs.h <<_ACEOF
62500#define HAVE_ATAN2F 1
62501_ACEOF
62502
62503fi
62504done
62505
62506  else
62507
62508  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62509$as_echo_n "checking for _atan2f declaration... " >&6; }
62510  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62511    if ${glibcxx_cv_func__atan2f_use+:} false; then :
62512  $as_echo_n "(cached) " >&6
62513else
62514
62515
62516      ac_ext=cpp
62517ac_cpp='$CXXCPP $CPPFLAGS'
62518ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62519ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62520ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62521
62522      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62523/* end confdefs.h.  */
62524#include <math.h>
62525int
62526main ()
62527{
62528 _atan2f(0, 0);
62529  ;
62530  return 0;
62531}
62532_ACEOF
62533if ac_fn_cxx_try_compile "$LINENO"; then :
62534  glibcxx_cv_func__atan2f_use=yes
62535else
62536  glibcxx_cv_func__atan2f_use=no
62537fi
62538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62539      ac_ext=c
62540ac_cpp='$CPP $CPPFLAGS'
62541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62543ac_compiler_gnu=$ac_cv_c_compiler_gnu
62544
62545
62546fi
62547
62548  fi
62549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62550$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62551
62552    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62553      for ac_func in _atan2f
62554do :
62555  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62556if test "x$ac_cv_func__atan2f" = xyes; then :
62557  cat >>confdefs.h <<_ACEOF
62558#define HAVE__ATAN2F 1
62559_ACEOF
62560
62561fi
62562done
62563
62564    fi
62565  fi
62566
62567
62568
62569
62570
62571  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62572$as_echo_n "checking for fabsf declaration... " >&6; }
62573  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62574    if ${glibcxx_cv_func_fabsf_use+:} false; then :
62575  $as_echo_n "(cached) " >&6
62576else
62577
62578
62579      ac_ext=cpp
62580ac_cpp='$CXXCPP $CPPFLAGS'
62581ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62582ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62583ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62584
62585      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62586/* end confdefs.h.  */
62587#include <math.h>
62588		      #ifdef HAVE_IEEEFP_H
62589		      #include <ieeefp.h>
62590		      #endif
62591
62592int
62593main ()
62594{
62595 fabsf(0);
62596  ;
62597  return 0;
62598}
62599_ACEOF
62600if ac_fn_cxx_try_compile "$LINENO"; then :
62601  glibcxx_cv_func_fabsf_use=yes
62602else
62603  glibcxx_cv_func_fabsf_use=no
62604fi
62605rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62606      ac_ext=c
62607ac_cpp='$CPP $CPPFLAGS'
62608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62610ac_compiler_gnu=$ac_cv_c_compiler_gnu
62611
62612
62613fi
62614
62615  fi
62616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62617$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62618
62619  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62620    for ac_func in fabsf
62621do :
62622  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62623if test "x$ac_cv_func_fabsf" = xyes; then :
62624  cat >>confdefs.h <<_ACEOF
62625#define HAVE_FABSF 1
62626_ACEOF
62627
62628fi
62629done
62630
62631  else
62632
62633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62634$as_echo_n "checking for _fabsf declaration... " >&6; }
62635  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62636    if ${glibcxx_cv_func__fabsf_use+:} false; then :
62637  $as_echo_n "(cached) " >&6
62638else
62639
62640
62641      ac_ext=cpp
62642ac_cpp='$CXXCPP $CPPFLAGS'
62643ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62644ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62645ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62646
62647      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62648/* end confdefs.h.  */
62649#include <math.h>
62650		      #ifdef HAVE_IEEEFP_H
62651		      #include <ieeefp.h>
62652		      #endif
62653
62654int
62655main ()
62656{
62657 _fabsf(0);
62658  ;
62659  return 0;
62660}
62661_ACEOF
62662if ac_fn_cxx_try_compile "$LINENO"; then :
62663  glibcxx_cv_func__fabsf_use=yes
62664else
62665  glibcxx_cv_func__fabsf_use=no
62666fi
62667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62668      ac_ext=c
62669ac_cpp='$CPP $CPPFLAGS'
62670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62672ac_compiler_gnu=$ac_cv_c_compiler_gnu
62673
62674
62675fi
62676
62677  fi
62678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62679$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62680
62681    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62682      for ac_func in _fabsf
62683do :
62684  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62685if test "x$ac_cv_func__fabsf" = xyes; then :
62686  cat >>confdefs.h <<_ACEOF
62687#define HAVE__FABSF 1
62688_ACEOF
62689
62690fi
62691done
62692
62693    fi
62694  fi
62695
62696
62697
62698
62699
62700  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62701$as_echo_n "checking for fmodf declaration... " >&6; }
62702  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62703    if ${glibcxx_cv_func_fmodf_use+:} false; then :
62704  $as_echo_n "(cached) " >&6
62705else
62706
62707
62708      ac_ext=cpp
62709ac_cpp='$CXXCPP $CPPFLAGS'
62710ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62713
62714      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62715/* end confdefs.h.  */
62716#include <math.h>
62717int
62718main ()
62719{
62720 fmodf(0, 0);
62721  ;
62722  return 0;
62723}
62724_ACEOF
62725if ac_fn_cxx_try_compile "$LINENO"; then :
62726  glibcxx_cv_func_fmodf_use=yes
62727else
62728  glibcxx_cv_func_fmodf_use=no
62729fi
62730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62731      ac_ext=c
62732ac_cpp='$CPP $CPPFLAGS'
62733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62735ac_compiler_gnu=$ac_cv_c_compiler_gnu
62736
62737
62738fi
62739
62740  fi
62741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62742$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62743
62744  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62745    for ac_func in fmodf
62746do :
62747  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62748if test "x$ac_cv_func_fmodf" = xyes; then :
62749  cat >>confdefs.h <<_ACEOF
62750#define HAVE_FMODF 1
62751_ACEOF
62752
62753fi
62754done
62755
62756  else
62757
62758  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62759$as_echo_n "checking for _fmodf declaration... " >&6; }
62760  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62761    if ${glibcxx_cv_func__fmodf_use+:} false; then :
62762  $as_echo_n "(cached) " >&6
62763else
62764
62765
62766      ac_ext=cpp
62767ac_cpp='$CXXCPP $CPPFLAGS'
62768ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62769ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62770ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62771
62772      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62773/* end confdefs.h.  */
62774#include <math.h>
62775int
62776main ()
62777{
62778 _fmodf(0, 0);
62779  ;
62780  return 0;
62781}
62782_ACEOF
62783if ac_fn_cxx_try_compile "$LINENO"; then :
62784  glibcxx_cv_func__fmodf_use=yes
62785else
62786  glibcxx_cv_func__fmodf_use=no
62787fi
62788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62789      ac_ext=c
62790ac_cpp='$CPP $CPPFLAGS'
62791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62793ac_compiler_gnu=$ac_cv_c_compiler_gnu
62794
62795
62796fi
62797
62798  fi
62799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62800$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62801
62802    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62803      for ac_func in _fmodf
62804do :
62805  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62806if test "x$ac_cv_func__fmodf" = xyes; then :
62807  cat >>confdefs.h <<_ACEOF
62808#define HAVE__FMODF 1
62809_ACEOF
62810
62811fi
62812done
62813
62814    fi
62815  fi
62816
62817
62818
62819
62820
62821  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62822$as_echo_n "checking for frexpf declaration... " >&6; }
62823  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62824    if ${glibcxx_cv_func_frexpf_use+:} false; then :
62825  $as_echo_n "(cached) " >&6
62826else
62827
62828
62829      ac_ext=cpp
62830ac_cpp='$CXXCPP $CPPFLAGS'
62831ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62834
62835      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62836/* end confdefs.h.  */
62837#include <math.h>
62838int
62839main ()
62840{
62841 frexpf(0, 0);
62842  ;
62843  return 0;
62844}
62845_ACEOF
62846if ac_fn_cxx_try_compile "$LINENO"; then :
62847  glibcxx_cv_func_frexpf_use=yes
62848else
62849  glibcxx_cv_func_frexpf_use=no
62850fi
62851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62852      ac_ext=c
62853ac_cpp='$CPP $CPPFLAGS'
62854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62856ac_compiler_gnu=$ac_cv_c_compiler_gnu
62857
62858
62859fi
62860
62861  fi
62862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62863$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62864
62865  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62866    for ac_func in frexpf
62867do :
62868  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62869if test "x$ac_cv_func_frexpf" = xyes; then :
62870  cat >>confdefs.h <<_ACEOF
62871#define HAVE_FREXPF 1
62872_ACEOF
62873
62874fi
62875done
62876
62877  else
62878
62879  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62880$as_echo_n "checking for _frexpf declaration... " >&6; }
62881  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62882    if ${glibcxx_cv_func__frexpf_use+:} false; then :
62883  $as_echo_n "(cached) " >&6
62884else
62885
62886
62887      ac_ext=cpp
62888ac_cpp='$CXXCPP $CPPFLAGS'
62889ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62890ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62891ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62892
62893      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62894/* end confdefs.h.  */
62895#include <math.h>
62896int
62897main ()
62898{
62899 _frexpf(0, 0);
62900  ;
62901  return 0;
62902}
62903_ACEOF
62904if ac_fn_cxx_try_compile "$LINENO"; then :
62905  glibcxx_cv_func__frexpf_use=yes
62906else
62907  glibcxx_cv_func__frexpf_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__frexpf_use" >&5
62921$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62922
62923    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62924      for ac_func in _frexpf
62925do :
62926  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62927if test "x$ac_cv_func__frexpf" = xyes; then :
62928  cat >>confdefs.h <<_ACEOF
62929#define HAVE__FREXPF 1
62930_ACEOF
62931
62932fi
62933done
62934
62935    fi
62936  fi
62937
62938
62939
62940
62941
62942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62943$as_echo_n "checking for hypotf declaration... " >&6; }
62944  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62945    if ${glibcxx_cv_func_hypotf_use+:} false; then :
62946  $as_echo_n "(cached) " >&6
62947else
62948
62949
62950      ac_ext=cpp
62951ac_cpp='$CXXCPP $CPPFLAGS'
62952ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62953ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62954ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62955
62956      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62957/* end confdefs.h.  */
62958#include <math.h>
62959int
62960main ()
62961{
62962 hypotf(0, 0);
62963  ;
62964  return 0;
62965}
62966_ACEOF
62967if ac_fn_cxx_try_compile "$LINENO"; then :
62968  glibcxx_cv_func_hypotf_use=yes
62969else
62970  glibcxx_cv_func_hypotf_use=no
62971fi
62972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62973      ac_ext=c
62974ac_cpp='$CPP $CPPFLAGS'
62975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62977ac_compiler_gnu=$ac_cv_c_compiler_gnu
62978
62979
62980fi
62981
62982  fi
62983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62984$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62985
62986  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62987    for ac_func in hypotf
62988do :
62989  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62990if test "x$ac_cv_func_hypotf" = xyes; then :
62991  cat >>confdefs.h <<_ACEOF
62992#define HAVE_HYPOTF 1
62993_ACEOF
62994
62995fi
62996done
62997
62998  else
62999
63000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63001$as_echo_n "checking for _hypotf declaration... " >&6; }
63002  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63003    if ${glibcxx_cv_func__hypotf_use+:} false; then :
63004  $as_echo_n "(cached) " >&6
63005else
63006
63007
63008      ac_ext=cpp
63009ac_cpp='$CXXCPP $CPPFLAGS'
63010ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63011ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63012ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63013
63014      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63015/* end confdefs.h.  */
63016#include <math.h>
63017int
63018main ()
63019{
63020 _hypotf(0, 0);
63021  ;
63022  return 0;
63023}
63024_ACEOF
63025if ac_fn_cxx_try_compile "$LINENO"; then :
63026  glibcxx_cv_func__hypotf_use=yes
63027else
63028  glibcxx_cv_func__hypotf_use=no
63029fi
63030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63031      ac_ext=c
63032ac_cpp='$CPP $CPPFLAGS'
63033ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63034ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63035ac_compiler_gnu=$ac_cv_c_compiler_gnu
63036
63037
63038fi
63039
63040  fi
63041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63042$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63043
63044    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63045      for ac_func in _hypotf
63046do :
63047  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63048if test "x$ac_cv_func__hypotf" = xyes; then :
63049  cat >>confdefs.h <<_ACEOF
63050#define HAVE__HYPOTF 1
63051_ACEOF
63052
63053fi
63054done
63055
63056    fi
63057  fi
63058
63059
63060
63061
63062
63063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63064$as_echo_n "checking for ldexpf declaration... " >&6; }
63065  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63066    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63067  $as_echo_n "(cached) " >&6
63068else
63069
63070
63071      ac_ext=cpp
63072ac_cpp='$CXXCPP $CPPFLAGS'
63073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63076
63077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63078/* end confdefs.h.  */
63079#include <math.h>
63080int
63081main ()
63082{
63083 ldexpf(0, 0);
63084  ;
63085  return 0;
63086}
63087_ACEOF
63088if ac_fn_cxx_try_compile "$LINENO"; then :
63089  glibcxx_cv_func_ldexpf_use=yes
63090else
63091  glibcxx_cv_func_ldexpf_use=no
63092fi
63093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63094      ac_ext=c
63095ac_cpp='$CPP $CPPFLAGS'
63096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63098ac_compiler_gnu=$ac_cv_c_compiler_gnu
63099
63100
63101fi
63102
63103  fi
63104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63105$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63106
63107  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63108    for ac_func in ldexpf
63109do :
63110  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63111if test "x$ac_cv_func_ldexpf" = xyes; then :
63112  cat >>confdefs.h <<_ACEOF
63113#define HAVE_LDEXPF 1
63114_ACEOF
63115
63116fi
63117done
63118
63119  else
63120
63121  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63122$as_echo_n "checking for _ldexpf declaration... " >&6; }
63123  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63124    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63125  $as_echo_n "(cached) " >&6
63126else
63127
63128
63129      ac_ext=cpp
63130ac_cpp='$CXXCPP $CPPFLAGS'
63131ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63132ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63133ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63134
63135      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63136/* end confdefs.h.  */
63137#include <math.h>
63138int
63139main ()
63140{
63141 _ldexpf(0, 0);
63142  ;
63143  return 0;
63144}
63145_ACEOF
63146if ac_fn_cxx_try_compile "$LINENO"; then :
63147  glibcxx_cv_func__ldexpf_use=yes
63148else
63149  glibcxx_cv_func__ldexpf_use=no
63150fi
63151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63152      ac_ext=c
63153ac_cpp='$CPP $CPPFLAGS'
63154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63156ac_compiler_gnu=$ac_cv_c_compiler_gnu
63157
63158
63159fi
63160
63161  fi
63162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63163$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63164
63165    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63166      for ac_func in _ldexpf
63167do :
63168  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63169if test "x$ac_cv_func__ldexpf" = xyes; then :
63170  cat >>confdefs.h <<_ACEOF
63171#define HAVE__LDEXPF 1
63172_ACEOF
63173
63174fi
63175done
63176
63177    fi
63178  fi
63179
63180
63181
63182
63183
63184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63185$as_echo_n "checking for logf declaration... " >&6; }
63186  if test x${glibcxx_cv_func_logf_use+set} != xset; then
63187    if ${glibcxx_cv_func_logf_use+:} false; then :
63188  $as_echo_n "(cached) " >&6
63189else
63190
63191
63192      ac_ext=cpp
63193ac_cpp='$CXXCPP $CPPFLAGS'
63194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63197
63198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63199/* end confdefs.h.  */
63200#include <math.h>
63201		      #ifdef HAVE_IEEEFP_H
63202		      #include <ieeefp.h>
63203		      #endif
63204
63205int
63206main ()
63207{
63208 logf(0);
63209  ;
63210  return 0;
63211}
63212_ACEOF
63213if ac_fn_cxx_try_compile "$LINENO"; then :
63214  glibcxx_cv_func_logf_use=yes
63215else
63216  glibcxx_cv_func_logf_use=no
63217fi
63218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63219      ac_ext=c
63220ac_cpp='$CPP $CPPFLAGS'
63221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63223ac_compiler_gnu=$ac_cv_c_compiler_gnu
63224
63225
63226fi
63227
63228  fi
63229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63230$as_echo "$glibcxx_cv_func_logf_use" >&6; }
63231
63232  if test x$glibcxx_cv_func_logf_use = x"yes"; then
63233    for ac_func in logf
63234do :
63235  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63236if test "x$ac_cv_func_logf" = xyes; then :
63237  cat >>confdefs.h <<_ACEOF
63238#define HAVE_LOGF 1
63239_ACEOF
63240
63241fi
63242done
63243
63244  else
63245
63246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63247$as_echo_n "checking for _logf declaration... " >&6; }
63248  if test x${glibcxx_cv_func__logf_use+set} != xset; then
63249    if ${glibcxx_cv_func__logf_use+:} false; then :
63250  $as_echo_n "(cached) " >&6
63251else
63252
63253
63254      ac_ext=cpp
63255ac_cpp='$CXXCPP $CPPFLAGS'
63256ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63257ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63258ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63259
63260      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63261/* end confdefs.h.  */
63262#include <math.h>
63263		      #ifdef HAVE_IEEEFP_H
63264		      #include <ieeefp.h>
63265		      #endif
63266
63267int
63268main ()
63269{
63270 _logf(0);
63271  ;
63272  return 0;
63273}
63274_ACEOF
63275if ac_fn_cxx_try_compile "$LINENO"; then :
63276  glibcxx_cv_func__logf_use=yes
63277else
63278  glibcxx_cv_func__logf_use=no
63279fi
63280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63281      ac_ext=c
63282ac_cpp='$CPP $CPPFLAGS'
63283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63285ac_compiler_gnu=$ac_cv_c_compiler_gnu
63286
63287
63288fi
63289
63290  fi
63291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63292$as_echo "$glibcxx_cv_func__logf_use" >&6; }
63293
63294    if test x$glibcxx_cv_func__logf_use = x"yes"; then
63295      for ac_func in _logf
63296do :
63297  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63298if test "x$ac_cv_func__logf" = xyes; then :
63299  cat >>confdefs.h <<_ACEOF
63300#define HAVE__LOGF 1
63301_ACEOF
63302
63303fi
63304done
63305
63306    fi
63307  fi
63308
63309
63310
63311
63312
63313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63314$as_echo_n "checking for log10f declaration... " >&6; }
63315  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63316    if ${glibcxx_cv_func_log10f_use+:} false; then :
63317  $as_echo_n "(cached) " >&6
63318else
63319
63320
63321      ac_ext=cpp
63322ac_cpp='$CXXCPP $CPPFLAGS'
63323ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63324ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63325ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63326
63327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63328/* end confdefs.h.  */
63329#include <math.h>
63330		      #ifdef HAVE_IEEEFP_H
63331		      #include <ieeefp.h>
63332		      #endif
63333
63334int
63335main ()
63336{
63337 log10f(0);
63338  ;
63339  return 0;
63340}
63341_ACEOF
63342if ac_fn_cxx_try_compile "$LINENO"; then :
63343  glibcxx_cv_func_log10f_use=yes
63344else
63345  glibcxx_cv_func_log10f_use=no
63346fi
63347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63348      ac_ext=c
63349ac_cpp='$CPP $CPPFLAGS'
63350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63352ac_compiler_gnu=$ac_cv_c_compiler_gnu
63353
63354
63355fi
63356
63357  fi
63358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63359$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63360
63361  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63362    for ac_func in log10f
63363do :
63364  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63365if test "x$ac_cv_func_log10f" = xyes; then :
63366  cat >>confdefs.h <<_ACEOF
63367#define HAVE_LOG10F 1
63368_ACEOF
63369
63370fi
63371done
63372
63373  else
63374
63375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63376$as_echo_n "checking for _log10f declaration... " >&6; }
63377  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63378    if ${glibcxx_cv_func__log10f_use+:} false; 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>
63392		      #ifdef HAVE_IEEEFP_H
63393		      #include <ieeefp.h>
63394		      #endif
63395
63396int
63397main ()
63398{
63399 _log10f(0);
63400  ;
63401  return 0;
63402}
63403_ACEOF
63404if ac_fn_cxx_try_compile "$LINENO"; then :
63405  glibcxx_cv_func__log10f_use=yes
63406else
63407  glibcxx_cv_func__log10f_use=no
63408fi
63409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63410      ac_ext=c
63411ac_cpp='$CPP $CPPFLAGS'
63412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63414ac_compiler_gnu=$ac_cv_c_compiler_gnu
63415
63416
63417fi
63418
63419  fi
63420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63421$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63422
63423    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63424      for ac_func in _log10f
63425do :
63426  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63427if test "x$ac_cv_func__log10f" = xyes; then :
63428  cat >>confdefs.h <<_ACEOF
63429#define HAVE__LOG10F 1
63430_ACEOF
63431
63432fi
63433done
63434
63435    fi
63436  fi
63437
63438
63439
63440
63441
63442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63443$as_echo_n "checking for modff declaration... " >&6; }
63444  if test x${glibcxx_cv_func_modff_use+set} != xset; then
63445    if ${glibcxx_cv_func_modff_use+:} false; then :
63446  $as_echo_n "(cached) " >&6
63447else
63448
63449
63450      ac_ext=cpp
63451ac_cpp='$CXXCPP $CPPFLAGS'
63452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63455
63456      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63457/* end confdefs.h.  */
63458#include <math.h>
63459int
63460main ()
63461{
63462 modff(0, 0);
63463  ;
63464  return 0;
63465}
63466_ACEOF
63467if ac_fn_cxx_try_compile "$LINENO"; then :
63468  glibcxx_cv_func_modff_use=yes
63469else
63470  glibcxx_cv_func_modff_use=no
63471fi
63472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63473      ac_ext=c
63474ac_cpp='$CPP $CPPFLAGS'
63475ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63476ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63477ac_compiler_gnu=$ac_cv_c_compiler_gnu
63478
63479
63480fi
63481
63482  fi
63483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63484$as_echo "$glibcxx_cv_func_modff_use" >&6; }
63485
63486  if test x$glibcxx_cv_func_modff_use = x"yes"; then
63487    for ac_func in modff
63488do :
63489  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63490if test "x$ac_cv_func_modff" = xyes; then :
63491  cat >>confdefs.h <<_ACEOF
63492#define HAVE_MODFF 1
63493_ACEOF
63494
63495fi
63496done
63497
63498  else
63499
63500  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63501$as_echo_n "checking for _modff declaration... " >&6; }
63502  if test x${glibcxx_cv_func__modff_use+set} != xset; then
63503    if ${glibcxx_cv_func__modff_use+:} false; then :
63504  $as_echo_n "(cached) " >&6
63505else
63506
63507
63508      ac_ext=cpp
63509ac_cpp='$CXXCPP $CPPFLAGS'
63510ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63511ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63512ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63513
63514      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63515/* end confdefs.h.  */
63516#include <math.h>
63517int
63518main ()
63519{
63520 _modff(0, 0);
63521  ;
63522  return 0;
63523}
63524_ACEOF
63525if ac_fn_cxx_try_compile "$LINENO"; then :
63526  glibcxx_cv_func__modff_use=yes
63527else
63528  glibcxx_cv_func__modff_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__modff_use" >&5
63542$as_echo "$glibcxx_cv_func__modff_use" >&6; }
63543
63544    if test x$glibcxx_cv_func__modff_use = x"yes"; then
63545      for ac_func in _modff
63546do :
63547  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63548if test "x$ac_cv_func__modff" = xyes; then :
63549  cat >>confdefs.h <<_ACEOF
63550#define HAVE__MODFF 1
63551_ACEOF
63552
63553fi
63554done
63555
63556    fi
63557  fi
63558
63559
63560
63561
63562
63563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63564$as_echo_n "checking for modf declaration... " >&6; }
63565  if test x${glibcxx_cv_func_modf_use+set} != xset; then
63566    if ${glibcxx_cv_func_modf_use+:} false; then :
63567  $as_echo_n "(cached) " >&6
63568else
63569
63570
63571      ac_ext=cpp
63572ac_cpp='$CXXCPP $CPPFLAGS'
63573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63576
63577      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63578/* end confdefs.h.  */
63579#include <math.h>
63580int
63581main ()
63582{
63583 modf(0, 0);
63584  ;
63585  return 0;
63586}
63587_ACEOF
63588if ac_fn_cxx_try_compile "$LINENO"; then :
63589  glibcxx_cv_func_modf_use=yes
63590else
63591  glibcxx_cv_func_modf_use=no
63592fi
63593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63594      ac_ext=c
63595ac_cpp='$CPP $CPPFLAGS'
63596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63598ac_compiler_gnu=$ac_cv_c_compiler_gnu
63599
63600
63601fi
63602
63603  fi
63604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63605$as_echo "$glibcxx_cv_func_modf_use" >&6; }
63606
63607  if test x$glibcxx_cv_func_modf_use = x"yes"; then
63608    for ac_func in modf
63609do :
63610  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63611if test "x$ac_cv_func_modf" = xyes; then :
63612  cat >>confdefs.h <<_ACEOF
63613#define HAVE_MODF 1
63614_ACEOF
63615
63616fi
63617done
63618
63619  else
63620
63621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63622$as_echo_n "checking for _modf declaration... " >&6; }
63623  if test x${glibcxx_cv_func__modf_use+set} != xset; then
63624    if ${glibcxx_cv_func__modf_use+:} false; then :
63625  $as_echo_n "(cached) " >&6
63626else
63627
63628
63629      ac_ext=cpp
63630ac_cpp='$CXXCPP $CPPFLAGS'
63631ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63632ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63633ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63634
63635      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63636/* end confdefs.h.  */
63637#include <math.h>
63638int
63639main ()
63640{
63641 _modf(0, 0);
63642  ;
63643  return 0;
63644}
63645_ACEOF
63646if ac_fn_cxx_try_compile "$LINENO"; then :
63647  glibcxx_cv_func__modf_use=yes
63648else
63649  glibcxx_cv_func__modf_use=no
63650fi
63651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63652      ac_ext=c
63653ac_cpp='$CPP $CPPFLAGS'
63654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656ac_compiler_gnu=$ac_cv_c_compiler_gnu
63657
63658
63659fi
63660
63661  fi
63662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63663$as_echo "$glibcxx_cv_func__modf_use" >&6; }
63664
63665    if test x$glibcxx_cv_func__modf_use = x"yes"; then
63666      for ac_func in _modf
63667do :
63668  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63669if test "x$ac_cv_func__modf" = xyes; then :
63670  cat >>confdefs.h <<_ACEOF
63671#define HAVE__MODF 1
63672_ACEOF
63673
63674fi
63675done
63676
63677    fi
63678  fi
63679
63680
63681
63682
63683
63684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63685$as_echo_n "checking for powf declaration... " >&6; }
63686  if test x${glibcxx_cv_func_powf_use+set} != xset; then
63687    if ${glibcxx_cv_func_powf_use+:} false; then :
63688  $as_echo_n "(cached) " >&6
63689else
63690
63691
63692      ac_ext=cpp
63693ac_cpp='$CXXCPP $CPPFLAGS'
63694ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63695ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63696ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63697
63698      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63699/* end confdefs.h.  */
63700#include <math.h>
63701int
63702main ()
63703{
63704 powf(0, 0);
63705  ;
63706  return 0;
63707}
63708_ACEOF
63709if ac_fn_cxx_try_compile "$LINENO"; then :
63710  glibcxx_cv_func_powf_use=yes
63711else
63712  glibcxx_cv_func_powf_use=no
63713fi
63714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63715      ac_ext=c
63716ac_cpp='$CPP $CPPFLAGS'
63717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63719ac_compiler_gnu=$ac_cv_c_compiler_gnu
63720
63721
63722fi
63723
63724  fi
63725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63726$as_echo "$glibcxx_cv_func_powf_use" >&6; }
63727
63728  if test x$glibcxx_cv_func_powf_use = x"yes"; then
63729    for ac_func in powf
63730do :
63731  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63732if test "x$ac_cv_func_powf" = xyes; then :
63733  cat >>confdefs.h <<_ACEOF
63734#define HAVE_POWF 1
63735_ACEOF
63736
63737fi
63738done
63739
63740  else
63741
63742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63743$as_echo_n "checking for _powf declaration... " >&6; }
63744  if test x${glibcxx_cv_func__powf_use+set} != xset; then
63745    if ${glibcxx_cv_func__powf_use+:} false; then :
63746  $as_echo_n "(cached) " >&6
63747else
63748
63749
63750      ac_ext=cpp
63751ac_cpp='$CXXCPP $CPPFLAGS'
63752ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63753ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63754ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63755
63756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63757/* end confdefs.h.  */
63758#include <math.h>
63759int
63760main ()
63761{
63762 _powf(0, 0);
63763  ;
63764  return 0;
63765}
63766_ACEOF
63767if ac_fn_cxx_try_compile "$LINENO"; then :
63768  glibcxx_cv_func__powf_use=yes
63769else
63770  glibcxx_cv_func__powf_use=no
63771fi
63772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63773      ac_ext=c
63774ac_cpp='$CPP $CPPFLAGS'
63775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63777ac_compiler_gnu=$ac_cv_c_compiler_gnu
63778
63779
63780fi
63781
63782  fi
63783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63784$as_echo "$glibcxx_cv_func__powf_use" >&6; }
63785
63786    if test x$glibcxx_cv_func__powf_use = x"yes"; then
63787      for ac_func in _powf
63788do :
63789  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63790if test "x$ac_cv_func__powf" = xyes; then :
63791  cat >>confdefs.h <<_ACEOF
63792#define HAVE__POWF 1
63793_ACEOF
63794
63795fi
63796done
63797
63798    fi
63799  fi
63800
63801
63802
63803
63804
63805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63806$as_echo_n "checking for sqrtf declaration... " >&6; }
63807  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63808    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63809  $as_echo_n "(cached) " >&6
63810else
63811
63812
63813      ac_ext=cpp
63814ac_cpp='$CXXCPP $CPPFLAGS'
63815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63818
63819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63820/* end confdefs.h.  */
63821#include <math.h>
63822		      #ifdef HAVE_IEEEFP_H
63823		      #include <ieeefp.h>
63824		      #endif
63825
63826int
63827main ()
63828{
63829 sqrtf(0);
63830  ;
63831  return 0;
63832}
63833_ACEOF
63834if ac_fn_cxx_try_compile "$LINENO"; then :
63835  glibcxx_cv_func_sqrtf_use=yes
63836else
63837  glibcxx_cv_func_sqrtf_use=no
63838fi
63839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63840      ac_ext=c
63841ac_cpp='$CPP $CPPFLAGS'
63842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63844ac_compiler_gnu=$ac_cv_c_compiler_gnu
63845
63846
63847fi
63848
63849  fi
63850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63851$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63852
63853  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63854    for ac_func in sqrtf
63855do :
63856  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63857if test "x$ac_cv_func_sqrtf" = xyes; then :
63858  cat >>confdefs.h <<_ACEOF
63859#define HAVE_SQRTF 1
63860_ACEOF
63861
63862fi
63863done
63864
63865  else
63866
63867  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63868$as_echo_n "checking for _sqrtf declaration... " >&6; }
63869  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63870    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63871  $as_echo_n "(cached) " >&6
63872else
63873
63874
63875      ac_ext=cpp
63876ac_cpp='$CXXCPP $CPPFLAGS'
63877ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63878ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63879ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63880
63881      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63882/* end confdefs.h.  */
63883#include <math.h>
63884		      #ifdef HAVE_IEEEFP_H
63885		      #include <ieeefp.h>
63886		      #endif
63887
63888int
63889main ()
63890{
63891 _sqrtf(0);
63892  ;
63893  return 0;
63894}
63895_ACEOF
63896if ac_fn_cxx_try_compile "$LINENO"; then :
63897  glibcxx_cv_func__sqrtf_use=yes
63898else
63899  glibcxx_cv_func__sqrtf_use=no
63900fi
63901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63902      ac_ext=c
63903ac_cpp='$CPP $CPPFLAGS'
63904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63906ac_compiler_gnu=$ac_cv_c_compiler_gnu
63907
63908
63909fi
63910
63911  fi
63912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63913$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63914
63915    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63916      for ac_func in _sqrtf
63917do :
63918  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63919if test "x$ac_cv_func__sqrtf" = xyes; then :
63920  cat >>confdefs.h <<_ACEOF
63921#define HAVE__SQRTF 1
63922_ACEOF
63923
63924fi
63925done
63926
63927    fi
63928  fi
63929
63930
63931
63932
63933
63934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63935$as_echo_n "checking for sincosf declaration... " >&6; }
63936  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63937    if ${glibcxx_cv_func_sincosf_use+:} false; then :
63938  $as_echo_n "(cached) " >&6
63939else
63940
63941
63942      ac_ext=cpp
63943ac_cpp='$CXXCPP $CPPFLAGS'
63944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63947
63948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63949/* end confdefs.h.  */
63950#include <math.h>
63951int
63952main ()
63953{
63954 sincosf(0, 0, 0);
63955  ;
63956  return 0;
63957}
63958_ACEOF
63959if ac_fn_cxx_try_compile "$LINENO"; then :
63960  glibcxx_cv_func_sincosf_use=yes
63961else
63962  glibcxx_cv_func_sincosf_use=no
63963fi
63964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63965      ac_ext=c
63966ac_cpp='$CPP $CPPFLAGS'
63967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63969ac_compiler_gnu=$ac_cv_c_compiler_gnu
63970
63971
63972fi
63973
63974  fi
63975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63976$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63977
63978  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63979    for ac_func in sincosf
63980do :
63981  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63982if test "x$ac_cv_func_sincosf" = xyes; then :
63983  cat >>confdefs.h <<_ACEOF
63984#define HAVE_SINCOSF 1
63985_ACEOF
63986
63987fi
63988done
63989
63990  else
63991
63992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63993$as_echo_n "checking for _sincosf declaration... " >&6; }
63994  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63995    if ${glibcxx_cv_func__sincosf_use+:} false; then :
63996  $as_echo_n "(cached) " >&6
63997else
63998
63999
64000      ac_ext=cpp
64001ac_cpp='$CXXCPP $CPPFLAGS'
64002ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64003ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64004ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64005
64006      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64007/* end confdefs.h.  */
64008#include <math.h>
64009int
64010main ()
64011{
64012 _sincosf(0, 0, 0);
64013  ;
64014  return 0;
64015}
64016_ACEOF
64017if ac_fn_cxx_try_compile "$LINENO"; then :
64018  glibcxx_cv_func__sincosf_use=yes
64019else
64020  glibcxx_cv_func__sincosf_use=no
64021fi
64022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64023      ac_ext=c
64024ac_cpp='$CPP $CPPFLAGS'
64025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64027ac_compiler_gnu=$ac_cv_c_compiler_gnu
64028
64029
64030fi
64031
64032  fi
64033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64034$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64035
64036    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64037      for ac_func in _sincosf
64038do :
64039  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64040if test "x$ac_cv_func__sincosf" = xyes; then :
64041  cat >>confdefs.h <<_ACEOF
64042#define HAVE__SINCOSF 1
64043_ACEOF
64044
64045fi
64046done
64047
64048    fi
64049  fi
64050
64051
64052
64053
64054
64055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64056$as_echo_n "checking for finitef declaration... " >&6; }
64057  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64058    if ${glibcxx_cv_func_finitef_use+:} false; then :
64059  $as_echo_n "(cached) " >&6
64060else
64061
64062
64063      ac_ext=cpp
64064ac_cpp='$CXXCPP $CPPFLAGS'
64065ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64066ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64067ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64068
64069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64070/* end confdefs.h.  */
64071#include <math.h>
64072		      #ifdef HAVE_IEEEFP_H
64073		      #include <ieeefp.h>
64074		      #endif
64075
64076int
64077main ()
64078{
64079 finitef(0);
64080  ;
64081  return 0;
64082}
64083_ACEOF
64084if ac_fn_cxx_try_compile "$LINENO"; then :
64085  glibcxx_cv_func_finitef_use=yes
64086else
64087  glibcxx_cv_func_finitef_use=no
64088fi
64089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64090      ac_ext=c
64091ac_cpp='$CPP $CPPFLAGS'
64092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64093ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64094ac_compiler_gnu=$ac_cv_c_compiler_gnu
64095
64096
64097fi
64098
64099  fi
64100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64101$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64102
64103  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64104    for ac_func in finitef
64105do :
64106  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64107if test "x$ac_cv_func_finitef" = xyes; then :
64108  cat >>confdefs.h <<_ACEOF
64109#define HAVE_FINITEF 1
64110_ACEOF
64111
64112fi
64113done
64114
64115  else
64116
64117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64118$as_echo_n "checking for _finitef declaration... " >&6; }
64119  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64120    if ${glibcxx_cv_func__finitef_use+:} false; then :
64121  $as_echo_n "(cached) " >&6
64122else
64123
64124
64125      ac_ext=cpp
64126ac_cpp='$CXXCPP $CPPFLAGS'
64127ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64128ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64129ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64130
64131      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64132/* end confdefs.h.  */
64133#include <math.h>
64134		      #ifdef HAVE_IEEEFP_H
64135		      #include <ieeefp.h>
64136		      #endif
64137
64138int
64139main ()
64140{
64141 _finitef(0);
64142  ;
64143  return 0;
64144}
64145_ACEOF
64146if ac_fn_cxx_try_compile "$LINENO"; then :
64147  glibcxx_cv_func__finitef_use=yes
64148else
64149  glibcxx_cv_func__finitef_use=no
64150fi
64151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64152      ac_ext=c
64153ac_cpp='$CPP $CPPFLAGS'
64154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64156ac_compiler_gnu=$ac_cv_c_compiler_gnu
64157
64158
64159fi
64160
64161  fi
64162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64163$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64164
64165    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64166      for ac_func in _finitef
64167do :
64168  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64169if test "x$ac_cv_func__finitef" = xyes; then :
64170  cat >>confdefs.h <<_ACEOF
64171#define HAVE__FINITEF 1
64172_ACEOF
64173
64174fi
64175done
64176
64177    fi
64178  fi
64179
64180
64181
64182
64183
64184    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64185$as_echo_n "checking for long double trig functions... " >&6; }
64186  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64187  $as_echo_n "(cached) " >&6
64188else
64189
64190
64191    ac_ext=cpp
64192ac_cpp='$CXXCPP $CPPFLAGS'
64193ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64194ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64195ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64196
64197    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64198/* end confdefs.h.  */
64199#include <math.h>
64200int
64201main ()
64202{
64203acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64204  ;
64205  return 0;
64206}
64207_ACEOF
64208if ac_fn_cxx_try_compile "$LINENO"; then :
64209  glibcxx_cv_func_long_double_trig_use=yes
64210else
64211  glibcxx_cv_func_long_double_trig_use=no
64212fi
64213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64214    ac_ext=c
64215ac_cpp='$CPP $CPPFLAGS'
64216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64218ac_compiler_gnu=$ac_cv_c_compiler_gnu
64219
64220fi
64221
64222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64223$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64224  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64225    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64226do :
64227  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64228ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64229if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64230  cat >>confdefs.h <<_ACEOF
64231#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64232_ACEOF
64233
64234fi
64235done
64236
64237  else
64238    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64239$as_echo_n "checking for _long double trig functions... " >&6; }
64240    if ${glibcxx_cv_func__long_double_trig_use+:} false; 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>
64254int
64255main ()
64256{
64257_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64258  ;
64259  return 0;
64260}
64261_ACEOF
64262if ac_fn_cxx_try_compile "$LINENO"; then :
64263  glibcxx_cv_func__long_double_trig_use=yes
64264else
64265  glibcxx_cv_func__long_double_trig_use=no
64266fi
64267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64268      ac_ext=c
64269ac_cpp='$CPP $CPPFLAGS'
64270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64272ac_compiler_gnu=$ac_cv_c_compiler_gnu
64273
64274fi
64275
64276    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64277$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64278    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64279      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64280do :
64281  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64282ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64283if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64284  cat >>confdefs.h <<_ACEOF
64285#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64286_ACEOF
64287
64288fi
64289done
64290
64291    fi
64292  fi
64293
64294
64295
64296
64297
64298    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64299$as_echo_n "checking for long double round functions... " >&6; }
64300  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64301  $as_echo_n "(cached) " >&6
64302else
64303
64304
64305    ac_ext=cpp
64306ac_cpp='$CXXCPP $CPPFLAGS'
64307ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64308ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64309ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64310
64311    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64312/* end confdefs.h.  */
64313#include <math.h>
64314int
64315main ()
64316{
64317ceill (0); floorl (0);
64318  ;
64319  return 0;
64320}
64321_ACEOF
64322if ac_fn_cxx_try_compile "$LINENO"; then :
64323  glibcxx_cv_func_long_double_round_use=yes
64324else
64325  glibcxx_cv_func_long_double_round_use=no
64326fi
64327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64328    ac_ext=c
64329ac_cpp='$CPP $CPPFLAGS'
64330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64332ac_compiler_gnu=$ac_cv_c_compiler_gnu
64333
64334fi
64335
64336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64337$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64338  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64339    for ac_func in ceill floorl
64340do :
64341  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64342ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64343if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64344  cat >>confdefs.h <<_ACEOF
64345#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64346_ACEOF
64347
64348fi
64349done
64350
64351  else
64352    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64353$as_echo_n "checking for _long double round functions... " >&6; }
64354    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64355  $as_echo_n "(cached) " >&6
64356else
64357
64358
64359      ac_ext=cpp
64360ac_cpp='$CXXCPP $CPPFLAGS'
64361ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64362ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64363ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64364
64365      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64366/* end confdefs.h.  */
64367#include <math.h>
64368int
64369main ()
64370{
64371_ceill (0); _floorl (0);
64372  ;
64373  return 0;
64374}
64375_ACEOF
64376if ac_fn_cxx_try_compile "$LINENO"; then :
64377  glibcxx_cv_func__long_double_round_use=yes
64378else
64379  glibcxx_cv_func__long_double_round_use=no
64380fi
64381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64382      ac_ext=c
64383ac_cpp='$CPP $CPPFLAGS'
64384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64386ac_compiler_gnu=$ac_cv_c_compiler_gnu
64387
64388fi
64389
64390    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64391$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64392    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64393      for ac_func in _ceill _floorl
64394do :
64395  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64396ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64397if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64398  cat >>confdefs.h <<_ACEOF
64399#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64400_ACEOF
64401
64402fi
64403done
64404
64405    fi
64406  fi
64407
64408
64409
64410
64411
64412
64413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64414$as_echo_n "checking for isnanl declaration... " >&6; }
64415  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64416    if ${glibcxx_cv_func_isnanl_use+:} false; then :
64417  $as_echo_n "(cached) " >&6
64418else
64419
64420
64421      ac_ext=cpp
64422ac_cpp='$CXXCPP $CPPFLAGS'
64423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64426
64427      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64428/* end confdefs.h.  */
64429#include <math.h>
64430		      #ifdef HAVE_IEEEFP_H
64431		      #include <ieeefp.h>
64432		      #endif
64433
64434int
64435main ()
64436{
64437 isnanl(0);
64438  ;
64439  return 0;
64440}
64441_ACEOF
64442if ac_fn_cxx_try_compile "$LINENO"; then :
64443  glibcxx_cv_func_isnanl_use=yes
64444else
64445  glibcxx_cv_func_isnanl_use=no
64446fi
64447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64448      ac_ext=c
64449ac_cpp='$CPP $CPPFLAGS'
64450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64452ac_compiler_gnu=$ac_cv_c_compiler_gnu
64453
64454
64455fi
64456
64457  fi
64458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64459$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64460
64461  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64462    for ac_func in isnanl
64463do :
64464  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64465if test "x$ac_cv_func_isnanl" = xyes; then :
64466  cat >>confdefs.h <<_ACEOF
64467#define HAVE_ISNANL 1
64468_ACEOF
64469
64470fi
64471done
64472
64473  else
64474
64475  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64476$as_echo_n "checking for _isnanl declaration... " >&6; }
64477  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64478    if ${glibcxx_cv_func__isnanl_use+:} false; then :
64479  $as_echo_n "(cached) " >&6
64480else
64481
64482
64483      ac_ext=cpp
64484ac_cpp='$CXXCPP $CPPFLAGS'
64485ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64486ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64487ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64488
64489      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64490/* end confdefs.h.  */
64491#include <math.h>
64492		      #ifdef HAVE_IEEEFP_H
64493		      #include <ieeefp.h>
64494		      #endif
64495
64496int
64497main ()
64498{
64499 _isnanl(0);
64500  ;
64501  return 0;
64502}
64503_ACEOF
64504if ac_fn_cxx_try_compile "$LINENO"; then :
64505  glibcxx_cv_func__isnanl_use=yes
64506else
64507  glibcxx_cv_func__isnanl_use=no
64508fi
64509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64510      ac_ext=c
64511ac_cpp='$CPP $CPPFLAGS'
64512ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64513ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64514ac_compiler_gnu=$ac_cv_c_compiler_gnu
64515
64516
64517fi
64518
64519  fi
64520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64521$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64522
64523    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64524      for ac_func in _isnanl
64525do :
64526  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64527if test "x$ac_cv_func__isnanl" = xyes; then :
64528  cat >>confdefs.h <<_ACEOF
64529#define HAVE__ISNANL 1
64530_ACEOF
64531
64532fi
64533done
64534
64535    fi
64536  fi
64537
64538
64539
64540
64541
64542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64543$as_echo_n "checking for isinfl declaration... " >&6; }
64544  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64545    if ${glibcxx_cv_func_isinfl_use+:} false; then :
64546  $as_echo_n "(cached) " >&6
64547else
64548
64549
64550      ac_ext=cpp
64551ac_cpp='$CXXCPP $CPPFLAGS'
64552ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64555
64556      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64557/* end confdefs.h.  */
64558#include <math.h>
64559		      #ifdef HAVE_IEEEFP_H
64560		      #include <ieeefp.h>
64561		      #endif
64562
64563int
64564main ()
64565{
64566 isinfl(0);
64567  ;
64568  return 0;
64569}
64570_ACEOF
64571if ac_fn_cxx_try_compile "$LINENO"; then :
64572  glibcxx_cv_func_isinfl_use=yes
64573else
64574  glibcxx_cv_func_isinfl_use=no
64575fi
64576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64577      ac_ext=c
64578ac_cpp='$CPP $CPPFLAGS'
64579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64581ac_compiler_gnu=$ac_cv_c_compiler_gnu
64582
64583
64584fi
64585
64586  fi
64587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64588$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64589
64590  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64591    for ac_func in isinfl
64592do :
64593  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64594if test "x$ac_cv_func_isinfl" = xyes; then :
64595  cat >>confdefs.h <<_ACEOF
64596#define HAVE_ISINFL 1
64597_ACEOF
64598
64599fi
64600done
64601
64602  else
64603
64604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64605$as_echo_n "checking for _isinfl declaration... " >&6; }
64606  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64607    if ${glibcxx_cv_func__isinfl_use+:} false; then :
64608  $as_echo_n "(cached) " >&6
64609else
64610
64611
64612      ac_ext=cpp
64613ac_cpp='$CXXCPP $CPPFLAGS'
64614ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64615ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64616ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64617
64618      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64619/* end confdefs.h.  */
64620#include <math.h>
64621		      #ifdef HAVE_IEEEFP_H
64622		      #include <ieeefp.h>
64623		      #endif
64624
64625int
64626main ()
64627{
64628 _isinfl(0);
64629  ;
64630  return 0;
64631}
64632_ACEOF
64633if ac_fn_cxx_try_compile "$LINENO"; then :
64634  glibcxx_cv_func__isinfl_use=yes
64635else
64636  glibcxx_cv_func__isinfl_use=no
64637fi
64638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64639      ac_ext=c
64640ac_cpp='$CPP $CPPFLAGS'
64641ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64642ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64643ac_compiler_gnu=$ac_cv_c_compiler_gnu
64644
64645
64646fi
64647
64648  fi
64649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64650$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64651
64652    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64653      for ac_func in _isinfl
64654do :
64655  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64656if test "x$ac_cv_func__isinfl" = xyes; then :
64657  cat >>confdefs.h <<_ACEOF
64658#define HAVE__ISINFL 1
64659_ACEOF
64660
64661fi
64662done
64663
64664    fi
64665  fi
64666
64667
64668
64669
64670
64671  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64672$as_echo_n "checking for atan2l declaration... " >&6; }
64673  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64674    if ${glibcxx_cv_func_atan2l_use+:} false; then :
64675  $as_echo_n "(cached) " >&6
64676else
64677
64678
64679      ac_ext=cpp
64680ac_cpp='$CXXCPP $CPPFLAGS'
64681ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64682ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64683ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64684
64685      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64686/* end confdefs.h.  */
64687#include <math.h>
64688int
64689main ()
64690{
64691 atan2l(0, 0);
64692  ;
64693  return 0;
64694}
64695_ACEOF
64696if ac_fn_cxx_try_compile "$LINENO"; then :
64697  glibcxx_cv_func_atan2l_use=yes
64698else
64699  glibcxx_cv_func_atan2l_use=no
64700fi
64701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64702      ac_ext=c
64703ac_cpp='$CPP $CPPFLAGS'
64704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64706ac_compiler_gnu=$ac_cv_c_compiler_gnu
64707
64708
64709fi
64710
64711  fi
64712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64713$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64714
64715  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64716    for ac_func in atan2l
64717do :
64718  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64719if test "x$ac_cv_func_atan2l" = xyes; then :
64720  cat >>confdefs.h <<_ACEOF
64721#define HAVE_ATAN2L 1
64722_ACEOF
64723
64724fi
64725done
64726
64727  else
64728
64729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64730$as_echo_n "checking for _atan2l declaration... " >&6; }
64731  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64732    if ${glibcxx_cv_func__atan2l_use+:} false; then :
64733  $as_echo_n "(cached) " >&6
64734else
64735
64736
64737      ac_ext=cpp
64738ac_cpp='$CXXCPP $CPPFLAGS'
64739ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64740ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64741ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64742
64743      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64744/* end confdefs.h.  */
64745#include <math.h>
64746int
64747main ()
64748{
64749 _atan2l(0, 0);
64750  ;
64751  return 0;
64752}
64753_ACEOF
64754if ac_fn_cxx_try_compile "$LINENO"; then :
64755  glibcxx_cv_func__atan2l_use=yes
64756else
64757  glibcxx_cv_func__atan2l_use=no
64758fi
64759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64760      ac_ext=c
64761ac_cpp='$CPP $CPPFLAGS'
64762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64764ac_compiler_gnu=$ac_cv_c_compiler_gnu
64765
64766
64767fi
64768
64769  fi
64770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64771$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64772
64773    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64774      for ac_func in _atan2l
64775do :
64776  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64777if test "x$ac_cv_func__atan2l" = xyes; then :
64778  cat >>confdefs.h <<_ACEOF
64779#define HAVE__ATAN2L 1
64780_ACEOF
64781
64782fi
64783done
64784
64785    fi
64786  fi
64787
64788
64789
64790
64791
64792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64793$as_echo_n "checking for expl declaration... " >&6; }
64794  if test x${glibcxx_cv_func_expl_use+set} != xset; then
64795    if ${glibcxx_cv_func_expl_use+:} false; then :
64796  $as_echo_n "(cached) " >&6
64797else
64798
64799
64800      ac_ext=cpp
64801ac_cpp='$CXXCPP $CPPFLAGS'
64802ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64803ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64804ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64805
64806      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64807/* end confdefs.h.  */
64808#include <math.h>
64809		      #ifdef HAVE_IEEEFP_H
64810		      #include <ieeefp.h>
64811		      #endif
64812
64813int
64814main ()
64815{
64816 expl(0);
64817  ;
64818  return 0;
64819}
64820_ACEOF
64821if ac_fn_cxx_try_compile "$LINENO"; then :
64822  glibcxx_cv_func_expl_use=yes
64823else
64824  glibcxx_cv_func_expl_use=no
64825fi
64826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64827      ac_ext=c
64828ac_cpp='$CPP $CPPFLAGS'
64829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64831ac_compiler_gnu=$ac_cv_c_compiler_gnu
64832
64833
64834fi
64835
64836  fi
64837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64838$as_echo "$glibcxx_cv_func_expl_use" >&6; }
64839
64840  if test x$glibcxx_cv_func_expl_use = x"yes"; then
64841    for ac_func in expl
64842do :
64843  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64844if test "x$ac_cv_func_expl" = xyes; then :
64845  cat >>confdefs.h <<_ACEOF
64846#define HAVE_EXPL 1
64847_ACEOF
64848
64849fi
64850done
64851
64852  else
64853
64854  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64855$as_echo_n "checking for _expl declaration... " >&6; }
64856  if test x${glibcxx_cv_func__expl_use+set} != xset; then
64857    if ${glibcxx_cv_func__expl_use+:} false; then :
64858  $as_echo_n "(cached) " >&6
64859else
64860
64861
64862      ac_ext=cpp
64863ac_cpp='$CXXCPP $CPPFLAGS'
64864ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64865ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64866ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64867
64868      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64869/* end confdefs.h.  */
64870#include <math.h>
64871		      #ifdef HAVE_IEEEFP_H
64872		      #include <ieeefp.h>
64873		      #endif
64874
64875int
64876main ()
64877{
64878 _expl(0);
64879  ;
64880  return 0;
64881}
64882_ACEOF
64883if ac_fn_cxx_try_compile "$LINENO"; then :
64884  glibcxx_cv_func__expl_use=yes
64885else
64886  glibcxx_cv_func__expl_use=no
64887fi
64888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64889      ac_ext=c
64890ac_cpp='$CPP $CPPFLAGS'
64891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64893ac_compiler_gnu=$ac_cv_c_compiler_gnu
64894
64895
64896fi
64897
64898  fi
64899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64900$as_echo "$glibcxx_cv_func__expl_use" >&6; }
64901
64902    if test x$glibcxx_cv_func__expl_use = x"yes"; then
64903      for ac_func in _expl
64904do :
64905  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64906if test "x$ac_cv_func__expl" = xyes; then :
64907  cat >>confdefs.h <<_ACEOF
64908#define HAVE__EXPL 1
64909_ACEOF
64910
64911fi
64912done
64913
64914    fi
64915  fi
64916
64917
64918
64919
64920
64921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64922$as_echo_n "checking for fabsl declaration... " >&6; }
64923  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64924    if ${glibcxx_cv_func_fabsl_use+:} false; then :
64925  $as_echo_n "(cached) " >&6
64926else
64927
64928
64929      ac_ext=cpp
64930ac_cpp='$CXXCPP $CPPFLAGS'
64931ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64932ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64933ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64934
64935      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64936/* end confdefs.h.  */
64937#include <math.h>
64938		      #ifdef HAVE_IEEEFP_H
64939		      #include <ieeefp.h>
64940		      #endif
64941
64942int
64943main ()
64944{
64945 fabsl(0);
64946  ;
64947  return 0;
64948}
64949_ACEOF
64950if ac_fn_cxx_try_compile "$LINENO"; then :
64951  glibcxx_cv_func_fabsl_use=yes
64952else
64953  glibcxx_cv_func_fabsl_use=no
64954fi
64955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64956      ac_ext=c
64957ac_cpp='$CPP $CPPFLAGS'
64958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64960ac_compiler_gnu=$ac_cv_c_compiler_gnu
64961
64962
64963fi
64964
64965  fi
64966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64967$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64968
64969  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64970    for ac_func in fabsl
64971do :
64972  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64973if test "x$ac_cv_func_fabsl" = xyes; then :
64974  cat >>confdefs.h <<_ACEOF
64975#define HAVE_FABSL 1
64976_ACEOF
64977
64978fi
64979done
64980
64981  else
64982
64983  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64984$as_echo_n "checking for _fabsl declaration... " >&6; }
64985  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64986    if ${glibcxx_cv_func__fabsl_use+:} false; then :
64987  $as_echo_n "(cached) " >&6
64988else
64989
64990
64991      ac_ext=cpp
64992ac_cpp='$CXXCPP $CPPFLAGS'
64993ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64994ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64995ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64996
64997      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64998/* end confdefs.h.  */
64999#include <math.h>
65000		      #ifdef HAVE_IEEEFP_H
65001		      #include <ieeefp.h>
65002		      #endif
65003
65004int
65005main ()
65006{
65007 _fabsl(0);
65008  ;
65009  return 0;
65010}
65011_ACEOF
65012if ac_fn_cxx_try_compile "$LINENO"; then :
65013  glibcxx_cv_func__fabsl_use=yes
65014else
65015  glibcxx_cv_func__fabsl_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__fabsl_use" >&5
65029$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65030
65031    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65032      for ac_func in _fabsl
65033do :
65034  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65035if test "x$ac_cv_func__fabsl" = xyes; then :
65036  cat >>confdefs.h <<_ACEOF
65037#define HAVE__FABSL 1
65038_ACEOF
65039
65040fi
65041done
65042
65043    fi
65044  fi
65045
65046
65047
65048
65049
65050  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65051$as_echo_n "checking for fmodl declaration... " >&6; }
65052  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65053    if ${glibcxx_cv_func_fmodl_use+:} false; then :
65054  $as_echo_n "(cached) " >&6
65055else
65056
65057
65058      ac_ext=cpp
65059ac_cpp='$CXXCPP $CPPFLAGS'
65060ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65061ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65062ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65063
65064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65065/* end confdefs.h.  */
65066#include <math.h>
65067int
65068main ()
65069{
65070 fmodl(0, 0);
65071  ;
65072  return 0;
65073}
65074_ACEOF
65075if ac_fn_cxx_try_compile "$LINENO"; then :
65076  glibcxx_cv_func_fmodl_use=yes
65077else
65078  glibcxx_cv_func_fmodl_use=no
65079fi
65080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65081      ac_ext=c
65082ac_cpp='$CPP $CPPFLAGS'
65083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65085ac_compiler_gnu=$ac_cv_c_compiler_gnu
65086
65087
65088fi
65089
65090  fi
65091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65092$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65093
65094  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65095    for ac_func in fmodl
65096do :
65097  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65098if test "x$ac_cv_func_fmodl" = xyes; then :
65099  cat >>confdefs.h <<_ACEOF
65100#define HAVE_FMODL 1
65101_ACEOF
65102
65103fi
65104done
65105
65106  else
65107
65108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65109$as_echo_n "checking for _fmodl declaration... " >&6; }
65110  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65111    if ${glibcxx_cv_func__fmodl_use+:} false; 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 _fmodl(0, 0);
65129  ;
65130  return 0;
65131}
65132_ACEOF
65133if ac_fn_cxx_try_compile "$LINENO"; then :
65134  glibcxx_cv_func__fmodl_use=yes
65135else
65136  glibcxx_cv_func__fmodl_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__fmodl_use" >&5
65150$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65151
65152    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65153      for ac_func in _fmodl
65154do :
65155  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65156if test "x$ac_cv_func__fmodl" = xyes; then :
65157  cat >>confdefs.h <<_ACEOF
65158#define HAVE__FMODL 1
65159_ACEOF
65160
65161fi
65162done
65163
65164    fi
65165  fi
65166
65167
65168
65169
65170
65171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65172$as_echo_n "checking for frexpl declaration... " >&6; }
65173  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65174    if ${glibcxx_cv_func_frexpl_use+:} false; then :
65175  $as_echo_n "(cached) " >&6
65176else
65177
65178
65179      ac_ext=cpp
65180ac_cpp='$CXXCPP $CPPFLAGS'
65181ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65182ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65183ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65184
65185      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65186/* end confdefs.h.  */
65187#include <math.h>
65188int
65189main ()
65190{
65191 frexpl(0, 0);
65192  ;
65193  return 0;
65194}
65195_ACEOF
65196if ac_fn_cxx_try_compile "$LINENO"; then :
65197  glibcxx_cv_func_frexpl_use=yes
65198else
65199  glibcxx_cv_func_frexpl_use=no
65200fi
65201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65202      ac_ext=c
65203ac_cpp='$CPP $CPPFLAGS'
65204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65206ac_compiler_gnu=$ac_cv_c_compiler_gnu
65207
65208
65209fi
65210
65211  fi
65212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65213$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65214
65215  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65216    for ac_func in frexpl
65217do :
65218  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65219if test "x$ac_cv_func_frexpl" = xyes; then :
65220  cat >>confdefs.h <<_ACEOF
65221#define HAVE_FREXPL 1
65222_ACEOF
65223
65224fi
65225done
65226
65227  else
65228
65229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65230$as_echo_n "checking for _frexpl declaration... " >&6; }
65231  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65232    if ${glibcxx_cv_func__frexpl_use+:} false; 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>
65246int
65247main ()
65248{
65249 _frexpl(0, 0);
65250  ;
65251  return 0;
65252}
65253_ACEOF
65254if ac_fn_cxx_try_compile "$LINENO"; then :
65255  glibcxx_cv_func__frexpl_use=yes
65256else
65257  glibcxx_cv_func__frexpl_use=no
65258fi
65259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65260      ac_ext=c
65261ac_cpp='$CPP $CPPFLAGS'
65262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65264ac_compiler_gnu=$ac_cv_c_compiler_gnu
65265
65266
65267fi
65268
65269  fi
65270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65271$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65272
65273    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65274      for ac_func in _frexpl
65275do :
65276  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65277if test "x$ac_cv_func__frexpl" = xyes; then :
65278  cat >>confdefs.h <<_ACEOF
65279#define HAVE__FREXPL 1
65280_ACEOF
65281
65282fi
65283done
65284
65285    fi
65286  fi
65287
65288
65289
65290
65291
65292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65293$as_echo_n "checking for hypotl declaration... " >&6; }
65294  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65295    if ${glibcxx_cv_func_hypotl_use+:} false; then :
65296  $as_echo_n "(cached) " >&6
65297else
65298
65299
65300      ac_ext=cpp
65301ac_cpp='$CXXCPP $CPPFLAGS'
65302ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65303ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65304ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65305
65306      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65307/* end confdefs.h.  */
65308#include <math.h>
65309int
65310main ()
65311{
65312 hypotl(0, 0);
65313  ;
65314  return 0;
65315}
65316_ACEOF
65317if ac_fn_cxx_try_compile "$LINENO"; then :
65318  glibcxx_cv_func_hypotl_use=yes
65319else
65320  glibcxx_cv_func_hypotl_use=no
65321fi
65322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65323      ac_ext=c
65324ac_cpp='$CPP $CPPFLAGS'
65325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65327ac_compiler_gnu=$ac_cv_c_compiler_gnu
65328
65329
65330fi
65331
65332  fi
65333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65334$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65335
65336  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65337    for ac_func in hypotl
65338do :
65339  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65340if test "x$ac_cv_func_hypotl" = xyes; then :
65341  cat >>confdefs.h <<_ACEOF
65342#define HAVE_HYPOTL 1
65343_ACEOF
65344
65345fi
65346done
65347
65348  else
65349
65350  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65351$as_echo_n "checking for _hypotl declaration... " >&6; }
65352  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65353    if ${glibcxx_cv_func__hypotl_use+:} false; then :
65354  $as_echo_n "(cached) " >&6
65355else
65356
65357
65358      ac_ext=cpp
65359ac_cpp='$CXXCPP $CPPFLAGS'
65360ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65361ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65362ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65363
65364      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65365/* end confdefs.h.  */
65366#include <math.h>
65367int
65368main ()
65369{
65370 _hypotl(0, 0);
65371  ;
65372  return 0;
65373}
65374_ACEOF
65375if ac_fn_cxx_try_compile "$LINENO"; then :
65376  glibcxx_cv_func__hypotl_use=yes
65377else
65378  glibcxx_cv_func__hypotl_use=no
65379fi
65380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65381      ac_ext=c
65382ac_cpp='$CPP $CPPFLAGS'
65383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65385ac_compiler_gnu=$ac_cv_c_compiler_gnu
65386
65387
65388fi
65389
65390  fi
65391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65392$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65393
65394    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65395      for ac_func in _hypotl
65396do :
65397  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65398if test "x$ac_cv_func__hypotl" = xyes; then :
65399  cat >>confdefs.h <<_ACEOF
65400#define HAVE__HYPOTL 1
65401_ACEOF
65402
65403fi
65404done
65405
65406    fi
65407  fi
65408
65409
65410
65411
65412
65413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65414$as_echo_n "checking for ldexpl declaration... " >&6; }
65415  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65416    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65417  $as_echo_n "(cached) " >&6
65418else
65419
65420
65421      ac_ext=cpp
65422ac_cpp='$CXXCPP $CPPFLAGS'
65423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65426
65427      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65428/* end confdefs.h.  */
65429#include <math.h>
65430int
65431main ()
65432{
65433 ldexpl(0, 0);
65434  ;
65435  return 0;
65436}
65437_ACEOF
65438if ac_fn_cxx_try_compile "$LINENO"; then :
65439  glibcxx_cv_func_ldexpl_use=yes
65440else
65441  glibcxx_cv_func_ldexpl_use=no
65442fi
65443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65444      ac_ext=c
65445ac_cpp='$CPP $CPPFLAGS'
65446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65448ac_compiler_gnu=$ac_cv_c_compiler_gnu
65449
65450
65451fi
65452
65453  fi
65454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65455$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65456
65457  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65458    for ac_func in ldexpl
65459do :
65460  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65461if test "x$ac_cv_func_ldexpl" = xyes; then :
65462  cat >>confdefs.h <<_ACEOF
65463#define HAVE_LDEXPL 1
65464_ACEOF
65465
65466fi
65467done
65468
65469  else
65470
65471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65472$as_echo_n "checking for _ldexpl declaration... " >&6; }
65473  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65474    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65475  $as_echo_n "(cached) " >&6
65476else
65477
65478
65479      ac_ext=cpp
65480ac_cpp='$CXXCPP $CPPFLAGS'
65481ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65482ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65483ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65484
65485      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65486/* end confdefs.h.  */
65487#include <math.h>
65488int
65489main ()
65490{
65491 _ldexpl(0, 0);
65492  ;
65493  return 0;
65494}
65495_ACEOF
65496if ac_fn_cxx_try_compile "$LINENO"; then :
65497  glibcxx_cv_func__ldexpl_use=yes
65498else
65499  glibcxx_cv_func__ldexpl_use=no
65500fi
65501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65502      ac_ext=c
65503ac_cpp='$CPP $CPPFLAGS'
65504ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65506ac_compiler_gnu=$ac_cv_c_compiler_gnu
65507
65508
65509fi
65510
65511  fi
65512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65513$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65514
65515    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65516      for ac_func in _ldexpl
65517do :
65518  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65519if test "x$ac_cv_func__ldexpl" = xyes; then :
65520  cat >>confdefs.h <<_ACEOF
65521#define HAVE__LDEXPL 1
65522_ACEOF
65523
65524fi
65525done
65526
65527    fi
65528  fi
65529
65530
65531
65532
65533
65534  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65535$as_echo_n "checking for logl declaration... " >&6; }
65536  if test x${glibcxx_cv_func_logl_use+set} != xset; then
65537    if ${glibcxx_cv_func_logl_use+:} false; then :
65538  $as_echo_n "(cached) " >&6
65539else
65540
65541
65542      ac_ext=cpp
65543ac_cpp='$CXXCPP $CPPFLAGS'
65544ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65545ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65546ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65547
65548      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65549/* end confdefs.h.  */
65550#include <math.h>
65551		      #ifdef HAVE_IEEEFP_H
65552		      #include <ieeefp.h>
65553		      #endif
65554
65555int
65556main ()
65557{
65558 logl(0);
65559  ;
65560  return 0;
65561}
65562_ACEOF
65563if ac_fn_cxx_try_compile "$LINENO"; then :
65564  glibcxx_cv_func_logl_use=yes
65565else
65566  glibcxx_cv_func_logl_use=no
65567fi
65568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65569      ac_ext=c
65570ac_cpp='$CPP $CPPFLAGS'
65571ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65572ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65573ac_compiler_gnu=$ac_cv_c_compiler_gnu
65574
65575
65576fi
65577
65578  fi
65579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65580$as_echo "$glibcxx_cv_func_logl_use" >&6; }
65581
65582  if test x$glibcxx_cv_func_logl_use = x"yes"; then
65583    for ac_func in logl
65584do :
65585  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65586if test "x$ac_cv_func_logl" = xyes; then :
65587  cat >>confdefs.h <<_ACEOF
65588#define HAVE_LOGL 1
65589_ACEOF
65590
65591fi
65592done
65593
65594  else
65595
65596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65597$as_echo_n "checking for _logl declaration... " >&6; }
65598  if test x${glibcxx_cv_func__logl_use+set} != xset; then
65599    if ${glibcxx_cv_func__logl_use+:} false; then :
65600  $as_echo_n "(cached) " >&6
65601else
65602
65603
65604      ac_ext=cpp
65605ac_cpp='$CXXCPP $CPPFLAGS'
65606ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65607ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65608ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65609
65610      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65611/* end confdefs.h.  */
65612#include <math.h>
65613		      #ifdef HAVE_IEEEFP_H
65614		      #include <ieeefp.h>
65615		      #endif
65616
65617int
65618main ()
65619{
65620 _logl(0);
65621  ;
65622  return 0;
65623}
65624_ACEOF
65625if ac_fn_cxx_try_compile "$LINENO"; then :
65626  glibcxx_cv_func__logl_use=yes
65627else
65628  glibcxx_cv_func__logl_use=no
65629fi
65630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65631      ac_ext=c
65632ac_cpp='$CPP $CPPFLAGS'
65633ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65634ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65635ac_compiler_gnu=$ac_cv_c_compiler_gnu
65636
65637
65638fi
65639
65640  fi
65641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65642$as_echo "$glibcxx_cv_func__logl_use" >&6; }
65643
65644    if test x$glibcxx_cv_func__logl_use = x"yes"; then
65645      for ac_func in _logl
65646do :
65647  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65648if test "x$ac_cv_func__logl" = xyes; then :
65649  cat >>confdefs.h <<_ACEOF
65650#define HAVE__LOGL 1
65651_ACEOF
65652
65653fi
65654done
65655
65656    fi
65657  fi
65658
65659
65660
65661
65662
65663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65664$as_echo_n "checking for log10l declaration... " >&6; }
65665  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65666    if ${glibcxx_cv_func_log10l_use+:} false; then :
65667  $as_echo_n "(cached) " >&6
65668else
65669
65670
65671      ac_ext=cpp
65672ac_cpp='$CXXCPP $CPPFLAGS'
65673ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65674ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65675ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65676
65677      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65678/* end confdefs.h.  */
65679#include <math.h>
65680		      #ifdef HAVE_IEEEFP_H
65681		      #include <ieeefp.h>
65682		      #endif
65683
65684int
65685main ()
65686{
65687 log10l(0);
65688  ;
65689  return 0;
65690}
65691_ACEOF
65692if ac_fn_cxx_try_compile "$LINENO"; then :
65693  glibcxx_cv_func_log10l_use=yes
65694else
65695  glibcxx_cv_func_log10l_use=no
65696fi
65697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65698      ac_ext=c
65699ac_cpp='$CPP $CPPFLAGS'
65700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65702ac_compiler_gnu=$ac_cv_c_compiler_gnu
65703
65704
65705fi
65706
65707  fi
65708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65709$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65710
65711  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65712    for ac_func in log10l
65713do :
65714  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65715if test "x$ac_cv_func_log10l" = xyes; then :
65716  cat >>confdefs.h <<_ACEOF
65717#define HAVE_LOG10L 1
65718_ACEOF
65719
65720fi
65721done
65722
65723  else
65724
65725  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65726$as_echo_n "checking for _log10l declaration... " >&6; }
65727  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65728    if ${glibcxx_cv_func__log10l_use+:} false; then :
65729  $as_echo_n "(cached) " >&6
65730else
65731
65732
65733      ac_ext=cpp
65734ac_cpp='$CXXCPP $CPPFLAGS'
65735ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65736ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65737ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65738
65739      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65740/* end confdefs.h.  */
65741#include <math.h>
65742		      #ifdef HAVE_IEEEFP_H
65743		      #include <ieeefp.h>
65744		      #endif
65745
65746int
65747main ()
65748{
65749 _log10l(0);
65750  ;
65751  return 0;
65752}
65753_ACEOF
65754if ac_fn_cxx_try_compile "$LINENO"; then :
65755  glibcxx_cv_func__log10l_use=yes
65756else
65757  glibcxx_cv_func__log10l_use=no
65758fi
65759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65760      ac_ext=c
65761ac_cpp='$CPP $CPPFLAGS'
65762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65764ac_compiler_gnu=$ac_cv_c_compiler_gnu
65765
65766
65767fi
65768
65769  fi
65770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65771$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65772
65773    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65774      for ac_func in _log10l
65775do :
65776  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65777if test "x$ac_cv_func__log10l" = xyes; then :
65778  cat >>confdefs.h <<_ACEOF
65779#define HAVE__LOG10L 1
65780_ACEOF
65781
65782fi
65783done
65784
65785    fi
65786  fi
65787
65788
65789
65790
65791
65792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65793$as_echo_n "checking for modfl declaration... " >&6; }
65794  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65795    if ${glibcxx_cv_func_modfl_use+:} false; then :
65796  $as_echo_n "(cached) " >&6
65797else
65798
65799
65800      ac_ext=cpp
65801ac_cpp='$CXXCPP $CPPFLAGS'
65802ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65803ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65804ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65805
65806      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65807/* end confdefs.h.  */
65808#include <math.h>
65809int
65810main ()
65811{
65812 modfl(0, 0);
65813  ;
65814  return 0;
65815}
65816_ACEOF
65817if ac_fn_cxx_try_compile "$LINENO"; then :
65818  glibcxx_cv_func_modfl_use=yes
65819else
65820  glibcxx_cv_func_modfl_use=no
65821fi
65822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65823      ac_ext=c
65824ac_cpp='$CPP $CPPFLAGS'
65825ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65826ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65827ac_compiler_gnu=$ac_cv_c_compiler_gnu
65828
65829
65830fi
65831
65832  fi
65833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65834$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65835
65836  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65837    for ac_func in modfl
65838do :
65839  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65840if test "x$ac_cv_func_modfl" = xyes; then :
65841  cat >>confdefs.h <<_ACEOF
65842#define HAVE_MODFL 1
65843_ACEOF
65844
65845fi
65846done
65847
65848  else
65849
65850  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65851$as_echo_n "checking for _modfl declaration... " >&6; }
65852  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65853    if ${glibcxx_cv_func__modfl_use+:} false; then :
65854  $as_echo_n "(cached) " >&6
65855else
65856
65857
65858      ac_ext=cpp
65859ac_cpp='$CXXCPP $CPPFLAGS'
65860ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65861ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65862ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65863
65864      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65865/* end confdefs.h.  */
65866#include <math.h>
65867int
65868main ()
65869{
65870 _modfl(0, 0);
65871  ;
65872  return 0;
65873}
65874_ACEOF
65875if ac_fn_cxx_try_compile "$LINENO"; then :
65876  glibcxx_cv_func__modfl_use=yes
65877else
65878  glibcxx_cv_func__modfl_use=no
65879fi
65880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65881      ac_ext=c
65882ac_cpp='$CPP $CPPFLAGS'
65883ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65884ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65885ac_compiler_gnu=$ac_cv_c_compiler_gnu
65886
65887
65888fi
65889
65890  fi
65891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65892$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65893
65894    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65895      for ac_func in _modfl
65896do :
65897  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65898if test "x$ac_cv_func__modfl" = xyes; then :
65899  cat >>confdefs.h <<_ACEOF
65900#define HAVE__MODFL 1
65901_ACEOF
65902
65903fi
65904done
65905
65906    fi
65907  fi
65908
65909
65910
65911
65912
65913  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65914$as_echo_n "checking for powl declaration... " >&6; }
65915  if test x${glibcxx_cv_func_powl_use+set} != xset; then
65916    if ${glibcxx_cv_func_powl_use+:} false; then :
65917  $as_echo_n "(cached) " >&6
65918else
65919
65920
65921      ac_ext=cpp
65922ac_cpp='$CXXCPP $CPPFLAGS'
65923ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65924ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65925ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65926
65927      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65928/* end confdefs.h.  */
65929#include <math.h>
65930int
65931main ()
65932{
65933 powl(0, 0);
65934  ;
65935  return 0;
65936}
65937_ACEOF
65938if ac_fn_cxx_try_compile "$LINENO"; then :
65939  glibcxx_cv_func_powl_use=yes
65940else
65941  glibcxx_cv_func_powl_use=no
65942fi
65943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65944      ac_ext=c
65945ac_cpp='$CPP $CPPFLAGS'
65946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65948ac_compiler_gnu=$ac_cv_c_compiler_gnu
65949
65950
65951fi
65952
65953  fi
65954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65955$as_echo "$glibcxx_cv_func_powl_use" >&6; }
65956
65957  if test x$glibcxx_cv_func_powl_use = x"yes"; then
65958    for ac_func in powl
65959do :
65960  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65961if test "x$ac_cv_func_powl" = xyes; then :
65962  cat >>confdefs.h <<_ACEOF
65963#define HAVE_POWL 1
65964_ACEOF
65965
65966fi
65967done
65968
65969  else
65970
65971  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65972$as_echo_n "checking for _powl declaration... " >&6; }
65973  if test x${glibcxx_cv_func__powl_use+set} != xset; then
65974    if ${glibcxx_cv_func__powl_use+:} false; then :
65975  $as_echo_n "(cached) " >&6
65976else
65977
65978
65979      ac_ext=cpp
65980ac_cpp='$CXXCPP $CPPFLAGS'
65981ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65982ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65983ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65984
65985      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65986/* end confdefs.h.  */
65987#include <math.h>
65988int
65989main ()
65990{
65991 _powl(0, 0);
65992  ;
65993  return 0;
65994}
65995_ACEOF
65996if ac_fn_cxx_try_compile "$LINENO"; then :
65997  glibcxx_cv_func__powl_use=yes
65998else
65999  glibcxx_cv_func__powl_use=no
66000fi
66001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66002      ac_ext=c
66003ac_cpp='$CPP $CPPFLAGS'
66004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66006ac_compiler_gnu=$ac_cv_c_compiler_gnu
66007
66008
66009fi
66010
66011  fi
66012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66013$as_echo "$glibcxx_cv_func__powl_use" >&6; }
66014
66015    if test x$glibcxx_cv_func__powl_use = x"yes"; then
66016      for ac_func in _powl
66017do :
66018  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66019if test "x$ac_cv_func__powl" = xyes; then :
66020  cat >>confdefs.h <<_ACEOF
66021#define HAVE__POWL 1
66022_ACEOF
66023
66024fi
66025done
66026
66027    fi
66028  fi
66029
66030
66031
66032
66033
66034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66035$as_echo_n "checking for sqrtl declaration... " >&6; }
66036  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66037    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66038  $as_echo_n "(cached) " >&6
66039else
66040
66041
66042      ac_ext=cpp
66043ac_cpp='$CXXCPP $CPPFLAGS'
66044ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66045ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66046ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66047
66048      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66049/* end confdefs.h.  */
66050#include <math.h>
66051		      #ifdef HAVE_IEEEFP_H
66052		      #include <ieeefp.h>
66053		      #endif
66054
66055int
66056main ()
66057{
66058 sqrtl(0);
66059  ;
66060  return 0;
66061}
66062_ACEOF
66063if ac_fn_cxx_try_compile "$LINENO"; then :
66064  glibcxx_cv_func_sqrtl_use=yes
66065else
66066  glibcxx_cv_func_sqrtl_use=no
66067fi
66068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66069      ac_ext=c
66070ac_cpp='$CPP $CPPFLAGS'
66071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66073ac_compiler_gnu=$ac_cv_c_compiler_gnu
66074
66075
66076fi
66077
66078  fi
66079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66080$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66081
66082  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66083    for ac_func in sqrtl
66084do :
66085  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66086if test "x$ac_cv_func_sqrtl" = xyes; then :
66087  cat >>confdefs.h <<_ACEOF
66088#define HAVE_SQRTL 1
66089_ACEOF
66090
66091fi
66092done
66093
66094  else
66095
66096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66097$as_echo_n "checking for _sqrtl declaration... " >&6; }
66098  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66099    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66100  $as_echo_n "(cached) " >&6
66101else
66102
66103
66104      ac_ext=cpp
66105ac_cpp='$CXXCPP $CPPFLAGS'
66106ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66109
66110      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66111/* end confdefs.h.  */
66112#include <math.h>
66113		      #ifdef HAVE_IEEEFP_H
66114		      #include <ieeefp.h>
66115		      #endif
66116
66117int
66118main ()
66119{
66120 _sqrtl(0);
66121  ;
66122  return 0;
66123}
66124_ACEOF
66125if ac_fn_cxx_try_compile "$LINENO"; then :
66126  glibcxx_cv_func__sqrtl_use=yes
66127else
66128  glibcxx_cv_func__sqrtl_use=no
66129fi
66130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66131      ac_ext=c
66132ac_cpp='$CPP $CPPFLAGS'
66133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66135ac_compiler_gnu=$ac_cv_c_compiler_gnu
66136
66137
66138fi
66139
66140  fi
66141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66142$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66143
66144    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66145      for ac_func in _sqrtl
66146do :
66147  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66148if test "x$ac_cv_func__sqrtl" = xyes; then :
66149  cat >>confdefs.h <<_ACEOF
66150#define HAVE__SQRTL 1
66151_ACEOF
66152
66153fi
66154done
66155
66156    fi
66157  fi
66158
66159
66160
66161
66162
66163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66164$as_echo_n "checking for sincosl declaration... " >&6; }
66165  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66166    if ${glibcxx_cv_func_sincosl_use+:} false; then :
66167  $as_echo_n "(cached) " >&6
66168else
66169
66170
66171      ac_ext=cpp
66172ac_cpp='$CXXCPP $CPPFLAGS'
66173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66176
66177      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66178/* end confdefs.h.  */
66179#include <math.h>
66180int
66181main ()
66182{
66183 sincosl(0, 0, 0);
66184  ;
66185  return 0;
66186}
66187_ACEOF
66188if ac_fn_cxx_try_compile "$LINENO"; then :
66189  glibcxx_cv_func_sincosl_use=yes
66190else
66191  glibcxx_cv_func_sincosl_use=no
66192fi
66193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66194      ac_ext=c
66195ac_cpp='$CPP $CPPFLAGS'
66196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66198ac_compiler_gnu=$ac_cv_c_compiler_gnu
66199
66200
66201fi
66202
66203  fi
66204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66205$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66206
66207  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66208    for ac_func in sincosl
66209do :
66210  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66211if test "x$ac_cv_func_sincosl" = xyes; then :
66212  cat >>confdefs.h <<_ACEOF
66213#define HAVE_SINCOSL 1
66214_ACEOF
66215
66216fi
66217done
66218
66219  else
66220
66221  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66222$as_echo_n "checking for _sincosl declaration... " >&6; }
66223  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66224    if ${glibcxx_cv_func__sincosl_use+:} false; then :
66225  $as_echo_n "(cached) " >&6
66226else
66227
66228
66229      ac_ext=cpp
66230ac_cpp='$CXXCPP $CPPFLAGS'
66231ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66232ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66233ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66234
66235      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66236/* end confdefs.h.  */
66237#include <math.h>
66238int
66239main ()
66240{
66241 _sincosl(0, 0, 0);
66242  ;
66243  return 0;
66244}
66245_ACEOF
66246if ac_fn_cxx_try_compile "$LINENO"; then :
66247  glibcxx_cv_func__sincosl_use=yes
66248else
66249  glibcxx_cv_func__sincosl_use=no
66250fi
66251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66252      ac_ext=c
66253ac_cpp='$CPP $CPPFLAGS'
66254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66256ac_compiler_gnu=$ac_cv_c_compiler_gnu
66257
66258
66259fi
66260
66261  fi
66262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66263$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66264
66265    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66266      for ac_func in _sincosl
66267do :
66268  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66269if test "x$ac_cv_func__sincosl" = xyes; then :
66270  cat >>confdefs.h <<_ACEOF
66271#define HAVE__SINCOSL 1
66272_ACEOF
66273
66274fi
66275done
66276
66277    fi
66278  fi
66279
66280
66281
66282
66283
66284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66285$as_echo_n "checking for finitel declaration... " >&6; }
66286  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66287    if ${glibcxx_cv_func_finitel_use+:} false; then :
66288  $as_echo_n "(cached) " >&6
66289else
66290
66291
66292      ac_ext=cpp
66293ac_cpp='$CXXCPP $CPPFLAGS'
66294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66297
66298      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66299/* end confdefs.h.  */
66300#include <math.h>
66301		      #ifdef HAVE_IEEEFP_H
66302		      #include <ieeefp.h>
66303		      #endif
66304
66305int
66306main ()
66307{
66308 finitel(0);
66309  ;
66310  return 0;
66311}
66312_ACEOF
66313if ac_fn_cxx_try_compile "$LINENO"; then :
66314  glibcxx_cv_func_finitel_use=yes
66315else
66316  glibcxx_cv_func_finitel_use=no
66317fi
66318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66319      ac_ext=c
66320ac_cpp='$CPP $CPPFLAGS'
66321ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66322ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66323ac_compiler_gnu=$ac_cv_c_compiler_gnu
66324
66325
66326fi
66327
66328  fi
66329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66330$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66331
66332  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66333    for ac_func in finitel
66334do :
66335  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66336if test "x$ac_cv_func_finitel" = xyes; then :
66337  cat >>confdefs.h <<_ACEOF
66338#define HAVE_FINITEL 1
66339_ACEOF
66340
66341fi
66342done
66343
66344  else
66345
66346  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66347$as_echo_n "checking for _finitel declaration... " >&6; }
66348  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66349    if ${glibcxx_cv_func__finitel_use+:} false; then :
66350  $as_echo_n "(cached) " >&6
66351else
66352
66353
66354      ac_ext=cpp
66355ac_cpp='$CXXCPP $CPPFLAGS'
66356ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66357ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66358ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66359
66360      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66361/* end confdefs.h.  */
66362#include <math.h>
66363		      #ifdef HAVE_IEEEFP_H
66364		      #include <ieeefp.h>
66365		      #endif
66366
66367int
66368main ()
66369{
66370 _finitel(0);
66371  ;
66372  return 0;
66373}
66374_ACEOF
66375if ac_fn_cxx_try_compile "$LINENO"; then :
66376  glibcxx_cv_func__finitel_use=yes
66377else
66378  glibcxx_cv_func__finitel_use=no
66379fi
66380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66381      ac_ext=c
66382ac_cpp='$CPP $CPPFLAGS'
66383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66385ac_compiler_gnu=$ac_cv_c_compiler_gnu
66386
66387
66388fi
66389
66390  fi
66391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66392$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66393
66394    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66395      for ac_func in _finitel
66396do :
66397  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66398if test "x$ac_cv_func__finitel" = xyes; then :
66399  cat >>confdefs.h <<_ACEOF
66400#define HAVE__FINITEL 1
66401_ACEOF
66402
66403fi
66404done
66405
66406    fi
66407  fi
66408
66409
66410
66411
66412  LIBS="$ac_save_LIBS"
66413  CXXFLAGS="$ac_save_CXXFLAGS"
66414
66415
66416  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66417  ac_save_CXXFLAGS="$CXXFLAGS"
66418  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66419
66420
66421  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66422$as_echo_n "checking for at_quick_exit declaration... " >&6; }
66423  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66424    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66425  $as_echo_n "(cached) " >&6
66426else
66427
66428
66429      ac_ext=cpp
66430ac_cpp='$CXXCPP $CPPFLAGS'
66431ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66432ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66433ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66434
66435      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66436/* end confdefs.h.  */
66437#include <stdlib.h>
66438int
66439main ()
66440{
66441 at_quick_exit(0);
66442  ;
66443  return 0;
66444}
66445_ACEOF
66446if ac_fn_cxx_try_compile "$LINENO"; then :
66447  glibcxx_cv_func_at_quick_exit_use=yes
66448else
66449  glibcxx_cv_func_at_quick_exit_use=no
66450fi
66451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66452      ac_ext=c
66453ac_cpp='$CPP $CPPFLAGS'
66454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66456ac_compiler_gnu=$ac_cv_c_compiler_gnu
66457
66458
66459fi
66460
66461  fi
66462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66463$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66464  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66465    for ac_func in at_quick_exit
66466do :
66467  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66468if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66469  cat >>confdefs.h <<_ACEOF
66470#define HAVE_AT_QUICK_EXIT 1
66471_ACEOF
66472
66473fi
66474done
66475
66476  fi
66477
66478
66479  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66480$as_echo_n "checking for quick_exit declaration... " >&6; }
66481  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66482    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66483  $as_echo_n "(cached) " >&6
66484else
66485
66486
66487      ac_ext=cpp
66488ac_cpp='$CXXCPP $CPPFLAGS'
66489ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66490ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66491ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66492
66493      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66494/* end confdefs.h.  */
66495#include <stdlib.h>
66496int
66497main ()
66498{
66499 quick_exit(0);
66500  ;
66501  return 0;
66502}
66503_ACEOF
66504if ac_fn_cxx_try_compile "$LINENO"; then :
66505  glibcxx_cv_func_quick_exit_use=yes
66506else
66507  glibcxx_cv_func_quick_exit_use=no
66508fi
66509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66510      ac_ext=c
66511ac_cpp='$CPP $CPPFLAGS'
66512ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66513ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66514ac_compiler_gnu=$ac_cv_c_compiler_gnu
66515
66516
66517fi
66518
66519  fi
66520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66521$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66522  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66523    for ac_func in quick_exit
66524do :
66525  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66526if test "x$ac_cv_func_quick_exit" = xyes; then :
66527  cat >>confdefs.h <<_ACEOF
66528#define HAVE_QUICK_EXIT 1
66529_ACEOF
66530
66531fi
66532done
66533
66534  fi
66535
66536
66537  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66538$as_echo_n "checking for strtold declaration... " >&6; }
66539  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66540    if ${glibcxx_cv_func_strtold_use+:} false; then :
66541  $as_echo_n "(cached) " >&6
66542else
66543
66544
66545      ac_ext=cpp
66546ac_cpp='$CXXCPP $CPPFLAGS'
66547ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66548ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66549ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66550
66551      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66552/* end confdefs.h.  */
66553#include <stdlib.h>
66554int
66555main ()
66556{
66557 strtold(0, 0);
66558  ;
66559  return 0;
66560}
66561_ACEOF
66562if ac_fn_cxx_try_compile "$LINENO"; then :
66563  glibcxx_cv_func_strtold_use=yes
66564else
66565  glibcxx_cv_func_strtold_use=no
66566fi
66567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66568      ac_ext=c
66569ac_cpp='$CPP $CPPFLAGS'
66570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66572ac_compiler_gnu=$ac_cv_c_compiler_gnu
66573
66574
66575fi
66576
66577  fi
66578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66579$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66580  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66581    for ac_func in strtold
66582do :
66583  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66584if test "x$ac_cv_func_strtold" = xyes; then :
66585  cat >>confdefs.h <<_ACEOF
66586#define HAVE_STRTOLD 1
66587_ACEOF
66588
66589fi
66590done
66591
66592  fi
66593
66594
66595
66596
66597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66598$as_echo_n "checking for strtof declaration... " >&6; }
66599  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66600    if ${glibcxx_cv_func_strtof_use+:} false; then :
66601  $as_echo_n "(cached) " >&6
66602else
66603
66604
66605      ac_ext=cpp
66606ac_cpp='$CXXCPP $CPPFLAGS'
66607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66608ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66610
66611      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66612/* end confdefs.h.  */
66613#include <stdlib.h>
66614int
66615main ()
66616{
66617 strtof(0, 0);
66618  ;
66619  return 0;
66620}
66621_ACEOF
66622if ac_fn_cxx_try_compile "$LINENO"; then :
66623  glibcxx_cv_func_strtof_use=yes
66624else
66625  glibcxx_cv_func_strtof_use=no
66626fi
66627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66628      ac_ext=c
66629ac_cpp='$CPP $CPPFLAGS'
66630ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66631ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66632ac_compiler_gnu=$ac_cv_c_compiler_gnu
66633
66634
66635fi
66636
66637  fi
66638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66639$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66640  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66641    for ac_func in strtof
66642do :
66643  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66644if test "x$ac_cv_func_strtof" = xyes; then :
66645  cat >>confdefs.h <<_ACEOF
66646#define HAVE_STRTOF 1
66647_ACEOF
66648
66649fi
66650done
66651
66652  fi
66653
66654
66655
66656
66657  CXXFLAGS="$ac_save_CXXFLAGS"
66658
66659    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66660do :
66661  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66662ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66663if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66664  cat >>confdefs.h <<_ACEOF
66665#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66666_ACEOF
66667
66668fi
66669done
66670
66671    for ac_func in _wfopen
66672do :
66673  ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66674if test "x$ac_cv_func__wfopen" = xyes; then :
66675  cat >>confdefs.h <<_ACEOF
66676#define HAVE__WFOPEN 1
66677_ACEOF
66678
66679fi
66680done
66681
66682    ;;
66683  *-netbsd* | *-openbsd*)
66684    SECTION_FLAGS='-ffunction-sections -fdata-sections'
66685
66686
66687  # If we're not using GNU ld, then there's no point in even trying these
66688  # tests.  Check for that first.  We should have already tested for gld
66689  # by now (in libtool), but require it now just to be safe...
66690  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66691  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66692
66693
66694
66695  # The name set by libtool depends on the version of libtool.  Shame on us
66696  # for depending on an impl detail, but c'est la vie.  Older versions used
66697  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66698  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66699  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66700  # set (hence we're using an older libtool), then set it.
66701  if test x${with_gnu_ld+set} != xset; then
66702    if test x${ac_cv_prog_gnu_ld+set} != xset; then
66703      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66704      with_gnu_ld=no
66705    else
66706      with_gnu_ld=$ac_cv_prog_gnu_ld
66707    fi
66708  fi
66709
66710  # Start by getting the version number.  I think the libtool test already
66711  # does some of this, but throws away the result.
66712  glibcxx_ld_is_gold=no
66713  if test x"$with_gnu_ld" = x"yes"; then
66714    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66715$as_echo_n "checking for ld version... " >&6; }
66716
66717    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66718      glibcxx_ld_is_gold=yes
66719    fi
66720    ldver=`$LD --version 2>/dev/null |
66721	   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'`
66722
66723    glibcxx_gnu_ld_version=`echo $ldver | \
66724	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66725    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66726$as_echo "$glibcxx_gnu_ld_version" >&6; }
66727  fi
66728
66729  # Set --gc-sections.
66730  glibcxx_have_gc_sections=no
66731  if test "$glibcxx_ld_is_gold" = "yes"; then
66732    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66733      glibcxx_have_gc_sections=yes
66734    fi
66735  else
66736    glibcxx_gcsections_min_ld=21602
66737    if test x"$with_gnu_ld" = x"yes" &&
66738	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66739      glibcxx_have_gc_sections=yes
66740    fi
66741  fi
66742  if test "$glibcxx_have_gc_sections" = "yes"; then
66743    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66744    # NB: This flag only works reliably after 2.16.1. Configure tests
66745    # for this are difficult, so hard wire a value that should work.
66746
66747    ac_test_CFLAGS="${CFLAGS+set}"
66748    ac_save_CFLAGS="$CFLAGS"
66749    CFLAGS='-Wl,--gc-sections'
66750
66751    # Check for -Wl,--gc-sections
66752    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66753$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66754    if test x$gcc_no_link = xyes; then
66755  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66756fi
66757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66758/* end confdefs.h.  */
66759 int one(void) { return 1; }
66760     int two(void) { return 2; }
66761
66762int
66763main ()
66764{
66765 two();
66766  ;
66767  return 0;
66768}
66769_ACEOF
66770if ac_fn_c_try_link "$LINENO"; then :
66771  ac_gcsections=yes
66772else
66773  ac_gcsections=no
66774fi
66775rm -f core conftest.err conftest.$ac_objext \
66776    conftest$ac_exeext conftest.$ac_ext
66777    if test "$ac_gcsections" = "yes"; then
66778      rm -f conftest.c
66779      touch conftest.c
66780      if $CC -c conftest.c; then
66781	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66782	   grep "Warning: gc-sections option ignored" > /dev/null; then
66783	  ac_gcsections=no
66784	fi
66785      fi
66786      rm -f conftest.c conftest.o conftest
66787    fi
66788    if test "$ac_gcsections" = "yes"; then
66789      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66790    fi
66791    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66792$as_echo "$ac_gcsections" >&6; }
66793
66794    if test "$ac_test_CFLAGS" = set; then
66795      CFLAGS="$ac_save_CFLAGS"
66796    else
66797      # this is the suspicious part
66798      CFLAGS=''
66799    fi
66800  fi
66801
66802  # Set -z,relro.
66803  # Note this is only for shared objects.
66804  ac_ld_relro=no
66805  if test x"$with_gnu_ld" = x"yes"; then
66806    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66807$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66808    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66809    if test -n "$cxx_z_relo"; then
66810      OPT_LDFLAGS="-Wl,-z,relro"
66811      ac_ld_relro=yes
66812    fi
66813    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66814$as_echo "$ac_ld_relro" >&6; }
66815  fi
66816
66817  # Set linker optimization flags.
66818  if test x"$with_gnu_ld" = x"yes"; then
66819    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66820  fi
66821
66822
66823
66824
66825    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66826
66827    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66828
66829    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66830
66831    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66832
66833    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66834
66835    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66836
66837    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66838
66839    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66840
66841    if test x"long_double_math_on_this_cpu" = x"yes"; then
66842      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66843
66844      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66845
66846      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66847
66848    fi
66849    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66850do :
66851  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66852ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66853if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66854  cat >>confdefs.h <<_ACEOF
66855#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66856_ACEOF
66857
66858fi
66859done
66860
66861    for ac_func in timespec_get
66862do :
66863  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
66864if test "x$ac_cv_func_timespec_get" = xyes; then :
66865  cat >>confdefs.h <<_ACEOF
66866#define HAVE_TIMESPEC_GET 1
66867_ACEOF
66868
66869fi
66870done
66871
66872    for ac_func in sockatmark
66873do :
66874  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
66875if test "x$ac_cv_func_sockatmark" = xyes; then :
66876  cat >>confdefs.h <<_ACEOF
66877#define HAVE_SOCKATMARK 1
66878_ACEOF
66879
66880fi
66881done
66882
66883    ;;
66884  *-qnx6.1* | *-qnx6.2*)
66885    SECTION_FLAGS='-ffunction-sections -fdata-sections'
66886
66887
66888  # If we're not using GNU ld, then there's no point in even trying these
66889  # tests.  Check for that first.  We should have already tested for gld
66890  # by now (in libtool), but require it now just to be safe...
66891  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66892  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66893
66894
66895
66896  # The name set by libtool depends on the version of libtool.  Shame on us
66897  # for depending on an impl detail, but c'est la vie.  Older versions used
66898  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66899  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66900  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66901  # set (hence we're using an older libtool), then set it.
66902  if test x${with_gnu_ld+set} != xset; then
66903    if test x${ac_cv_prog_gnu_ld+set} != xset; then
66904      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66905      with_gnu_ld=no
66906    else
66907      with_gnu_ld=$ac_cv_prog_gnu_ld
66908    fi
66909  fi
66910
66911  # Start by getting the version number.  I think the libtool test already
66912  # does some of this, but throws away the result.
66913  glibcxx_ld_is_gold=no
66914  if test x"$with_gnu_ld" = x"yes"; then
66915    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66916$as_echo_n "checking for ld version... " >&6; }
66917
66918    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66919      glibcxx_ld_is_gold=yes
66920    fi
66921    ldver=`$LD --version 2>/dev/null |
66922	   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'`
66923
66924    glibcxx_gnu_ld_version=`echo $ldver | \
66925	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66926    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66927$as_echo "$glibcxx_gnu_ld_version" >&6; }
66928  fi
66929
66930  # Set --gc-sections.
66931  glibcxx_have_gc_sections=no
66932  if test "$glibcxx_ld_is_gold" = "yes"; then
66933    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66934      glibcxx_have_gc_sections=yes
66935    fi
66936  else
66937    glibcxx_gcsections_min_ld=21602
66938    if test x"$with_gnu_ld" = x"yes" &&
66939	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66940      glibcxx_have_gc_sections=yes
66941    fi
66942  fi
66943  if test "$glibcxx_have_gc_sections" = "yes"; then
66944    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66945    # NB: This flag only works reliably after 2.16.1. Configure tests
66946    # for this are difficult, so hard wire a value that should work.
66947
66948    ac_test_CFLAGS="${CFLAGS+set}"
66949    ac_save_CFLAGS="$CFLAGS"
66950    CFLAGS='-Wl,--gc-sections'
66951
66952    # Check for -Wl,--gc-sections
66953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66954$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66955    if test x$gcc_no_link = xyes; then
66956  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66957fi
66958cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66959/* end confdefs.h.  */
66960 int one(void) { return 1; }
66961     int two(void) { return 2; }
66962
66963int
66964main ()
66965{
66966 two();
66967  ;
66968  return 0;
66969}
66970_ACEOF
66971if ac_fn_c_try_link "$LINENO"; then :
66972  ac_gcsections=yes
66973else
66974  ac_gcsections=no
66975fi
66976rm -f core conftest.err conftest.$ac_objext \
66977    conftest$ac_exeext conftest.$ac_ext
66978    if test "$ac_gcsections" = "yes"; then
66979      rm -f conftest.c
66980      touch conftest.c
66981      if $CC -c conftest.c; then
66982	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66983	   grep "Warning: gc-sections option ignored" > /dev/null; then
66984	  ac_gcsections=no
66985	fi
66986      fi
66987      rm -f conftest.c conftest.o conftest
66988    fi
66989    if test "$ac_gcsections" = "yes"; then
66990      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66991    fi
66992    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66993$as_echo "$ac_gcsections" >&6; }
66994
66995    if test "$ac_test_CFLAGS" = set; then
66996      CFLAGS="$ac_save_CFLAGS"
66997    else
66998      # this is the suspicious part
66999      CFLAGS=''
67000    fi
67001  fi
67002
67003  # Set -z,relro.
67004  # Note this is only for shared objects.
67005  ac_ld_relro=no
67006  if test x"$with_gnu_ld" = x"yes"; then
67007    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
67008$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
67009    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
67010    if test -n "$cxx_z_relo"; then
67011      OPT_LDFLAGS="-Wl,-z,relro"
67012      ac_ld_relro=yes
67013    fi
67014    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
67015$as_echo "$ac_ld_relro" >&6; }
67016  fi
67017
67018  # Set linker optimization flags.
67019  if test x"$with_gnu_ld" = x"yes"; then
67020    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
67021  fi
67022
67023
67024
67025
67026    $as_echo "#define HAVE_COSF 1" >>confdefs.h
67027
67028    $as_echo "#define HAVE_COSL 1" >>confdefs.h
67029
67030    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
67031
67032    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
67033
67034    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
67035
67036    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
67037
67038    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
67039
67040    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
67041
67042    $as_echo "#define HAVE_SINF 1" >>confdefs.h
67043
67044    $as_echo "#define HAVE_SINL 1" >>confdefs.h
67045
67046    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
67047
67048    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
67049
67050    ;;
67051  *-rtems*)
67052
67053  # All these tests are for C++; save the language and the compiler flags.
67054  # The CXXFLAGS thing is suspicious, but based on similar bits previously
67055  # found in GLIBCXX_CONFIGURE.
67056
67057  ac_ext=cpp
67058ac_cpp='$CXXCPP $CPPFLAGS'
67059ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67060ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67061ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67062
67063  ac_test_CXXFLAGS="${CXXFLAGS+set}"
67064  ac_save_CXXFLAGS="$CXXFLAGS"
67065
67066  # Check for -ffunction-sections -fdata-sections
67067  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
67068$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
67069  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
67070  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67071/* end confdefs.h.  */
67072int foo; void bar() { };
67073int
67074main ()
67075{
67076
67077  ;
67078  return 0;
67079}
67080_ACEOF
67081if ac_fn_cxx_try_compile "$LINENO"; then :
67082  ac_fdsections=yes
67083else
67084  ac_fdsections=no
67085fi
67086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67087  if test "$ac_test_CXXFLAGS" = set; then
67088    CXXFLAGS="$ac_save_CXXFLAGS"
67089  else
67090    # this is the suspicious part
67091    CXXFLAGS=''
67092  fi
67093  if test x"$ac_fdsections" = x"yes"; then
67094    SECTION_FLAGS='-ffunction-sections -fdata-sections'
67095  fi
67096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
67097$as_echo "$ac_fdsections" >&6; }
67098
67099  ac_ext=c
67100ac_cpp='$CPP $CPPFLAGS'
67101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67103ac_compiler_gnu=$ac_cv_c_compiler_gnu
67104
67105
67106
67107
67108  # If we're not using GNU ld, then there's no point in even trying these
67109  # tests.  Check for that first.  We should have already tested for gld
67110  # by now (in libtool), but require it now just to be safe...
67111  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
67112  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
67113
67114
67115
67116  # The name set by libtool depends on the version of libtool.  Shame on us
67117  # for depending on an impl detail, but c'est la vie.  Older versions used
67118  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
67119  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
67120  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
67121  # set (hence we're using an older libtool), then set it.
67122  if test x${with_gnu_ld+set} != xset; then
67123    if test x${ac_cv_prog_gnu_ld+set} != xset; then
67124      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
67125      with_gnu_ld=no
67126    else
67127      with_gnu_ld=$ac_cv_prog_gnu_ld
67128    fi
67129  fi
67130
67131  # Start by getting the version number.  I think the libtool test already
67132  # does some of this, but throws away the result.
67133  glibcxx_ld_is_gold=no
67134  if test x"$with_gnu_ld" = x"yes"; then
67135    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
67136$as_echo_n "checking for ld version... " >&6; }
67137
67138    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
67139      glibcxx_ld_is_gold=yes
67140    fi
67141    ldver=`$LD --version 2>/dev/null |
67142	   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'`
67143
67144    glibcxx_gnu_ld_version=`echo $ldver | \
67145	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
67146    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
67147$as_echo "$glibcxx_gnu_ld_version" >&6; }
67148  fi
67149
67150  # Set --gc-sections.
67151  glibcxx_have_gc_sections=no
67152  if test "$glibcxx_ld_is_gold" = "yes"; then
67153    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
67154      glibcxx_have_gc_sections=yes
67155    fi
67156  else
67157    glibcxx_gcsections_min_ld=21602
67158    if test x"$with_gnu_ld" = x"yes" &&
67159	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
67160      glibcxx_have_gc_sections=yes
67161    fi
67162  fi
67163  if test "$glibcxx_have_gc_sections" = "yes"; then
67164    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
67165    # NB: This flag only works reliably after 2.16.1. Configure tests
67166    # for this are difficult, so hard wire a value that should work.
67167
67168    ac_test_CFLAGS="${CFLAGS+set}"
67169    ac_save_CFLAGS="$CFLAGS"
67170    CFLAGS='-Wl,--gc-sections'
67171
67172    # Check for -Wl,--gc-sections
67173    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
67174$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
67175    if test x$gcc_no_link = xyes; then
67176  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
67177fi
67178cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67179/* end confdefs.h.  */
67180 int one(void) { return 1; }
67181     int two(void) { return 2; }
67182
67183int
67184main ()
67185{
67186 two();
67187  ;
67188  return 0;
67189}
67190_ACEOF
67191if ac_fn_c_try_link "$LINENO"; then :
67192  ac_gcsections=yes
67193else
67194  ac_gcsections=no
67195fi
67196rm -f core conftest.err conftest.$ac_objext \
67197    conftest$ac_exeext conftest.$ac_ext
67198    if test "$ac_gcsections" = "yes"; then
67199      rm -f conftest.c
67200      touch conftest.c
67201      if $CC -c conftest.c; then
67202	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
67203	   grep "Warning: gc-sections option ignored" > /dev/null; then
67204	  ac_gcsections=no
67205	fi
67206      fi
67207      rm -f conftest.c conftest.o conftest
67208    fi
67209    if test "$ac_gcsections" = "yes"; then
67210      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
67211    fi
67212    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
67213$as_echo "$ac_gcsections" >&6; }
67214
67215    if test "$ac_test_CFLAGS" = set; then
67216      CFLAGS="$ac_save_CFLAGS"
67217    else
67218      # this is the suspicious part
67219      CFLAGS=''
67220    fi
67221  fi
67222
67223  # Set -z,relro.
67224  # Note this is only for shared objects.
67225  ac_ld_relro=no
67226  if test x"$with_gnu_ld" = x"yes"; then
67227    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
67228$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
67229    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
67230    if test -n "$cxx_z_relo"; then
67231      OPT_LDFLAGS="-Wl,-z,relro"
67232      ac_ld_relro=yes
67233    fi
67234    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
67235$as_echo "$ac_ld_relro" >&6; }
67236  fi
67237
67238  # Set linker optimization flags.
67239  if test x"$with_gnu_ld" = x"yes"; then
67240    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
67241  fi
67242
67243
67244
67245
67246
67247  ac_test_CXXFLAGS="${CXXFLAGS+set}"
67248  ac_save_CXXFLAGS="$CXXFLAGS"
67249  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67250
67251    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
67252$as_echo_n "checking for sin in -lm... " >&6; }
67253if ${ac_cv_lib_m_sin+:} false; then :
67254  $as_echo_n "(cached) " >&6
67255else
67256  ac_check_lib_save_LIBS=$LIBS
67257LIBS="-lm  $LIBS"
67258if test x$gcc_no_link = xyes; then
67259  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
67260fi
67261cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67262/* end confdefs.h.  */
67263
67264/* Override any GCC internal prototype to avoid an error.
67265   Use char because int might match the return type of a GCC
67266   builtin and then its argument prototype would still apply.  */
67267#ifdef __cplusplus
67268extern "C"
67269#endif
67270char sin ();
67271int
67272main ()
67273{
67274return sin ();
67275  ;
67276  return 0;
67277}
67278_ACEOF
67279if ac_fn_c_try_link "$LINENO"; then :
67280  ac_cv_lib_m_sin=yes
67281else
67282  ac_cv_lib_m_sin=no
67283fi
67284rm -f core conftest.err conftest.$ac_objext \
67285    conftest$ac_exeext conftest.$ac_ext
67286LIBS=$ac_check_lib_save_LIBS
67287fi
67288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67289$as_echo "$ac_cv_lib_m_sin" >&6; }
67290if test "x$ac_cv_lib_m_sin" = xyes; then :
67291  libm="-lm"
67292fi
67293
67294  ac_save_LIBS="$LIBS"
67295  LIBS="$LIBS $libm"
67296
67297
67298
67299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67300$as_echo_n "checking for isinf declaration... " >&6; }
67301  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67302    if ${glibcxx_cv_func_isinf_use+:} false; then :
67303  $as_echo_n "(cached) " >&6
67304else
67305
67306
67307      ac_ext=cpp
67308ac_cpp='$CXXCPP $CPPFLAGS'
67309ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67310ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67311ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67312
67313      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67314/* end confdefs.h.  */
67315#include <math.h>
67316		      #ifdef HAVE_IEEEFP_H
67317		      #include <ieeefp.h>
67318		      #endif
67319
67320int
67321main ()
67322{
67323 isinf(0);
67324  ;
67325  return 0;
67326}
67327_ACEOF
67328if ac_fn_cxx_try_compile "$LINENO"; then :
67329  glibcxx_cv_func_isinf_use=yes
67330else
67331  glibcxx_cv_func_isinf_use=no
67332fi
67333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67334      ac_ext=c
67335ac_cpp='$CPP $CPPFLAGS'
67336ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67337ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67338ac_compiler_gnu=$ac_cv_c_compiler_gnu
67339
67340
67341fi
67342
67343  fi
67344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67345$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67346
67347  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67348    for ac_func in isinf
67349do :
67350  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67351if test "x$ac_cv_func_isinf" = xyes; then :
67352  cat >>confdefs.h <<_ACEOF
67353#define HAVE_ISINF 1
67354_ACEOF
67355
67356fi
67357done
67358
67359  else
67360
67361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67362$as_echo_n "checking for _isinf declaration... " >&6; }
67363  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67364    if ${glibcxx_cv_func__isinf_use+:} false; then :
67365  $as_echo_n "(cached) " >&6
67366else
67367
67368
67369      ac_ext=cpp
67370ac_cpp='$CXXCPP $CPPFLAGS'
67371ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67372ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67373ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67374
67375      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67376/* end confdefs.h.  */
67377#include <math.h>
67378		      #ifdef HAVE_IEEEFP_H
67379		      #include <ieeefp.h>
67380		      #endif
67381
67382int
67383main ()
67384{
67385 _isinf(0);
67386  ;
67387  return 0;
67388}
67389_ACEOF
67390if ac_fn_cxx_try_compile "$LINENO"; then :
67391  glibcxx_cv_func__isinf_use=yes
67392else
67393  glibcxx_cv_func__isinf_use=no
67394fi
67395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67396      ac_ext=c
67397ac_cpp='$CPP $CPPFLAGS'
67398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67400ac_compiler_gnu=$ac_cv_c_compiler_gnu
67401
67402
67403fi
67404
67405  fi
67406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67407$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67408
67409    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67410      for ac_func in _isinf
67411do :
67412  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67413if test "x$ac_cv_func__isinf" = xyes; then :
67414  cat >>confdefs.h <<_ACEOF
67415#define HAVE__ISINF 1
67416_ACEOF
67417
67418fi
67419done
67420
67421    fi
67422  fi
67423
67424
67425
67426
67427
67428  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67429$as_echo_n "checking for isnan declaration... " >&6; }
67430  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67431    if ${glibcxx_cv_func_isnan_use+:} false; then :
67432  $as_echo_n "(cached) " >&6
67433else
67434
67435
67436      ac_ext=cpp
67437ac_cpp='$CXXCPP $CPPFLAGS'
67438ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67439ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67440ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67441
67442      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67443/* end confdefs.h.  */
67444#include <math.h>
67445		      #ifdef HAVE_IEEEFP_H
67446		      #include <ieeefp.h>
67447		      #endif
67448
67449int
67450main ()
67451{
67452 isnan(0);
67453  ;
67454  return 0;
67455}
67456_ACEOF
67457if ac_fn_cxx_try_compile "$LINENO"; then :
67458  glibcxx_cv_func_isnan_use=yes
67459else
67460  glibcxx_cv_func_isnan_use=no
67461fi
67462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67463      ac_ext=c
67464ac_cpp='$CPP $CPPFLAGS'
67465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467ac_compiler_gnu=$ac_cv_c_compiler_gnu
67468
67469
67470fi
67471
67472  fi
67473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67474$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67475
67476  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67477    for ac_func in isnan
67478do :
67479  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67480if test "x$ac_cv_func_isnan" = xyes; then :
67481  cat >>confdefs.h <<_ACEOF
67482#define HAVE_ISNAN 1
67483_ACEOF
67484
67485fi
67486done
67487
67488  else
67489
67490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67491$as_echo_n "checking for _isnan declaration... " >&6; }
67492  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67493    if ${glibcxx_cv_func__isnan_use+:} false; then :
67494  $as_echo_n "(cached) " >&6
67495else
67496
67497
67498      ac_ext=cpp
67499ac_cpp='$CXXCPP $CPPFLAGS'
67500ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67503
67504      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67505/* end confdefs.h.  */
67506#include <math.h>
67507		      #ifdef HAVE_IEEEFP_H
67508		      #include <ieeefp.h>
67509		      #endif
67510
67511int
67512main ()
67513{
67514 _isnan(0);
67515  ;
67516  return 0;
67517}
67518_ACEOF
67519if ac_fn_cxx_try_compile "$LINENO"; then :
67520  glibcxx_cv_func__isnan_use=yes
67521else
67522  glibcxx_cv_func__isnan_use=no
67523fi
67524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67525      ac_ext=c
67526ac_cpp='$CPP $CPPFLAGS'
67527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67529ac_compiler_gnu=$ac_cv_c_compiler_gnu
67530
67531
67532fi
67533
67534  fi
67535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67536$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67537
67538    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67539      for ac_func in _isnan
67540do :
67541  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67542if test "x$ac_cv_func__isnan" = xyes; then :
67543  cat >>confdefs.h <<_ACEOF
67544#define HAVE__ISNAN 1
67545_ACEOF
67546
67547fi
67548done
67549
67550    fi
67551  fi
67552
67553
67554
67555
67556
67557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67558$as_echo_n "checking for finite declaration... " >&6; }
67559  if test x${glibcxx_cv_func_finite_use+set} != xset; then
67560    if ${glibcxx_cv_func_finite_use+:} false; then :
67561  $as_echo_n "(cached) " >&6
67562else
67563
67564
67565      ac_ext=cpp
67566ac_cpp='$CXXCPP $CPPFLAGS'
67567ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67570
67571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67572/* end confdefs.h.  */
67573#include <math.h>
67574		      #ifdef HAVE_IEEEFP_H
67575		      #include <ieeefp.h>
67576		      #endif
67577
67578int
67579main ()
67580{
67581 finite(0);
67582  ;
67583  return 0;
67584}
67585_ACEOF
67586if ac_fn_cxx_try_compile "$LINENO"; then :
67587  glibcxx_cv_func_finite_use=yes
67588else
67589  glibcxx_cv_func_finite_use=no
67590fi
67591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67592      ac_ext=c
67593ac_cpp='$CPP $CPPFLAGS'
67594ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67596ac_compiler_gnu=$ac_cv_c_compiler_gnu
67597
67598
67599fi
67600
67601  fi
67602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67603$as_echo "$glibcxx_cv_func_finite_use" >&6; }
67604
67605  if test x$glibcxx_cv_func_finite_use = x"yes"; then
67606    for ac_func in finite
67607do :
67608  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67609if test "x$ac_cv_func_finite" = xyes; then :
67610  cat >>confdefs.h <<_ACEOF
67611#define HAVE_FINITE 1
67612_ACEOF
67613
67614fi
67615done
67616
67617  else
67618
67619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67620$as_echo_n "checking for _finite declaration... " >&6; }
67621  if test x${glibcxx_cv_func__finite_use+set} != xset; then
67622    if ${glibcxx_cv_func__finite_use+:} false; then :
67623  $as_echo_n "(cached) " >&6
67624else
67625
67626
67627      ac_ext=cpp
67628ac_cpp='$CXXCPP $CPPFLAGS'
67629ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67630ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67631ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67632
67633      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67634/* end confdefs.h.  */
67635#include <math.h>
67636		      #ifdef HAVE_IEEEFP_H
67637		      #include <ieeefp.h>
67638		      #endif
67639
67640int
67641main ()
67642{
67643 _finite(0);
67644  ;
67645  return 0;
67646}
67647_ACEOF
67648if ac_fn_cxx_try_compile "$LINENO"; then :
67649  glibcxx_cv_func__finite_use=yes
67650else
67651  glibcxx_cv_func__finite_use=no
67652fi
67653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67654      ac_ext=c
67655ac_cpp='$CPP $CPPFLAGS'
67656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67658ac_compiler_gnu=$ac_cv_c_compiler_gnu
67659
67660
67661fi
67662
67663  fi
67664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67665$as_echo "$glibcxx_cv_func__finite_use" >&6; }
67666
67667    if test x$glibcxx_cv_func__finite_use = x"yes"; then
67668      for ac_func in _finite
67669do :
67670  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67671if test "x$ac_cv_func__finite" = xyes; then :
67672  cat >>confdefs.h <<_ACEOF
67673#define HAVE__FINITE 1
67674_ACEOF
67675
67676fi
67677done
67678
67679    fi
67680  fi
67681
67682
67683
67684
67685
67686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67687$as_echo_n "checking for sincos declaration... " >&6; }
67688  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67689    if ${glibcxx_cv_func_sincos_use+:} false; then :
67690  $as_echo_n "(cached) " >&6
67691else
67692
67693
67694      ac_ext=cpp
67695ac_cpp='$CXXCPP $CPPFLAGS'
67696ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67697ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67698ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67699
67700      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67701/* end confdefs.h.  */
67702#include <math.h>
67703int
67704main ()
67705{
67706 sincos(0, 0, 0);
67707  ;
67708  return 0;
67709}
67710_ACEOF
67711if ac_fn_cxx_try_compile "$LINENO"; then :
67712  glibcxx_cv_func_sincos_use=yes
67713else
67714  glibcxx_cv_func_sincos_use=no
67715fi
67716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67717      ac_ext=c
67718ac_cpp='$CPP $CPPFLAGS'
67719ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67720ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67721ac_compiler_gnu=$ac_cv_c_compiler_gnu
67722
67723
67724fi
67725
67726  fi
67727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67728$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67729
67730  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67731    for ac_func in sincos
67732do :
67733  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67734if test "x$ac_cv_func_sincos" = xyes; then :
67735  cat >>confdefs.h <<_ACEOF
67736#define HAVE_SINCOS 1
67737_ACEOF
67738
67739fi
67740done
67741
67742  else
67743
67744  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67745$as_echo_n "checking for _sincos declaration... " >&6; }
67746  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67747    if ${glibcxx_cv_func__sincos_use+:} false; then :
67748  $as_echo_n "(cached) " >&6
67749else
67750
67751
67752      ac_ext=cpp
67753ac_cpp='$CXXCPP $CPPFLAGS'
67754ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67755ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67756ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67757
67758      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67759/* end confdefs.h.  */
67760#include <math.h>
67761int
67762main ()
67763{
67764 _sincos(0, 0, 0);
67765  ;
67766  return 0;
67767}
67768_ACEOF
67769if ac_fn_cxx_try_compile "$LINENO"; then :
67770  glibcxx_cv_func__sincos_use=yes
67771else
67772  glibcxx_cv_func__sincos_use=no
67773fi
67774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67775      ac_ext=c
67776ac_cpp='$CPP $CPPFLAGS'
67777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67779ac_compiler_gnu=$ac_cv_c_compiler_gnu
67780
67781
67782fi
67783
67784  fi
67785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67786$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67787
67788    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67789      for ac_func in _sincos
67790do :
67791  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67792if test "x$ac_cv_func__sincos" = xyes; then :
67793  cat >>confdefs.h <<_ACEOF
67794#define HAVE__SINCOS 1
67795_ACEOF
67796
67797fi
67798done
67799
67800    fi
67801  fi
67802
67803
67804
67805
67806
67807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67808$as_echo_n "checking for fpclass declaration... " >&6; }
67809  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67810    if ${glibcxx_cv_func_fpclass_use+:} false; then :
67811  $as_echo_n "(cached) " >&6
67812else
67813
67814
67815      ac_ext=cpp
67816ac_cpp='$CXXCPP $CPPFLAGS'
67817ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67818ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67819ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67820
67821      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67822/* end confdefs.h.  */
67823#include <math.h>
67824		      #ifdef HAVE_IEEEFP_H
67825		      #include <ieeefp.h>
67826		      #endif
67827
67828int
67829main ()
67830{
67831 fpclass(0);
67832  ;
67833  return 0;
67834}
67835_ACEOF
67836if ac_fn_cxx_try_compile "$LINENO"; then :
67837  glibcxx_cv_func_fpclass_use=yes
67838else
67839  glibcxx_cv_func_fpclass_use=no
67840fi
67841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67842      ac_ext=c
67843ac_cpp='$CPP $CPPFLAGS'
67844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67846ac_compiler_gnu=$ac_cv_c_compiler_gnu
67847
67848
67849fi
67850
67851  fi
67852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67853$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67854
67855  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67856    for ac_func in fpclass
67857do :
67858  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67859if test "x$ac_cv_func_fpclass" = xyes; then :
67860  cat >>confdefs.h <<_ACEOF
67861#define HAVE_FPCLASS 1
67862_ACEOF
67863
67864fi
67865done
67866
67867  else
67868
67869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67870$as_echo_n "checking for _fpclass declaration... " >&6; }
67871  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67872    if ${glibcxx_cv_func__fpclass_use+:} false; then :
67873  $as_echo_n "(cached) " >&6
67874else
67875
67876
67877      ac_ext=cpp
67878ac_cpp='$CXXCPP $CPPFLAGS'
67879ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67880ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67881ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67882
67883      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67884/* end confdefs.h.  */
67885#include <math.h>
67886		      #ifdef HAVE_IEEEFP_H
67887		      #include <ieeefp.h>
67888		      #endif
67889
67890int
67891main ()
67892{
67893 _fpclass(0);
67894  ;
67895  return 0;
67896}
67897_ACEOF
67898if ac_fn_cxx_try_compile "$LINENO"; then :
67899  glibcxx_cv_func__fpclass_use=yes
67900else
67901  glibcxx_cv_func__fpclass_use=no
67902fi
67903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67904      ac_ext=c
67905ac_cpp='$CPP $CPPFLAGS'
67906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67908ac_compiler_gnu=$ac_cv_c_compiler_gnu
67909
67910
67911fi
67912
67913  fi
67914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67915$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67916
67917    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67918      for ac_func in _fpclass
67919do :
67920  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67921if test "x$ac_cv_func__fpclass" = xyes; then :
67922  cat >>confdefs.h <<_ACEOF
67923#define HAVE__FPCLASS 1
67924_ACEOF
67925
67926fi
67927done
67928
67929    fi
67930  fi
67931
67932
67933
67934
67935
67936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67937$as_echo_n "checking for qfpclass declaration... " >&6; }
67938  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67939    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67940  $as_echo_n "(cached) " >&6
67941else
67942
67943
67944      ac_ext=cpp
67945ac_cpp='$CXXCPP $CPPFLAGS'
67946ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67947ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67948ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67949
67950      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67951/* end confdefs.h.  */
67952#include <math.h>
67953		      #ifdef HAVE_IEEEFP_H
67954		      #include <ieeefp.h>
67955		      #endif
67956
67957int
67958main ()
67959{
67960 qfpclass(0);
67961  ;
67962  return 0;
67963}
67964_ACEOF
67965if ac_fn_cxx_try_compile "$LINENO"; then :
67966  glibcxx_cv_func_qfpclass_use=yes
67967else
67968  glibcxx_cv_func_qfpclass_use=no
67969fi
67970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67971      ac_ext=c
67972ac_cpp='$CPP $CPPFLAGS'
67973ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67975ac_compiler_gnu=$ac_cv_c_compiler_gnu
67976
67977
67978fi
67979
67980  fi
67981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67982$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67983
67984  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67985    for ac_func in qfpclass
67986do :
67987  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67988if test "x$ac_cv_func_qfpclass" = xyes; then :
67989  cat >>confdefs.h <<_ACEOF
67990#define HAVE_QFPCLASS 1
67991_ACEOF
67992
67993fi
67994done
67995
67996  else
67997
67998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67999$as_echo_n "checking for _qfpclass declaration... " >&6; }
68000  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
68001    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
68002  $as_echo_n "(cached) " >&6
68003else
68004
68005
68006      ac_ext=cpp
68007ac_cpp='$CXXCPP $CPPFLAGS'
68008ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68009ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68010ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68011
68012      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68013/* end confdefs.h.  */
68014#include <math.h>
68015		      #ifdef HAVE_IEEEFP_H
68016		      #include <ieeefp.h>
68017		      #endif
68018
68019int
68020main ()
68021{
68022 _qfpclass(0);
68023  ;
68024  return 0;
68025}
68026_ACEOF
68027if ac_fn_cxx_try_compile "$LINENO"; then :
68028  glibcxx_cv_func__qfpclass_use=yes
68029else
68030  glibcxx_cv_func__qfpclass_use=no
68031fi
68032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68033      ac_ext=c
68034ac_cpp='$CPP $CPPFLAGS'
68035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68037ac_compiler_gnu=$ac_cv_c_compiler_gnu
68038
68039
68040fi
68041
68042  fi
68043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
68044$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
68045
68046    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
68047      for ac_func in _qfpclass
68048do :
68049  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
68050if test "x$ac_cv_func__qfpclass" = xyes; then :
68051  cat >>confdefs.h <<_ACEOF
68052#define HAVE__QFPCLASS 1
68053_ACEOF
68054
68055fi
68056done
68057
68058    fi
68059  fi
68060
68061
68062
68063
68064
68065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
68066$as_echo_n "checking for hypot declaration... " >&6; }
68067  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
68068    if ${glibcxx_cv_func_hypot_use+:} false; then :
68069  $as_echo_n "(cached) " >&6
68070else
68071
68072
68073      ac_ext=cpp
68074ac_cpp='$CXXCPP $CPPFLAGS'
68075ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68076ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68077ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68078
68079      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68080/* end confdefs.h.  */
68081#include <math.h>
68082int
68083main ()
68084{
68085 hypot(0, 0);
68086  ;
68087  return 0;
68088}
68089_ACEOF
68090if ac_fn_cxx_try_compile "$LINENO"; then :
68091  glibcxx_cv_func_hypot_use=yes
68092else
68093  glibcxx_cv_func_hypot_use=no
68094fi
68095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68096      ac_ext=c
68097ac_cpp='$CPP $CPPFLAGS'
68098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68100ac_compiler_gnu=$ac_cv_c_compiler_gnu
68101
68102
68103fi
68104
68105  fi
68106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
68107$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
68108
68109  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
68110    for ac_func in hypot
68111do :
68112  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
68113if test "x$ac_cv_func_hypot" = xyes; then :
68114  cat >>confdefs.h <<_ACEOF
68115#define HAVE_HYPOT 1
68116_ACEOF
68117
68118fi
68119done
68120
68121  else
68122
68123  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
68124$as_echo_n "checking for _hypot declaration... " >&6; }
68125  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68126    if ${glibcxx_cv_func__hypot_use+:} false; then :
68127  $as_echo_n "(cached) " >&6
68128else
68129
68130
68131      ac_ext=cpp
68132ac_cpp='$CXXCPP $CPPFLAGS'
68133ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68134ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68135ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68136
68137      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68138/* end confdefs.h.  */
68139#include <math.h>
68140int
68141main ()
68142{
68143 _hypot(0, 0);
68144  ;
68145  return 0;
68146}
68147_ACEOF
68148if ac_fn_cxx_try_compile "$LINENO"; then :
68149  glibcxx_cv_func__hypot_use=yes
68150else
68151  glibcxx_cv_func__hypot_use=no
68152fi
68153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68154      ac_ext=c
68155ac_cpp='$CPP $CPPFLAGS'
68156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68158ac_compiler_gnu=$ac_cv_c_compiler_gnu
68159
68160
68161fi
68162
68163  fi
68164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
68165$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
68166
68167    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68168      for ac_func in _hypot
68169do :
68170  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
68171if test "x$ac_cv_func__hypot" = xyes; then :
68172  cat >>confdefs.h <<_ACEOF
68173#define HAVE__HYPOT 1
68174_ACEOF
68175
68176fi
68177done
68178
68179    fi
68180  fi
68181
68182
68183
68184
68185
68186    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
68187$as_echo_n "checking for float trig functions... " >&6; }
68188  if ${glibcxx_cv_func_float_trig_use+:} false; then :
68189  $as_echo_n "(cached) " >&6
68190else
68191
68192
68193    ac_ext=cpp
68194ac_cpp='$CXXCPP $CPPFLAGS'
68195ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68196ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68197ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68198
68199    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68200/* end confdefs.h.  */
68201#include <math.h>
68202int
68203main ()
68204{
68205acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68206  ;
68207  return 0;
68208}
68209_ACEOF
68210if ac_fn_cxx_try_compile "$LINENO"; then :
68211  glibcxx_cv_func_float_trig_use=yes
68212else
68213  glibcxx_cv_func_float_trig_use=no
68214fi
68215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68216    ac_ext=c
68217ac_cpp='$CPP $CPPFLAGS'
68218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68220ac_compiler_gnu=$ac_cv_c_compiler_gnu
68221
68222fi
68223
68224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
68225$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
68226  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68227    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68228do :
68229  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68230ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68231if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68232  cat >>confdefs.h <<_ACEOF
68233#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68234_ACEOF
68235
68236fi
68237done
68238
68239  else
68240    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
68241$as_echo_n "checking for _float trig functions... " >&6; }
68242    if ${glibcxx_cv_func__float_trig_use+:} false; then :
68243  $as_echo_n "(cached) " >&6
68244else
68245
68246
68247      ac_ext=cpp
68248ac_cpp='$CXXCPP $CPPFLAGS'
68249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68252
68253      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68254/* end confdefs.h.  */
68255#include <math.h>
68256int
68257main ()
68258{
68259_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68260  ;
68261  return 0;
68262}
68263_ACEOF
68264if ac_fn_cxx_try_compile "$LINENO"; then :
68265  glibcxx_cv_func__float_trig_use=yes
68266else
68267  glibcxx_cv_func__float_trig_use=no
68268fi
68269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68270      ac_ext=c
68271ac_cpp='$CPP $CPPFLAGS'
68272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68274ac_compiler_gnu=$ac_cv_c_compiler_gnu
68275
68276fi
68277
68278    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
68279$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
68280    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68281      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68282do :
68283  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68284ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68285if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68286  cat >>confdefs.h <<_ACEOF
68287#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68288_ACEOF
68289
68290fi
68291done
68292
68293    fi
68294  fi
68295
68296
68297
68298
68299
68300    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68301$as_echo_n "checking for float round functions... " >&6; }
68302  if ${glibcxx_cv_func_float_round_use+:} false; then :
68303  $as_echo_n "(cached) " >&6
68304else
68305
68306
68307    ac_ext=cpp
68308ac_cpp='$CXXCPP $CPPFLAGS'
68309ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68310ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68311ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68312
68313    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68314/* end confdefs.h.  */
68315#include <math.h>
68316int
68317main ()
68318{
68319ceilf (0); floorf (0);
68320  ;
68321  return 0;
68322}
68323_ACEOF
68324if ac_fn_cxx_try_compile "$LINENO"; then :
68325  glibcxx_cv_func_float_round_use=yes
68326else
68327  glibcxx_cv_func_float_round_use=no
68328fi
68329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68330    ac_ext=c
68331ac_cpp='$CPP $CPPFLAGS'
68332ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68333ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68334ac_compiler_gnu=$ac_cv_c_compiler_gnu
68335
68336fi
68337
68338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68339$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68340  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68341    for ac_func in ceilf floorf
68342do :
68343  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68344ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68345if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68346  cat >>confdefs.h <<_ACEOF
68347#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68348_ACEOF
68349
68350fi
68351done
68352
68353  else
68354    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68355$as_echo_n "checking for _float round functions... " >&6; }
68356    if ${glibcxx_cv_func__float_round_use+:} false; then :
68357  $as_echo_n "(cached) " >&6
68358else
68359
68360
68361      ac_ext=cpp
68362ac_cpp='$CXXCPP $CPPFLAGS'
68363ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68364ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68365ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68366
68367      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68368/* end confdefs.h.  */
68369#include <math.h>
68370int
68371main ()
68372{
68373_ceilf (0); _floorf (0);
68374  ;
68375  return 0;
68376}
68377_ACEOF
68378if ac_fn_cxx_try_compile "$LINENO"; then :
68379  glibcxx_cv_func__float_round_use=yes
68380else
68381  glibcxx_cv_func__float_round_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
68390fi
68391
68392    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68393$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68394    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68395      for ac_func in _ceilf _floorf
68396do :
68397  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68398ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68399if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68400  cat >>confdefs.h <<_ACEOF
68401#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68402_ACEOF
68403
68404fi
68405done
68406
68407    fi
68408  fi
68409
68410
68411
68412
68413
68414
68415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68416$as_echo_n "checking for expf declaration... " >&6; }
68417  if test x${glibcxx_cv_func_expf_use+set} != xset; then
68418    if ${glibcxx_cv_func_expf_use+:} false; then :
68419  $as_echo_n "(cached) " >&6
68420else
68421
68422
68423      ac_ext=cpp
68424ac_cpp='$CXXCPP $CPPFLAGS'
68425ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68426ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68427ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68428
68429      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68430/* end confdefs.h.  */
68431#include <math.h>
68432		      #ifdef HAVE_IEEEFP_H
68433		      #include <ieeefp.h>
68434		      #endif
68435
68436int
68437main ()
68438{
68439 expf(0);
68440  ;
68441  return 0;
68442}
68443_ACEOF
68444if ac_fn_cxx_try_compile "$LINENO"; then :
68445  glibcxx_cv_func_expf_use=yes
68446else
68447  glibcxx_cv_func_expf_use=no
68448fi
68449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68450      ac_ext=c
68451ac_cpp='$CPP $CPPFLAGS'
68452ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68453ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68454ac_compiler_gnu=$ac_cv_c_compiler_gnu
68455
68456
68457fi
68458
68459  fi
68460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68461$as_echo "$glibcxx_cv_func_expf_use" >&6; }
68462
68463  if test x$glibcxx_cv_func_expf_use = x"yes"; then
68464    for ac_func in expf
68465do :
68466  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68467if test "x$ac_cv_func_expf" = xyes; then :
68468  cat >>confdefs.h <<_ACEOF
68469#define HAVE_EXPF 1
68470_ACEOF
68471
68472fi
68473done
68474
68475  else
68476
68477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68478$as_echo_n "checking for _expf declaration... " >&6; }
68479  if test x${glibcxx_cv_func__expf_use+set} != xset; then
68480    if ${glibcxx_cv_func__expf_use+:} false; then :
68481  $as_echo_n "(cached) " >&6
68482else
68483
68484
68485      ac_ext=cpp
68486ac_cpp='$CXXCPP $CPPFLAGS'
68487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68490
68491      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68492/* end confdefs.h.  */
68493#include <math.h>
68494		      #ifdef HAVE_IEEEFP_H
68495		      #include <ieeefp.h>
68496		      #endif
68497
68498int
68499main ()
68500{
68501 _expf(0);
68502  ;
68503  return 0;
68504}
68505_ACEOF
68506if ac_fn_cxx_try_compile "$LINENO"; then :
68507  glibcxx_cv_func__expf_use=yes
68508else
68509  glibcxx_cv_func__expf_use=no
68510fi
68511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68512      ac_ext=c
68513ac_cpp='$CPP $CPPFLAGS'
68514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68516ac_compiler_gnu=$ac_cv_c_compiler_gnu
68517
68518
68519fi
68520
68521  fi
68522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68523$as_echo "$glibcxx_cv_func__expf_use" >&6; }
68524
68525    if test x$glibcxx_cv_func__expf_use = x"yes"; then
68526      for ac_func in _expf
68527do :
68528  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68529if test "x$ac_cv_func__expf" = xyes; then :
68530  cat >>confdefs.h <<_ACEOF
68531#define HAVE__EXPF 1
68532_ACEOF
68533
68534fi
68535done
68536
68537    fi
68538  fi
68539
68540
68541
68542
68543
68544  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68545$as_echo_n "checking for isnanf declaration... " >&6; }
68546  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68547    if ${glibcxx_cv_func_isnanf_use+:} false; then :
68548  $as_echo_n "(cached) " >&6
68549else
68550
68551
68552      ac_ext=cpp
68553ac_cpp='$CXXCPP $CPPFLAGS'
68554ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68555ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68556ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68557
68558      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68559/* end confdefs.h.  */
68560#include <math.h>
68561		      #ifdef HAVE_IEEEFP_H
68562		      #include <ieeefp.h>
68563		      #endif
68564
68565int
68566main ()
68567{
68568 isnanf(0);
68569  ;
68570  return 0;
68571}
68572_ACEOF
68573if ac_fn_cxx_try_compile "$LINENO"; then :
68574  glibcxx_cv_func_isnanf_use=yes
68575else
68576  glibcxx_cv_func_isnanf_use=no
68577fi
68578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68579      ac_ext=c
68580ac_cpp='$CPP $CPPFLAGS'
68581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68583ac_compiler_gnu=$ac_cv_c_compiler_gnu
68584
68585
68586fi
68587
68588  fi
68589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68590$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68591
68592  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68593    for ac_func in isnanf
68594do :
68595  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68596if test "x$ac_cv_func_isnanf" = xyes; then :
68597  cat >>confdefs.h <<_ACEOF
68598#define HAVE_ISNANF 1
68599_ACEOF
68600
68601fi
68602done
68603
68604  else
68605
68606  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68607$as_echo_n "checking for _isnanf declaration... " >&6; }
68608  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68609    if ${glibcxx_cv_func__isnanf_use+:} false; then :
68610  $as_echo_n "(cached) " >&6
68611else
68612
68613
68614      ac_ext=cpp
68615ac_cpp='$CXXCPP $CPPFLAGS'
68616ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68617ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68618ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68619
68620      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68621/* end confdefs.h.  */
68622#include <math.h>
68623		      #ifdef HAVE_IEEEFP_H
68624		      #include <ieeefp.h>
68625		      #endif
68626
68627int
68628main ()
68629{
68630 _isnanf(0);
68631  ;
68632  return 0;
68633}
68634_ACEOF
68635if ac_fn_cxx_try_compile "$LINENO"; then :
68636  glibcxx_cv_func__isnanf_use=yes
68637else
68638  glibcxx_cv_func__isnanf_use=no
68639fi
68640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68641      ac_ext=c
68642ac_cpp='$CPP $CPPFLAGS'
68643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68645ac_compiler_gnu=$ac_cv_c_compiler_gnu
68646
68647
68648fi
68649
68650  fi
68651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68652$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68653
68654    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68655      for ac_func in _isnanf
68656do :
68657  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68658if test "x$ac_cv_func__isnanf" = xyes; then :
68659  cat >>confdefs.h <<_ACEOF
68660#define HAVE__ISNANF 1
68661_ACEOF
68662
68663fi
68664done
68665
68666    fi
68667  fi
68668
68669
68670
68671
68672
68673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68674$as_echo_n "checking for isinff declaration... " >&6; }
68675  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68676    if ${glibcxx_cv_func_isinff_use+:} false; then :
68677  $as_echo_n "(cached) " >&6
68678else
68679
68680
68681      ac_ext=cpp
68682ac_cpp='$CXXCPP $CPPFLAGS'
68683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68686
68687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68688/* end confdefs.h.  */
68689#include <math.h>
68690		      #ifdef HAVE_IEEEFP_H
68691		      #include <ieeefp.h>
68692		      #endif
68693
68694int
68695main ()
68696{
68697 isinff(0);
68698  ;
68699  return 0;
68700}
68701_ACEOF
68702if ac_fn_cxx_try_compile "$LINENO"; then :
68703  glibcxx_cv_func_isinff_use=yes
68704else
68705  glibcxx_cv_func_isinff_use=no
68706fi
68707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68708      ac_ext=c
68709ac_cpp='$CPP $CPPFLAGS'
68710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68712ac_compiler_gnu=$ac_cv_c_compiler_gnu
68713
68714
68715fi
68716
68717  fi
68718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68719$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68720
68721  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68722    for ac_func in isinff
68723do :
68724  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68725if test "x$ac_cv_func_isinff" = xyes; then :
68726  cat >>confdefs.h <<_ACEOF
68727#define HAVE_ISINFF 1
68728_ACEOF
68729
68730fi
68731done
68732
68733  else
68734
68735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68736$as_echo_n "checking for _isinff declaration... " >&6; }
68737  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68738    if ${glibcxx_cv_func__isinff_use+:} false; then :
68739  $as_echo_n "(cached) " >&6
68740else
68741
68742
68743      ac_ext=cpp
68744ac_cpp='$CXXCPP $CPPFLAGS'
68745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68748
68749      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68750/* end confdefs.h.  */
68751#include <math.h>
68752		      #ifdef HAVE_IEEEFP_H
68753		      #include <ieeefp.h>
68754		      #endif
68755
68756int
68757main ()
68758{
68759 _isinff(0);
68760  ;
68761  return 0;
68762}
68763_ACEOF
68764if ac_fn_cxx_try_compile "$LINENO"; then :
68765  glibcxx_cv_func__isinff_use=yes
68766else
68767  glibcxx_cv_func__isinff_use=no
68768fi
68769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68770      ac_ext=c
68771ac_cpp='$CPP $CPPFLAGS'
68772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68774ac_compiler_gnu=$ac_cv_c_compiler_gnu
68775
68776
68777fi
68778
68779  fi
68780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68781$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68782
68783    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68784      for ac_func in _isinff
68785do :
68786  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68787if test "x$ac_cv_func__isinff" = xyes; then :
68788  cat >>confdefs.h <<_ACEOF
68789#define HAVE__ISINFF 1
68790_ACEOF
68791
68792fi
68793done
68794
68795    fi
68796  fi
68797
68798
68799
68800
68801
68802  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68803$as_echo_n "checking for atan2f declaration... " >&6; }
68804  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68805    if ${glibcxx_cv_func_atan2f_use+:} false; then :
68806  $as_echo_n "(cached) " >&6
68807else
68808
68809
68810      ac_ext=cpp
68811ac_cpp='$CXXCPP $CPPFLAGS'
68812ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68813ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68814ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68815
68816      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68817/* end confdefs.h.  */
68818#include <math.h>
68819int
68820main ()
68821{
68822 atan2f(0, 0);
68823  ;
68824  return 0;
68825}
68826_ACEOF
68827if ac_fn_cxx_try_compile "$LINENO"; then :
68828  glibcxx_cv_func_atan2f_use=yes
68829else
68830  glibcxx_cv_func_atan2f_use=no
68831fi
68832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68833      ac_ext=c
68834ac_cpp='$CPP $CPPFLAGS'
68835ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68836ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68837ac_compiler_gnu=$ac_cv_c_compiler_gnu
68838
68839
68840fi
68841
68842  fi
68843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68844$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68845
68846  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68847    for ac_func in atan2f
68848do :
68849  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68850if test "x$ac_cv_func_atan2f" = xyes; then :
68851  cat >>confdefs.h <<_ACEOF
68852#define HAVE_ATAN2F 1
68853_ACEOF
68854
68855fi
68856done
68857
68858  else
68859
68860  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68861$as_echo_n "checking for _atan2f declaration... " >&6; }
68862  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68863    if ${glibcxx_cv_func__atan2f_use+:} false; then :
68864  $as_echo_n "(cached) " >&6
68865else
68866
68867
68868      ac_ext=cpp
68869ac_cpp='$CXXCPP $CPPFLAGS'
68870ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68871ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68872ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68873
68874      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68875/* end confdefs.h.  */
68876#include <math.h>
68877int
68878main ()
68879{
68880 _atan2f(0, 0);
68881  ;
68882  return 0;
68883}
68884_ACEOF
68885if ac_fn_cxx_try_compile "$LINENO"; then :
68886  glibcxx_cv_func__atan2f_use=yes
68887else
68888  glibcxx_cv_func__atan2f_use=no
68889fi
68890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68891      ac_ext=c
68892ac_cpp='$CPP $CPPFLAGS'
68893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68895ac_compiler_gnu=$ac_cv_c_compiler_gnu
68896
68897
68898fi
68899
68900  fi
68901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68902$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68903
68904    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68905      for ac_func in _atan2f
68906do :
68907  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68908if test "x$ac_cv_func__atan2f" = xyes; then :
68909  cat >>confdefs.h <<_ACEOF
68910#define HAVE__ATAN2F 1
68911_ACEOF
68912
68913fi
68914done
68915
68916    fi
68917  fi
68918
68919
68920
68921
68922
68923  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68924$as_echo_n "checking for fabsf declaration... " >&6; }
68925  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68926    if ${glibcxx_cv_func_fabsf_use+:} false; then :
68927  $as_echo_n "(cached) " >&6
68928else
68929
68930
68931      ac_ext=cpp
68932ac_cpp='$CXXCPP $CPPFLAGS'
68933ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68934ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68935ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68936
68937      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68938/* end confdefs.h.  */
68939#include <math.h>
68940		      #ifdef HAVE_IEEEFP_H
68941		      #include <ieeefp.h>
68942		      #endif
68943
68944int
68945main ()
68946{
68947 fabsf(0);
68948  ;
68949  return 0;
68950}
68951_ACEOF
68952if ac_fn_cxx_try_compile "$LINENO"; then :
68953  glibcxx_cv_func_fabsf_use=yes
68954else
68955  glibcxx_cv_func_fabsf_use=no
68956fi
68957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68958      ac_ext=c
68959ac_cpp='$CPP $CPPFLAGS'
68960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68962ac_compiler_gnu=$ac_cv_c_compiler_gnu
68963
68964
68965fi
68966
68967  fi
68968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68969$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68970
68971  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68972    for ac_func in fabsf
68973do :
68974  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68975if test "x$ac_cv_func_fabsf" = xyes; then :
68976  cat >>confdefs.h <<_ACEOF
68977#define HAVE_FABSF 1
68978_ACEOF
68979
68980fi
68981done
68982
68983  else
68984
68985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68986$as_echo_n "checking for _fabsf declaration... " >&6; }
68987  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68988    if ${glibcxx_cv_func__fabsf_use+:} false; then :
68989  $as_echo_n "(cached) " >&6
68990else
68991
68992
68993      ac_ext=cpp
68994ac_cpp='$CXXCPP $CPPFLAGS'
68995ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68996ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68997ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68998
68999      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69000/* end confdefs.h.  */
69001#include <math.h>
69002		      #ifdef HAVE_IEEEFP_H
69003		      #include <ieeefp.h>
69004		      #endif
69005
69006int
69007main ()
69008{
69009 _fabsf(0);
69010  ;
69011  return 0;
69012}
69013_ACEOF
69014if ac_fn_cxx_try_compile "$LINENO"; then :
69015  glibcxx_cv_func__fabsf_use=yes
69016else
69017  glibcxx_cv_func__fabsf_use=no
69018fi
69019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69020      ac_ext=c
69021ac_cpp='$CPP $CPPFLAGS'
69022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69024ac_compiler_gnu=$ac_cv_c_compiler_gnu
69025
69026
69027fi
69028
69029  fi
69030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
69031$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
69032
69033    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69034      for ac_func in _fabsf
69035do :
69036  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
69037if test "x$ac_cv_func__fabsf" = xyes; then :
69038  cat >>confdefs.h <<_ACEOF
69039#define HAVE__FABSF 1
69040_ACEOF
69041
69042fi
69043done
69044
69045    fi
69046  fi
69047
69048
69049
69050
69051
69052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
69053$as_echo_n "checking for fmodf declaration... " >&6; }
69054  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69055    if ${glibcxx_cv_func_fmodf_use+:} false; then :
69056  $as_echo_n "(cached) " >&6
69057else
69058
69059
69060      ac_ext=cpp
69061ac_cpp='$CXXCPP $CPPFLAGS'
69062ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69063ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69064ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69065
69066      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69067/* end confdefs.h.  */
69068#include <math.h>
69069int
69070main ()
69071{
69072 fmodf(0, 0);
69073  ;
69074  return 0;
69075}
69076_ACEOF
69077if ac_fn_cxx_try_compile "$LINENO"; then :
69078  glibcxx_cv_func_fmodf_use=yes
69079else
69080  glibcxx_cv_func_fmodf_use=no
69081fi
69082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69083      ac_ext=c
69084ac_cpp='$CPP $CPPFLAGS'
69085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69087ac_compiler_gnu=$ac_cv_c_compiler_gnu
69088
69089
69090fi
69091
69092  fi
69093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
69094$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
69095
69096  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69097    for ac_func in fmodf
69098do :
69099  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
69100if test "x$ac_cv_func_fmodf" = xyes; then :
69101  cat >>confdefs.h <<_ACEOF
69102#define HAVE_FMODF 1
69103_ACEOF
69104
69105fi
69106done
69107
69108  else
69109
69110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
69111$as_echo_n "checking for _fmodf declaration... " >&6; }
69112  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69113    if ${glibcxx_cv_func__fmodf_use+:} false; then :
69114  $as_echo_n "(cached) " >&6
69115else
69116
69117
69118      ac_ext=cpp
69119ac_cpp='$CXXCPP $CPPFLAGS'
69120ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69121ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69122ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69123
69124      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69125/* end confdefs.h.  */
69126#include <math.h>
69127int
69128main ()
69129{
69130 _fmodf(0, 0);
69131  ;
69132  return 0;
69133}
69134_ACEOF
69135if ac_fn_cxx_try_compile "$LINENO"; then :
69136  glibcxx_cv_func__fmodf_use=yes
69137else
69138  glibcxx_cv_func__fmodf_use=no
69139fi
69140rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69141      ac_ext=c
69142ac_cpp='$CPP $CPPFLAGS'
69143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69145ac_compiler_gnu=$ac_cv_c_compiler_gnu
69146
69147
69148fi
69149
69150  fi
69151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
69152$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
69153
69154    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69155      for ac_func in _fmodf
69156do :
69157  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
69158if test "x$ac_cv_func__fmodf" = xyes; then :
69159  cat >>confdefs.h <<_ACEOF
69160#define HAVE__FMODF 1
69161_ACEOF
69162
69163fi
69164done
69165
69166    fi
69167  fi
69168
69169
69170
69171
69172
69173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
69174$as_echo_n "checking for frexpf declaration... " >&6; }
69175  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69176    if ${glibcxx_cv_func_frexpf_use+:} false; then :
69177  $as_echo_n "(cached) " >&6
69178else
69179
69180
69181      ac_ext=cpp
69182ac_cpp='$CXXCPP $CPPFLAGS'
69183ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69184ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69185ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69186
69187      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69188/* end confdefs.h.  */
69189#include <math.h>
69190int
69191main ()
69192{
69193 frexpf(0, 0);
69194  ;
69195  return 0;
69196}
69197_ACEOF
69198if ac_fn_cxx_try_compile "$LINENO"; then :
69199  glibcxx_cv_func_frexpf_use=yes
69200else
69201  glibcxx_cv_func_frexpf_use=no
69202fi
69203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69204      ac_ext=c
69205ac_cpp='$CPP $CPPFLAGS'
69206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69208ac_compiler_gnu=$ac_cv_c_compiler_gnu
69209
69210
69211fi
69212
69213  fi
69214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
69215$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
69216
69217  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69218    for ac_func in frexpf
69219do :
69220  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
69221if test "x$ac_cv_func_frexpf" = xyes; then :
69222  cat >>confdefs.h <<_ACEOF
69223#define HAVE_FREXPF 1
69224_ACEOF
69225
69226fi
69227done
69228
69229  else
69230
69231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
69232$as_echo_n "checking for _frexpf declaration... " >&6; }
69233  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69234    if ${glibcxx_cv_func__frexpf_use+:} false; then :
69235  $as_echo_n "(cached) " >&6
69236else
69237
69238
69239      ac_ext=cpp
69240ac_cpp='$CXXCPP $CPPFLAGS'
69241ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69242ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69243ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69244
69245      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69246/* end confdefs.h.  */
69247#include <math.h>
69248int
69249main ()
69250{
69251 _frexpf(0, 0);
69252  ;
69253  return 0;
69254}
69255_ACEOF
69256if ac_fn_cxx_try_compile "$LINENO"; then :
69257  glibcxx_cv_func__frexpf_use=yes
69258else
69259  glibcxx_cv_func__frexpf_use=no
69260fi
69261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69262      ac_ext=c
69263ac_cpp='$CPP $CPPFLAGS'
69264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69266ac_compiler_gnu=$ac_cv_c_compiler_gnu
69267
69268
69269fi
69270
69271  fi
69272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
69273$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
69274
69275    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69276      for ac_func in _frexpf
69277do :
69278  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
69279if test "x$ac_cv_func__frexpf" = xyes; then :
69280  cat >>confdefs.h <<_ACEOF
69281#define HAVE__FREXPF 1
69282_ACEOF
69283
69284fi
69285done
69286
69287    fi
69288  fi
69289
69290
69291
69292
69293
69294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69295$as_echo_n "checking for hypotf declaration... " >&6; }
69296  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69297    if ${glibcxx_cv_func_hypotf_use+:} false; then :
69298  $as_echo_n "(cached) " >&6
69299else
69300
69301
69302      ac_ext=cpp
69303ac_cpp='$CXXCPP $CPPFLAGS'
69304ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69305ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69306ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69307
69308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69309/* end confdefs.h.  */
69310#include <math.h>
69311int
69312main ()
69313{
69314 hypotf(0, 0);
69315  ;
69316  return 0;
69317}
69318_ACEOF
69319if ac_fn_cxx_try_compile "$LINENO"; then :
69320  glibcxx_cv_func_hypotf_use=yes
69321else
69322  glibcxx_cv_func_hypotf_use=no
69323fi
69324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69325      ac_ext=c
69326ac_cpp='$CPP $CPPFLAGS'
69327ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69328ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69329ac_compiler_gnu=$ac_cv_c_compiler_gnu
69330
69331
69332fi
69333
69334  fi
69335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69336$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69337
69338  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69339    for ac_func in hypotf
69340do :
69341  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69342if test "x$ac_cv_func_hypotf" = xyes; then :
69343  cat >>confdefs.h <<_ACEOF
69344#define HAVE_HYPOTF 1
69345_ACEOF
69346
69347fi
69348done
69349
69350  else
69351
69352  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69353$as_echo_n "checking for _hypotf declaration... " >&6; }
69354  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69355    if ${glibcxx_cv_func__hypotf_use+:} false; then :
69356  $as_echo_n "(cached) " >&6
69357else
69358
69359
69360      ac_ext=cpp
69361ac_cpp='$CXXCPP $CPPFLAGS'
69362ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69363ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69364ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69365
69366      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69367/* end confdefs.h.  */
69368#include <math.h>
69369int
69370main ()
69371{
69372 _hypotf(0, 0);
69373  ;
69374  return 0;
69375}
69376_ACEOF
69377if ac_fn_cxx_try_compile "$LINENO"; then :
69378  glibcxx_cv_func__hypotf_use=yes
69379else
69380  glibcxx_cv_func__hypotf_use=no
69381fi
69382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69383      ac_ext=c
69384ac_cpp='$CPP $CPPFLAGS'
69385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69387ac_compiler_gnu=$ac_cv_c_compiler_gnu
69388
69389
69390fi
69391
69392  fi
69393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69394$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69395
69396    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69397      for ac_func in _hypotf
69398do :
69399  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69400if test "x$ac_cv_func__hypotf" = xyes; then :
69401  cat >>confdefs.h <<_ACEOF
69402#define HAVE__HYPOTF 1
69403_ACEOF
69404
69405fi
69406done
69407
69408    fi
69409  fi
69410
69411
69412
69413
69414
69415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69416$as_echo_n "checking for ldexpf declaration... " >&6; }
69417  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69418    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69419  $as_echo_n "(cached) " >&6
69420else
69421
69422
69423      ac_ext=cpp
69424ac_cpp='$CXXCPP $CPPFLAGS'
69425ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69426ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69427ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69428
69429      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69430/* end confdefs.h.  */
69431#include <math.h>
69432int
69433main ()
69434{
69435 ldexpf(0, 0);
69436  ;
69437  return 0;
69438}
69439_ACEOF
69440if ac_fn_cxx_try_compile "$LINENO"; then :
69441  glibcxx_cv_func_ldexpf_use=yes
69442else
69443  glibcxx_cv_func_ldexpf_use=no
69444fi
69445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69446      ac_ext=c
69447ac_cpp='$CPP $CPPFLAGS'
69448ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69449ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69450ac_compiler_gnu=$ac_cv_c_compiler_gnu
69451
69452
69453fi
69454
69455  fi
69456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69457$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69458
69459  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69460    for ac_func in ldexpf
69461do :
69462  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69463if test "x$ac_cv_func_ldexpf" = xyes; then :
69464  cat >>confdefs.h <<_ACEOF
69465#define HAVE_LDEXPF 1
69466_ACEOF
69467
69468fi
69469done
69470
69471  else
69472
69473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69474$as_echo_n "checking for _ldexpf declaration... " >&6; }
69475  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69476    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69477  $as_echo_n "(cached) " >&6
69478else
69479
69480
69481      ac_ext=cpp
69482ac_cpp='$CXXCPP $CPPFLAGS'
69483ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69484ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69485ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69486
69487      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69488/* end confdefs.h.  */
69489#include <math.h>
69490int
69491main ()
69492{
69493 _ldexpf(0, 0);
69494  ;
69495  return 0;
69496}
69497_ACEOF
69498if ac_fn_cxx_try_compile "$LINENO"; then :
69499  glibcxx_cv_func__ldexpf_use=yes
69500else
69501  glibcxx_cv_func__ldexpf_use=no
69502fi
69503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69504      ac_ext=c
69505ac_cpp='$CPP $CPPFLAGS'
69506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69508ac_compiler_gnu=$ac_cv_c_compiler_gnu
69509
69510
69511fi
69512
69513  fi
69514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69515$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69516
69517    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69518      for ac_func in _ldexpf
69519do :
69520  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69521if test "x$ac_cv_func__ldexpf" = xyes; then :
69522  cat >>confdefs.h <<_ACEOF
69523#define HAVE__LDEXPF 1
69524_ACEOF
69525
69526fi
69527done
69528
69529    fi
69530  fi
69531
69532
69533
69534
69535
69536  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69537$as_echo_n "checking for logf declaration... " >&6; }
69538  if test x${glibcxx_cv_func_logf_use+set} != xset; then
69539    if ${glibcxx_cv_func_logf_use+:} false; then :
69540  $as_echo_n "(cached) " >&6
69541else
69542
69543
69544      ac_ext=cpp
69545ac_cpp='$CXXCPP $CPPFLAGS'
69546ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69547ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69548ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69549
69550      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69551/* end confdefs.h.  */
69552#include <math.h>
69553		      #ifdef HAVE_IEEEFP_H
69554		      #include <ieeefp.h>
69555		      #endif
69556
69557int
69558main ()
69559{
69560 logf(0);
69561  ;
69562  return 0;
69563}
69564_ACEOF
69565if ac_fn_cxx_try_compile "$LINENO"; then :
69566  glibcxx_cv_func_logf_use=yes
69567else
69568  glibcxx_cv_func_logf_use=no
69569fi
69570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69571      ac_ext=c
69572ac_cpp='$CPP $CPPFLAGS'
69573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575ac_compiler_gnu=$ac_cv_c_compiler_gnu
69576
69577
69578fi
69579
69580  fi
69581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69582$as_echo "$glibcxx_cv_func_logf_use" >&6; }
69583
69584  if test x$glibcxx_cv_func_logf_use = x"yes"; then
69585    for ac_func in logf
69586do :
69587  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69588if test "x$ac_cv_func_logf" = xyes; then :
69589  cat >>confdefs.h <<_ACEOF
69590#define HAVE_LOGF 1
69591_ACEOF
69592
69593fi
69594done
69595
69596  else
69597
69598  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69599$as_echo_n "checking for _logf declaration... " >&6; }
69600  if test x${glibcxx_cv_func__logf_use+set} != xset; then
69601    if ${glibcxx_cv_func__logf_use+:} false; then :
69602  $as_echo_n "(cached) " >&6
69603else
69604
69605
69606      ac_ext=cpp
69607ac_cpp='$CXXCPP $CPPFLAGS'
69608ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69611
69612      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69613/* end confdefs.h.  */
69614#include <math.h>
69615		      #ifdef HAVE_IEEEFP_H
69616		      #include <ieeefp.h>
69617		      #endif
69618
69619int
69620main ()
69621{
69622 _logf(0);
69623  ;
69624  return 0;
69625}
69626_ACEOF
69627if ac_fn_cxx_try_compile "$LINENO"; then :
69628  glibcxx_cv_func__logf_use=yes
69629else
69630  glibcxx_cv_func__logf_use=no
69631fi
69632rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69633      ac_ext=c
69634ac_cpp='$CPP $CPPFLAGS'
69635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69637ac_compiler_gnu=$ac_cv_c_compiler_gnu
69638
69639
69640fi
69641
69642  fi
69643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69644$as_echo "$glibcxx_cv_func__logf_use" >&6; }
69645
69646    if test x$glibcxx_cv_func__logf_use = x"yes"; then
69647      for ac_func in _logf
69648do :
69649  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69650if test "x$ac_cv_func__logf" = xyes; then :
69651  cat >>confdefs.h <<_ACEOF
69652#define HAVE__LOGF 1
69653_ACEOF
69654
69655fi
69656done
69657
69658    fi
69659  fi
69660
69661
69662
69663
69664
69665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69666$as_echo_n "checking for log10f declaration... " >&6; }
69667  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69668    if ${glibcxx_cv_func_log10f_use+:} false; then :
69669  $as_echo_n "(cached) " >&6
69670else
69671
69672
69673      ac_ext=cpp
69674ac_cpp='$CXXCPP $CPPFLAGS'
69675ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69676ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69677ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69678
69679      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69680/* end confdefs.h.  */
69681#include <math.h>
69682		      #ifdef HAVE_IEEEFP_H
69683		      #include <ieeefp.h>
69684		      #endif
69685
69686int
69687main ()
69688{
69689 log10f(0);
69690  ;
69691  return 0;
69692}
69693_ACEOF
69694if ac_fn_cxx_try_compile "$LINENO"; then :
69695  glibcxx_cv_func_log10f_use=yes
69696else
69697  glibcxx_cv_func_log10f_use=no
69698fi
69699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69700      ac_ext=c
69701ac_cpp='$CPP $CPPFLAGS'
69702ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69703ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69704ac_compiler_gnu=$ac_cv_c_compiler_gnu
69705
69706
69707fi
69708
69709  fi
69710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69711$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69712
69713  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69714    for ac_func in log10f
69715do :
69716  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69717if test "x$ac_cv_func_log10f" = xyes; then :
69718  cat >>confdefs.h <<_ACEOF
69719#define HAVE_LOG10F 1
69720_ACEOF
69721
69722fi
69723done
69724
69725  else
69726
69727  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69728$as_echo_n "checking for _log10f declaration... " >&6; }
69729  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69730    if ${glibcxx_cv_func__log10f_use+:} false; then :
69731  $as_echo_n "(cached) " >&6
69732else
69733
69734
69735      ac_ext=cpp
69736ac_cpp='$CXXCPP $CPPFLAGS'
69737ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69738ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69739ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69740
69741      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69742/* end confdefs.h.  */
69743#include <math.h>
69744		      #ifdef HAVE_IEEEFP_H
69745		      #include <ieeefp.h>
69746		      #endif
69747
69748int
69749main ()
69750{
69751 _log10f(0);
69752  ;
69753  return 0;
69754}
69755_ACEOF
69756if ac_fn_cxx_try_compile "$LINENO"; then :
69757  glibcxx_cv_func__log10f_use=yes
69758else
69759  glibcxx_cv_func__log10f_use=no
69760fi
69761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69762      ac_ext=c
69763ac_cpp='$CPP $CPPFLAGS'
69764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69766ac_compiler_gnu=$ac_cv_c_compiler_gnu
69767
69768
69769fi
69770
69771  fi
69772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69773$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69774
69775    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69776      for ac_func in _log10f
69777do :
69778  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69779if test "x$ac_cv_func__log10f" = xyes; then :
69780  cat >>confdefs.h <<_ACEOF
69781#define HAVE__LOG10F 1
69782_ACEOF
69783
69784fi
69785done
69786
69787    fi
69788  fi
69789
69790
69791
69792
69793
69794  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69795$as_echo_n "checking for modff declaration... " >&6; }
69796  if test x${glibcxx_cv_func_modff_use+set} != xset; then
69797    if ${glibcxx_cv_func_modff_use+:} false; then :
69798  $as_echo_n "(cached) " >&6
69799else
69800
69801
69802      ac_ext=cpp
69803ac_cpp='$CXXCPP $CPPFLAGS'
69804ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69805ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69806ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69807
69808      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69809/* end confdefs.h.  */
69810#include <math.h>
69811int
69812main ()
69813{
69814 modff(0, 0);
69815  ;
69816  return 0;
69817}
69818_ACEOF
69819if ac_fn_cxx_try_compile "$LINENO"; then :
69820  glibcxx_cv_func_modff_use=yes
69821else
69822  glibcxx_cv_func_modff_use=no
69823fi
69824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69825      ac_ext=c
69826ac_cpp='$CPP $CPPFLAGS'
69827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69829ac_compiler_gnu=$ac_cv_c_compiler_gnu
69830
69831
69832fi
69833
69834  fi
69835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69836$as_echo "$glibcxx_cv_func_modff_use" >&6; }
69837
69838  if test x$glibcxx_cv_func_modff_use = x"yes"; then
69839    for ac_func in modff
69840do :
69841  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69842if test "x$ac_cv_func_modff" = xyes; then :
69843  cat >>confdefs.h <<_ACEOF
69844#define HAVE_MODFF 1
69845_ACEOF
69846
69847fi
69848done
69849
69850  else
69851
69852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69853$as_echo_n "checking for _modff declaration... " >&6; }
69854  if test x${glibcxx_cv_func__modff_use+set} != xset; then
69855    if ${glibcxx_cv_func__modff_use+:} false; then :
69856  $as_echo_n "(cached) " >&6
69857else
69858
69859
69860      ac_ext=cpp
69861ac_cpp='$CXXCPP $CPPFLAGS'
69862ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69863ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69864ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69865
69866      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69867/* end confdefs.h.  */
69868#include <math.h>
69869int
69870main ()
69871{
69872 _modff(0, 0);
69873  ;
69874  return 0;
69875}
69876_ACEOF
69877if ac_fn_cxx_try_compile "$LINENO"; then :
69878  glibcxx_cv_func__modff_use=yes
69879else
69880  glibcxx_cv_func__modff_use=no
69881fi
69882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69883      ac_ext=c
69884ac_cpp='$CPP $CPPFLAGS'
69885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69887ac_compiler_gnu=$ac_cv_c_compiler_gnu
69888
69889
69890fi
69891
69892  fi
69893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69894$as_echo "$glibcxx_cv_func__modff_use" >&6; }
69895
69896    if test x$glibcxx_cv_func__modff_use = x"yes"; then
69897      for ac_func in _modff
69898do :
69899  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69900if test "x$ac_cv_func__modff" = xyes; then :
69901  cat >>confdefs.h <<_ACEOF
69902#define HAVE__MODFF 1
69903_ACEOF
69904
69905fi
69906done
69907
69908    fi
69909  fi
69910
69911
69912
69913
69914
69915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69916$as_echo_n "checking for modf declaration... " >&6; }
69917  if test x${glibcxx_cv_func_modf_use+set} != xset; then
69918    if ${glibcxx_cv_func_modf_use+:} false; then :
69919  $as_echo_n "(cached) " >&6
69920else
69921
69922
69923      ac_ext=cpp
69924ac_cpp='$CXXCPP $CPPFLAGS'
69925ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69926ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69927ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69928
69929      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69930/* end confdefs.h.  */
69931#include <math.h>
69932int
69933main ()
69934{
69935 modf(0, 0);
69936  ;
69937  return 0;
69938}
69939_ACEOF
69940if ac_fn_cxx_try_compile "$LINENO"; then :
69941  glibcxx_cv_func_modf_use=yes
69942else
69943  glibcxx_cv_func_modf_use=no
69944fi
69945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69946      ac_ext=c
69947ac_cpp='$CPP $CPPFLAGS'
69948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69950ac_compiler_gnu=$ac_cv_c_compiler_gnu
69951
69952
69953fi
69954
69955  fi
69956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69957$as_echo "$glibcxx_cv_func_modf_use" >&6; }
69958
69959  if test x$glibcxx_cv_func_modf_use = x"yes"; then
69960    for ac_func in modf
69961do :
69962  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69963if test "x$ac_cv_func_modf" = xyes; then :
69964  cat >>confdefs.h <<_ACEOF
69965#define HAVE_MODF 1
69966_ACEOF
69967
69968fi
69969done
69970
69971  else
69972
69973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69974$as_echo_n "checking for _modf declaration... " >&6; }
69975  if test x${glibcxx_cv_func__modf_use+set} != xset; then
69976    if ${glibcxx_cv_func__modf_use+:} false; then :
69977  $as_echo_n "(cached) " >&6
69978else
69979
69980
69981      ac_ext=cpp
69982ac_cpp='$CXXCPP $CPPFLAGS'
69983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69986
69987      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69988/* end confdefs.h.  */
69989#include <math.h>
69990int
69991main ()
69992{
69993 _modf(0, 0);
69994  ;
69995  return 0;
69996}
69997_ACEOF
69998if ac_fn_cxx_try_compile "$LINENO"; then :
69999  glibcxx_cv_func__modf_use=yes
70000else
70001  glibcxx_cv_func__modf_use=no
70002fi
70003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70004      ac_ext=c
70005ac_cpp='$CPP $CPPFLAGS'
70006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70008ac_compiler_gnu=$ac_cv_c_compiler_gnu
70009
70010
70011fi
70012
70013  fi
70014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
70015$as_echo "$glibcxx_cv_func__modf_use" >&6; }
70016
70017    if test x$glibcxx_cv_func__modf_use = x"yes"; then
70018      for ac_func in _modf
70019do :
70020  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
70021if test "x$ac_cv_func__modf" = xyes; then :
70022  cat >>confdefs.h <<_ACEOF
70023#define HAVE__MODF 1
70024_ACEOF
70025
70026fi
70027done
70028
70029    fi
70030  fi
70031
70032
70033
70034
70035
70036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
70037$as_echo_n "checking for powf declaration... " >&6; }
70038  if test x${glibcxx_cv_func_powf_use+set} != xset; then
70039    if ${glibcxx_cv_func_powf_use+:} false; then :
70040  $as_echo_n "(cached) " >&6
70041else
70042
70043
70044      ac_ext=cpp
70045ac_cpp='$CXXCPP $CPPFLAGS'
70046ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70047ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70048ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70049
70050      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70051/* end confdefs.h.  */
70052#include <math.h>
70053int
70054main ()
70055{
70056 powf(0, 0);
70057  ;
70058  return 0;
70059}
70060_ACEOF
70061if ac_fn_cxx_try_compile "$LINENO"; then :
70062  glibcxx_cv_func_powf_use=yes
70063else
70064  glibcxx_cv_func_powf_use=no
70065fi
70066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70067      ac_ext=c
70068ac_cpp='$CPP $CPPFLAGS'
70069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70071ac_compiler_gnu=$ac_cv_c_compiler_gnu
70072
70073
70074fi
70075
70076  fi
70077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
70078$as_echo "$glibcxx_cv_func_powf_use" >&6; }
70079
70080  if test x$glibcxx_cv_func_powf_use = x"yes"; then
70081    for ac_func in powf
70082do :
70083  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
70084if test "x$ac_cv_func_powf" = xyes; then :
70085  cat >>confdefs.h <<_ACEOF
70086#define HAVE_POWF 1
70087_ACEOF
70088
70089fi
70090done
70091
70092  else
70093
70094  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
70095$as_echo_n "checking for _powf declaration... " >&6; }
70096  if test x${glibcxx_cv_func__powf_use+set} != xset; then
70097    if ${glibcxx_cv_func__powf_use+:} false; then :
70098  $as_echo_n "(cached) " >&6
70099else
70100
70101
70102      ac_ext=cpp
70103ac_cpp='$CXXCPP $CPPFLAGS'
70104ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70105ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70106ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70107
70108      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70109/* end confdefs.h.  */
70110#include <math.h>
70111int
70112main ()
70113{
70114 _powf(0, 0);
70115  ;
70116  return 0;
70117}
70118_ACEOF
70119if ac_fn_cxx_try_compile "$LINENO"; then :
70120  glibcxx_cv_func__powf_use=yes
70121else
70122  glibcxx_cv_func__powf_use=no
70123fi
70124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70125      ac_ext=c
70126ac_cpp='$CPP $CPPFLAGS'
70127ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70128ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70129ac_compiler_gnu=$ac_cv_c_compiler_gnu
70130
70131
70132fi
70133
70134  fi
70135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
70136$as_echo "$glibcxx_cv_func__powf_use" >&6; }
70137
70138    if test x$glibcxx_cv_func__powf_use = x"yes"; then
70139      for ac_func in _powf
70140do :
70141  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
70142if test "x$ac_cv_func__powf" = xyes; then :
70143  cat >>confdefs.h <<_ACEOF
70144#define HAVE__POWF 1
70145_ACEOF
70146
70147fi
70148done
70149
70150    fi
70151  fi
70152
70153
70154
70155
70156
70157  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
70158$as_echo_n "checking for sqrtf declaration... " >&6; }
70159  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70160    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
70161  $as_echo_n "(cached) " >&6
70162else
70163
70164
70165      ac_ext=cpp
70166ac_cpp='$CXXCPP $CPPFLAGS'
70167ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70168ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70169ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70170
70171      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70172/* end confdefs.h.  */
70173#include <math.h>
70174		      #ifdef HAVE_IEEEFP_H
70175		      #include <ieeefp.h>
70176		      #endif
70177
70178int
70179main ()
70180{
70181 sqrtf(0);
70182  ;
70183  return 0;
70184}
70185_ACEOF
70186if ac_fn_cxx_try_compile "$LINENO"; then :
70187  glibcxx_cv_func_sqrtf_use=yes
70188else
70189  glibcxx_cv_func_sqrtf_use=no
70190fi
70191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70192      ac_ext=c
70193ac_cpp='$CPP $CPPFLAGS'
70194ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70195ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70196ac_compiler_gnu=$ac_cv_c_compiler_gnu
70197
70198
70199fi
70200
70201  fi
70202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
70203$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
70204
70205  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70206    for ac_func in sqrtf
70207do :
70208  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
70209if test "x$ac_cv_func_sqrtf" = xyes; then :
70210  cat >>confdefs.h <<_ACEOF
70211#define HAVE_SQRTF 1
70212_ACEOF
70213
70214fi
70215done
70216
70217  else
70218
70219  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
70220$as_echo_n "checking for _sqrtf declaration... " >&6; }
70221  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70222    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
70223  $as_echo_n "(cached) " >&6
70224else
70225
70226
70227      ac_ext=cpp
70228ac_cpp='$CXXCPP $CPPFLAGS'
70229ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70230ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70231ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70232
70233      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70234/* end confdefs.h.  */
70235#include <math.h>
70236		      #ifdef HAVE_IEEEFP_H
70237		      #include <ieeefp.h>
70238		      #endif
70239
70240int
70241main ()
70242{
70243 _sqrtf(0);
70244  ;
70245  return 0;
70246}
70247_ACEOF
70248if ac_fn_cxx_try_compile "$LINENO"; then :
70249  glibcxx_cv_func__sqrtf_use=yes
70250else
70251  glibcxx_cv_func__sqrtf_use=no
70252fi
70253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70254      ac_ext=c
70255ac_cpp='$CPP $CPPFLAGS'
70256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70258ac_compiler_gnu=$ac_cv_c_compiler_gnu
70259
70260
70261fi
70262
70263  fi
70264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
70265$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
70266
70267    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70268      for ac_func in _sqrtf
70269do :
70270  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
70271if test "x$ac_cv_func__sqrtf" = xyes; then :
70272  cat >>confdefs.h <<_ACEOF
70273#define HAVE__SQRTF 1
70274_ACEOF
70275
70276fi
70277done
70278
70279    fi
70280  fi
70281
70282
70283
70284
70285
70286  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
70287$as_echo_n "checking for sincosf declaration... " >&6; }
70288  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70289    if ${glibcxx_cv_func_sincosf_use+:} false; then :
70290  $as_echo_n "(cached) " >&6
70291else
70292
70293
70294      ac_ext=cpp
70295ac_cpp='$CXXCPP $CPPFLAGS'
70296ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70299
70300      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70301/* end confdefs.h.  */
70302#include <math.h>
70303int
70304main ()
70305{
70306 sincosf(0, 0, 0);
70307  ;
70308  return 0;
70309}
70310_ACEOF
70311if ac_fn_cxx_try_compile "$LINENO"; then :
70312  glibcxx_cv_func_sincosf_use=yes
70313else
70314  glibcxx_cv_func_sincosf_use=no
70315fi
70316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70317      ac_ext=c
70318ac_cpp='$CPP $CPPFLAGS'
70319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70321ac_compiler_gnu=$ac_cv_c_compiler_gnu
70322
70323
70324fi
70325
70326  fi
70327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70328$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70329
70330  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70331    for ac_func in sincosf
70332do :
70333  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70334if test "x$ac_cv_func_sincosf" = xyes; then :
70335  cat >>confdefs.h <<_ACEOF
70336#define HAVE_SINCOSF 1
70337_ACEOF
70338
70339fi
70340done
70341
70342  else
70343
70344  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70345$as_echo_n "checking for _sincosf declaration... " >&6; }
70346  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70347    if ${glibcxx_cv_func__sincosf_use+:} false; then :
70348  $as_echo_n "(cached) " >&6
70349else
70350
70351
70352      ac_ext=cpp
70353ac_cpp='$CXXCPP $CPPFLAGS'
70354ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70355ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70356ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70357
70358      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70359/* end confdefs.h.  */
70360#include <math.h>
70361int
70362main ()
70363{
70364 _sincosf(0, 0, 0);
70365  ;
70366  return 0;
70367}
70368_ACEOF
70369if ac_fn_cxx_try_compile "$LINENO"; then :
70370  glibcxx_cv_func__sincosf_use=yes
70371else
70372  glibcxx_cv_func__sincosf_use=no
70373fi
70374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70375      ac_ext=c
70376ac_cpp='$CPP $CPPFLAGS'
70377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70379ac_compiler_gnu=$ac_cv_c_compiler_gnu
70380
70381
70382fi
70383
70384  fi
70385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70386$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70387
70388    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70389      for ac_func in _sincosf
70390do :
70391  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70392if test "x$ac_cv_func__sincosf" = xyes; then :
70393  cat >>confdefs.h <<_ACEOF
70394#define HAVE__SINCOSF 1
70395_ACEOF
70396
70397fi
70398done
70399
70400    fi
70401  fi
70402
70403
70404
70405
70406
70407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70408$as_echo_n "checking for finitef declaration... " >&6; }
70409  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70410    if ${glibcxx_cv_func_finitef_use+:} false; then :
70411  $as_echo_n "(cached) " >&6
70412else
70413
70414
70415      ac_ext=cpp
70416ac_cpp='$CXXCPP $CPPFLAGS'
70417ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70420
70421      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70422/* end confdefs.h.  */
70423#include <math.h>
70424		      #ifdef HAVE_IEEEFP_H
70425		      #include <ieeefp.h>
70426		      #endif
70427
70428int
70429main ()
70430{
70431 finitef(0);
70432  ;
70433  return 0;
70434}
70435_ACEOF
70436if ac_fn_cxx_try_compile "$LINENO"; then :
70437  glibcxx_cv_func_finitef_use=yes
70438else
70439  glibcxx_cv_func_finitef_use=no
70440fi
70441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70442      ac_ext=c
70443ac_cpp='$CPP $CPPFLAGS'
70444ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70445ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70446ac_compiler_gnu=$ac_cv_c_compiler_gnu
70447
70448
70449fi
70450
70451  fi
70452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70453$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70454
70455  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70456    for ac_func in finitef
70457do :
70458  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70459if test "x$ac_cv_func_finitef" = xyes; then :
70460  cat >>confdefs.h <<_ACEOF
70461#define HAVE_FINITEF 1
70462_ACEOF
70463
70464fi
70465done
70466
70467  else
70468
70469  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70470$as_echo_n "checking for _finitef declaration... " >&6; }
70471  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70472    if ${glibcxx_cv_func__finitef_use+:} false; then :
70473  $as_echo_n "(cached) " >&6
70474else
70475
70476
70477      ac_ext=cpp
70478ac_cpp='$CXXCPP $CPPFLAGS'
70479ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70480ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70481ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70482
70483      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70484/* end confdefs.h.  */
70485#include <math.h>
70486		      #ifdef HAVE_IEEEFP_H
70487		      #include <ieeefp.h>
70488		      #endif
70489
70490int
70491main ()
70492{
70493 _finitef(0);
70494  ;
70495  return 0;
70496}
70497_ACEOF
70498if ac_fn_cxx_try_compile "$LINENO"; then :
70499  glibcxx_cv_func__finitef_use=yes
70500else
70501  glibcxx_cv_func__finitef_use=no
70502fi
70503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70504      ac_ext=c
70505ac_cpp='$CPP $CPPFLAGS'
70506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70508ac_compiler_gnu=$ac_cv_c_compiler_gnu
70509
70510
70511fi
70512
70513  fi
70514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70515$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70516
70517    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70518      for ac_func in _finitef
70519do :
70520  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70521if test "x$ac_cv_func__finitef" = xyes; then :
70522  cat >>confdefs.h <<_ACEOF
70523#define HAVE__FINITEF 1
70524_ACEOF
70525
70526fi
70527done
70528
70529    fi
70530  fi
70531
70532
70533
70534
70535
70536    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70537$as_echo_n "checking for long double trig functions... " >&6; }
70538  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70539  $as_echo_n "(cached) " >&6
70540else
70541
70542
70543    ac_ext=cpp
70544ac_cpp='$CXXCPP $CPPFLAGS'
70545ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70546ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70547ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70548
70549    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70550/* end confdefs.h.  */
70551#include <math.h>
70552int
70553main ()
70554{
70555acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70556  ;
70557  return 0;
70558}
70559_ACEOF
70560if ac_fn_cxx_try_compile "$LINENO"; then :
70561  glibcxx_cv_func_long_double_trig_use=yes
70562else
70563  glibcxx_cv_func_long_double_trig_use=no
70564fi
70565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70566    ac_ext=c
70567ac_cpp='$CPP $CPPFLAGS'
70568ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70569ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70570ac_compiler_gnu=$ac_cv_c_compiler_gnu
70571
70572fi
70573
70574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70575$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70576  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70577    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70578do :
70579  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70580ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70581if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70582  cat >>confdefs.h <<_ACEOF
70583#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70584_ACEOF
70585
70586fi
70587done
70588
70589  else
70590    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70591$as_echo_n "checking for _long double trig functions... " >&6; }
70592    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70593  $as_echo_n "(cached) " >&6
70594else
70595
70596
70597      ac_ext=cpp
70598ac_cpp='$CXXCPP $CPPFLAGS'
70599ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70600ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70601ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70602
70603      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70604/* end confdefs.h.  */
70605#include <math.h>
70606int
70607main ()
70608{
70609_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70610  ;
70611  return 0;
70612}
70613_ACEOF
70614if ac_fn_cxx_try_compile "$LINENO"; then :
70615  glibcxx_cv_func__long_double_trig_use=yes
70616else
70617  glibcxx_cv_func__long_double_trig_use=no
70618fi
70619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70620      ac_ext=c
70621ac_cpp='$CPP $CPPFLAGS'
70622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70624ac_compiler_gnu=$ac_cv_c_compiler_gnu
70625
70626fi
70627
70628    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70629$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70630    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70631      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70632do :
70633  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70634ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70635if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70636  cat >>confdefs.h <<_ACEOF
70637#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70638_ACEOF
70639
70640fi
70641done
70642
70643    fi
70644  fi
70645
70646
70647
70648
70649
70650    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70651$as_echo_n "checking for long double round functions... " >&6; }
70652  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70653  $as_echo_n "(cached) " >&6
70654else
70655
70656
70657    ac_ext=cpp
70658ac_cpp='$CXXCPP $CPPFLAGS'
70659ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70660ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70661ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70662
70663    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70664/* end confdefs.h.  */
70665#include <math.h>
70666int
70667main ()
70668{
70669ceill (0); floorl (0);
70670  ;
70671  return 0;
70672}
70673_ACEOF
70674if ac_fn_cxx_try_compile "$LINENO"; then :
70675  glibcxx_cv_func_long_double_round_use=yes
70676else
70677  glibcxx_cv_func_long_double_round_use=no
70678fi
70679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70680    ac_ext=c
70681ac_cpp='$CPP $CPPFLAGS'
70682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70684ac_compiler_gnu=$ac_cv_c_compiler_gnu
70685
70686fi
70687
70688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70689$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70690  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70691    for ac_func in ceill floorl
70692do :
70693  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70694ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70695if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70696  cat >>confdefs.h <<_ACEOF
70697#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70698_ACEOF
70699
70700fi
70701done
70702
70703  else
70704    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70705$as_echo_n "checking for _long double round functions... " >&6; }
70706    if ${glibcxx_cv_func__long_double_round_use+:} false; 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_ceill (0); _floorl (0);
70724  ;
70725  return 0;
70726}
70727_ACEOF
70728if ac_fn_cxx_try_compile "$LINENO"; then :
70729  glibcxx_cv_func__long_double_round_use=yes
70730else
70731  glibcxx_cv_func__long_double_round_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
70740fi
70741
70742    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70743$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70744    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70745      for ac_func in _ceill _floorl
70746do :
70747  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70748ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70749if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70750  cat >>confdefs.h <<_ACEOF
70751#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70752_ACEOF
70753
70754fi
70755done
70756
70757    fi
70758  fi
70759
70760
70761
70762
70763
70764
70765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70766$as_echo_n "checking for isnanl declaration... " >&6; }
70767  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70768    if ${glibcxx_cv_func_isnanl_use+:} false; then :
70769  $as_echo_n "(cached) " >&6
70770else
70771
70772
70773      ac_ext=cpp
70774ac_cpp='$CXXCPP $CPPFLAGS'
70775ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70776ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70777ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70778
70779      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70780/* end confdefs.h.  */
70781#include <math.h>
70782		      #ifdef HAVE_IEEEFP_H
70783		      #include <ieeefp.h>
70784		      #endif
70785
70786int
70787main ()
70788{
70789 isnanl(0);
70790  ;
70791  return 0;
70792}
70793_ACEOF
70794if ac_fn_cxx_try_compile "$LINENO"; then :
70795  glibcxx_cv_func_isnanl_use=yes
70796else
70797  glibcxx_cv_func_isnanl_use=no
70798fi
70799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70800      ac_ext=c
70801ac_cpp='$CPP $CPPFLAGS'
70802ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70803ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70804ac_compiler_gnu=$ac_cv_c_compiler_gnu
70805
70806
70807fi
70808
70809  fi
70810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70811$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70812
70813  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70814    for ac_func in isnanl
70815do :
70816  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70817if test "x$ac_cv_func_isnanl" = xyes; then :
70818  cat >>confdefs.h <<_ACEOF
70819#define HAVE_ISNANL 1
70820_ACEOF
70821
70822fi
70823done
70824
70825  else
70826
70827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70828$as_echo_n "checking for _isnanl declaration... " >&6; }
70829  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70830    if ${glibcxx_cv_func__isnanl_use+:} false; then :
70831  $as_echo_n "(cached) " >&6
70832else
70833
70834
70835      ac_ext=cpp
70836ac_cpp='$CXXCPP $CPPFLAGS'
70837ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70838ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70839ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70840
70841      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70842/* end confdefs.h.  */
70843#include <math.h>
70844		      #ifdef HAVE_IEEEFP_H
70845		      #include <ieeefp.h>
70846		      #endif
70847
70848int
70849main ()
70850{
70851 _isnanl(0);
70852  ;
70853  return 0;
70854}
70855_ACEOF
70856if ac_fn_cxx_try_compile "$LINENO"; then :
70857  glibcxx_cv_func__isnanl_use=yes
70858else
70859  glibcxx_cv_func__isnanl_use=no
70860fi
70861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70862      ac_ext=c
70863ac_cpp='$CPP $CPPFLAGS'
70864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70866ac_compiler_gnu=$ac_cv_c_compiler_gnu
70867
70868
70869fi
70870
70871  fi
70872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70873$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70874
70875    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70876      for ac_func in _isnanl
70877do :
70878  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70879if test "x$ac_cv_func__isnanl" = xyes; then :
70880  cat >>confdefs.h <<_ACEOF
70881#define HAVE__ISNANL 1
70882_ACEOF
70883
70884fi
70885done
70886
70887    fi
70888  fi
70889
70890
70891
70892
70893
70894  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70895$as_echo_n "checking for isinfl declaration... " >&6; }
70896  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70897    if ${glibcxx_cv_func_isinfl_use+:} false; then :
70898  $as_echo_n "(cached) " >&6
70899else
70900
70901
70902      ac_ext=cpp
70903ac_cpp='$CXXCPP $CPPFLAGS'
70904ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70905ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70906ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70907
70908      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70909/* end confdefs.h.  */
70910#include <math.h>
70911		      #ifdef HAVE_IEEEFP_H
70912		      #include <ieeefp.h>
70913		      #endif
70914
70915int
70916main ()
70917{
70918 isinfl(0);
70919  ;
70920  return 0;
70921}
70922_ACEOF
70923if ac_fn_cxx_try_compile "$LINENO"; then :
70924  glibcxx_cv_func_isinfl_use=yes
70925else
70926  glibcxx_cv_func_isinfl_use=no
70927fi
70928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70929      ac_ext=c
70930ac_cpp='$CPP $CPPFLAGS'
70931ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70932ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70933ac_compiler_gnu=$ac_cv_c_compiler_gnu
70934
70935
70936fi
70937
70938  fi
70939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70940$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70941
70942  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70943    for ac_func in isinfl
70944do :
70945  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70946if test "x$ac_cv_func_isinfl" = xyes; then :
70947  cat >>confdefs.h <<_ACEOF
70948#define HAVE_ISINFL 1
70949_ACEOF
70950
70951fi
70952done
70953
70954  else
70955
70956  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70957$as_echo_n "checking for _isinfl declaration... " >&6; }
70958  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70959    if ${glibcxx_cv_func__isinfl_use+:} false; then :
70960  $as_echo_n "(cached) " >&6
70961else
70962
70963
70964      ac_ext=cpp
70965ac_cpp='$CXXCPP $CPPFLAGS'
70966ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70967ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70968ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70969
70970      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70971/* end confdefs.h.  */
70972#include <math.h>
70973		      #ifdef HAVE_IEEEFP_H
70974		      #include <ieeefp.h>
70975		      #endif
70976
70977int
70978main ()
70979{
70980 _isinfl(0);
70981  ;
70982  return 0;
70983}
70984_ACEOF
70985if ac_fn_cxx_try_compile "$LINENO"; then :
70986  glibcxx_cv_func__isinfl_use=yes
70987else
70988  glibcxx_cv_func__isinfl_use=no
70989fi
70990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70991      ac_ext=c
70992ac_cpp='$CPP $CPPFLAGS'
70993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70995ac_compiler_gnu=$ac_cv_c_compiler_gnu
70996
70997
70998fi
70999
71000  fi
71001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
71002$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
71003
71004    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
71005      for ac_func in _isinfl
71006do :
71007  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
71008if test "x$ac_cv_func__isinfl" = xyes; then :
71009  cat >>confdefs.h <<_ACEOF
71010#define HAVE__ISINFL 1
71011_ACEOF
71012
71013fi
71014done
71015
71016    fi
71017  fi
71018
71019
71020
71021
71022
71023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
71024$as_echo_n "checking for atan2l declaration... " >&6; }
71025  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
71026    if ${glibcxx_cv_func_atan2l_use+:} false; then :
71027  $as_echo_n "(cached) " >&6
71028else
71029
71030
71031      ac_ext=cpp
71032ac_cpp='$CXXCPP $CPPFLAGS'
71033ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71034ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71035ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71036
71037      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71038/* end confdefs.h.  */
71039#include <math.h>
71040int
71041main ()
71042{
71043 atan2l(0, 0);
71044  ;
71045  return 0;
71046}
71047_ACEOF
71048if ac_fn_cxx_try_compile "$LINENO"; then :
71049  glibcxx_cv_func_atan2l_use=yes
71050else
71051  glibcxx_cv_func_atan2l_use=no
71052fi
71053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71054      ac_ext=c
71055ac_cpp='$CPP $CPPFLAGS'
71056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71058ac_compiler_gnu=$ac_cv_c_compiler_gnu
71059
71060
71061fi
71062
71063  fi
71064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
71065$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
71066
71067  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
71068    for ac_func in atan2l
71069do :
71070  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
71071if test "x$ac_cv_func_atan2l" = xyes; then :
71072  cat >>confdefs.h <<_ACEOF
71073#define HAVE_ATAN2L 1
71074_ACEOF
71075
71076fi
71077done
71078
71079  else
71080
71081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
71082$as_echo_n "checking for _atan2l declaration... " >&6; }
71083  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
71084    if ${glibcxx_cv_func__atan2l_use+:} false; then :
71085  $as_echo_n "(cached) " >&6
71086else
71087
71088
71089      ac_ext=cpp
71090ac_cpp='$CXXCPP $CPPFLAGS'
71091ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71092ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71093ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71094
71095      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71096/* end confdefs.h.  */
71097#include <math.h>
71098int
71099main ()
71100{
71101 _atan2l(0, 0);
71102  ;
71103  return 0;
71104}
71105_ACEOF
71106if ac_fn_cxx_try_compile "$LINENO"; then :
71107  glibcxx_cv_func__atan2l_use=yes
71108else
71109  glibcxx_cv_func__atan2l_use=no
71110fi
71111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71112      ac_ext=c
71113ac_cpp='$CPP $CPPFLAGS'
71114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71115ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71116ac_compiler_gnu=$ac_cv_c_compiler_gnu
71117
71118
71119fi
71120
71121  fi
71122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
71123$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
71124
71125    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
71126      for ac_func in _atan2l
71127do :
71128  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
71129if test "x$ac_cv_func__atan2l" = xyes; then :
71130  cat >>confdefs.h <<_ACEOF
71131#define HAVE__ATAN2L 1
71132_ACEOF
71133
71134fi
71135done
71136
71137    fi
71138  fi
71139
71140
71141
71142
71143
71144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
71145$as_echo_n "checking for expl declaration... " >&6; }
71146  if test x${glibcxx_cv_func_expl_use+set} != xset; then
71147    if ${glibcxx_cv_func_expl_use+:} false; then :
71148  $as_echo_n "(cached) " >&6
71149else
71150
71151
71152      ac_ext=cpp
71153ac_cpp='$CXXCPP $CPPFLAGS'
71154ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71155ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71156ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71157
71158      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71159/* end confdefs.h.  */
71160#include <math.h>
71161		      #ifdef HAVE_IEEEFP_H
71162		      #include <ieeefp.h>
71163		      #endif
71164
71165int
71166main ()
71167{
71168 expl(0);
71169  ;
71170  return 0;
71171}
71172_ACEOF
71173if ac_fn_cxx_try_compile "$LINENO"; then :
71174  glibcxx_cv_func_expl_use=yes
71175else
71176  glibcxx_cv_func_expl_use=no
71177fi
71178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71179      ac_ext=c
71180ac_cpp='$CPP $CPPFLAGS'
71181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71183ac_compiler_gnu=$ac_cv_c_compiler_gnu
71184
71185
71186fi
71187
71188  fi
71189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
71190$as_echo "$glibcxx_cv_func_expl_use" >&6; }
71191
71192  if test x$glibcxx_cv_func_expl_use = x"yes"; then
71193    for ac_func in expl
71194do :
71195  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
71196if test "x$ac_cv_func_expl" = xyes; then :
71197  cat >>confdefs.h <<_ACEOF
71198#define HAVE_EXPL 1
71199_ACEOF
71200
71201fi
71202done
71203
71204  else
71205
71206  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
71207$as_echo_n "checking for _expl declaration... " >&6; }
71208  if test x${glibcxx_cv_func__expl_use+set} != xset; then
71209    if ${glibcxx_cv_func__expl_use+:} false; then :
71210  $as_echo_n "(cached) " >&6
71211else
71212
71213
71214      ac_ext=cpp
71215ac_cpp='$CXXCPP $CPPFLAGS'
71216ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71217ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71218ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71219
71220      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71221/* end confdefs.h.  */
71222#include <math.h>
71223		      #ifdef HAVE_IEEEFP_H
71224		      #include <ieeefp.h>
71225		      #endif
71226
71227int
71228main ()
71229{
71230 _expl(0);
71231  ;
71232  return 0;
71233}
71234_ACEOF
71235if ac_fn_cxx_try_compile "$LINENO"; then :
71236  glibcxx_cv_func__expl_use=yes
71237else
71238  glibcxx_cv_func__expl_use=no
71239fi
71240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71241      ac_ext=c
71242ac_cpp='$CPP $CPPFLAGS'
71243ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71244ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71245ac_compiler_gnu=$ac_cv_c_compiler_gnu
71246
71247
71248fi
71249
71250  fi
71251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
71252$as_echo "$glibcxx_cv_func__expl_use" >&6; }
71253
71254    if test x$glibcxx_cv_func__expl_use = x"yes"; then
71255      for ac_func in _expl
71256do :
71257  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
71258if test "x$ac_cv_func__expl" = xyes; then :
71259  cat >>confdefs.h <<_ACEOF
71260#define HAVE__EXPL 1
71261_ACEOF
71262
71263fi
71264done
71265
71266    fi
71267  fi
71268
71269
71270
71271
71272
71273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
71274$as_echo_n "checking for fabsl declaration... " >&6; }
71275  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71276    if ${glibcxx_cv_func_fabsl_use+:} false; then :
71277  $as_echo_n "(cached) " >&6
71278else
71279
71280
71281      ac_ext=cpp
71282ac_cpp='$CXXCPP $CPPFLAGS'
71283ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71284ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71285ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71286
71287      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71288/* end confdefs.h.  */
71289#include <math.h>
71290		      #ifdef HAVE_IEEEFP_H
71291		      #include <ieeefp.h>
71292		      #endif
71293
71294int
71295main ()
71296{
71297 fabsl(0);
71298  ;
71299  return 0;
71300}
71301_ACEOF
71302if ac_fn_cxx_try_compile "$LINENO"; then :
71303  glibcxx_cv_func_fabsl_use=yes
71304else
71305  glibcxx_cv_func_fabsl_use=no
71306fi
71307rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71308      ac_ext=c
71309ac_cpp='$CPP $CPPFLAGS'
71310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71312ac_compiler_gnu=$ac_cv_c_compiler_gnu
71313
71314
71315fi
71316
71317  fi
71318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71319$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71320
71321  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71322    for ac_func in fabsl
71323do :
71324  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71325if test "x$ac_cv_func_fabsl" = xyes; then :
71326  cat >>confdefs.h <<_ACEOF
71327#define HAVE_FABSL 1
71328_ACEOF
71329
71330fi
71331done
71332
71333  else
71334
71335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71336$as_echo_n "checking for _fabsl declaration... " >&6; }
71337  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71338    if ${glibcxx_cv_func__fabsl_use+:} false; then :
71339  $as_echo_n "(cached) " >&6
71340else
71341
71342
71343      ac_ext=cpp
71344ac_cpp='$CXXCPP $CPPFLAGS'
71345ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71346ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71347ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71348
71349      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71350/* end confdefs.h.  */
71351#include <math.h>
71352		      #ifdef HAVE_IEEEFP_H
71353		      #include <ieeefp.h>
71354		      #endif
71355
71356int
71357main ()
71358{
71359 _fabsl(0);
71360  ;
71361  return 0;
71362}
71363_ACEOF
71364if ac_fn_cxx_try_compile "$LINENO"; then :
71365  glibcxx_cv_func__fabsl_use=yes
71366else
71367  glibcxx_cv_func__fabsl_use=no
71368fi
71369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71370      ac_ext=c
71371ac_cpp='$CPP $CPPFLAGS'
71372ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71373ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71374ac_compiler_gnu=$ac_cv_c_compiler_gnu
71375
71376
71377fi
71378
71379  fi
71380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71381$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71382
71383    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71384      for ac_func in _fabsl
71385do :
71386  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71387if test "x$ac_cv_func__fabsl" = xyes; then :
71388  cat >>confdefs.h <<_ACEOF
71389#define HAVE__FABSL 1
71390_ACEOF
71391
71392fi
71393done
71394
71395    fi
71396  fi
71397
71398
71399
71400
71401
71402  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71403$as_echo_n "checking for fmodl declaration... " >&6; }
71404  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71405    if ${glibcxx_cv_func_fmodl_use+:} false; then :
71406  $as_echo_n "(cached) " >&6
71407else
71408
71409
71410      ac_ext=cpp
71411ac_cpp='$CXXCPP $CPPFLAGS'
71412ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71413ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71414ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71415
71416      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71417/* end confdefs.h.  */
71418#include <math.h>
71419int
71420main ()
71421{
71422 fmodl(0, 0);
71423  ;
71424  return 0;
71425}
71426_ACEOF
71427if ac_fn_cxx_try_compile "$LINENO"; then :
71428  glibcxx_cv_func_fmodl_use=yes
71429else
71430  glibcxx_cv_func_fmodl_use=no
71431fi
71432rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71433      ac_ext=c
71434ac_cpp='$CPP $CPPFLAGS'
71435ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71436ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71437ac_compiler_gnu=$ac_cv_c_compiler_gnu
71438
71439
71440fi
71441
71442  fi
71443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71444$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71445
71446  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71447    for ac_func in fmodl
71448do :
71449  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71450if test "x$ac_cv_func_fmodl" = xyes; then :
71451  cat >>confdefs.h <<_ACEOF
71452#define HAVE_FMODL 1
71453_ACEOF
71454
71455fi
71456done
71457
71458  else
71459
71460  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71461$as_echo_n "checking for _fmodl declaration... " >&6; }
71462  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71463    if ${glibcxx_cv_func__fmodl_use+:} false; then :
71464  $as_echo_n "(cached) " >&6
71465else
71466
71467
71468      ac_ext=cpp
71469ac_cpp='$CXXCPP $CPPFLAGS'
71470ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71471ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71472ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71473
71474      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71475/* end confdefs.h.  */
71476#include <math.h>
71477int
71478main ()
71479{
71480 _fmodl(0, 0);
71481  ;
71482  return 0;
71483}
71484_ACEOF
71485if ac_fn_cxx_try_compile "$LINENO"; then :
71486  glibcxx_cv_func__fmodl_use=yes
71487else
71488  glibcxx_cv_func__fmodl_use=no
71489fi
71490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71491      ac_ext=c
71492ac_cpp='$CPP $CPPFLAGS'
71493ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71494ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71495ac_compiler_gnu=$ac_cv_c_compiler_gnu
71496
71497
71498fi
71499
71500  fi
71501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71502$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71503
71504    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71505      for ac_func in _fmodl
71506do :
71507  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71508if test "x$ac_cv_func__fmodl" = xyes; then :
71509  cat >>confdefs.h <<_ACEOF
71510#define HAVE__FMODL 1
71511_ACEOF
71512
71513fi
71514done
71515
71516    fi
71517  fi
71518
71519
71520
71521
71522
71523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71524$as_echo_n "checking for frexpl declaration... " >&6; }
71525  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71526    if ${glibcxx_cv_func_frexpl_use+:} false; then :
71527  $as_echo_n "(cached) " >&6
71528else
71529
71530
71531      ac_ext=cpp
71532ac_cpp='$CXXCPP $CPPFLAGS'
71533ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71534ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71535ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71536
71537      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71538/* end confdefs.h.  */
71539#include <math.h>
71540int
71541main ()
71542{
71543 frexpl(0, 0);
71544  ;
71545  return 0;
71546}
71547_ACEOF
71548if ac_fn_cxx_try_compile "$LINENO"; then :
71549  glibcxx_cv_func_frexpl_use=yes
71550else
71551  glibcxx_cv_func_frexpl_use=no
71552fi
71553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71554      ac_ext=c
71555ac_cpp='$CPP $CPPFLAGS'
71556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71558ac_compiler_gnu=$ac_cv_c_compiler_gnu
71559
71560
71561fi
71562
71563  fi
71564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71565$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71566
71567  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71568    for ac_func in frexpl
71569do :
71570  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71571if test "x$ac_cv_func_frexpl" = xyes; then :
71572  cat >>confdefs.h <<_ACEOF
71573#define HAVE_FREXPL 1
71574_ACEOF
71575
71576fi
71577done
71578
71579  else
71580
71581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71582$as_echo_n "checking for _frexpl declaration... " >&6; }
71583  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71584    if ${glibcxx_cv_func__frexpl_use+:} false; then :
71585  $as_echo_n "(cached) " >&6
71586else
71587
71588
71589      ac_ext=cpp
71590ac_cpp='$CXXCPP $CPPFLAGS'
71591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71594
71595      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71596/* end confdefs.h.  */
71597#include <math.h>
71598int
71599main ()
71600{
71601 _frexpl(0, 0);
71602  ;
71603  return 0;
71604}
71605_ACEOF
71606if ac_fn_cxx_try_compile "$LINENO"; then :
71607  glibcxx_cv_func__frexpl_use=yes
71608else
71609  glibcxx_cv_func__frexpl_use=no
71610fi
71611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71612      ac_ext=c
71613ac_cpp='$CPP $CPPFLAGS'
71614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71616ac_compiler_gnu=$ac_cv_c_compiler_gnu
71617
71618
71619fi
71620
71621  fi
71622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71623$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71624
71625    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71626      for ac_func in _frexpl
71627do :
71628  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71629if test "x$ac_cv_func__frexpl" = xyes; then :
71630  cat >>confdefs.h <<_ACEOF
71631#define HAVE__FREXPL 1
71632_ACEOF
71633
71634fi
71635done
71636
71637    fi
71638  fi
71639
71640
71641
71642
71643
71644  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71645$as_echo_n "checking for hypotl declaration... " >&6; }
71646  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71647    if ${glibcxx_cv_func_hypotl_use+:} false; then :
71648  $as_echo_n "(cached) " >&6
71649else
71650
71651
71652      ac_ext=cpp
71653ac_cpp='$CXXCPP $CPPFLAGS'
71654ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71655ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71656ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71657
71658      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71659/* end confdefs.h.  */
71660#include <math.h>
71661int
71662main ()
71663{
71664 hypotl(0, 0);
71665  ;
71666  return 0;
71667}
71668_ACEOF
71669if ac_fn_cxx_try_compile "$LINENO"; then :
71670  glibcxx_cv_func_hypotl_use=yes
71671else
71672  glibcxx_cv_func_hypotl_use=no
71673fi
71674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71675      ac_ext=c
71676ac_cpp='$CPP $CPPFLAGS'
71677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71679ac_compiler_gnu=$ac_cv_c_compiler_gnu
71680
71681
71682fi
71683
71684  fi
71685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71686$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71687
71688  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71689    for ac_func in hypotl
71690do :
71691  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71692if test "x$ac_cv_func_hypotl" = xyes; then :
71693  cat >>confdefs.h <<_ACEOF
71694#define HAVE_HYPOTL 1
71695_ACEOF
71696
71697fi
71698done
71699
71700  else
71701
71702  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71703$as_echo_n "checking for _hypotl declaration... " >&6; }
71704  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71705    if ${glibcxx_cv_func__hypotl_use+:} false; then :
71706  $as_echo_n "(cached) " >&6
71707else
71708
71709
71710      ac_ext=cpp
71711ac_cpp='$CXXCPP $CPPFLAGS'
71712ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71715
71716      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71717/* end confdefs.h.  */
71718#include <math.h>
71719int
71720main ()
71721{
71722 _hypotl(0, 0);
71723  ;
71724  return 0;
71725}
71726_ACEOF
71727if ac_fn_cxx_try_compile "$LINENO"; then :
71728  glibcxx_cv_func__hypotl_use=yes
71729else
71730  glibcxx_cv_func__hypotl_use=no
71731fi
71732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71733      ac_ext=c
71734ac_cpp='$CPP $CPPFLAGS'
71735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71737ac_compiler_gnu=$ac_cv_c_compiler_gnu
71738
71739
71740fi
71741
71742  fi
71743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71744$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71745
71746    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71747      for ac_func in _hypotl
71748do :
71749  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71750if test "x$ac_cv_func__hypotl" = xyes; then :
71751  cat >>confdefs.h <<_ACEOF
71752#define HAVE__HYPOTL 1
71753_ACEOF
71754
71755fi
71756done
71757
71758    fi
71759  fi
71760
71761
71762
71763
71764
71765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71766$as_echo_n "checking for ldexpl declaration... " >&6; }
71767  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71768    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71769  $as_echo_n "(cached) " >&6
71770else
71771
71772
71773      ac_ext=cpp
71774ac_cpp='$CXXCPP $CPPFLAGS'
71775ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71778
71779      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71780/* end confdefs.h.  */
71781#include <math.h>
71782int
71783main ()
71784{
71785 ldexpl(0, 0);
71786  ;
71787  return 0;
71788}
71789_ACEOF
71790if ac_fn_cxx_try_compile "$LINENO"; then :
71791  glibcxx_cv_func_ldexpl_use=yes
71792else
71793  glibcxx_cv_func_ldexpl_use=no
71794fi
71795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71796      ac_ext=c
71797ac_cpp='$CPP $CPPFLAGS'
71798ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71799ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71800ac_compiler_gnu=$ac_cv_c_compiler_gnu
71801
71802
71803fi
71804
71805  fi
71806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71807$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71808
71809  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71810    for ac_func in ldexpl
71811do :
71812  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71813if test "x$ac_cv_func_ldexpl" = xyes; then :
71814  cat >>confdefs.h <<_ACEOF
71815#define HAVE_LDEXPL 1
71816_ACEOF
71817
71818fi
71819done
71820
71821  else
71822
71823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71824$as_echo_n "checking for _ldexpl declaration... " >&6; }
71825  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71826    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71827  $as_echo_n "(cached) " >&6
71828else
71829
71830
71831      ac_ext=cpp
71832ac_cpp='$CXXCPP $CPPFLAGS'
71833ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71834ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71835ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71836
71837      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71838/* end confdefs.h.  */
71839#include <math.h>
71840int
71841main ()
71842{
71843 _ldexpl(0, 0);
71844  ;
71845  return 0;
71846}
71847_ACEOF
71848if ac_fn_cxx_try_compile "$LINENO"; then :
71849  glibcxx_cv_func__ldexpl_use=yes
71850else
71851  glibcxx_cv_func__ldexpl_use=no
71852fi
71853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71854      ac_ext=c
71855ac_cpp='$CPP $CPPFLAGS'
71856ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71857ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71858ac_compiler_gnu=$ac_cv_c_compiler_gnu
71859
71860
71861fi
71862
71863  fi
71864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71865$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71866
71867    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71868      for ac_func in _ldexpl
71869do :
71870  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71871if test "x$ac_cv_func__ldexpl" = xyes; then :
71872  cat >>confdefs.h <<_ACEOF
71873#define HAVE__LDEXPL 1
71874_ACEOF
71875
71876fi
71877done
71878
71879    fi
71880  fi
71881
71882
71883
71884
71885
71886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71887$as_echo_n "checking for logl declaration... " >&6; }
71888  if test x${glibcxx_cv_func_logl_use+set} != xset; then
71889    if ${glibcxx_cv_func_logl_use+:} false; then :
71890  $as_echo_n "(cached) " >&6
71891else
71892
71893
71894      ac_ext=cpp
71895ac_cpp='$CXXCPP $CPPFLAGS'
71896ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71897ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71898ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71899
71900      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71901/* end confdefs.h.  */
71902#include <math.h>
71903		      #ifdef HAVE_IEEEFP_H
71904		      #include <ieeefp.h>
71905		      #endif
71906
71907int
71908main ()
71909{
71910 logl(0);
71911  ;
71912  return 0;
71913}
71914_ACEOF
71915if ac_fn_cxx_try_compile "$LINENO"; then :
71916  glibcxx_cv_func_logl_use=yes
71917else
71918  glibcxx_cv_func_logl_use=no
71919fi
71920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71921      ac_ext=c
71922ac_cpp='$CPP $CPPFLAGS'
71923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71925ac_compiler_gnu=$ac_cv_c_compiler_gnu
71926
71927
71928fi
71929
71930  fi
71931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71932$as_echo "$glibcxx_cv_func_logl_use" >&6; }
71933
71934  if test x$glibcxx_cv_func_logl_use = x"yes"; then
71935    for ac_func in logl
71936do :
71937  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71938if test "x$ac_cv_func_logl" = xyes; then :
71939  cat >>confdefs.h <<_ACEOF
71940#define HAVE_LOGL 1
71941_ACEOF
71942
71943fi
71944done
71945
71946  else
71947
71948  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71949$as_echo_n "checking for _logl declaration... " >&6; }
71950  if test x${glibcxx_cv_func__logl_use+set} != xset; then
71951    if ${glibcxx_cv_func__logl_use+:} false; then :
71952  $as_echo_n "(cached) " >&6
71953else
71954
71955
71956      ac_ext=cpp
71957ac_cpp='$CXXCPP $CPPFLAGS'
71958ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71959ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71960ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71961
71962      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71963/* end confdefs.h.  */
71964#include <math.h>
71965		      #ifdef HAVE_IEEEFP_H
71966		      #include <ieeefp.h>
71967		      #endif
71968
71969int
71970main ()
71971{
71972 _logl(0);
71973  ;
71974  return 0;
71975}
71976_ACEOF
71977if ac_fn_cxx_try_compile "$LINENO"; then :
71978  glibcxx_cv_func__logl_use=yes
71979else
71980  glibcxx_cv_func__logl_use=no
71981fi
71982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71983      ac_ext=c
71984ac_cpp='$CPP $CPPFLAGS'
71985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71987ac_compiler_gnu=$ac_cv_c_compiler_gnu
71988
71989
71990fi
71991
71992  fi
71993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71994$as_echo "$glibcxx_cv_func__logl_use" >&6; }
71995
71996    if test x$glibcxx_cv_func__logl_use = x"yes"; then
71997      for ac_func in _logl
71998do :
71999  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
72000if test "x$ac_cv_func__logl" = xyes; then :
72001  cat >>confdefs.h <<_ACEOF
72002#define HAVE__LOGL 1
72003_ACEOF
72004
72005fi
72006done
72007
72008    fi
72009  fi
72010
72011
72012
72013
72014
72015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
72016$as_echo_n "checking for log10l declaration... " >&6; }
72017  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
72018    if ${glibcxx_cv_func_log10l_use+:} false; then :
72019  $as_echo_n "(cached) " >&6
72020else
72021
72022
72023      ac_ext=cpp
72024ac_cpp='$CXXCPP $CPPFLAGS'
72025ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72026ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72027ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72028
72029      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72030/* end confdefs.h.  */
72031#include <math.h>
72032		      #ifdef HAVE_IEEEFP_H
72033		      #include <ieeefp.h>
72034		      #endif
72035
72036int
72037main ()
72038{
72039 log10l(0);
72040  ;
72041  return 0;
72042}
72043_ACEOF
72044if ac_fn_cxx_try_compile "$LINENO"; then :
72045  glibcxx_cv_func_log10l_use=yes
72046else
72047  glibcxx_cv_func_log10l_use=no
72048fi
72049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72050      ac_ext=c
72051ac_cpp='$CPP $CPPFLAGS'
72052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72054ac_compiler_gnu=$ac_cv_c_compiler_gnu
72055
72056
72057fi
72058
72059  fi
72060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
72061$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
72062
72063  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
72064    for ac_func in log10l
72065do :
72066  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
72067if test "x$ac_cv_func_log10l" = xyes; then :
72068  cat >>confdefs.h <<_ACEOF
72069#define HAVE_LOG10L 1
72070_ACEOF
72071
72072fi
72073done
72074
72075  else
72076
72077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
72078$as_echo_n "checking for _log10l declaration... " >&6; }
72079  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
72080    if ${glibcxx_cv_func__log10l_use+:} false; then :
72081  $as_echo_n "(cached) " >&6
72082else
72083
72084
72085      ac_ext=cpp
72086ac_cpp='$CXXCPP $CPPFLAGS'
72087ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72088ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72089ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72090
72091      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72092/* end confdefs.h.  */
72093#include <math.h>
72094		      #ifdef HAVE_IEEEFP_H
72095		      #include <ieeefp.h>
72096		      #endif
72097
72098int
72099main ()
72100{
72101 _log10l(0);
72102  ;
72103  return 0;
72104}
72105_ACEOF
72106if ac_fn_cxx_try_compile "$LINENO"; then :
72107  glibcxx_cv_func__log10l_use=yes
72108else
72109  glibcxx_cv_func__log10l_use=no
72110fi
72111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72112      ac_ext=c
72113ac_cpp='$CPP $CPPFLAGS'
72114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72115ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72116ac_compiler_gnu=$ac_cv_c_compiler_gnu
72117
72118
72119fi
72120
72121  fi
72122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
72123$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
72124
72125    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
72126      for ac_func in _log10l
72127do :
72128  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
72129if test "x$ac_cv_func__log10l" = xyes; then :
72130  cat >>confdefs.h <<_ACEOF
72131#define HAVE__LOG10L 1
72132_ACEOF
72133
72134fi
72135done
72136
72137    fi
72138  fi
72139
72140
72141
72142
72143
72144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
72145$as_echo_n "checking for modfl declaration... " >&6; }
72146  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
72147    if ${glibcxx_cv_func_modfl_use+:} false; then :
72148  $as_echo_n "(cached) " >&6
72149else
72150
72151
72152      ac_ext=cpp
72153ac_cpp='$CXXCPP $CPPFLAGS'
72154ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72155ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72156ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72157
72158      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72159/* end confdefs.h.  */
72160#include <math.h>
72161int
72162main ()
72163{
72164 modfl(0, 0);
72165  ;
72166  return 0;
72167}
72168_ACEOF
72169if ac_fn_cxx_try_compile "$LINENO"; then :
72170  glibcxx_cv_func_modfl_use=yes
72171else
72172  glibcxx_cv_func_modfl_use=no
72173fi
72174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72175      ac_ext=c
72176ac_cpp='$CPP $CPPFLAGS'
72177ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72178ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72179ac_compiler_gnu=$ac_cv_c_compiler_gnu
72180
72181
72182fi
72183
72184  fi
72185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
72186$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
72187
72188  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
72189    for ac_func in modfl
72190do :
72191  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
72192if test "x$ac_cv_func_modfl" = xyes; then :
72193  cat >>confdefs.h <<_ACEOF
72194#define HAVE_MODFL 1
72195_ACEOF
72196
72197fi
72198done
72199
72200  else
72201
72202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
72203$as_echo_n "checking for _modfl declaration... " >&6; }
72204  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
72205    if ${glibcxx_cv_func__modfl_use+:} false; then :
72206  $as_echo_n "(cached) " >&6
72207else
72208
72209
72210      ac_ext=cpp
72211ac_cpp='$CXXCPP $CPPFLAGS'
72212ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72213ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72214ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72215
72216      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72217/* end confdefs.h.  */
72218#include <math.h>
72219int
72220main ()
72221{
72222 _modfl(0, 0);
72223  ;
72224  return 0;
72225}
72226_ACEOF
72227if ac_fn_cxx_try_compile "$LINENO"; then :
72228  glibcxx_cv_func__modfl_use=yes
72229else
72230  glibcxx_cv_func__modfl_use=no
72231fi
72232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72233      ac_ext=c
72234ac_cpp='$CPP $CPPFLAGS'
72235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72237ac_compiler_gnu=$ac_cv_c_compiler_gnu
72238
72239
72240fi
72241
72242  fi
72243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
72244$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
72245
72246    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72247      for ac_func in _modfl
72248do :
72249  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
72250if test "x$ac_cv_func__modfl" = xyes; then :
72251  cat >>confdefs.h <<_ACEOF
72252#define HAVE__MODFL 1
72253_ACEOF
72254
72255fi
72256done
72257
72258    fi
72259  fi
72260
72261
72262
72263
72264
72265  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
72266$as_echo_n "checking for powl declaration... " >&6; }
72267  if test x${glibcxx_cv_func_powl_use+set} != xset; then
72268    if ${glibcxx_cv_func_powl_use+:} false; then :
72269  $as_echo_n "(cached) " >&6
72270else
72271
72272
72273      ac_ext=cpp
72274ac_cpp='$CXXCPP $CPPFLAGS'
72275ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72276ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72277ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72278
72279      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72280/* end confdefs.h.  */
72281#include <math.h>
72282int
72283main ()
72284{
72285 powl(0, 0);
72286  ;
72287  return 0;
72288}
72289_ACEOF
72290if ac_fn_cxx_try_compile "$LINENO"; then :
72291  glibcxx_cv_func_powl_use=yes
72292else
72293  glibcxx_cv_func_powl_use=no
72294fi
72295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72296      ac_ext=c
72297ac_cpp='$CPP $CPPFLAGS'
72298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72300ac_compiler_gnu=$ac_cv_c_compiler_gnu
72301
72302
72303fi
72304
72305  fi
72306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72307$as_echo "$glibcxx_cv_func_powl_use" >&6; }
72308
72309  if test x$glibcxx_cv_func_powl_use = x"yes"; then
72310    for ac_func in powl
72311do :
72312  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72313if test "x$ac_cv_func_powl" = xyes; then :
72314  cat >>confdefs.h <<_ACEOF
72315#define HAVE_POWL 1
72316_ACEOF
72317
72318fi
72319done
72320
72321  else
72322
72323  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72324$as_echo_n "checking for _powl declaration... " >&6; }
72325  if test x${glibcxx_cv_func__powl_use+set} != xset; then
72326    if ${glibcxx_cv_func__powl_use+:} false; then :
72327  $as_echo_n "(cached) " >&6
72328else
72329
72330
72331      ac_ext=cpp
72332ac_cpp='$CXXCPP $CPPFLAGS'
72333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72336
72337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72338/* end confdefs.h.  */
72339#include <math.h>
72340int
72341main ()
72342{
72343 _powl(0, 0);
72344  ;
72345  return 0;
72346}
72347_ACEOF
72348if ac_fn_cxx_try_compile "$LINENO"; then :
72349  glibcxx_cv_func__powl_use=yes
72350else
72351  glibcxx_cv_func__powl_use=no
72352fi
72353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72354      ac_ext=c
72355ac_cpp='$CPP $CPPFLAGS'
72356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72358ac_compiler_gnu=$ac_cv_c_compiler_gnu
72359
72360
72361fi
72362
72363  fi
72364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72365$as_echo "$glibcxx_cv_func__powl_use" >&6; }
72366
72367    if test x$glibcxx_cv_func__powl_use = x"yes"; then
72368      for ac_func in _powl
72369do :
72370  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72371if test "x$ac_cv_func__powl" = xyes; then :
72372  cat >>confdefs.h <<_ACEOF
72373#define HAVE__POWL 1
72374_ACEOF
72375
72376fi
72377done
72378
72379    fi
72380  fi
72381
72382
72383
72384
72385
72386  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72387$as_echo_n "checking for sqrtl declaration... " >&6; }
72388  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72389    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72390  $as_echo_n "(cached) " >&6
72391else
72392
72393
72394      ac_ext=cpp
72395ac_cpp='$CXXCPP $CPPFLAGS'
72396ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72397ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72398ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72399
72400      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72401/* end confdefs.h.  */
72402#include <math.h>
72403		      #ifdef HAVE_IEEEFP_H
72404		      #include <ieeefp.h>
72405		      #endif
72406
72407int
72408main ()
72409{
72410 sqrtl(0);
72411  ;
72412  return 0;
72413}
72414_ACEOF
72415if ac_fn_cxx_try_compile "$LINENO"; then :
72416  glibcxx_cv_func_sqrtl_use=yes
72417else
72418  glibcxx_cv_func_sqrtl_use=no
72419fi
72420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72421      ac_ext=c
72422ac_cpp='$CPP $CPPFLAGS'
72423ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72424ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72425ac_compiler_gnu=$ac_cv_c_compiler_gnu
72426
72427
72428fi
72429
72430  fi
72431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72432$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72433
72434  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72435    for ac_func in sqrtl
72436do :
72437  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72438if test "x$ac_cv_func_sqrtl" = xyes; then :
72439  cat >>confdefs.h <<_ACEOF
72440#define HAVE_SQRTL 1
72441_ACEOF
72442
72443fi
72444done
72445
72446  else
72447
72448  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72449$as_echo_n "checking for _sqrtl declaration... " >&6; }
72450  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72451    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72452  $as_echo_n "(cached) " >&6
72453else
72454
72455
72456      ac_ext=cpp
72457ac_cpp='$CXXCPP $CPPFLAGS'
72458ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72459ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72460ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72461
72462      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72463/* end confdefs.h.  */
72464#include <math.h>
72465		      #ifdef HAVE_IEEEFP_H
72466		      #include <ieeefp.h>
72467		      #endif
72468
72469int
72470main ()
72471{
72472 _sqrtl(0);
72473  ;
72474  return 0;
72475}
72476_ACEOF
72477if ac_fn_cxx_try_compile "$LINENO"; then :
72478  glibcxx_cv_func__sqrtl_use=yes
72479else
72480  glibcxx_cv_func__sqrtl_use=no
72481fi
72482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72483      ac_ext=c
72484ac_cpp='$CPP $CPPFLAGS'
72485ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72486ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72487ac_compiler_gnu=$ac_cv_c_compiler_gnu
72488
72489
72490fi
72491
72492  fi
72493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72494$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72495
72496    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72497      for ac_func in _sqrtl
72498do :
72499  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72500if test "x$ac_cv_func__sqrtl" = xyes; then :
72501  cat >>confdefs.h <<_ACEOF
72502#define HAVE__SQRTL 1
72503_ACEOF
72504
72505fi
72506done
72507
72508    fi
72509  fi
72510
72511
72512
72513
72514
72515  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72516$as_echo_n "checking for sincosl declaration... " >&6; }
72517  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72518    if ${glibcxx_cv_func_sincosl_use+:} false; then :
72519  $as_echo_n "(cached) " >&6
72520else
72521
72522
72523      ac_ext=cpp
72524ac_cpp='$CXXCPP $CPPFLAGS'
72525ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72526ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72527ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72528
72529      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72530/* end confdefs.h.  */
72531#include <math.h>
72532int
72533main ()
72534{
72535 sincosl(0, 0, 0);
72536  ;
72537  return 0;
72538}
72539_ACEOF
72540if ac_fn_cxx_try_compile "$LINENO"; then :
72541  glibcxx_cv_func_sincosl_use=yes
72542else
72543  glibcxx_cv_func_sincosl_use=no
72544fi
72545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72546      ac_ext=c
72547ac_cpp='$CPP $CPPFLAGS'
72548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72550ac_compiler_gnu=$ac_cv_c_compiler_gnu
72551
72552
72553fi
72554
72555  fi
72556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72557$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72558
72559  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72560    for ac_func in sincosl
72561do :
72562  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72563if test "x$ac_cv_func_sincosl" = xyes; then :
72564  cat >>confdefs.h <<_ACEOF
72565#define HAVE_SINCOSL 1
72566_ACEOF
72567
72568fi
72569done
72570
72571  else
72572
72573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72574$as_echo_n "checking for _sincosl declaration... " >&6; }
72575  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72576    if ${glibcxx_cv_func__sincosl_use+:} false; then :
72577  $as_echo_n "(cached) " >&6
72578else
72579
72580
72581      ac_ext=cpp
72582ac_cpp='$CXXCPP $CPPFLAGS'
72583ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72584ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72585ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72586
72587      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72588/* end confdefs.h.  */
72589#include <math.h>
72590int
72591main ()
72592{
72593 _sincosl(0, 0, 0);
72594  ;
72595  return 0;
72596}
72597_ACEOF
72598if ac_fn_cxx_try_compile "$LINENO"; then :
72599  glibcxx_cv_func__sincosl_use=yes
72600else
72601  glibcxx_cv_func__sincosl_use=no
72602fi
72603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72604      ac_ext=c
72605ac_cpp='$CPP $CPPFLAGS'
72606ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72607ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72608ac_compiler_gnu=$ac_cv_c_compiler_gnu
72609
72610
72611fi
72612
72613  fi
72614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72615$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72616
72617    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72618      for ac_func in _sincosl
72619do :
72620  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72621if test "x$ac_cv_func__sincosl" = xyes; then :
72622  cat >>confdefs.h <<_ACEOF
72623#define HAVE__SINCOSL 1
72624_ACEOF
72625
72626fi
72627done
72628
72629    fi
72630  fi
72631
72632
72633
72634
72635
72636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72637$as_echo_n "checking for finitel declaration... " >&6; }
72638  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72639    if ${glibcxx_cv_func_finitel_use+:} false; then :
72640  $as_echo_n "(cached) " >&6
72641else
72642
72643
72644      ac_ext=cpp
72645ac_cpp='$CXXCPP $CPPFLAGS'
72646ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72647ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72648ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72649
72650      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72651/* end confdefs.h.  */
72652#include <math.h>
72653		      #ifdef HAVE_IEEEFP_H
72654		      #include <ieeefp.h>
72655		      #endif
72656
72657int
72658main ()
72659{
72660 finitel(0);
72661  ;
72662  return 0;
72663}
72664_ACEOF
72665if ac_fn_cxx_try_compile "$LINENO"; then :
72666  glibcxx_cv_func_finitel_use=yes
72667else
72668  glibcxx_cv_func_finitel_use=no
72669fi
72670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72671      ac_ext=c
72672ac_cpp='$CPP $CPPFLAGS'
72673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72675ac_compiler_gnu=$ac_cv_c_compiler_gnu
72676
72677
72678fi
72679
72680  fi
72681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72682$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72683
72684  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72685    for ac_func in finitel
72686do :
72687  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72688if test "x$ac_cv_func_finitel" = xyes; then :
72689  cat >>confdefs.h <<_ACEOF
72690#define HAVE_FINITEL 1
72691_ACEOF
72692
72693fi
72694done
72695
72696  else
72697
72698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72699$as_echo_n "checking for _finitel declaration... " >&6; }
72700  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72701    if ${glibcxx_cv_func__finitel_use+:} false; then :
72702  $as_echo_n "(cached) " >&6
72703else
72704
72705
72706      ac_ext=cpp
72707ac_cpp='$CXXCPP $CPPFLAGS'
72708ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72709ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72710ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72711
72712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72713/* end confdefs.h.  */
72714#include <math.h>
72715		      #ifdef HAVE_IEEEFP_H
72716		      #include <ieeefp.h>
72717		      #endif
72718
72719int
72720main ()
72721{
72722 _finitel(0);
72723  ;
72724  return 0;
72725}
72726_ACEOF
72727if ac_fn_cxx_try_compile "$LINENO"; then :
72728  glibcxx_cv_func__finitel_use=yes
72729else
72730  glibcxx_cv_func__finitel_use=no
72731fi
72732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72733      ac_ext=c
72734ac_cpp='$CPP $CPPFLAGS'
72735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72737ac_compiler_gnu=$ac_cv_c_compiler_gnu
72738
72739
72740fi
72741
72742  fi
72743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72744$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72745
72746    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72747      for ac_func in _finitel
72748do :
72749  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72750if test "x$ac_cv_func__finitel" = xyes; then :
72751  cat >>confdefs.h <<_ACEOF
72752#define HAVE__FINITEL 1
72753_ACEOF
72754
72755fi
72756done
72757
72758    fi
72759  fi
72760
72761
72762
72763
72764  LIBS="$ac_save_LIBS"
72765  CXXFLAGS="$ac_save_CXXFLAGS"
72766
72767
72768  ac_test_CXXFLAGS="${CXXFLAGS+set}"
72769  ac_save_CXXFLAGS="$CXXFLAGS"
72770  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72771
72772
72773  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72774$as_echo_n "checking for at_quick_exit declaration... " >&6; }
72775  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72776    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72777  $as_echo_n "(cached) " >&6
72778else
72779
72780
72781      ac_ext=cpp
72782ac_cpp='$CXXCPP $CPPFLAGS'
72783ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72784ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72785ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72786
72787      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72788/* end confdefs.h.  */
72789#include <stdlib.h>
72790int
72791main ()
72792{
72793 at_quick_exit(0);
72794  ;
72795  return 0;
72796}
72797_ACEOF
72798if ac_fn_cxx_try_compile "$LINENO"; then :
72799  glibcxx_cv_func_at_quick_exit_use=yes
72800else
72801  glibcxx_cv_func_at_quick_exit_use=no
72802fi
72803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72804      ac_ext=c
72805ac_cpp='$CPP $CPPFLAGS'
72806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72808ac_compiler_gnu=$ac_cv_c_compiler_gnu
72809
72810
72811fi
72812
72813  fi
72814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72815$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72816  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72817    for ac_func in at_quick_exit
72818do :
72819  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72820if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72821  cat >>confdefs.h <<_ACEOF
72822#define HAVE_AT_QUICK_EXIT 1
72823_ACEOF
72824
72825fi
72826done
72827
72828  fi
72829
72830
72831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72832$as_echo_n "checking for quick_exit declaration... " >&6; }
72833  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72834    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72835  $as_echo_n "(cached) " >&6
72836else
72837
72838
72839      ac_ext=cpp
72840ac_cpp='$CXXCPP $CPPFLAGS'
72841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72842ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72844
72845      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72846/* end confdefs.h.  */
72847#include <stdlib.h>
72848int
72849main ()
72850{
72851 quick_exit(0);
72852  ;
72853  return 0;
72854}
72855_ACEOF
72856if ac_fn_cxx_try_compile "$LINENO"; then :
72857  glibcxx_cv_func_quick_exit_use=yes
72858else
72859  glibcxx_cv_func_quick_exit_use=no
72860fi
72861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72862      ac_ext=c
72863ac_cpp='$CPP $CPPFLAGS'
72864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72866ac_compiler_gnu=$ac_cv_c_compiler_gnu
72867
72868
72869fi
72870
72871  fi
72872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72873$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72874  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72875    for ac_func in quick_exit
72876do :
72877  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72878if test "x$ac_cv_func_quick_exit" = xyes; then :
72879  cat >>confdefs.h <<_ACEOF
72880#define HAVE_QUICK_EXIT 1
72881_ACEOF
72882
72883fi
72884done
72885
72886  fi
72887
72888
72889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72890$as_echo_n "checking for strtold declaration... " >&6; }
72891  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72892    if ${glibcxx_cv_func_strtold_use+:} false; then :
72893  $as_echo_n "(cached) " >&6
72894else
72895
72896
72897      ac_ext=cpp
72898ac_cpp='$CXXCPP $CPPFLAGS'
72899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72902
72903      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72904/* end confdefs.h.  */
72905#include <stdlib.h>
72906int
72907main ()
72908{
72909 strtold(0, 0);
72910  ;
72911  return 0;
72912}
72913_ACEOF
72914if ac_fn_cxx_try_compile "$LINENO"; then :
72915  glibcxx_cv_func_strtold_use=yes
72916else
72917  glibcxx_cv_func_strtold_use=no
72918fi
72919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72920      ac_ext=c
72921ac_cpp='$CPP $CPPFLAGS'
72922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72924ac_compiler_gnu=$ac_cv_c_compiler_gnu
72925
72926
72927fi
72928
72929  fi
72930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72931$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72932  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72933    for ac_func in strtold
72934do :
72935  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72936if test "x$ac_cv_func_strtold" = xyes; then :
72937  cat >>confdefs.h <<_ACEOF
72938#define HAVE_STRTOLD 1
72939_ACEOF
72940
72941fi
72942done
72943
72944  fi
72945
72946
72947
72948
72949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72950$as_echo_n "checking for strtof declaration... " >&6; }
72951  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72952    if ${glibcxx_cv_func_strtof_use+:} false; then :
72953  $as_echo_n "(cached) " >&6
72954else
72955
72956
72957      ac_ext=cpp
72958ac_cpp='$CXXCPP $CPPFLAGS'
72959ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72960ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72961ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72962
72963      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72964/* end confdefs.h.  */
72965#include <stdlib.h>
72966int
72967main ()
72968{
72969 strtof(0, 0);
72970  ;
72971  return 0;
72972}
72973_ACEOF
72974if ac_fn_cxx_try_compile "$LINENO"; then :
72975  glibcxx_cv_func_strtof_use=yes
72976else
72977  glibcxx_cv_func_strtof_use=no
72978fi
72979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72980      ac_ext=c
72981ac_cpp='$CPP $CPPFLAGS'
72982ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72983ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72984ac_compiler_gnu=$ac_cv_c_compiler_gnu
72985
72986
72987fi
72988
72989  fi
72990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72991$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72992  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72993    for ac_func in strtof
72994do :
72995  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72996if test "x$ac_cv_func_strtof" = xyes; then :
72997  cat >>confdefs.h <<_ACEOF
72998#define HAVE_STRTOF 1
72999_ACEOF
73000
73001fi
73002done
73003
73004  fi
73005
73006
73007
73008
73009  CXXFLAGS="$ac_save_CXXFLAGS"
73010
73011    ;;
73012  *-tpf)
73013    SECTION_FLAGS='-ffunction-sections -fdata-sections'
73014    SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
73015
73016    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
73017
73018    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
73019
73020    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
73021
73022    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
73023
73024    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
73025
73026    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
73027
73028    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
73029
73030    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
73031
73032    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
73033
73034    $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
73035
73036    if test x"long_double_math_on_this_cpu" = x"yes"; then
73037      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
73038
73039      $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
73040
73041      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
73042
73043      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
73044
73045    fi
73046    ;;
73047  *-*vms*)
73048    # Check for available headers.
73049    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
73050
73051  ac_test_CXXFLAGS="${CXXFLAGS+set}"
73052  ac_save_CXXFLAGS="$CXXFLAGS"
73053  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73054
73055    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
73056$as_echo_n "checking for sin in -lm... " >&6; }
73057if ${ac_cv_lib_m_sin+:} false; then :
73058  $as_echo_n "(cached) " >&6
73059else
73060  ac_check_lib_save_LIBS=$LIBS
73061LIBS="-lm  $LIBS"
73062if test x$gcc_no_link = xyes; then
73063  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73064fi
73065cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73066/* end confdefs.h.  */
73067
73068/* Override any GCC internal prototype to avoid an error.
73069   Use char because int might match the return type of a GCC
73070   builtin and then its argument prototype would still apply.  */
73071#ifdef __cplusplus
73072extern "C"
73073#endif
73074char sin ();
73075int
73076main ()
73077{
73078return sin ();
73079  ;
73080  return 0;
73081}
73082_ACEOF
73083if ac_fn_c_try_link "$LINENO"; then :
73084  ac_cv_lib_m_sin=yes
73085else
73086  ac_cv_lib_m_sin=no
73087fi
73088rm -f core conftest.err conftest.$ac_objext \
73089    conftest$ac_exeext conftest.$ac_ext
73090LIBS=$ac_check_lib_save_LIBS
73091fi
73092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
73093$as_echo "$ac_cv_lib_m_sin" >&6; }
73094if test "x$ac_cv_lib_m_sin" = xyes; then :
73095  libm="-lm"
73096fi
73097
73098  ac_save_LIBS="$LIBS"
73099  LIBS="$LIBS $libm"
73100
73101
73102
73103  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
73104$as_echo_n "checking for isinf declaration... " >&6; }
73105  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
73106    if ${glibcxx_cv_func_isinf_use+:} false; 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 isinf(0);
73128  ;
73129  return 0;
73130}
73131_ACEOF
73132if ac_fn_cxx_try_compile "$LINENO"; then :
73133  glibcxx_cv_func_isinf_use=yes
73134else
73135  glibcxx_cv_func_isinf_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_isinf_use" >&5
73149$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
73150
73151  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
73152    for ac_func in isinf
73153do :
73154  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
73155if test "x$ac_cv_func_isinf" = xyes; then :
73156  cat >>confdefs.h <<_ACEOF
73157#define HAVE_ISINF 1
73158_ACEOF
73159
73160fi
73161done
73162
73163  else
73164
73165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
73166$as_echo_n "checking for _isinf declaration... " >&6; }
73167  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
73168    if ${glibcxx_cv_func__isinf_use+:} false; then :
73169  $as_echo_n "(cached) " >&6
73170else
73171
73172
73173      ac_ext=cpp
73174ac_cpp='$CXXCPP $CPPFLAGS'
73175ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73176ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73177ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73178
73179      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73180/* end confdefs.h.  */
73181#include <math.h>
73182		      #ifdef HAVE_IEEEFP_H
73183		      #include <ieeefp.h>
73184		      #endif
73185
73186int
73187main ()
73188{
73189 _isinf(0);
73190  ;
73191  return 0;
73192}
73193_ACEOF
73194if ac_fn_cxx_try_compile "$LINENO"; then :
73195  glibcxx_cv_func__isinf_use=yes
73196else
73197  glibcxx_cv_func__isinf_use=no
73198fi
73199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73200      ac_ext=c
73201ac_cpp='$CPP $CPPFLAGS'
73202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73204ac_compiler_gnu=$ac_cv_c_compiler_gnu
73205
73206
73207fi
73208
73209  fi
73210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
73211$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
73212
73213    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
73214      for ac_func in _isinf
73215do :
73216  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
73217if test "x$ac_cv_func__isinf" = xyes; then :
73218  cat >>confdefs.h <<_ACEOF
73219#define HAVE__ISINF 1
73220_ACEOF
73221
73222fi
73223done
73224
73225    fi
73226  fi
73227
73228
73229
73230
73231
73232  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
73233$as_echo_n "checking for isnan declaration... " >&6; }
73234  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
73235    if ${glibcxx_cv_func_isnan_use+:} false; then :
73236  $as_echo_n "(cached) " >&6
73237else
73238
73239
73240      ac_ext=cpp
73241ac_cpp='$CXXCPP $CPPFLAGS'
73242ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73243ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73244ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73245
73246      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73247/* end confdefs.h.  */
73248#include <math.h>
73249		      #ifdef HAVE_IEEEFP_H
73250		      #include <ieeefp.h>
73251		      #endif
73252
73253int
73254main ()
73255{
73256 isnan(0);
73257  ;
73258  return 0;
73259}
73260_ACEOF
73261if ac_fn_cxx_try_compile "$LINENO"; then :
73262  glibcxx_cv_func_isnan_use=yes
73263else
73264  glibcxx_cv_func_isnan_use=no
73265fi
73266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73267      ac_ext=c
73268ac_cpp='$CPP $CPPFLAGS'
73269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73271ac_compiler_gnu=$ac_cv_c_compiler_gnu
73272
73273
73274fi
73275
73276  fi
73277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
73278$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
73279
73280  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
73281    for ac_func in isnan
73282do :
73283  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
73284if test "x$ac_cv_func_isnan" = xyes; then :
73285  cat >>confdefs.h <<_ACEOF
73286#define HAVE_ISNAN 1
73287_ACEOF
73288
73289fi
73290done
73291
73292  else
73293
73294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
73295$as_echo_n "checking for _isnan declaration... " >&6; }
73296  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
73297    if ${glibcxx_cv_func__isnan_use+:} false; then :
73298  $as_echo_n "(cached) " >&6
73299else
73300
73301
73302      ac_ext=cpp
73303ac_cpp='$CXXCPP $CPPFLAGS'
73304ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73305ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73306ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73307
73308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73309/* end confdefs.h.  */
73310#include <math.h>
73311		      #ifdef HAVE_IEEEFP_H
73312		      #include <ieeefp.h>
73313		      #endif
73314
73315int
73316main ()
73317{
73318 _isnan(0);
73319  ;
73320  return 0;
73321}
73322_ACEOF
73323if ac_fn_cxx_try_compile "$LINENO"; then :
73324  glibcxx_cv_func__isnan_use=yes
73325else
73326  glibcxx_cv_func__isnan_use=no
73327fi
73328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73329      ac_ext=c
73330ac_cpp='$CPP $CPPFLAGS'
73331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73333ac_compiler_gnu=$ac_cv_c_compiler_gnu
73334
73335
73336fi
73337
73338  fi
73339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
73340$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
73341
73342    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
73343      for ac_func in _isnan
73344do :
73345  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
73346if test "x$ac_cv_func__isnan" = xyes; then :
73347  cat >>confdefs.h <<_ACEOF
73348#define HAVE__ISNAN 1
73349_ACEOF
73350
73351fi
73352done
73353
73354    fi
73355  fi
73356
73357
73358
73359
73360
73361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
73362$as_echo_n "checking for finite declaration... " >&6; }
73363  if test x${glibcxx_cv_func_finite_use+set} != xset; then
73364    if ${glibcxx_cv_func_finite_use+:} false; then :
73365  $as_echo_n "(cached) " >&6
73366else
73367
73368
73369      ac_ext=cpp
73370ac_cpp='$CXXCPP $CPPFLAGS'
73371ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73372ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73373ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73374
73375      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73376/* end confdefs.h.  */
73377#include <math.h>
73378		      #ifdef HAVE_IEEEFP_H
73379		      #include <ieeefp.h>
73380		      #endif
73381
73382int
73383main ()
73384{
73385 finite(0);
73386  ;
73387  return 0;
73388}
73389_ACEOF
73390if ac_fn_cxx_try_compile "$LINENO"; then :
73391  glibcxx_cv_func_finite_use=yes
73392else
73393  glibcxx_cv_func_finite_use=no
73394fi
73395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73396      ac_ext=c
73397ac_cpp='$CPP $CPPFLAGS'
73398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73400ac_compiler_gnu=$ac_cv_c_compiler_gnu
73401
73402
73403fi
73404
73405  fi
73406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
73407$as_echo "$glibcxx_cv_func_finite_use" >&6; }
73408
73409  if test x$glibcxx_cv_func_finite_use = x"yes"; then
73410    for ac_func in finite
73411do :
73412  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
73413if test "x$ac_cv_func_finite" = xyes; then :
73414  cat >>confdefs.h <<_ACEOF
73415#define HAVE_FINITE 1
73416_ACEOF
73417
73418fi
73419done
73420
73421  else
73422
73423  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
73424$as_echo_n "checking for _finite declaration... " >&6; }
73425  if test x${glibcxx_cv_func__finite_use+set} != xset; then
73426    if ${glibcxx_cv_func__finite_use+:} false; then :
73427  $as_echo_n "(cached) " >&6
73428else
73429
73430
73431      ac_ext=cpp
73432ac_cpp='$CXXCPP $CPPFLAGS'
73433ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73434ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73435ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73436
73437      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73438/* end confdefs.h.  */
73439#include <math.h>
73440		      #ifdef HAVE_IEEEFP_H
73441		      #include <ieeefp.h>
73442		      #endif
73443
73444int
73445main ()
73446{
73447 _finite(0);
73448  ;
73449  return 0;
73450}
73451_ACEOF
73452if ac_fn_cxx_try_compile "$LINENO"; then :
73453  glibcxx_cv_func__finite_use=yes
73454else
73455  glibcxx_cv_func__finite_use=no
73456fi
73457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73458      ac_ext=c
73459ac_cpp='$CPP $CPPFLAGS'
73460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73462ac_compiler_gnu=$ac_cv_c_compiler_gnu
73463
73464
73465fi
73466
73467  fi
73468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73469$as_echo "$glibcxx_cv_func__finite_use" >&6; }
73470
73471    if test x$glibcxx_cv_func__finite_use = x"yes"; then
73472      for ac_func in _finite
73473do :
73474  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73475if test "x$ac_cv_func__finite" = xyes; then :
73476  cat >>confdefs.h <<_ACEOF
73477#define HAVE__FINITE 1
73478_ACEOF
73479
73480fi
73481done
73482
73483    fi
73484  fi
73485
73486
73487
73488
73489
73490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73491$as_echo_n "checking for sincos declaration... " >&6; }
73492  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73493    if ${glibcxx_cv_func_sincos_use+:} false; then :
73494  $as_echo_n "(cached) " >&6
73495else
73496
73497
73498      ac_ext=cpp
73499ac_cpp='$CXXCPP $CPPFLAGS'
73500ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73501ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73502ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73503
73504      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73505/* end confdefs.h.  */
73506#include <math.h>
73507int
73508main ()
73509{
73510 sincos(0, 0, 0);
73511  ;
73512  return 0;
73513}
73514_ACEOF
73515if ac_fn_cxx_try_compile "$LINENO"; then :
73516  glibcxx_cv_func_sincos_use=yes
73517else
73518  glibcxx_cv_func_sincos_use=no
73519fi
73520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73521      ac_ext=c
73522ac_cpp='$CPP $CPPFLAGS'
73523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73525ac_compiler_gnu=$ac_cv_c_compiler_gnu
73526
73527
73528fi
73529
73530  fi
73531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73532$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73533
73534  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73535    for ac_func in sincos
73536do :
73537  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73538if test "x$ac_cv_func_sincos" = xyes; then :
73539  cat >>confdefs.h <<_ACEOF
73540#define HAVE_SINCOS 1
73541_ACEOF
73542
73543fi
73544done
73545
73546  else
73547
73548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73549$as_echo_n "checking for _sincos declaration... " >&6; }
73550  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73551    if ${glibcxx_cv_func__sincos_use+:} false; then :
73552  $as_echo_n "(cached) " >&6
73553else
73554
73555
73556      ac_ext=cpp
73557ac_cpp='$CXXCPP $CPPFLAGS'
73558ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73559ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73560ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73561
73562      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73563/* end confdefs.h.  */
73564#include <math.h>
73565int
73566main ()
73567{
73568 _sincos(0, 0, 0);
73569  ;
73570  return 0;
73571}
73572_ACEOF
73573if ac_fn_cxx_try_compile "$LINENO"; then :
73574  glibcxx_cv_func__sincos_use=yes
73575else
73576  glibcxx_cv_func__sincos_use=no
73577fi
73578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73579      ac_ext=c
73580ac_cpp='$CPP $CPPFLAGS'
73581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73583ac_compiler_gnu=$ac_cv_c_compiler_gnu
73584
73585
73586fi
73587
73588  fi
73589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73590$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73591
73592    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73593      for ac_func in _sincos
73594do :
73595  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73596if test "x$ac_cv_func__sincos" = xyes; then :
73597  cat >>confdefs.h <<_ACEOF
73598#define HAVE__SINCOS 1
73599_ACEOF
73600
73601fi
73602done
73603
73604    fi
73605  fi
73606
73607
73608
73609
73610
73611  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73612$as_echo_n "checking for fpclass declaration... " >&6; }
73613  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73614    if ${glibcxx_cv_func_fpclass_use+:} false; then :
73615  $as_echo_n "(cached) " >&6
73616else
73617
73618
73619      ac_ext=cpp
73620ac_cpp='$CXXCPP $CPPFLAGS'
73621ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73622ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73623ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73624
73625      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73626/* end confdefs.h.  */
73627#include <math.h>
73628		      #ifdef HAVE_IEEEFP_H
73629		      #include <ieeefp.h>
73630		      #endif
73631
73632int
73633main ()
73634{
73635 fpclass(0);
73636  ;
73637  return 0;
73638}
73639_ACEOF
73640if ac_fn_cxx_try_compile "$LINENO"; then :
73641  glibcxx_cv_func_fpclass_use=yes
73642else
73643  glibcxx_cv_func_fpclass_use=no
73644fi
73645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73646      ac_ext=c
73647ac_cpp='$CPP $CPPFLAGS'
73648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73650ac_compiler_gnu=$ac_cv_c_compiler_gnu
73651
73652
73653fi
73654
73655  fi
73656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73657$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73658
73659  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73660    for ac_func in fpclass
73661do :
73662  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73663if test "x$ac_cv_func_fpclass" = xyes; then :
73664  cat >>confdefs.h <<_ACEOF
73665#define HAVE_FPCLASS 1
73666_ACEOF
73667
73668fi
73669done
73670
73671  else
73672
73673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73674$as_echo_n "checking for _fpclass declaration... " >&6; }
73675  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73676    if ${glibcxx_cv_func__fpclass_use+:} false; then :
73677  $as_echo_n "(cached) " >&6
73678else
73679
73680
73681      ac_ext=cpp
73682ac_cpp='$CXXCPP $CPPFLAGS'
73683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73686
73687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73688/* end confdefs.h.  */
73689#include <math.h>
73690		      #ifdef HAVE_IEEEFP_H
73691		      #include <ieeefp.h>
73692		      #endif
73693
73694int
73695main ()
73696{
73697 _fpclass(0);
73698  ;
73699  return 0;
73700}
73701_ACEOF
73702if ac_fn_cxx_try_compile "$LINENO"; then :
73703  glibcxx_cv_func__fpclass_use=yes
73704else
73705  glibcxx_cv_func__fpclass_use=no
73706fi
73707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73708      ac_ext=c
73709ac_cpp='$CPP $CPPFLAGS'
73710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73712ac_compiler_gnu=$ac_cv_c_compiler_gnu
73713
73714
73715fi
73716
73717  fi
73718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73719$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73720
73721    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73722      for ac_func in _fpclass
73723do :
73724  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73725if test "x$ac_cv_func__fpclass" = xyes; then :
73726  cat >>confdefs.h <<_ACEOF
73727#define HAVE__FPCLASS 1
73728_ACEOF
73729
73730fi
73731done
73732
73733    fi
73734  fi
73735
73736
73737
73738
73739
73740  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73741$as_echo_n "checking for qfpclass declaration... " >&6; }
73742  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73743    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
73744  $as_echo_n "(cached) " >&6
73745else
73746
73747
73748      ac_ext=cpp
73749ac_cpp='$CXXCPP $CPPFLAGS'
73750ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73751ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73752ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73753
73754      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73755/* end confdefs.h.  */
73756#include <math.h>
73757		      #ifdef HAVE_IEEEFP_H
73758		      #include <ieeefp.h>
73759		      #endif
73760
73761int
73762main ()
73763{
73764 qfpclass(0);
73765  ;
73766  return 0;
73767}
73768_ACEOF
73769if ac_fn_cxx_try_compile "$LINENO"; then :
73770  glibcxx_cv_func_qfpclass_use=yes
73771else
73772  glibcxx_cv_func_qfpclass_use=no
73773fi
73774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73775      ac_ext=c
73776ac_cpp='$CPP $CPPFLAGS'
73777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73779ac_compiler_gnu=$ac_cv_c_compiler_gnu
73780
73781
73782fi
73783
73784  fi
73785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73786$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73787
73788  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73789    for ac_func in qfpclass
73790do :
73791  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73792if test "x$ac_cv_func_qfpclass" = xyes; then :
73793  cat >>confdefs.h <<_ACEOF
73794#define HAVE_QFPCLASS 1
73795_ACEOF
73796
73797fi
73798done
73799
73800  else
73801
73802  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73803$as_echo_n "checking for _qfpclass declaration... " >&6; }
73804  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73805    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
73806  $as_echo_n "(cached) " >&6
73807else
73808
73809
73810      ac_ext=cpp
73811ac_cpp='$CXXCPP $CPPFLAGS'
73812ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73813ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73814ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73815
73816      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73817/* end confdefs.h.  */
73818#include <math.h>
73819		      #ifdef HAVE_IEEEFP_H
73820		      #include <ieeefp.h>
73821		      #endif
73822
73823int
73824main ()
73825{
73826 _qfpclass(0);
73827  ;
73828  return 0;
73829}
73830_ACEOF
73831if ac_fn_cxx_try_compile "$LINENO"; then :
73832  glibcxx_cv_func__qfpclass_use=yes
73833else
73834  glibcxx_cv_func__qfpclass_use=no
73835fi
73836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73837      ac_ext=c
73838ac_cpp='$CPP $CPPFLAGS'
73839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73841ac_compiler_gnu=$ac_cv_c_compiler_gnu
73842
73843
73844fi
73845
73846  fi
73847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73848$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73849
73850    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73851      for ac_func in _qfpclass
73852do :
73853  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73854if test "x$ac_cv_func__qfpclass" = xyes; then :
73855  cat >>confdefs.h <<_ACEOF
73856#define HAVE__QFPCLASS 1
73857_ACEOF
73858
73859fi
73860done
73861
73862    fi
73863  fi
73864
73865
73866
73867
73868
73869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73870$as_echo_n "checking for hypot declaration... " >&6; }
73871  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73872    if ${glibcxx_cv_func_hypot_use+:} false; then :
73873  $as_echo_n "(cached) " >&6
73874else
73875
73876
73877      ac_ext=cpp
73878ac_cpp='$CXXCPP $CPPFLAGS'
73879ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73880ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73881ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73882
73883      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73884/* end confdefs.h.  */
73885#include <math.h>
73886int
73887main ()
73888{
73889 hypot(0, 0);
73890  ;
73891  return 0;
73892}
73893_ACEOF
73894if ac_fn_cxx_try_compile "$LINENO"; then :
73895  glibcxx_cv_func_hypot_use=yes
73896else
73897  glibcxx_cv_func_hypot_use=no
73898fi
73899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73900      ac_ext=c
73901ac_cpp='$CPP $CPPFLAGS'
73902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73904ac_compiler_gnu=$ac_cv_c_compiler_gnu
73905
73906
73907fi
73908
73909  fi
73910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73911$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73912
73913  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73914    for ac_func in hypot
73915do :
73916  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73917if test "x$ac_cv_func_hypot" = xyes; then :
73918  cat >>confdefs.h <<_ACEOF
73919#define HAVE_HYPOT 1
73920_ACEOF
73921
73922fi
73923done
73924
73925  else
73926
73927  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73928$as_echo_n "checking for _hypot declaration... " >&6; }
73929  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73930    if ${glibcxx_cv_func__hypot_use+:} false; then :
73931  $as_echo_n "(cached) " >&6
73932else
73933
73934
73935      ac_ext=cpp
73936ac_cpp='$CXXCPP $CPPFLAGS'
73937ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73938ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73939ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73940
73941      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73942/* end confdefs.h.  */
73943#include <math.h>
73944int
73945main ()
73946{
73947 _hypot(0, 0);
73948  ;
73949  return 0;
73950}
73951_ACEOF
73952if ac_fn_cxx_try_compile "$LINENO"; then :
73953  glibcxx_cv_func__hypot_use=yes
73954else
73955  glibcxx_cv_func__hypot_use=no
73956fi
73957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73958      ac_ext=c
73959ac_cpp='$CPP $CPPFLAGS'
73960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73962ac_compiler_gnu=$ac_cv_c_compiler_gnu
73963
73964
73965fi
73966
73967  fi
73968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73969$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73970
73971    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73972      for ac_func in _hypot
73973do :
73974  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73975if test "x$ac_cv_func__hypot" = xyes; then :
73976  cat >>confdefs.h <<_ACEOF
73977#define HAVE__HYPOT 1
73978_ACEOF
73979
73980fi
73981done
73982
73983    fi
73984  fi
73985
73986
73987
73988
73989
73990    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73991$as_echo_n "checking for float trig functions... " >&6; }
73992  if ${glibcxx_cv_func_float_trig_use+:} false; then :
73993  $as_echo_n "(cached) " >&6
73994else
73995
73996
73997    ac_ext=cpp
73998ac_cpp='$CXXCPP $CPPFLAGS'
73999ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74000ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74001ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74002
74003    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74004/* end confdefs.h.  */
74005#include <math.h>
74006int
74007main ()
74008{
74009acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
74010  ;
74011  return 0;
74012}
74013_ACEOF
74014if ac_fn_cxx_try_compile "$LINENO"; then :
74015  glibcxx_cv_func_float_trig_use=yes
74016else
74017  glibcxx_cv_func_float_trig_use=no
74018fi
74019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74020    ac_ext=c
74021ac_cpp='$CPP $CPPFLAGS'
74022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74024ac_compiler_gnu=$ac_cv_c_compiler_gnu
74025
74026fi
74027
74028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
74029$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
74030  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
74031    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
74032do :
74033  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74034ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74035if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
74036  cat >>confdefs.h <<_ACEOF
74037#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74038_ACEOF
74039
74040fi
74041done
74042
74043  else
74044    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
74045$as_echo_n "checking for _float trig functions... " >&6; }
74046    if ${glibcxx_cv_func__float_trig_use+:} false; then :
74047  $as_echo_n "(cached) " >&6
74048else
74049
74050
74051      ac_ext=cpp
74052ac_cpp='$CXXCPP $CPPFLAGS'
74053ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74054ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74055ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74056
74057      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74058/* end confdefs.h.  */
74059#include <math.h>
74060int
74061main ()
74062{
74063_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
74064  ;
74065  return 0;
74066}
74067_ACEOF
74068if ac_fn_cxx_try_compile "$LINENO"; then :
74069  glibcxx_cv_func__float_trig_use=yes
74070else
74071  glibcxx_cv_func__float_trig_use=no
74072fi
74073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74074      ac_ext=c
74075ac_cpp='$CPP $CPPFLAGS'
74076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74078ac_compiler_gnu=$ac_cv_c_compiler_gnu
74079
74080fi
74081
74082    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
74083$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
74084    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
74085      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
74086do :
74087  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74088ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74089if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
74090  cat >>confdefs.h <<_ACEOF
74091#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74092_ACEOF
74093
74094fi
74095done
74096
74097    fi
74098  fi
74099
74100
74101
74102
74103
74104    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
74105$as_echo_n "checking for float round functions... " >&6; }
74106  if ${glibcxx_cv_func_float_round_use+:} false; then :
74107  $as_echo_n "(cached) " >&6
74108else
74109
74110
74111    ac_ext=cpp
74112ac_cpp='$CXXCPP $CPPFLAGS'
74113ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74114ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74115ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74116
74117    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74118/* end confdefs.h.  */
74119#include <math.h>
74120int
74121main ()
74122{
74123ceilf (0); floorf (0);
74124  ;
74125  return 0;
74126}
74127_ACEOF
74128if ac_fn_cxx_try_compile "$LINENO"; then :
74129  glibcxx_cv_func_float_round_use=yes
74130else
74131  glibcxx_cv_func_float_round_use=no
74132fi
74133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74134    ac_ext=c
74135ac_cpp='$CPP $CPPFLAGS'
74136ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74137ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74138ac_compiler_gnu=$ac_cv_c_compiler_gnu
74139
74140fi
74141
74142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
74143$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
74144  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
74145    for ac_func in ceilf floorf
74146do :
74147  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74148ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74149if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
74150  cat >>confdefs.h <<_ACEOF
74151#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74152_ACEOF
74153
74154fi
74155done
74156
74157  else
74158    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
74159$as_echo_n "checking for _float round functions... " >&6; }
74160    if ${glibcxx_cv_func__float_round_use+:} false; then :
74161  $as_echo_n "(cached) " >&6
74162else
74163
74164
74165      ac_ext=cpp
74166ac_cpp='$CXXCPP $CPPFLAGS'
74167ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74168ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74169ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74170
74171      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74172/* end confdefs.h.  */
74173#include <math.h>
74174int
74175main ()
74176{
74177_ceilf (0); _floorf (0);
74178  ;
74179  return 0;
74180}
74181_ACEOF
74182if ac_fn_cxx_try_compile "$LINENO"; then :
74183  glibcxx_cv_func__float_round_use=yes
74184else
74185  glibcxx_cv_func__float_round_use=no
74186fi
74187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74188      ac_ext=c
74189ac_cpp='$CPP $CPPFLAGS'
74190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74192ac_compiler_gnu=$ac_cv_c_compiler_gnu
74193
74194fi
74195
74196    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
74197$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
74198    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
74199      for ac_func in _ceilf _floorf
74200do :
74201  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74202ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74203if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
74204  cat >>confdefs.h <<_ACEOF
74205#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74206_ACEOF
74207
74208fi
74209done
74210
74211    fi
74212  fi
74213
74214
74215
74216
74217
74218
74219  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
74220$as_echo_n "checking for expf declaration... " >&6; }
74221  if test x${glibcxx_cv_func_expf_use+set} != xset; then
74222    if ${glibcxx_cv_func_expf_use+:} false; then :
74223  $as_echo_n "(cached) " >&6
74224else
74225
74226
74227      ac_ext=cpp
74228ac_cpp='$CXXCPP $CPPFLAGS'
74229ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74230ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74231ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74232
74233      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74234/* end confdefs.h.  */
74235#include <math.h>
74236		      #ifdef HAVE_IEEEFP_H
74237		      #include <ieeefp.h>
74238		      #endif
74239
74240int
74241main ()
74242{
74243 expf(0);
74244  ;
74245  return 0;
74246}
74247_ACEOF
74248if ac_fn_cxx_try_compile "$LINENO"; then :
74249  glibcxx_cv_func_expf_use=yes
74250else
74251  glibcxx_cv_func_expf_use=no
74252fi
74253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74254      ac_ext=c
74255ac_cpp='$CPP $CPPFLAGS'
74256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74258ac_compiler_gnu=$ac_cv_c_compiler_gnu
74259
74260
74261fi
74262
74263  fi
74264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
74265$as_echo "$glibcxx_cv_func_expf_use" >&6; }
74266
74267  if test x$glibcxx_cv_func_expf_use = x"yes"; then
74268    for ac_func in expf
74269do :
74270  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
74271if test "x$ac_cv_func_expf" = xyes; then :
74272  cat >>confdefs.h <<_ACEOF
74273#define HAVE_EXPF 1
74274_ACEOF
74275
74276fi
74277done
74278
74279  else
74280
74281  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
74282$as_echo_n "checking for _expf declaration... " >&6; }
74283  if test x${glibcxx_cv_func__expf_use+set} != xset; then
74284    if ${glibcxx_cv_func__expf_use+:} false; then :
74285  $as_echo_n "(cached) " >&6
74286else
74287
74288
74289      ac_ext=cpp
74290ac_cpp='$CXXCPP $CPPFLAGS'
74291ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74292ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74293ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74294
74295      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74296/* end confdefs.h.  */
74297#include <math.h>
74298		      #ifdef HAVE_IEEEFP_H
74299		      #include <ieeefp.h>
74300		      #endif
74301
74302int
74303main ()
74304{
74305 _expf(0);
74306  ;
74307  return 0;
74308}
74309_ACEOF
74310if ac_fn_cxx_try_compile "$LINENO"; then :
74311  glibcxx_cv_func__expf_use=yes
74312else
74313  glibcxx_cv_func__expf_use=no
74314fi
74315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74316      ac_ext=c
74317ac_cpp='$CPP $CPPFLAGS'
74318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74320ac_compiler_gnu=$ac_cv_c_compiler_gnu
74321
74322
74323fi
74324
74325  fi
74326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
74327$as_echo "$glibcxx_cv_func__expf_use" >&6; }
74328
74329    if test x$glibcxx_cv_func__expf_use = x"yes"; then
74330      for ac_func in _expf
74331do :
74332  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
74333if test "x$ac_cv_func__expf" = xyes; then :
74334  cat >>confdefs.h <<_ACEOF
74335#define HAVE__EXPF 1
74336_ACEOF
74337
74338fi
74339done
74340
74341    fi
74342  fi
74343
74344
74345
74346
74347
74348  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
74349$as_echo_n "checking for isnanf declaration... " >&6; }
74350  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
74351    if ${glibcxx_cv_func_isnanf_use+:} false; 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>
74365		      #ifdef HAVE_IEEEFP_H
74366		      #include <ieeefp.h>
74367		      #endif
74368
74369int
74370main ()
74371{
74372 isnanf(0);
74373  ;
74374  return 0;
74375}
74376_ACEOF
74377if ac_fn_cxx_try_compile "$LINENO"; then :
74378  glibcxx_cv_func_isnanf_use=yes
74379else
74380  glibcxx_cv_func_isnanf_use=no
74381fi
74382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74383      ac_ext=c
74384ac_cpp='$CPP $CPPFLAGS'
74385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74387ac_compiler_gnu=$ac_cv_c_compiler_gnu
74388
74389
74390fi
74391
74392  fi
74393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
74394$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
74395
74396  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
74397    for ac_func in isnanf
74398do :
74399  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
74400if test "x$ac_cv_func_isnanf" = xyes; then :
74401  cat >>confdefs.h <<_ACEOF
74402#define HAVE_ISNANF 1
74403_ACEOF
74404
74405fi
74406done
74407
74408  else
74409
74410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
74411$as_echo_n "checking for _isnanf declaration... " >&6; }
74412  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
74413    if ${glibcxx_cv_func__isnanf_use+:} false; then :
74414  $as_echo_n "(cached) " >&6
74415else
74416
74417
74418      ac_ext=cpp
74419ac_cpp='$CXXCPP $CPPFLAGS'
74420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74421ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74422ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74423
74424      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74425/* end confdefs.h.  */
74426#include <math.h>
74427		      #ifdef HAVE_IEEEFP_H
74428		      #include <ieeefp.h>
74429		      #endif
74430
74431int
74432main ()
74433{
74434 _isnanf(0);
74435  ;
74436  return 0;
74437}
74438_ACEOF
74439if ac_fn_cxx_try_compile "$LINENO"; then :
74440  glibcxx_cv_func__isnanf_use=yes
74441else
74442  glibcxx_cv_func__isnanf_use=no
74443fi
74444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74445      ac_ext=c
74446ac_cpp='$CPP $CPPFLAGS'
74447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74449ac_compiler_gnu=$ac_cv_c_compiler_gnu
74450
74451
74452fi
74453
74454  fi
74455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74456$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74457
74458    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74459      for ac_func in _isnanf
74460do :
74461  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74462if test "x$ac_cv_func__isnanf" = xyes; then :
74463  cat >>confdefs.h <<_ACEOF
74464#define HAVE__ISNANF 1
74465_ACEOF
74466
74467fi
74468done
74469
74470    fi
74471  fi
74472
74473
74474
74475
74476
74477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74478$as_echo_n "checking for isinff declaration... " >&6; }
74479  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74480    if ${glibcxx_cv_func_isinff_use+:} false; then :
74481  $as_echo_n "(cached) " >&6
74482else
74483
74484
74485      ac_ext=cpp
74486ac_cpp='$CXXCPP $CPPFLAGS'
74487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74490
74491      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74492/* end confdefs.h.  */
74493#include <math.h>
74494		      #ifdef HAVE_IEEEFP_H
74495		      #include <ieeefp.h>
74496		      #endif
74497
74498int
74499main ()
74500{
74501 isinff(0);
74502  ;
74503  return 0;
74504}
74505_ACEOF
74506if ac_fn_cxx_try_compile "$LINENO"; then :
74507  glibcxx_cv_func_isinff_use=yes
74508else
74509  glibcxx_cv_func_isinff_use=no
74510fi
74511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74512      ac_ext=c
74513ac_cpp='$CPP $CPPFLAGS'
74514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74516ac_compiler_gnu=$ac_cv_c_compiler_gnu
74517
74518
74519fi
74520
74521  fi
74522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74523$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74524
74525  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74526    for ac_func in isinff
74527do :
74528  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74529if test "x$ac_cv_func_isinff" = xyes; then :
74530  cat >>confdefs.h <<_ACEOF
74531#define HAVE_ISINFF 1
74532_ACEOF
74533
74534fi
74535done
74536
74537  else
74538
74539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74540$as_echo_n "checking for _isinff declaration... " >&6; }
74541  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74542    if ${glibcxx_cv_func__isinff_use+:} false; then :
74543  $as_echo_n "(cached) " >&6
74544else
74545
74546
74547      ac_ext=cpp
74548ac_cpp='$CXXCPP $CPPFLAGS'
74549ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74550ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74551ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74552
74553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74554/* end confdefs.h.  */
74555#include <math.h>
74556		      #ifdef HAVE_IEEEFP_H
74557		      #include <ieeefp.h>
74558		      #endif
74559
74560int
74561main ()
74562{
74563 _isinff(0);
74564  ;
74565  return 0;
74566}
74567_ACEOF
74568if ac_fn_cxx_try_compile "$LINENO"; then :
74569  glibcxx_cv_func__isinff_use=yes
74570else
74571  glibcxx_cv_func__isinff_use=no
74572fi
74573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74574      ac_ext=c
74575ac_cpp='$CPP $CPPFLAGS'
74576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74578ac_compiler_gnu=$ac_cv_c_compiler_gnu
74579
74580
74581fi
74582
74583  fi
74584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74585$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74586
74587    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74588      for ac_func in _isinff
74589do :
74590  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74591if test "x$ac_cv_func__isinff" = xyes; then :
74592  cat >>confdefs.h <<_ACEOF
74593#define HAVE__ISINFF 1
74594_ACEOF
74595
74596fi
74597done
74598
74599    fi
74600  fi
74601
74602
74603
74604
74605
74606  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74607$as_echo_n "checking for atan2f declaration... " >&6; }
74608  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74609    if ${glibcxx_cv_func_atan2f_use+:} false; then :
74610  $as_echo_n "(cached) " >&6
74611else
74612
74613
74614      ac_ext=cpp
74615ac_cpp='$CXXCPP $CPPFLAGS'
74616ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74617ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74618ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74619
74620      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74621/* end confdefs.h.  */
74622#include <math.h>
74623int
74624main ()
74625{
74626 atan2f(0, 0);
74627  ;
74628  return 0;
74629}
74630_ACEOF
74631if ac_fn_cxx_try_compile "$LINENO"; then :
74632  glibcxx_cv_func_atan2f_use=yes
74633else
74634  glibcxx_cv_func_atan2f_use=no
74635fi
74636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74637      ac_ext=c
74638ac_cpp='$CPP $CPPFLAGS'
74639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74641ac_compiler_gnu=$ac_cv_c_compiler_gnu
74642
74643
74644fi
74645
74646  fi
74647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74648$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74649
74650  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74651    for ac_func in atan2f
74652do :
74653  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74654if test "x$ac_cv_func_atan2f" = xyes; then :
74655  cat >>confdefs.h <<_ACEOF
74656#define HAVE_ATAN2F 1
74657_ACEOF
74658
74659fi
74660done
74661
74662  else
74663
74664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74665$as_echo_n "checking for _atan2f declaration... " >&6; }
74666  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74667    if ${glibcxx_cv_func__atan2f_use+:} false; then :
74668  $as_echo_n "(cached) " >&6
74669else
74670
74671
74672      ac_ext=cpp
74673ac_cpp='$CXXCPP $CPPFLAGS'
74674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74677
74678      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74679/* end confdefs.h.  */
74680#include <math.h>
74681int
74682main ()
74683{
74684 _atan2f(0, 0);
74685  ;
74686  return 0;
74687}
74688_ACEOF
74689if ac_fn_cxx_try_compile "$LINENO"; then :
74690  glibcxx_cv_func__atan2f_use=yes
74691else
74692  glibcxx_cv_func__atan2f_use=no
74693fi
74694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74695      ac_ext=c
74696ac_cpp='$CPP $CPPFLAGS'
74697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74699ac_compiler_gnu=$ac_cv_c_compiler_gnu
74700
74701
74702fi
74703
74704  fi
74705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74706$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74707
74708    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74709      for ac_func in _atan2f
74710do :
74711  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74712if test "x$ac_cv_func__atan2f" = xyes; then :
74713  cat >>confdefs.h <<_ACEOF
74714#define HAVE__ATAN2F 1
74715_ACEOF
74716
74717fi
74718done
74719
74720    fi
74721  fi
74722
74723
74724
74725
74726
74727  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74728$as_echo_n "checking for fabsf declaration... " >&6; }
74729  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74730    if ${glibcxx_cv_func_fabsf_use+:} false; then :
74731  $as_echo_n "(cached) " >&6
74732else
74733
74734
74735      ac_ext=cpp
74736ac_cpp='$CXXCPP $CPPFLAGS'
74737ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74738ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74739ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74740
74741      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74742/* end confdefs.h.  */
74743#include <math.h>
74744		      #ifdef HAVE_IEEEFP_H
74745		      #include <ieeefp.h>
74746		      #endif
74747
74748int
74749main ()
74750{
74751 fabsf(0);
74752  ;
74753  return 0;
74754}
74755_ACEOF
74756if ac_fn_cxx_try_compile "$LINENO"; then :
74757  glibcxx_cv_func_fabsf_use=yes
74758else
74759  glibcxx_cv_func_fabsf_use=no
74760fi
74761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74762      ac_ext=c
74763ac_cpp='$CPP $CPPFLAGS'
74764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74766ac_compiler_gnu=$ac_cv_c_compiler_gnu
74767
74768
74769fi
74770
74771  fi
74772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74773$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74774
74775  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74776    for ac_func in fabsf
74777do :
74778  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74779if test "x$ac_cv_func_fabsf" = xyes; then :
74780  cat >>confdefs.h <<_ACEOF
74781#define HAVE_FABSF 1
74782_ACEOF
74783
74784fi
74785done
74786
74787  else
74788
74789  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74790$as_echo_n "checking for _fabsf declaration... " >&6; }
74791  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74792    if ${glibcxx_cv_func__fabsf_use+:} false; then :
74793  $as_echo_n "(cached) " >&6
74794else
74795
74796
74797      ac_ext=cpp
74798ac_cpp='$CXXCPP $CPPFLAGS'
74799ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74800ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74801ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74802
74803      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74804/* end confdefs.h.  */
74805#include <math.h>
74806		      #ifdef HAVE_IEEEFP_H
74807		      #include <ieeefp.h>
74808		      #endif
74809
74810int
74811main ()
74812{
74813 _fabsf(0);
74814  ;
74815  return 0;
74816}
74817_ACEOF
74818if ac_fn_cxx_try_compile "$LINENO"; then :
74819  glibcxx_cv_func__fabsf_use=yes
74820else
74821  glibcxx_cv_func__fabsf_use=no
74822fi
74823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74824      ac_ext=c
74825ac_cpp='$CPP $CPPFLAGS'
74826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74828ac_compiler_gnu=$ac_cv_c_compiler_gnu
74829
74830
74831fi
74832
74833  fi
74834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74835$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74836
74837    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74838      for ac_func in _fabsf
74839do :
74840  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74841if test "x$ac_cv_func__fabsf" = xyes; then :
74842  cat >>confdefs.h <<_ACEOF
74843#define HAVE__FABSF 1
74844_ACEOF
74845
74846fi
74847done
74848
74849    fi
74850  fi
74851
74852
74853
74854
74855
74856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74857$as_echo_n "checking for fmodf declaration... " >&6; }
74858  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74859    if ${glibcxx_cv_func_fmodf_use+:} false; then :
74860  $as_echo_n "(cached) " >&6
74861else
74862
74863
74864      ac_ext=cpp
74865ac_cpp='$CXXCPP $CPPFLAGS'
74866ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74867ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74868ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74869
74870      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74871/* end confdefs.h.  */
74872#include <math.h>
74873int
74874main ()
74875{
74876 fmodf(0, 0);
74877  ;
74878  return 0;
74879}
74880_ACEOF
74881if ac_fn_cxx_try_compile "$LINENO"; then :
74882  glibcxx_cv_func_fmodf_use=yes
74883else
74884  glibcxx_cv_func_fmodf_use=no
74885fi
74886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74887      ac_ext=c
74888ac_cpp='$CPP $CPPFLAGS'
74889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74891ac_compiler_gnu=$ac_cv_c_compiler_gnu
74892
74893
74894fi
74895
74896  fi
74897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74898$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74899
74900  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74901    for ac_func in fmodf
74902do :
74903  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74904if test "x$ac_cv_func_fmodf" = xyes; then :
74905  cat >>confdefs.h <<_ACEOF
74906#define HAVE_FMODF 1
74907_ACEOF
74908
74909fi
74910done
74911
74912  else
74913
74914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74915$as_echo_n "checking for _fmodf declaration... " >&6; }
74916  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74917    if ${glibcxx_cv_func__fmodf_use+:} false; then :
74918  $as_echo_n "(cached) " >&6
74919else
74920
74921
74922      ac_ext=cpp
74923ac_cpp='$CXXCPP $CPPFLAGS'
74924ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74925ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74926ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74927
74928      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74929/* end confdefs.h.  */
74930#include <math.h>
74931int
74932main ()
74933{
74934 _fmodf(0, 0);
74935  ;
74936  return 0;
74937}
74938_ACEOF
74939if ac_fn_cxx_try_compile "$LINENO"; then :
74940  glibcxx_cv_func__fmodf_use=yes
74941else
74942  glibcxx_cv_func__fmodf_use=no
74943fi
74944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74945      ac_ext=c
74946ac_cpp='$CPP $CPPFLAGS'
74947ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74948ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74949ac_compiler_gnu=$ac_cv_c_compiler_gnu
74950
74951
74952fi
74953
74954  fi
74955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74956$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74957
74958    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74959      for ac_func in _fmodf
74960do :
74961  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74962if test "x$ac_cv_func__fmodf" = xyes; then :
74963  cat >>confdefs.h <<_ACEOF
74964#define HAVE__FMODF 1
74965_ACEOF
74966
74967fi
74968done
74969
74970    fi
74971  fi
74972
74973
74974
74975
74976
74977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74978$as_echo_n "checking for frexpf declaration... " >&6; }
74979  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74980    if ${glibcxx_cv_func_frexpf_use+:} false; then :
74981  $as_echo_n "(cached) " >&6
74982else
74983
74984
74985      ac_ext=cpp
74986ac_cpp='$CXXCPP $CPPFLAGS'
74987ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74988ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74989ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74990
74991      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74992/* end confdefs.h.  */
74993#include <math.h>
74994int
74995main ()
74996{
74997 frexpf(0, 0);
74998  ;
74999  return 0;
75000}
75001_ACEOF
75002if ac_fn_cxx_try_compile "$LINENO"; then :
75003  glibcxx_cv_func_frexpf_use=yes
75004else
75005  glibcxx_cv_func_frexpf_use=no
75006fi
75007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75008      ac_ext=c
75009ac_cpp='$CPP $CPPFLAGS'
75010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75012ac_compiler_gnu=$ac_cv_c_compiler_gnu
75013
75014
75015fi
75016
75017  fi
75018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
75019$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
75020
75021  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
75022    for ac_func in frexpf
75023do :
75024  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
75025if test "x$ac_cv_func_frexpf" = xyes; then :
75026  cat >>confdefs.h <<_ACEOF
75027#define HAVE_FREXPF 1
75028_ACEOF
75029
75030fi
75031done
75032
75033  else
75034
75035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
75036$as_echo_n "checking for _frexpf declaration... " >&6; }
75037  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
75038    if ${glibcxx_cv_func__frexpf_use+:} false; then :
75039  $as_echo_n "(cached) " >&6
75040else
75041
75042
75043      ac_ext=cpp
75044ac_cpp='$CXXCPP $CPPFLAGS'
75045ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75046ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75047ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75048
75049      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75050/* end confdefs.h.  */
75051#include <math.h>
75052int
75053main ()
75054{
75055 _frexpf(0, 0);
75056  ;
75057  return 0;
75058}
75059_ACEOF
75060if ac_fn_cxx_try_compile "$LINENO"; then :
75061  glibcxx_cv_func__frexpf_use=yes
75062else
75063  glibcxx_cv_func__frexpf_use=no
75064fi
75065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75066      ac_ext=c
75067ac_cpp='$CPP $CPPFLAGS'
75068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75070ac_compiler_gnu=$ac_cv_c_compiler_gnu
75071
75072
75073fi
75074
75075  fi
75076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
75077$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
75078
75079    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
75080      for ac_func in _frexpf
75081do :
75082  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
75083if test "x$ac_cv_func__frexpf" = xyes; then :
75084  cat >>confdefs.h <<_ACEOF
75085#define HAVE__FREXPF 1
75086_ACEOF
75087
75088fi
75089done
75090
75091    fi
75092  fi
75093
75094
75095
75096
75097
75098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
75099$as_echo_n "checking for hypotf declaration... " >&6; }
75100  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
75101    if ${glibcxx_cv_func_hypotf_use+:} false; then :
75102  $as_echo_n "(cached) " >&6
75103else
75104
75105
75106      ac_ext=cpp
75107ac_cpp='$CXXCPP $CPPFLAGS'
75108ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75109ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75110ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75111
75112      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75113/* end confdefs.h.  */
75114#include <math.h>
75115int
75116main ()
75117{
75118 hypotf(0, 0);
75119  ;
75120  return 0;
75121}
75122_ACEOF
75123if ac_fn_cxx_try_compile "$LINENO"; then :
75124  glibcxx_cv_func_hypotf_use=yes
75125else
75126  glibcxx_cv_func_hypotf_use=no
75127fi
75128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75129      ac_ext=c
75130ac_cpp='$CPP $CPPFLAGS'
75131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75133ac_compiler_gnu=$ac_cv_c_compiler_gnu
75134
75135
75136fi
75137
75138  fi
75139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
75140$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
75141
75142  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
75143    for ac_func in hypotf
75144do :
75145  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
75146if test "x$ac_cv_func_hypotf" = xyes; then :
75147  cat >>confdefs.h <<_ACEOF
75148#define HAVE_HYPOTF 1
75149_ACEOF
75150
75151fi
75152done
75153
75154  else
75155
75156  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
75157$as_echo_n "checking for _hypotf declaration... " >&6; }
75158  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
75159    if ${glibcxx_cv_func__hypotf_use+:} false; then :
75160  $as_echo_n "(cached) " >&6
75161else
75162
75163
75164      ac_ext=cpp
75165ac_cpp='$CXXCPP $CPPFLAGS'
75166ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75167ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75168ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75169
75170      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75171/* end confdefs.h.  */
75172#include <math.h>
75173int
75174main ()
75175{
75176 _hypotf(0, 0);
75177  ;
75178  return 0;
75179}
75180_ACEOF
75181if ac_fn_cxx_try_compile "$LINENO"; then :
75182  glibcxx_cv_func__hypotf_use=yes
75183else
75184  glibcxx_cv_func__hypotf_use=no
75185fi
75186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75187      ac_ext=c
75188ac_cpp='$CPP $CPPFLAGS'
75189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75191ac_compiler_gnu=$ac_cv_c_compiler_gnu
75192
75193
75194fi
75195
75196  fi
75197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
75198$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
75199
75200    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
75201      for ac_func in _hypotf
75202do :
75203  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
75204if test "x$ac_cv_func__hypotf" = xyes; then :
75205  cat >>confdefs.h <<_ACEOF
75206#define HAVE__HYPOTF 1
75207_ACEOF
75208
75209fi
75210done
75211
75212    fi
75213  fi
75214
75215
75216
75217
75218
75219  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
75220$as_echo_n "checking for ldexpf declaration... " >&6; }
75221  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
75222    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
75223  $as_echo_n "(cached) " >&6
75224else
75225
75226
75227      ac_ext=cpp
75228ac_cpp='$CXXCPP $CPPFLAGS'
75229ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75230ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75231ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75232
75233      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75234/* end confdefs.h.  */
75235#include <math.h>
75236int
75237main ()
75238{
75239 ldexpf(0, 0);
75240  ;
75241  return 0;
75242}
75243_ACEOF
75244if ac_fn_cxx_try_compile "$LINENO"; then :
75245  glibcxx_cv_func_ldexpf_use=yes
75246else
75247  glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
75261$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
75262
75263  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
75264    for ac_func in ldexpf
75265do :
75266  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
75267if test "x$ac_cv_func_ldexpf" = xyes; then :
75268  cat >>confdefs.h <<_ACEOF
75269#define HAVE_LDEXPF 1
75270_ACEOF
75271
75272fi
75273done
75274
75275  else
75276
75277  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
75278$as_echo_n "checking for _ldexpf declaration... " >&6; }
75279  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
75280    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
75281  $as_echo_n "(cached) " >&6
75282else
75283
75284
75285      ac_ext=cpp
75286ac_cpp='$CXXCPP $CPPFLAGS'
75287ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75288ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75289ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75290
75291      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75292/* end confdefs.h.  */
75293#include <math.h>
75294int
75295main ()
75296{
75297 _ldexpf(0, 0);
75298  ;
75299  return 0;
75300}
75301_ACEOF
75302if ac_fn_cxx_try_compile "$LINENO"; then :
75303  glibcxx_cv_func__ldexpf_use=yes
75304else
75305  glibcxx_cv_func__ldexpf_use=no
75306fi
75307rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75308      ac_ext=c
75309ac_cpp='$CPP $CPPFLAGS'
75310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75312ac_compiler_gnu=$ac_cv_c_compiler_gnu
75313
75314
75315fi
75316
75317  fi
75318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
75319$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
75320
75321    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
75322      for ac_func in _ldexpf
75323do :
75324  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
75325if test "x$ac_cv_func__ldexpf" = xyes; then :
75326  cat >>confdefs.h <<_ACEOF
75327#define HAVE__LDEXPF 1
75328_ACEOF
75329
75330fi
75331done
75332
75333    fi
75334  fi
75335
75336
75337
75338
75339
75340  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
75341$as_echo_n "checking for logf declaration... " >&6; }
75342  if test x${glibcxx_cv_func_logf_use+set} != xset; then
75343    if ${glibcxx_cv_func_logf_use+:} false; 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>
75357		      #ifdef HAVE_IEEEFP_H
75358		      #include <ieeefp.h>
75359		      #endif
75360
75361int
75362main ()
75363{
75364 logf(0);
75365  ;
75366  return 0;
75367}
75368_ACEOF
75369if ac_fn_cxx_try_compile "$LINENO"; then :
75370  glibcxx_cv_func_logf_use=yes
75371else
75372  glibcxx_cv_func_logf_use=no
75373fi
75374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75375      ac_ext=c
75376ac_cpp='$CPP $CPPFLAGS'
75377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75379ac_compiler_gnu=$ac_cv_c_compiler_gnu
75380
75381
75382fi
75383
75384  fi
75385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
75386$as_echo "$glibcxx_cv_func_logf_use" >&6; }
75387
75388  if test x$glibcxx_cv_func_logf_use = x"yes"; then
75389    for ac_func in logf
75390do :
75391  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
75392if test "x$ac_cv_func_logf" = xyes; then :
75393  cat >>confdefs.h <<_ACEOF
75394#define HAVE_LOGF 1
75395_ACEOF
75396
75397fi
75398done
75399
75400  else
75401
75402  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
75403$as_echo_n "checking for _logf declaration... " >&6; }
75404  if test x${glibcxx_cv_func__logf_use+set} != xset; then
75405    if ${glibcxx_cv_func__logf_use+:} false; then :
75406  $as_echo_n "(cached) " >&6
75407else
75408
75409
75410      ac_ext=cpp
75411ac_cpp='$CXXCPP $CPPFLAGS'
75412ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75413ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75414ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75415
75416      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75417/* end confdefs.h.  */
75418#include <math.h>
75419		      #ifdef HAVE_IEEEFP_H
75420		      #include <ieeefp.h>
75421		      #endif
75422
75423int
75424main ()
75425{
75426 _logf(0);
75427  ;
75428  return 0;
75429}
75430_ACEOF
75431if ac_fn_cxx_try_compile "$LINENO"; then :
75432  glibcxx_cv_func__logf_use=yes
75433else
75434  glibcxx_cv_func__logf_use=no
75435fi
75436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75437      ac_ext=c
75438ac_cpp='$CPP $CPPFLAGS'
75439ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75440ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75441ac_compiler_gnu=$ac_cv_c_compiler_gnu
75442
75443
75444fi
75445
75446  fi
75447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
75448$as_echo "$glibcxx_cv_func__logf_use" >&6; }
75449
75450    if test x$glibcxx_cv_func__logf_use = x"yes"; then
75451      for ac_func in _logf
75452do :
75453  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75454if test "x$ac_cv_func__logf" = xyes; then :
75455  cat >>confdefs.h <<_ACEOF
75456#define HAVE__LOGF 1
75457_ACEOF
75458
75459fi
75460done
75461
75462    fi
75463  fi
75464
75465
75466
75467
75468
75469  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75470$as_echo_n "checking for log10f declaration... " >&6; }
75471  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75472    if ${glibcxx_cv_func_log10f_use+:} false; then :
75473  $as_echo_n "(cached) " >&6
75474else
75475
75476
75477      ac_ext=cpp
75478ac_cpp='$CXXCPP $CPPFLAGS'
75479ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75480ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75481ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75482
75483      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75484/* end confdefs.h.  */
75485#include <math.h>
75486		      #ifdef HAVE_IEEEFP_H
75487		      #include <ieeefp.h>
75488		      #endif
75489
75490int
75491main ()
75492{
75493 log10f(0);
75494  ;
75495  return 0;
75496}
75497_ACEOF
75498if ac_fn_cxx_try_compile "$LINENO"; then :
75499  glibcxx_cv_func_log10f_use=yes
75500else
75501  glibcxx_cv_func_log10f_use=no
75502fi
75503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75504      ac_ext=c
75505ac_cpp='$CPP $CPPFLAGS'
75506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75508ac_compiler_gnu=$ac_cv_c_compiler_gnu
75509
75510
75511fi
75512
75513  fi
75514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75515$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75516
75517  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75518    for ac_func in log10f
75519do :
75520  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75521if test "x$ac_cv_func_log10f" = xyes; then :
75522  cat >>confdefs.h <<_ACEOF
75523#define HAVE_LOG10F 1
75524_ACEOF
75525
75526fi
75527done
75528
75529  else
75530
75531  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75532$as_echo_n "checking for _log10f declaration... " >&6; }
75533  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75534    if ${glibcxx_cv_func__log10f_use+:} false; then :
75535  $as_echo_n "(cached) " >&6
75536else
75537
75538
75539      ac_ext=cpp
75540ac_cpp='$CXXCPP $CPPFLAGS'
75541ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75542ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75543ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75544
75545      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75546/* end confdefs.h.  */
75547#include <math.h>
75548		      #ifdef HAVE_IEEEFP_H
75549		      #include <ieeefp.h>
75550		      #endif
75551
75552int
75553main ()
75554{
75555 _log10f(0);
75556  ;
75557  return 0;
75558}
75559_ACEOF
75560if ac_fn_cxx_try_compile "$LINENO"; then :
75561  glibcxx_cv_func__log10f_use=yes
75562else
75563  glibcxx_cv_func__log10f_use=no
75564fi
75565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75566      ac_ext=c
75567ac_cpp='$CPP $CPPFLAGS'
75568ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75569ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75570ac_compiler_gnu=$ac_cv_c_compiler_gnu
75571
75572
75573fi
75574
75575  fi
75576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75577$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75578
75579    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75580      for ac_func in _log10f
75581do :
75582  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75583if test "x$ac_cv_func__log10f" = xyes; then :
75584  cat >>confdefs.h <<_ACEOF
75585#define HAVE__LOG10F 1
75586_ACEOF
75587
75588fi
75589done
75590
75591    fi
75592  fi
75593
75594
75595
75596
75597
75598  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75599$as_echo_n "checking for modff declaration... " >&6; }
75600  if test x${glibcxx_cv_func_modff_use+set} != xset; then
75601    if ${glibcxx_cv_func_modff_use+:} false; then :
75602  $as_echo_n "(cached) " >&6
75603else
75604
75605
75606      ac_ext=cpp
75607ac_cpp='$CXXCPP $CPPFLAGS'
75608ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75609ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75610ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75611
75612      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75613/* end confdefs.h.  */
75614#include <math.h>
75615int
75616main ()
75617{
75618 modff(0, 0);
75619  ;
75620  return 0;
75621}
75622_ACEOF
75623if ac_fn_cxx_try_compile "$LINENO"; then :
75624  glibcxx_cv_func_modff_use=yes
75625else
75626  glibcxx_cv_func_modff_use=no
75627fi
75628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75629      ac_ext=c
75630ac_cpp='$CPP $CPPFLAGS'
75631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75633ac_compiler_gnu=$ac_cv_c_compiler_gnu
75634
75635
75636fi
75637
75638  fi
75639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75640$as_echo "$glibcxx_cv_func_modff_use" >&6; }
75641
75642  if test x$glibcxx_cv_func_modff_use = x"yes"; then
75643    for ac_func in modff
75644do :
75645  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75646if test "x$ac_cv_func_modff" = xyes; then :
75647  cat >>confdefs.h <<_ACEOF
75648#define HAVE_MODFF 1
75649_ACEOF
75650
75651fi
75652done
75653
75654  else
75655
75656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75657$as_echo_n "checking for _modff declaration... " >&6; }
75658  if test x${glibcxx_cv_func__modff_use+set} != xset; then
75659    if ${glibcxx_cv_func__modff_use+:} false; then :
75660  $as_echo_n "(cached) " >&6
75661else
75662
75663
75664      ac_ext=cpp
75665ac_cpp='$CXXCPP $CPPFLAGS'
75666ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75667ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75668ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75669
75670      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75671/* end confdefs.h.  */
75672#include <math.h>
75673int
75674main ()
75675{
75676 _modff(0, 0);
75677  ;
75678  return 0;
75679}
75680_ACEOF
75681if ac_fn_cxx_try_compile "$LINENO"; then :
75682  glibcxx_cv_func__modff_use=yes
75683else
75684  glibcxx_cv_func__modff_use=no
75685fi
75686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75687      ac_ext=c
75688ac_cpp='$CPP $CPPFLAGS'
75689ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75690ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75691ac_compiler_gnu=$ac_cv_c_compiler_gnu
75692
75693
75694fi
75695
75696  fi
75697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75698$as_echo "$glibcxx_cv_func__modff_use" >&6; }
75699
75700    if test x$glibcxx_cv_func__modff_use = x"yes"; then
75701      for ac_func in _modff
75702do :
75703  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75704if test "x$ac_cv_func__modff" = xyes; then :
75705  cat >>confdefs.h <<_ACEOF
75706#define HAVE__MODFF 1
75707_ACEOF
75708
75709fi
75710done
75711
75712    fi
75713  fi
75714
75715
75716
75717
75718
75719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75720$as_echo_n "checking for modf declaration... " >&6; }
75721  if test x${glibcxx_cv_func_modf_use+set} != xset; then
75722    if ${glibcxx_cv_func_modf_use+:} false; then :
75723  $as_echo_n "(cached) " >&6
75724else
75725
75726
75727      ac_ext=cpp
75728ac_cpp='$CXXCPP $CPPFLAGS'
75729ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75730ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75731ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75732
75733      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75734/* end confdefs.h.  */
75735#include <math.h>
75736int
75737main ()
75738{
75739 modf(0, 0);
75740  ;
75741  return 0;
75742}
75743_ACEOF
75744if ac_fn_cxx_try_compile "$LINENO"; then :
75745  glibcxx_cv_func_modf_use=yes
75746else
75747  glibcxx_cv_func_modf_use=no
75748fi
75749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75750      ac_ext=c
75751ac_cpp='$CPP $CPPFLAGS'
75752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75754ac_compiler_gnu=$ac_cv_c_compiler_gnu
75755
75756
75757fi
75758
75759  fi
75760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75761$as_echo "$glibcxx_cv_func_modf_use" >&6; }
75762
75763  if test x$glibcxx_cv_func_modf_use = x"yes"; then
75764    for ac_func in modf
75765do :
75766  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75767if test "x$ac_cv_func_modf" = xyes; then :
75768  cat >>confdefs.h <<_ACEOF
75769#define HAVE_MODF 1
75770_ACEOF
75771
75772fi
75773done
75774
75775  else
75776
75777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75778$as_echo_n "checking for _modf declaration... " >&6; }
75779  if test x${glibcxx_cv_func__modf_use+set} != xset; then
75780    if ${glibcxx_cv_func__modf_use+:} false; then :
75781  $as_echo_n "(cached) " >&6
75782else
75783
75784
75785      ac_ext=cpp
75786ac_cpp='$CXXCPP $CPPFLAGS'
75787ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75788ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75789ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75790
75791      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75792/* end confdefs.h.  */
75793#include <math.h>
75794int
75795main ()
75796{
75797 _modf(0, 0);
75798  ;
75799  return 0;
75800}
75801_ACEOF
75802if ac_fn_cxx_try_compile "$LINENO"; then :
75803  glibcxx_cv_func__modf_use=yes
75804else
75805  glibcxx_cv_func__modf_use=no
75806fi
75807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75808      ac_ext=c
75809ac_cpp='$CPP $CPPFLAGS'
75810ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75811ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75812ac_compiler_gnu=$ac_cv_c_compiler_gnu
75813
75814
75815fi
75816
75817  fi
75818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75819$as_echo "$glibcxx_cv_func__modf_use" >&6; }
75820
75821    if test x$glibcxx_cv_func__modf_use = x"yes"; then
75822      for ac_func in _modf
75823do :
75824  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75825if test "x$ac_cv_func__modf" = xyes; then :
75826  cat >>confdefs.h <<_ACEOF
75827#define HAVE__MODF 1
75828_ACEOF
75829
75830fi
75831done
75832
75833    fi
75834  fi
75835
75836
75837
75838
75839
75840  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75841$as_echo_n "checking for powf declaration... " >&6; }
75842  if test x${glibcxx_cv_func_powf_use+set} != xset; then
75843    if ${glibcxx_cv_func_powf_use+:} false; then :
75844  $as_echo_n "(cached) " >&6
75845else
75846
75847
75848      ac_ext=cpp
75849ac_cpp='$CXXCPP $CPPFLAGS'
75850ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75851ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75852ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75853
75854      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75855/* end confdefs.h.  */
75856#include <math.h>
75857int
75858main ()
75859{
75860 powf(0, 0);
75861  ;
75862  return 0;
75863}
75864_ACEOF
75865if ac_fn_cxx_try_compile "$LINENO"; then :
75866  glibcxx_cv_func_powf_use=yes
75867else
75868  glibcxx_cv_func_powf_use=no
75869fi
75870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75871      ac_ext=c
75872ac_cpp='$CPP $CPPFLAGS'
75873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75875ac_compiler_gnu=$ac_cv_c_compiler_gnu
75876
75877
75878fi
75879
75880  fi
75881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75882$as_echo "$glibcxx_cv_func_powf_use" >&6; }
75883
75884  if test x$glibcxx_cv_func_powf_use = x"yes"; then
75885    for ac_func in powf
75886do :
75887  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75888if test "x$ac_cv_func_powf" = xyes; then :
75889  cat >>confdefs.h <<_ACEOF
75890#define HAVE_POWF 1
75891_ACEOF
75892
75893fi
75894done
75895
75896  else
75897
75898  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75899$as_echo_n "checking for _powf declaration... " >&6; }
75900  if test x${glibcxx_cv_func__powf_use+set} != xset; then
75901    if ${glibcxx_cv_func__powf_use+:} false; then :
75902  $as_echo_n "(cached) " >&6
75903else
75904
75905
75906      ac_ext=cpp
75907ac_cpp='$CXXCPP $CPPFLAGS'
75908ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75909ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75910ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75911
75912      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75913/* end confdefs.h.  */
75914#include <math.h>
75915int
75916main ()
75917{
75918 _powf(0, 0);
75919  ;
75920  return 0;
75921}
75922_ACEOF
75923if ac_fn_cxx_try_compile "$LINENO"; then :
75924  glibcxx_cv_func__powf_use=yes
75925else
75926  glibcxx_cv_func__powf_use=no
75927fi
75928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75929      ac_ext=c
75930ac_cpp='$CPP $CPPFLAGS'
75931ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75932ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75933ac_compiler_gnu=$ac_cv_c_compiler_gnu
75934
75935
75936fi
75937
75938  fi
75939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75940$as_echo "$glibcxx_cv_func__powf_use" >&6; }
75941
75942    if test x$glibcxx_cv_func__powf_use = x"yes"; then
75943      for ac_func in _powf
75944do :
75945  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75946if test "x$ac_cv_func__powf" = xyes; then :
75947  cat >>confdefs.h <<_ACEOF
75948#define HAVE__POWF 1
75949_ACEOF
75950
75951fi
75952done
75953
75954    fi
75955  fi
75956
75957
75958
75959
75960
75961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75962$as_echo_n "checking for sqrtf declaration... " >&6; }
75963  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75964    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
75965  $as_echo_n "(cached) " >&6
75966else
75967
75968
75969      ac_ext=cpp
75970ac_cpp='$CXXCPP $CPPFLAGS'
75971ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75972ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75973ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75974
75975      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75976/* end confdefs.h.  */
75977#include <math.h>
75978		      #ifdef HAVE_IEEEFP_H
75979		      #include <ieeefp.h>
75980		      #endif
75981
75982int
75983main ()
75984{
75985 sqrtf(0);
75986  ;
75987  return 0;
75988}
75989_ACEOF
75990if ac_fn_cxx_try_compile "$LINENO"; then :
75991  glibcxx_cv_func_sqrtf_use=yes
75992else
75993  glibcxx_cv_func_sqrtf_use=no
75994fi
75995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75996      ac_ext=c
75997ac_cpp='$CPP $CPPFLAGS'
75998ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75999ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76000ac_compiler_gnu=$ac_cv_c_compiler_gnu
76001
76002
76003fi
76004
76005  fi
76006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
76007$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
76008
76009  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
76010    for ac_func in sqrtf
76011do :
76012  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
76013if test "x$ac_cv_func_sqrtf" = xyes; then :
76014  cat >>confdefs.h <<_ACEOF
76015#define HAVE_SQRTF 1
76016_ACEOF
76017
76018fi
76019done
76020
76021  else
76022
76023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
76024$as_echo_n "checking for _sqrtf declaration... " >&6; }
76025  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
76026    if ${glibcxx_cv_func__sqrtf_use+:} false; 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>
76040		      #ifdef HAVE_IEEEFP_H
76041		      #include <ieeefp.h>
76042		      #endif
76043
76044int
76045main ()
76046{
76047 _sqrtf(0);
76048  ;
76049  return 0;
76050}
76051_ACEOF
76052if ac_fn_cxx_try_compile "$LINENO"; then :
76053  glibcxx_cv_func__sqrtf_use=yes
76054else
76055  glibcxx_cv_func__sqrtf_use=no
76056fi
76057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76058      ac_ext=c
76059ac_cpp='$CPP $CPPFLAGS'
76060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76062ac_compiler_gnu=$ac_cv_c_compiler_gnu
76063
76064
76065fi
76066
76067  fi
76068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
76069$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
76070
76071    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
76072      for ac_func in _sqrtf
76073do :
76074  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
76075if test "x$ac_cv_func__sqrtf" = xyes; then :
76076  cat >>confdefs.h <<_ACEOF
76077#define HAVE__SQRTF 1
76078_ACEOF
76079
76080fi
76081done
76082
76083    fi
76084  fi
76085
76086
76087
76088
76089
76090  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
76091$as_echo_n "checking for sincosf declaration... " >&6; }
76092  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
76093    if ${glibcxx_cv_func_sincosf_use+:} false; then :
76094  $as_echo_n "(cached) " >&6
76095else
76096
76097
76098      ac_ext=cpp
76099ac_cpp='$CXXCPP $CPPFLAGS'
76100ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76101ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76102ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76103
76104      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76105/* end confdefs.h.  */
76106#include <math.h>
76107int
76108main ()
76109{
76110 sincosf(0, 0, 0);
76111  ;
76112  return 0;
76113}
76114_ACEOF
76115if ac_fn_cxx_try_compile "$LINENO"; then :
76116  glibcxx_cv_func_sincosf_use=yes
76117else
76118  glibcxx_cv_func_sincosf_use=no
76119fi
76120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76121      ac_ext=c
76122ac_cpp='$CPP $CPPFLAGS'
76123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76125ac_compiler_gnu=$ac_cv_c_compiler_gnu
76126
76127
76128fi
76129
76130  fi
76131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
76132$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
76133
76134  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
76135    for ac_func in sincosf
76136do :
76137  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
76138if test "x$ac_cv_func_sincosf" = xyes; then :
76139  cat >>confdefs.h <<_ACEOF
76140#define HAVE_SINCOSF 1
76141_ACEOF
76142
76143fi
76144done
76145
76146  else
76147
76148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
76149$as_echo_n "checking for _sincosf declaration... " >&6; }
76150  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
76151    if ${glibcxx_cv_func__sincosf_use+:} false; then :
76152  $as_echo_n "(cached) " >&6
76153else
76154
76155
76156      ac_ext=cpp
76157ac_cpp='$CXXCPP $CPPFLAGS'
76158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76161
76162      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76163/* end confdefs.h.  */
76164#include <math.h>
76165int
76166main ()
76167{
76168 _sincosf(0, 0, 0);
76169  ;
76170  return 0;
76171}
76172_ACEOF
76173if ac_fn_cxx_try_compile "$LINENO"; then :
76174  glibcxx_cv_func__sincosf_use=yes
76175else
76176  glibcxx_cv_func__sincosf_use=no
76177fi
76178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76179      ac_ext=c
76180ac_cpp='$CPP $CPPFLAGS'
76181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76183ac_compiler_gnu=$ac_cv_c_compiler_gnu
76184
76185
76186fi
76187
76188  fi
76189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
76190$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
76191
76192    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
76193      for ac_func in _sincosf
76194do :
76195  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
76196if test "x$ac_cv_func__sincosf" = xyes; then :
76197  cat >>confdefs.h <<_ACEOF
76198#define HAVE__SINCOSF 1
76199_ACEOF
76200
76201fi
76202done
76203
76204    fi
76205  fi
76206
76207
76208
76209
76210
76211  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
76212$as_echo_n "checking for finitef declaration... " >&6; }
76213  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
76214    if ${glibcxx_cv_func_finitef_use+:} false; then :
76215  $as_echo_n "(cached) " >&6
76216else
76217
76218
76219      ac_ext=cpp
76220ac_cpp='$CXXCPP $CPPFLAGS'
76221ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76222ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76223ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76224
76225      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76226/* end confdefs.h.  */
76227#include <math.h>
76228		      #ifdef HAVE_IEEEFP_H
76229		      #include <ieeefp.h>
76230		      #endif
76231
76232int
76233main ()
76234{
76235 finitef(0);
76236  ;
76237  return 0;
76238}
76239_ACEOF
76240if ac_fn_cxx_try_compile "$LINENO"; then :
76241  glibcxx_cv_func_finitef_use=yes
76242else
76243  glibcxx_cv_func_finitef_use=no
76244fi
76245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76246      ac_ext=c
76247ac_cpp='$CPP $CPPFLAGS'
76248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76250ac_compiler_gnu=$ac_cv_c_compiler_gnu
76251
76252
76253fi
76254
76255  fi
76256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
76257$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
76258
76259  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
76260    for ac_func in finitef
76261do :
76262  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
76263if test "x$ac_cv_func_finitef" = xyes; then :
76264  cat >>confdefs.h <<_ACEOF
76265#define HAVE_FINITEF 1
76266_ACEOF
76267
76268fi
76269done
76270
76271  else
76272
76273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
76274$as_echo_n "checking for _finitef declaration... " >&6; }
76275  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
76276    if ${glibcxx_cv_func__finitef_use+:} false; then :
76277  $as_echo_n "(cached) " >&6
76278else
76279
76280
76281      ac_ext=cpp
76282ac_cpp='$CXXCPP $CPPFLAGS'
76283ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76284ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76285ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76286
76287      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76288/* end confdefs.h.  */
76289#include <math.h>
76290		      #ifdef HAVE_IEEEFP_H
76291		      #include <ieeefp.h>
76292		      #endif
76293
76294int
76295main ()
76296{
76297 _finitef(0);
76298  ;
76299  return 0;
76300}
76301_ACEOF
76302if ac_fn_cxx_try_compile "$LINENO"; then :
76303  glibcxx_cv_func__finitef_use=yes
76304else
76305  glibcxx_cv_func__finitef_use=no
76306fi
76307rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76308      ac_ext=c
76309ac_cpp='$CPP $CPPFLAGS'
76310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76312ac_compiler_gnu=$ac_cv_c_compiler_gnu
76313
76314
76315fi
76316
76317  fi
76318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
76319$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
76320
76321    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
76322      for ac_func in _finitef
76323do :
76324  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
76325if test "x$ac_cv_func__finitef" = xyes; then :
76326  cat >>confdefs.h <<_ACEOF
76327#define HAVE__FINITEF 1
76328_ACEOF
76329
76330fi
76331done
76332
76333    fi
76334  fi
76335
76336
76337
76338
76339
76340    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
76341$as_echo_n "checking for long double trig functions... " >&6; }
76342  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
76343  $as_echo_n "(cached) " >&6
76344else
76345
76346
76347    ac_ext=cpp
76348ac_cpp='$CXXCPP $CPPFLAGS'
76349ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76350ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76351ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76352
76353    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76354/* end confdefs.h.  */
76355#include <math.h>
76356int
76357main ()
76358{
76359acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
76360  ;
76361  return 0;
76362}
76363_ACEOF
76364if ac_fn_cxx_try_compile "$LINENO"; then :
76365  glibcxx_cv_func_long_double_trig_use=yes
76366else
76367  glibcxx_cv_func_long_double_trig_use=no
76368fi
76369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76370    ac_ext=c
76371ac_cpp='$CPP $CPPFLAGS'
76372ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76373ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76374ac_compiler_gnu=$ac_cv_c_compiler_gnu
76375
76376fi
76377
76378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
76379$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
76380  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
76381    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
76382do :
76383  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76384ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76385if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76386  cat >>confdefs.h <<_ACEOF
76387#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76388_ACEOF
76389
76390fi
76391done
76392
76393  else
76394    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
76395$as_echo_n "checking for _long double trig functions... " >&6; }
76396    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
76397  $as_echo_n "(cached) " >&6
76398else
76399
76400
76401      ac_ext=cpp
76402ac_cpp='$CXXCPP $CPPFLAGS'
76403ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76404ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76405ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76406
76407      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76408/* end confdefs.h.  */
76409#include <math.h>
76410int
76411main ()
76412{
76413_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76414  ;
76415  return 0;
76416}
76417_ACEOF
76418if ac_fn_cxx_try_compile "$LINENO"; then :
76419  glibcxx_cv_func__long_double_trig_use=yes
76420else
76421  glibcxx_cv_func__long_double_trig_use=no
76422fi
76423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76424      ac_ext=c
76425ac_cpp='$CPP $CPPFLAGS'
76426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76428ac_compiler_gnu=$ac_cv_c_compiler_gnu
76429
76430fi
76431
76432    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
76433$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
76434    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76435      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76436do :
76437  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76438ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76439if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76440  cat >>confdefs.h <<_ACEOF
76441#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76442_ACEOF
76443
76444fi
76445done
76446
76447    fi
76448  fi
76449
76450
76451
76452
76453
76454    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76455$as_echo_n "checking for long double round functions... " >&6; }
76456  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
76457  $as_echo_n "(cached) " >&6
76458else
76459
76460
76461    ac_ext=cpp
76462ac_cpp='$CXXCPP $CPPFLAGS'
76463ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76464ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76465ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76466
76467    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76468/* end confdefs.h.  */
76469#include <math.h>
76470int
76471main ()
76472{
76473ceill (0); floorl (0);
76474  ;
76475  return 0;
76476}
76477_ACEOF
76478if ac_fn_cxx_try_compile "$LINENO"; then :
76479  glibcxx_cv_func_long_double_round_use=yes
76480else
76481  glibcxx_cv_func_long_double_round_use=no
76482fi
76483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76484    ac_ext=c
76485ac_cpp='$CPP $CPPFLAGS'
76486ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76488ac_compiler_gnu=$ac_cv_c_compiler_gnu
76489
76490fi
76491
76492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76493$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76494  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76495    for ac_func in ceill floorl
76496do :
76497  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76498ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76499if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76500  cat >>confdefs.h <<_ACEOF
76501#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76502_ACEOF
76503
76504fi
76505done
76506
76507  else
76508    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76509$as_echo_n "checking for _long double round functions... " >&6; }
76510    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
76511  $as_echo_n "(cached) " >&6
76512else
76513
76514
76515      ac_ext=cpp
76516ac_cpp='$CXXCPP $CPPFLAGS'
76517ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76518ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76519ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76520
76521      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76522/* end confdefs.h.  */
76523#include <math.h>
76524int
76525main ()
76526{
76527_ceill (0); _floorl (0);
76528  ;
76529  return 0;
76530}
76531_ACEOF
76532if ac_fn_cxx_try_compile "$LINENO"; then :
76533  glibcxx_cv_func__long_double_round_use=yes
76534else
76535  glibcxx_cv_func__long_double_round_use=no
76536fi
76537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76538      ac_ext=c
76539ac_cpp='$CPP $CPPFLAGS'
76540ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76541ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76542ac_compiler_gnu=$ac_cv_c_compiler_gnu
76543
76544fi
76545
76546    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76547$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76548    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76549      for ac_func in _ceill _floorl
76550do :
76551  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76552ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76553if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76554  cat >>confdefs.h <<_ACEOF
76555#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76556_ACEOF
76557
76558fi
76559done
76560
76561    fi
76562  fi
76563
76564
76565
76566
76567
76568
76569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76570$as_echo_n "checking for isnanl declaration... " >&6; }
76571  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76572    if ${glibcxx_cv_func_isnanl_use+:} false; then :
76573  $as_echo_n "(cached) " >&6
76574else
76575
76576
76577      ac_ext=cpp
76578ac_cpp='$CXXCPP $CPPFLAGS'
76579ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76580ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76581ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76582
76583      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76584/* end confdefs.h.  */
76585#include <math.h>
76586		      #ifdef HAVE_IEEEFP_H
76587		      #include <ieeefp.h>
76588		      #endif
76589
76590int
76591main ()
76592{
76593 isnanl(0);
76594  ;
76595  return 0;
76596}
76597_ACEOF
76598if ac_fn_cxx_try_compile "$LINENO"; then :
76599  glibcxx_cv_func_isnanl_use=yes
76600else
76601  glibcxx_cv_func_isnanl_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_isnanl_use" >&5
76615$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76616
76617  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76618    for ac_func in isnanl
76619do :
76620  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76621if test "x$ac_cv_func_isnanl" = xyes; then :
76622  cat >>confdefs.h <<_ACEOF
76623#define HAVE_ISNANL 1
76624_ACEOF
76625
76626fi
76627done
76628
76629  else
76630
76631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76632$as_echo_n "checking for _isnanl declaration... " >&6; }
76633  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76634    if ${glibcxx_cv_func__isnanl_use+:} false; then :
76635  $as_echo_n "(cached) " >&6
76636else
76637
76638
76639      ac_ext=cpp
76640ac_cpp='$CXXCPP $CPPFLAGS'
76641ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76642ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76643ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76644
76645      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76646/* end confdefs.h.  */
76647#include <math.h>
76648		      #ifdef HAVE_IEEEFP_H
76649		      #include <ieeefp.h>
76650		      #endif
76651
76652int
76653main ()
76654{
76655 _isnanl(0);
76656  ;
76657  return 0;
76658}
76659_ACEOF
76660if ac_fn_cxx_try_compile "$LINENO"; then :
76661  glibcxx_cv_func__isnanl_use=yes
76662else
76663  glibcxx_cv_func__isnanl_use=no
76664fi
76665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76666      ac_ext=c
76667ac_cpp='$CPP $CPPFLAGS'
76668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76670ac_compiler_gnu=$ac_cv_c_compiler_gnu
76671
76672
76673fi
76674
76675  fi
76676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76677$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76678
76679    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76680      for ac_func in _isnanl
76681do :
76682  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76683if test "x$ac_cv_func__isnanl" = xyes; then :
76684  cat >>confdefs.h <<_ACEOF
76685#define HAVE__ISNANL 1
76686_ACEOF
76687
76688fi
76689done
76690
76691    fi
76692  fi
76693
76694
76695
76696
76697
76698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76699$as_echo_n "checking for isinfl declaration... " >&6; }
76700  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76701    if ${glibcxx_cv_func_isinfl_use+:} false; 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 isinfl(0);
76723  ;
76724  return 0;
76725}
76726_ACEOF
76727if ac_fn_cxx_try_compile "$LINENO"; then :
76728  glibcxx_cv_func_isinfl_use=yes
76729else
76730  glibcxx_cv_func_isinfl_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_isinfl_use" >&5
76744$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76745
76746  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76747    for ac_func in isinfl
76748do :
76749  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76750if test "x$ac_cv_func_isinfl" = xyes; then :
76751  cat >>confdefs.h <<_ACEOF
76752#define HAVE_ISINFL 1
76753_ACEOF
76754
76755fi
76756done
76757
76758  else
76759
76760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76761$as_echo_n "checking for _isinfl declaration... " >&6; }
76762  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76763    if ${glibcxx_cv_func__isinfl_use+:} false; then :
76764  $as_echo_n "(cached) " >&6
76765else
76766
76767
76768      ac_ext=cpp
76769ac_cpp='$CXXCPP $CPPFLAGS'
76770ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76771ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76772ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76773
76774      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76775/* end confdefs.h.  */
76776#include <math.h>
76777		      #ifdef HAVE_IEEEFP_H
76778		      #include <ieeefp.h>
76779		      #endif
76780
76781int
76782main ()
76783{
76784 _isinfl(0);
76785  ;
76786  return 0;
76787}
76788_ACEOF
76789if ac_fn_cxx_try_compile "$LINENO"; then :
76790  glibcxx_cv_func__isinfl_use=yes
76791else
76792  glibcxx_cv_func__isinfl_use=no
76793fi
76794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76795      ac_ext=c
76796ac_cpp='$CPP $CPPFLAGS'
76797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76799ac_compiler_gnu=$ac_cv_c_compiler_gnu
76800
76801
76802fi
76803
76804  fi
76805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76806$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76807
76808    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76809      for ac_func in _isinfl
76810do :
76811  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76812if test "x$ac_cv_func__isinfl" = xyes; then :
76813  cat >>confdefs.h <<_ACEOF
76814#define HAVE__ISINFL 1
76815_ACEOF
76816
76817fi
76818done
76819
76820    fi
76821  fi
76822
76823
76824
76825
76826
76827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76828$as_echo_n "checking for atan2l declaration... " >&6; }
76829  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76830    if ${glibcxx_cv_func_atan2l_use+:} false; 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>
76844int
76845main ()
76846{
76847 atan2l(0, 0);
76848  ;
76849  return 0;
76850}
76851_ACEOF
76852if ac_fn_cxx_try_compile "$LINENO"; then :
76853  glibcxx_cv_func_atan2l_use=yes
76854else
76855  glibcxx_cv_func_atan2l_use=no
76856fi
76857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76858      ac_ext=c
76859ac_cpp='$CPP $CPPFLAGS'
76860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76862ac_compiler_gnu=$ac_cv_c_compiler_gnu
76863
76864
76865fi
76866
76867  fi
76868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76869$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76870
76871  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76872    for ac_func in atan2l
76873do :
76874  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76875if test "x$ac_cv_func_atan2l" = xyes; then :
76876  cat >>confdefs.h <<_ACEOF
76877#define HAVE_ATAN2L 1
76878_ACEOF
76879
76880fi
76881done
76882
76883  else
76884
76885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76886$as_echo_n "checking for _atan2l declaration... " >&6; }
76887  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76888    if ${glibcxx_cv_func__atan2l_use+:} false; then :
76889  $as_echo_n "(cached) " >&6
76890else
76891
76892
76893      ac_ext=cpp
76894ac_cpp='$CXXCPP $CPPFLAGS'
76895ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76896ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76897ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76898
76899      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76900/* end confdefs.h.  */
76901#include <math.h>
76902int
76903main ()
76904{
76905 _atan2l(0, 0);
76906  ;
76907  return 0;
76908}
76909_ACEOF
76910if ac_fn_cxx_try_compile "$LINENO"; then :
76911  glibcxx_cv_func__atan2l_use=yes
76912else
76913  glibcxx_cv_func__atan2l_use=no
76914fi
76915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76916      ac_ext=c
76917ac_cpp='$CPP $CPPFLAGS'
76918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76920ac_compiler_gnu=$ac_cv_c_compiler_gnu
76921
76922
76923fi
76924
76925  fi
76926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76927$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76928
76929    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76930      for ac_func in _atan2l
76931do :
76932  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76933if test "x$ac_cv_func__atan2l" = xyes; then :
76934  cat >>confdefs.h <<_ACEOF
76935#define HAVE__ATAN2L 1
76936_ACEOF
76937
76938fi
76939done
76940
76941    fi
76942  fi
76943
76944
76945
76946
76947
76948  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76949$as_echo_n "checking for expl declaration... " >&6; }
76950  if test x${glibcxx_cv_func_expl_use+set} != xset; then
76951    if ${glibcxx_cv_func_expl_use+:} false; then :
76952  $as_echo_n "(cached) " >&6
76953else
76954
76955
76956      ac_ext=cpp
76957ac_cpp='$CXXCPP $CPPFLAGS'
76958ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76959ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76960ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76961
76962      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76963/* end confdefs.h.  */
76964#include <math.h>
76965		      #ifdef HAVE_IEEEFP_H
76966		      #include <ieeefp.h>
76967		      #endif
76968
76969int
76970main ()
76971{
76972 expl(0);
76973  ;
76974  return 0;
76975}
76976_ACEOF
76977if ac_fn_cxx_try_compile "$LINENO"; then :
76978  glibcxx_cv_func_expl_use=yes
76979else
76980  glibcxx_cv_func_expl_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_expl_use" >&5
76994$as_echo "$glibcxx_cv_func_expl_use" >&6; }
76995
76996  if test x$glibcxx_cv_func_expl_use = x"yes"; then
76997    for ac_func in expl
76998do :
76999  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
77000if test "x$ac_cv_func_expl" = xyes; then :
77001  cat >>confdefs.h <<_ACEOF
77002#define HAVE_EXPL 1
77003_ACEOF
77004
77005fi
77006done
77007
77008  else
77009
77010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
77011$as_echo_n "checking for _expl declaration... " >&6; }
77012  if test x${glibcxx_cv_func__expl_use+set} != xset; then
77013    if ${glibcxx_cv_func__expl_use+:} false; then :
77014  $as_echo_n "(cached) " >&6
77015else
77016
77017
77018      ac_ext=cpp
77019ac_cpp='$CXXCPP $CPPFLAGS'
77020ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77021ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77022ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77023
77024      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77025/* end confdefs.h.  */
77026#include <math.h>
77027		      #ifdef HAVE_IEEEFP_H
77028		      #include <ieeefp.h>
77029		      #endif
77030
77031int
77032main ()
77033{
77034 _expl(0);
77035  ;
77036  return 0;
77037}
77038_ACEOF
77039if ac_fn_cxx_try_compile "$LINENO"; then :
77040  glibcxx_cv_func__expl_use=yes
77041else
77042  glibcxx_cv_func__expl_use=no
77043fi
77044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77045      ac_ext=c
77046ac_cpp='$CPP $CPPFLAGS'
77047ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77048ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77049ac_compiler_gnu=$ac_cv_c_compiler_gnu
77050
77051
77052fi
77053
77054  fi
77055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
77056$as_echo "$glibcxx_cv_func__expl_use" >&6; }
77057
77058    if test x$glibcxx_cv_func__expl_use = x"yes"; then
77059      for ac_func in _expl
77060do :
77061  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
77062if test "x$ac_cv_func__expl" = xyes; then :
77063  cat >>confdefs.h <<_ACEOF
77064#define HAVE__EXPL 1
77065_ACEOF
77066
77067fi
77068done
77069
77070    fi
77071  fi
77072
77073
77074
77075
77076
77077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
77078$as_echo_n "checking for fabsl declaration... " >&6; }
77079  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77080    if ${glibcxx_cv_func_fabsl_use+:} false; then :
77081  $as_echo_n "(cached) " >&6
77082else
77083
77084
77085      ac_ext=cpp
77086ac_cpp='$CXXCPP $CPPFLAGS'
77087ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77088ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77089ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77090
77091      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77092/* end confdefs.h.  */
77093#include <math.h>
77094		      #ifdef HAVE_IEEEFP_H
77095		      #include <ieeefp.h>
77096		      #endif
77097
77098int
77099main ()
77100{
77101 fabsl(0);
77102  ;
77103  return 0;
77104}
77105_ACEOF
77106if ac_fn_cxx_try_compile "$LINENO"; then :
77107  glibcxx_cv_func_fabsl_use=yes
77108else
77109  glibcxx_cv_func_fabsl_use=no
77110fi
77111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77112      ac_ext=c
77113ac_cpp='$CPP $CPPFLAGS'
77114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77115ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77116ac_compiler_gnu=$ac_cv_c_compiler_gnu
77117
77118
77119fi
77120
77121  fi
77122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
77123$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
77124
77125  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77126    for ac_func in fabsl
77127do :
77128  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
77129if test "x$ac_cv_func_fabsl" = xyes; then :
77130  cat >>confdefs.h <<_ACEOF
77131#define HAVE_FABSL 1
77132_ACEOF
77133
77134fi
77135done
77136
77137  else
77138
77139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
77140$as_echo_n "checking for _fabsl declaration... " >&6; }
77141  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77142    if ${glibcxx_cv_func__fabsl_use+:} false; then :
77143  $as_echo_n "(cached) " >&6
77144else
77145
77146
77147      ac_ext=cpp
77148ac_cpp='$CXXCPP $CPPFLAGS'
77149ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77150ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77151ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77152
77153      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77154/* end confdefs.h.  */
77155#include <math.h>
77156		      #ifdef HAVE_IEEEFP_H
77157		      #include <ieeefp.h>
77158		      #endif
77159
77160int
77161main ()
77162{
77163 _fabsl(0);
77164  ;
77165  return 0;
77166}
77167_ACEOF
77168if ac_fn_cxx_try_compile "$LINENO"; then :
77169  glibcxx_cv_func__fabsl_use=yes
77170else
77171  glibcxx_cv_func__fabsl_use=no
77172fi
77173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77174      ac_ext=c
77175ac_cpp='$CPP $CPPFLAGS'
77176ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77177ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77178ac_compiler_gnu=$ac_cv_c_compiler_gnu
77179
77180
77181fi
77182
77183  fi
77184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
77185$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
77186
77187    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77188      for ac_func in _fabsl
77189do :
77190  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
77191if test "x$ac_cv_func__fabsl" = xyes; then :
77192  cat >>confdefs.h <<_ACEOF
77193#define HAVE__FABSL 1
77194_ACEOF
77195
77196fi
77197done
77198
77199    fi
77200  fi
77201
77202
77203
77204
77205
77206  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
77207$as_echo_n "checking for fmodl declaration... " >&6; }
77208  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77209    if ${glibcxx_cv_func_fmodl_use+:} false; then :
77210  $as_echo_n "(cached) " >&6
77211else
77212
77213
77214      ac_ext=cpp
77215ac_cpp='$CXXCPP $CPPFLAGS'
77216ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77217ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77218ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77219
77220      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77221/* end confdefs.h.  */
77222#include <math.h>
77223int
77224main ()
77225{
77226 fmodl(0, 0);
77227  ;
77228  return 0;
77229}
77230_ACEOF
77231if ac_fn_cxx_try_compile "$LINENO"; then :
77232  glibcxx_cv_func_fmodl_use=yes
77233else
77234  glibcxx_cv_func_fmodl_use=no
77235fi
77236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77237      ac_ext=c
77238ac_cpp='$CPP $CPPFLAGS'
77239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77241ac_compiler_gnu=$ac_cv_c_compiler_gnu
77242
77243
77244fi
77245
77246  fi
77247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
77248$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
77249
77250  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77251    for ac_func in fmodl
77252do :
77253  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
77254if test "x$ac_cv_func_fmodl" = xyes; then :
77255  cat >>confdefs.h <<_ACEOF
77256#define HAVE_FMODL 1
77257_ACEOF
77258
77259fi
77260done
77261
77262  else
77263
77264  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
77265$as_echo_n "checking for _fmodl declaration... " >&6; }
77266  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77267    if ${glibcxx_cv_func__fmodl_use+:} false; then :
77268  $as_echo_n "(cached) " >&6
77269else
77270
77271
77272      ac_ext=cpp
77273ac_cpp='$CXXCPP $CPPFLAGS'
77274ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77275ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77276ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77277
77278      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77279/* end confdefs.h.  */
77280#include <math.h>
77281int
77282main ()
77283{
77284 _fmodl(0, 0);
77285  ;
77286  return 0;
77287}
77288_ACEOF
77289if ac_fn_cxx_try_compile "$LINENO"; then :
77290  glibcxx_cv_func__fmodl_use=yes
77291else
77292  glibcxx_cv_func__fmodl_use=no
77293fi
77294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77295      ac_ext=c
77296ac_cpp='$CPP $CPPFLAGS'
77297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77299ac_compiler_gnu=$ac_cv_c_compiler_gnu
77300
77301
77302fi
77303
77304  fi
77305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
77306$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
77307
77308    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77309      for ac_func in _fmodl
77310do :
77311  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
77312if test "x$ac_cv_func__fmodl" = xyes; then :
77313  cat >>confdefs.h <<_ACEOF
77314#define HAVE__FMODL 1
77315_ACEOF
77316
77317fi
77318done
77319
77320    fi
77321  fi
77322
77323
77324
77325
77326
77327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
77328$as_echo_n "checking for frexpl declaration... " >&6; }
77329  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77330    if ${glibcxx_cv_func_frexpl_use+:} false; then :
77331  $as_echo_n "(cached) " >&6
77332else
77333
77334
77335      ac_ext=cpp
77336ac_cpp='$CXXCPP $CPPFLAGS'
77337ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77338ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77339ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77340
77341      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77342/* end confdefs.h.  */
77343#include <math.h>
77344int
77345main ()
77346{
77347 frexpl(0, 0);
77348  ;
77349  return 0;
77350}
77351_ACEOF
77352if ac_fn_cxx_try_compile "$LINENO"; then :
77353  glibcxx_cv_func_frexpl_use=yes
77354else
77355  glibcxx_cv_func_frexpl_use=no
77356fi
77357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77358      ac_ext=c
77359ac_cpp='$CPP $CPPFLAGS'
77360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77362ac_compiler_gnu=$ac_cv_c_compiler_gnu
77363
77364
77365fi
77366
77367  fi
77368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
77369$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
77370
77371  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77372    for ac_func in frexpl
77373do :
77374  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
77375if test "x$ac_cv_func_frexpl" = xyes; then :
77376  cat >>confdefs.h <<_ACEOF
77377#define HAVE_FREXPL 1
77378_ACEOF
77379
77380fi
77381done
77382
77383  else
77384
77385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
77386$as_echo_n "checking for _frexpl declaration... " >&6; }
77387  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77388    if ${glibcxx_cv_func__frexpl_use+:} false; then :
77389  $as_echo_n "(cached) " >&6
77390else
77391
77392
77393      ac_ext=cpp
77394ac_cpp='$CXXCPP $CPPFLAGS'
77395ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77396ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77397ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77398
77399      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77400/* end confdefs.h.  */
77401#include <math.h>
77402int
77403main ()
77404{
77405 _frexpl(0, 0);
77406  ;
77407  return 0;
77408}
77409_ACEOF
77410if ac_fn_cxx_try_compile "$LINENO"; then :
77411  glibcxx_cv_func__frexpl_use=yes
77412else
77413  glibcxx_cv_func__frexpl_use=no
77414fi
77415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77416      ac_ext=c
77417ac_cpp='$CPP $CPPFLAGS'
77418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77420ac_compiler_gnu=$ac_cv_c_compiler_gnu
77421
77422
77423fi
77424
77425  fi
77426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
77427$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
77428
77429    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77430      for ac_func in _frexpl
77431do :
77432  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
77433if test "x$ac_cv_func__frexpl" = xyes; then :
77434  cat >>confdefs.h <<_ACEOF
77435#define HAVE__FREXPL 1
77436_ACEOF
77437
77438fi
77439done
77440
77441    fi
77442  fi
77443
77444
77445
77446
77447
77448  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77449$as_echo_n "checking for hypotl declaration... " >&6; }
77450  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77451    if ${glibcxx_cv_func_hypotl_use+:} false; then :
77452  $as_echo_n "(cached) " >&6
77453else
77454
77455
77456      ac_ext=cpp
77457ac_cpp='$CXXCPP $CPPFLAGS'
77458ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77459ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77460ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77461
77462      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77463/* end confdefs.h.  */
77464#include <math.h>
77465int
77466main ()
77467{
77468 hypotl(0, 0);
77469  ;
77470  return 0;
77471}
77472_ACEOF
77473if ac_fn_cxx_try_compile "$LINENO"; then :
77474  glibcxx_cv_func_hypotl_use=yes
77475else
77476  glibcxx_cv_func_hypotl_use=no
77477fi
77478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77479      ac_ext=c
77480ac_cpp='$CPP $CPPFLAGS'
77481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77483ac_compiler_gnu=$ac_cv_c_compiler_gnu
77484
77485
77486fi
77487
77488  fi
77489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77490$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77491
77492  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77493    for ac_func in hypotl
77494do :
77495  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77496if test "x$ac_cv_func_hypotl" = xyes; then :
77497  cat >>confdefs.h <<_ACEOF
77498#define HAVE_HYPOTL 1
77499_ACEOF
77500
77501fi
77502done
77503
77504  else
77505
77506  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77507$as_echo_n "checking for _hypotl declaration... " >&6; }
77508  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77509    if ${glibcxx_cv_func__hypotl_use+:} false; then :
77510  $as_echo_n "(cached) " >&6
77511else
77512
77513
77514      ac_ext=cpp
77515ac_cpp='$CXXCPP $CPPFLAGS'
77516ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77517ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77518ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77519
77520      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77521/* end confdefs.h.  */
77522#include <math.h>
77523int
77524main ()
77525{
77526 _hypotl(0, 0);
77527  ;
77528  return 0;
77529}
77530_ACEOF
77531if ac_fn_cxx_try_compile "$LINENO"; then :
77532  glibcxx_cv_func__hypotl_use=yes
77533else
77534  glibcxx_cv_func__hypotl_use=no
77535fi
77536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77537      ac_ext=c
77538ac_cpp='$CPP $CPPFLAGS'
77539ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77540ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77541ac_compiler_gnu=$ac_cv_c_compiler_gnu
77542
77543
77544fi
77545
77546  fi
77547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77548$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77549
77550    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77551      for ac_func in _hypotl
77552do :
77553  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77554if test "x$ac_cv_func__hypotl" = xyes; then :
77555  cat >>confdefs.h <<_ACEOF
77556#define HAVE__HYPOTL 1
77557_ACEOF
77558
77559fi
77560done
77561
77562    fi
77563  fi
77564
77565
77566
77567
77568
77569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77570$as_echo_n "checking for ldexpl declaration... " >&6; }
77571  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77572    if ${glibcxx_cv_func_ldexpl_use+:} false; 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>
77586int
77587main ()
77588{
77589 ldexpl(0, 0);
77590  ;
77591  return 0;
77592}
77593_ACEOF
77594if ac_fn_cxx_try_compile "$LINENO"; then :
77595  glibcxx_cv_func_ldexpl_use=yes
77596else
77597  glibcxx_cv_func_ldexpl_use=no
77598fi
77599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77600      ac_ext=c
77601ac_cpp='$CPP $CPPFLAGS'
77602ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77603ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77604ac_compiler_gnu=$ac_cv_c_compiler_gnu
77605
77606
77607fi
77608
77609  fi
77610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77611$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77612
77613  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77614    for ac_func in ldexpl
77615do :
77616  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77617if test "x$ac_cv_func_ldexpl" = xyes; then :
77618  cat >>confdefs.h <<_ACEOF
77619#define HAVE_LDEXPL 1
77620_ACEOF
77621
77622fi
77623done
77624
77625  else
77626
77627  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77628$as_echo_n "checking for _ldexpl declaration... " >&6; }
77629  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77630    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
77631  $as_echo_n "(cached) " >&6
77632else
77633
77634
77635      ac_ext=cpp
77636ac_cpp='$CXXCPP $CPPFLAGS'
77637ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77638ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77639ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77640
77641      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77642/* end confdefs.h.  */
77643#include <math.h>
77644int
77645main ()
77646{
77647 _ldexpl(0, 0);
77648  ;
77649  return 0;
77650}
77651_ACEOF
77652if ac_fn_cxx_try_compile "$LINENO"; then :
77653  glibcxx_cv_func__ldexpl_use=yes
77654else
77655  glibcxx_cv_func__ldexpl_use=no
77656fi
77657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77658      ac_ext=c
77659ac_cpp='$CPP $CPPFLAGS'
77660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77662ac_compiler_gnu=$ac_cv_c_compiler_gnu
77663
77664
77665fi
77666
77667  fi
77668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77669$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77670
77671    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77672      for ac_func in _ldexpl
77673do :
77674  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77675if test "x$ac_cv_func__ldexpl" = xyes; then :
77676  cat >>confdefs.h <<_ACEOF
77677#define HAVE__LDEXPL 1
77678_ACEOF
77679
77680fi
77681done
77682
77683    fi
77684  fi
77685
77686
77687
77688
77689
77690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77691$as_echo_n "checking for logl declaration... " >&6; }
77692  if test x${glibcxx_cv_func_logl_use+set} != xset; then
77693    if ${glibcxx_cv_func_logl_use+:} false; then :
77694  $as_echo_n "(cached) " >&6
77695else
77696
77697
77698      ac_ext=cpp
77699ac_cpp='$CXXCPP $CPPFLAGS'
77700ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77701ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77702ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77703
77704      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77705/* end confdefs.h.  */
77706#include <math.h>
77707		      #ifdef HAVE_IEEEFP_H
77708		      #include <ieeefp.h>
77709		      #endif
77710
77711int
77712main ()
77713{
77714 logl(0);
77715  ;
77716  return 0;
77717}
77718_ACEOF
77719if ac_fn_cxx_try_compile "$LINENO"; then :
77720  glibcxx_cv_func_logl_use=yes
77721else
77722  glibcxx_cv_func_logl_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_logl_use" >&5
77736$as_echo "$glibcxx_cv_func_logl_use" >&6; }
77737
77738  if test x$glibcxx_cv_func_logl_use = x"yes"; then
77739    for ac_func in logl
77740do :
77741  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77742if test "x$ac_cv_func_logl" = xyes; then :
77743  cat >>confdefs.h <<_ACEOF
77744#define HAVE_LOGL 1
77745_ACEOF
77746
77747fi
77748done
77749
77750  else
77751
77752  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77753$as_echo_n "checking for _logl declaration... " >&6; }
77754  if test x${glibcxx_cv_func__logl_use+set} != xset; then
77755    if ${glibcxx_cv_func__logl_use+:} false; then :
77756  $as_echo_n "(cached) " >&6
77757else
77758
77759
77760      ac_ext=cpp
77761ac_cpp='$CXXCPP $CPPFLAGS'
77762ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77763ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77764ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77765
77766      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77767/* end confdefs.h.  */
77768#include <math.h>
77769		      #ifdef HAVE_IEEEFP_H
77770		      #include <ieeefp.h>
77771		      #endif
77772
77773int
77774main ()
77775{
77776 _logl(0);
77777  ;
77778  return 0;
77779}
77780_ACEOF
77781if ac_fn_cxx_try_compile "$LINENO"; then :
77782  glibcxx_cv_func__logl_use=yes
77783else
77784  glibcxx_cv_func__logl_use=no
77785fi
77786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77787      ac_ext=c
77788ac_cpp='$CPP $CPPFLAGS'
77789ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77790ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77791ac_compiler_gnu=$ac_cv_c_compiler_gnu
77792
77793
77794fi
77795
77796  fi
77797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77798$as_echo "$glibcxx_cv_func__logl_use" >&6; }
77799
77800    if test x$glibcxx_cv_func__logl_use = x"yes"; then
77801      for ac_func in _logl
77802do :
77803  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77804if test "x$ac_cv_func__logl" = xyes; then :
77805  cat >>confdefs.h <<_ACEOF
77806#define HAVE__LOGL 1
77807_ACEOF
77808
77809fi
77810done
77811
77812    fi
77813  fi
77814
77815
77816
77817
77818
77819  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77820$as_echo_n "checking for log10l declaration... " >&6; }
77821  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77822    if ${glibcxx_cv_func_log10l_use+:} false; then :
77823  $as_echo_n "(cached) " >&6
77824else
77825
77826
77827      ac_ext=cpp
77828ac_cpp='$CXXCPP $CPPFLAGS'
77829ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77830ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77831ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77832
77833      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77834/* end confdefs.h.  */
77835#include <math.h>
77836		      #ifdef HAVE_IEEEFP_H
77837		      #include <ieeefp.h>
77838		      #endif
77839
77840int
77841main ()
77842{
77843 log10l(0);
77844  ;
77845  return 0;
77846}
77847_ACEOF
77848if ac_fn_cxx_try_compile "$LINENO"; then :
77849  glibcxx_cv_func_log10l_use=yes
77850else
77851  glibcxx_cv_func_log10l_use=no
77852fi
77853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77854      ac_ext=c
77855ac_cpp='$CPP $CPPFLAGS'
77856ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77857ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77858ac_compiler_gnu=$ac_cv_c_compiler_gnu
77859
77860
77861fi
77862
77863  fi
77864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77865$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77866
77867  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77868    for ac_func in log10l
77869do :
77870  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77871if test "x$ac_cv_func_log10l" = xyes; then :
77872  cat >>confdefs.h <<_ACEOF
77873#define HAVE_LOG10L 1
77874_ACEOF
77875
77876fi
77877done
77878
77879  else
77880
77881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77882$as_echo_n "checking for _log10l declaration... " >&6; }
77883  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77884    if ${glibcxx_cv_func__log10l_use+:} false; then :
77885  $as_echo_n "(cached) " >&6
77886else
77887
77888
77889      ac_ext=cpp
77890ac_cpp='$CXXCPP $CPPFLAGS'
77891ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77892ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77893ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77894
77895      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77896/* end confdefs.h.  */
77897#include <math.h>
77898		      #ifdef HAVE_IEEEFP_H
77899		      #include <ieeefp.h>
77900		      #endif
77901
77902int
77903main ()
77904{
77905 _log10l(0);
77906  ;
77907  return 0;
77908}
77909_ACEOF
77910if ac_fn_cxx_try_compile "$LINENO"; then :
77911  glibcxx_cv_func__log10l_use=yes
77912else
77913  glibcxx_cv_func__log10l_use=no
77914fi
77915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77916      ac_ext=c
77917ac_cpp='$CPP $CPPFLAGS'
77918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77920ac_compiler_gnu=$ac_cv_c_compiler_gnu
77921
77922
77923fi
77924
77925  fi
77926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77927$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77928
77929    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77930      for ac_func in _log10l
77931do :
77932  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77933if test "x$ac_cv_func__log10l" = xyes; then :
77934  cat >>confdefs.h <<_ACEOF
77935#define HAVE__LOG10L 1
77936_ACEOF
77937
77938fi
77939done
77940
77941    fi
77942  fi
77943
77944
77945
77946
77947
77948  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77949$as_echo_n "checking for modfl declaration... " >&6; }
77950  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77951    if ${glibcxx_cv_func_modfl_use+:} false; then :
77952  $as_echo_n "(cached) " >&6
77953else
77954
77955
77956      ac_ext=cpp
77957ac_cpp='$CXXCPP $CPPFLAGS'
77958ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77959ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77960ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77961
77962      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77963/* end confdefs.h.  */
77964#include <math.h>
77965int
77966main ()
77967{
77968 modfl(0, 0);
77969  ;
77970  return 0;
77971}
77972_ACEOF
77973if ac_fn_cxx_try_compile "$LINENO"; then :
77974  glibcxx_cv_func_modfl_use=yes
77975else
77976  glibcxx_cv_func_modfl_use=no
77977fi
77978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77979      ac_ext=c
77980ac_cpp='$CPP $CPPFLAGS'
77981ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77982ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77983ac_compiler_gnu=$ac_cv_c_compiler_gnu
77984
77985
77986fi
77987
77988  fi
77989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77990$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77991
77992  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77993    for ac_func in modfl
77994do :
77995  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77996if test "x$ac_cv_func_modfl" = xyes; then :
77997  cat >>confdefs.h <<_ACEOF
77998#define HAVE_MODFL 1
77999_ACEOF
78000
78001fi
78002done
78003
78004  else
78005
78006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
78007$as_echo_n "checking for _modfl declaration... " >&6; }
78008  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
78009    if ${glibcxx_cv_func__modfl_use+:} false; then :
78010  $as_echo_n "(cached) " >&6
78011else
78012
78013
78014      ac_ext=cpp
78015ac_cpp='$CXXCPP $CPPFLAGS'
78016ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78017ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78018ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78019
78020      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78021/* end confdefs.h.  */
78022#include <math.h>
78023int
78024main ()
78025{
78026 _modfl(0, 0);
78027  ;
78028  return 0;
78029}
78030_ACEOF
78031if ac_fn_cxx_try_compile "$LINENO"; then :
78032  glibcxx_cv_func__modfl_use=yes
78033else
78034  glibcxx_cv_func__modfl_use=no
78035fi
78036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78037      ac_ext=c
78038ac_cpp='$CPP $CPPFLAGS'
78039ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78040ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78041ac_compiler_gnu=$ac_cv_c_compiler_gnu
78042
78043
78044fi
78045
78046  fi
78047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
78048$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
78049
78050    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
78051      for ac_func in _modfl
78052do :
78053  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
78054if test "x$ac_cv_func__modfl" = xyes; then :
78055  cat >>confdefs.h <<_ACEOF
78056#define HAVE__MODFL 1
78057_ACEOF
78058
78059fi
78060done
78061
78062    fi
78063  fi
78064
78065
78066
78067
78068
78069  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
78070$as_echo_n "checking for powl declaration... " >&6; }
78071  if test x${glibcxx_cv_func_powl_use+set} != xset; then
78072    if ${glibcxx_cv_func_powl_use+:} false; then :
78073  $as_echo_n "(cached) " >&6
78074else
78075
78076
78077      ac_ext=cpp
78078ac_cpp='$CXXCPP $CPPFLAGS'
78079ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78080ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78081ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78082
78083      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78084/* end confdefs.h.  */
78085#include <math.h>
78086int
78087main ()
78088{
78089 powl(0, 0);
78090  ;
78091  return 0;
78092}
78093_ACEOF
78094if ac_fn_cxx_try_compile "$LINENO"; then :
78095  glibcxx_cv_func_powl_use=yes
78096else
78097  glibcxx_cv_func_powl_use=no
78098fi
78099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78100      ac_ext=c
78101ac_cpp='$CPP $CPPFLAGS'
78102ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78103ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78104ac_compiler_gnu=$ac_cv_c_compiler_gnu
78105
78106
78107fi
78108
78109  fi
78110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
78111$as_echo "$glibcxx_cv_func_powl_use" >&6; }
78112
78113  if test x$glibcxx_cv_func_powl_use = x"yes"; then
78114    for ac_func in powl
78115do :
78116  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
78117if test "x$ac_cv_func_powl" = xyes; then :
78118  cat >>confdefs.h <<_ACEOF
78119#define HAVE_POWL 1
78120_ACEOF
78121
78122fi
78123done
78124
78125  else
78126
78127  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
78128$as_echo_n "checking for _powl declaration... " >&6; }
78129  if test x${glibcxx_cv_func__powl_use+set} != xset; then
78130    if ${glibcxx_cv_func__powl_use+:} false; then :
78131  $as_echo_n "(cached) " >&6
78132else
78133
78134
78135      ac_ext=cpp
78136ac_cpp='$CXXCPP $CPPFLAGS'
78137ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78138ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78139ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78140
78141      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78142/* end confdefs.h.  */
78143#include <math.h>
78144int
78145main ()
78146{
78147 _powl(0, 0);
78148  ;
78149  return 0;
78150}
78151_ACEOF
78152if ac_fn_cxx_try_compile "$LINENO"; then :
78153  glibcxx_cv_func__powl_use=yes
78154else
78155  glibcxx_cv_func__powl_use=no
78156fi
78157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78158      ac_ext=c
78159ac_cpp='$CPP $CPPFLAGS'
78160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78162ac_compiler_gnu=$ac_cv_c_compiler_gnu
78163
78164
78165fi
78166
78167  fi
78168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
78169$as_echo "$glibcxx_cv_func__powl_use" >&6; }
78170
78171    if test x$glibcxx_cv_func__powl_use = x"yes"; then
78172      for ac_func in _powl
78173do :
78174  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
78175if test "x$ac_cv_func__powl" = xyes; then :
78176  cat >>confdefs.h <<_ACEOF
78177#define HAVE__POWL 1
78178_ACEOF
78179
78180fi
78181done
78182
78183    fi
78184  fi
78185
78186
78187
78188
78189
78190  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
78191$as_echo_n "checking for sqrtl declaration... " >&6; }
78192  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
78193    if ${glibcxx_cv_func_sqrtl_use+:} false; 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 sqrtl(0);
78215  ;
78216  return 0;
78217}
78218_ACEOF
78219if ac_fn_cxx_try_compile "$LINENO"; then :
78220  glibcxx_cv_func_sqrtl_use=yes
78221else
78222  glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
78236$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
78237
78238  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
78239    for ac_func in sqrtl
78240do :
78241  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
78242if test "x$ac_cv_func_sqrtl" = xyes; then :
78243  cat >>confdefs.h <<_ACEOF
78244#define HAVE_SQRTL 1
78245_ACEOF
78246
78247fi
78248done
78249
78250  else
78251
78252  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
78253$as_echo_n "checking for _sqrtl declaration... " >&6; }
78254  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
78255    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
78256  $as_echo_n "(cached) " >&6
78257else
78258
78259
78260      ac_ext=cpp
78261ac_cpp='$CXXCPP $CPPFLAGS'
78262ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78263ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78264ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78265
78266      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78267/* end confdefs.h.  */
78268#include <math.h>
78269		      #ifdef HAVE_IEEEFP_H
78270		      #include <ieeefp.h>
78271		      #endif
78272
78273int
78274main ()
78275{
78276 _sqrtl(0);
78277  ;
78278  return 0;
78279}
78280_ACEOF
78281if ac_fn_cxx_try_compile "$LINENO"; then :
78282  glibcxx_cv_func__sqrtl_use=yes
78283else
78284  glibcxx_cv_func__sqrtl_use=no
78285fi
78286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78287      ac_ext=c
78288ac_cpp='$CPP $CPPFLAGS'
78289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78291ac_compiler_gnu=$ac_cv_c_compiler_gnu
78292
78293
78294fi
78295
78296  fi
78297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
78298$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
78299
78300    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
78301      for ac_func in _sqrtl
78302do :
78303  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
78304if test "x$ac_cv_func__sqrtl" = xyes; then :
78305  cat >>confdefs.h <<_ACEOF
78306#define HAVE__SQRTL 1
78307_ACEOF
78308
78309fi
78310done
78311
78312    fi
78313  fi
78314
78315
78316
78317
78318
78319  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
78320$as_echo_n "checking for sincosl declaration... " >&6; }
78321  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
78322    if ${glibcxx_cv_func_sincosl_use+:} false; then :
78323  $as_echo_n "(cached) " >&6
78324else
78325
78326
78327      ac_ext=cpp
78328ac_cpp='$CXXCPP $CPPFLAGS'
78329ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78330ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78331ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78332
78333      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78334/* end confdefs.h.  */
78335#include <math.h>
78336int
78337main ()
78338{
78339 sincosl(0, 0, 0);
78340  ;
78341  return 0;
78342}
78343_ACEOF
78344if ac_fn_cxx_try_compile "$LINENO"; then :
78345  glibcxx_cv_func_sincosl_use=yes
78346else
78347  glibcxx_cv_func_sincosl_use=no
78348fi
78349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78350      ac_ext=c
78351ac_cpp='$CPP $CPPFLAGS'
78352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78354ac_compiler_gnu=$ac_cv_c_compiler_gnu
78355
78356
78357fi
78358
78359  fi
78360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
78361$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
78362
78363  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78364    for ac_func in sincosl
78365do :
78366  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
78367if test "x$ac_cv_func_sincosl" = xyes; then :
78368  cat >>confdefs.h <<_ACEOF
78369#define HAVE_SINCOSL 1
78370_ACEOF
78371
78372fi
78373done
78374
78375  else
78376
78377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
78378$as_echo_n "checking for _sincosl declaration... " >&6; }
78379  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78380    if ${glibcxx_cv_func__sincosl_use+:} false; then :
78381  $as_echo_n "(cached) " >&6
78382else
78383
78384
78385      ac_ext=cpp
78386ac_cpp='$CXXCPP $CPPFLAGS'
78387ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78388ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78389ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78390
78391      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78392/* end confdefs.h.  */
78393#include <math.h>
78394int
78395main ()
78396{
78397 _sincosl(0, 0, 0);
78398  ;
78399  return 0;
78400}
78401_ACEOF
78402if ac_fn_cxx_try_compile "$LINENO"; then :
78403  glibcxx_cv_func__sincosl_use=yes
78404else
78405  glibcxx_cv_func__sincosl_use=no
78406fi
78407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78408      ac_ext=c
78409ac_cpp='$CPP $CPPFLAGS'
78410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78412ac_compiler_gnu=$ac_cv_c_compiler_gnu
78413
78414
78415fi
78416
78417  fi
78418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
78419$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
78420
78421    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78422      for ac_func in _sincosl
78423do :
78424  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
78425if test "x$ac_cv_func__sincosl" = xyes; then :
78426  cat >>confdefs.h <<_ACEOF
78427#define HAVE__SINCOSL 1
78428_ACEOF
78429
78430fi
78431done
78432
78433    fi
78434  fi
78435
78436
78437
78438
78439
78440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
78441$as_echo_n "checking for finitel declaration... " >&6; }
78442  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78443    if ${glibcxx_cv_func_finitel_use+:} false; then :
78444  $as_echo_n "(cached) " >&6
78445else
78446
78447
78448      ac_ext=cpp
78449ac_cpp='$CXXCPP $CPPFLAGS'
78450ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78451ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78452ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78453
78454      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78455/* end confdefs.h.  */
78456#include <math.h>
78457		      #ifdef HAVE_IEEEFP_H
78458		      #include <ieeefp.h>
78459		      #endif
78460
78461int
78462main ()
78463{
78464 finitel(0);
78465  ;
78466  return 0;
78467}
78468_ACEOF
78469if ac_fn_cxx_try_compile "$LINENO"; then :
78470  glibcxx_cv_func_finitel_use=yes
78471else
78472  glibcxx_cv_func_finitel_use=no
78473fi
78474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78475      ac_ext=c
78476ac_cpp='$CPP $CPPFLAGS'
78477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78479ac_compiler_gnu=$ac_cv_c_compiler_gnu
78480
78481
78482fi
78483
78484  fi
78485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78486$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78487
78488  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78489    for ac_func in finitel
78490do :
78491  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78492if test "x$ac_cv_func_finitel" = xyes; then :
78493  cat >>confdefs.h <<_ACEOF
78494#define HAVE_FINITEL 1
78495_ACEOF
78496
78497fi
78498done
78499
78500  else
78501
78502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78503$as_echo_n "checking for _finitel declaration... " >&6; }
78504  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78505    if ${glibcxx_cv_func__finitel_use+:} false; then :
78506  $as_echo_n "(cached) " >&6
78507else
78508
78509
78510      ac_ext=cpp
78511ac_cpp='$CXXCPP $CPPFLAGS'
78512ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78513ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78514ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78515
78516      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78517/* end confdefs.h.  */
78518#include <math.h>
78519		      #ifdef HAVE_IEEEFP_H
78520		      #include <ieeefp.h>
78521		      #endif
78522
78523int
78524main ()
78525{
78526 _finitel(0);
78527  ;
78528  return 0;
78529}
78530_ACEOF
78531if ac_fn_cxx_try_compile "$LINENO"; then :
78532  glibcxx_cv_func__finitel_use=yes
78533else
78534  glibcxx_cv_func__finitel_use=no
78535fi
78536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78537      ac_ext=c
78538ac_cpp='$CPP $CPPFLAGS'
78539ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78540ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78541ac_compiler_gnu=$ac_cv_c_compiler_gnu
78542
78543
78544fi
78545
78546  fi
78547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78548$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78549
78550    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78551      for ac_func in _finitel
78552do :
78553  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78554if test "x$ac_cv_func__finitel" = xyes; then :
78555  cat >>confdefs.h <<_ACEOF
78556#define HAVE__FINITEL 1
78557_ACEOF
78558
78559fi
78560done
78561
78562    fi
78563  fi
78564
78565
78566
78567
78568  LIBS="$ac_save_LIBS"
78569  CXXFLAGS="$ac_save_CXXFLAGS"
78570
78571
78572  ac_test_CXXFLAGS="${CXXFLAGS+set}"
78573  ac_save_CXXFLAGS="$CXXFLAGS"
78574  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78575
78576
78577  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78578$as_echo_n "checking for at_quick_exit declaration... " >&6; }
78579  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78580    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
78581  $as_echo_n "(cached) " >&6
78582else
78583
78584
78585      ac_ext=cpp
78586ac_cpp='$CXXCPP $CPPFLAGS'
78587ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78588ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78589ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78590
78591      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78592/* end confdefs.h.  */
78593#include <stdlib.h>
78594int
78595main ()
78596{
78597 at_quick_exit(0);
78598  ;
78599  return 0;
78600}
78601_ACEOF
78602if ac_fn_cxx_try_compile "$LINENO"; then :
78603  glibcxx_cv_func_at_quick_exit_use=yes
78604else
78605  glibcxx_cv_func_at_quick_exit_use=no
78606fi
78607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78608      ac_ext=c
78609ac_cpp='$CPP $CPPFLAGS'
78610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78612ac_compiler_gnu=$ac_cv_c_compiler_gnu
78613
78614
78615fi
78616
78617  fi
78618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78619$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78620  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78621    for ac_func in at_quick_exit
78622do :
78623  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78624if test "x$ac_cv_func_at_quick_exit" = xyes; then :
78625  cat >>confdefs.h <<_ACEOF
78626#define HAVE_AT_QUICK_EXIT 1
78627_ACEOF
78628
78629fi
78630done
78631
78632  fi
78633
78634
78635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78636$as_echo_n "checking for quick_exit declaration... " >&6; }
78637  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78638    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
78639  $as_echo_n "(cached) " >&6
78640else
78641
78642
78643      ac_ext=cpp
78644ac_cpp='$CXXCPP $CPPFLAGS'
78645ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78646ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78647ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78648
78649      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78650/* end confdefs.h.  */
78651#include <stdlib.h>
78652int
78653main ()
78654{
78655 quick_exit(0);
78656  ;
78657  return 0;
78658}
78659_ACEOF
78660if ac_fn_cxx_try_compile "$LINENO"; then :
78661  glibcxx_cv_func_quick_exit_use=yes
78662else
78663  glibcxx_cv_func_quick_exit_use=no
78664fi
78665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78666      ac_ext=c
78667ac_cpp='$CPP $CPPFLAGS'
78668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78670ac_compiler_gnu=$ac_cv_c_compiler_gnu
78671
78672
78673fi
78674
78675  fi
78676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78677$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78678  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78679    for ac_func in quick_exit
78680do :
78681  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78682if test "x$ac_cv_func_quick_exit" = xyes; then :
78683  cat >>confdefs.h <<_ACEOF
78684#define HAVE_QUICK_EXIT 1
78685_ACEOF
78686
78687fi
78688done
78689
78690  fi
78691
78692
78693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78694$as_echo_n "checking for strtold declaration... " >&6; }
78695  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78696    if ${glibcxx_cv_func_strtold_use+:} false; then :
78697  $as_echo_n "(cached) " >&6
78698else
78699
78700
78701      ac_ext=cpp
78702ac_cpp='$CXXCPP $CPPFLAGS'
78703ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78704ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78705ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78706
78707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78708/* end confdefs.h.  */
78709#include <stdlib.h>
78710int
78711main ()
78712{
78713 strtold(0, 0);
78714  ;
78715  return 0;
78716}
78717_ACEOF
78718if ac_fn_cxx_try_compile "$LINENO"; then :
78719  glibcxx_cv_func_strtold_use=yes
78720else
78721  glibcxx_cv_func_strtold_use=no
78722fi
78723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78724      ac_ext=c
78725ac_cpp='$CPP $CPPFLAGS'
78726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78728ac_compiler_gnu=$ac_cv_c_compiler_gnu
78729
78730
78731fi
78732
78733  fi
78734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78735$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78736  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78737    for ac_func in strtold
78738do :
78739  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78740if test "x$ac_cv_func_strtold" = xyes; then :
78741  cat >>confdefs.h <<_ACEOF
78742#define HAVE_STRTOLD 1
78743_ACEOF
78744
78745fi
78746done
78747
78748  fi
78749
78750
78751
78752
78753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78754$as_echo_n "checking for strtof declaration... " >&6; }
78755  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78756    if ${glibcxx_cv_func_strtof_use+:} false; then :
78757  $as_echo_n "(cached) " >&6
78758else
78759
78760
78761      ac_ext=cpp
78762ac_cpp='$CXXCPP $CPPFLAGS'
78763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78766
78767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78768/* end confdefs.h.  */
78769#include <stdlib.h>
78770int
78771main ()
78772{
78773 strtof(0, 0);
78774  ;
78775  return 0;
78776}
78777_ACEOF
78778if ac_fn_cxx_try_compile "$LINENO"; then :
78779  glibcxx_cv_func_strtof_use=yes
78780else
78781  glibcxx_cv_func_strtof_use=no
78782fi
78783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78784      ac_ext=c
78785ac_cpp='$CPP $CPPFLAGS'
78786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78788ac_compiler_gnu=$ac_cv_c_compiler_gnu
78789
78790
78791fi
78792
78793  fi
78794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78795$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78796  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78797    for ac_func in strtof
78798do :
78799  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78800if test "x$ac_cv_func_strtof" = xyes; then :
78801  cat >>confdefs.h <<_ACEOF
78802#define HAVE_STRTOF 1
78803_ACEOF
78804
78805fi
78806done
78807
78808  fi
78809
78810
78811
78812
78813  CXXFLAGS="$ac_save_CXXFLAGS"
78814
78815    ;;
78816  *-vxworks)
78817    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78818
78819    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78820
78821    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78822
78823    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78824
78825    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78826
78827    $as_echo "#define HAVE_COSF 1" >>confdefs.h
78828
78829    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78830
78831    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78832
78833    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78834
78835    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78836
78837    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78838
78839    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78840
78841    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78842
78843    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78844
78845    $as_echo "#define HAVE_POWF 1" >>confdefs.h
78846
78847    $as_echo "#define HAVE_SINF 1" >>confdefs.h
78848
78849    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78850
78851    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78852
78853    $as_echo "#define HAVE_TANF 1" >>confdefs.h
78854
78855    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78856
78857    ;;
78858  *)
78859    as_fn_error $? "No support for this host/target combination." "$LINENO" 5
78860   ;;
78861esac
78862
78863  fi
78864
78865  # At some point, we should differentiate between architectures
78866  # like x86, which have long double versions, and alpha/powerpc/etc.,
78867  # which don't. For the time being, punt.
78868  if test x"long_double_math_on_this_cpu" = x"yes"; then
78869    $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78870
78871    $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78872
78873    $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78874
78875    $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78876
78877    $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78878
78879    $as_echo "#define HAVE_COSL 1" >>confdefs.h
78880
78881    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78882
78883    $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78884
78885    $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78886
78887    $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78888
78889    $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78890
78891    $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78892
78893    $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78894
78895    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78896
78897    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78898
78899    $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78900
78901    $as_echo "#define HAVE_POWL 1" >>confdefs.h
78902
78903    $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78904
78905    $as_echo "#define HAVE_SINL 1" >>confdefs.h
78906
78907    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78908
78909    $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78910
78911    $as_echo "#define HAVE_TANL 1" >>confdefs.h
78912
78913    $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78914
78915  fi
78916fi
78917
78918# Check for _Unwind_GetIPInfo.
78919
78920
78921# Check whether --with-system-libunwind was given.
78922if test "${with_system_libunwind+set}" = set; then :
78923  withval=$with_system_libunwind;
78924fi
78925
78926  # If system-libunwind was not specifically set, pick a default setting.
78927  if test x$with_system_libunwind = x; then
78928    case ${target} in
78929      ia64-*-hpux*) with_system_libunwind=yes ;;
78930      *) with_system_libunwind=no ;;
78931    esac
78932  fi
78933  # Based on system-libunwind and target, do we have ipinfo?
78934  if  test x$with_system_libunwind = xyes; then
78935    case ${target} in
78936      ia64-*-*) have_unwind_getipinfo=no ;;
78937      *) have_unwind_getipinfo=yes ;;
78938    esac
78939  else
78940    # Darwin before version 9 does not have _Unwind_GetIPInfo.
78941
78942    case ${target} in
78943      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78944      *) have_unwind_getipinfo=yes ;;
78945    esac
78946
78947  fi
78948
78949  if test x$have_unwind_getipinfo = xyes; then
78950
78951$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78952
78953  fi
78954
78955
78956 # Check whether --enable-linux-futex was given.
78957if test "${enable_linux_futex+set}" = set; then :
78958  enableval=$enable_linux_futex;
78959      case "$enableval" in
78960       yes|no|default) ;;
78961       *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78962                          esac
78963
78964else
78965  enable_linux_futex=default
78966fi
78967
78968
78969case "$target" in
78970  *-linux*)
78971    case "$enable_linux_futex" in
78972      default)
78973	# If headers don't have gettid/futex syscalls definition, then
78974	# default to no, otherwise there will be compile time failures.
78975	# Otherwise, default to yes.  If we don't detect we are
78976	# compiled/linked against NPTL and not cross-compiling, check
78977	# if programs are run by default against NPTL and if not, issue
78978	# a warning.
78979	enable_linux_futex=no
78980	if test x$gcc_no_link = xyes; then
78981  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78982fi
78983cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78984/* end confdefs.h.  */
78985#include <sys/syscall.h>
78986	   int lk;
78987int
78988main ()
78989{
78990syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78991  ;
78992  return 0;
78993}
78994_ACEOF
78995if ac_fn_c_try_link "$LINENO"; then :
78996  save_LIBS="$LIBS"
78997	   LIBS="-lpthread $LIBS"
78998	   if test x$gcc_no_link = xyes; then
78999  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79000fi
79001cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79002/* end confdefs.h.  */
79003#ifndef _GNU_SOURCE
79004	     #define _GNU_SOURCE 1
79005	     #endif
79006	     #include <pthread.h>
79007	     pthread_t th; void *status;
79008int
79009main ()
79010{
79011pthread_tryjoin_np (th, &status);
79012  ;
79013  return 0;
79014}
79015_ACEOF
79016if ac_fn_c_try_link "$LINENO"; then :
79017  enable_linux_futex=yes
79018else
79019  if test x$cross_compiling = xno; then
79020	       if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
79021		  | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
79022		 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
79023If so, please configure with --disable-linux-futex" >&5
79024$as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
79025If so, please configure with --disable-linux-futex" >&2;}
79026	       fi
79027	     fi
79028	     enable_linux_futex=yes
79029fi
79030rm -f core conftest.err conftest.$ac_objext \
79031    conftest$ac_exeext conftest.$ac_ext
79032	   LIBS="$save_LIBS"
79033fi
79034rm -f core conftest.err conftest.$ac_objext \
79035    conftest$ac_exeext conftest.$ac_ext
79036	;;
79037      yes)
79038	if test x$gcc_no_link = xyes; then
79039  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79040fi
79041cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79042/* end confdefs.h.  */
79043#include <sys/syscall.h>
79044	   int lk;
79045int
79046main ()
79047{
79048syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
79049  ;
79050  return 0;
79051}
79052_ACEOF
79053if ac_fn_c_try_link "$LINENO"; then :
79054
79055else
79056  as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
79057fi
79058rm -f core conftest.err conftest.$ac_objext \
79059    conftest$ac_exeext conftest.$ac_ext
79060	;;
79061    esac
79062    ;;
79063  *)
79064    enable_linux_futex=no
79065    ;;
79066esac
79067if test x$enable_linux_futex = xyes; then
79068
79069$as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
79070
79071fi
79072
79073
79074
79075
79076inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
79077
79078acx_cv_header_stdint=stddef.h
79079acx_cv_header_stdint_kind="(already complete)"
79080for i in stdint.h $inttype_headers; do
79081  unset ac_cv_type_uintptr_t
79082  unset ac_cv_type_uintmax_t
79083  unset ac_cv_type_int_least32_t
79084  unset ac_cv_type_int_fast32_t
79085  unset ac_cv_type_uint64_t
79086  $as_echo_n "looking for a compliant stdint.h in $i, " >&6
79087  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
79088#include <$i>
79089"
79090if test "x$ac_cv_type_uintmax_t" = xyes; then :
79091  acx_cv_header_stdint=$i
79092else
79093  continue
79094fi
79095
79096  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
79097#include <$i>
79098"
79099if test "x$ac_cv_type_uintptr_t" = xyes; then :
79100
79101else
79102  acx_cv_header_stdint_kind="(mostly complete)"
79103fi
79104
79105  ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
79106#include <$i>
79107"
79108if test "x$ac_cv_type_int_least32_t" = xyes; then :
79109
79110else
79111  acx_cv_header_stdint_kind="(mostly complete)"
79112fi
79113
79114  ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
79115#include <$i>
79116"
79117if test "x$ac_cv_type_int_fast32_t" = xyes; then :
79118
79119else
79120  acx_cv_header_stdint_kind="(mostly complete)"
79121fi
79122
79123  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
79124#include <$i>
79125"
79126if test "x$ac_cv_type_uint64_t" = xyes; then :
79127
79128else
79129  acx_cv_header_stdint_kind="(lacks uint64_t)"
79130fi
79131
79132  break
79133done
79134if test "$acx_cv_header_stdint" = stddef.h; then
79135  acx_cv_header_stdint_kind="(lacks uintmax_t)"
79136  for i in stdint.h $inttype_headers; do
79137    unset ac_cv_type_uintptr_t
79138    unset ac_cv_type_uint32_t
79139    unset ac_cv_type_uint64_t
79140    $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
79141    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
79142#include <$i>
79143"
79144if test "x$ac_cv_type_uint32_t" = xyes; then :
79145  acx_cv_header_stdint=$i
79146else
79147  continue
79148fi
79149
79150    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
79151#include <$i>
79152"
79153if test "x$ac_cv_type_uint64_t" = xyes; then :
79154
79155fi
79156
79157    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
79158#include <$i>
79159"
79160if test "x$ac_cv_type_uintptr_t" = xyes; then :
79161
79162fi
79163
79164    break
79165  done
79166fi
79167if test "$acx_cv_header_stdint" = stddef.h; then
79168  acx_cv_header_stdint_kind="(u_intXX_t style)"
79169  for i in sys/types.h $inttype_headers; do
79170    unset ac_cv_type_u_int32_t
79171    unset ac_cv_type_u_int64_t
79172    $as_echo_n "looking for u_intXX_t types in $i, " >&6
79173    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
79174#include <$i>
79175"
79176if test "x$ac_cv_type_u_int32_t" = xyes; then :
79177  acx_cv_header_stdint=$i
79178else
79179  continue
79180fi
79181
79182    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
79183#include <$i>
79184"
79185if test "x$ac_cv_type_u_int64_t" = xyes; then :
79186
79187fi
79188
79189    break
79190  done
79191fi
79192if test "$acx_cv_header_stdint" = stddef.h; then
79193  acx_cv_header_stdint_kind="(using manual detection)"
79194fi
79195
79196test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
79197test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
79198test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
79199test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
79200test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
79201
79202# ----------------- Summarize what we found so far
79203
79204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
79205$as_echo_n "checking what to include in include/gstdint.h... " >&6; }
79206
79207case `$as_basename -- include/gstdint.h ||
79208$as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
79209	 Xinclude/gstdint.h : 'X\(//\)$' \| \
79210	 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
79211$as_echo X/include/gstdint.h |
79212    sed '/^.*\/\([^/][^/]*\)\/*$/{
79213	    s//\1/
79214	    q
79215	  }
79216	  /^X\/\(\/\/\)$/{
79217	    s//\1/
79218	    q
79219	  }
79220	  /^X\/\(\/\).*/{
79221	    s//\1/
79222	    q
79223	  }
79224	  s/.*/./; q'` in
79225  stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
79226$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
79227  inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
79228$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
79229  *) ;;
79230esac
79231
79232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
79233$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
79234
79235# ----------------- done included file, check C basic types --------
79236
79237# Lacking an uintptr_t?  Test size of void *
79238case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
79239  stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
79240# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79241# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79242# This bug is HP SR number 8606223364.
79243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
79244$as_echo_n "checking size of void *... " >&6; }
79245if ${ac_cv_sizeof_void_p+:} false; then :
79246  $as_echo_n "(cached) " >&6
79247else
79248  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
79249
79250else
79251  if test "$ac_cv_type_void_p" = yes; then
79252     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79253$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79254as_fn_error 77 "cannot compute sizeof (void *)
79255See \`config.log' for more details" "$LINENO" 5; }
79256   else
79257     ac_cv_sizeof_void_p=0
79258   fi
79259fi
79260
79261fi
79262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
79263$as_echo "$ac_cv_sizeof_void_p" >&6; }
79264
79265
79266
79267cat >>confdefs.h <<_ACEOF
79268#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
79269_ACEOF
79270
79271 ;;
79272esac
79273
79274# Lacking an uint64_t?  Test size of long
79275case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
79276  stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
79277# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79278# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79279# This bug is HP SR number 8606223364.
79280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
79281$as_echo_n "checking size of long... " >&6; }
79282if ${ac_cv_sizeof_long+:} false; then :
79283  $as_echo_n "(cached) " >&6
79284else
79285  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
79286
79287else
79288  if test "$ac_cv_type_long" = yes; then
79289     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79290$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79291as_fn_error 77 "cannot compute sizeof (long)
79292See \`config.log' for more details" "$LINENO" 5; }
79293   else
79294     ac_cv_sizeof_long=0
79295   fi
79296fi
79297
79298fi
79299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
79300$as_echo "$ac_cv_sizeof_long" >&6; }
79301
79302
79303
79304cat >>confdefs.h <<_ACEOF
79305#define SIZEOF_LONG $ac_cv_sizeof_long
79306_ACEOF
79307
79308 ;;
79309esac
79310
79311if test $acx_cv_header_stdint = stddef.h; then
79312  # Lacking a good header?  Test size of everything and deduce all types.
79313  # The cast to long int works around a bug in the HP C Compiler
79314# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79315# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79316# This bug is HP SR number 8606223364.
79317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
79318$as_echo_n "checking size of int... " >&6; }
79319if ${ac_cv_sizeof_int+:} false; then :
79320  $as_echo_n "(cached) " >&6
79321else
79322  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
79323
79324else
79325  if test "$ac_cv_type_int" = yes; then
79326     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79327$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79328as_fn_error 77 "cannot compute sizeof (int)
79329See \`config.log' for more details" "$LINENO" 5; }
79330   else
79331     ac_cv_sizeof_int=0
79332   fi
79333fi
79334
79335fi
79336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
79337$as_echo "$ac_cv_sizeof_int" >&6; }
79338
79339
79340
79341cat >>confdefs.h <<_ACEOF
79342#define SIZEOF_INT $ac_cv_sizeof_int
79343_ACEOF
79344
79345
79346  # The cast to long int works around a bug in the HP C Compiler
79347# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79348# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79349# This bug is HP SR number 8606223364.
79350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
79351$as_echo_n "checking size of short... " >&6; }
79352if ${ac_cv_sizeof_short+:} false; then :
79353  $as_echo_n "(cached) " >&6
79354else
79355  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
79356
79357else
79358  if test "$ac_cv_type_short" = yes; then
79359     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79360$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79361as_fn_error 77 "cannot compute sizeof (short)
79362See \`config.log' for more details" "$LINENO" 5; }
79363   else
79364     ac_cv_sizeof_short=0
79365   fi
79366fi
79367
79368fi
79369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
79370$as_echo "$ac_cv_sizeof_short" >&6; }
79371
79372
79373
79374cat >>confdefs.h <<_ACEOF
79375#define SIZEOF_SHORT $ac_cv_sizeof_short
79376_ACEOF
79377
79378
79379  # The cast to long int works around a bug in the HP C Compiler
79380# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79381# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79382# This bug is HP SR number 8606223364.
79383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
79384$as_echo_n "checking size of char... " >&6; }
79385if ${ac_cv_sizeof_char+:} false; then :
79386  $as_echo_n "(cached) " >&6
79387else
79388  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
79389
79390else
79391  if test "$ac_cv_type_char" = yes; then
79392     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79394as_fn_error 77 "cannot compute sizeof (char)
79395See \`config.log' for more details" "$LINENO" 5; }
79396   else
79397     ac_cv_sizeof_char=0
79398   fi
79399fi
79400
79401fi
79402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
79403$as_echo "$ac_cv_sizeof_char" >&6; }
79404
79405
79406
79407cat >>confdefs.h <<_ACEOF
79408#define SIZEOF_CHAR $ac_cv_sizeof_char
79409_ACEOF
79410
79411
79412
79413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
79414$as_echo_n "checking for type equivalent to int8_t... " >&6; }
79415  case "$ac_cv_sizeof_char" in
79416    1) acx_cv_type_int8_t=char ;;
79417    *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
79418  esac
79419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
79420$as_echo "$acx_cv_type_int8_t" >&6; }
79421
79422  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
79423$as_echo_n "checking for type equivalent to int16_t... " >&6; }
79424  case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
79425    2:*) acx_cv_type_int16_t=int ;;
79426    *:2) acx_cv_type_int16_t=short ;;
79427    *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
79428  esac
79429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
79430$as_echo "$acx_cv_type_int16_t" >&6; }
79431
79432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
79433$as_echo_n "checking for type equivalent to int32_t... " >&6; }
79434  case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
79435    4:*) acx_cv_type_int32_t=int ;;
79436    *:4) acx_cv_type_int32_t=long ;;
79437    *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
79438  esac
79439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
79440$as_echo "$acx_cv_type_int32_t" >&6; }
79441fi
79442
79443# These tests are here to make the output prettier
79444
79445if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79446  case "$ac_cv_sizeof_long" in
79447    8) acx_cv_type_int64_t=long ;;
79448  esac
79449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79450$as_echo_n "checking for type equivalent to int64_t... " >&6; }
79451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79452$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79453fi
79454
79455# Now we can use the above types
79456
79457if test "$ac_cv_type_uintptr_t" != yes; then
79458  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79459$as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79460  case $ac_cv_sizeof_void_p in
79461    2) acx_cv_type_intptr_t=int16_t ;;
79462    4) acx_cv_type_intptr_t=int32_t ;;
79463    8) acx_cv_type_intptr_t=int64_t ;;
79464    *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79465  esac
79466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79467$as_echo "$acx_cv_type_intptr_t" >&6; }
79468fi
79469
79470# ----------------- done all checks, emit header -------------
79471ac_config_commands="$ac_config_commands include/gstdint.h"
79472
79473
79474
79475
79476
79477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79478$as_echo_n "checking for GNU c++filt... " >&6; }
79479if ${ac_cv_path_CXXFILT+:} false; then :
79480  $as_echo_n "(cached) " >&6
79481else
79482  if test -z "$CXXFILT"; then
79483  ac_path_CXXFILT_found=false
79484  # Loop through the user's path and test for each of PROGNAME-LIST
79485  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79486for as_dir in $PATH
79487do
79488  IFS=$as_save_IFS
79489  test -z "$as_dir" && as_dir=.
79490    for ac_prog in c++filt gc++filt; do
79491    for ac_exec_ext in '' $ac_executable_extensions; do
79492      ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79493      as_fn_executable_p "$ac_path_CXXFILT" || continue
79494# Check for GNU $ac_path_CXXFILT
79495case `"$ac_path_CXXFILT" --version 2>&1` in
79496*GNU*)
79497  ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79498esac
79499
79500      $ac_path_CXXFILT_found && break 3
79501    done
79502  done
79503  done
79504IFS=$as_save_IFS
79505  if test -z "$ac_cv_path_CXXFILT"; then
79506    :
79507  fi
79508else
79509  ac_cv_path_CXXFILT=$CXXFILT
79510fi
79511
79512fi
79513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79514$as_echo "$ac_cv_path_CXXFILT" >&6; }
79515  CXXFILT=$ac_cv_path_CXXFILT
79516
79517
79518
79519 # Check whether --enable-symvers was given.
79520if test "${enable_symvers+set}" = set; then :
79521  enableval=$enable_symvers;
79522      case "$enableval" in
79523       yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79524       *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79525	  	        esac
79526
79527else
79528  enable_symvers=yes
79529fi
79530
79531
79532
79533# If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79534# don't know enough about $LD to do tricks...
79535
79536# Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79537# with extern "C++" in version scripts.
79538
79539
79540# Turn a 'yes' into a suitable default.
79541if test x$enable_symvers = xyes ; then
79542  if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79543    enable_symvers=no
79544  else
79545    if test $with_gnu_ld = yes ; then
79546      case ${target_os} in
79547	hpux*)
79548	  enable_symvers=no ;;
79549	*)
79550	  enable_symvers=gnu ;;
79551      esac
79552    else
79553      case ${target_os} in
79554	darwin*)
79555	  enable_symvers=darwin ;;
79556	# Sun symbol versioning exists since Solaris 2.5.
79557	solaris2.[5-9]* | solaris2.1[0-9]*)
79558	  # make_sunver.pl needs GNU c++filt to support extern "C++" in
79559	  # version scripts, so disable symbol versioning if none can be
79560	  # found.
79561	  if test -z "$ac_cv_path_CXXFILT"; then
79562	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79563$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79564	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
79565$as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
79566	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79567$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79568	    enable_symvers=no
79569	  else
79570	    enable_symvers=sun
79571	  fi
79572	  ;;
79573	*)
79574	  enable_symvers=no ;;
79575      esac
79576    fi
79577  fi
79578fi
79579
79580# Check to see if 'darwin' or 'darwin-export' can win.
79581if test x$enable_symvers = xdarwin-export ; then
79582    enable_symvers=darwin
79583fi
79584
79585# Check if 'sun' was requested on non-Solaris 2 platforms.
79586if test x$enable_symvers = xsun ; then
79587  case ${target_os} in
79588    solaris2*)
79589      # All fine.
79590      ;;
79591    *)
79592      # Unlikely to work.
79593      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79594$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79595      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79596$as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79597      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79598$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79599      enable_symvers=no
79600      ;;
79601  esac
79602fi
79603
79604# Check to see if 'gnu' can win.
79605if test $enable_symvers = gnu ||
79606  test $enable_symvers = gnu-versioned-namespace ||
79607  test $enable_symvers = sun; then
79608  # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79610$as_echo_n "checking for shared libgcc... " >&6; }
79611  ac_save_CFLAGS="$CFLAGS"
79612  CFLAGS=' -lgcc_s'
79613  if test x$gcc_no_link = xyes; then
79614  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79615fi
79616cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79617/* end confdefs.h.  */
79618
79619int
79620main ()
79621{
79622return 0;
79623  ;
79624  return 0;
79625}
79626_ACEOF
79627if ac_fn_c_try_link "$LINENO"; then :
79628  glibcxx_shared_libgcc=yes
79629else
79630  glibcxx_shared_libgcc=no
79631fi
79632rm -f core conftest.err conftest.$ac_objext \
79633    conftest$ac_exeext conftest.$ac_ext
79634  CFLAGS="$ac_save_CFLAGS"
79635  if test $glibcxx_shared_libgcc = no; then
79636    cat > conftest.c <<EOF
79637int main (void) { return 0; }
79638EOF
79639    glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79640			     -shared -shared-libgcc -o conftest.so \
79641			     conftest.c -v 2>&1 >/dev/null \
79642			     | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79643    rm -f conftest.c conftest.so
79644    if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79645      CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79646      if test x$gcc_no_link = xyes; then
79647  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79648fi
79649cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79650/* end confdefs.h.  */
79651
79652int
79653main ()
79654{
79655return 0;
79656  ;
79657  return 0;
79658}
79659_ACEOF
79660if ac_fn_c_try_link "$LINENO"; then :
79661  glibcxx_shared_libgcc=yes
79662fi
79663rm -f core conftest.err conftest.$ac_objext \
79664    conftest$ac_exeext conftest.$ac_ext
79665      CFLAGS="$ac_save_CFLAGS"
79666    fi
79667  fi
79668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79669$as_echo "$glibcxx_shared_libgcc" >&6; }
79670
79671  # For GNU ld, we need at least this version.  The format is described in
79672  # GLIBCXX_CHECK_LINKER_FEATURES above.
79673  glibcxx_min_gnu_ld_version=21400
79674
79675  # If no shared libgcc, can't win.
79676  if test $glibcxx_shared_libgcc != yes; then
79677      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79678$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79679      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79680$as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79681      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79682$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79683      enable_symvers=no
79684  elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79685    : All interesting versions of Sun ld support sun style symbol versioning.
79686  elif test $with_gnu_ld != yes ; then
79687    # just fail for now
79688    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79689$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79690    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79691$as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79692    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79693$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79694    enable_symvers=no
79695  elif test $glibcxx_ld_is_gold = yes ; then
79696    : All versions of gold support symbol versioning.
79697  elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79698    # The right tools, the right setup, but too old.  Fallbacks?
79699    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79700$as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79701    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79702$as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79703    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79704$as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79705    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79706$as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79707    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79708$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79709    enable_symvers=no
79710  fi
79711fi
79712
79713# For libtool versioning info, format is CURRENT:REVISION:AGE
79714libtool_VERSION=6:28:0
79715
79716# Everything parsed; figure out what files and settings to use.
79717case $enable_symvers in
79718  no)
79719    SYMVER_FILE=config/abi/pre/none.ver
79720    ;;
79721  gnu)
79722    SYMVER_FILE=config/abi/pre/gnu.ver
79723
79724$as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79725
79726    ;;
79727  gnu-versioned-namespace)
79728    libtool_VERSION=8:0:0
79729    SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79730
79731$as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79732
79733    ;;
79734  darwin)
79735    SYMVER_FILE=config/abi/pre/gnu.ver
79736
79737$as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79738
79739    ;;
79740  sun)
79741    SYMVER_FILE=config/abi/pre/gnu.ver
79742
79743$as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79744
79745    ;;
79746esac
79747
79748if test x$enable_symvers != xno ; then
79749
79750$as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79751
79752fi
79753
79754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79755$as_echo_n "checking whether the target supports .symver directive... " >&6; }
79756if ${glibcxx_cv_have_as_symver_directive+:} false; then :
79757  $as_echo_n "(cached) " >&6
79758else
79759
79760  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79761/* end confdefs.h.  */
79762void foo (void); __asm (".symver foo, bar@SYMVER");
79763int
79764main ()
79765{
79766
79767  ;
79768  return 0;
79769}
79770_ACEOF
79771if ac_fn_c_try_compile "$LINENO"; then :
79772  glibcxx_cv_have_as_symver_directive=yes
79773else
79774  glibcxx_cv_have_as_symver_directive=no
79775fi
79776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79777fi
79778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79779$as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79780if test $glibcxx_cv_have_as_symver_directive = yes; then
79781
79782$as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79783
79784fi
79785
79786
79787
79788
79789
79790
79791
79792
79793{ $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79794$as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79795
79796if test $enable_symvers != no ; then
79797   case ${target_os} in
79798     # The Solaris 2 runtime linker doesn't support the GNU extension of
79799     # binding the same symbol to different versions
79800     solaris2*)
79801       ;;
79802     # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79803     *)
79804
79805$as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79806
79807       ;;
79808    esac
79809fi
79810
79811# Now, set up compatibility support, if any.
79812# In addition, need this to deal with std::size_t mangling in
79813# src/compatibility.cc.  In a perfect world, could use
79814# typeid(std::size_t).name()[0] to do direct substitution.
79815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79816$as_echo_n "checking for size_t as unsigned int... " >&6; }
79817ac_save_CFLAGS="$CFLAGS"
79818CFLAGS="-Werror"
79819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79820/* end confdefs.h.  */
79821
79822int
79823main ()
79824{
79825__SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79826  ;
79827  return 0;
79828}
79829_ACEOF
79830if ac_fn_c_try_compile "$LINENO"; then :
79831  glibcxx_size_t_is_i=yes
79832else
79833  glibcxx_size_t_is_i=no
79834fi
79835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79836CFLAGS=$ac_save_CFLAGS
79837if test "$glibcxx_size_t_is_i" = yes; then
79838
79839$as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79840
79841fi
79842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79843$as_echo "$glibcxx_size_t_is_i" >&6; }
79844
79845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79846$as_echo_n "checking for ptrdiff_t as int... " >&6; }
79847ac_save_CFLAGS="$CFLAGS"
79848CFLAGS="-Werror"
79849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79850/* end confdefs.h.  */
79851
79852int
79853main ()
79854{
79855__PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79856  ;
79857  return 0;
79858}
79859_ACEOF
79860if ac_fn_c_try_compile "$LINENO"; then :
79861  glibcxx_ptrdiff_t_is_i=yes
79862else
79863  glibcxx_ptrdiff_t_is_i=no
79864fi
79865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79866CFLAGS=$ac_save_CFLAGS
79867if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79868
79869$as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79870
79871fi
79872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79873$as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79874
79875
79876
79877
79878 # Check whether --enable-libstdcxx-visibility was given.
79879if test "${enable_libstdcxx_visibility+set}" = set; then :
79880  enableval=$enable_libstdcxx_visibility;
79881      case "$enableval" in
79882       yes|no) ;;
79883       *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79884      esac
79885
79886else
79887  enable_libstdcxx_visibility=yes
79888fi
79889
79890
79891
79892if test x$enable_libstdcxx_visibility = xyes ; then
79893      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79894$as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79895if ${glibcxx_cv_have_attribute_visibility+:} false; then :
79896  $as_echo_n "(cached) " >&6
79897else
79898
79899  save_CFLAGS="$CFLAGS"
79900  CFLAGS="$CFLAGS -Werror"
79901  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79902/* end confdefs.h.  */
79903void __attribute__((visibility("hidden"))) foo(void) { }
79904int
79905main ()
79906{
79907
79908  ;
79909  return 0;
79910}
79911_ACEOF
79912if ac_fn_c_try_compile "$LINENO"; then :
79913  glibcxx_cv_have_attribute_visibility=yes
79914else
79915  glibcxx_cv_have_attribute_visibility=no
79916fi
79917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79918  CFLAGS="$save_CFLAGS"
79919fi
79920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79921$as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79922  if test $glibcxx_cv_have_attribute_visibility = no; then
79923    enable_libstdcxx_visibility=no
79924  fi
79925fi
79926
79927
79928{ $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79929$as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79930
79931
79932
79933   # Check whether --enable-libstdcxx-dual-abi was given.
79934if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79935  enableval=$enable_libstdcxx_dual_abi;
79936      case "$enableval" in
79937       yes|no) ;;
79938       *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79939      esac
79940
79941else
79942  enable_libstdcxx_dual_abi=yes
79943fi
79944
79945
79946  if test x$enable_symvers = xgnu-versioned-namespace; then
79947    # gnu-versioned-namespace is incompatible with the dual ABI.
79948    enable_libstdcxx_dual_abi="no"
79949  fi
79950  if test x"$enable_libstdcxx_dual_abi" != xyes; then
79951    { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79952$as_echo "$as_me: dual ABI is disabled" >&6;}
79953    default_libstdcxx_abi="gcc4-compatible"
79954  fi
79955
79956
79957
79958  if test x$enable_libstdcxx_dual_abi = xyes; then
79959  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79960$as_echo_n "checking for default std::string ABI to use... " >&6; }
79961
79962# Check whether --with-default-libstdcxx-abi was given.
79963if test "${with_default_libstdcxx_abi+set}" = set; then :
79964  withval=$with_default_libstdcxx_abi; case "$withval" in
79965      gcc4-compatible)  default_libstdcxx_abi="gcc4-compatible" ;;
79966      new|cxx11)  default_libstdcxx_abi="new" ;;
79967      c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79968      *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79969     esac
79970
79971else
79972  default_libstdcxx_abi="new"
79973fi
79974
79975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79976$as_echo "${default_libstdcxx_abi}" >&6; }
79977  fi
79978  if test $default_libstdcxx_abi = "new"; then
79979    glibcxx_cxx11_abi=1
79980    glibcxx_cxx98_abi=0
79981  else
79982    glibcxx_cxx11_abi=0
79983    glibcxx_cxx98_abi=1
79984  fi
79985
79986
79987
79988
79989ac_ldbl_compat=no
79990LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79991case "$target" in
79992  powerpc*-*-linux* | \
79993  sparc*-*-linux* | \
79994  s390*-*-linux* | \
79995  alpha*-*-linux*)
79996  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79997/* end confdefs.h.  */
79998
79999int
80000main ()
80001{
80002
80003#if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
80004#error no need for long double compatibility
80005#endif
80006
80007  ;
80008  return 0;
80009}
80010_ACEOF
80011if ac_fn_c_try_compile "$LINENO"; then :
80012  ac_ldbl_compat=yes
80013else
80014  ac_ldbl_compat=no
80015fi
80016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80017  if test "$ac_ldbl_compat" = yes; then
80018
80019$as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
80020
80021    port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
80022    case "$target" in
80023      powerpc*-*-linux*)
80024	LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
80025    esac
80026  fi
80027esac
80028
80029
80030
80031# Check if assembler supports disabling hardware capability support.
80032
80033  test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
80034
80035  # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
80036  # with a different meaning.
80037  case ${target_os} in
80038    solaris2*)
80039      ac_save_CFLAGS="$CFLAGS"
80040      CFLAGS="$CFLAGS -Wa,-nH"
80041
80042      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
80043$as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
80044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80045/* end confdefs.h.  */
80046
80047int
80048main ()
80049{
80050return 0;
80051  ;
80052  return 0;
80053}
80054_ACEOF
80055if ac_fn_c_try_compile "$LINENO"; then :
80056  ac_hwcap_flags=yes
80057else
80058  ac_hwcap_flags=no
80059fi
80060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80061      if test "$ac_hwcap_flags" = "yes"; then
80062	HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
80063      fi
80064      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
80065$as_echo "$ac_hwcap_flags" >&6; }
80066
80067      CFLAGS="$ac_save_CFLAGS"
80068      ;;
80069  esac
80070
80071
80072
80073
80074# Check if assembler supports rdrand opcode.
80075
80076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
80077$as_echo_n "checking for rdrand support in assembler... " >&6; }
80078  if ${ac_cv_x86_rdrand+:} false; then :
80079  $as_echo_n "(cached) " >&6
80080else
80081
80082  ac_cv_x86_rdrand=no
80083  case "$target" in
80084    i?86-*-* | \
80085    x86_64-*-*)
80086    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80087/* end confdefs.h.  */
80088
80089int
80090main ()
80091{
80092asm("rdrand %eax");
80093  ;
80094  return 0;
80095}
80096_ACEOF
80097if ac_fn_c_try_compile "$LINENO"; then :
80098  ac_cv_x86_rdrand=yes
80099else
80100  ac_cv_x86_rdrand=no
80101fi
80102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80103  esac
80104
80105fi
80106
80107  if test $ac_cv_x86_rdrand = yes; then
80108
80109$as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
80110
80111  fi
80112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
80113$as_echo "$ac_cv_x86_rdrand" >&6; }
80114
80115
80116# This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
80117
80118  # Do checks for resource limit functions.
80119
80120  setrlimit_have_headers=yes
80121  for ac_header in unistd.h sys/time.h sys/resource.h
80122do :
80123  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80124ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80125if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80126  cat >>confdefs.h <<_ACEOF
80127#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80128_ACEOF
80129
80130else
80131  setrlimit_have_headers=no
80132fi
80133
80134done
80135
80136  # If don't have the headers, then we can't run the tests now, and we
80137  # won't be seeing any of these during testsuite compilation.
80138  if test $setrlimit_have_headers = yes; then
80139    # Can't do these in a loop, else the resulting syntax is wrong.
80140
80141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
80142$as_echo_n "checking for RLIMIT_DATA... " >&6; }
80143  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80144/* end confdefs.h.  */
80145#include <unistd.h>
80146     #include <sys/time.h>
80147     #include <sys/resource.h>
80148
80149int
80150main ()
80151{
80152 int f = RLIMIT_DATA ;
80153  ;
80154  return 0;
80155}
80156_ACEOF
80157if ac_fn_c_try_compile "$LINENO"; then :
80158  glibcxx_mresult=1
80159else
80160  glibcxx_mresult=0
80161fi
80162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80163
80164cat >>confdefs.h <<_ACEOF
80165#define HAVE_LIMIT_DATA $glibcxx_mresult
80166_ACEOF
80167
80168  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80170$as_echo "$res" >&6; }
80171
80172
80173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
80174$as_echo_n "checking for RLIMIT_RSS... " >&6; }
80175  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80176/* end confdefs.h.  */
80177#include <unistd.h>
80178     #include <sys/time.h>
80179     #include <sys/resource.h>
80180
80181int
80182main ()
80183{
80184 int f = RLIMIT_RSS ;
80185  ;
80186  return 0;
80187}
80188_ACEOF
80189if ac_fn_c_try_compile "$LINENO"; then :
80190  glibcxx_mresult=1
80191else
80192  glibcxx_mresult=0
80193fi
80194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80195
80196cat >>confdefs.h <<_ACEOF
80197#define HAVE_LIMIT_RSS $glibcxx_mresult
80198_ACEOF
80199
80200  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80202$as_echo "$res" >&6; }
80203
80204
80205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
80206$as_echo_n "checking for RLIMIT_VMEM... " >&6; }
80207  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80208/* end confdefs.h.  */
80209#include <unistd.h>
80210     #include <sys/time.h>
80211     #include <sys/resource.h>
80212
80213int
80214main ()
80215{
80216 int f = RLIMIT_VMEM ;
80217  ;
80218  return 0;
80219}
80220_ACEOF
80221if ac_fn_c_try_compile "$LINENO"; then :
80222  glibcxx_mresult=1
80223else
80224  glibcxx_mresult=0
80225fi
80226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80227
80228cat >>confdefs.h <<_ACEOF
80229#define HAVE_LIMIT_VMEM $glibcxx_mresult
80230_ACEOF
80231
80232  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80234$as_echo "$res" >&6; }
80235
80236
80237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
80238$as_echo_n "checking for RLIMIT_AS... " >&6; }
80239  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80240/* end confdefs.h.  */
80241#include <unistd.h>
80242     #include <sys/time.h>
80243     #include <sys/resource.h>
80244
80245int
80246main ()
80247{
80248 int f = RLIMIT_AS ;
80249  ;
80250  return 0;
80251}
80252_ACEOF
80253if ac_fn_c_try_compile "$LINENO"; then :
80254  glibcxx_mresult=1
80255else
80256  glibcxx_mresult=0
80257fi
80258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80259
80260cat >>confdefs.h <<_ACEOF
80261#define HAVE_LIMIT_AS $glibcxx_mresult
80262_ACEOF
80263
80264  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80266$as_echo "$res" >&6; }
80267
80268
80269  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
80270$as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
80271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80272/* end confdefs.h.  */
80273#include <unistd.h>
80274     #include <sys/time.h>
80275     #include <sys/resource.h>
80276
80277int
80278main ()
80279{
80280 int f = RLIMIT_FSIZE ;
80281  ;
80282  return 0;
80283}
80284_ACEOF
80285if ac_fn_c_try_compile "$LINENO"; then :
80286  glibcxx_mresult=1
80287else
80288  glibcxx_mresult=0
80289fi
80290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80291
80292cat >>confdefs.h <<_ACEOF
80293#define HAVE_LIMIT_FSIZE $glibcxx_mresult
80294_ACEOF
80295
80296  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80298$as_echo "$res" >&6; }
80299
80300
80301    # Check for rlimit, setrlimit.
80302    if ${glibcxx_cv_setrlimit+:} false; then :
80303  $as_echo_n "(cached) " >&6
80304else
80305
80306      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80307/* end confdefs.h.  */
80308#include <unistd.h>
80309	 #include <sys/time.h>
80310	 #include <sys/resource.h>
80311
80312int
80313main ()
80314{
80315struct rlimit r;
80316	 setrlimit(0, &r);
80317  ;
80318  return 0;
80319}
80320_ACEOF
80321if ac_fn_c_try_compile "$LINENO"; then :
80322  glibcxx_cv_setrlimit=yes
80323else
80324  glibcxx_cv_setrlimit=no
80325fi
80326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80327
80328fi
80329
80330  fi
80331
80332  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
80333$as_echo_n "checking for testsuite resource limits support... " >&6; }
80334  if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
80335    ac_res_limits=yes
80336
80337$as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
80338
80339  else
80340    ac_res_limits=no
80341  fi
80342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
80343$as_echo "$ac_res_limits" >&6; }
80344
80345
80346  if $GLIBCXX_IS_NATIVE ; then
80347    # Look for setenv, so that extended locale tests can be performed.
80348
80349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
80350$as_echo_n "checking for setenv declaration... " >&6; }
80351  if test x${glibcxx_cv_func_setenv_use+set} != xset; then
80352    if ${glibcxx_cv_func_setenv_use+:} false; then :
80353  $as_echo_n "(cached) " >&6
80354else
80355
80356
80357      ac_ext=cpp
80358ac_cpp='$CXXCPP $CPPFLAGS'
80359ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80360ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80361ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80362
80363      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80364/* end confdefs.h.  */
80365#include <stdlib.h>
80366int
80367main ()
80368{
80369 setenv(0, 0, 0);
80370  ;
80371  return 0;
80372}
80373_ACEOF
80374if ac_fn_cxx_try_compile "$LINENO"; then :
80375  glibcxx_cv_func_setenv_use=yes
80376else
80377  glibcxx_cv_func_setenv_use=no
80378fi
80379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80380      ac_ext=c
80381ac_cpp='$CPP $CPPFLAGS'
80382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80384ac_compiler_gnu=$ac_cv_c_compiler_gnu
80385
80386
80387fi
80388
80389  fi
80390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
80391$as_echo "$glibcxx_cv_func_setenv_use" >&6; }
80392  if test x$glibcxx_cv_func_setenv_use = x"yes"; then
80393    for ac_func in setenv
80394do :
80395  ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
80396if test "x$ac_cv_func_setenv" = xyes; then :
80397  cat >>confdefs.h <<_ACEOF
80398#define HAVE_SETENV 1
80399_ACEOF
80400
80401fi
80402done
80403
80404  fi
80405
80406  fi
80407
80408  if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
80409     test $enable_symvers != no; then
80410    case "$host" in
80411      *-*-cygwin*)
80412	enable_abi_check=no ;;
80413      *)
80414	enable_abi_check=yes ;;
80415    esac
80416  else
80417    # Only build this as native, since automake does not understand
80418    # CXX_FOR_BUILD.
80419    enable_abi_check=no
80420  fi
80421
80422  # Export file names for ABI checking.
80423  baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
80424
80425  baseline_subdir_switch="$abi_baseline_subdir_switch"
80426
80427
80428
80429# For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
80430
80431   # Check whether --enable-libstdcxx-threads was given.
80432if test "${enable_libstdcxx_threads+set}" = set; then :
80433  enableval=$enable_libstdcxx_threads;
80434      case "$enableval" in
80435       yes|no) ;;
80436       *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
80437      esac
80438
80439else
80440  enable_libstdcxx_threads=auto
80441fi
80442
80443
80444
80445  if test x$enable_libstdcxx_threads = xauto ||
80446     test x$enable_libstdcxx_threads = xyes; then
80447
80448
80449  ac_ext=cpp
80450ac_cpp='$CXXCPP $CPPFLAGS'
80451ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80452ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80453ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80454
80455
80456  ac_save_CXXFLAGS="$CXXFLAGS"
80457  CXXFLAGS="$CXXFLAGS -fno-exceptions \
80458	-I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80459
80460  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80461  case $target_thread_file in
80462    posix)
80463      CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80464  esac
80465
80466  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80467$as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80468
80469  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80470/* end confdefs.h.  */
80471#include <unistd.h>
80472int
80473main ()
80474{
80475
80476      // In case of POSIX threads check _POSIX_TIMEOUTS.
80477      #if (defined(_PTHREADS) \
80478	  && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80479      #error
80480      #endif
80481
80482  ;
80483  return 0;
80484}
80485_ACEOF
80486if ac_fn_cxx_try_compile "$LINENO"; then :
80487  ac_gthread_use_mutex_timedlock=1
80488else
80489  ac_gthread_use_mutex_timedlock=0
80490fi
80491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80492
80493
80494cat >>confdefs.h <<_ACEOF
80495#define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80496_ACEOF
80497
80498
80499  if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80500  else res_mutex_timedlock=no ; fi
80501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80502$as_echo "$res_mutex_timedlock" >&6; }
80503
80504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80505$as_echo_n "checking for gthreads library... " >&6; }
80506
80507  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80508/* end confdefs.h.  */
80509#include "gthr.h"
80510int
80511main ()
80512{
80513
80514      #ifndef __GTHREADS_CXX0X
80515      #error
80516      #endif
80517
80518  ;
80519  return 0;
80520}
80521_ACEOF
80522if ac_fn_cxx_try_compile "$LINENO"; then :
80523  ac_has_gthreads=yes
80524else
80525  ac_has_gthreads=no
80526fi
80527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80528  else
80529    ac_has_gthreads=no
80530  fi
80531
80532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80533$as_echo "$ac_has_gthreads" >&6; }
80534
80535  if test x"$ac_has_gthreads" = x"yes"; then
80536
80537$as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80538
80539
80540    # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80541    ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80542"
80543if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
80544
80545$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80546
80547fi
80548
80549  fi
80550
80551  CXXFLAGS="$ac_save_CXXFLAGS"
80552  ac_ext=c
80553ac_cpp='$CPP $CPPFLAGS'
80554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80556ac_compiler_gnu=$ac_cv_c_compiler_gnu
80557
80558
80559
80560# For Filesystem TS.
80561for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80562do :
80563  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80564ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80565if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80566  cat >>confdefs.h <<_ACEOF
80567#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80568_ACEOF
80569
80570fi
80571
80572done
80573
80574
80575   # Check whether --enable-libstdcxx-filesystem-ts was given.
80576if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80577  enableval=$enable_libstdcxx_filesystem_ts;
80578      case "$enableval" in
80579       yes|no|auto) ;;
80580       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80581	  	        esac
80582
80583else
80584  enable_libstdcxx_filesystem_ts=auto
80585fi
80586
80587
80588
80589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80590$as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80591  if test x"$ac_cv_header_dirent_h" != x"yes"; then
80592    enable_libstdcxx_filesystem_ts=no
80593  fi
80594  if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80595    case "${target_os}" in
80596      freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80597        enable_libstdcxx_filesystem_ts=yes
80598        ;;
80599      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80600        enable_libstdcxx_filesystem_ts=yes
80601        ;;
80602      rtems*)
80603        enable_libstdcxx_filesystem_ts=yes
80604        ;;
80605      solaris*)
80606        enable_libstdcxx_filesystem_ts=yes
80607        ;;
80608      *)
80609        enable_libstdcxx_filesystem_ts=no
80610        ;;
80611    esac
80612  fi
80613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80614$as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80615
80616
80617
80618  ac_ext=cpp
80619ac_cpp='$CXXCPP $CPPFLAGS'
80620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80623
80624  ac_save_CXXFLAGS="$CXXFLAGS"
80625  CXXFLAGS="$CXXFLAGS -fno-exceptions"
80626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80627$as_echo_n "checking for struct dirent.d_type... " >&6; }
80628  if ${glibcxx_cv_dirent_d_type+:} false; then :
80629  $as_echo_n "(cached) " >&6
80630else
80631      if test x$gcc_no_link = xyes; then
80632  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80633/* end confdefs.h.  */
80634#include <dirent.h>
80635int
80636main ()
80637{
80638
80639       struct dirent d;
80640       if (sizeof d.d_type) return 0;
80641
80642  ;
80643  return 0;
80644}
80645_ACEOF
80646if ac_fn_cxx_try_compile "$LINENO"; then :
80647  glibcxx_cv_dirent_d_type=yes
80648else
80649  glibcxx_cv_dirent_d_type=no
80650fi
80651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80652else
80653  if test x$gcc_no_link = xyes; then
80654  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80655fi
80656cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80657/* end confdefs.h.  */
80658#include <dirent.h>
80659int
80660main ()
80661{
80662
80663       struct dirent d;
80664       if (sizeof d.d_type) return 0;
80665
80666  ;
80667  return 0;
80668}
80669_ACEOF
80670if ac_fn_cxx_try_link "$LINENO"; then :
80671  glibcxx_cv_dirent_d_type=yes
80672else
80673  glibcxx_cv_dirent_d_type=no
80674fi
80675rm -f core conftest.err conftest.$ac_objext \
80676    conftest$ac_exeext conftest.$ac_ext
80677fi
80678
80679fi
80680
80681  if test $glibcxx_cv_dirent_d_type = yes; then
80682
80683$as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80684
80685  fi
80686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80687$as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80688  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80689$as_echo_n "checking for realpath... " >&6; }
80690  if ${glibcxx_cv_realpath+:} false; then :
80691  $as_echo_n "(cached) " >&6
80692else
80693      if test x$gcc_no_link = xyes; then
80694  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80695/* end confdefs.h.  */
80696
80697       #include <limits.h>
80698       #include <stdlib.h>
80699       #include <unistd.h>
80700
80701int
80702main ()
80703{
80704
80705       #if _XOPEN_VERSION < 500
80706       #error
80707       #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80708       char *tmp = realpath((const char*)NULL, (char*)NULL);
80709       #else
80710       #error
80711       #endif
80712
80713  ;
80714  return 0;
80715}
80716_ACEOF
80717if ac_fn_cxx_try_compile "$LINENO"; then :
80718  glibcxx_cv_realpath=yes
80719else
80720  glibcxx_cv_realpath=no
80721fi
80722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80723else
80724  if test x$gcc_no_link = xyes; then
80725  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80726fi
80727cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80728/* end confdefs.h.  */
80729
80730       #include <limits.h>
80731       #include <stdlib.h>
80732       #include <unistd.h>
80733
80734int
80735main ()
80736{
80737
80738       #if _XOPEN_VERSION < 500
80739       #error
80740       #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80741       char *tmp = realpath((const char*)NULL, (char*)NULL);
80742       #else
80743       #error
80744       #endif
80745
80746  ;
80747  return 0;
80748}
80749_ACEOF
80750if ac_fn_cxx_try_link "$LINENO"; then :
80751  glibcxx_cv_realpath=yes
80752else
80753  glibcxx_cv_realpath=no
80754fi
80755rm -f core conftest.err conftest.$ac_objext \
80756    conftest$ac_exeext conftest.$ac_ext
80757fi
80758
80759fi
80760
80761  if test $glibcxx_cv_realpath = yes; then
80762
80763$as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80764
80765  fi
80766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80767$as_echo "$glibcxx_cv_realpath" >&6; }
80768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80769$as_echo_n "checking for utimensat... " >&6; }
80770  if ${glibcxx_cv_utimensat+:} false; then :
80771  $as_echo_n "(cached) " >&6
80772else
80773      if test x$gcc_no_link = xyes; then
80774  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80775/* end confdefs.h.  */
80776
80777	#include <fcntl.h>
80778	#include <sys/stat.h>
80779
80780int
80781main ()
80782{
80783
80784	struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80785	int i = utimensat(AT_FDCWD, "path", ts, 0);
80786
80787  ;
80788  return 0;
80789}
80790_ACEOF
80791if ac_fn_cxx_try_compile "$LINENO"; then :
80792  glibcxx_cv_utimensat=yes
80793else
80794  glibcxx_cv_utimensat=no
80795fi
80796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80797else
80798  if test x$gcc_no_link = xyes; then
80799  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80800fi
80801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80802/* end confdefs.h.  */
80803
80804	#include <fcntl.h>
80805	#include <sys/stat.h>
80806
80807int
80808main ()
80809{
80810
80811	struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80812	int i = utimensat(AT_FDCWD, "path", ts, 0);
80813
80814  ;
80815  return 0;
80816}
80817_ACEOF
80818if ac_fn_cxx_try_link "$LINENO"; then :
80819  glibcxx_cv_utimensat=yes
80820else
80821  glibcxx_cv_utimensat=no
80822fi
80823rm -f core conftest.err conftest.$ac_objext \
80824    conftest$ac_exeext conftest.$ac_ext
80825fi
80826
80827fi
80828
80829  if test $glibcxx_cv_utimensat = yes; then
80830
80831$as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80832
80833  fi
80834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80835$as_echo "$glibcxx_cv_utimensat" >&6; }
80836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
80837$as_echo_n "checking for utime... " >&6; }
80838  if ${glibcxx_cv_utime+:} false; then :
80839  $as_echo_n "(cached) " >&6
80840else
80841      if test x$gcc_no_link = xyes; then
80842  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80843/* end confdefs.h.  */
80844
80845	#include <utime.h>
80846
80847int
80848main ()
80849{
80850
80851	struct utimbuf t = { 1, 1 };
80852	int i = utime("path", &t);
80853
80854  ;
80855  return 0;
80856}
80857_ACEOF
80858if ac_fn_cxx_try_compile "$LINENO"; then :
80859  glibcxx_cv_utime=yes
80860else
80861  glibcxx_cv_utime=no
80862fi
80863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80864else
80865  if test x$gcc_no_link = xyes; then
80866  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80867fi
80868cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80869/* end confdefs.h.  */
80870
80871	#include <utime.h>
80872
80873int
80874main ()
80875{
80876
80877	struct utimbuf t = { 1, 1 };
80878	int i = utime("path", &t);
80879
80880  ;
80881  return 0;
80882}
80883_ACEOF
80884if ac_fn_cxx_try_link "$LINENO"; then :
80885  glibcxx_cv_utime=yes
80886else
80887  glibcxx_cv_utime=no
80888fi
80889rm -f core conftest.err conftest.$ac_objext \
80890    conftest$ac_exeext conftest.$ac_ext
80891fi
80892
80893fi
80894
80895  if test $glibcxx_cv_utime = yes; then
80896
80897$as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
80898
80899  fi
80900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
80901$as_echo "$glibcxx_cv_utime" >&6; }
80902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
80903$as_echo_n "checking for lstat... " >&6; }
80904  if ${glibcxx_cv_lstat+:} false; then :
80905  $as_echo_n "(cached) " >&6
80906else
80907      if test x$gcc_no_link = xyes; then
80908  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80909/* end confdefs.h.  */
80910 #include <sys/stat.h>
80911int
80912main ()
80913{
80914
80915	struct stat st;
80916	int i = lstat("path", &st);
80917
80918  ;
80919  return 0;
80920}
80921_ACEOF
80922if ac_fn_cxx_try_compile "$LINENO"; then :
80923  glibcxx_cv_lstat=yes
80924else
80925  glibcxx_cv_lstat=no
80926fi
80927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80928else
80929  if test x$gcc_no_link = xyes; then
80930  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80931fi
80932cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80933/* end confdefs.h.  */
80934 #include <sys/stat.h>
80935int
80936main ()
80937{
80938
80939	struct stat st;
80940	int i = lstat("path", &st);
80941
80942  ;
80943  return 0;
80944}
80945_ACEOF
80946if ac_fn_cxx_try_link "$LINENO"; then :
80947  glibcxx_cv_lstat=yes
80948else
80949  glibcxx_cv_lstat=no
80950fi
80951rm -f core conftest.err conftest.$ac_objext \
80952    conftest$ac_exeext conftest.$ac_ext
80953fi
80954
80955fi
80956
80957  if test $glibcxx_cv_lstat = yes; then
80958
80959$as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
80960
80961  fi
80962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
80963$as_echo "$glibcxx_cv_lstat" >&6; }
80964  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80965$as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80966  if ${glibcxx_cv_st_mtim+:} false; then :
80967  $as_echo_n "(cached) " >&6
80968else
80969      if test x$gcc_no_link = xyes; then
80970  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80971/* end confdefs.h.  */
80972 #include <sys/stat.h>
80973int
80974main ()
80975{
80976
80977	struct stat st;
80978	return st.st_mtim.tv_nsec;
80979
80980  ;
80981  return 0;
80982}
80983_ACEOF
80984if ac_fn_cxx_try_compile "$LINENO"; then :
80985  glibcxx_cv_st_mtim=yes
80986else
80987  glibcxx_cv_st_mtim=no
80988fi
80989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80990else
80991  if test x$gcc_no_link = xyes; then
80992  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80993fi
80994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80995/* end confdefs.h.  */
80996 #include <sys/stat.h>
80997int
80998main ()
80999{
81000
81001	struct stat st;
81002	return st.st_mtim.tv_nsec;
81003
81004  ;
81005  return 0;
81006}
81007_ACEOF
81008if ac_fn_cxx_try_link "$LINENO"; then :
81009  glibcxx_cv_st_mtim=yes
81010else
81011  glibcxx_cv_st_mtim=no
81012fi
81013rm -f core conftest.err conftest.$ac_objext \
81014    conftest$ac_exeext conftest.$ac_ext
81015fi
81016
81017fi
81018
81019  if test $glibcxx_cv_st_mtim = yes; then
81020
81021$as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
81022
81023  fi
81024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
81025$as_echo "$glibcxx_cv_st_mtim" >&6; }
81026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
81027$as_echo_n "checking for fchmod... " >&6; }
81028  if ${glibcxx_cv_fchmod+:} false; then :
81029  $as_echo_n "(cached) " >&6
81030else
81031      if test x$gcc_no_link = xyes; then
81032  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81033/* end confdefs.h.  */
81034#include <sys/stat.h>
81035int
81036main ()
81037{
81038fchmod(1, S_IWUSR);
81039  ;
81040  return 0;
81041}
81042_ACEOF
81043if ac_fn_cxx_try_compile "$LINENO"; then :
81044  glibcxx_cv_fchmod=yes
81045else
81046  glibcxx_cv_fchmod=no
81047fi
81048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81049else
81050  if test x$gcc_no_link = xyes; then
81051  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81052fi
81053cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81054/* end confdefs.h.  */
81055#include <sys/stat.h>
81056int
81057main ()
81058{
81059fchmod(1, S_IWUSR);
81060  ;
81061  return 0;
81062}
81063_ACEOF
81064if ac_fn_cxx_try_link "$LINENO"; then :
81065  glibcxx_cv_fchmod=yes
81066else
81067  glibcxx_cv_fchmod=no
81068fi
81069rm -f core conftest.err conftest.$ac_objext \
81070    conftest$ac_exeext conftest.$ac_ext
81071fi
81072
81073fi
81074
81075  if test $glibcxx_cv_fchmod = yes; then
81076
81077$as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
81078
81079  fi
81080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
81081$as_echo "$glibcxx_cv_fchmod" >&6; }
81082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
81083$as_echo_n "checking for fchmodat... " >&6; }
81084  if ${glibcxx_cv_fchmodat+:} false; then :
81085  $as_echo_n "(cached) " >&6
81086else
81087      if test x$gcc_no_link = xyes; then
81088  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81089/* end confdefs.h.  */
81090
81091	#include <fcntl.h>
81092	#include <sys/stat.h>
81093
81094int
81095main ()
81096{
81097fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
81098  ;
81099  return 0;
81100}
81101_ACEOF
81102if ac_fn_cxx_try_compile "$LINENO"; then :
81103  glibcxx_cv_fchmodat=yes
81104else
81105  glibcxx_cv_fchmodat=no
81106fi
81107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81108else
81109  if test x$gcc_no_link = xyes; then
81110  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81111fi
81112cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81113/* end confdefs.h.  */
81114
81115	#include <fcntl.h>
81116	#include <sys/stat.h>
81117
81118int
81119main ()
81120{
81121fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
81122  ;
81123  return 0;
81124}
81125_ACEOF
81126if ac_fn_cxx_try_link "$LINENO"; then :
81127  glibcxx_cv_fchmodat=yes
81128else
81129  glibcxx_cv_fchmodat=no
81130fi
81131rm -f core conftest.err conftest.$ac_objext \
81132    conftest$ac_exeext conftest.$ac_ext
81133fi
81134
81135fi
81136
81137  if test $glibcxx_cv_fchmodat = yes; then
81138
81139$as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
81140
81141  fi
81142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
81143$as_echo "$glibcxx_cv_fchmodat" >&6; }
81144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
81145$as_echo_n "checking for sendfile that can copy files... " >&6; }
81146  if ${glibcxx_cv_sendfile+:} false; then :
81147  $as_echo_n "(cached) " >&6
81148else
81149      case "${target_os}" in
81150      gnu* | linux* | solaris*)
81151	if test x$gcc_no_link = xyes; then
81152  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81153/* end confdefs.h.  */
81154#include <sys/sendfile.h>
81155int
81156main ()
81157{
81158sendfile(1, 2, (off_t*)0, sizeof 1);
81159  ;
81160  return 0;
81161}
81162_ACEOF
81163if ac_fn_cxx_try_compile "$LINENO"; then :
81164  glibcxx_cv_sendfile=yes
81165else
81166  glibcxx_cv_sendfile=no
81167fi
81168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81169else
81170  if test x$gcc_no_link = xyes; then
81171  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81172fi
81173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81174/* end confdefs.h.  */
81175#include <sys/sendfile.h>
81176int
81177main ()
81178{
81179sendfile(1, 2, (off_t*)0, sizeof 1);
81180  ;
81181  return 0;
81182}
81183_ACEOF
81184if ac_fn_cxx_try_link "$LINENO"; then :
81185  glibcxx_cv_sendfile=yes
81186else
81187  glibcxx_cv_sendfile=no
81188fi
81189rm -f core conftest.err conftest.$ac_objext \
81190    conftest$ac_exeext conftest.$ac_ext
81191fi
81192	;;
81193      *)
81194	glibcxx_cv_sendfile=no
81195	;;
81196    esac
81197
81198fi
81199
81200  if test $glibcxx_cv_sendfile = yes; then
81201
81202$as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
81203
81204  fi
81205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
81206$as_echo "$glibcxx_cv_sendfile" >&6; }
81207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
81208$as_echo_n "checking for link... " >&6; }
81209  if ${glibcxx_cv_link+:} false; then :
81210  $as_echo_n "(cached) " >&6
81211else
81212      if test x$gcc_no_link = xyes; then
81213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81214/* end confdefs.h.  */
81215#include <unistd.h>
81216int
81217main ()
81218{
81219link("", "");
81220  ;
81221  return 0;
81222}
81223_ACEOF
81224if ac_fn_cxx_try_compile "$LINENO"; then :
81225  glibcxx_cv_link=yes
81226else
81227  glibcxx_cv_link=no
81228fi
81229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81230else
81231  if test x$gcc_no_link = xyes; then
81232  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81233fi
81234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81235/* end confdefs.h.  */
81236#include <unistd.h>
81237int
81238main ()
81239{
81240link("", "");
81241  ;
81242  return 0;
81243}
81244_ACEOF
81245if ac_fn_cxx_try_link "$LINENO"; then :
81246  glibcxx_cv_link=yes
81247else
81248  glibcxx_cv_link=no
81249fi
81250rm -f core conftest.err conftest.$ac_objext \
81251    conftest$ac_exeext conftest.$ac_ext
81252fi
81253
81254fi
81255
81256  if test $glibcxx_cv_link = yes; then
81257
81258$as_echo "#define HAVE_LINK 1" >>confdefs.h
81259
81260  fi
81261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
81262$as_echo "$glibcxx_cv_link" >&6; }
81263  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
81264$as_echo_n "checking for readlink... " >&6; }
81265  if ${glibcxx_cv_readlink+:} false; then :
81266  $as_echo_n "(cached) " >&6
81267else
81268      if test x$gcc_no_link = xyes; then
81269  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81270/* end confdefs.h.  */
81271#include <unistd.h>
81272int
81273main ()
81274{
81275char buf[32]; readlink("", buf, sizeof(buf));
81276  ;
81277  return 0;
81278}
81279_ACEOF
81280if ac_fn_cxx_try_compile "$LINENO"; then :
81281  glibcxx_cv_readlink=yes
81282else
81283  glibcxx_cv_readlink=no
81284fi
81285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81286else
81287  if test x$gcc_no_link = xyes; then
81288  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81289fi
81290cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81291/* end confdefs.h.  */
81292#include <unistd.h>
81293int
81294main ()
81295{
81296char buf[32]; readlink("", buf, sizeof(buf));
81297  ;
81298  return 0;
81299}
81300_ACEOF
81301if ac_fn_cxx_try_link "$LINENO"; then :
81302  glibcxx_cv_readlink=yes
81303else
81304  glibcxx_cv_readlink=no
81305fi
81306rm -f core conftest.err conftest.$ac_objext \
81307    conftest$ac_exeext conftest.$ac_ext
81308fi
81309
81310fi
81311
81312  if test $glibcxx_cv_readlink = yes; then
81313
81314$as_echo "#define HAVE_READLINK 1" >>confdefs.h
81315
81316  fi
81317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
81318$as_echo "$glibcxx_cv_readlink" >&6; }
81319  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
81320$as_echo_n "checking for symlink... " >&6; }
81321  if ${glibcxx_cv_symlink+:} false; then :
81322  $as_echo_n "(cached) " >&6
81323else
81324      if test x$gcc_no_link = xyes; then
81325  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81326/* end confdefs.h.  */
81327#include <unistd.h>
81328int
81329main ()
81330{
81331symlink("", "");
81332  ;
81333  return 0;
81334}
81335_ACEOF
81336if ac_fn_cxx_try_compile "$LINENO"; then :
81337  glibcxx_cv_symlink=yes
81338else
81339  glibcxx_cv_symlink=no
81340fi
81341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81342else
81343  if test x$gcc_no_link = xyes; then
81344  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81345fi
81346cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81347/* end confdefs.h.  */
81348#include <unistd.h>
81349int
81350main ()
81351{
81352symlink("", "");
81353  ;
81354  return 0;
81355}
81356_ACEOF
81357if ac_fn_cxx_try_link "$LINENO"; then :
81358  glibcxx_cv_symlink=yes
81359else
81360  glibcxx_cv_symlink=no
81361fi
81362rm -f core conftest.err conftest.$ac_objext \
81363    conftest$ac_exeext conftest.$ac_ext
81364fi
81365
81366fi
81367
81368  if test $glibcxx_cv_symlink = yes; then
81369
81370$as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
81371
81372  fi
81373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
81374$as_echo "$glibcxx_cv_symlink" >&6; }
81375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
81376$as_echo_n "checking for truncate... " >&6; }
81377  if ${glibcxx_cv_truncate+:} false; then :
81378  $as_echo_n "(cached) " >&6
81379else
81380      if test x$gcc_no_link = xyes; then
81381  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81382/* end confdefs.h.  */
81383#include <unistd.h>
81384int
81385main ()
81386{
81387truncate("", 99);
81388  ;
81389  return 0;
81390}
81391_ACEOF
81392if ac_fn_cxx_try_compile "$LINENO"; then :
81393  glibcxx_cv_truncate=yes
81394else
81395  glibcxx_cv_truncate=no
81396fi
81397rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81398else
81399  if test x$gcc_no_link = xyes; then
81400  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81401fi
81402cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81403/* end confdefs.h.  */
81404#include <unistd.h>
81405int
81406main ()
81407{
81408truncate("", 99);
81409  ;
81410  return 0;
81411}
81412_ACEOF
81413if ac_fn_cxx_try_link "$LINENO"; then :
81414  glibcxx_cv_truncate=yes
81415else
81416  glibcxx_cv_truncate=no
81417fi
81418rm -f core conftest.err conftest.$ac_objext \
81419    conftest$ac_exeext conftest.$ac_ext
81420fi
81421
81422fi
81423
81424  if test $glibcxx_cv_truncate = yes; then
81425
81426$as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
81427
81428  fi
81429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
81430$as_echo "$glibcxx_cv_truncate" >&6; }
81431  CXXFLAGS="$ac_save_CXXFLAGS"
81432  ac_ext=c
81433ac_cpp='$CPP $CPPFLAGS'
81434ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81435ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81436ac_compiler_gnu=$ac_cv_c_compiler_gnu
81437
81438
81439
81440# For Networking TS.
81441for ac_header in fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h netdb.h arpa/inet.h netinet/in.h netinet/tcp.h
81442do :
81443  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
81444ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
81445if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
81446  cat >>confdefs.h <<_ACEOF
81447#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
81448_ACEOF
81449
81450fi
81451
81452done
81453
81454
81455# For Transactional Memory TS
81456
81457  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
81458$as_echo_n "checking how size_t is mangled... " >&6; }
81459if ${glibcxx_cv_size_t_mangling+:} false; then :
81460  $as_echo_n "(cached) " >&6
81461else
81462
81463    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81464/* end confdefs.h.  */
81465
81466int
81467main ()
81468{
81469extern __SIZE_TYPE__ x; extern unsigned long x;
81470  ;
81471  return 0;
81472}
81473_ACEOF
81474if ac_fn_c_try_compile "$LINENO"; then :
81475  glibcxx_cv_size_t_mangling=m
81476else
81477
81478      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81479/* end confdefs.h.  */
81480
81481int
81482main ()
81483{
81484extern __SIZE_TYPE__ x; extern unsigned int x;
81485  ;
81486  return 0;
81487}
81488_ACEOF
81489if ac_fn_c_try_compile "$LINENO"; then :
81490  glibcxx_cv_size_t_mangling=j
81491else
81492
81493        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81494/* end confdefs.h.  */
81495
81496int
81497main ()
81498{
81499extern __SIZE_TYPE__ x; extern unsigned long long x;
81500  ;
81501  return 0;
81502}
81503_ACEOF
81504if ac_fn_c_try_compile "$LINENO"; then :
81505  glibcxx_cv_size_t_mangling=y
81506else
81507
81508          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81509/* end confdefs.h.  */
81510
81511int
81512main ()
81513{
81514extern __SIZE_TYPE__ x; extern unsigned short x;
81515  ;
81516  return 0;
81517}
81518_ACEOF
81519if ac_fn_c_try_compile "$LINENO"; then :
81520  glibcxx_cv_size_t_mangling=t
81521else
81522
81523            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81524/* end confdefs.h.  */
81525
81526int
81527main ()
81528{
81529extern __SIZE_TYPE__ x; extern __int20 unsigned x;
81530  ;
81531  return 0;
81532}
81533_ACEOF
81534if ac_fn_c_try_compile "$LINENO"; then :
81535  glibcxx_cv_size_t_mangling=u6uint20
81536else
81537  glibcxx_cv_size_t_mangling=x
81538fi
81539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81540
81541fi
81542rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81543
81544fi
81545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81546
81547fi
81548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81549
81550fi
81551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81552
81553fi
81554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
81555$as_echo "$glibcxx_cv_size_t_mangling" >&6; }
81556  if test $glibcxx_cv_size_t_mangling = x; then
81557    as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
81558  fi
81559
81560cat >>confdefs.h <<_ACEOF
81561#define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
81562_ACEOF
81563
81564
81565
81566# Check which release added std::exception_ptr for the target
81567
81568  if test $enable_symvers != no; then
81569    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
81570$as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
81571    case ${target} in
81572      aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
81573      m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
81574        ac_exception_ptr_since_gcc46=yes
81575        ;;
81576      *)
81577        # If the value of this macro changes then we will need to hardcode
81578        # yes/no here for additional targets based on the original value.
81579        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81580/* end confdefs.h.  */
81581
81582int
81583main ()
81584{
81585
81586          #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
81587          # error atomic int not always lock free
81588          #endif
81589
81590  ;
81591  return 0;
81592}
81593_ACEOF
81594if ac_fn_c_try_compile "$LINENO"; then :
81595  ac_exception_ptr_since_gcc46=yes
81596else
81597  ac_exception_ptr_since_gcc46=no
81598fi
81599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81600        ;;
81601    esac
81602    if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
81603
81604$as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
81605
81606      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
81607$as_echo "4.6.0" >&6; }
81608    else
81609      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
81610$as_echo "7.1.0" >&6; }
81611    fi
81612  fi
81613
81614
81615# Define documentation rules conditionally.
81616
81617# See if makeinfo has been installed and is modern enough
81618# that we can use it.
81619
81620  # Extract the first word of "makeinfo", so it can be a program name with args.
81621set dummy makeinfo; ac_word=$2
81622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81623$as_echo_n "checking for $ac_word... " >&6; }
81624if ${ac_cv_prog_MAKEINFO+:} false; then :
81625  $as_echo_n "(cached) " >&6
81626else
81627  if test -n "$MAKEINFO"; then
81628  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
81629else
81630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81631for as_dir in $PATH
81632do
81633  IFS=$as_save_IFS
81634  test -z "$as_dir" && as_dir=.
81635    for ac_exec_ext in '' $ac_executable_extensions; do
81636  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81637    ac_cv_prog_MAKEINFO="makeinfo"
81638    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81639    break 2
81640  fi
81641done
81642  done
81643IFS=$as_save_IFS
81644
81645fi
81646fi
81647MAKEINFO=$ac_cv_prog_MAKEINFO
81648if test -n "$MAKEINFO"; then
81649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
81650$as_echo "$MAKEINFO" >&6; }
81651else
81652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81653$as_echo "no" >&6; }
81654fi
81655
81656
81657  if test -n "$MAKEINFO"; then
81658    # Found it, now check the version.
81659    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
81660$as_echo_n "checking for modern makeinfo... " >&6; }
81661if ${gcc_cv_prog_makeinfo_modern+:} false; then :
81662  $as_echo_n "(cached) " >&6
81663else
81664  ac_prog_version=`eval $MAKEINFO --version 2>&1 |
81665                                     sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
81666
81667                    case $ac_prog_version in
81668                      '')  gcc_cv_prog_makeinfo_modern=no;;
81669                      4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
81670                      *)   gcc_cv_prog_makeinfo_modern=no;;
81671                    esac
81672
81673fi
81674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
81675$as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
81676  else
81677    gcc_cv_prog_makeinfo_modern=no
81678  fi
81679  if test $gcc_cv_prog_makeinfo_modern = no; then
81680    MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
81681  fi
81682
81683 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
81684  BUILD_INFO_TRUE=
81685  BUILD_INFO_FALSE='#'
81686else
81687  BUILD_INFO_TRUE='#'
81688  BUILD_INFO_FALSE=
81689fi
81690
81691
81692# Check for doxygen
81693# Extract the first word of "doxygen", so it can be a program name with args.
81694set dummy doxygen; ac_word=$2
81695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81696$as_echo_n "checking for $ac_word... " >&6; }
81697if ${ac_cv_prog_DOXYGEN+:} false; then :
81698  $as_echo_n "(cached) " >&6
81699else
81700  if test -n "$DOXYGEN"; then
81701  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
81702else
81703as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81704for as_dir in $PATH
81705do
81706  IFS=$as_save_IFS
81707  test -z "$as_dir" && as_dir=.
81708    for ac_exec_ext in '' $ac_executable_extensions; do
81709  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81710    ac_cv_prog_DOXYGEN="yes"
81711    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81712    break 2
81713  fi
81714done
81715  done
81716IFS=$as_save_IFS
81717
81718  test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
81719fi
81720fi
81721DOXYGEN=$ac_cv_prog_DOXYGEN
81722if test -n "$DOXYGEN"; then
81723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
81724$as_echo "$DOXYGEN" >&6; }
81725else
81726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81727$as_echo "no" >&6; }
81728fi
81729
81730
81731# Extract the first word of "dot", so it can be a program name with args.
81732set dummy dot; ac_word=$2
81733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81734$as_echo_n "checking for $ac_word... " >&6; }
81735if ${ac_cv_prog_DOT+:} false; then :
81736  $as_echo_n "(cached) " >&6
81737else
81738  if test -n "$DOT"; then
81739  ac_cv_prog_DOT="$DOT" # Let the user override the test.
81740else
81741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81742for as_dir in $PATH
81743do
81744  IFS=$as_save_IFS
81745  test -z "$as_dir" && as_dir=.
81746    for ac_exec_ext in '' $ac_executable_extensions; do
81747  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81748    ac_cv_prog_DOT="yes"
81749    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81750    break 2
81751  fi
81752done
81753  done
81754IFS=$as_save_IFS
81755
81756  test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81757fi
81758fi
81759DOT=$ac_cv_prog_DOT
81760if test -n "$DOT"; then
81761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81762$as_echo "$DOT" >&6; }
81763else
81764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81765$as_echo "no" >&6; }
81766fi
81767
81768
81769
81770# Check for docbook
81771# Extract the first word of "xmlcatalog", so it can be a program name with args.
81772set dummy xmlcatalog; ac_word=$2
81773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81774$as_echo_n "checking for $ac_word... " >&6; }
81775if ${ac_cv_prog_XMLCATALOG+:} false; then :
81776  $as_echo_n "(cached) " >&6
81777else
81778  if test -n "$XMLCATALOG"; then
81779  ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
81780else
81781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81782for as_dir in $PATH
81783do
81784  IFS=$as_save_IFS
81785  test -z "$as_dir" && as_dir=.
81786    for ac_exec_ext in '' $ac_executable_extensions; do
81787  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81788    ac_cv_prog_XMLCATALOG="yes"
81789    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81790    break 2
81791  fi
81792done
81793  done
81794IFS=$as_save_IFS
81795
81796  test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
81797fi
81798fi
81799XMLCATALOG=$ac_cv_prog_XMLCATALOG
81800if test -n "$XMLCATALOG"; then
81801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
81802$as_echo "$XMLCATALOG" >&6; }
81803else
81804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81805$as_echo "no" >&6; }
81806fi
81807
81808
81809# Extract the first word of "xsltproc", so it can be a program name with args.
81810set dummy xsltproc; ac_word=$2
81811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81812$as_echo_n "checking for $ac_word... " >&6; }
81813if ${ac_cv_prog_XSLTPROC+:} false; then :
81814  $as_echo_n "(cached) " >&6
81815else
81816  if test -n "$XSLTPROC"; then
81817  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81818else
81819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81820for as_dir in $PATH
81821do
81822  IFS=$as_save_IFS
81823  test -z "$as_dir" && as_dir=.
81824    for ac_exec_ext in '' $ac_executable_extensions; do
81825  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81826    ac_cv_prog_XSLTPROC="yes"
81827    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81828    break 2
81829  fi
81830done
81831  done
81832IFS=$as_save_IFS
81833
81834  test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81835fi
81836fi
81837XSLTPROC=$ac_cv_prog_XSLTPROC
81838if test -n "$XSLTPROC"; then
81839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81840$as_echo "$XSLTPROC" >&6; }
81841else
81842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81843$as_echo "no" >&6; }
81844fi
81845
81846
81847# Extract the first word of "xmllint", so it can be a program name with args.
81848set dummy xmllint; ac_word=$2
81849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81850$as_echo_n "checking for $ac_word... " >&6; }
81851if ${ac_cv_prog_XMLLINT+:} false; then :
81852  $as_echo_n "(cached) " >&6
81853else
81854  if test -n "$XMLLINT"; then
81855  ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81856else
81857as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81858for as_dir in $PATH
81859do
81860  IFS=$as_save_IFS
81861  test -z "$as_dir" && as_dir=.
81862    for ac_exec_ext in '' $ac_executable_extensions; do
81863  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81864    ac_cv_prog_XMLLINT="yes"
81865    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81866    break 2
81867  fi
81868done
81869  done
81870IFS=$as_save_IFS
81871
81872  test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81873fi
81874fi
81875XMLLINT=$ac_cv_prog_XMLLINT
81876if test -n "$XMLLINT"; then
81877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81878$as_echo "$XMLLINT" >&6; }
81879else
81880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81881$as_echo "no" >&6; }
81882fi
81883
81884
81885
81886
81887glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
81888
81889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81890$as_echo_n "checking for local stylesheet directory... " >&6; }
81891glibcxx_local_stylesheets=no
81892if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
81893then
81894  XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
81895  glibcxx_local_stylesheets=yes
81896else
81897  for dir in \
81898    /usr/share/sgml/docbook/xsl-ns-stylesheets \
81899    /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
81900    /usr/share/xml/docbook/stylesheet/nwalsh5/current \
81901    /usr/share/xml/docbook/stylesheet/nwalsh/current
81902  do
81903    if test -d $dir; then
81904      glibcxx_local_stylesheets=yes
81905      XSL_STYLE_DIR=$dir
81906      break
81907    fi
81908  done
81909fi
81910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81911$as_echo "$glibcxx_local_stylesheets" >&6; }
81912
81913if test x"$glibcxx_local_stylesheets" = x"yes"; then
81914
81915  { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81916$as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81917
81918  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81919$as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81920  glibcxx_stylesheets=no
81921  if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
81922    if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
81923      glibcxx_stylesheets=yes
81924    fi
81925  fi
81926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81927$as_echo "$glibcxx_stylesheets" >&6; }
81928
81929else
81930  glibcxx_stylesheets=no
81931fi
81932
81933# Check for epub3 dependencies.
81934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81935$as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81936glibcxx_epub_stylesheets=no
81937if test x"$glibcxx_local_stylesheets" = x"yes"; then
81938   if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81939      glibcxx_epub_stylesheets=yes
81940   fi
81941fi
81942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81943$as_echo "$glibcxx_epub_stylesheets" >&6; }
81944 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81945  BUILD_EPUB_TRUE=
81946  BUILD_EPUB_FALSE='#'
81947else
81948  BUILD_EPUB_TRUE='#'
81949  BUILD_EPUB_FALSE=
81950fi
81951
81952
81953
81954
81955# Check for xml/html dependencies.
81956 if test $ac_cv_prog_DOXYGEN = "yes" &&
81957	       test $ac_cv_prog_DOT = "yes" &&
81958	       test $ac_cv_prog_XSLTPROC = "yes" &&
81959	       test $ac_cv_prog_XMLLINT = "yes" &&
81960	       test $glibcxx_stylesheets = "yes"; then
81961  BUILD_XML_TRUE=
81962  BUILD_XML_FALSE='#'
81963else
81964  BUILD_XML_TRUE='#'
81965  BUILD_XML_FALSE=
81966fi
81967
81968
81969 if test $ac_cv_prog_DOXYGEN = "yes" &&
81970	       test $ac_cv_prog_DOT = "yes" &&
81971	       test $ac_cv_prog_XSLTPROC = "yes" &&
81972	       test $ac_cv_prog_XMLLINT = "yes" &&
81973	       test $glibcxx_stylesheets = "yes"; then
81974  BUILD_HTML_TRUE=
81975  BUILD_HTML_FALSE='#'
81976else
81977  BUILD_HTML_TRUE='#'
81978  BUILD_HTML_FALSE=
81979fi
81980
81981
81982# Check for man dependencies.
81983 if test $ac_cv_prog_DOXYGEN = "yes" &&
81984	       test $ac_cv_prog_DOT = "yes"; then
81985  BUILD_MAN_TRUE=
81986  BUILD_MAN_FALSE='#'
81987else
81988  BUILD_MAN_TRUE='#'
81989  BUILD_MAN_FALSE=
81990fi
81991
81992
81993# Check for pdf dependencies.
81994# Extract the first word of "dblatex", so it can be a program name with args.
81995set dummy dblatex; ac_word=$2
81996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81997$as_echo_n "checking for $ac_word... " >&6; }
81998if ${ac_cv_prog_DBLATEX+:} false; then :
81999  $as_echo_n "(cached) " >&6
82000else
82001  if test -n "$DBLATEX"; then
82002  ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
82003else
82004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82005for as_dir in $PATH
82006do
82007  IFS=$as_save_IFS
82008  test -z "$as_dir" && as_dir=.
82009    for ac_exec_ext in '' $ac_executable_extensions; do
82010  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
82011    ac_cv_prog_DBLATEX="yes"
82012    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
82013    break 2
82014  fi
82015done
82016  done
82017IFS=$as_save_IFS
82018
82019  test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
82020fi
82021fi
82022DBLATEX=$ac_cv_prog_DBLATEX
82023if test -n "$DBLATEX"; then
82024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
82025$as_echo "$DBLATEX" >&6; }
82026else
82027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
82028$as_echo "no" >&6; }
82029fi
82030
82031
82032# Extract the first word of "pdflatex", so it can be a program name with args.
82033set dummy pdflatex; ac_word=$2
82034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
82035$as_echo_n "checking for $ac_word... " >&6; }
82036if ${ac_cv_prog_PDFLATEX+:} false; then :
82037  $as_echo_n "(cached) " >&6
82038else
82039  if test -n "$PDFLATEX"; then
82040  ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
82041else
82042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82043for as_dir in $PATH
82044do
82045  IFS=$as_save_IFS
82046  test -z "$as_dir" && as_dir=.
82047    for ac_exec_ext in '' $ac_executable_extensions; do
82048  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
82049    ac_cv_prog_PDFLATEX="yes"
82050    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
82051    break 2
82052  fi
82053done
82054  done
82055IFS=$as_save_IFS
82056
82057  test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
82058fi
82059fi
82060PDFLATEX=$ac_cv_prog_PDFLATEX
82061if test -n "$PDFLATEX"; then
82062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
82063$as_echo "$PDFLATEX" >&6; }
82064else
82065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
82066$as_echo "no" >&6; }
82067fi
82068
82069
82070 if test $ac_cv_prog_DBLATEX = "yes" &&
82071	       test $ac_cv_prog_PDFLATEX = "yes"; then
82072  BUILD_PDF_TRUE=
82073  BUILD_PDF_FALSE='#'
82074else
82075  BUILD_PDF_TRUE='#'
82076  BUILD_PDF_FALSE=
82077fi
82078
82079
82080case "$build" in
82081 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
82082 * ) glibcxx_include_dir_notparallel=no ;;
82083esac
82084 if test $glibcxx_include_dir_notparallel = "yes"; then
82085  INCLUDE_DIR_NOTPARALLEL_TRUE=
82086  INCLUDE_DIR_NOTPARALLEL_FALSE='#'
82087else
82088  INCLUDE_DIR_NOTPARALLEL_TRUE='#'
82089  INCLUDE_DIR_NOTPARALLEL_FALSE=
82090fi
82091
82092
82093# Propagate the target-specific source directories through the build chain.
82094ATOMICITY_SRCDIR=config/${atomicity_dir}
82095ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
82096ATOMIC_FLAGS=${atomic_flags}
82097CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
82098OS_INC_SRCDIR=config/${os_include_dir}
82099ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
82100ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
82101CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
82102CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
82103
82104
82105
82106
82107
82108
82109
82110
82111
82112
82113
82114# Add CET specific flags if Intel CET is enabled.
82115 # Check whether --enable-cet was given.
82116if test "${enable_cet+set}" = set; then :
82117  enableval=$enable_cet;
82118      case "$enableval" in
82119       yes|no|auto) ;;
82120       *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
82121                          esac
82122
82123else
82124  enable_cet=no
82125fi
82126
82127
82128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
82129$as_echo_n "checking for CET support... " >&6; }
82130
82131case "$host" in
82132  i[34567]86-*-linux* | x86_64-*-linux*)
82133    case "$enable_cet" in
82134      auto)
82135	# Check if target supports multi-byte NOPs
82136	# and if assembler supports CET insn.
82137	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82138/* end confdefs.h.  */
82139
82140int
82141main ()
82142{
82143
82144#if !defined(__SSE2__)
82145#error target does not support multi-byte NOPs
82146#else
82147asm ("setssbsy");
82148#endif
82149
82150  ;
82151  return 0;
82152}
82153_ACEOF
82154if ac_fn_c_try_compile "$LINENO"; then :
82155  enable_cet=yes
82156else
82157  enable_cet=no
82158fi
82159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82160	;;
82161      yes)
82162	# Check if assembler supports CET.
82163	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82164/* end confdefs.h.  */
82165
82166int
82167main ()
82168{
82169asm ("setssbsy");
82170  ;
82171  return 0;
82172}
82173_ACEOF
82174if ac_fn_c_try_compile "$LINENO"; then :
82175
82176else
82177  as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
82178fi
82179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82180	;;
82181    esac
82182    ;;
82183  *)
82184    enable_cet=no
82185    ;;
82186esac
82187if test x$enable_cet = xyes; then
82188  CET_FLAGS="-fcf-protection -mshstk"
82189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
82190$as_echo "yes" >&6; }
82191else
82192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
82193$as_echo "no" >&6; }
82194fi
82195
82196EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
82197EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
82198
82199
82200
82201# Determine cross-compile flags and AM_CONDITIONALs.
82202#AC_SUBST(GLIBCXX_IS_NATIVE)
82203#AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
82204    if test $is_hosted = yes; then
82205  GLIBCXX_HOSTED_TRUE=
82206  GLIBCXX_HOSTED_FALSE='#'
82207else
82208  GLIBCXX_HOSTED_TRUE='#'
82209  GLIBCXX_HOSTED_FALSE=
82210fi
82211
82212
82213    if test $enable_libstdcxx_pch = yes; then
82214  GLIBCXX_BUILD_PCH_TRUE=
82215  GLIBCXX_BUILD_PCH_FALSE='#'
82216else
82217  GLIBCXX_BUILD_PCH_TRUE='#'
82218  GLIBCXX_BUILD_PCH_FALSE=
82219fi
82220
82221
82222    if test $enable_float128 = yes; then
82223  ENABLE_FLOAT128_TRUE=
82224  ENABLE_FLOAT128_FALSE='#'
82225else
82226  ENABLE_FLOAT128_TRUE='#'
82227  ENABLE_FLOAT128_FALSE=
82228fi
82229
82230
82231    if test $enable_libstdcxx_allocator_flag = new; then
82232  ENABLE_ALLOCATOR_NEW_TRUE=
82233  ENABLE_ALLOCATOR_NEW_FALSE='#'
82234else
82235  ENABLE_ALLOCATOR_NEW_TRUE='#'
82236  ENABLE_ALLOCATOR_NEW_FALSE=
82237fi
82238
82239
82240    if test $enable_cheaders = c; then
82241  GLIBCXX_C_HEADERS_C_TRUE=
82242  GLIBCXX_C_HEADERS_C_FALSE='#'
82243else
82244  GLIBCXX_C_HEADERS_C_TRUE='#'
82245  GLIBCXX_C_HEADERS_C_FALSE=
82246fi
82247
82248
82249    if test $enable_cheaders = c_std; then
82250  GLIBCXX_C_HEADERS_C_STD_TRUE=
82251  GLIBCXX_C_HEADERS_C_STD_FALSE='#'
82252else
82253  GLIBCXX_C_HEADERS_C_STD_TRUE='#'
82254  GLIBCXX_C_HEADERS_C_STD_FALSE=
82255fi
82256
82257
82258    if test $enable_cheaders = c_global; then
82259  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
82260  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
82261else
82262  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
82263  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
82264fi
82265
82266
82267    if test $c_compatibility = yes; then
82268  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
82269  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
82270else
82271  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
82272  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
82273fi
82274
82275
82276    if test $enable_libstdcxx_debug = yes; then
82277  GLIBCXX_BUILD_DEBUG_TRUE=
82278  GLIBCXX_BUILD_DEBUG_FALSE='#'
82279else
82280  GLIBCXX_BUILD_DEBUG_TRUE='#'
82281  GLIBCXX_BUILD_DEBUG_FALSE=
82282fi
82283
82284
82285    if test $enable_extern_template = yes; then
82286  ENABLE_EXTERN_TEMPLATE_TRUE=
82287  ENABLE_EXTERN_TEMPLATE_FALSE='#'
82288else
82289  ENABLE_EXTERN_TEMPLATE_TRUE='#'
82290  ENABLE_EXTERN_TEMPLATE_FALSE=
82291fi
82292
82293
82294    if test $python_mod_dir != no; then
82295  ENABLE_PYTHONDIR_TRUE=
82296  ENABLE_PYTHONDIR_FALSE='#'
82297else
82298  ENABLE_PYTHONDIR_TRUE='#'
82299  ENABLE_PYTHONDIR_FALSE=
82300fi
82301
82302
82303    if test $enable_werror = yes; then
82304  ENABLE_WERROR_TRUE=
82305  ENABLE_WERROR_FALSE='#'
82306else
82307  ENABLE_WERROR_TRUE='#'
82308  ENABLE_WERROR_FALSE=
82309fi
82310
82311
82312    if test $enable_vtable_verify = yes; then
82313  ENABLE_VTABLE_VERIFY_TRUE=
82314  ENABLE_VTABLE_VERIFY_FALSE='#'
82315else
82316  ENABLE_VTABLE_VERIFY_TRUE='#'
82317  ENABLE_VTABLE_VERIFY_FALSE=
82318fi
82319
82320
82321    if test $enable_symvers != no; then
82322  ENABLE_SYMVERS_TRUE=
82323  ENABLE_SYMVERS_FALSE='#'
82324else
82325  ENABLE_SYMVERS_TRUE='#'
82326  ENABLE_SYMVERS_FALSE=
82327fi
82328
82329
82330    if test $enable_symvers = gnu; then
82331  ENABLE_SYMVERS_GNU_TRUE=
82332  ENABLE_SYMVERS_GNU_FALSE='#'
82333else
82334  ENABLE_SYMVERS_GNU_TRUE='#'
82335  ENABLE_SYMVERS_GNU_FALSE=
82336fi
82337
82338
82339    if test $enable_symvers = gnu-versioned-namespace; then
82340  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
82341  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
82342else
82343  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
82344  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
82345fi
82346
82347
82348    if test $enable_symvers = darwin; then
82349  ENABLE_SYMVERS_DARWIN_TRUE=
82350  ENABLE_SYMVERS_DARWIN_FALSE='#'
82351else
82352  ENABLE_SYMVERS_DARWIN_TRUE='#'
82353  ENABLE_SYMVERS_DARWIN_FALSE=
82354fi
82355
82356
82357    if test $enable_symvers = sun; then
82358  ENABLE_SYMVERS_SUN_TRUE=
82359  ENABLE_SYMVERS_SUN_FALSE='#'
82360else
82361  ENABLE_SYMVERS_SUN_TRUE='#'
82362  ENABLE_SYMVERS_SUN_FALSE=
82363fi
82364
82365
82366    if test $enable_libstdcxx_visibility = yes; then
82367  ENABLE_VISIBILITY_TRUE=
82368  ENABLE_VISIBILITY_FALSE='#'
82369else
82370  ENABLE_VISIBILITY_TRUE='#'
82371  ENABLE_VISIBILITY_FALSE=
82372fi
82373
82374
82375    if test $enable_libstdcxx_dual_abi = yes; then
82376  ENABLE_DUAL_ABI_TRUE=
82377  ENABLE_DUAL_ABI_FALSE='#'
82378else
82379  ENABLE_DUAL_ABI_TRUE='#'
82380  ENABLE_DUAL_ABI_FALSE=
82381fi
82382
82383
82384    if test $glibcxx_cxx11_abi = 1; then
82385  ENABLE_CXX11_ABI_TRUE=
82386  ENABLE_CXX11_ABI_FALSE='#'
82387else
82388  ENABLE_CXX11_ABI_TRUE='#'
82389  ENABLE_CXX11_ABI_FALSE=
82390fi
82391
82392
82393    if test $ac_ldbl_compat = yes; then
82394  GLIBCXX_LDBL_COMPAT_TRUE=
82395  GLIBCXX_LDBL_COMPAT_FALSE='#'
82396else
82397  GLIBCXX_LDBL_COMPAT_TRUE='#'
82398  GLIBCXX_LDBL_COMPAT_FALSE=
82399fi
82400
82401
82402    if test $enable_libstdcxx_filesystem_ts = yes; then
82403  ENABLE_FILESYSTEM_TS_TRUE=
82404  ENABLE_FILESYSTEM_TS_FALSE='#'
82405else
82406  ENABLE_FILESYSTEM_TS_TRUE='#'
82407  ENABLE_FILESYSTEM_TS_FALSE=
82408fi
82409
82410
82411
82412
82413cat >confcache <<\_ACEOF
82414# This file is a shell script that caches the results of configure
82415# tests run on this system so they can be shared between configure
82416# scripts and configure runs, see configure's option --config-cache.
82417# It is not useful on other systems.  If it contains results you don't
82418# want to keep, you may remove or edit it.
82419#
82420# config.status only pays attention to the cache file if you give it
82421# the --recheck option to rerun configure.
82422#
82423# `ac_cv_env_foo' variables (set or unset) will be overridden when
82424# loading this file, other *unset* `ac_cv_foo' will be assigned the
82425# following values.
82426
82427_ACEOF
82428
82429# The following way of writing the cache mishandles newlines in values,
82430# but we know of no workaround that is simple, portable, and efficient.
82431# So, we kill variables containing newlines.
82432# Ultrix sh set writes to stderr and can't be redirected directly,
82433# and sets the high bit in the cache file unless we assign to the vars.
82434(
82435  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82436    eval ac_val=\$$ac_var
82437    case $ac_val in #(
82438    *${as_nl}*)
82439      case $ac_var in #(
82440      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82441$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82442      esac
82443      case $ac_var in #(
82444      _ | IFS | as_nl) ;; #(
82445      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82446      *) { eval $ac_var=; unset $ac_var;} ;;
82447      esac ;;
82448    esac
82449  done
82450
82451  (set) 2>&1 |
82452    case $as_nl`(ac_space=' '; set) 2>&1` in #(
82453    *${as_nl}ac_space=\ *)
82454      # `set' does not quote correctly, so add quotes: double-quote
82455      # substitution turns \\\\ into \\, and sed turns \\ into \.
82456      sed -n \
82457	"s/'/'\\\\''/g;
82458	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82459      ;; #(
82460    *)
82461      # `set' quotes correctly as required by POSIX, so do not add quotes.
82462      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82463      ;;
82464    esac |
82465    sort
82466) |
82467  sed '
82468     /^ac_cv_env_/b end
82469     t clear
82470     :clear
82471     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82472     t end
82473     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82474     :end' >>confcache
82475if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82476  if test -w "$cache_file"; then
82477    if test "x$cache_file" != "x/dev/null"; then
82478      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82479$as_echo "$as_me: updating cache $cache_file" >&6;}
82480      if test ! -f "$cache_file" || test -h "$cache_file"; then
82481	cat confcache >"$cache_file"
82482      else
82483        case $cache_file in #(
82484        */* | ?:*)
82485	  mv -f confcache "$cache_file"$$ &&
82486	  mv -f "$cache_file"$$ "$cache_file" ;; #(
82487        *)
82488	  mv -f confcache "$cache_file" ;;
82489	esac
82490      fi
82491    fi
82492  else
82493    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82494$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82495  fi
82496fi
82497rm -f confcache
82498
82499if test ${multilib} = yes; then
82500  multilib_arg="--enable-multilib"
82501else
82502  multilib_arg=
82503fi
82504
82505# Export all the install information.
82506
82507  glibcxx_toolexecdir=no
82508  glibcxx_toolexeclibdir=no
82509  glibcxx_prefixdir=$prefix
82510
82511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
82512$as_echo_n "checking for gxx-include-dir... " >&6; }
82513
82514# Check whether --with-gxx-include-dir was given.
82515if test "${with_gxx_include_dir+set}" = set; then :
82516  withval=$with_gxx_include_dir; case "$withval" in
82517      yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
82518      no)  gxx_include_dir=no ;;
82519      *)   gxx_include_dir=$withval ;;
82520     esac
82521else
82522  gxx_include_dir=no
82523fi
82524
82525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82526$as_echo "$gxx_include_dir" >&6; }
82527
82528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
82529$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
82530  # Check whether --enable-version-specific-runtime-libs was given.
82531if test "${enable_version_specific_runtime_libs+set}" = set; then :
82532  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
82533      yes) version_specific_libs=yes ;;
82534      no)  version_specific_libs=no ;;
82535      *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
82536     esac
82537else
82538  version_specific_libs=no
82539fi
82540
82541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
82542$as_echo "$version_specific_libs" >&6; }
82543
82544  # Default case for install directory for include files.
82545  if test $version_specific_libs = no && test $gxx_include_dir = no; then
82546    gxx_include_dir='include/c++/${gcc_version}'
82547    if test -n "$with_cross_host" &&
82548       test x"$with_cross_host" != x"no"; then
82549      gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
82550    else
82551      gxx_include_dir='${prefix}/'"$gxx_include_dir"
82552    fi
82553  fi
82554
82555  # Version-specific runtime libs processing.
82556  if test $version_specific_libs = yes; then
82557    # Need the gcc compiler version to know where to install libraries
82558    # and header files if --enable-version-specific-runtime-libs option
82559    # is selected.  FIXME: these variables are misnamed, there are
82560    # no executables installed in _toolexecdir or _toolexeclibdir.
82561    if test x"$gxx_include_dir" = x"no"; then
82562      gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
82563    fi
82564    glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82565    glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
82566  fi
82567
82568  # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
82569  # Install a library built with a cross compiler in tooldir, not libdir.
82570  if test x"$glibcxx_toolexecdir" = x"no"; then
82571    if test -n "$with_cross_host" &&
82572       test x"$with_cross_host" != x"no"; then
82573      glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
82574      glibcxx_toolexeclibdir='${toolexecdir}/lib'
82575    else
82576      glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82577      glibcxx_toolexeclibdir='${libdir}'
82578    fi
82579    multi_os_directory=`$CXX -print-multi-os-directory`
82580    case $multi_os_directory in
82581      .) ;; # Avoid trailing /.
82582      *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
82583    esac
82584  fi
82585
82586  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
82587$as_echo_n "checking for install location... " >&6; }
82588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82589$as_echo "$gxx_include_dir" >&6; }
82590
82591
82592
82593
82594
82595
82596
82597# Export all the include and flag information to Makefiles.
82598
82599  # Used for every C++ compile we perform.
82600  GLIBCXX_INCLUDES="\
82601-I$glibcxx_builddir/include/$host_alias \
82602-I$glibcxx_builddir/include \
82603-I$glibcxx_srcdir/libsupc++"
82604
82605  # For Canadian crosses, pick this up too.
82606  if test $CANADIAN = yes; then
82607    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
82608  fi
82609
82610  # Stuff in the actual top level.  Currently only used by libsupc++ to
82611  # get unwind* headers from the libgcc dir.
82612  #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
82613  TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
82614
82615  # Now, export this to all the little Makefiles....
82616
82617
82618
82619
82620  # Optimization flags that are probably a good idea for thrill-seekers. Just
82621  # uncomment the lines below and make, everything else is ready to go...
82622  # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
82623  # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
82624
82625
82626  WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
82627
82628
82629
82630# Determine what GCC version number to use in filesystem paths.
82631
82632  get_gcc_base_ver="cat"
82633
82634# Check whether --with-gcc-major-version-only was given.
82635if test "${with_gcc_major_version_only+set}" = set; then :
82636  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
82637        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
82638      fi
82639
82640fi
82641
82642
82643
82644
82645ac_config_files="$ac_config_files Makefile"
82646
82647ac_config_files="$ac_config_files scripts/testsuite_flags"
82648
82649ac_config_files="$ac_config_files scripts/extract_symvers"
82650
82651ac_config_files="$ac_config_files doc/xsl/customization.xsl"
82652
82653
82654# Multilibs need MULTISUBDIR defined correctly in certain makefiles so
82655# that multilib installs will end up installed in the correct place.
82656# The testsuite needs it for multilib-aware ABI baseline files.
82657# To work around this not being passed down from config-ml.in ->
82658# srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
82659# append it here.  Only modify Makefiles that have just been created.
82660#
82661# Also, get rid of this simulated-VPATH thing that automake does.
82662ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
82663
82664
82665ac_config_commands="$ac_config_commands generate-headers"
82666
82667
82668cat >confcache <<\_ACEOF
82669# This file is a shell script that caches the results of configure
82670# tests run on this system so they can be shared between configure
82671# scripts and configure runs, see configure's option --config-cache.
82672# It is not useful on other systems.  If it contains results you don't
82673# want to keep, you may remove or edit it.
82674#
82675# config.status only pays attention to the cache file if you give it
82676# the --recheck option to rerun configure.
82677#
82678# `ac_cv_env_foo' variables (set or unset) will be overridden when
82679# loading this file, other *unset* `ac_cv_foo' will be assigned the
82680# following values.
82681
82682_ACEOF
82683
82684# The following way of writing the cache mishandles newlines in values,
82685# but we know of no workaround that is simple, portable, and efficient.
82686# So, we kill variables containing newlines.
82687# Ultrix sh set writes to stderr and can't be redirected directly,
82688# and sets the high bit in the cache file unless we assign to the vars.
82689(
82690  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82691    eval ac_val=\$$ac_var
82692    case $ac_val in #(
82693    *${as_nl}*)
82694      case $ac_var in #(
82695      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82696$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82697      esac
82698      case $ac_var in #(
82699      _ | IFS | as_nl) ;; #(
82700      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82701      *) { eval $ac_var=; unset $ac_var;} ;;
82702      esac ;;
82703    esac
82704  done
82705
82706  (set) 2>&1 |
82707    case $as_nl`(ac_space=' '; set) 2>&1` in #(
82708    *${as_nl}ac_space=\ *)
82709      # `set' does not quote correctly, so add quotes: double-quote
82710      # substitution turns \\\\ into \\, and sed turns \\ into \.
82711      sed -n \
82712	"s/'/'\\\\''/g;
82713	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82714      ;; #(
82715    *)
82716      # `set' quotes correctly as required by POSIX, so do not add quotes.
82717      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82718      ;;
82719    esac |
82720    sort
82721) |
82722  sed '
82723     /^ac_cv_env_/b end
82724     t clear
82725     :clear
82726     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82727     t end
82728     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82729     :end' >>confcache
82730if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82731  if test -w "$cache_file"; then
82732    if test "x$cache_file" != "x/dev/null"; then
82733      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82734$as_echo "$as_me: updating cache $cache_file" >&6;}
82735      if test ! -f "$cache_file" || test -h "$cache_file"; then
82736	cat confcache >"$cache_file"
82737      else
82738        case $cache_file in #(
82739        */* | ?:*)
82740	  mv -f confcache "$cache_file"$$ &&
82741	  mv -f "$cache_file"$$ "$cache_file" ;; #(
82742        *)
82743	  mv -f confcache "$cache_file" ;;
82744	esac
82745      fi
82746    fi
82747  else
82748    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82749$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82750  fi
82751fi
82752rm -f confcache
82753
82754test "x$prefix" = xNONE && prefix=$ac_default_prefix
82755# Let make expand exec_prefix.
82756test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
82757
82758DEFS=-DHAVE_CONFIG_H
82759
82760ac_libobjs=
82761ac_ltlibobjs=
82762U=
82763for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
82764  # 1. Remove the extension, and $U if already installed.
82765  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
82766  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
82767  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
82768  #    will be set to the directory where LIBOBJS objects are built.
82769  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
82770  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
82771done
82772LIBOBJS=$ac_libobjs
82773
82774LTLIBOBJS=$ac_ltlibobjs
82775
82776
82777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
82778$as_echo_n "checking that generated files are newer than configure... " >&6; }
82779   if test -n "$am_sleep_pid"; then
82780     # Hide warnings about reused PIDs.
82781     wait $am_sleep_pid 2>/dev/null
82782   fi
82783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
82784$as_echo "done" >&6; }
82785 if test -n "$EXEEXT"; then
82786  am__EXEEXT_TRUE=
82787  am__EXEEXT_FALSE='#'
82788else
82789  am__EXEEXT_TRUE='#'
82790  am__EXEEXT_FALSE=
82791fi
82792
82793if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
82794  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
82795Usually this means the macro was only invoked conditionally." "$LINENO" 5
82796fi
82797if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
82798  as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
82799Usually this means the macro was only invoked conditionally." "$LINENO" 5
82800fi
82801if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
82802  as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
82803Usually this means the macro was only invoked conditionally." "$LINENO" 5
82804fi
82805if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
82806  as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
82807Usually this means the macro was only invoked conditionally." "$LINENO" 5
82808fi
82809if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
82810  as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
82811Usually this means the macro was only invoked conditionally." "$LINENO" 5
82812fi
82813if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
82814  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82815Usually this means the macro was only invoked conditionally." "$LINENO" 5
82816fi
82817if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82818  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82819Usually this means the macro was only invoked conditionally." "$LINENO" 5
82820fi
82821if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82822  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82823Usually this means the macro was only invoked conditionally." "$LINENO" 5
82824fi
82825if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82826  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82827Usually this means the macro was only invoked conditionally." "$LINENO" 5
82828fi
82829if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82830  as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82831Usually this means the macro was only invoked conditionally." "$LINENO" 5
82832fi
82833if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82834  as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82835Usually this means the macro was only invoked conditionally." "$LINENO" 5
82836fi
82837if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82838  as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
82839Usually this means the macro was only invoked conditionally." "$LINENO" 5
82840fi
82841if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82842  as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
82843Usually this means the macro was only invoked conditionally." "$LINENO" 5
82844fi
82845if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82846  as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
82847Usually this means the macro was only invoked conditionally." "$LINENO" 5
82848fi
82849if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82850  as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82851Usually this means the macro was only invoked conditionally." "$LINENO" 5
82852fi
82853if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82854  as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
82855Usually this means the macro was only invoked conditionally." "$LINENO" 5
82856fi
82857if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82858  as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82859Usually this means the macro was only invoked conditionally." "$LINENO" 5
82860fi
82861if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82862  as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82863Usually this means the macro was only invoked conditionally." "$LINENO" 5
82864fi
82865if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82866  as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82867Usually this means the macro was only invoked conditionally." "$LINENO" 5
82868fi
82869if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82870  as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82871Usually this means the macro was only invoked conditionally." "$LINENO" 5
82872fi
82873if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82874  as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
82875Usually this means the macro was only invoked conditionally." "$LINENO" 5
82876fi
82877if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82878  as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
82879Usually this means the macro was only invoked conditionally." "$LINENO" 5
82880fi
82881if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82882  as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
82883Usually this means the macro was only invoked conditionally." "$LINENO" 5
82884fi
82885if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82886  as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82887Usually this means the macro was only invoked conditionally." "$LINENO" 5
82888fi
82889if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82890  as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82891Usually this means the macro was only invoked conditionally." "$LINENO" 5
82892fi
82893if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82894  as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
82895Usually this means the macro was only invoked conditionally." "$LINENO" 5
82896fi
82897if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82898  as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
82899Usually this means the macro was only invoked conditionally." "$LINENO" 5
82900fi
82901if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82902  as_fn_error $? "conditional \"BUILD_XML\" was never defined.
82903Usually this means the macro was only invoked conditionally." "$LINENO" 5
82904fi
82905if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82906  as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
82907Usually this means the macro was only invoked conditionally." "$LINENO" 5
82908fi
82909if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82910  as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
82911Usually this means the macro was only invoked conditionally." "$LINENO" 5
82912fi
82913if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82914  as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
82915Usually this means the macro was only invoked conditionally." "$LINENO" 5
82916fi
82917if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82918  as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82919Usually this means the macro was only invoked conditionally." "$LINENO" 5
82920fi
82921
82922: "${CONFIG_STATUS=./config.status}"
82923ac_write_fail=0
82924ac_clean_files_save=$ac_clean_files
82925ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82926{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82927$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82928as_write_fail=0
82929cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82930#! $SHELL
82931# Generated by $as_me.
82932# Run this file to recreate the current configuration.
82933# Compiler output produced by configure, useful for debugging
82934# configure, is in config.log if it exists.
82935
82936debug=false
82937ac_cs_recheck=false
82938ac_cs_silent=false
82939
82940SHELL=\${CONFIG_SHELL-$SHELL}
82941export SHELL
82942_ASEOF
82943cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82944## -------------------- ##
82945## M4sh Initialization. ##
82946## -------------------- ##
82947
82948# Be more Bourne compatible
82949DUALCASE=1; export DUALCASE # for MKS sh
82950if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82951  emulate sh
82952  NULLCMD=:
82953  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82954  # is contrary to our usage.  Disable this feature.
82955  alias -g '${1+"$@"}'='"$@"'
82956  setopt NO_GLOB_SUBST
82957else
82958  case `(set -o) 2>/dev/null` in #(
82959  *posix*) :
82960    set -o posix ;; #(
82961  *) :
82962     ;;
82963esac
82964fi
82965
82966
82967as_nl='
82968'
82969export as_nl
82970# Printing a long string crashes Solaris 7 /usr/bin/printf.
82971as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82972as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82973as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82974# Prefer a ksh shell builtin over an external printf program on Solaris,
82975# but without wasting forks for bash or zsh.
82976if test -z "$BASH_VERSION$ZSH_VERSION" \
82977    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82978  as_echo='print -r --'
82979  as_echo_n='print -rn --'
82980elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82981  as_echo='printf %s\n'
82982  as_echo_n='printf %s'
82983else
82984  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82985    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82986    as_echo_n='/usr/ucb/echo -n'
82987  else
82988    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82989    as_echo_n_body='eval
82990      arg=$1;
82991      case $arg in #(
82992      *"$as_nl"*)
82993	expr "X$arg" : "X\\(.*\\)$as_nl";
82994	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82995      esac;
82996      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82997    '
82998    export as_echo_n_body
82999    as_echo_n='sh -c $as_echo_n_body as_echo'
83000  fi
83001  export as_echo_body
83002  as_echo='sh -c $as_echo_body as_echo'
83003fi
83004
83005# The user is always right.
83006if test "${PATH_SEPARATOR+set}" != set; then
83007  PATH_SEPARATOR=:
83008  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
83009    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83010      PATH_SEPARATOR=';'
83011  }
83012fi
83013
83014
83015# IFS
83016# We need space, tab and new line, in precisely that order.  Quoting is
83017# there to prevent editors from complaining about space-tab.
83018# (If _AS_PATH_WALK were called with IFS unset, it would disable word
83019# splitting by setting IFS to empty value.)
83020IFS=" ""	$as_nl"
83021
83022# Find who we are.  Look in the path if we contain no directory separator.
83023as_myself=
83024case $0 in #((
83025  *[\\/]* ) as_myself=$0 ;;
83026  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
83027for as_dir in $PATH
83028do
83029  IFS=$as_save_IFS
83030  test -z "$as_dir" && as_dir=.
83031    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
83032  done
83033IFS=$as_save_IFS
83034
83035     ;;
83036esac
83037# We did not find ourselves, most probably we were run as `sh COMMAND'
83038# in which case we are not to be found in the path.
83039if test "x$as_myself" = x; then
83040  as_myself=$0
83041fi
83042if test ! -f "$as_myself"; then
83043  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
83044  exit 1
83045fi
83046
83047# Unset variables that we do not need and which cause bugs (e.g. in
83048# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
83049# suppresses any "Segmentation fault" message there.  '((' could
83050# trigger a bug in pdksh 5.2.14.
83051for as_var in BASH_ENV ENV MAIL MAILPATH
83052do eval test x\${$as_var+set} = xset \
83053  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
83054done
83055PS1='$ '
83056PS2='> '
83057PS4='+ '
83058
83059# NLS nuisances.
83060LC_ALL=C
83061export LC_ALL
83062LANGUAGE=C
83063export LANGUAGE
83064
83065# CDPATH.
83066(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
83067
83068
83069# as_fn_error STATUS ERROR [LINENO LOG_FD]
83070# ----------------------------------------
83071# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
83072# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
83073# script with STATUS, using 1 if that was 0.
83074as_fn_error ()
83075{
83076  as_status=$1; test $as_status -eq 0 && as_status=1
83077  if test "$4"; then
83078    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
83079    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
83080  fi
83081  $as_echo "$as_me: error: $2" >&2
83082  as_fn_exit $as_status
83083} # as_fn_error
83084
83085
83086# as_fn_set_status STATUS
83087# -----------------------
83088# Set $? to STATUS, without forking.
83089as_fn_set_status ()
83090{
83091  return $1
83092} # as_fn_set_status
83093
83094# as_fn_exit STATUS
83095# -----------------
83096# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
83097as_fn_exit ()
83098{
83099  set +e
83100  as_fn_set_status $1
83101  exit $1
83102} # as_fn_exit
83103
83104# as_fn_unset VAR
83105# ---------------
83106# Portably unset VAR.
83107as_fn_unset ()
83108{
83109  { eval $1=; unset $1;}
83110}
83111as_unset=as_fn_unset
83112# as_fn_append VAR VALUE
83113# ----------------------
83114# Append the text in VALUE to the end of the definition contained in VAR. Take
83115# advantage of any shell optimizations that allow amortized linear growth over
83116# repeated appends, instead of the typical quadratic growth present in naive
83117# implementations.
83118if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
83119  eval 'as_fn_append ()
83120  {
83121    eval $1+=\$2
83122  }'
83123else
83124  as_fn_append ()
83125  {
83126    eval $1=\$$1\$2
83127  }
83128fi # as_fn_append
83129
83130# as_fn_arith ARG...
83131# ------------------
83132# Perform arithmetic evaluation on the ARGs, and store the result in the
83133# global $as_val. Take advantage of shells that can avoid forks. The arguments
83134# must be portable across $(()) and expr.
83135if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
83136  eval 'as_fn_arith ()
83137  {
83138    as_val=$(( $* ))
83139  }'
83140else
83141  as_fn_arith ()
83142  {
83143    as_val=`expr "$@" || test $? -eq 1`
83144  }
83145fi # as_fn_arith
83146
83147
83148if expr a : '\(a\)' >/dev/null 2>&1 &&
83149   test "X`expr 00001 : '.*\(...\)'`" = X001; then
83150  as_expr=expr
83151else
83152  as_expr=false
83153fi
83154
83155if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
83156  as_basename=basename
83157else
83158  as_basename=false
83159fi
83160
83161if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
83162  as_dirname=dirname
83163else
83164  as_dirname=false
83165fi
83166
83167as_me=`$as_basename -- "$0" ||
83168$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
83169	 X"$0" : 'X\(//\)$' \| \
83170	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
83171$as_echo X/"$0" |
83172    sed '/^.*\/\([^/][^/]*\)\/*$/{
83173	    s//\1/
83174	    q
83175	  }
83176	  /^X\/\(\/\/\)$/{
83177	    s//\1/
83178	    q
83179	  }
83180	  /^X\/\(\/\).*/{
83181	    s//\1/
83182	    q
83183	  }
83184	  s/.*/./; q'`
83185
83186# Avoid depending upon Character Ranges.
83187as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83188as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83189as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83190as_cr_digits='0123456789'
83191as_cr_alnum=$as_cr_Letters$as_cr_digits
83192
83193ECHO_C= ECHO_N= ECHO_T=
83194case `echo -n x` in #(((((
83195-n*)
83196  case `echo 'xy\c'` in
83197  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
83198  xy)  ECHO_C='\c';;
83199  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
83200       ECHO_T='	';;
83201  esac;;
83202*)
83203  ECHO_N='-n';;
83204esac
83205
83206rm -f conf$$ conf$$.exe conf$$.file
83207if test -d conf$$.dir; then
83208  rm -f conf$$.dir/conf$$.file
83209else
83210  rm -f conf$$.dir
83211  mkdir conf$$.dir 2>/dev/null
83212fi
83213if (echo >conf$$.file) 2>/dev/null; then
83214  if ln -s conf$$.file conf$$ 2>/dev/null; then
83215    as_ln_s='ln -s'
83216    # ... but there are two gotchas:
83217    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
83218    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
83219    # In both cases, we have to default to `cp -pR'.
83220    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
83221      as_ln_s='cp -pR'
83222  elif ln conf$$.file conf$$ 2>/dev/null; then
83223    as_ln_s=ln
83224  else
83225    as_ln_s='cp -pR'
83226  fi
83227else
83228  as_ln_s='cp -pR'
83229fi
83230rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
83231rmdir conf$$.dir 2>/dev/null
83232
83233
83234# as_fn_mkdir_p
83235# -------------
83236# Create "$as_dir" as a directory, including parents if necessary.
83237as_fn_mkdir_p ()
83238{
83239
83240  case $as_dir in #(
83241  -*) as_dir=./$as_dir;;
83242  esac
83243  test -d "$as_dir" || eval $as_mkdir_p || {
83244    as_dirs=
83245    while :; do
83246      case $as_dir in #(
83247      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
83248      *) as_qdir=$as_dir;;
83249      esac
83250      as_dirs="'$as_qdir' $as_dirs"
83251      as_dir=`$as_dirname -- "$as_dir" ||
83252$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83253	 X"$as_dir" : 'X\(//\)[^/]' \| \
83254	 X"$as_dir" : 'X\(//\)$' \| \
83255	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
83256$as_echo X"$as_dir" |
83257    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83258	    s//\1/
83259	    q
83260	  }
83261	  /^X\(\/\/\)[^/].*/{
83262	    s//\1/
83263	    q
83264	  }
83265	  /^X\(\/\/\)$/{
83266	    s//\1/
83267	    q
83268	  }
83269	  /^X\(\/\).*/{
83270	    s//\1/
83271	    q
83272	  }
83273	  s/.*/./; q'`
83274      test -d "$as_dir" && break
83275    done
83276    test -z "$as_dirs" || eval "mkdir $as_dirs"
83277  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
83278
83279
83280} # as_fn_mkdir_p
83281if mkdir -p . 2>/dev/null; then
83282  as_mkdir_p='mkdir -p "$as_dir"'
83283else
83284  test -d ./-p && rmdir ./-p
83285  as_mkdir_p=false
83286fi
83287
83288
83289# as_fn_executable_p FILE
83290# -----------------------
83291# Test if FILE is an executable regular file.
83292as_fn_executable_p ()
83293{
83294  test -f "$1" && test -x "$1"
83295} # as_fn_executable_p
83296as_test_x='test -x'
83297as_executable_p=as_fn_executable_p
83298
83299# Sed expression to map a string onto a valid CPP name.
83300as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
83301
83302# Sed expression to map a string onto a valid variable name.
83303as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
83304
83305
83306exec 6>&1
83307## ----------------------------------- ##
83308## Main body of $CONFIG_STATUS script. ##
83309## ----------------------------------- ##
83310_ASEOF
83311test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
83312
83313cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83314# Save the log message, to keep $0 and so on meaningful, and to
83315# report actual input values of CONFIG_FILES etc. instead of their
83316# values after options handling.
83317ac_log="
83318This file was extended by package-unused $as_me version-unused, which was
83319generated by GNU Autoconf 2.69.  Invocation command line was
83320
83321  CONFIG_FILES    = $CONFIG_FILES
83322  CONFIG_HEADERS  = $CONFIG_HEADERS
83323  CONFIG_LINKS    = $CONFIG_LINKS
83324  CONFIG_COMMANDS = $CONFIG_COMMANDS
83325  $ $0 $@
83326
83327on `(hostname || uname -n) 2>/dev/null | sed 1q`
83328"
83329
83330_ACEOF
83331
83332case $ac_config_files in *"
83333"*) set x $ac_config_files; shift; ac_config_files=$*;;
83334esac
83335
83336case $ac_config_headers in *"
83337"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
83338esac
83339
83340
83341cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83342# Files that config.status was made for.
83343config_files="$ac_config_files"
83344config_headers="$ac_config_headers"
83345config_commands="$ac_config_commands"
83346
83347_ACEOF
83348
83349cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83350ac_cs_usage="\
83351\`$as_me' instantiates files and other configuration actions
83352from templates according to the current configuration.  Unless the files
83353and actions are specified as TAGs, all are instantiated by default.
83354
83355Usage: $0 [OPTION]... [TAG]...
83356
83357  -h, --help       print this help, then exit
83358  -V, --version    print version number and configuration settings, then exit
83359      --config     print configuration, then exit
83360  -q, --quiet, --silent
83361                   do not print progress messages
83362  -d, --debug      don't remove temporary files
83363      --recheck    update $as_me by reconfiguring in the same conditions
83364      --file=FILE[:TEMPLATE]
83365                   instantiate the configuration file FILE
83366      --header=FILE[:TEMPLATE]
83367                   instantiate the configuration header FILE
83368
83369Configuration files:
83370$config_files
83371
83372Configuration headers:
83373$config_headers
83374
83375Configuration commands:
83376$config_commands
83377
83378Report bugs to the package provider."
83379
83380_ACEOF
83381cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83382ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
83383ac_cs_version="\\
83384package-unused config.status version-unused
83385configured by $0, generated by GNU Autoconf 2.69,
83386  with options \\"\$ac_cs_config\\"
83387
83388Copyright (C) 2012 Free Software Foundation, Inc.
83389This config.status script is free software; the Free Software Foundation
83390gives unlimited permission to copy, distribute and modify it."
83391
83392ac_pwd='$ac_pwd'
83393srcdir='$srcdir'
83394INSTALL='$INSTALL'
83395MKDIR_P='$MKDIR_P'
83396AWK='$AWK'
83397test -n "\$AWK" || AWK=awk
83398_ACEOF
83399
83400cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83401# The default lists apply if the user does not specify any file.
83402ac_need_defaults=:
83403while test $# != 0
83404do
83405  case $1 in
83406  --*=?*)
83407    ac_option=`expr "X$1" : 'X\([^=]*\)='`
83408    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
83409    ac_shift=:
83410    ;;
83411  --*=)
83412    ac_option=`expr "X$1" : 'X\([^=]*\)='`
83413    ac_optarg=
83414    ac_shift=:
83415    ;;
83416  *)
83417    ac_option=$1
83418    ac_optarg=$2
83419    ac_shift=shift
83420    ;;
83421  esac
83422
83423  case $ac_option in
83424  # Handling of the options.
83425  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
83426    ac_cs_recheck=: ;;
83427  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
83428    $as_echo "$ac_cs_version"; exit ;;
83429  --config | --confi | --conf | --con | --co | --c )
83430    $as_echo "$ac_cs_config"; exit ;;
83431  --debug | --debu | --deb | --de | --d | -d )
83432    debug=: ;;
83433  --file | --fil | --fi | --f )
83434    $ac_shift
83435    case $ac_optarg in
83436    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
83437    '') as_fn_error $? "missing file argument" ;;
83438    esac
83439    as_fn_append CONFIG_FILES " '$ac_optarg'"
83440    ac_need_defaults=false;;
83441  --header | --heade | --head | --hea )
83442    $ac_shift
83443    case $ac_optarg in
83444    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
83445    esac
83446    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
83447    ac_need_defaults=false;;
83448  --he | --h)
83449    # Conflict between --help and --header
83450    as_fn_error $? "ambiguous option: \`$1'
83451Try \`$0 --help' for more information.";;
83452  --help | --hel | -h )
83453    $as_echo "$ac_cs_usage"; exit ;;
83454  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
83455  | -silent | --silent | --silen | --sile | --sil | --si | --s)
83456    ac_cs_silent=: ;;
83457
83458  # This is an error.
83459  -*) as_fn_error $? "unrecognized option: \`$1'
83460Try \`$0 --help' for more information." ;;
83461
83462  *) as_fn_append ac_config_targets " $1"
83463     ac_need_defaults=false ;;
83464
83465  esac
83466  shift
83467done
83468
83469ac_configure_extra_args=
83470
83471if $ac_cs_silent; then
83472  exec 6>/dev/null
83473  ac_configure_extra_args="$ac_configure_extra_args --silent"
83474fi
83475
83476_ACEOF
83477cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83478if \$ac_cs_recheck; then
83479  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
83480  shift
83481  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
83482  CONFIG_SHELL='$SHELL'
83483  export CONFIG_SHELL
83484  exec "\$@"
83485fi
83486
83487_ACEOF
83488cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83489exec 5>>config.log
83490{
83491  echo
83492  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
83493## Running $as_me. ##
83494_ASBOX
83495  $as_echo "$ac_log"
83496} >&5
83497
83498_ACEOF
83499cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83500#
83501# INIT-COMMANDS
83502#
83503
83504srcdir="$srcdir"
83505host="$host"
83506target="$target"
83507with_multisubdir="$with_multisubdir"
83508with_multisrctop="$with_multisrctop"
83509with_target_subdir="$with_target_subdir"
83510ac_configure_args="${multilib_arg} ${ac_configure_args}"
83511multi_basedir="$multi_basedir"
83512CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
83513CC="$CC"
83514CXX="$CXX"
83515GFORTRAN="$GFORTRAN"
83516GDC="$GDC"
83517
83518
83519# The HP-UX ksh and POSIX shell print the target directory to stdout
83520# if CDPATH is set.
83521(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
83522
83523sed_quote_subst='$sed_quote_subst'
83524double_quote_subst='$double_quote_subst'
83525delay_variable_subst='$delay_variable_subst'
83526macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
83527macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
83528enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
83529enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
83530pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
83531enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
83532SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
83533ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
83534host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
83535host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
83536host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
83537build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
83538build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
83539build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
83540SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
83541Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
83542GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
83543EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
83544FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
83545LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
83546NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
83547LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
83548max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
83549ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
83550exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
83551lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
83552lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
83553lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
83554reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
83555reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
83556OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
83557deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
83558file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
83559AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
83560AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
83561STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
83562RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
83563old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83564old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83565old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
83566lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
83567CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
83568CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
83569compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
83570GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
83571lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
83572lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
83573lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
83574lt_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"`'
83575objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
83576MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
83577lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
83578lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
83579lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
83580lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
83581lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
83582need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
83583DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
83584NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
83585LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
83586OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
83587OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
83588libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
83589shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
83590extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83591archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
83592enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
83593export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
83594whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
83595compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
83596old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
83597old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83598archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
83599archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83600module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
83601module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83602with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
83603allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
83604no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
83605hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
83606hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
83607hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
83608hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
83609hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
83610hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
83611hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
83612hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
83613inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
83614link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
83615fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
83616always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
83617export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
83618exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
83619include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
83620prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
83621file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
83622variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
83623need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
83624need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
83625version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
83626runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
83627shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
83628shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
83629libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
83630library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
83631soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
83632install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
83633postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83634postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83635finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
83636finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
83637hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
83638sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
83639sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
83640hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
83641enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
83642enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
83643enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
83644old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
83645striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
83646compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
83647predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
83648postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
83649predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
83650postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
83651compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
83652LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
83653reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
83654reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83655old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83656compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
83657GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
83658lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
83659lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
83660lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
83661lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
83662lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
83663archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
83664enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
83665export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83666whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83667compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
83668old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83669old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83670archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83671archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83672module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83673module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83674with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
83675allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83676no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83677hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83678hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
83679hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
83680hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
83681hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
83682hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
83683hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
83684hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
83685inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
83686link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
83687fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
83688always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
83689export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83690exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83691include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83692prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83693file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
83694hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
83695compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
83696predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83697postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83698predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
83699postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
83700compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
83701
83702LTCC='$LTCC'
83703LTCFLAGS='$LTCFLAGS'
83704compiler='$compiler_DEFAULT'
83705
83706# A function that is used when there is no print builtin or printf.
83707func_fallback_echo ()
83708{
83709  eval 'cat <<_LTECHO_EOF
83710\$1
83711_LTECHO_EOF'
83712}
83713
83714# Quote evaled strings.
83715for var in SHELL \
83716ECHO \
83717SED \
83718GREP \
83719EGREP \
83720FGREP \
83721LD \
83722NM \
83723LN_S \
83724lt_SP2NL \
83725lt_NL2SP \
83726reload_flag \
83727OBJDUMP \
83728deplibs_check_method \
83729file_magic_cmd \
83730AR \
83731AR_FLAGS \
83732STRIP \
83733RANLIB \
83734CC \
83735CFLAGS \
83736compiler \
83737lt_cv_sys_global_symbol_pipe \
83738lt_cv_sys_global_symbol_to_cdecl \
83739lt_cv_sys_global_symbol_to_c_name_address \
83740lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
83741lt_prog_compiler_no_builtin_flag \
83742lt_prog_compiler_wl \
83743lt_prog_compiler_pic \
83744lt_prog_compiler_static \
83745lt_cv_prog_compiler_c_o \
83746need_locks \
83747DSYMUTIL \
83748NMEDIT \
83749LIPO \
83750OTOOL \
83751OTOOL64 \
83752shrext_cmds \
83753export_dynamic_flag_spec \
83754whole_archive_flag_spec \
83755compiler_needs_object \
83756with_gnu_ld \
83757allow_undefined_flag \
83758no_undefined_flag \
83759hardcode_libdir_flag_spec \
83760hardcode_libdir_flag_spec_ld \
83761hardcode_libdir_separator \
83762fix_srcfile_path \
83763exclude_expsyms \
83764include_expsyms \
83765file_list_spec \
83766variables_saved_for_relink \
83767libname_spec \
83768library_names_spec \
83769soname_spec \
83770install_override_mode \
83771finish_eval \
83772old_striplib \
83773striplib \
83774compiler_lib_search_dirs \
83775predep_objects \
83776postdep_objects \
83777predeps \
83778postdeps \
83779compiler_lib_search_path \
83780LD_CXX \
83781reload_flag_CXX \
83782compiler_CXX \
83783lt_prog_compiler_no_builtin_flag_CXX \
83784lt_prog_compiler_wl_CXX \
83785lt_prog_compiler_pic_CXX \
83786lt_prog_compiler_static_CXX \
83787lt_cv_prog_compiler_c_o_CXX \
83788export_dynamic_flag_spec_CXX \
83789whole_archive_flag_spec_CXX \
83790compiler_needs_object_CXX \
83791with_gnu_ld_CXX \
83792allow_undefined_flag_CXX \
83793no_undefined_flag_CXX \
83794hardcode_libdir_flag_spec_CXX \
83795hardcode_libdir_flag_spec_ld_CXX \
83796hardcode_libdir_separator_CXX \
83797fix_srcfile_path_CXX \
83798exclude_expsyms_CXX \
83799include_expsyms_CXX \
83800file_list_spec_CXX \
83801compiler_lib_search_dirs_CXX \
83802predep_objects_CXX \
83803postdep_objects_CXX \
83804predeps_CXX \
83805postdeps_CXX \
83806compiler_lib_search_path_CXX; do
83807    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83808    *[\\\\\\\`\\"\\\$]*)
83809      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
83810      ;;
83811    *)
83812      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83813      ;;
83814    esac
83815done
83816
83817# Double-quote double-evaled strings.
83818for var in reload_cmds \
83819old_postinstall_cmds \
83820old_postuninstall_cmds \
83821old_archive_cmds \
83822extract_expsyms_cmds \
83823old_archive_from_new_cmds \
83824old_archive_from_expsyms_cmds \
83825archive_cmds \
83826archive_expsym_cmds \
83827module_cmds \
83828module_expsym_cmds \
83829export_symbols_cmds \
83830prelink_cmds \
83831postinstall_cmds \
83832postuninstall_cmds \
83833finish_cmds \
83834sys_lib_search_path_spec \
83835sys_lib_dlsearch_path_spec \
83836reload_cmds_CXX \
83837old_archive_cmds_CXX \
83838old_archive_from_new_cmds_CXX \
83839old_archive_from_expsyms_cmds_CXX \
83840archive_cmds_CXX \
83841archive_expsym_cmds_CXX \
83842module_cmds_CXX \
83843module_expsym_cmds_CXX \
83844export_symbols_cmds_CXX \
83845prelink_cmds_CXX; do
83846    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83847    *[\\\\\\\`\\"\\\$]*)
83848      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83849      ;;
83850    *)
83851      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83852      ;;
83853    esac
83854done
83855
83856ac_aux_dir='$ac_aux_dir'
83857xsi_shell='$xsi_shell'
83858lt_shell_append='$lt_shell_append'
83859
83860# See if we are running on zsh, and set the options which allow our
83861# commands through without removal of \ escapes INIT.
83862if test -n "\${ZSH_VERSION+set}" ; then
83863   setopt NO_GLOB_SUBST
83864fi
83865
83866
83867    PACKAGE='$PACKAGE'
83868    VERSION='$VERSION'
83869    TIMESTAMP='$TIMESTAMP'
83870    RM='$RM'
83871    ofile='$ofile'
83872
83873
83874
83875
83876
83877
83878GCC="$GCC"
83879CC="$CC"
83880acx_cv_header_stdint="$acx_cv_header_stdint"
83881acx_cv_type_int8_t="$acx_cv_type_int8_t"
83882acx_cv_type_int16_t="$acx_cv_type_int16_t"
83883acx_cv_type_int32_t="$acx_cv_type_int32_t"
83884acx_cv_type_int64_t="$acx_cv_type_int64_t"
83885acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83886ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83887ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83888ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83889ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83890ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83891ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83892ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83893ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83894
83895
83896_ACEOF
83897
83898cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83899
83900# Handling of arguments.
83901for ac_config_target in $ac_config_targets
83902do
83903  case $ac_config_target in
83904    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83905    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83906    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83907    "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83908    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83909    "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83910    "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83911    "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83912    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83913    "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83914    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83915    "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83916    "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83917    "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83918    "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83919    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83920    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83921    "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83922    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83923    "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83924
83925  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83926  esac
83927done
83928
83929
83930# If the user did not use the arguments to specify the items to instantiate,
83931# then the envvar interface is used.  Set only those that are not.
83932# We use the long form for the default assignment because of an extremely
83933# bizarre bug on SunOS 4.1.3.
83934if $ac_need_defaults; then
83935  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83936  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83937  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83938fi
83939
83940# Have a temporary directory for convenience.  Make it in the build tree
83941# simply because there is no reason against having it here, and in addition,
83942# creating and moving files from /tmp can sometimes cause problems.
83943# Hook for its removal unless debugging.
83944# Note that there is a small window in which the directory will not be cleaned:
83945# after its creation but before its name has been assigned to `$tmp'.
83946$debug ||
83947{
83948  tmp= ac_tmp=
83949  trap 'exit_status=$?
83950  : "${ac_tmp:=$tmp}"
83951  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
83952' 0
83953  trap 'as_fn_exit 1' 1 2 13 15
83954}
83955# Create a (secure) tmp directory for tmp files.
83956
83957{
83958  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83959  test -d "$tmp"
83960}  ||
83961{
83962  tmp=./conf$$-$RANDOM
83963  (umask 077 && mkdir "$tmp")
83964} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
83965ac_tmp=$tmp
83966
83967# Set up the scripts for CONFIG_FILES section.
83968# No need to generate them if there are no CONFIG_FILES.
83969# This happens for instance with `./config.status config.h'.
83970if test -n "$CONFIG_FILES"; then
83971
83972
83973ac_cr=`echo X | tr X '\015'`
83974# On cygwin, bash can eat \r inside `` if the user requested igncr.
83975# But we know of no other shell where ac_cr would be empty at this
83976# point, so we can use a bashism as a fallback.
83977if test "x$ac_cr" = x; then
83978  eval ac_cr=\$\'\\r\'
83979fi
83980ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83981if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83982  ac_cs_awk_cr='\\r'
83983else
83984  ac_cs_awk_cr=$ac_cr
83985fi
83986
83987echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
83988_ACEOF
83989
83990
83991{
83992  echo "cat >conf$$subs.awk <<_ACEOF" &&
83993  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83994  echo "_ACEOF"
83995} >conf$$subs.sh ||
83996  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83997ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
83998ac_delim='%!_!# '
83999for ac_last_try in false false false false false :; do
84000  . ./conf$$subs.sh ||
84001    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
84002
84003  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
84004  if test $ac_delim_n = $ac_delim_num; then
84005    break
84006  elif $ac_last_try; then
84007    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
84008  else
84009    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
84010  fi
84011done
84012rm -f conf$$subs.sh
84013
84014cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84015cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
84016_ACEOF
84017sed -n '
84018h
84019s/^/S["/; s/!.*/"]=/
84020p
84021g
84022s/^[^!]*!//
84023:repl
84024t repl
84025s/'"$ac_delim"'$//
84026t delim
84027:nl
84028h
84029s/\(.\{148\}\)..*/\1/
84030t more1
84031s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
84032p
84033n
84034b repl
84035:more1
84036s/["\\]/\\&/g; s/^/"/; s/$/"\\/
84037p
84038g
84039s/.\{148\}//
84040t nl
84041:delim
84042h
84043s/\(.\{148\}\)..*/\1/
84044t more2
84045s/["\\]/\\&/g; s/^/"/; s/$/"/
84046p
84047b
84048:more2
84049s/["\\]/\\&/g; s/^/"/; s/$/"\\/
84050p
84051g
84052s/.\{148\}//
84053t delim
84054' <conf$$subs.awk | sed '
84055/^[^""]/{
84056  N
84057  s/\n//
84058}
84059' >>$CONFIG_STATUS || ac_write_fail=1
84060rm -f conf$$subs.awk
84061cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84062_ACAWK
84063cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
84064  for (key in S) S_is_set[key] = 1
84065  FS = ""
84066
84067}
84068{
84069  line = $ 0
84070  nfields = split(line, field, "@")
84071  substed = 0
84072  len = length(field[1])
84073  for (i = 2; i < nfields; i++) {
84074    key = field[i]
84075    keylen = length(key)
84076    if (S_is_set[key]) {
84077      value = S[key]
84078      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
84079      len += length(value) + length(field[++i])
84080      substed = 1
84081    } else
84082      len += 1 + keylen
84083  }
84084
84085  print line
84086}
84087
84088_ACAWK
84089_ACEOF
84090cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84091if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
84092  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
84093else
84094  cat
84095fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
84096  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
84097_ACEOF
84098
84099# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
84100# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
84101# trailing colons and then remove the whole line if VPATH becomes empty
84102# (actually we leave an empty line to preserve line numbers).
84103if test "x$srcdir" = x.; then
84104  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
84105h
84106s///
84107s/^/:/
84108s/[	 ]*$/:/
84109s/:\$(srcdir):/:/g
84110s/:\${srcdir}:/:/g
84111s/:@srcdir@:/:/g
84112s/^:*//
84113s/:*$//
84114x
84115s/\(=[	 ]*\).*/\1/
84116G
84117s/\n//
84118s/^[^=]*=[	 ]*$//
84119}'
84120fi
84121
84122cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84123fi # test -n "$CONFIG_FILES"
84124
84125# Set up the scripts for CONFIG_HEADERS section.
84126# No need to generate them if there are no CONFIG_HEADERS.
84127# This happens for instance with `./config.status Makefile'.
84128if test -n "$CONFIG_HEADERS"; then
84129cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
84130BEGIN {
84131_ACEOF
84132
84133# Transform confdefs.h into an awk script `defines.awk', embedded as
84134# here-document in config.status, that substitutes the proper values into
84135# config.h.in to produce config.h.
84136
84137# Create a delimiter string that does not exist in confdefs.h, to ease
84138# handling of long lines.
84139ac_delim='%!_!# '
84140for ac_last_try in false false :; do
84141  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
84142  if test -z "$ac_tt"; then
84143    break
84144  elif $ac_last_try; then
84145    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
84146  else
84147    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
84148  fi
84149done
84150
84151# For the awk script, D is an array of macro values keyed by name,
84152# likewise P contains macro parameters if any.  Preserve backslash
84153# newline sequences.
84154
84155ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
84156sed -n '
84157s/.\{148\}/&'"$ac_delim"'/g
84158t rset
84159:rset
84160s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
84161t def
84162d
84163:def
84164s/\\$//
84165t bsnl
84166s/["\\]/\\&/g
84167s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
84168D["\1"]=" \3"/p
84169s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
84170d
84171:bsnl
84172s/["\\]/\\&/g
84173s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
84174D["\1"]=" \3\\\\\\n"\\/p
84175t cont
84176s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
84177t cont
84178d
84179:cont
84180n
84181s/.\{148\}/&'"$ac_delim"'/g
84182t clear
84183:clear
84184s/\\$//
84185t bsnlc
84186s/["\\]/\\&/g; s/^/"/; s/$/"/p
84187d
84188:bsnlc
84189s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
84190b cont
84191' <confdefs.h | sed '
84192s/'"$ac_delim"'/"\\\
84193"/g' >>$CONFIG_STATUS || ac_write_fail=1
84194
84195cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84196  for (key in D) D_is_set[key] = 1
84197  FS = ""
84198}
84199/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
84200  line = \$ 0
84201  split(line, arg, " ")
84202  if (arg[1] == "#") {
84203    defundef = arg[2]
84204    mac1 = arg[3]
84205  } else {
84206    defundef = substr(arg[1], 2)
84207    mac1 = arg[2]
84208  }
84209  split(mac1, mac2, "(") #)
84210  macro = mac2[1]
84211  prefix = substr(line, 1, index(line, defundef) - 1)
84212  if (D_is_set[macro]) {
84213    # Preserve the white space surrounding the "#".
84214    print prefix "define", macro P[macro] D[macro]
84215    next
84216  } else {
84217    # Replace #undef with comments.  This is necessary, for example,
84218    # in the case of _POSIX_SOURCE, which is predefined and required
84219    # on some systems where configure will not decide to define it.
84220    if (defundef == "undef") {
84221      print "/*", prefix defundef, macro, "*/"
84222      next
84223    }
84224  }
84225}
84226{ print }
84227_ACAWK
84228_ACEOF
84229cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84230  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
84231fi # test -n "$CONFIG_HEADERS"
84232
84233
84234eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
84235shift
84236for ac_tag
84237do
84238  case $ac_tag in
84239  :[FHLC]) ac_mode=$ac_tag; continue;;
84240  esac
84241  case $ac_mode$ac_tag in
84242  :[FHL]*:*);;
84243  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
84244  :[FH]-) ac_tag=-:-;;
84245  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
84246  esac
84247  ac_save_IFS=$IFS
84248  IFS=:
84249  set x $ac_tag
84250  IFS=$ac_save_IFS
84251  shift
84252  ac_file=$1
84253  shift
84254
84255  case $ac_mode in
84256  :L) ac_source=$1;;
84257  :[FH])
84258    ac_file_inputs=
84259    for ac_f
84260    do
84261      case $ac_f in
84262      -) ac_f="$ac_tmp/stdin";;
84263      *) # Look for the file first in the build tree, then in the source tree
84264	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
84265	 # because $ac_f cannot contain `:'.
84266	 test -f "$ac_f" ||
84267	   case $ac_f in
84268	   [\\/$]*) false;;
84269	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
84270	   esac ||
84271	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
84272      esac
84273      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
84274      as_fn_append ac_file_inputs " '$ac_f'"
84275    done
84276
84277    # Let's still pretend it is `configure' which instantiates (i.e., don't
84278    # use $as_me), people would be surprised to read:
84279    #    /* config.h.  Generated by config.status.  */
84280    configure_input='Generated from '`
84281	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
84282	`' by configure.'
84283    if test x"$ac_file" != x-; then
84284      configure_input="$ac_file.  $configure_input"
84285      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
84286$as_echo "$as_me: creating $ac_file" >&6;}
84287    fi
84288    # Neutralize special characters interpreted by sed in replacement strings.
84289    case $configure_input in #(
84290    *\&* | *\|* | *\\* )
84291       ac_sed_conf_input=`$as_echo "$configure_input" |
84292       sed 's/[\\\\&|]/\\\\&/g'`;; #(
84293    *) ac_sed_conf_input=$configure_input;;
84294    esac
84295
84296    case $ac_tag in
84297    *:-:* | *:-) cat >"$ac_tmp/stdin" \
84298      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
84299    esac
84300    ;;
84301  esac
84302
84303  ac_dir=`$as_dirname -- "$ac_file" ||
84304$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84305	 X"$ac_file" : 'X\(//\)[^/]' \| \
84306	 X"$ac_file" : 'X\(//\)$' \| \
84307	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
84308$as_echo X"$ac_file" |
84309    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
84310	    s//\1/
84311	    q
84312	  }
84313	  /^X\(\/\/\)[^/].*/{
84314	    s//\1/
84315	    q
84316	  }
84317	  /^X\(\/\/\)$/{
84318	    s//\1/
84319	    q
84320	  }
84321	  /^X\(\/\).*/{
84322	    s//\1/
84323	    q
84324	  }
84325	  s/.*/./; q'`
84326  as_dir="$ac_dir"; as_fn_mkdir_p
84327  ac_builddir=.
84328
84329case "$ac_dir" in
84330.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
84331*)
84332  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
84333  # A ".." for each directory in $ac_dir_suffix.
84334  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
84335  case $ac_top_builddir_sub in
84336  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
84337  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
84338  esac ;;
84339esac
84340ac_abs_top_builddir=$ac_pwd
84341ac_abs_builddir=$ac_pwd$ac_dir_suffix
84342# for backward compatibility:
84343ac_top_builddir=$ac_top_build_prefix
84344
84345case $srcdir in
84346  .)  # We are building in place.
84347    ac_srcdir=.
84348    ac_top_srcdir=$ac_top_builddir_sub
84349    ac_abs_top_srcdir=$ac_pwd ;;
84350  [\\/]* | ?:[\\/]* )  # Absolute name.
84351    ac_srcdir=$srcdir$ac_dir_suffix;
84352    ac_top_srcdir=$srcdir
84353    ac_abs_top_srcdir=$srcdir ;;
84354  *) # Relative name.
84355    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
84356    ac_top_srcdir=$ac_top_build_prefix$srcdir
84357    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
84358esac
84359ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
84360
84361
84362  case $ac_mode in
84363  :F)
84364  #
84365  # CONFIG_FILE
84366  #
84367
84368  case $INSTALL in
84369  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
84370  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
84371  esac
84372  ac_MKDIR_P=$MKDIR_P
84373  case $MKDIR_P in
84374  [\\/$]* | ?:[\\/]* ) ;;
84375  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
84376  esac
84377_ACEOF
84378
84379cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84380# If the template does not know about datarootdir, expand it.
84381# FIXME: This hack should be removed a few years after 2.60.
84382ac_datarootdir_hack=; ac_datarootdir_seen=
84383ac_sed_dataroot='
84384/datarootdir/ {
84385  p
84386  q
84387}
84388/@datadir@/p
84389/@docdir@/p
84390/@infodir@/p
84391/@localedir@/p
84392/@mandir@/p'
84393case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
84394*datarootdir*) ac_datarootdir_seen=yes;;
84395*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
84396  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
84397$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
84398_ACEOF
84399cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84400  ac_datarootdir_hack='
84401  s&@datadir@&$datadir&g
84402  s&@docdir@&$docdir&g
84403  s&@infodir@&$infodir&g
84404  s&@localedir@&$localedir&g
84405  s&@mandir@&$mandir&g
84406  s&\\\${datarootdir}&$datarootdir&g' ;;
84407esac
84408_ACEOF
84409
84410# Neutralize VPATH when `$srcdir' = `.'.
84411# Shell code in configure.ac might set extrasub.
84412# FIXME: do we really want to maintain this feature?
84413cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84414ac_sed_extra="$ac_vpsub
84415$extrasub
84416_ACEOF
84417cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84418:t
84419/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
84420s|@configure_input@|$ac_sed_conf_input|;t t
84421s&@top_builddir@&$ac_top_builddir_sub&;t t
84422s&@top_build_prefix@&$ac_top_build_prefix&;t t
84423s&@srcdir@&$ac_srcdir&;t t
84424s&@abs_srcdir@&$ac_abs_srcdir&;t t
84425s&@top_srcdir@&$ac_top_srcdir&;t t
84426s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
84427s&@builddir@&$ac_builddir&;t t
84428s&@abs_builddir@&$ac_abs_builddir&;t t
84429s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
84430s&@INSTALL@&$ac_INSTALL&;t t
84431s&@MKDIR_P@&$ac_MKDIR_P&;t t
84432$ac_datarootdir_hack
84433"
84434eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
84435  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84436
84437test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
84438  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
84439  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
84440      "$ac_tmp/out"`; test -z "$ac_out"; } &&
84441  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
84442which seems to be undefined.  Please make sure it is defined" >&5
84443$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
84444which seems to be undefined.  Please make sure it is defined" >&2;}
84445
84446  rm -f "$ac_tmp/stdin"
84447  case $ac_file in
84448  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
84449  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
84450  esac \
84451  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84452 ;;
84453  :H)
84454  #
84455  # CONFIG_HEADER
84456  #
84457  if test x"$ac_file" != x-; then
84458    {
84459      $as_echo "/* $configure_input  */" \
84460      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
84461    } >"$ac_tmp/config.h" \
84462      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84463    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
84464      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
84465$as_echo "$as_me: $ac_file is unchanged" >&6;}
84466    else
84467      rm -f "$ac_file"
84468      mv "$ac_tmp/config.h" "$ac_file" \
84469	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
84470    fi
84471  else
84472    $as_echo "/* $configure_input  */" \
84473      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
84474      || as_fn_error $? "could not create -" "$LINENO" 5
84475  fi
84476# Compute "$ac_file"'s index in $config_headers.
84477_am_arg="$ac_file"
84478_am_stamp_count=1
84479for _am_header in $config_headers :; do
84480  case $_am_header in
84481    $_am_arg | $_am_arg:* )
84482      break ;;
84483    * )
84484      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
84485  esac
84486done
84487echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
84488$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84489	 X"$_am_arg" : 'X\(//\)[^/]' \| \
84490	 X"$_am_arg" : 'X\(//\)$' \| \
84491	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
84492$as_echo X"$_am_arg" |
84493    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
84494	    s//\1/
84495	    q
84496	  }
84497	  /^X\(\/\/\)[^/].*/{
84498	    s//\1/
84499	    q
84500	  }
84501	  /^X\(\/\/\)$/{
84502	    s//\1/
84503	    q
84504	  }
84505	  /^X\(\/\).*/{
84506	    s//\1/
84507	    q
84508	  }
84509	  s/.*/./; q'`/stamp-h$_am_stamp_count
84510 ;;
84511
84512  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
84513$as_echo "$as_me: executing $ac_file commands" >&6;}
84514 ;;
84515  esac
84516
84517
84518  case $ac_file$ac_mode in
84519    "default-1":C)
84520# Only add multilib support code if we just rebuilt the top-level
84521# Makefile.
84522case " $CONFIG_FILES " in
84523 *" Makefile "*)
84524   ac_file=Makefile . ${multi_basedir}/config-ml.in
84525   ;;
84526esac ;;
84527    "libtool":C)
84528
84529    # See if we are running on zsh, and set the options which allow our
84530    # commands through without removal of \ escapes.
84531    if test -n "${ZSH_VERSION+set}" ; then
84532      setopt NO_GLOB_SUBST
84533    fi
84534
84535    cfgfile="${ofile}T"
84536    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
84537    $RM "$cfgfile"
84538
84539    cat <<_LT_EOF >> "$cfgfile"
84540#! $SHELL
84541
84542# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
84543# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
84544# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
84545# NOTE: Changes made to this file will be lost: look at ltmain.sh.
84546#
84547#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
84548#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
84549#   Written by Gordon Matzigkeit, 1996
84550#
84551#   This file is part of GNU Libtool.
84552#
84553# GNU Libtool is free software; you can redistribute it and/or
84554# modify it under the terms of the GNU General Public License as
84555# published by the Free Software Foundation; either version 2 of
84556# the License, or (at your option) any later version.
84557#
84558# As a special exception to the GNU General Public License,
84559# if you distribute this file as part of a program or library that
84560# is built using GNU Libtool, you may include this file under the
84561# same distribution terms that you use for the rest of that program.
84562#
84563# GNU Libtool is distributed in the hope that it will be useful,
84564# but WITHOUT ANY WARRANTY; without even the implied warranty of
84565# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
84566# GNU General Public License for more details.
84567#
84568# You should have received a copy of the GNU General Public License
84569# along with GNU Libtool; see the file COPYING.  If not, a copy
84570# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
84571# obtained by writing to the Free Software Foundation, Inc.,
84572# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
84573
84574
84575# The names of the tagged configurations supported by this script.
84576available_tags="CXX "
84577
84578# ### BEGIN LIBTOOL CONFIG
84579
84580# Which release of libtool.m4 was used?
84581macro_version=$macro_version
84582macro_revision=$macro_revision
84583
84584# Whether or not to build shared libraries.
84585build_libtool_libs=$enable_shared
84586
84587# Whether or not to build static libraries.
84588build_old_libs=$enable_static
84589
84590# What type of objects to build.
84591pic_mode=$pic_mode
84592
84593# Whether or not to optimize for fast installation.
84594fast_install=$enable_fast_install
84595
84596# Shell to use when invoking shell scripts.
84597SHELL=$lt_SHELL
84598
84599# An echo program that protects backslashes.
84600ECHO=$lt_ECHO
84601
84602# The host system.
84603host_alias=$host_alias
84604host=$host
84605host_os=$host_os
84606
84607# The build system.
84608build_alias=$build_alias
84609build=$build
84610build_os=$build_os
84611
84612# A sed program that does not truncate output.
84613SED=$lt_SED
84614
84615# Sed that helps us avoid accidentally triggering echo(1) options like -n.
84616Xsed="\$SED -e 1s/^X//"
84617
84618# A grep program that handles long lines.
84619GREP=$lt_GREP
84620
84621# An ERE matcher.
84622EGREP=$lt_EGREP
84623
84624# A literal string matcher.
84625FGREP=$lt_FGREP
84626
84627# A BSD- or MS-compatible name lister.
84628NM=$lt_NM
84629
84630# Whether we need soft or hard links.
84631LN_S=$lt_LN_S
84632
84633# What is the maximum length of a command?
84634max_cmd_len=$max_cmd_len
84635
84636# Object file suffix (normally "o").
84637objext=$ac_objext
84638
84639# Executable file suffix (normally "").
84640exeext=$exeext
84641
84642# whether the shell understands "unset".
84643lt_unset=$lt_unset
84644
84645# turn spaces into newlines.
84646SP2NL=$lt_lt_SP2NL
84647
84648# turn newlines into spaces.
84649NL2SP=$lt_lt_NL2SP
84650
84651# An object symbol dumper.
84652OBJDUMP=$lt_OBJDUMP
84653
84654# Method to check whether dependent libraries are shared objects.
84655deplibs_check_method=$lt_deplibs_check_method
84656
84657# Command to use when deplibs_check_method == "file_magic".
84658file_magic_cmd=$lt_file_magic_cmd
84659
84660# The archiver.
84661AR=$lt_AR
84662AR_FLAGS=$lt_AR_FLAGS
84663
84664# A symbol stripping program.
84665STRIP=$lt_STRIP
84666
84667# Commands used to install an old-style archive.
84668RANLIB=$lt_RANLIB
84669old_postinstall_cmds=$lt_old_postinstall_cmds
84670old_postuninstall_cmds=$lt_old_postuninstall_cmds
84671
84672# Whether to use a lock for old archive extraction.
84673lock_old_archive_extraction=$lock_old_archive_extraction
84674
84675# A C compiler.
84676LTCC=$lt_CC
84677
84678# LTCC compiler flags.
84679LTCFLAGS=$lt_CFLAGS
84680
84681# Take the output of nm and produce a listing of raw symbols and C names.
84682global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
84683
84684# Transform the output of nm in a proper C declaration.
84685global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
84686
84687# Transform the output of nm in a C name address pair.
84688global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
84689
84690# Transform the output of nm in a C name address pair when lib prefix is needed.
84691global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
84692
84693# The name of the directory that contains temporary libtool files.
84694objdir=$objdir
84695
84696# Used to examine libraries when file_magic_cmd begins with "file".
84697MAGIC_CMD=$MAGIC_CMD
84698
84699# Must we lock files when doing compilation?
84700need_locks=$lt_need_locks
84701
84702# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
84703DSYMUTIL=$lt_DSYMUTIL
84704
84705# Tool to change global to local symbols on Mac OS X.
84706NMEDIT=$lt_NMEDIT
84707
84708# Tool to manipulate fat objects and archives on Mac OS X.
84709LIPO=$lt_LIPO
84710
84711# ldd/readelf like tool for Mach-O binaries on Mac OS X.
84712OTOOL=$lt_OTOOL
84713
84714# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
84715OTOOL64=$lt_OTOOL64
84716
84717# Old archive suffix (normally "a").
84718libext=$libext
84719
84720# Shared library suffix (normally ".so").
84721shrext_cmds=$lt_shrext_cmds
84722
84723# The commands to extract the exported symbol list from a shared archive.
84724extract_expsyms_cmds=$lt_extract_expsyms_cmds
84725
84726# Variables whose values should be saved in libtool wrapper scripts and
84727# restored at link time.
84728variables_saved_for_relink=$lt_variables_saved_for_relink
84729
84730# Do we need the "lib" prefix for modules?
84731need_lib_prefix=$need_lib_prefix
84732
84733# Do we need a version for libraries?
84734need_version=$need_version
84735
84736# Library versioning type.
84737version_type=$version_type
84738
84739# Shared library runtime path variable.
84740runpath_var=$runpath_var
84741
84742# Shared library path variable.
84743shlibpath_var=$shlibpath_var
84744
84745# Is shlibpath searched before the hard-coded library search path?
84746shlibpath_overrides_runpath=$shlibpath_overrides_runpath
84747
84748# Format of library name prefix.
84749libname_spec=$lt_libname_spec
84750
84751# List of archive names.  First name is the real one, the rest are links.
84752# The last name is the one that the linker finds with -lNAME
84753library_names_spec=$lt_library_names_spec
84754
84755# The coded name of the library, if different from the real name.
84756soname_spec=$lt_soname_spec
84757
84758# Permission mode override for installation of shared libraries.
84759install_override_mode=$lt_install_override_mode
84760
84761# Command to use after installation of a shared archive.
84762postinstall_cmds=$lt_postinstall_cmds
84763
84764# Command to use after uninstallation of a shared archive.
84765postuninstall_cmds=$lt_postuninstall_cmds
84766
84767# Commands used to finish a libtool library installation in a directory.
84768finish_cmds=$lt_finish_cmds
84769
84770# As "finish_cmds", except a single script fragment to be evaled but
84771# not shown.
84772finish_eval=$lt_finish_eval
84773
84774# Whether we should hardcode library paths into libraries.
84775hardcode_into_libs=$hardcode_into_libs
84776
84777# Compile-time system search path for libraries.
84778sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
84779
84780# Run-time system search path for libraries.
84781sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
84782
84783# Whether dlopen is supported.
84784dlopen_support=$enable_dlopen
84785
84786# Whether dlopen of programs is supported.
84787dlopen_self=$enable_dlopen_self
84788
84789# Whether dlopen of statically linked programs is supported.
84790dlopen_self_static=$enable_dlopen_self_static
84791
84792# Commands to strip libraries.
84793old_striplib=$lt_old_striplib
84794striplib=$lt_striplib
84795
84796
84797# The linker used to build libraries.
84798LD=$lt_LD
84799
84800# How to create reloadable object files.
84801reload_flag=$lt_reload_flag
84802reload_cmds=$lt_reload_cmds
84803
84804# Commands used to build an old-style archive.
84805old_archive_cmds=$lt_old_archive_cmds
84806
84807# A language specific compiler.
84808CC=$lt_compiler
84809
84810# Is the compiler the GNU compiler?
84811with_gcc=$GCC
84812
84813# Compiler flag to turn off builtin functions.
84814no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
84815
84816# How to pass a linker flag through the compiler.
84817wl=$lt_lt_prog_compiler_wl
84818
84819# Additional compiler flags for building library objects.
84820pic_flag=$lt_lt_prog_compiler_pic
84821
84822# Compiler flag to prevent dynamic linking.
84823link_static_flag=$lt_lt_prog_compiler_static
84824
84825# Does compiler simultaneously support -c and -o options?
84826compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84827
84828# Whether or not to add -lc for building shared libraries.
84829build_libtool_need_lc=$archive_cmds_need_lc
84830
84831# Whether or not to disallow shared libs when runtime libs are static.
84832allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84833
84834# Compiler flag to allow reflexive dlopens.
84835export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84836
84837# Compiler flag to generate shared objects directly from archives.
84838whole_archive_flag_spec=$lt_whole_archive_flag_spec
84839
84840# Whether the compiler copes with passing no objects directly.
84841compiler_needs_object=$lt_compiler_needs_object
84842
84843# Create an old-style archive from a shared archive.
84844old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84845
84846# Create a temporary old-style archive to link instead of a shared archive.
84847old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84848
84849# Commands used to build a shared archive.
84850archive_cmds=$lt_archive_cmds
84851archive_expsym_cmds=$lt_archive_expsym_cmds
84852
84853# Commands used to build a loadable module if different from building
84854# a shared archive.
84855module_cmds=$lt_module_cmds
84856module_expsym_cmds=$lt_module_expsym_cmds
84857
84858# Whether we are building with GNU ld or not.
84859with_gnu_ld=$lt_with_gnu_ld
84860
84861# Flag that allows shared libraries with undefined symbols to be built.
84862allow_undefined_flag=$lt_allow_undefined_flag
84863
84864# Flag that enforces no undefined symbols.
84865no_undefined_flag=$lt_no_undefined_flag
84866
84867# Flag to hardcode \$libdir into a binary during linking.
84868# This must work even if \$libdir does not exist
84869hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84870
84871# If ld is used when linking, flag to hardcode \$libdir into a binary
84872# during linking.  This must work even if \$libdir does not exist.
84873hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84874
84875# Whether we need a single "-rpath" flag with a separated argument.
84876hardcode_libdir_separator=$lt_hardcode_libdir_separator
84877
84878# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84879# DIR into the resulting binary.
84880hardcode_direct=$hardcode_direct
84881
84882# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84883# DIR into the resulting binary and the resulting library dependency is
84884# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84885# library is relocated.
84886hardcode_direct_absolute=$hardcode_direct_absolute
84887
84888# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84889# into the resulting binary.
84890hardcode_minus_L=$hardcode_minus_L
84891
84892# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84893# into the resulting binary.
84894hardcode_shlibpath_var=$hardcode_shlibpath_var
84895
84896# Set to "yes" if building a shared library automatically hardcodes DIR
84897# into the library and all subsequent libraries and executables linked
84898# against it.
84899hardcode_automatic=$hardcode_automatic
84900
84901# Set to yes if linker adds runtime paths of dependent libraries
84902# to runtime path list.
84903inherit_rpath=$inherit_rpath
84904
84905# Whether libtool must link a program against all its dependency libraries.
84906link_all_deplibs=$link_all_deplibs
84907
84908# Fix the shell variable \$srcfile for the compiler.
84909fix_srcfile_path=$lt_fix_srcfile_path
84910
84911# Set to "yes" if exported symbols are required.
84912always_export_symbols=$always_export_symbols
84913
84914# The commands to list exported symbols.
84915export_symbols_cmds=$lt_export_symbols_cmds
84916
84917# Symbols that should not be listed in the preloaded symbols.
84918exclude_expsyms=$lt_exclude_expsyms
84919
84920# Symbols that must always be exported.
84921include_expsyms=$lt_include_expsyms
84922
84923# Commands necessary for linking programs (against libraries) with templates.
84924prelink_cmds=$lt_prelink_cmds
84925
84926# Specify filename containing input files.
84927file_list_spec=$lt_file_list_spec
84928
84929# How to hardcode a shared library path into an executable.
84930hardcode_action=$hardcode_action
84931
84932# The directories searched by this compiler when creating a shared library.
84933compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84934
84935# Dependencies to place before and after the objects being linked to
84936# create a shared library.
84937predep_objects=$lt_predep_objects
84938postdep_objects=$lt_postdep_objects
84939predeps=$lt_predeps
84940postdeps=$lt_postdeps
84941
84942# The library search path used internally by the compiler when linking
84943# a shared library.
84944compiler_lib_search_path=$lt_compiler_lib_search_path
84945
84946# ### END LIBTOOL CONFIG
84947
84948_LT_EOF
84949
84950  case $host_os in
84951  aix3*)
84952    cat <<\_LT_EOF >> "$cfgfile"
84953# AIX sometimes has problems with the GCC collect2 program.  For some
84954# reason, if we set the COLLECT_NAMES environment variable, the problems
84955# vanish in a puff of smoke.
84956if test "X${COLLECT_NAMES+set}" != Xset; then
84957  COLLECT_NAMES=
84958  export COLLECT_NAMES
84959fi
84960_LT_EOF
84961    ;;
84962  esac
84963
84964
84965ltmain="$ac_aux_dir/ltmain.sh"
84966
84967
84968  # We use sed instead of cat because bash on DJGPP gets confused if
84969  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
84970  # text mode, it properly converts lines to CR/LF.  This bash problem
84971  # is reportedly fixed, but why not run on old versions too?
84972  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84973    || (rm -f "$cfgfile"; exit 1)
84974
84975  case $xsi_shell in
84976  yes)
84977    cat << \_LT_EOF >> "$cfgfile"
84978
84979# func_dirname file append nondir_replacement
84980# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
84981# otherwise set result to NONDIR_REPLACEMENT.
84982func_dirname ()
84983{
84984  case ${1} in
84985    */*) func_dirname_result="${1%/*}${2}" ;;
84986    *  ) func_dirname_result="${3}" ;;
84987  esac
84988}
84989
84990# func_basename file
84991func_basename ()
84992{
84993  func_basename_result="${1##*/}"
84994}
84995
84996# func_dirname_and_basename file append nondir_replacement
84997# perform func_basename and func_dirname in a single function
84998# call:
84999#   dirname:  Compute the dirname of FILE.  If nonempty,
85000#             add APPEND to the result, otherwise set result
85001#             to NONDIR_REPLACEMENT.
85002#             value returned in "$func_dirname_result"
85003#   basename: Compute filename of FILE.
85004#             value retuned in "$func_basename_result"
85005# Implementation must be kept synchronized with func_dirname
85006# and func_basename. For efficiency, we do not delegate to
85007# those functions but instead duplicate the functionality here.
85008func_dirname_and_basename ()
85009{
85010  case ${1} in
85011    */*) func_dirname_result="${1%/*}${2}" ;;
85012    *  ) func_dirname_result="${3}" ;;
85013  esac
85014  func_basename_result="${1##*/}"
85015}
85016
85017# func_stripname prefix suffix name
85018# strip PREFIX and SUFFIX off of NAME.
85019# PREFIX and SUFFIX must not contain globbing or regex special
85020# characters, hashes, percent signs, but SUFFIX may contain a leading
85021# dot (in which case that matches only a dot).
85022func_stripname ()
85023{
85024  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
85025  # positional parameters, so assign one to ordinary parameter first.
85026  func_stripname_result=${3}
85027  func_stripname_result=${func_stripname_result#"${1}"}
85028  func_stripname_result=${func_stripname_result%"${2}"}
85029}
85030
85031# func_opt_split
85032func_opt_split ()
85033{
85034  func_opt_split_opt=${1%%=*}
85035  func_opt_split_arg=${1#*=}
85036}
85037
85038# func_lo2o object
85039func_lo2o ()
85040{
85041  case ${1} in
85042    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
85043    *)    func_lo2o_result=${1} ;;
85044  esac
85045}
85046
85047# func_xform libobj-or-source
85048func_xform ()
85049{
85050  func_xform_result=${1%.*}.lo
85051}
85052
85053# func_arith arithmetic-term...
85054func_arith ()
85055{
85056  func_arith_result=$(( $* ))
85057}
85058
85059# func_len string
85060# STRING may not start with a hyphen.
85061func_len ()
85062{
85063  func_len_result=${#1}
85064}
85065
85066_LT_EOF
85067    ;;
85068  *) # Bourne compatible functions.
85069    cat << \_LT_EOF >> "$cfgfile"
85070
85071# func_dirname file append nondir_replacement
85072# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
85073# otherwise set result to NONDIR_REPLACEMENT.
85074func_dirname ()
85075{
85076  # Extract subdirectory from the argument.
85077  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
85078  if test "X$func_dirname_result" = "X${1}"; then
85079    func_dirname_result="${3}"
85080  else
85081    func_dirname_result="$func_dirname_result${2}"
85082  fi
85083}
85084
85085# func_basename file
85086func_basename ()
85087{
85088  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
85089}
85090
85091
85092# func_stripname prefix suffix name
85093# strip PREFIX and SUFFIX off of NAME.
85094# PREFIX and SUFFIX must not contain globbing or regex special
85095# characters, hashes, percent signs, but SUFFIX may contain a leading
85096# dot (in which case that matches only a dot).
85097# func_strip_suffix prefix name
85098func_stripname ()
85099{
85100  case ${2} in
85101    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
85102    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
85103  esac
85104}
85105
85106# sed scripts:
85107my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
85108my_sed_long_arg='1s/^-[^=]*=//'
85109
85110# func_opt_split
85111func_opt_split ()
85112{
85113  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
85114  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
85115}
85116
85117# func_lo2o object
85118func_lo2o ()
85119{
85120  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
85121}
85122
85123# func_xform libobj-or-source
85124func_xform ()
85125{
85126  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
85127}
85128
85129# func_arith arithmetic-term...
85130func_arith ()
85131{
85132  func_arith_result=`expr "$@"`
85133}
85134
85135# func_len string
85136# STRING may not start with a hyphen.
85137func_len ()
85138{
85139  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
85140}
85141
85142_LT_EOF
85143esac
85144
85145case $lt_shell_append in
85146  yes)
85147    cat << \_LT_EOF >> "$cfgfile"
85148
85149# func_append var value
85150# Append VALUE to the end of shell variable VAR.
85151func_append ()
85152{
85153  eval "$1+=\$2"
85154}
85155_LT_EOF
85156    ;;
85157  *)
85158    cat << \_LT_EOF >> "$cfgfile"
85159
85160# func_append var value
85161# Append VALUE to the end of shell variable VAR.
85162func_append ()
85163{
85164  eval "$1=\$$1\$2"
85165}
85166
85167_LT_EOF
85168    ;;
85169  esac
85170
85171
85172  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
85173    || (rm -f "$cfgfile"; exit 1)
85174
85175  mv -f "$cfgfile" "$ofile" ||
85176    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
85177  chmod +x "$ofile"
85178
85179
85180    cat <<_LT_EOF >> "$ofile"
85181
85182# ### BEGIN LIBTOOL TAG CONFIG: CXX
85183
85184# The linker used to build libraries.
85185LD=$lt_LD_CXX
85186
85187# How to create reloadable object files.
85188reload_flag=$lt_reload_flag_CXX
85189reload_cmds=$lt_reload_cmds_CXX
85190
85191# Commands used to build an old-style archive.
85192old_archive_cmds=$lt_old_archive_cmds_CXX
85193
85194# A language specific compiler.
85195CC=$lt_compiler_CXX
85196
85197# Is the compiler the GNU compiler?
85198with_gcc=$GCC_CXX
85199
85200# Compiler flag to turn off builtin functions.
85201no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
85202
85203# How to pass a linker flag through the compiler.
85204wl=$lt_lt_prog_compiler_wl_CXX
85205
85206# Additional compiler flags for building library objects.
85207pic_flag=$lt_lt_prog_compiler_pic_CXX
85208
85209# Compiler flag to prevent dynamic linking.
85210link_static_flag=$lt_lt_prog_compiler_static_CXX
85211
85212# Does compiler simultaneously support -c and -o options?
85213compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
85214
85215# Whether or not to add -lc for building shared libraries.
85216build_libtool_need_lc=$archive_cmds_need_lc_CXX
85217
85218# Whether or not to disallow shared libs when runtime libs are static.
85219allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
85220
85221# Compiler flag to allow reflexive dlopens.
85222export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
85223
85224# Compiler flag to generate shared objects directly from archives.
85225whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
85226
85227# Whether the compiler copes with passing no objects directly.
85228compiler_needs_object=$lt_compiler_needs_object_CXX
85229
85230# Create an old-style archive from a shared archive.
85231old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
85232
85233# Create a temporary old-style archive to link instead of a shared archive.
85234old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
85235
85236# Commands used to build a shared archive.
85237archive_cmds=$lt_archive_cmds_CXX
85238archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
85239
85240# Commands used to build a loadable module if different from building
85241# a shared archive.
85242module_cmds=$lt_module_cmds_CXX
85243module_expsym_cmds=$lt_module_expsym_cmds_CXX
85244
85245# Whether we are building with GNU ld or not.
85246with_gnu_ld=$lt_with_gnu_ld_CXX
85247
85248# Flag that allows shared libraries with undefined symbols to be built.
85249allow_undefined_flag=$lt_allow_undefined_flag_CXX
85250
85251# Flag that enforces no undefined symbols.
85252no_undefined_flag=$lt_no_undefined_flag_CXX
85253
85254# Flag to hardcode \$libdir into a binary during linking.
85255# This must work even if \$libdir does not exist
85256hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
85257
85258# If ld is used when linking, flag to hardcode \$libdir into a binary
85259# during linking.  This must work even if \$libdir does not exist.
85260hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
85261
85262# Whether we need a single "-rpath" flag with a separated argument.
85263hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
85264
85265# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
85266# DIR into the resulting binary.
85267hardcode_direct=$hardcode_direct_CXX
85268
85269# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
85270# DIR into the resulting binary and the resulting library dependency is
85271# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
85272# library is relocated.
85273hardcode_direct_absolute=$hardcode_direct_absolute_CXX
85274
85275# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
85276# into the resulting binary.
85277hardcode_minus_L=$hardcode_minus_L_CXX
85278
85279# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
85280# into the resulting binary.
85281hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
85282
85283# Set to "yes" if building a shared library automatically hardcodes DIR
85284# into the library and all subsequent libraries and executables linked
85285# against it.
85286hardcode_automatic=$hardcode_automatic_CXX
85287
85288# Set to yes if linker adds runtime paths of dependent libraries
85289# to runtime path list.
85290inherit_rpath=$inherit_rpath_CXX
85291
85292# Whether libtool must link a program against all its dependency libraries.
85293link_all_deplibs=$link_all_deplibs_CXX
85294
85295# Fix the shell variable \$srcfile for the compiler.
85296fix_srcfile_path=$lt_fix_srcfile_path_CXX
85297
85298# Set to "yes" if exported symbols are required.
85299always_export_symbols=$always_export_symbols_CXX
85300
85301# The commands to list exported symbols.
85302export_symbols_cmds=$lt_export_symbols_cmds_CXX
85303
85304# Symbols that should not be listed in the preloaded symbols.
85305exclude_expsyms=$lt_exclude_expsyms_CXX
85306
85307# Symbols that must always be exported.
85308include_expsyms=$lt_include_expsyms_CXX
85309
85310# Commands necessary for linking programs (against libraries) with templates.
85311prelink_cmds=$lt_prelink_cmds_CXX
85312
85313# Specify filename containing input files.
85314file_list_spec=$lt_file_list_spec_CXX
85315
85316# How to hardcode a shared library path into an executable.
85317hardcode_action=$hardcode_action_CXX
85318
85319# The directories searched by this compiler when creating a shared library.
85320compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
85321
85322# Dependencies to place before and after the objects being linked to
85323# create a shared library.
85324predep_objects=$lt_predep_objects_CXX
85325postdep_objects=$lt_postdep_objects_CXX
85326predeps=$lt_predeps_CXX
85327postdeps=$lt_postdeps_CXX
85328
85329# The library search path used internally by the compiler when linking
85330# a shared library.
85331compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
85332
85333# ### END LIBTOOL TAG CONFIG: CXX
85334_LT_EOF
85335
85336 ;;
85337    "include/gstdint.h":C)
85338if test "$GCC" = yes; then
85339  echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
85340else
85341  echo "/* generated for $CC */" > tmp-stdint.h
85342fi
85343
85344sed 's/^ *//' >> tmp-stdint.h <<EOF
85345
85346  #ifndef GCC_GENERATED_STDINT_H
85347  #define GCC_GENERATED_STDINT_H 1
85348
85349  #include <sys/types.h>
85350EOF
85351
85352if test "$acx_cv_header_stdint" != stdint.h; then
85353  echo "#include <stddef.h>" >> tmp-stdint.h
85354fi
85355if test "$acx_cv_header_stdint" != stddef.h; then
85356  echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
85357fi
85358
85359sed 's/^ *//' >> tmp-stdint.h <<EOF
85360  /* glibc uses these symbols as guards to prevent redefinitions.  */
85361  #ifdef __int8_t_defined
85362  #define _INT8_T
85363  #define _INT16_T
85364  #define _INT32_T
85365  #endif
85366  #ifdef __uint32_t_defined
85367  #define _UINT32_T
85368  #endif
85369
85370EOF
85371
85372# ----------------- done header, emit basic int types -------------
85373if test "$acx_cv_header_stdint" = stddef.h; then
85374  sed 's/^ *//' >> tmp-stdint.h <<EOF
85375
85376    #ifndef _UINT8_T
85377    #define _UINT8_T
85378    #ifndef __uint8_t_defined
85379    #define __uint8_t_defined
85380    #ifndef uint8_t
85381    typedef unsigned $acx_cv_type_int8_t uint8_t;
85382    #endif
85383    #endif
85384    #endif
85385
85386    #ifndef _UINT16_T
85387    #define _UINT16_T
85388    #ifndef __uint16_t_defined
85389    #define __uint16_t_defined
85390    #ifndef uint16_t
85391    typedef unsigned $acx_cv_type_int16_t uint16_t;
85392    #endif
85393    #endif
85394    #endif
85395
85396    #ifndef _UINT32_T
85397    #define _UINT32_T
85398    #ifndef __uint32_t_defined
85399    #define __uint32_t_defined
85400    #ifndef uint32_t
85401    typedef unsigned $acx_cv_type_int32_t uint32_t;
85402    #endif
85403    #endif
85404    #endif
85405
85406    #ifndef _INT8_T
85407    #define _INT8_T
85408    #ifndef __int8_t_defined
85409    #define __int8_t_defined
85410    #ifndef int8_t
85411    typedef $acx_cv_type_int8_t int8_t;
85412    #endif
85413    #endif
85414    #endif
85415
85416    #ifndef _INT16_T
85417    #define _INT16_T
85418    #ifndef __int16_t_defined
85419    #define __int16_t_defined
85420    #ifndef int16_t
85421    typedef $acx_cv_type_int16_t int16_t;
85422    #endif
85423    #endif
85424    #endif
85425
85426    #ifndef _INT32_T
85427    #define _INT32_T
85428    #ifndef __int32_t_defined
85429    #define __int32_t_defined
85430    #ifndef int32_t
85431    typedef $acx_cv_type_int32_t int32_t;
85432    #endif
85433    #endif
85434    #endif
85435EOF
85436elif test "$ac_cv_type_u_int32_t" = yes; then
85437  sed 's/^ *//' >> tmp-stdint.h <<EOF
85438
85439    /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
85440    #ifndef _INT8_T
85441    #define _INT8_T
85442    #endif
85443    #ifndef _INT16_T
85444    #define _INT16_T
85445    #endif
85446    #ifndef _INT32_T
85447    #define _INT32_T
85448    #endif
85449
85450    #ifndef _UINT8_T
85451    #define _UINT8_T
85452    #ifndef __uint8_t_defined
85453    #define __uint8_t_defined
85454    #ifndef uint8_t
85455    typedef u_int8_t uint8_t;
85456    #endif
85457    #endif
85458    #endif
85459
85460    #ifndef _UINT16_T
85461    #define _UINT16_T
85462    #ifndef __uint16_t_defined
85463    #define __uint16_t_defined
85464    #ifndef uint16_t
85465    typedef u_int16_t uint16_t;
85466    #endif
85467    #endif
85468    #endif
85469
85470    #ifndef _UINT32_T
85471    #define _UINT32_T
85472    #ifndef __uint32_t_defined
85473    #define __uint32_t_defined
85474    #ifndef uint32_t
85475    typedef u_int32_t uint32_t;
85476    #endif
85477    #endif
85478    #endif
85479EOF
85480else
85481  sed 's/^ *//' >> tmp-stdint.h <<EOF
85482
85483    /* Some systems have guard macros to prevent redefinitions, define them.  */
85484    #ifndef _INT8_T
85485    #define _INT8_T
85486    #endif
85487    #ifndef _INT16_T
85488    #define _INT16_T
85489    #endif
85490    #ifndef _INT32_T
85491    #define _INT32_T
85492    #endif
85493    #ifndef _UINT8_T
85494    #define _UINT8_T
85495    #endif
85496    #ifndef _UINT16_T
85497    #define _UINT16_T
85498    #endif
85499    #ifndef _UINT32_T
85500    #define _UINT32_T
85501    #endif
85502EOF
85503fi
85504
85505# ------------- done basic int types, emit int64_t types ------------
85506if test "$ac_cv_type_uint64_t" = yes; then
85507  sed 's/^ *//' >> tmp-stdint.h <<EOF
85508
85509    /* system headers have good uint64_t and int64_t */
85510    #ifndef _INT64_T
85511    #define _INT64_T
85512    #endif
85513    #ifndef _UINT64_T
85514    #define _UINT64_T
85515    #endif
85516EOF
85517elif test "$ac_cv_type_u_int64_t" = yes; then
85518  sed 's/^ *//' >> tmp-stdint.h <<EOF
85519
85520    /* system headers have an u_int64_t (and int64_t) */
85521    #ifndef _INT64_T
85522    #define _INT64_T
85523    #endif
85524    #ifndef _UINT64_T
85525    #define _UINT64_T
85526    #ifndef __uint64_t_defined
85527    #define __uint64_t_defined
85528    #ifndef uint64_t
85529    typedef u_int64_t uint64_t;
85530    #endif
85531    #endif
85532    #endif
85533EOF
85534elif test -n "$acx_cv_type_int64_t"; then
85535  sed 's/^ *//' >> tmp-stdint.h <<EOF
85536
85537    /* architecture has a 64-bit type, $acx_cv_type_int64_t */
85538    #ifndef _INT64_T
85539    #define _INT64_T
85540    #ifndef int64_t
85541    typedef $acx_cv_type_int64_t int64_t;
85542    #endif
85543    #endif
85544    #ifndef _UINT64_T
85545    #define _UINT64_T
85546    #ifndef __uint64_t_defined
85547    #define __uint64_t_defined
85548    #ifndef uint64_t
85549    typedef unsigned $acx_cv_type_int64_t uint64_t;
85550    #endif
85551    #endif
85552    #endif
85553EOF
85554else
85555  sed 's/^ *//' >> tmp-stdint.h <<EOF
85556
85557    /* some common heuristics for int64_t, using compiler-specific tests */
85558    #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
85559    #ifndef _INT64_T
85560    #define _INT64_T
85561    #ifndef __int64_t_defined
85562    #ifndef int64_t
85563    typedef long long int64_t;
85564    #endif
85565    #endif
85566    #endif
85567    #ifndef _UINT64_T
85568    #define _UINT64_T
85569    #ifndef uint64_t
85570    typedef unsigned long long uint64_t;
85571    #endif
85572    #endif
85573
85574    #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
85575    /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
85576       does not implement __extension__.  But that compiler doesn't define
85577       __GNUC_MINOR__.  */
85578    # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
85579    # define __extension__
85580    # endif
85581
85582    # ifndef _INT64_T
85583    # define _INT64_T
85584    # ifndef int64_t
85585    __extension__ typedef long long int64_t;
85586    # endif
85587    # endif
85588    # ifndef _UINT64_T
85589    # define _UINT64_T
85590    # ifndef uint64_t
85591    __extension__ typedef unsigned long long uint64_t;
85592    # endif
85593    # endif
85594
85595    #elif !defined __STRICT_ANSI__
85596    # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
85597
85598    #  ifndef _INT64_T
85599    #  define _INT64_T
85600    #  ifndef int64_t
85601    typedef __int64 int64_t;
85602    #  endif
85603    #  endif
85604    #  ifndef _UINT64_T
85605    #  define _UINT64_T
85606    #  ifndef uint64_t
85607    typedef unsigned __int64 uint64_t;
85608    #  endif
85609    #  endif
85610    # endif /* compiler */
85611
85612    #endif /* ANSI version */
85613EOF
85614fi
85615
85616# ------------- done int64_t types, emit intptr types ------------
85617if test "$ac_cv_type_uintptr_t" != yes; then
85618  sed 's/^ *//' >> tmp-stdint.h <<EOF
85619
85620    /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
85621    #ifndef __uintptr_t_defined
85622    #ifndef uintptr_t
85623    typedef u$acx_cv_type_intptr_t uintptr_t;
85624    #endif
85625    #endif
85626    #ifndef __intptr_t_defined
85627    #ifndef intptr_t
85628    typedef $acx_cv_type_intptr_t  intptr_t;
85629    #endif
85630    #endif
85631EOF
85632fi
85633
85634# ------------- done intptr types, emit int_least types ------------
85635if test "$ac_cv_type_int_least32_t" != yes; then
85636  sed 's/^ *//' >> tmp-stdint.h <<EOF
85637
85638    /* Define int_least types */
85639    typedef int8_t     int_least8_t;
85640    typedef int16_t    int_least16_t;
85641    typedef int32_t    int_least32_t;
85642    #ifdef _INT64_T
85643    typedef int64_t    int_least64_t;
85644    #endif
85645
85646    typedef uint8_t    uint_least8_t;
85647    typedef uint16_t   uint_least16_t;
85648    typedef uint32_t   uint_least32_t;
85649    #ifdef _UINT64_T
85650    typedef uint64_t   uint_least64_t;
85651    #endif
85652EOF
85653fi
85654
85655# ------------- done intptr types, emit int_fast types ------------
85656if test "$ac_cv_type_int_fast32_t" != yes; then
85657      sed 's/^ *//' >> tmp-stdint.h <<EOF
85658
85659    /* Define int_fast types.  short is often slow */
85660    typedef int8_t       int_fast8_t;
85661    typedef int          int_fast16_t;
85662    typedef int32_t      int_fast32_t;
85663    #ifdef _INT64_T
85664    typedef int64_t      int_fast64_t;
85665    #endif
85666
85667    typedef uint8_t      uint_fast8_t;
85668    typedef unsigned int uint_fast16_t;
85669    typedef uint32_t     uint_fast32_t;
85670    #ifdef _UINT64_T
85671    typedef uint64_t     uint_fast64_t;
85672    #endif
85673EOF
85674fi
85675
85676if test "$ac_cv_type_uintmax_t" != yes; then
85677  sed 's/^ *//' >> tmp-stdint.h <<EOF
85678
85679    /* Define intmax based on what we found */
85680    #ifndef intmax_t
85681    #ifdef _INT64_T
85682    typedef int64_t       intmax_t;
85683    #else
85684    typedef long          intmax_t;
85685    #endif
85686    #endif
85687    #ifndef uintmax_t
85688    #ifdef _UINT64_T
85689    typedef uint64_t      uintmax_t;
85690    #else
85691    typedef unsigned long uintmax_t;
85692    #endif
85693    #endif
85694EOF
85695fi
85696
85697sed 's/^ *//' >> tmp-stdint.h <<EOF
85698
85699  #endif /* GCC_GENERATED_STDINT_H */
85700EOF
85701
85702if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
85703  rm -f tmp-stdint.h
85704else
85705  mv -f tmp-stdint.h include/gstdint.h
85706fi
85707
85708 ;;
85709    "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
85710    "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
85711    "include/Makefile":F) cat > vpsed$$ << \_EOF
85712s!`test -f '$<' || echo '$(srcdir)/'`!!
85713_EOF
85714   sed -f vpsed$$ $ac_file > tmp$$
85715   mv tmp$$ $ac_file
85716   rm vpsed$$
85717   echo 'MULTISUBDIR =' >> $ac_file
85718   ml_norecursion=yes
85719   . ${multi_basedir}/config-ml.in
85720   { ml_norecursion=; unset ml_norecursion;}
85721 ;;
85722    "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
85723s!`test -f '$<' || echo '$(srcdir)/'`!!
85724_EOF
85725   sed -f vpsed$$ $ac_file > tmp$$
85726   mv tmp$$ $ac_file
85727   rm vpsed$$
85728   echo 'MULTISUBDIR =' >> $ac_file
85729   ml_norecursion=yes
85730   . ${multi_basedir}/config-ml.in
85731   { ml_norecursion=; unset ml_norecursion;}
85732 ;;
85733    "src/Makefile":F) cat > vpsed$$ << \_EOF
85734s!`test -f '$<' || echo '$(srcdir)/'`!!
85735_EOF
85736   sed -f vpsed$$ $ac_file > tmp$$
85737   mv tmp$$ $ac_file
85738   rm vpsed$$
85739   echo 'MULTISUBDIR =' >> $ac_file
85740   ml_norecursion=yes
85741   . ${multi_basedir}/config-ml.in
85742   { ml_norecursion=; unset ml_norecursion;}
85743 ;;
85744    "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
85745s!`test -f '$<' || echo '$(srcdir)/'`!!
85746_EOF
85747   sed -f vpsed$$ $ac_file > tmp$$
85748   mv tmp$$ $ac_file
85749   rm vpsed$$
85750   echo 'MULTISUBDIR =' >> $ac_file
85751   ml_norecursion=yes
85752   . ${multi_basedir}/config-ml.in
85753   { ml_norecursion=; unset ml_norecursion;}
85754 ;;
85755    "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
85756s!`test -f '$<' || echo '$(srcdir)/'`!!
85757_EOF
85758   sed -f vpsed$$ $ac_file > tmp$$
85759   mv tmp$$ $ac_file
85760   rm vpsed$$
85761   echo 'MULTISUBDIR =' >> $ac_file
85762   ml_norecursion=yes
85763   . ${multi_basedir}/config-ml.in
85764   { ml_norecursion=; unset ml_norecursion;}
85765 ;;
85766    "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
85767s!`test -f '$<' || echo '$(srcdir)/'`!!
85768_EOF
85769   sed -f vpsed$$ $ac_file > tmp$$
85770   mv tmp$$ $ac_file
85771   rm vpsed$$
85772   echo 'MULTISUBDIR =' >> $ac_file
85773   ml_norecursion=yes
85774   . ${multi_basedir}/config-ml.in
85775   { ml_norecursion=; unset ml_norecursion;}
85776 ;;
85777    "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
85778s!`test -f '$<' || echo '$(srcdir)/'`!!
85779_EOF
85780   sed -f vpsed$$ $ac_file > tmp$$
85781   mv tmp$$ $ac_file
85782   rm vpsed$$
85783   echo 'MULTISUBDIR =' >> $ac_file
85784   ml_norecursion=yes
85785   . ${multi_basedir}/config-ml.in
85786   { ml_norecursion=; unset ml_norecursion;}
85787 ;;
85788    "doc/Makefile":F) cat > vpsed$$ << \_EOF
85789s!`test -f '$<' || echo '$(srcdir)/'`!!
85790_EOF
85791   sed -f vpsed$$ $ac_file > tmp$$
85792   mv tmp$$ $ac_file
85793   rm vpsed$$
85794   echo 'MULTISUBDIR =' >> $ac_file
85795   ml_norecursion=yes
85796   . ${multi_basedir}/config-ml.in
85797   { ml_norecursion=; unset ml_norecursion;}
85798 ;;
85799    "po/Makefile":F) cat > vpsed$$ << \_EOF
85800s!`test -f '$<' || echo '$(srcdir)/'`!!
85801_EOF
85802   sed -f vpsed$$ $ac_file > tmp$$
85803   mv tmp$$ $ac_file
85804   rm vpsed$$
85805   echo 'MULTISUBDIR =' >> $ac_file
85806   ml_norecursion=yes
85807   . ${multi_basedir}/config-ml.in
85808   { ml_norecursion=; unset ml_norecursion;}
85809 ;;
85810    "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
85811s!`test -f '$<' || echo '$(srcdir)/'`!!
85812_EOF
85813   sed -f vpsed$$ $ac_file > tmp$$
85814   mv tmp$$ $ac_file
85815   rm vpsed$$
85816   echo 'MULTISUBDIR =' >> $ac_file
85817   ml_norecursion=yes
85818   . ${multi_basedir}/config-ml.in
85819   { ml_norecursion=; unset ml_norecursion;}
85820 ;;
85821    "python/Makefile":F) cat > vpsed$$ << \_EOF
85822s!`test -f '$<' || echo '$(srcdir)/'`!!
85823_EOF
85824   sed -f vpsed$$ $ac_file > tmp$$
85825   mv tmp$$ $ac_file
85826   rm vpsed$$
85827   echo 'MULTISUBDIR =' >> $ac_file
85828   ml_norecursion=yes
85829   . ${multi_basedir}/config-ml.in
85830   { ml_norecursion=; unset ml_norecursion;}
85831 ;;
85832    "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85833
85834  esac
85835done # for ac_tag
85836
85837
85838as_fn_exit 0
85839_ACEOF
85840ac_clean_files=$ac_clean_files_save
85841
85842test $ac_write_fail = 0 ||
85843  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
85844
85845
85846# configure is writing to config.log, and then calls config.status.
85847# config.status does its own redirection, appending to config.log.
85848# Unfortunately, on DOS this fails, as config.log is still kept open
85849# by configure, so config.status won't be able to write to it; its
85850# output is simply discarded.  So we exec the FD to /dev/null,
85851# effectively closing config.log, so it can be properly (re)opened and
85852# appended to by config.status.  When coming back to configure, we
85853# need to make the FD available again.
85854if test "$no_create" != yes; then
85855  ac_cs_success=:
85856  ac_config_status_args=
85857  test "$silent" = yes &&
85858    ac_config_status_args="$ac_config_status_args --quiet"
85859  exec 5>/dev/null
85860  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85861  exec 5>>config.log
85862  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85863  # would make configure fail if this is the last instruction.
85864  $ac_cs_success || as_fn_exit 1
85865fi
85866if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85867  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85868$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
85869fi
85870
85871