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_libiconv_type
935with_system_libunwind
936enable_linux_futex
937enable_symvers
938enable_libstdcxx_visibility
939enable_libstdcxx_dual_abi
940with_default_libstdcxx_abi
941enable_libstdcxx_threads
942enable_libstdcxx_filesystem_ts
943enable_cet
944with_gxx_include_dir
945enable_version_specific_runtime_libs
946with_toolexeclibdir
947with_gcc_major_version_only
948'
949      ac_precious_vars='build_alias
950host_alias
951target_alias
952CC
953CFLAGS
954LDFLAGS
955LIBS
956CPPFLAGS
957CXX
958CXXFLAGS
959CCC
960CPP
961CXXCPP
962CXXFILT'
963
964
965# Initialize some variables set by options.
966ac_init_help=
967ac_init_version=false
968ac_unrecognized_opts=
969ac_unrecognized_sep=
970# The variables have the same names as the options, with
971# dashes changed to underlines.
972cache_file=/dev/null
973exec_prefix=NONE
974no_create=
975no_recursion=
976prefix=NONE
977program_prefix=NONE
978program_suffix=NONE
979program_transform_name=s,x,x,
980silent=
981site=
982srcdir=
983verbose=
984x_includes=NONE
985x_libraries=NONE
986
987# Installation directory options.
988# These are left unexpanded so users can "make install exec_prefix=/foo"
989# and all the variables that are supposed to be based on exec_prefix
990# by default will actually change.
991# Use braces instead of parens because sh, perl, etc. also accept them.
992# (The list follows the same order as the GNU Coding Standards.)
993bindir='${exec_prefix}/bin'
994sbindir='${exec_prefix}/sbin'
995libexecdir='${exec_prefix}/libexec'
996datarootdir='${prefix}/share'
997datadir='${datarootdir}'
998sysconfdir='${prefix}/etc'
999sharedstatedir='${prefix}/com'
1000localstatedir='${prefix}/var'
1001includedir='${prefix}/include'
1002oldincludedir='/usr/include'
1003docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1004infodir='${datarootdir}/info'
1005htmldir='${docdir}'
1006dvidir='${docdir}'
1007pdfdir='${docdir}'
1008psdir='${docdir}'
1009libdir='${exec_prefix}/lib'
1010localedir='${datarootdir}/locale'
1011mandir='${datarootdir}/man'
1012
1013ac_prev=
1014ac_dashdash=
1015for ac_option
1016do
1017  # If the previous option needs an argument, assign it.
1018  if test -n "$ac_prev"; then
1019    eval $ac_prev=\$ac_option
1020    ac_prev=
1021    continue
1022  fi
1023
1024  case $ac_option in
1025  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1026  *=)   ac_optarg= ;;
1027  *)    ac_optarg=yes ;;
1028  esac
1029
1030  # Accept the important Cygnus configure options, so we can diagnose typos.
1031
1032  case $ac_dashdash$ac_option in
1033  --)
1034    ac_dashdash=yes ;;
1035
1036  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1037    ac_prev=bindir ;;
1038  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1039    bindir=$ac_optarg ;;
1040
1041  -build | --build | --buil | --bui | --bu)
1042    ac_prev=build_alias ;;
1043  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1044    build_alias=$ac_optarg ;;
1045
1046  -cache-file | --cache-file | --cache-fil | --cache-fi \
1047  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1048    ac_prev=cache_file ;;
1049  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1050  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1051    cache_file=$ac_optarg ;;
1052
1053  --config-cache | -C)
1054    cache_file=config.cache ;;
1055
1056  -datadir | --datadir | --datadi | --datad)
1057    ac_prev=datadir ;;
1058  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1059    datadir=$ac_optarg ;;
1060
1061  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1062  | --dataroo | --dataro | --datar)
1063    ac_prev=datarootdir ;;
1064  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1065  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1066    datarootdir=$ac_optarg ;;
1067
1068  -disable-* | --disable-*)
1069    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1070    # Reject names that are not valid shell variable names.
1071    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072      as_fn_error $? "invalid feature name: $ac_useropt"
1073    ac_useropt_orig=$ac_useropt
1074    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075    case $ac_user_opts in
1076      *"
1077"enable_$ac_useropt"
1078"*) ;;
1079      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1080	 ac_unrecognized_sep=', ';;
1081    esac
1082    eval enable_$ac_useropt=no ;;
1083
1084  -docdir | --docdir | --docdi | --doc | --do)
1085    ac_prev=docdir ;;
1086  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1087    docdir=$ac_optarg ;;
1088
1089  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1090    ac_prev=dvidir ;;
1091  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1092    dvidir=$ac_optarg ;;
1093
1094  -enable-* | --enable-*)
1095    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1096    # Reject names that are not valid shell variable names.
1097    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098      as_fn_error $? "invalid feature name: $ac_useropt"
1099    ac_useropt_orig=$ac_useropt
1100    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101    case $ac_user_opts in
1102      *"
1103"enable_$ac_useropt"
1104"*) ;;
1105      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1106	 ac_unrecognized_sep=', ';;
1107    esac
1108    eval enable_$ac_useropt=\$ac_optarg ;;
1109
1110  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1111  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1112  | --exec | --exe | --ex)
1113    ac_prev=exec_prefix ;;
1114  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1115  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1116  | --exec=* | --exe=* | --ex=*)
1117    exec_prefix=$ac_optarg ;;
1118
1119  -gas | --gas | --ga | --g)
1120    # Obsolete; use --with-gas.
1121    with_gas=yes ;;
1122
1123  -help | --help | --hel | --he | -h)
1124    ac_init_help=long ;;
1125  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1126    ac_init_help=recursive ;;
1127  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1128    ac_init_help=short ;;
1129
1130  -host | --host | --hos | --ho)
1131    ac_prev=host_alias ;;
1132  -host=* | --host=* | --hos=* | --ho=*)
1133    host_alias=$ac_optarg ;;
1134
1135  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1136    ac_prev=htmldir ;;
1137  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1138  | --ht=*)
1139    htmldir=$ac_optarg ;;
1140
1141  -includedir | --includedir | --includedi | --included | --include \
1142  | --includ | --inclu | --incl | --inc)
1143    ac_prev=includedir ;;
1144  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1145  | --includ=* | --inclu=* | --incl=* | --inc=*)
1146    includedir=$ac_optarg ;;
1147
1148  -infodir | --infodir | --infodi | --infod | --info | --inf)
1149    ac_prev=infodir ;;
1150  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1151    infodir=$ac_optarg ;;
1152
1153  -libdir | --libdir | --libdi | --libd)
1154    ac_prev=libdir ;;
1155  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1156    libdir=$ac_optarg ;;
1157
1158  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1159  | --libexe | --libex | --libe)
1160    ac_prev=libexecdir ;;
1161  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1162  | --libexe=* | --libex=* | --libe=*)
1163    libexecdir=$ac_optarg ;;
1164
1165  -localedir | --localedir | --localedi | --localed | --locale)
1166    ac_prev=localedir ;;
1167  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1168    localedir=$ac_optarg ;;
1169
1170  -localstatedir | --localstatedir | --localstatedi | --localstated \
1171  | --localstate | --localstat | --localsta | --localst | --locals)
1172    ac_prev=localstatedir ;;
1173  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1174  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1175    localstatedir=$ac_optarg ;;
1176
1177  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1178    ac_prev=mandir ;;
1179  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1180    mandir=$ac_optarg ;;
1181
1182  -nfp | --nfp | --nf)
1183    # Obsolete; use --without-fp.
1184    with_fp=no ;;
1185
1186  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1187  | --no-cr | --no-c | -n)
1188    no_create=yes ;;
1189
1190  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1191  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1192    no_recursion=yes ;;
1193
1194  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1195  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1196  | --oldin | --oldi | --old | --ol | --o)
1197    ac_prev=oldincludedir ;;
1198  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1199  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1200  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1201    oldincludedir=$ac_optarg ;;
1202
1203  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1204    ac_prev=prefix ;;
1205  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1206    prefix=$ac_optarg ;;
1207
1208  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1209  | --program-pre | --program-pr | --program-p)
1210    ac_prev=program_prefix ;;
1211  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1212  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1213    program_prefix=$ac_optarg ;;
1214
1215  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1216  | --program-suf | --program-su | --program-s)
1217    ac_prev=program_suffix ;;
1218  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1219  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1220    program_suffix=$ac_optarg ;;
1221
1222  -program-transform-name | --program-transform-name \
1223  | --program-transform-nam | --program-transform-na \
1224  | --program-transform-n | --program-transform- \
1225  | --program-transform | --program-transfor \
1226  | --program-transfo | --program-transf \
1227  | --program-trans | --program-tran \
1228  | --progr-tra | --program-tr | --program-t)
1229    ac_prev=program_transform_name ;;
1230  -program-transform-name=* | --program-transform-name=* \
1231  | --program-transform-nam=* | --program-transform-na=* \
1232  | --program-transform-n=* | --program-transform-=* \
1233  | --program-transform=* | --program-transfor=* \
1234  | --program-transfo=* | --program-transf=* \
1235  | --program-trans=* | --program-tran=* \
1236  | --progr-tra=* | --program-tr=* | --program-t=*)
1237    program_transform_name=$ac_optarg ;;
1238
1239  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1240    ac_prev=pdfdir ;;
1241  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1242    pdfdir=$ac_optarg ;;
1243
1244  -psdir | --psdir | --psdi | --psd | --ps)
1245    ac_prev=psdir ;;
1246  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1247    psdir=$ac_optarg ;;
1248
1249  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1250  | -silent | --silent | --silen | --sile | --sil)
1251    silent=yes ;;
1252
1253  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1254    ac_prev=sbindir ;;
1255  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1256  | --sbi=* | --sb=*)
1257    sbindir=$ac_optarg ;;
1258
1259  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1260  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1261  | --sharedst | --shareds | --shared | --share | --shar \
1262  | --sha | --sh)
1263    ac_prev=sharedstatedir ;;
1264  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1265  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1266  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1267  | --sha=* | --sh=*)
1268    sharedstatedir=$ac_optarg ;;
1269
1270  -site | --site | --sit)
1271    ac_prev=site ;;
1272  -site=* | --site=* | --sit=*)
1273    site=$ac_optarg ;;
1274
1275  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1276    ac_prev=srcdir ;;
1277  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1278    srcdir=$ac_optarg ;;
1279
1280  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1281  | --syscon | --sysco | --sysc | --sys | --sy)
1282    ac_prev=sysconfdir ;;
1283  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1284  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1285    sysconfdir=$ac_optarg ;;
1286
1287  -target | --target | --targe | --targ | --tar | --ta | --t)
1288    ac_prev=target_alias ;;
1289  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1290    target_alias=$ac_optarg ;;
1291
1292  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1293    verbose=yes ;;
1294
1295  -version | --version | --versio | --versi | --vers | -V)
1296    ac_init_version=: ;;
1297
1298  -with-* | --with-*)
1299    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1300    # Reject names that are not valid shell variable names.
1301    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1302      as_fn_error $? "invalid package name: $ac_useropt"
1303    ac_useropt_orig=$ac_useropt
1304    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1305    case $ac_user_opts in
1306      *"
1307"with_$ac_useropt"
1308"*) ;;
1309      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1310	 ac_unrecognized_sep=', ';;
1311    esac
1312    eval with_$ac_useropt=\$ac_optarg ;;
1313
1314  -without-* | --without-*)
1315    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1316    # Reject names that are not valid shell variable names.
1317    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1318      as_fn_error $? "invalid package name: $ac_useropt"
1319    ac_useropt_orig=$ac_useropt
1320    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1321    case $ac_user_opts in
1322      *"
1323"with_$ac_useropt"
1324"*) ;;
1325      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1326	 ac_unrecognized_sep=', ';;
1327    esac
1328    eval with_$ac_useropt=no ;;
1329
1330  --x)
1331    # Obsolete; use --with-x.
1332    with_x=yes ;;
1333
1334  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1335  | --x-incl | --x-inc | --x-in | --x-i)
1336    ac_prev=x_includes ;;
1337  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1338  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1339    x_includes=$ac_optarg ;;
1340
1341  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1342  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1343    ac_prev=x_libraries ;;
1344  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1345  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1346    x_libraries=$ac_optarg ;;
1347
1348  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1349Try \`$0 --help' for more information"
1350    ;;
1351
1352  *=*)
1353    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1354    # Reject names that are not valid shell variable names.
1355    case $ac_envvar in #(
1356      '' | [0-9]* | *[!_$as_cr_alnum]* )
1357      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1358    esac
1359    eval $ac_envvar=\$ac_optarg
1360    export $ac_envvar ;;
1361
1362  *)
1363    # FIXME: should be removed in autoconf 3.0.
1364    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1365    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1366      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1367    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1368    ;;
1369
1370  esac
1371done
1372
1373if test -n "$ac_prev"; then
1374  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1375  as_fn_error $? "missing argument to $ac_option"
1376fi
1377
1378if test -n "$ac_unrecognized_opts"; then
1379  case $enable_option_checking in
1380    no) ;;
1381    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1382    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1383  esac
1384fi
1385
1386# Check all directory arguments for consistency.
1387for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1388		datadir sysconfdir sharedstatedir localstatedir includedir \
1389		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1390		libdir localedir mandir
1391do
1392  eval ac_val=\$$ac_var
1393  # Remove trailing slashes.
1394  case $ac_val in
1395    */ )
1396      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1397      eval $ac_var=\$ac_val;;
1398  esac
1399  # Be sure to have absolute directory names.
1400  case $ac_val in
1401    [\\/$]* | ?:[\\/]* )  continue;;
1402    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1403  esac
1404  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1405done
1406
1407# There might be people who depend on the old broken behavior: `$host'
1408# used to hold the argument of --host etc.
1409# FIXME: To remove some day.
1410build=$build_alias
1411host=$host_alias
1412target=$target_alias
1413
1414# FIXME: To remove some day.
1415if test "x$host_alias" != x; then
1416  if test "x$build_alias" = x; then
1417    cross_compiling=maybe
1418  elif test "x$build_alias" != "x$host_alias"; then
1419    cross_compiling=yes
1420  fi
1421fi
1422
1423ac_tool_prefix=
1424test -n "$host_alias" && ac_tool_prefix=$host_alias-
1425
1426test "$silent" = yes && exec 6>/dev/null
1427
1428
1429ac_pwd=`pwd` && test -n "$ac_pwd" &&
1430ac_ls_di=`ls -di .` &&
1431ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1432  as_fn_error $? "working directory cannot be determined"
1433test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1434  as_fn_error $? "pwd does not report name of working directory"
1435
1436
1437# Find the source files, if location was not specified.
1438if test -z "$srcdir"; then
1439  ac_srcdir_defaulted=yes
1440  # Try the directory containing this script, then the parent directory.
1441  ac_confdir=`$as_dirname -- "$as_myself" ||
1442$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1443	 X"$as_myself" : 'X\(//\)[^/]' \| \
1444	 X"$as_myself" : 'X\(//\)$' \| \
1445	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1446$as_echo X"$as_myself" |
1447    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1448	    s//\1/
1449	    q
1450	  }
1451	  /^X\(\/\/\)[^/].*/{
1452	    s//\1/
1453	    q
1454	  }
1455	  /^X\(\/\/\)$/{
1456	    s//\1/
1457	    q
1458	  }
1459	  /^X\(\/\).*/{
1460	    s//\1/
1461	    q
1462	  }
1463	  s/.*/./; q'`
1464  srcdir=$ac_confdir
1465  if test ! -r "$srcdir/$ac_unique_file"; then
1466    srcdir=..
1467  fi
1468else
1469  ac_srcdir_defaulted=no
1470fi
1471if test ! -r "$srcdir/$ac_unique_file"; then
1472  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1473  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1474fi
1475ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1476ac_abs_confdir=`(
1477	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1478	pwd)`
1479# When building in place, set srcdir=.
1480if test "$ac_abs_confdir" = "$ac_pwd"; then
1481  srcdir=.
1482fi
1483# Remove unnecessary trailing slashes from srcdir.
1484# Double slashes in file names in object file debugging info
1485# mess up M-x gdb in Emacs.
1486case $srcdir in
1487*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1488esac
1489for ac_var in $ac_precious_vars; do
1490  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1491  eval ac_env_${ac_var}_value=\$${ac_var}
1492  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1493  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1494done
1495
1496#
1497# Report the --help message.
1498#
1499if test "$ac_init_help" = "long"; then
1500  # Omit some internal or obsolete options to make the list less imposing.
1501  # This message is too long to be a string in the A/UX 3.1 sh.
1502  cat <<_ACEOF
1503\`configure' configures package-unused version-unused to adapt to many kinds of systems.
1504
1505Usage: $0 [OPTION]... [VAR=VALUE]...
1506
1507To assign environment variables (e.g., CC, CFLAGS...), specify them as
1508VAR=VALUE.  See below for descriptions of some of the useful variables.
1509
1510Defaults for the options are specified in brackets.
1511
1512Configuration:
1513  -h, --help              display this help and exit
1514      --help=short        display options specific to this package
1515      --help=recursive    display the short help of all the included packages
1516  -V, --version           display version information and exit
1517  -q, --quiet, --silent   do not print \`checking ...' messages
1518      --cache-file=FILE   cache test results in FILE [disabled]
1519  -C, --config-cache      alias for \`--cache-file=config.cache'
1520  -n, --no-create         do not create output files
1521      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1522
1523Installation directories:
1524  --prefix=PREFIX         install architecture-independent files in PREFIX
1525                          [$ac_default_prefix]
1526  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1527                          [PREFIX]
1528
1529By default, \`make install' will install all the files in
1530\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1531an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1532for instance \`--prefix=\$HOME'.
1533
1534For better control, use the options below.
1535
1536Fine tuning of the installation directories:
1537  --bindir=DIR            user executables [EPREFIX/bin]
1538  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1539  --libexecdir=DIR        program executables [EPREFIX/libexec]
1540  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1541  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1542  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1543  --libdir=DIR            object code libraries [EPREFIX/lib]
1544  --includedir=DIR        C header files [PREFIX/include]
1545  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1546  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1547  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1548  --infodir=DIR           info documentation [DATAROOTDIR/info]
1549  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1550  --mandir=DIR            man documentation [DATAROOTDIR/man]
1551  --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1552  --htmldir=DIR           html documentation [DOCDIR]
1553  --dvidir=DIR            dvi documentation [DOCDIR]
1554  --pdfdir=DIR            pdf documentation [DOCDIR]
1555  --psdir=DIR             ps documentation [DOCDIR]
1556_ACEOF
1557
1558  cat <<\_ACEOF
1559
1560Program names:
1561  --program-prefix=PREFIX            prepend PREFIX to installed program names
1562  --program-suffix=SUFFIX            append SUFFIX to installed program names
1563  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1564
1565System types:
1566  --build=BUILD     configure for building on BUILD [guessed]
1567  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1568  --target=TARGET   configure for building compilers for TARGET [HOST]
1569_ACEOF
1570fi
1571
1572if test -n "$ac_init_help"; then
1573  case $ac_init_help in
1574     short | recursive ) echo "Configuration of package-unused version-unused:";;
1575   esac
1576  cat <<\_ACEOF
1577
1578Optional Features:
1579  --disable-option-checking  ignore unrecognized --enable/--with options
1580  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1581  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1582  --enable-multilib       build many library versions (default)
1583  --enable-silent-rules   less verbose build output (undo: "make V=1")
1584  --disable-silent-rules  verbose build output (undo: "make V=0")
1585  --disable-largefile     omit support for large files
1586  --enable-maintainer-mode
1587                          enable make rules and dependencies not useful (and
1588                          sometimes confusing) to the casual installer
1589  --enable-shared[=PKGS]  build shared libraries [default=yes]
1590  --enable-static[=PKGS]  build static libraries [default=yes]
1591  --enable-fast-install[=PKGS]
1592                          optimize for fast installation [default=yes]
1593  --disable-libtool-lock  avoid locking (might break parallel builds)
1594  --disable-hosted-libstdcxx
1595                          only build freestanding C++ runtime support
1596  --disable-libstdcxx-verbose
1597                          disable termination messages to standard error
1598  --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1599                          [default=$is_hosted]
1600  --enable-cstdio[=PACKAGE]
1601                          use target-specific I/O package [default=stdio]
1602  --enable-clocale[=MODEL]
1603                          use MODEL for target locale package [default=auto]
1604  --enable-nls            use Native Language Support (default)
1605  --enable-libstdcxx-allocator[=KIND]
1606                          use KIND for target std::allocator base
1607                          [default=auto]
1608  --enable-cheaders[=KIND]
1609                          construct "C" headers for g++ [default=$c_model]
1610  --enable-long-long      enable template specializations for 'long long'
1611                          [default=yes]
1612  --enable-wchar_t        enable template specializations for 'wchar_t'
1613                          [default=yes]
1614  --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1615  --enable-concept-checks use Boost-derived template checks [default=no]
1616  --enable-libstdcxx-debug-flags=FLAGS
1617                          pass compiler FLAGS when building debug library
1618                          [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1619  --enable-libstdcxx-debug
1620                          build extra debug library [default=no]
1621  --enable-cxx-flags=FLAGS
1622                          pass compiler FLAGS when building library [default=]
1623  --enable-fully-dynamic-string
1624                          do not put empty strings in per-process static
1625                          memory [default=no]
1626  --enable-extern-template
1627                          enable extern template [default=yes]
1628  --enable-werror         turns on -Werror [default=no]
1629  --enable-vtable-verify  enable vtable verify [default=no]
1630  --enable-libstdcxx-time[=KIND]
1631                          use KIND for check type [default=auto]
1632  --enable-tls            Use thread-local storage [default=yes]
1633  --disable-rpath         do not hardcode runtime library paths
1634  --enable-linux-futex    use the Linux futex system call [default=default]
1635  --enable-symvers[=STYLE]
1636                          enables symbol versioning of the shared library
1637                          [default=yes]
1638  --enable-libstdcxx-visibility
1639                          enables visibility safe usage [default=yes]
1640  --enable-libstdcxx-dual-abi
1641                          support two versions of std::string [default=yes]
1642  --enable-libstdcxx-threads
1643                          enable C++11 threads support [default=auto]
1644  --enable-libstdcxx-filesystem-ts
1645                          turns on ISO/IEC TS 18822 support [default=auto]
1646  --enable-cet            enable Intel CET in target libraries [default=no]
1647  --enable-version-specific-runtime-libs
1648                          Specify that runtime libraries should be installed
1649                          in a compiler-specific directory
1650
1651Optional Packages:
1652  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1653  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1654  --with-target-subdir=SUBDIR
1655                          configuring in a subdirectory
1656  --with-cross-host=HOST  configuring with a cross compiler
1657  --with-newlib           assume newlib as a system C library
1658  --with-pic              try to use only PIC/non-PIC objects [default=use
1659                          both]
1660  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1661  --with-libstdcxx-lock-policy={atomic,mutex,auto}
1662                          synchronization policy for shared_ptr reference
1663                          counting [default=auto]
1664  --with-python-dir       the location to install Python modules. This path is
1665                          relative starting from the prefix.
1666  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1667  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1668  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1669  --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
1670  --with-system-libunwind use installed libunwind
1671  --with-default-libstdcxx-abi
1672                          set the std::string ABI to use by default
1673  --with-gxx-include-dir=DIR
1674                          installation directory for include files
1675  --with-toolexeclibdir=DIR
1676                          install libraries built with a cross compiler within
1677                          DIR
1678  --with-gcc-major-version-only
1679                          use only GCC major number in filesystem paths
1680
1681Some influential environment variables:
1682  CC          C compiler command
1683  CFLAGS      C compiler flags
1684  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1685              nonstandard directory <lib dir>
1686  LIBS        libraries to pass to the linker, e.g. -l<library>
1687  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1688              you have headers in a nonstandard directory <include dir>
1689  CXX         C++ compiler command
1690  CXXFLAGS    C++ compiler flags
1691  CPP         C preprocessor
1692  CXXCPP      C++ preprocessor
1693  CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1694              `c++filt', `gc++filt' on PATH.
1695
1696Use these variables to override the choices made by `configure' or to help
1697it to find libraries and programs with nonstandard names/locations.
1698
1699Report bugs to the package provider.
1700_ACEOF
1701ac_status=$?
1702fi
1703
1704if test "$ac_init_help" = "recursive"; then
1705  # If there are subdirs, report their specific --help.
1706  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1707    test -d "$ac_dir" ||
1708      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1709      continue
1710    ac_builddir=.
1711
1712case "$ac_dir" in
1713.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1714*)
1715  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1716  # A ".." for each directory in $ac_dir_suffix.
1717  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1718  case $ac_top_builddir_sub in
1719  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1720  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1721  esac ;;
1722esac
1723ac_abs_top_builddir=$ac_pwd
1724ac_abs_builddir=$ac_pwd$ac_dir_suffix
1725# for backward compatibility:
1726ac_top_builddir=$ac_top_build_prefix
1727
1728case $srcdir in
1729  .)  # We are building in place.
1730    ac_srcdir=.
1731    ac_top_srcdir=$ac_top_builddir_sub
1732    ac_abs_top_srcdir=$ac_pwd ;;
1733  [\\/]* | ?:[\\/]* )  # Absolute name.
1734    ac_srcdir=$srcdir$ac_dir_suffix;
1735    ac_top_srcdir=$srcdir
1736    ac_abs_top_srcdir=$srcdir ;;
1737  *) # Relative name.
1738    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1739    ac_top_srcdir=$ac_top_build_prefix$srcdir
1740    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1741esac
1742ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1743
1744    cd "$ac_dir" || { ac_status=$?; continue; }
1745    # Check for guested configure.
1746    if test -f "$ac_srcdir/configure.gnu"; then
1747      echo &&
1748      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1749    elif test -f "$ac_srcdir/configure"; then
1750      echo &&
1751      $SHELL "$ac_srcdir/configure" --help=recursive
1752    else
1753      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1754    fi || ac_status=$?
1755    cd "$ac_pwd" || { ac_status=$?; break; }
1756  done
1757fi
1758
1759test -n "$ac_init_help" && exit $ac_status
1760if $ac_init_version; then
1761  cat <<\_ACEOF
1762package-unused configure version-unused
1763generated by GNU Autoconf 2.69
1764
1765Copyright (C) 2012 Free Software Foundation, Inc.
1766This configure script is free software; the Free Software Foundation
1767gives unlimited permission to copy, distribute and modify it.
1768_ACEOF
1769  exit
1770fi
1771
1772## ------------------------ ##
1773## Autoconf initialization. ##
1774## ------------------------ ##
1775
1776# ac_fn_c_try_compile LINENO
1777# --------------------------
1778# Try to compile conftest.$ac_ext, and return whether this succeeded.
1779ac_fn_c_try_compile ()
1780{
1781  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782  rm -f conftest.$ac_objext
1783  if { { ac_try="$ac_compile"
1784case "(($ac_try" in
1785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786  *) ac_try_echo=$ac_try;;
1787esac
1788eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789$as_echo "$ac_try_echo"; } >&5
1790  (eval "$ac_compile") 2>conftest.err
1791  ac_status=$?
1792  if test -s conftest.err; then
1793    grep -v '^ *+' conftest.err >conftest.er1
1794    cat conftest.er1 >&5
1795    mv -f conftest.er1 conftest.err
1796  fi
1797  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798  test $ac_status = 0; } && {
1799	 test -z "$ac_c_werror_flag" ||
1800	 test ! -s conftest.err
1801       } && test -s conftest.$ac_objext; then :
1802  ac_retval=0
1803else
1804  $as_echo "$as_me: failed program was:" >&5
1805sed 's/^/| /' conftest.$ac_ext >&5
1806
1807	ac_retval=1
1808fi
1809  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810  as_fn_set_status $ac_retval
1811
1812} # ac_fn_c_try_compile
1813
1814# ac_fn_cxx_try_compile LINENO
1815# ----------------------------
1816# Try to compile conftest.$ac_ext, and return whether this succeeded.
1817ac_fn_cxx_try_compile ()
1818{
1819  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820  rm -f conftest.$ac_objext
1821  if { { ac_try="$ac_compile"
1822case "(($ac_try" in
1823  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824  *) ac_try_echo=$ac_try;;
1825esac
1826eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827$as_echo "$ac_try_echo"; } >&5
1828  (eval "$ac_compile") 2>conftest.err
1829  ac_status=$?
1830  if test -s conftest.err; then
1831    grep -v '^ *+' conftest.err >conftest.er1
1832    cat conftest.er1 >&5
1833    mv -f conftest.er1 conftest.err
1834  fi
1835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836  test $ac_status = 0; } && {
1837	 test -z "$ac_cxx_werror_flag" ||
1838	 test ! -s conftest.err
1839       } && test -s conftest.$ac_objext; then :
1840  ac_retval=0
1841else
1842  $as_echo "$as_me: failed program was:" >&5
1843sed 's/^/| /' conftest.$ac_ext >&5
1844
1845	ac_retval=1
1846fi
1847  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848  as_fn_set_status $ac_retval
1849
1850} # ac_fn_cxx_try_compile
1851
1852# ac_fn_c_try_cpp LINENO
1853# ----------------------
1854# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1855ac_fn_c_try_cpp ()
1856{
1857  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858  if { { ac_try="$ac_cpp conftest.$ac_ext"
1859case "(($ac_try" in
1860  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861  *) ac_try_echo=$ac_try;;
1862esac
1863eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864$as_echo "$ac_try_echo"; } >&5
1865  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1866  ac_status=$?
1867  if test -s conftest.err; then
1868    grep -v '^ *+' conftest.err >conftest.er1
1869    cat conftest.er1 >&5
1870    mv -f conftest.er1 conftest.err
1871  fi
1872  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873  test $ac_status = 0; } > conftest.i && {
1874	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1875	 test ! -s conftest.err
1876       }; then :
1877  ac_retval=0
1878else
1879  $as_echo "$as_me: failed program was:" >&5
1880sed 's/^/| /' conftest.$ac_ext >&5
1881
1882    ac_retval=1
1883fi
1884  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885  as_fn_set_status $ac_retval
1886
1887} # ac_fn_c_try_cpp
1888
1889# ac_fn_c_try_link LINENO
1890# -----------------------
1891# Try to link conftest.$ac_ext, and return whether this succeeded.
1892ac_fn_c_try_link ()
1893{
1894  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895  rm -f conftest.$ac_objext conftest$ac_exeext
1896  if { { ac_try="$ac_link"
1897case "(($ac_try" in
1898  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899  *) ac_try_echo=$ac_try;;
1900esac
1901eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902$as_echo "$ac_try_echo"; } >&5
1903  (eval "$ac_link") 2>conftest.err
1904  ac_status=$?
1905  if test -s conftest.err; then
1906    grep -v '^ *+' conftest.err >conftest.er1
1907    cat conftest.er1 >&5
1908    mv -f conftest.er1 conftest.err
1909  fi
1910  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911  test $ac_status = 0; } && {
1912	 test -z "$ac_c_werror_flag" ||
1913	 test ! -s conftest.err
1914       } && test -s conftest$ac_exeext && {
1915	 test "$cross_compiling" = yes ||
1916	 test -x conftest$ac_exeext
1917       }; then :
1918  ac_retval=0
1919else
1920  $as_echo "$as_me: failed program was:" >&5
1921sed 's/^/| /' conftest.$ac_ext >&5
1922
1923	ac_retval=1
1924fi
1925  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1926  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1927  # interfere with the next link command; also delete a directory that is
1928  # left behind by Apple's compiler.  We do this before executing the actions.
1929  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931  as_fn_set_status $ac_retval
1932
1933} # ac_fn_c_try_link
1934
1935# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1936# -------------------------------------------------------
1937# Tests whether HEADER exists and can be compiled using the include files in
1938# INCLUDES, setting the cache variable VAR accordingly.
1939ac_fn_c_check_header_compile ()
1940{
1941  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1943$as_echo_n "checking for $2... " >&6; }
1944if eval \${$3+:} false; then :
1945  $as_echo_n "(cached) " >&6
1946else
1947  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948/* end confdefs.h.  */
1949$4
1950#include <$2>
1951_ACEOF
1952if ac_fn_c_try_compile "$LINENO"; then :
1953  eval "$3=yes"
1954else
1955  eval "$3=no"
1956fi
1957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1958fi
1959eval ac_res=\$$3
1960	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961$as_echo "$ac_res" >&6; }
1962  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963
1964} # ac_fn_c_check_header_compile
1965
1966# ac_fn_c_try_run LINENO
1967# ----------------------
1968# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1969# that executables *can* be run.
1970ac_fn_c_try_run ()
1971{
1972  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973  if { { ac_try="$ac_link"
1974case "(($ac_try" in
1975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976  *) ac_try_echo=$ac_try;;
1977esac
1978eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979$as_echo "$ac_try_echo"; } >&5
1980  (eval "$ac_link") 2>&5
1981  ac_status=$?
1982  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1984  { { case "(($ac_try" in
1985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986  *) ac_try_echo=$ac_try;;
1987esac
1988eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989$as_echo "$ac_try_echo"; } >&5
1990  (eval "$ac_try") 2>&5
1991  ac_status=$?
1992  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1993  test $ac_status = 0; }; }; then :
1994  ac_retval=0
1995else
1996  $as_echo "$as_me: program exited with status $ac_status" >&5
1997       $as_echo "$as_me: failed program was:" >&5
1998sed 's/^/| /' conftest.$ac_ext >&5
1999
2000       ac_retval=$ac_status
2001fi
2002  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2003  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004  as_fn_set_status $ac_retval
2005
2006} # ac_fn_c_try_run
2007
2008# ac_fn_c_check_func LINENO FUNC VAR
2009# ----------------------------------
2010# Tests whether FUNC exists, setting the cache variable VAR accordingly
2011ac_fn_c_check_func ()
2012{
2013  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015$as_echo_n "checking for $2... " >&6; }
2016if eval \${$3+:} false; then :
2017  $as_echo_n "(cached) " >&6
2018else
2019  if test x$gcc_no_link = xyes; then
2020  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2021fi
2022cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023/* end confdefs.h.  */
2024/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2025   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2026#define $2 innocuous_$2
2027
2028/* System header to define __stub macros and hopefully few prototypes,
2029    which can conflict with char $2 (); below.
2030    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2031    <limits.h> exists even on freestanding compilers.  */
2032
2033#ifdef __STDC__
2034# include <limits.h>
2035#else
2036# include <assert.h>
2037#endif
2038
2039#undef $2
2040
2041/* Override any GCC internal prototype to avoid an error.
2042   Use char because int might match the return type of a GCC
2043   builtin and then its argument prototype would still apply.  */
2044#ifdef __cplusplus
2045extern "C"
2046#endif
2047char $2 ();
2048/* The GNU C library defines this for functions which it implements
2049    to always fail with ENOSYS.  Some functions are actually named
2050    something starting with __ and the normal name is an alias.  */
2051#if defined __stub_$2 || defined __stub___$2
2052choke me
2053#endif
2054
2055int
2056main ()
2057{
2058return $2 ();
2059  ;
2060  return 0;
2061}
2062_ACEOF
2063if ac_fn_c_try_link "$LINENO"; then :
2064  eval "$3=yes"
2065else
2066  eval "$3=no"
2067fi
2068rm -f core conftest.err conftest.$ac_objext \
2069    conftest$ac_exeext conftest.$ac_ext
2070fi
2071eval ac_res=\$$3
2072	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073$as_echo "$ac_res" >&6; }
2074  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075
2076} # ac_fn_c_check_func
2077
2078# ac_fn_cxx_try_cpp LINENO
2079# ------------------------
2080# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2081ac_fn_cxx_try_cpp ()
2082{
2083  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084  if { { ac_try="$ac_cpp conftest.$ac_ext"
2085case "(($ac_try" in
2086  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2087  *) ac_try_echo=$ac_try;;
2088esac
2089eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2090$as_echo "$ac_try_echo"; } >&5
2091  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2092  ac_status=$?
2093  if test -s conftest.err; then
2094    grep -v '^ *+' conftest.err >conftest.er1
2095    cat conftest.er1 >&5
2096    mv -f conftest.er1 conftest.err
2097  fi
2098  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2099  test $ac_status = 0; } > conftest.i && {
2100	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2101	 test ! -s conftest.err
2102       }; then :
2103  ac_retval=0
2104else
2105  $as_echo "$as_me: failed program was:" >&5
2106sed 's/^/| /' conftest.$ac_ext >&5
2107
2108    ac_retval=1
2109fi
2110  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2111  as_fn_set_status $ac_retval
2112
2113} # ac_fn_cxx_try_cpp
2114
2115# ac_fn_cxx_try_link LINENO
2116# -------------------------
2117# Try to link conftest.$ac_ext, and return whether this succeeded.
2118ac_fn_cxx_try_link ()
2119{
2120  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121  rm -f conftest.$ac_objext conftest$ac_exeext
2122  if { { ac_try="$ac_link"
2123case "(($ac_try" in
2124  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2125  *) ac_try_echo=$ac_try;;
2126esac
2127eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2128$as_echo "$ac_try_echo"; } >&5
2129  (eval "$ac_link") 2>conftest.err
2130  ac_status=$?
2131  if test -s conftest.err; then
2132    grep -v '^ *+' conftest.err >conftest.er1
2133    cat conftest.er1 >&5
2134    mv -f conftest.er1 conftest.err
2135  fi
2136  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2137  test $ac_status = 0; } && {
2138	 test -z "$ac_cxx_werror_flag" ||
2139	 test ! -s conftest.err
2140       } && test -s conftest$ac_exeext && {
2141	 test "$cross_compiling" = yes ||
2142	 test -x conftest$ac_exeext
2143       }; then :
2144  ac_retval=0
2145else
2146  $as_echo "$as_me: failed program was:" >&5
2147sed 's/^/| /' conftest.$ac_ext >&5
2148
2149	ac_retval=1
2150fi
2151  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2152  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2153  # interfere with the next link command; also delete a directory that is
2154  # left behind by Apple's compiler.  We do this before executing the actions.
2155  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2156  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2157  as_fn_set_status $ac_retval
2158
2159} # ac_fn_cxx_try_link
2160
2161# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2162# -------------------------------------------------------
2163# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2164# the include files in INCLUDES and setting the cache variable VAR
2165# accordingly.
2166ac_fn_c_check_header_mongrel ()
2167{
2168  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2169  if eval \${$3+:} false; then :
2170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2171$as_echo_n "checking for $2... " >&6; }
2172if eval \${$3+:} false; then :
2173  $as_echo_n "(cached) " >&6
2174fi
2175eval ac_res=\$$3
2176	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177$as_echo "$ac_res" >&6; }
2178else
2179  # Is the header compilable?
2180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2181$as_echo_n "checking $2 usability... " >&6; }
2182cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183/* end confdefs.h.  */
2184$4
2185#include <$2>
2186_ACEOF
2187if ac_fn_c_try_compile "$LINENO"; then :
2188  ac_header_compiler=yes
2189else
2190  ac_header_compiler=no
2191fi
2192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2194$as_echo "$ac_header_compiler" >&6; }
2195
2196# Is the header present?
2197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2198$as_echo_n "checking $2 presence... " >&6; }
2199cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200/* end confdefs.h.  */
2201#include <$2>
2202_ACEOF
2203if ac_fn_c_try_cpp "$LINENO"; then :
2204  ac_header_preproc=yes
2205else
2206  ac_header_preproc=no
2207fi
2208rm -f conftest.err conftest.i conftest.$ac_ext
2209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2210$as_echo "$ac_header_preproc" >&6; }
2211
2212# So?  What about this header?
2213case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2214  yes:no: )
2215    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2216$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2217    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2218$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2219    ;;
2220  no:yes:* )
2221    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2222$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2223    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2224$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2225    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2226$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2227    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2228$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2229    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2230$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2231    ;;
2232esac
2233  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2234$as_echo_n "checking for $2... " >&6; }
2235if eval \${$3+:} false; then :
2236  $as_echo_n "(cached) " >&6
2237else
2238  eval "$3=\$ac_header_compiler"
2239fi
2240eval ac_res=\$$3
2241	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2242$as_echo "$ac_res" >&6; }
2243fi
2244  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2245
2246} # ac_fn_c_check_header_mongrel
2247
2248# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2249# ---------------------------------------------------------
2250# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2251# the include files in INCLUDES and setting the cache variable VAR
2252# accordingly.
2253ac_fn_cxx_check_header_mongrel ()
2254{
2255  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256  if eval \${$3+:} false; then :
2257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2258$as_echo_n "checking for $2... " >&6; }
2259if eval \${$3+:} false; then :
2260  $as_echo_n "(cached) " >&6
2261fi
2262eval ac_res=\$$3
2263	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264$as_echo "$ac_res" >&6; }
2265else
2266  # Is the header compilable?
2267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2268$as_echo_n "checking $2 usability... " >&6; }
2269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270/* end confdefs.h.  */
2271$4
2272#include <$2>
2273_ACEOF
2274if ac_fn_cxx_try_compile "$LINENO"; then :
2275  ac_header_compiler=yes
2276else
2277  ac_header_compiler=no
2278fi
2279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2281$as_echo "$ac_header_compiler" >&6; }
2282
2283# Is the header present?
2284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2285$as_echo_n "checking $2 presence... " >&6; }
2286cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287/* end confdefs.h.  */
2288#include <$2>
2289_ACEOF
2290if ac_fn_cxx_try_cpp "$LINENO"; then :
2291  ac_header_preproc=yes
2292else
2293  ac_header_preproc=no
2294fi
2295rm -f conftest.err conftest.i conftest.$ac_ext
2296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2297$as_echo "$ac_header_preproc" >&6; }
2298
2299# So?  What about this header?
2300case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2301  yes:no: )
2302    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2303$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2304    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2305$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2306    ;;
2307  no:yes:* )
2308    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2309$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2310    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2311$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2312    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2313$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2314    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2315$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2316    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2317$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2318    ;;
2319esac
2320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2321$as_echo_n "checking for $2... " >&6; }
2322if eval \${$3+:} false; then :
2323  $as_echo_n "(cached) " >&6
2324else
2325  eval "$3=\$ac_header_compiler"
2326fi
2327eval ac_res=\$$3
2328	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2329$as_echo "$ac_res" >&6; }
2330fi
2331  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2332
2333} # ac_fn_cxx_check_header_mongrel
2334
2335# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2336# --------------------------------------------
2337# Tries to find the compile-time value of EXPR in a program that includes
2338# INCLUDES, setting VAR accordingly. Returns whether the value could be
2339# computed
2340ac_fn_c_compute_int ()
2341{
2342  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2343  if test "$cross_compiling" = yes; then
2344    # Depending upon the size, compute the lo and hi bounds.
2345cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346/* end confdefs.h.  */
2347$4
2348int
2349main ()
2350{
2351static int test_array [1 - 2 * !(($2) >= 0)];
2352test_array [0] = 0;
2353return test_array [0];
2354
2355  ;
2356  return 0;
2357}
2358_ACEOF
2359if ac_fn_c_try_compile "$LINENO"; then :
2360  ac_lo=0 ac_mid=0
2361  while :; do
2362    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2363/* end confdefs.h.  */
2364$4
2365int
2366main ()
2367{
2368static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2369test_array [0] = 0;
2370return test_array [0];
2371
2372  ;
2373  return 0;
2374}
2375_ACEOF
2376if ac_fn_c_try_compile "$LINENO"; then :
2377  ac_hi=$ac_mid; break
2378else
2379  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2380			if test $ac_lo -le $ac_mid; then
2381			  ac_lo= ac_hi=
2382			  break
2383			fi
2384			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2385fi
2386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2387  done
2388else
2389  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2390/* end confdefs.h.  */
2391$4
2392int
2393main ()
2394{
2395static int test_array [1 - 2 * !(($2) < 0)];
2396test_array [0] = 0;
2397return test_array [0];
2398
2399  ;
2400  return 0;
2401}
2402_ACEOF
2403if ac_fn_c_try_compile "$LINENO"; then :
2404  ac_hi=-1 ac_mid=-1
2405  while :; do
2406    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2407/* end confdefs.h.  */
2408$4
2409int
2410main ()
2411{
2412static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2413test_array [0] = 0;
2414return test_array [0];
2415
2416  ;
2417  return 0;
2418}
2419_ACEOF
2420if ac_fn_c_try_compile "$LINENO"; then :
2421  ac_lo=$ac_mid; break
2422else
2423  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2424			if test $ac_mid -le $ac_hi; then
2425			  ac_lo= ac_hi=
2426			  break
2427			fi
2428			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2429fi
2430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2431  done
2432else
2433  ac_lo= ac_hi=
2434fi
2435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436fi
2437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438# Binary search between lo and hi bounds.
2439while test "x$ac_lo" != "x$ac_hi"; do
2440  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2441  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442/* end confdefs.h.  */
2443$4
2444int
2445main ()
2446{
2447static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2448test_array [0] = 0;
2449return test_array [0];
2450
2451  ;
2452  return 0;
2453}
2454_ACEOF
2455if ac_fn_c_try_compile "$LINENO"; then :
2456  ac_hi=$ac_mid
2457else
2458  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2459fi
2460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2461done
2462case $ac_lo in #((
2463?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2464'') ac_retval=1 ;;
2465esac
2466  else
2467    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2468/* end confdefs.h.  */
2469$4
2470static long int longval () { return $2; }
2471static unsigned long int ulongval () { return $2; }
2472#include <stdio.h>
2473#include <stdlib.h>
2474int
2475main ()
2476{
2477
2478  FILE *f = fopen ("conftest.val", "w");
2479  if (! f)
2480    return 1;
2481  if (($2) < 0)
2482    {
2483      long int i = longval ();
2484      if (i != ($2))
2485	return 1;
2486      fprintf (f, "%ld", i);
2487    }
2488  else
2489    {
2490      unsigned long int i = ulongval ();
2491      if (i != ($2))
2492	return 1;
2493      fprintf (f, "%lu", i);
2494    }
2495  /* Do not output a trailing newline, as this causes \r\n confusion
2496     on some platforms.  */
2497  return ferror (f) || fclose (f) != 0;
2498
2499  ;
2500  return 0;
2501}
2502_ACEOF
2503if ac_fn_c_try_run "$LINENO"; then :
2504  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2505else
2506  ac_retval=1
2507fi
2508rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2509  conftest.$ac_objext conftest.beam conftest.$ac_ext
2510rm -f conftest.val
2511
2512  fi
2513  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2514  as_fn_set_status $ac_retval
2515
2516} # ac_fn_c_compute_int
2517
2518# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2519# -------------------------------------------
2520# Tests whether TYPE exists after having included INCLUDES, setting cache
2521# variable VAR accordingly.
2522ac_fn_c_check_type ()
2523{
2524  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2525  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2526$as_echo_n "checking for $2... " >&6; }
2527if eval \${$3+:} false; then :
2528  $as_echo_n "(cached) " >&6
2529else
2530  eval "$3=no"
2531  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532/* end confdefs.h.  */
2533$4
2534int
2535main ()
2536{
2537if (sizeof ($2))
2538	 return 0;
2539  ;
2540  return 0;
2541}
2542_ACEOF
2543if ac_fn_c_try_compile "$LINENO"; then :
2544  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545/* end confdefs.h.  */
2546$4
2547int
2548main ()
2549{
2550if (sizeof (($2)))
2551	    return 0;
2552  ;
2553  return 0;
2554}
2555_ACEOF
2556if ac_fn_c_try_compile "$LINENO"; then :
2557
2558else
2559  eval "$3=yes"
2560fi
2561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562fi
2563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2564fi
2565eval ac_res=\$$3
2566	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2567$as_echo "$ac_res" >&6; }
2568  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2569
2570} # ac_fn_c_check_type
2571
2572# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2573# ---------------------------------------------
2574# Tests whether TYPE exists after having included INCLUDES, setting cache
2575# variable VAR accordingly.
2576ac_fn_cxx_check_type ()
2577{
2578  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2579  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2580$as_echo_n "checking for $2... " >&6; }
2581if eval \${$3+:} false; then :
2582  $as_echo_n "(cached) " >&6
2583else
2584  eval "$3=no"
2585  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586/* end confdefs.h.  */
2587$4
2588int
2589main ()
2590{
2591if (sizeof ($2))
2592	 return 0;
2593  ;
2594  return 0;
2595}
2596_ACEOF
2597if ac_fn_cxx_try_compile "$LINENO"; then :
2598  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599/* end confdefs.h.  */
2600$4
2601int
2602main ()
2603{
2604if (sizeof (($2)))
2605	    return 0;
2606  ;
2607  return 0;
2608}
2609_ACEOF
2610if ac_fn_cxx_try_compile "$LINENO"; then :
2611
2612else
2613  eval "$3=yes"
2614fi
2615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2616fi
2617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2618fi
2619eval ac_res=\$$3
2620	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2621$as_echo "$ac_res" >&6; }
2622  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2623
2624} # ac_fn_cxx_check_type
2625cat >config.log <<_ACEOF
2626This file contains any messages produced by compilers while
2627running configure, to aid debugging if configure makes a mistake.
2628
2629It was created by package-unused $as_me version-unused, which was
2630generated by GNU Autoconf 2.69.  Invocation command line was
2631
2632  $ $0 $@
2633
2634_ACEOF
2635exec 5>>config.log
2636{
2637cat <<_ASUNAME
2638## --------- ##
2639## Platform. ##
2640## --------- ##
2641
2642hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2643uname -m = `(uname -m) 2>/dev/null || echo unknown`
2644uname -r = `(uname -r) 2>/dev/null || echo unknown`
2645uname -s = `(uname -s) 2>/dev/null || echo unknown`
2646uname -v = `(uname -v) 2>/dev/null || echo unknown`
2647
2648/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2649/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2650
2651/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2652/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2653/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2654/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2655/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2656/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2657/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2658
2659_ASUNAME
2660
2661as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662for as_dir in $PATH
2663do
2664  IFS=$as_save_IFS
2665  test -z "$as_dir" && as_dir=.
2666    $as_echo "PATH: $as_dir"
2667  done
2668IFS=$as_save_IFS
2669
2670} >&5
2671
2672cat >&5 <<_ACEOF
2673
2674
2675## ----------- ##
2676## Core tests. ##
2677## ----------- ##
2678
2679_ACEOF
2680
2681
2682# Keep a trace of the command line.
2683# Strip out --no-create and --no-recursion so they do not pile up.
2684# Strip out --silent because we don't want to record it for future runs.
2685# Also quote any args containing shell meta-characters.
2686# Make two passes to allow for proper duplicate-argument suppression.
2687ac_configure_args=
2688ac_configure_args0=
2689ac_configure_args1=
2690ac_must_keep_next=false
2691for ac_pass in 1 2
2692do
2693  for ac_arg
2694  do
2695    case $ac_arg in
2696    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2697    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2698    | -silent | --silent | --silen | --sile | --sil)
2699      continue ;;
2700    *\'*)
2701      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2702    esac
2703    case $ac_pass in
2704    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2705    2)
2706      as_fn_append ac_configure_args1 " '$ac_arg'"
2707      if test $ac_must_keep_next = true; then
2708	ac_must_keep_next=false # Got value, back to normal.
2709      else
2710	case $ac_arg in
2711	  *=* | --config-cache | -C | -disable-* | --disable-* \
2712	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2713	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2714	  | -with-* | --with-* | -without-* | --without-* | --x)
2715	    case "$ac_configure_args0 " in
2716	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2717	    esac
2718	    ;;
2719	  -* ) ac_must_keep_next=true ;;
2720	esac
2721      fi
2722      as_fn_append ac_configure_args " '$ac_arg'"
2723      ;;
2724    esac
2725  done
2726done
2727{ ac_configure_args0=; unset ac_configure_args0;}
2728{ ac_configure_args1=; unset ac_configure_args1;}
2729
2730# When interrupted or exit'd, cleanup temporary files, and complete
2731# config.log.  We remove comments because anyway the quotes in there
2732# would cause problems or look ugly.
2733# WARNING: Use '\'' to represent an apostrophe within the trap.
2734# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2735trap 'exit_status=$?
2736  # Save into config.log some information that might help in debugging.
2737  {
2738    echo
2739
2740    $as_echo "## ---------------- ##
2741## Cache variables. ##
2742## ---------------- ##"
2743    echo
2744    # The following way of writing the cache mishandles newlines in values,
2745(
2746  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2747    eval ac_val=\$$ac_var
2748    case $ac_val in #(
2749    *${as_nl}*)
2750      case $ac_var in #(
2751      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2752$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2753      esac
2754      case $ac_var in #(
2755      _ | IFS | as_nl) ;; #(
2756      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2757      *) { eval $ac_var=; unset $ac_var;} ;;
2758      esac ;;
2759    esac
2760  done
2761  (set) 2>&1 |
2762    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2763    *${as_nl}ac_space=\ *)
2764      sed -n \
2765	"s/'\''/'\''\\\\'\'''\''/g;
2766	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2767      ;; #(
2768    *)
2769      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2770      ;;
2771    esac |
2772    sort
2773)
2774    echo
2775
2776    $as_echo "## ----------------- ##
2777## Output variables. ##
2778## ----------------- ##"
2779    echo
2780    for ac_var in $ac_subst_vars
2781    do
2782      eval ac_val=\$$ac_var
2783      case $ac_val in
2784      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2785      esac
2786      $as_echo "$ac_var='\''$ac_val'\''"
2787    done | sort
2788    echo
2789
2790    if test -n "$ac_subst_files"; then
2791      $as_echo "## ------------------- ##
2792## File substitutions. ##
2793## ------------------- ##"
2794      echo
2795      for ac_var in $ac_subst_files
2796      do
2797	eval ac_val=\$$ac_var
2798	case $ac_val in
2799	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2800	esac
2801	$as_echo "$ac_var='\''$ac_val'\''"
2802      done | sort
2803      echo
2804    fi
2805
2806    if test -s confdefs.h; then
2807      $as_echo "## ----------- ##
2808## confdefs.h. ##
2809## ----------- ##"
2810      echo
2811      cat confdefs.h
2812      echo
2813    fi
2814    test "$ac_signal" != 0 &&
2815      $as_echo "$as_me: caught signal $ac_signal"
2816    $as_echo "$as_me: exit $exit_status"
2817  } >&5
2818  rm -f core *.core core.conftest.* &&
2819    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2820    exit $exit_status
2821' 0
2822for ac_signal in 1 2 13 15; do
2823  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2824done
2825ac_signal=0
2826
2827# confdefs.h avoids OS command line length limits that DEFS can exceed.
2828rm -f -r conftest* confdefs.h
2829
2830$as_echo "/* confdefs.h */" > confdefs.h
2831
2832# Predefined preprocessor variables.
2833
2834cat >>confdefs.h <<_ACEOF
2835#define PACKAGE_NAME "$PACKAGE_NAME"
2836_ACEOF
2837
2838cat >>confdefs.h <<_ACEOF
2839#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2840_ACEOF
2841
2842cat >>confdefs.h <<_ACEOF
2843#define PACKAGE_VERSION "$PACKAGE_VERSION"
2844_ACEOF
2845
2846cat >>confdefs.h <<_ACEOF
2847#define PACKAGE_STRING "$PACKAGE_STRING"
2848_ACEOF
2849
2850cat >>confdefs.h <<_ACEOF
2851#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2852_ACEOF
2853
2854cat >>confdefs.h <<_ACEOF
2855#define PACKAGE_URL "$PACKAGE_URL"
2856_ACEOF
2857
2858
2859# Let the site file select an alternate cache file if it wants to.
2860# Prefer an explicitly selected file to automatically selected ones.
2861ac_site_file1=NONE
2862ac_site_file2=NONE
2863if test -n "$CONFIG_SITE"; then
2864  # We do not want a PATH search for config.site.
2865  case $CONFIG_SITE in #((
2866    -*)  ac_site_file1=./$CONFIG_SITE;;
2867    */*) ac_site_file1=$CONFIG_SITE;;
2868    *)   ac_site_file1=./$CONFIG_SITE;;
2869  esac
2870elif test "x$prefix" != xNONE; then
2871  ac_site_file1=$prefix/share/config.site
2872  ac_site_file2=$prefix/etc/config.site
2873else
2874  ac_site_file1=$ac_default_prefix/share/config.site
2875  ac_site_file2=$ac_default_prefix/etc/config.site
2876fi
2877for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2878do
2879  test "x$ac_site_file" = xNONE && continue
2880  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2881    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2882$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2883    sed 's/^/| /' "$ac_site_file" >&5
2884    . "$ac_site_file" \
2885      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2886$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2887as_fn_error $? "failed to load site script $ac_site_file
2888See \`config.log' for more details" "$LINENO" 5; }
2889  fi
2890done
2891
2892if test -r "$cache_file"; then
2893  # Some versions of bash will fail to source /dev/null (special files
2894  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2895  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2896    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2897$as_echo "$as_me: loading cache $cache_file" >&6;}
2898    case $cache_file in
2899      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2900      *)                      . "./$cache_file";;
2901    esac
2902  fi
2903else
2904  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2905$as_echo "$as_me: creating cache $cache_file" >&6;}
2906  >$cache_file
2907fi
2908
2909# Check that the precious variables saved in the cache have kept the same
2910# value.
2911ac_cache_corrupted=false
2912for ac_var in $ac_precious_vars; do
2913  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2914  eval ac_new_set=\$ac_env_${ac_var}_set
2915  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2916  eval ac_new_val=\$ac_env_${ac_var}_value
2917  case $ac_old_set,$ac_new_set in
2918    set,)
2919      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2920$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2921      ac_cache_corrupted=: ;;
2922    ,set)
2923      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2924$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2925      ac_cache_corrupted=: ;;
2926    ,);;
2927    *)
2928      if test "x$ac_old_val" != "x$ac_new_val"; then
2929	# differences in whitespace do not lead to failure.
2930	ac_old_val_w=`echo x $ac_old_val`
2931	ac_new_val_w=`echo x $ac_new_val`
2932	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2933	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2934$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2935	  ac_cache_corrupted=:
2936	else
2937	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2938$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2939	  eval $ac_var=\$ac_old_val
2940	fi
2941	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2942$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2943	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2944$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2945      fi;;
2946  esac
2947  # Pass precious variables to config.status.
2948  if test "$ac_new_set" = set; then
2949    case $ac_new_val in
2950    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2951    *) ac_arg=$ac_var=$ac_new_val ;;
2952    esac
2953    case " $ac_configure_args " in
2954      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2955      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2956    esac
2957  fi
2958done
2959if $ac_cache_corrupted; then
2960  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2961$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2962  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2963$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2964  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2965fi
2966## -------------------- ##
2967## Main body of script. ##
2968## -------------------- ##
2969
2970ac_ext=c
2971ac_cpp='$CPP $CPPFLAGS'
2972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2974ac_compiler_gnu=$ac_cv_c_compiler_gnu
2975
2976
2977
2978
2979
2980
2981ac_config_headers="$ac_config_headers config.h"
2982
2983
2984# This works around the fact that libtool configuration may change LD
2985# for this particular configuration, but some shells, instead of
2986# keeping the changes in LD private, export them just because LD is
2987# exported.  Only used at the end of this file.
2988### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2989
2990# Find the rest of the source tree framework.
2991# Default to --enable-multilib
2992# Check whether --enable-multilib was given.
2993if test "${enable_multilib+set}" = set; then :
2994  enableval=$enable_multilib; case "$enableval" in
2995  yes) multilib=yes ;;
2996  no)  multilib=no ;;
2997  *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2998 esac
2999else
3000  multilib=yes
3001fi
3002
3003
3004# We may get other options which we leave undocumented:
3005# --with-target-subdir, --with-multisrctop, --with-multisubdir
3006# See config-ml.in if you want the gory details.
3007
3008if test "$srcdir" = "."; then
3009  if test "$with_target_subdir" != "."; then
3010    multi_basedir="$srcdir/$with_multisrctop../.."
3011  else
3012    multi_basedir="$srcdir/$with_multisrctop.."
3013  fi
3014else
3015  multi_basedir="$srcdir/.."
3016fi
3017
3018
3019# Even if the default multilib is not a cross compilation,
3020# it may be that some of the other multilibs are.
3021if test $cross_compiling = no && test $multilib = yes \
3022   && test "x${with_multisubdir}" != x ; then
3023   cross_compiling=maybe
3024fi
3025
3026ac_config_commands="$ac_config_commands default-1"
3027
3028
3029# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3030#
3031# You will slowly go insane if you do not grok the following fact:  when
3032# building v3 as part of the compiler, the top-level /target/ becomes the
3033# library's /host/.  configure then causes --target to default to --host,
3034# exactly like any other package using autoconf.  Therefore, 'target' and
3035# 'host' will always be the same.  This makes sense both for native and
3036# cross compilers, just think about it for a little while.  :-)
3037#
3038# Also, if v3 is being configured as part of a cross compiler, the top-level
3039# configure script will pass the "real" host as $with_cross_host.
3040#
3041# Do not delete or change the following two lines.  For why, see
3042# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3043ac_aux_dir=
3044for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3045  if test -f "$ac_dir/install-sh"; then
3046    ac_aux_dir=$ac_dir
3047    ac_install_sh="$ac_aux_dir/install-sh -c"
3048    break
3049  elif test -f "$ac_dir/install.sh"; then
3050    ac_aux_dir=$ac_dir
3051    ac_install_sh="$ac_aux_dir/install.sh -c"
3052    break
3053  elif test -f "$ac_dir/shtool"; then
3054    ac_aux_dir=$ac_dir
3055    ac_install_sh="$ac_aux_dir/shtool install -c"
3056    break
3057  fi
3058done
3059if test -z "$ac_aux_dir"; then
3060  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3061fi
3062
3063# These three variables are undocumented and unsupported,
3064# and are intended to be withdrawn in a future Autoconf release.
3065# They can cause serious problems if a builder's source tree is in a directory
3066# whose full name contains unusual characters.
3067ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3068ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3069ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3070
3071
3072# Make sure we can run config.sub.
3073$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3074  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3075
3076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3077$as_echo_n "checking build system type... " >&6; }
3078if ${ac_cv_build+:} false; then :
3079  $as_echo_n "(cached) " >&6
3080else
3081  ac_build_alias=$build_alias
3082test "x$ac_build_alias" = x &&
3083  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3084test "x$ac_build_alias" = x &&
3085  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3086ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3087  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3088
3089fi
3090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3091$as_echo "$ac_cv_build" >&6; }
3092case $ac_cv_build in
3093*-*-*) ;;
3094*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3095esac
3096build=$ac_cv_build
3097ac_save_IFS=$IFS; IFS='-'
3098set x $ac_cv_build
3099shift
3100build_cpu=$1
3101build_vendor=$2
3102shift; shift
3103# Remember, the first character of IFS is used to create $*,
3104# except with old shells:
3105build_os=$*
3106IFS=$ac_save_IFS
3107case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3108
3109
3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3111$as_echo_n "checking host system type... " >&6; }
3112if ${ac_cv_host+:} false; then :
3113  $as_echo_n "(cached) " >&6
3114else
3115  if test "x$host_alias" = x; then
3116  ac_cv_host=$ac_cv_build
3117else
3118  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3119    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3120fi
3121
3122fi
3123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3124$as_echo "$ac_cv_host" >&6; }
3125case $ac_cv_host in
3126*-*-*) ;;
3127*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3128esac
3129host=$ac_cv_host
3130ac_save_IFS=$IFS; IFS='-'
3131set x $ac_cv_host
3132shift
3133host_cpu=$1
3134host_vendor=$2
3135shift; shift
3136# Remember, the first character of IFS is used to create $*,
3137# except with old shells:
3138host_os=$*
3139IFS=$ac_save_IFS
3140case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3141
3142
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3144$as_echo_n "checking target system type... " >&6; }
3145if ${ac_cv_target+:} false; then :
3146  $as_echo_n "(cached) " >&6
3147else
3148  if test "x$target_alias" = x; then
3149  ac_cv_target=$ac_cv_host
3150else
3151  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3152    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3153fi
3154
3155fi
3156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3157$as_echo "$ac_cv_target" >&6; }
3158case $ac_cv_target in
3159*-*-*) ;;
3160*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3161esac
3162target=$ac_cv_target
3163ac_save_IFS=$IFS; IFS='-'
3164set x $ac_cv_target
3165shift
3166target_cpu=$1
3167target_vendor=$2
3168shift; shift
3169# Remember, the first character of IFS is used to create $*,
3170# except with old shells:
3171target_os=$*
3172IFS=$ac_save_IFS
3173case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3174
3175
3176# The aliases save the names the user supplied, while $host etc.
3177# will get canonicalized.
3178test -n "$target_alias" &&
3179  test "$program_prefix$program_suffix$program_transform_name" = \
3180    NONENONEs,x,x, &&
3181  program_prefix=${target_alias}-
3182
3183target_alias=${target_alias-$host_alias}
3184
3185# Handy for debugging:
3186#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3187
3188if test "$build" != "$host"; then
3189  # We are being configured with some form of cross compiler.
3190  GLIBCXX_IS_NATIVE=false
3191  case "$host","$target" in
3192    # Darwin crosses can use the host system's libraries and headers,
3193    # because of the fat library support.  Of course, it must be the
3194    # same version of Darwin on both sides.  Allow the user to
3195    # just say --target=foo-darwin without a version number to mean
3196    # "the version on this system".
3197      *-*-darwin*,*-*-darwin*)
3198	hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3199	targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3200	if test $hostos = $targetos -o $targetos = darwin ; then
3201	  GLIBCXX_IS_NATIVE=true
3202	fi
3203	;;
3204
3205      *)
3206
3207	;;
3208  esac
3209else
3210  GLIBCXX_IS_NATIVE=true
3211fi
3212
3213# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3214# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3215#  1.x:  minimum required version
3216#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3217#              of other PACKAGE_* variables will, however, and there's nothing
3218#              we can do about that; they come from AC_INIT).
3219#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3220#            file in the top srcdir, etc, etc), so stop complaining.
3221#  no-dependencies:  turns off auto dependency generation (just for now)
3222#  no-dist:  we don't want 'dist' and related rules.
3223#  -Wall:  turns on all automake warnings...
3224#  -Wno-portability:  ...except this one, since GNU make is now required.
3225am__api_version='1.15'
3226
3227# Find a good install program.  We prefer a C program (faster),
3228# so one script is as good as another.  But avoid the broken or
3229# incompatible versions:
3230# SysV /etc/install, /usr/sbin/install
3231# SunOS /usr/etc/install
3232# IRIX /sbin/install
3233# AIX /bin/install
3234# AmigaOS /C/install, which installs bootblocks on floppy discs
3235# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3236# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3237# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3238# OS/2's system install, which has a completely different semantic
3239# ./install, which can be erroneously created by make from ./install.sh.
3240# Reject install programs that cannot install multiple files.
3241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3242$as_echo_n "checking for a BSD-compatible install... " >&6; }
3243if test -z "$INSTALL"; then
3244if ${ac_cv_path_install+:} false; then :
3245  $as_echo_n "(cached) " >&6
3246else
3247  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248for as_dir in $PATH
3249do
3250  IFS=$as_save_IFS
3251  test -z "$as_dir" && as_dir=.
3252    # Account for people who put trailing slashes in PATH elements.
3253case $as_dir/ in #((
3254  ./ | .// | /[cC]/* | \
3255  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3256  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3257  /usr/ucb/* ) ;;
3258  *)
3259    # OSF1 and SCO ODT 3.0 have their own names for install.
3260    # Don't use installbsd from OSF since it installs stuff as root
3261    # by default.
3262    for ac_prog in ginstall scoinst install; do
3263      for ac_exec_ext in '' $ac_executable_extensions; do
3264	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3265	  if test $ac_prog = install &&
3266	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3267	    # AIX install.  It has an incompatible calling convention.
3268	    :
3269	  elif test $ac_prog = install &&
3270	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3271	    # program-specific install script used by HP pwplus--don't use.
3272	    :
3273	  else
3274	    rm -rf conftest.one conftest.two conftest.dir
3275	    echo one > conftest.one
3276	    echo two > conftest.two
3277	    mkdir conftest.dir
3278	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3279	      test -s conftest.one && test -s conftest.two &&
3280	      test -s conftest.dir/conftest.one &&
3281	      test -s conftest.dir/conftest.two
3282	    then
3283	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3284	      break 3
3285	    fi
3286	  fi
3287	fi
3288      done
3289    done
3290    ;;
3291esac
3292
3293  done
3294IFS=$as_save_IFS
3295
3296rm -rf conftest.one conftest.two conftest.dir
3297
3298fi
3299  if test "${ac_cv_path_install+set}" = set; then
3300    INSTALL=$ac_cv_path_install
3301  else
3302    # As a last resort, use the slow shell script.  Don't cache a
3303    # value for INSTALL within a source directory, because that will
3304    # break other packages using the cache if that directory is
3305    # removed, or if the value is a relative name.
3306    INSTALL=$ac_install_sh
3307  fi
3308fi
3309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3310$as_echo "$INSTALL" >&6; }
3311
3312# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3313# It thinks the first close brace ends the variable substitution.
3314test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3315
3316test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3317
3318test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3319
3320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3321$as_echo_n "checking whether build environment is sane... " >&6; }
3322# Reject unsafe characters in $srcdir or the absolute working directory
3323# name.  Accept space and tab only in the latter.
3324am_lf='
3325'
3326case `pwd` in
3327  *[\\\"\#\$\&\'\`$am_lf]*)
3328    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3329esac
3330case $srcdir in
3331  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3332    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3333esac
3334
3335# Do 'set' in a subshell so we don't clobber the current shell's
3336# arguments.  Must try -L first in case configure is actually a
3337# symlink; some systems play weird games with the mod time of symlinks
3338# (eg FreeBSD returns the mod time of the symlink's containing
3339# directory).
3340if (
3341   am_has_slept=no
3342   for am_try in 1 2; do
3343     echo "timestamp, slept: $am_has_slept" > conftest.file
3344     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3345     if test "$*" = "X"; then
3346	# -L didn't work.
3347	set X `ls -t "$srcdir/configure" conftest.file`
3348     fi
3349     if test "$*" != "X $srcdir/configure conftest.file" \
3350	&& test "$*" != "X conftest.file $srcdir/configure"; then
3351
3352	# If neither matched, then we have a broken ls.  This can happen
3353	# if, for instance, CONFIG_SHELL is bash and it inherits a
3354	# broken ls alias from the environment.  This has actually
3355	# happened.  Such a system could not be considered "sane".
3356	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3357  alias in your environment" "$LINENO" 5
3358     fi
3359     if test "$2" = conftest.file || test $am_try -eq 2; then
3360       break
3361     fi
3362     # Just in case.
3363     sleep 1
3364     am_has_slept=yes
3365   done
3366   test "$2" = conftest.file
3367   )
3368then
3369   # Ok.
3370   :
3371else
3372   as_fn_error $? "newly created file is older than distributed files!
3373Check your system clock" "$LINENO" 5
3374fi
3375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3376$as_echo "yes" >&6; }
3377# If we didn't sleep, we still need to ensure time stamps of config.status and
3378# generated files are strictly newer.
3379am_sleep_pid=
3380if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3381  ( sleep 1 ) &
3382  am_sleep_pid=$!
3383fi
3384
3385rm -f conftest.file
3386
3387test "$program_prefix" != NONE &&
3388  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3389# Use a double $ so make ignores it.
3390test "$program_suffix" != NONE &&
3391  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3392# Double any \ or $.
3393# By default was `s,x,x', remove it if useless.
3394ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3395program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3396
3397# Expand $ac_aux_dir to an absolute path.
3398am_aux_dir=`cd "$ac_aux_dir" && pwd`
3399
3400if test x"${MISSING+set}" != xset; then
3401  case $am_aux_dir in
3402  *\ * | *\	*)
3403    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3404  *)
3405    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3406  esac
3407fi
3408# Use eval to expand $SHELL
3409if eval "$MISSING --is-lightweight"; then
3410  am_missing_run="$MISSING "
3411else
3412  am_missing_run=
3413  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3414$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3415fi
3416
3417if test x"${install_sh+set}" != xset; then
3418  case $am_aux_dir in
3419  *\ * | *\	*)
3420    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3421  *)
3422    install_sh="\${SHELL} $am_aux_dir/install-sh"
3423  esac
3424fi
3425
3426# Installed binaries are usually stripped using 'strip' when the user
3427# run "make install-strip".  However 'strip' might not be the right
3428# tool to use in cross-compilation environments, therefore Automake
3429# will honor the 'STRIP' environment variable to overrule this program.
3430if test "$cross_compiling" != no; then
3431  if test -n "$ac_tool_prefix"; then
3432  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3433set dummy ${ac_tool_prefix}strip; ac_word=$2
3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435$as_echo_n "checking for $ac_word... " >&6; }
3436if ${ac_cv_prog_STRIP+:} false; then :
3437  $as_echo_n "(cached) " >&6
3438else
3439  if test -n "$STRIP"; then
3440  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3441else
3442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3443for as_dir in $PATH
3444do
3445  IFS=$as_save_IFS
3446  test -z "$as_dir" && as_dir=.
3447    for ac_exec_ext in '' $ac_executable_extensions; do
3448  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3449    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3450    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451    break 2
3452  fi
3453done
3454  done
3455IFS=$as_save_IFS
3456
3457fi
3458fi
3459STRIP=$ac_cv_prog_STRIP
3460if test -n "$STRIP"; then
3461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3462$as_echo "$STRIP" >&6; }
3463else
3464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465$as_echo "no" >&6; }
3466fi
3467
3468
3469fi
3470if test -z "$ac_cv_prog_STRIP"; then
3471  ac_ct_STRIP=$STRIP
3472  # Extract the first word of "strip", so it can be a program name with args.
3473set dummy strip; ac_word=$2
3474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475$as_echo_n "checking for $ac_word... " >&6; }
3476if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3477  $as_echo_n "(cached) " >&6
3478else
3479  if test -n "$ac_ct_STRIP"; then
3480  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3481else
3482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483for as_dir in $PATH
3484do
3485  IFS=$as_save_IFS
3486  test -z "$as_dir" && as_dir=.
3487    for ac_exec_ext in '' $ac_executable_extensions; do
3488  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3489    ac_cv_prog_ac_ct_STRIP="strip"
3490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491    break 2
3492  fi
3493done
3494  done
3495IFS=$as_save_IFS
3496
3497fi
3498fi
3499ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3500if test -n "$ac_ct_STRIP"; then
3501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3502$as_echo "$ac_ct_STRIP" >&6; }
3503else
3504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505$as_echo "no" >&6; }
3506fi
3507
3508  if test "x$ac_ct_STRIP" = x; then
3509    STRIP=":"
3510  else
3511    case $cross_compiling:$ac_tool_warned in
3512yes:)
3513{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3514$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3515ac_tool_warned=yes ;;
3516esac
3517    STRIP=$ac_ct_STRIP
3518  fi
3519else
3520  STRIP="$ac_cv_prog_STRIP"
3521fi
3522
3523fi
3524INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3525
3526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3527$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3528if test -z "$MKDIR_P"; then
3529  if ${ac_cv_path_mkdir+:} false; then :
3530  $as_echo_n "(cached) " >&6
3531else
3532  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3534do
3535  IFS=$as_save_IFS
3536  test -z "$as_dir" && as_dir=.
3537    for ac_prog in mkdir gmkdir; do
3538	 for ac_exec_ext in '' $ac_executable_extensions; do
3539	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3540	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3541	     'mkdir (GNU coreutils) '* | \
3542	     'mkdir (coreutils) '* | \
3543	     'mkdir (fileutils) '4.1*)
3544	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3545	       break 3;;
3546	   esac
3547	 done
3548       done
3549  done
3550IFS=$as_save_IFS
3551
3552fi
3553
3554  test -d ./--version && rmdir ./--version
3555  if test "${ac_cv_path_mkdir+set}" = set; then
3556    MKDIR_P="$ac_cv_path_mkdir -p"
3557  else
3558    # As a last resort, use the slow shell script.  Don't cache a
3559    # value for MKDIR_P within a source directory, because that will
3560    # break other packages using the cache if that directory is
3561    # removed, or if the value is a relative name.
3562    MKDIR_P="$ac_install_sh -d"
3563  fi
3564fi
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3566$as_echo "$MKDIR_P" >&6; }
3567
3568for ac_prog in gawk mawk nawk awk
3569do
3570  # Extract the first word of "$ac_prog", so it can be a program name with args.
3571set dummy $ac_prog; ac_word=$2
3572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573$as_echo_n "checking for $ac_word... " >&6; }
3574if ${ac_cv_prog_AWK+:} false; then :
3575  $as_echo_n "(cached) " >&6
3576else
3577  if test -n "$AWK"; then
3578  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3579else
3580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581for as_dir in $PATH
3582do
3583  IFS=$as_save_IFS
3584  test -z "$as_dir" && as_dir=.
3585    for ac_exec_ext in '' $ac_executable_extensions; do
3586  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3587    ac_cv_prog_AWK="$ac_prog"
3588    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589    break 2
3590  fi
3591done
3592  done
3593IFS=$as_save_IFS
3594
3595fi
3596fi
3597AWK=$ac_cv_prog_AWK
3598if test -n "$AWK"; then
3599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3600$as_echo "$AWK" >&6; }
3601else
3602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603$as_echo "no" >&6; }
3604fi
3605
3606
3607  test -n "$AWK" && break
3608done
3609
3610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3611$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3612set x ${MAKE-make}
3613ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3614if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3615  $as_echo_n "(cached) " >&6
3616else
3617  cat >conftest.make <<\_ACEOF
3618SHELL = /bin/sh
3619all:
3620	@echo '@@@%%%=$(MAKE)=@@@%%%'
3621_ACEOF
3622# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3623case `${MAKE-make} -f conftest.make 2>/dev/null` in
3624  *@@@%%%=?*=@@@%%%*)
3625    eval ac_cv_prog_make_${ac_make}_set=yes;;
3626  *)
3627    eval ac_cv_prog_make_${ac_make}_set=no;;
3628esac
3629rm -f conftest.make
3630fi
3631if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3633$as_echo "yes" >&6; }
3634  SET_MAKE=
3635else
3636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637$as_echo "no" >&6; }
3638  SET_MAKE="MAKE=${MAKE-make}"
3639fi
3640
3641rm -rf .tst 2>/dev/null
3642mkdir .tst 2>/dev/null
3643if test -d .tst; then
3644  am__leading_dot=.
3645else
3646  am__leading_dot=_
3647fi
3648rmdir .tst 2>/dev/null
3649
3650# Check whether --enable-silent-rules was given.
3651if test "${enable_silent_rules+set}" = set; then :
3652  enableval=$enable_silent_rules;
3653fi
3654
3655case $enable_silent_rules in # (((
3656  yes) AM_DEFAULT_VERBOSITY=0;;
3657   no) AM_DEFAULT_VERBOSITY=1;;
3658    *) AM_DEFAULT_VERBOSITY=1;;
3659esac
3660am_make=${MAKE-make}
3661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3662$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3663if ${am_cv_make_support_nested_variables+:} false; then :
3664  $as_echo_n "(cached) " >&6
3665else
3666  if $as_echo 'TRUE=$(BAR$(V))
3667BAR0=false
3668BAR1=true
3669V=1
3670am__doit:
3671	@$(TRUE)
3672.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3673  am_cv_make_support_nested_variables=yes
3674else
3675  am_cv_make_support_nested_variables=no
3676fi
3677fi
3678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3679$as_echo "$am_cv_make_support_nested_variables" >&6; }
3680if test $am_cv_make_support_nested_variables = yes; then
3681    AM_V='$(V)'
3682  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3683else
3684  AM_V=$AM_DEFAULT_VERBOSITY
3685  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3686fi
3687AM_BACKSLASH='\'
3688
3689if test "`cd $srcdir && pwd`" != "`pwd`"; then
3690  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3691  # is not polluted with repeated "-I."
3692  am__isrc=' -I$(srcdir)'
3693  # test to see if srcdir already configured
3694  if test -f $srcdir/config.status; then
3695    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3696  fi
3697fi
3698
3699# test whether we have cygpath
3700if test -z "$CYGPATH_W"; then
3701  if (cygpath --version) >/dev/null 2>/dev/null; then
3702    CYGPATH_W='cygpath -w'
3703  else
3704    CYGPATH_W=echo
3705  fi
3706fi
3707
3708
3709# Define the identity of the package.
3710 PACKAGE='libstdc++'
3711 VERSION='version-unused'
3712
3713
3714# Some tools Automake needs.
3715
3716ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3717
3718
3719AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3720
3721
3722AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3723
3724
3725AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3726
3727
3728MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3729
3730# For better backward compatibility.  To be removed once Automake 1.9.x
3731# dies out for good.  For more background, see:
3732# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3733# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3734mkdir_p='$(MKDIR_P)'
3735
3736# We need awk for the "check" target (and possibly the TAP driver).  The
3737# system "awk" is bad on some platforms.
3738# Always define AMTAR for backward compatibility.  Yes, it's still used
3739# in the wild :-(  We should find a proper way to deprecate it ...
3740AMTAR='$${TAR-tar}'
3741
3742
3743# We'll loop over all known methods to create a tar archive until one works.
3744_am_tools='gnutar  pax cpio none'
3745
3746am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3747
3748
3749
3750
3751
3752
3753# POSIX will say in a future version that running "rm -f" with no argument
3754# is OK; and we want to be able to make that assumption in our Makefile
3755# recipes.  So use an aggressive probe to check that the usage we want is
3756# actually supported "in the wild" to an acceptable degree.
3757# See automake bug#10828.
3758# To make any issue more visible, cause the running configure to be aborted
3759# by default if the 'rm' program in use doesn't match our expectations; the
3760# user can still override this though.
3761if rm -f && rm -fr && rm -rf; then : OK; else
3762  cat >&2 <<'END'
3763Oops!
3764
3765Your 'rm' program seems unable to run without file operands specified
3766on the command line, even when the '-f' option is present.  This is contrary
3767to the behaviour of most rm programs out there, and not conforming with
3768the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3769
3770Please tell bug-automake@gnu.org about your system, including the value
3771of your $PATH and any error possibly output before this message.  This
3772can help us improve future automake versions.
3773
3774END
3775  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3776    echo 'Configuration will proceed anyway, since you have set the' >&2
3777    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3778    echo >&2
3779  else
3780    cat >&2 <<'END'
3781Aborting the configuration process, to ensure you take notice of the issue.
3782
3783You can download and install GNU coreutils to get an 'rm' implementation
3784that behaves properly: <http://www.gnu.org/software/coreutils/>.
3785
3786If you want to complete the configuration process using your problematic
3787'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3788to "yes", and re-run configure.
3789
3790END
3791    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3792  fi
3793fi
3794
3795
3796
3797
3798# -fno-builtin must be present here so that a non-conflicting form of
3799# std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3800
3801save_CXXFLAGS="$CXXFLAGS"
3802CXXFLAGS="$CXXFLAGS -fno-builtin"
3803ac_ext=c
3804ac_cpp='$CPP $CPPFLAGS'
3805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808if test -n "$ac_tool_prefix"; then
3809  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3810set dummy ${ac_tool_prefix}gcc; ac_word=$2
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3812$as_echo_n "checking for $ac_word... " >&6; }
3813if ${ac_cv_prog_CC+:} false; then :
3814  $as_echo_n "(cached) " >&6
3815else
3816  if test -n "$CC"; then
3817  ac_cv_prog_CC="$CC" # Let the user override the test.
3818else
3819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820for as_dir in $PATH
3821do
3822  IFS=$as_save_IFS
3823  test -z "$as_dir" && as_dir=.
3824    for ac_exec_ext in '' $ac_executable_extensions; do
3825  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3827    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828    break 2
3829  fi
3830done
3831  done
3832IFS=$as_save_IFS
3833
3834fi
3835fi
3836CC=$ac_cv_prog_CC
3837if test -n "$CC"; then
3838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3839$as_echo "$CC" >&6; }
3840else
3841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842$as_echo "no" >&6; }
3843fi
3844
3845
3846fi
3847if test -z "$ac_cv_prog_CC"; then
3848  ac_ct_CC=$CC
3849  # Extract the first word of "gcc", so it can be a program name with args.
3850set dummy gcc; ac_word=$2
3851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3852$as_echo_n "checking for $ac_word... " >&6; }
3853if ${ac_cv_prog_ac_ct_CC+:} false; then :
3854  $as_echo_n "(cached) " >&6
3855else
3856  if test -n "$ac_ct_CC"; then
3857  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3858else
3859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860for as_dir in $PATH
3861do
3862  IFS=$as_save_IFS
3863  test -z "$as_dir" && as_dir=.
3864    for ac_exec_ext in '' $ac_executable_extensions; do
3865  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866    ac_cv_prog_ac_ct_CC="gcc"
3867    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868    break 2
3869  fi
3870done
3871  done
3872IFS=$as_save_IFS
3873
3874fi
3875fi
3876ac_ct_CC=$ac_cv_prog_ac_ct_CC
3877if test -n "$ac_ct_CC"; then
3878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3879$as_echo "$ac_ct_CC" >&6; }
3880else
3881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882$as_echo "no" >&6; }
3883fi
3884
3885  if test "x$ac_ct_CC" = x; then
3886    CC=""
3887  else
3888    case $cross_compiling:$ac_tool_warned in
3889yes:)
3890{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3891$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3892ac_tool_warned=yes ;;
3893esac
3894    CC=$ac_ct_CC
3895  fi
3896else
3897  CC="$ac_cv_prog_CC"
3898fi
3899
3900if test -z "$CC"; then
3901          if test -n "$ac_tool_prefix"; then
3902    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3903set dummy ${ac_tool_prefix}cc; ac_word=$2
3904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905$as_echo_n "checking for $ac_word... " >&6; }
3906if ${ac_cv_prog_CC+:} false; then :
3907  $as_echo_n "(cached) " >&6
3908else
3909  if test -n "$CC"; then
3910  ac_cv_prog_CC="$CC" # Let the user override the test.
3911else
3912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913for as_dir in $PATH
3914do
3915  IFS=$as_save_IFS
3916  test -z "$as_dir" && as_dir=.
3917    for ac_exec_ext in '' $ac_executable_extensions; do
3918  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919    ac_cv_prog_CC="${ac_tool_prefix}cc"
3920    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3921    break 2
3922  fi
3923done
3924  done
3925IFS=$as_save_IFS
3926
3927fi
3928fi
3929CC=$ac_cv_prog_CC
3930if test -n "$CC"; then
3931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3932$as_echo "$CC" >&6; }
3933else
3934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935$as_echo "no" >&6; }
3936fi
3937
3938
3939  fi
3940fi
3941if test -z "$CC"; then
3942  # Extract the first word of "cc", so it can be a program name with args.
3943set dummy cc; ac_word=$2
3944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945$as_echo_n "checking for $ac_word... " >&6; }
3946if ${ac_cv_prog_CC+:} false; then :
3947  $as_echo_n "(cached) " >&6
3948else
3949  if test -n "$CC"; then
3950  ac_cv_prog_CC="$CC" # Let the user override the test.
3951else
3952  ac_prog_rejected=no
3953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954for as_dir in $PATH
3955do
3956  IFS=$as_save_IFS
3957  test -z "$as_dir" && as_dir=.
3958    for ac_exec_ext in '' $ac_executable_extensions; do
3959  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3960    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3961       ac_prog_rejected=yes
3962       continue
3963     fi
3964    ac_cv_prog_CC="cc"
3965    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966    break 2
3967  fi
3968done
3969  done
3970IFS=$as_save_IFS
3971
3972if test $ac_prog_rejected = yes; then
3973  # We found a bogon in the path, so make sure we never use it.
3974  set dummy $ac_cv_prog_CC
3975  shift
3976  if test $# != 0; then
3977    # We chose a different compiler from the bogus one.
3978    # However, it has the same basename, so the bogon will be chosen
3979    # first if we set CC to just the basename; use the full file name.
3980    shift
3981    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3982  fi
3983fi
3984fi
3985fi
3986CC=$ac_cv_prog_CC
3987if test -n "$CC"; then
3988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3989$as_echo "$CC" >&6; }
3990else
3991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992$as_echo "no" >&6; }
3993fi
3994
3995
3996fi
3997if test -z "$CC"; then
3998  if test -n "$ac_tool_prefix"; then
3999  for ac_prog in cl.exe
4000  do
4001    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4002set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004$as_echo_n "checking for $ac_word... " >&6; }
4005if ${ac_cv_prog_CC+:} false; then :
4006  $as_echo_n "(cached) " >&6
4007else
4008  if test -n "$CC"; then
4009  ac_cv_prog_CC="$CC" # Let the user override the test.
4010else
4011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012for as_dir in $PATH
4013do
4014  IFS=$as_save_IFS
4015  test -z "$as_dir" && as_dir=.
4016    for ac_exec_ext in '' $ac_executable_extensions; do
4017  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4018    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4019    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020    break 2
4021  fi
4022done
4023  done
4024IFS=$as_save_IFS
4025
4026fi
4027fi
4028CC=$ac_cv_prog_CC
4029if test -n "$CC"; then
4030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4031$as_echo "$CC" >&6; }
4032else
4033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034$as_echo "no" >&6; }
4035fi
4036
4037
4038    test -n "$CC" && break
4039  done
4040fi
4041if test -z "$CC"; then
4042  ac_ct_CC=$CC
4043  for ac_prog in cl.exe
4044do
4045  # Extract the first word of "$ac_prog", so it can be a program name with args.
4046set dummy $ac_prog; ac_word=$2
4047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048$as_echo_n "checking for $ac_word... " >&6; }
4049if ${ac_cv_prog_ac_ct_CC+:} false; then :
4050  $as_echo_n "(cached) " >&6
4051else
4052  if test -n "$ac_ct_CC"; then
4053  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4054else
4055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056for as_dir in $PATH
4057do
4058  IFS=$as_save_IFS
4059  test -z "$as_dir" && as_dir=.
4060    for ac_exec_ext in '' $ac_executable_extensions; do
4061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062    ac_cv_prog_ac_ct_CC="$ac_prog"
4063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064    break 2
4065  fi
4066done
4067  done
4068IFS=$as_save_IFS
4069
4070fi
4071fi
4072ac_ct_CC=$ac_cv_prog_ac_ct_CC
4073if test -n "$ac_ct_CC"; then
4074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4075$as_echo "$ac_ct_CC" >&6; }
4076else
4077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078$as_echo "no" >&6; }
4079fi
4080
4081
4082  test -n "$ac_ct_CC" && break
4083done
4084
4085  if test "x$ac_ct_CC" = x; then
4086    CC=""
4087  else
4088    case $cross_compiling:$ac_tool_warned in
4089yes:)
4090{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4091$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4092ac_tool_warned=yes ;;
4093esac
4094    CC=$ac_ct_CC
4095  fi
4096fi
4097
4098fi
4099
4100
4101test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103as_fn_error $? "no acceptable C compiler found in \$PATH
4104See \`config.log' for more details" "$LINENO" 5; }
4105
4106# Provide some information about the compiler.
4107$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4108set X $ac_compile
4109ac_compiler=$2
4110for ac_option in --version -v -V -qversion; do
4111  { { ac_try="$ac_compiler $ac_option >&5"
4112case "(($ac_try" in
4113  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114  *) ac_try_echo=$ac_try;;
4115esac
4116eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117$as_echo "$ac_try_echo"; } >&5
4118  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4119  ac_status=$?
4120  if test -s conftest.err; then
4121    sed '10a\
4122... rest of stderr output deleted ...
4123         10q' conftest.err >conftest.er1
4124    cat conftest.er1 >&5
4125  fi
4126  rm -f conftest.er1 conftest.err
4127  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128  test $ac_status = 0; }
4129done
4130
4131cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132/* end confdefs.h.  */
4133#include <stdio.h>
4134int
4135main ()
4136{
4137printf ("hello world\n");
4138  ;
4139  return 0;
4140}
4141_ACEOF
4142# FIXME: Cleanup?
4143if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4144  (eval $ac_link) 2>&5
4145  ac_status=$?
4146  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4147  test $ac_status = 0; }; then :
4148  gcc_no_link=no
4149else
4150  gcc_no_link=yes
4151fi
4152if test x$gcc_no_link = xyes; then
4153  # Setting cross_compile will disable run tests; it will
4154  # also disable AC_CHECK_FILE but that's generally
4155  # correct if we can't link.
4156  cross_compiling=yes
4157  EXEEXT=
4158else
4159  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160/* end confdefs.h.  */
4161
4162int
4163main ()
4164{
4165
4166  ;
4167  return 0;
4168}
4169_ACEOF
4170ac_clean_files_save=$ac_clean_files
4171ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4172# Try to create an executable without -o first, disregard a.out.
4173# It will help us diagnose broken compilers, and finding out an intuition
4174# of exeext.
4175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4176$as_echo_n "checking whether the C compiler works... " >&6; }
4177ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4178
4179# The possible output files:
4180ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4181
4182ac_rmfiles=
4183for ac_file in $ac_files
4184do
4185  case $ac_file in
4186    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4187    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4188  esac
4189done
4190rm -f $ac_rmfiles
4191
4192if { { ac_try="$ac_link_default"
4193case "(($ac_try" in
4194  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195  *) ac_try_echo=$ac_try;;
4196esac
4197eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4198$as_echo "$ac_try_echo"; } >&5
4199  (eval "$ac_link_default") 2>&5
4200  ac_status=$?
4201  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4202  test $ac_status = 0; }; then :
4203  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4204# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4205# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4206# so that the user can short-circuit this test for compilers unknown to
4207# Autoconf.
4208for ac_file in $ac_files ''
4209do
4210  test -f "$ac_file" || continue
4211  case $ac_file in
4212    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4213	;;
4214    [ab].out )
4215	# We found the default executable, but exeext='' is most
4216	# certainly right.
4217	break;;
4218    *.* )
4219	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4220	then :; else
4221	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4222	fi
4223	# We set ac_cv_exeext here because the later test for it is not
4224	# safe: cross compilers may not add the suffix if given an `-o'
4225	# argument, so we may need to know it at that point already.
4226	# Even if this section looks crufty: it has the advantage of
4227	# actually working.
4228	break;;
4229    * )
4230	break;;
4231  esac
4232done
4233test "$ac_cv_exeext" = no && ac_cv_exeext=
4234
4235else
4236  ac_file=''
4237fi
4238if test -z "$ac_file"; then :
4239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240$as_echo "no" >&6; }
4241$as_echo "$as_me: failed program was:" >&5
4242sed 's/^/| /' conftest.$ac_ext >&5
4243
4244{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4246as_fn_error 77 "C compiler cannot create executables
4247See \`config.log' for more details" "$LINENO" 5; }
4248else
4249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4250$as_echo "yes" >&6; }
4251fi
4252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4253$as_echo_n "checking for C compiler default output file name... " >&6; }
4254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4255$as_echo "$ac_file" >&6; }
4256ac_exeext=$ac_cv_exeext
4257
4258rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4259ac_clean_files=$ac_clean_files_save
4260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4261$as_echo_n "checking for suffix of executables... " >&6; }
4262if { { ac_try="$ac_link"
4263case "(($ac_try" in
4264  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4265  *) ac_try_echo=$ac_try;;
4266esac
4267eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268$as_echo "$ac_try_echo"; } >&5
4269  (eval "$ac_link") 2>&5
4270  ac_status=$?
4271  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272  test $ac_status = 0; }; then :
4273  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4274# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4275# work properly (i.e., refer to `conftest.exe'), while it won't with
4276# `rm'.
4277for ac_file in conftest.exe conftest conftest.*; do
4278  test -f "$ac_file" || continue
4279  case $ac_file in
4280    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4281    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4282	  break;;
4283    * ) break;;
4284  esac
4285done
4286else
4287  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4288$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4289as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4290See \`config.log' for more details" "$LINENO" 5; }
4291fi
4292rm -f conftest conftest$ac_cv_exeext
4293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4294$as_echo "$ac_cv_exeext" >&6; }
4295
4296rm -f conftest.$ac_ext
4297EXEEXT=$ac_cv_exeext
4298ac_exeext=$EXEEXT
4299cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300/* end confdefs.h.  */
4301#include <stdio.h>
4302int
4303main ()
4304{
4305FILE *f = fopen ("conftest.out", "w");
4306 return ferror (f) || fclose (f) != 0;
4307
4308  ;
4309  return 0;
4310}
4311_ACEOF
4312ac_clean_files="$ac_clean_files conftest.out"
4313# Check that the compiler produces executables we can run.  If not, either
4314# the compiler is broken, or we cross compile.
4315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4316$as_echo_n "checking whether we are cross compiling... " >&6; }
4317if test "$cross_compiling" != yes; then
4318  { { ac_try="$ac_link"
4319case "(($ac_try" in
4320  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321  *) ac_try_echo=$ac_try;;
4322esac
4323eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4324$as_echo "$ac_try_echo"; } >&5
4325  (eval "$ac_link") 2>&5
4326  ac_status=$?
4327  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4328  test $ac_status = 0; }
4329  if { ac_try='./conftest$ac_cv_exeext'
4330  { { case "(($ac_try" in
4331  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4332  *) ac_try_echo=$ac_try;;
4333esac
4334eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4335$as_echo "$ac_try_echo"; } >&5
4336  (eval "$ac_try") 2>&5
4337  ac_status=$?
4338  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4339  test $ac_status = 0; }; }; then
4340    cross_compiling=no
4341  else
4342    if test "$cross_compiling" = maybe; then
4343	cross_compiling=yes
4344    else
4345	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4347as_fn_error $? "cannot run C compiled programs.
4348If you meant to cross compile, use \`--host'.
4349See \`config.log' for more details" "$LINENO" 5; }
4350    fi
4351  fi
4352fi
4353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4354$as_echo "$cross_compiling" >&6; }
4355
4356rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4357ac_clean_files=$ac_clean_files_save
4358fi
4359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4360$as_echo_n "checking for suffix of object files... " >&6; }
4361if ${ac_cv_objext+:} false; then :
4362  $as_echo_n "(cached) " >&6
4363else
4364  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365/* end confdefs.h.  */
4366
4367int
4368main ()
4369{
4370
4371  ;
4372  return 0;
4373}
4374_ACEOF
4375rm -f conftest.o conftest.obj
4376if { { ac_try="$ac_compile"
4377case "(($ac_try" in
4378  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4379  *) ac_try_echo=$ac_try;;
4380esac
4381eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4382$as_echo "$ac_try_echo"; } >&5
4383  (eval "$ac_compile") 2>&5
4384  ac_status=$?
4385  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4386  test $ac_status = 0; }; then :
4387  for ac_file in conftest.o conftest.obj conftest.*; do
4388  test -f "$ac_file" || continue;
4389  case $ac_file in
4390    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4391    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4392       break;;
4393  esac
4394done
4395else
4396  $as_echo "$as_me: failed program was:" >&5
4397sed 's/^/| /' conftest.$ac_ext >&5
4398
4399{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4400$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4401as_fn_error $? "cannot compute suffix of object files: cannot compile
4402See \`config.log' for more details" "$LINENO" 5; }
4403fi
4404rm -f conftest.$ac_cv_objext conftest.$ac_ext
4405fi
4406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4407$as_echo "$ac_cv_objext" >&6; }
4408OBJEXT=$ac_cv_objext
4409ac_objext=$OBJEXT
4410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4411$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4412if ${ac_cv_c_compiler_gnu+:} false; then :
4413  $as_echo_n "(cached) " >&6
4414else
4415  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416/* end confdefs.h.  */
4417
4418int
4419main ()
4420{
4421#ifndef __GNUC__
4422       choke me
4423#endif
4424
4425  ;
4426  return 0;
4427}
4428_ACEOF
4429if ac_fn_c_try_compile "$LINENO"; then :
4430  ac_compiler_gnu=yes
4431else
4432  ac_compiler_gnu=no
4433fi
4434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4435ac_cv_c_compiler_gnu=$ac_compiler_gnu
4436
4437fi
4438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4439$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4440if test $ac_compiler_gnu = yes; then
4441  GCC=yes
4442else
4443  GCC=
4444fi
4445ac_test_CFLAGS=${CFLAGS+set}
4446ac_save_CFLAGS=$CFLAGS
4447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4448$as_echo_n "checking whether $CC accepts -g... " >&6; }
4449if ${ac_cv_prog_cc_g+:} false; then :
4450  $as_echo_n "(cached) " >&6
4451else
4452  ac_save_c_werror_flag=$ac_c_werror_flag
4453   ac_c_werror_flag=yes
4454   ac_cv_prog_cc_g=no
4455   CFLAGS="-g"
4456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457/* end confdefs.h.  */
4458
4459int
4460main ()
4461{
4462
4463  ;
4464  return 0;
4465}
4466_ACEOF
4467if ac_fn_c_try_compile "$LINENO"; then :
4468  ac_cv_prog_cc_g=yes
4469else
4470  CFLAGS=""
4471      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472/* end confdefs.h.  */
4473
4474int
4475main ()
4476{
4477
4478  ;
4479  return 0;
4480}
4481_ACEOF
4482if ac_fn_c_try_compile "$LINENO"; then :
4483
4484else
4485  ac_c_werror_flag=$ac_save_c_werror_flag
4486	 CFLAGS="-g"
4487	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488/* end confdefs.h.  */
4489
4490int
4491main ()
4492{
4493
4494  ;
4495  return 0;
4496}
4497_ACEOF
4498if ac_fn_c_try_compile "$LINENO"; then :
4499  ac_cv_prog_cc_g=yes
4500fi
4501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502fi
4503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4504fi
4505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506   ac_c_werror_flag=$ac_save_c_werror_flag
4507fi
4508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4509$as_echo "$ac_cv_prog_cc_g" >&6; }
4510if test "$ac_test_CFLAGS" = set; then
4511  CFLAGS=$ac_save_CFLAGS
4512elif test $ac_cv_prog_cc_g = yes; then
4513  if test "$GCC" = yes; then
4514    CFLAGS="-g -O2"
4515  else
4516    CFLAGS="-g"
4517  fi
4518else
4519  if test "$GCC" = yes; then
4520    CFLAGS="-O2"
4521  else
4522    CFLAGS=
4523  fi
4524fi
4525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4526$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4527if ${ac_cv_prog_cc_c89+:} false; then :
4528  $as_echo_n "(cached) " >&6
4529else
4530  ac_cv_prog_cc_c89=no
4531ac_save_CC=$CC
4532cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533/* end confdefs.h.  */
4534#include <stdarg.h>
4535#include <stdio.h>
4536struct stat;
4537/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4538struct buf { int x; };
4539FILE * (*rcsopen) (struct buf *, struct stat *, int);
4540static char *e (p, i)
4541     char **p;
4542     int i;
4543{
4544  return p[i];
4545}
4546static char *f (char * (*g) (char **, int), char **p, ...)
4547{
4548  char *s;
4549  va_list v;
4550  va_start (v,p);
4551  s = g (p, va_arg (v,int));
4552  va_end (v);
4553  return s;
4554}
4555
4556/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4557   function prototypes and stuff, but not '\xHH' hex character constants.
4558   These don't provoke an error unfortunately, instead are silently treated
4559   as 'x'.  The following induces an error, until -std is added to get
4560   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4561   array size at least.  It's necessary to write '\x00'==0 to get something
4562   that's true only with -std.  */
4563int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4564
4565/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4566   inside strings and character constants.  */
4567#define FOO(x) 'x'
4568int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4569
4570int test (int i, double x);
4571struct s1 {int (*f) (int a);};
4572struct s2 {int (*f) (double a);};
4573int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4574int argc;
4575char **argv;
4576int
4577main ()
4578{
4579return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4580  ;
4581  return 0;
4582}
4583_ACEOF
4584for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4585	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4586do
4587  CC="$ac_save_CC $ac_arg"
4588  if ac_fn_c_try_compile "$LINENO"; then :
4589  ac_cv_prog_cc_c89=$ac_arg
4590fi
4591rm -f core conftest.err conftest.$ac_objext
4592  test "x$ac_cv_prog_cc_c89" != "xno" && break
4593done
4594rm -f conftest.$ac_ext
4595CC=$ac_save_CC
4596
4597fi
4598# AC_CACHE_VAL
4599case "x$ac_cv_prog_cc_c89" in
4600  x)
4601    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4602$as_echo "none needed" >&6; } ;;
4603  xno)
4604    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4605$as_echo "unsupported" >&6; } ;;
4606  *)
4607    CC="$CC $ac_cv_prog_cc_c89"
4608    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4609$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4610esac
4611if test "x$ac_cv_prog_cc_c89" != xno; then :
4612
4613fi
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
4621ac_ext=c
4622ac_cpp='$CPP $CPPFLAGS'
4623ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4627$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4628if ${am_cv_prog_cc_c_o+:} false; then :
4629  $as_echo_n "(cached) " >&6
4630else
4631  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632/* end confdefs.h.  */
4633
4634int
4635main ()
4636{
4637
4638  ;
4639  return 0;
4640}
4641_ACEOF
4642  # Make sure it works both with $CC and with simple cc.
4643  # Following AC_PROG_CC_C_O, we do the test twice because some
4644  # compilers refuse to overwrite an existing .o file with -o,
4645  # though they will create one.
4646  am_cv_prog_cc_c_o=yes
4647  for am_i in 1 2; do
4648    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4649   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4650   ac_status=$?
4651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652   (exit $ac_status); } \
4653         && test -f conftest2.$ac_objext; then
4654      : OK
4655    else
4656      am_cv_prog_cc_c_o=no
4657      break
4658    fi
4659  done
4660  rm -f core conftest*
4661  unset am_i
4662fi
4663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4664$as_echo "$am_cv_prog_cc_c_o" >&6; }
4665if test "$am_cv_prog_cc_c_o" != yes; then
4666   # Losing compiler, so override with the script.
4667   # FIXME: It is wrong to rewrite CC.
4668   # But if we don't then we get into trouble of one sort or another.
4669   # A longer-term fix would be to have automake use am__CC in this case,
4670   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4671   CC="$am_aux_dir/compile $CC"
4672fi
4673ac_ext=c
4674ac_cpp='$CPP $CPPFLAGS'
4675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677ac_compiler_gnu=$ac_cv_c_compiler_gnu
4678
4679
4680ac_ext=cpp
4681ac_cpp='$CXXCPP $CPPFLAGS'
4682ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4685if test -z "$CXX"; then
4686  if test -n "$CCC"; then
4687    CXX=$CCC
4688  else
4689    if test -n "$ac_tool_prefix"; then
4690  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4691  do
4692    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4693set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4695$as_echo_n "checking for $ac_word... " >&6; }
4696if ${ac_cv_prog_CXX+:} false; then :
4697  $as_echo_n "(cached) " >&6
4698else
4699  if test -n "$CXX"; then
4700  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4701else
4702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703for as_dir in $PATH
4704do
4705  IFS=$as_save_IFS
4706  test -z "$as_dir" && as_dir=.
4707    for ac_exec_ext in '' $ac_executable_extensions; do
4708  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4709    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4710    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711    break 2
4712  fi
4713done
4714  done
4715IFS=$as_save_IFS
4716
4717fi
4718fi
4719CXX=$ac_cv_prog_CXX
4720if test -n "$CXX"; then
4721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4722$as_echo "$CXX" >&6; }
4723else
4724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725$as_echo "no" >&6; }
4726fi
4727
4728
4729    test -n "$CXX" && break
4730  done
4731fi
4732if test -z "$CXX"; then
4733  ac_ct_CXX=$CXX
4734  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4735do
4736  # Extract the first word of "$ac_prog", so it can be a program name with args.
4737set dummy $ac_prog; ac_word=$2
4738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739$as_echo_n "checking for $ac_word... " >&6; }
4740if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4741  $as_echo_n "(cached) " >&6
4742else
4743  if test -n "$ac_ct_CXX"; then
4744  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4745else
4746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747for as_dir in $PATH
4748do
4749  IFS=$as_save_IFS
4750  test -z "$as_dir" && as_dir=.
4751    for ac_exec_ext in '' $ac_executable_extensions; do
4752  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4753    ac_cv_prog_ac_ct_CXX="$ac_prog"
4754    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755    break 2
4756  fi
4757done
4758  done
4759IFS=$as_save_IFS
4760
4761fi
4762fi
4763ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4764if test -n "$ac_ct_CXX"; then
4765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4766$as_echo "$ac_ct_CXX" >&6; }
4767else
4768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769$as_echo "no" >&6; }
4770fi
4771
4772
4773  test -n "$ac_ct_CXX" && break
4774done
4775
4776  if test "x$ac_ct_CXX" = x; then
4777    CXX="g++"
4778  else
4779    case $cross_compiling:$ac_tool_warned in
4780yes:)
4781{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4782$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4783ac_tool_warned=yes ;;
4784esac
4785    CXX=$ac_ct_CXX
4786  fi
4787fi
4788
4789  fi
4790fi
4791# Provide some information about the compiler.
4792$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4793set X $ac_compile
4794ac_compiler=$2
4795for ac_option in --version -v -V -qversion; do
4796  { { ac_try="$ac_compiler $ac_option >&5"
4797case "(($ac_try" in
4798  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799  *) ac_try_echo=$ac_try;;
4800esac
4801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4802$as_echo "$ac_try_echo"; } >&5
4803  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4804  ac_status=$?
4805  if test -s conftest.err; then
4806    sed '10a\
4807... rest of stderr output deleted ...
4808         10q' conftest.err >conftest.er1
4809    cat conftest.er1 >&5
4810  fi
4811  rm -f conftest.er1 conftest.err
4812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813  test $ac_status = 0; }
4814done
4815
4816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4817$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4818if ${ac_cv_cxx_compiler_gnu+:} false; then :
4819  $as_echo_n "(cached) " >&6
4820else
4821  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822/* end confdefs.h.  */
4823
4824int
4825main ()
4826{
4827#ifndef __GNUC__
4828       choke me
4829#endif
4830
4831  ;
4832  return 0;
4833}
4834_ACEOF
4835if ac_fn_cxx_try_compile "$LINENO"; then :
4836  ac_compiler_gnu=yes
4837else
4838  ac_compiler_gnu=no
4839fi
4840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4841ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4842
4843fi
4844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4845$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4846if test $ac_compiler_gnu = yes; then
4847  GXX=yes
4848else
4849  GXX=
4850fi
4851ac_test_CXXFLAGS=${CXXFLAGS+set}
4852ac_save_CXXFLAGS=$CXXFLAGS
4853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4854$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4855if ${ac_cv_prog_cxx_g+:} false; then :
4856  $as_echo_n "(cached) " >&6
4857else
4858  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4859   ac_cxx_werror_flag=yes
4860   ac_cv_prog_cxx_g=no
4861   CXXFLAGS="-g"
4862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863/* end confdefs.h.  */
4864
4865int
4866main ()
4867{
4868
4869  ;
4870  return 0;
4871}
4872_ACEOF
4873if ac_fn_cxx_try_compile "$LINENO"; then :
4874  ac_cv_prog_cxx_g=yes
4875else
4876  CXXFLAGS=""
4877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878/* end confdefs.h.  */
4879
4880int
4881main ()
4882{
4883
4884  ;
4885  return 0;
4886}
4887_ACEOF
4888if ac_fn_cxx_try_compile "$LINENO"; then :
4889
4890else
4891  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4892	 CXXFLAGS="-g"
4893	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894/* end confdefs.h.  */
4895
4896int
4897main ()
4898{
4899
4900  ;
4901  return 0;
4902}
4903_ACEOF
4904if ac_fn_cxx_try_compile "$LINENO"; then :
4905  ac_cv_prog_cxx_g=yes
4906fi
4907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908fi
4909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4910fi
4911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4912   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4913fi
4914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4915$as_echo "$ac_cv_prog_cxx_g" >&6; }
4916if test "$ac_test_CXXFLAGS" = set; then
4917  CXXFLAGS=$ac_save_CXXFLAGS
4918elif test $ac_cv_prog_cxx_g = yes; then
4919  if test "$GXX" = yes; then
4920    CXXFLAGS="-g -O2"
4921  else
4922    CXXFLAGS="-g"
4923  fi
4924else
4925  if test "$GXX" = yes; then
4926    CXXFLAGS="-O2"
4927  else
4928    CXXFLAGS=
4929  fi
4930fi
4931ac_ext=c
4932ac_cpp='$CPP $CPPFLAGS'
4933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4935ac_compiler_gnu=$ac_cv_c_compiler_gnu
4936
4937CXXFLAGS="$save_CXXFLAGS"
4938
4939
4940# Check whether --enable-largefile was given.
4941if test "${enable_largefile+set}" = set; then :
4942  enableval=$enable_largefile;
4943fi
4944
4945if test "$enable_largefile" != no; then
4946
4947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4948$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4949if ${ac_cv_sys_largefile_CC+:} false; then :
4950  $as_echo_n "(cached) " >&6
4951else
4952  ac_cv_sys_largefile_CC=no
4953     if test "$GCC" != yes; then
4954       ac_save_CC=$CC
4955       while :; do
4956	 # IRIX 6.2 and later do not support large files by default,
4957	 # so use the C compiler's -n32 option if that helps.
4958	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959/* end confdefs.h.  */
4960#include <sys/types.h>
4961 /* Check that off_t can represent 2**63 - 1 correctly.
4962    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4963    since some C++ compilers masquerading as C compilers
4964    incorrectly reject 9223372036854775807.  */
4965#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4966  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4967		       && LARGE_OFF_T % 2147483647 == 1)
4968		      ? 1 : -1];
4969int
4970main ()
4971{
4972
4973  ;
4974  return 0;
4975}
4976_ACEOF
4977	 if ac_fn_c_try_compile "$LINENO"; then :
4978  break
4979fi
4980rm -f core conftest.err conftest.$ac_objext
4981	 CC="$CC -n32"
4982	 if ac_fn_c_try_compile "$LINENO"; then :
4983  ac_cv_sys_largefile_CC=' -n32'; break
4984fi
4985rm -f core conftest.err conftest.$ac_objext
4986	 break
4987       done
4988       CC=$ac_save_CC
4989       rm -f conftest.$ac_ext
4990    fi
4991fi
4992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4993$as_echo "$ac_cv_sys_largefile_CC" >&6; }
4994  if test "$ac_cv_sys_largefile_CC" != no; then
4995    CC=$CC$ac_cv_sys_largefile_CC
4996  fi
4997
4998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4999$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5000if ${ac_cv_sys_file_offset_bits+:} false; then :
5001  $as_echo_n "(cached) " >&6
5002else
5003  while :; do
5004  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005/* end confdefs.h.  */
5006#include <sys/types.h>
5007 /* Check that off_t can represent 2**63 - 1 correctly.
5008    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5009    since some C++ compilers masquerading as C compilers
5010    incorrectly reject 9223372036854775807.  */
5011#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5012  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5013		       && LARGE_OFF_T % 2147483647 == 1)
5014		      ? 1 : -1];
5015int
5016main ()
5017{
5018
5019  ;
5020  return 0;
5021}
5022_ACEOF
5023if ac_fn_c_try_compile "$LINENO"; then :
5024  ac_cv_sys_file_offset_bits=no; break
5025fi
5026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028/* end confdefs.h.  */
5029#define _FILE_OFFSET_BITS 64
5030#include <sys/types.h>
5031 /* Check that off_t can represent 2**63 - 1 correctly.
5032    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5033    since some C++ compilers masquerading as C compilers
5034    incorrectly reject 9223372036854775807.  */
5035#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5036  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5037		       && LARGE_OFF_T % 2147483647 == 1)
5038		      ? 1 : -1];
5039int
5040main ()
5041{
5042
5043  ;
5044  return 0;
5045}
5046_ACEOF
5047if ac_fn_c_try_compile "$LINENO"; then :
5048  ac_cv_sys_file_offset_bits=64; break
5049fi
5050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051  ac_cv_sys_file_offset_bits=unknown
5052  break
5053done
5054fi
5055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5056$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5057case $ac_cv_sys_file_offset_bits in #(
5058  no | unknown) ;;
5059  *)
5060cat >>confdefs.h <<_ACEOF
5061#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5062_ACEOF
5063;;
5064esac
5065rm -rf conftest*
5066  if test $ac_cv_sys_file_offset_bits = unknown; then
5067    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5068$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5069if ${ac_cv_sys_large_files+:} false; then :
5070  $as_echo_n "(cached) " >&6
5071else
5072  while :; do
5073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074/* end confdefs.h.  */
5075#include <sys/types.h>
5076 /* Check that off_t can represent 2**63 - 1 correctly.
5077    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5078    since some C++ compilers masquerading as C compilers
5079    incorrectly reject 9223372036854775807.  */
5080#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5081  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5082		       && LARGE_OFF_T % 2147483647 == 1)
5083		      ? 1 : -1];
5084int
5085main ()
5086{
5087
5088  ;
5089  return 0;
5090}
5091_ACEOF
5092if ac_fn_c_try_compile "$LINENO"; then :
5093  ac_cv_sys_large_files=no; break
5094fi
5095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097/* end confdefs.h.  */
5098#define _LARGE_FILES 1
5099#include <sys/types.h>
5100 /* Check that off_t can represent 2**63 - 1 correctly.
5101    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5102    since some C++ compilers masquerading as C compilers
5103    incorrectly reject 9223372036854775807.  */
5104#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5105  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5106		       && LARGE_OFF_T % 2147483647 == 1)
5107		      ? 1 : -1];
5108int
5109main ()
5110{
5111
5112  ;
5113  return 0;
5114}
5115_ACEOF
5116if ac_fn_c_try_compile "$LINENO"; then :
5117  ac_cv_sys_large_files=1; break
5118fi
5119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5120  ac_cv_sys_large_files=unknown
5121  break
5122done
5123fi
5124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5125$as_echo "$ac_cv_sys_large_files" >&6; }
5126case $ac_cv_sys_large_files in #(
5127  no | unknown) ;;
5128  *)
5129cat >>confdefs.h <<_ACEOF
5130#define _LARGE_FILES $ac_cv_sys_large_files
5131_ACEOF
5132;;
5133esac
5134rm -rf conftest*
5135  fi
5136
5137
5138fi
5139
5140
5141# Runs configure.host, and assorted other critical bits.  Sets
5142# up critical shell variables.
5143ac_ext=c
5144ac_cpp='$CPP $CPPFLAGS'
5145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5147ac_compiler_gnu=$ac_cv_c_compiler_gnu
5148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5149$as_echo_n "checking how to run the C preprocessor... " >&6; }
5150# On Suns, sometimes $CPP names a directory.
5151if test -n "$CPP" && test -d "$CPP"; then
5152  CPP=
5153fi
5154if test -z "$CPP"; then
5155  if ${ac_cv_prog_CPP+:} false; then :
5156  $as_echo_n "(cached) " >&6
5157else
5158      # Double quotes because CPP needs to be expanded
5159    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5160    do
5161      ac_preproc_ok=false
5162for ac_c_preproc_warn_flag in '' yes
5163do
5164  # Use a header file that comes with gcc, so configuring glibc
5165  # with a fresh cross-compiler works.
5166  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5167  # <limits.h> exists even on freestanding compilers.
5168  # On the NeXT, cc -E runs the code through the compiler's parser,
5169  # not just through cpp. "Syntax error" is here to catch this case.
5170  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5171/* end confdefs.h.  */
5172#ifdef __STDC__
5173# include <limits.h>
5174#else
5175# include <assert.h>
5176#endif
5177		     Syntax error
5178_ACEOF
5179if ac_fn_c_try_cpp "$LINENO"; then :
5180
5181else
5182  # Broken: fails on valid input.
5183continue
5184fi
5185rm -f conftest.err conftest.i conftest.$ac_ext
5186
5187  # OK, works on sane cases.  Now check whether nonexistent headers
5188  # can be detected and how.
5189  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5190/* end confdefs.h.  */
5191#include <ac_nonexistent.h>
5192_ACEOF
5193if ac_fn_c_try_cpp "$LINENO"; then :
5194  # Broken: success on invalid input.
5195continue
5196else
5197  # Passes both tests.
5198ac_preproc_ok=:
5199break
5200fi
5201rm -f conftest.err conftest.i conftest.$ac_ext
5202
5203done
5204# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5205rm -f conftest.i conftest.err conftest.$ac_ext
5206if $ac_preproc_ok; then :
5207  break
5208fi
5209
5210    done
5211    ac_cv_prog_CPP=$CPP
5212
5213fi
5214  CPP=$ac_cv_prog_CPP
5215else
5216  ac_cv_prog_CPP=$CPP
5217fi
5218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5219$as_echo "$CPP" >&6; }
5220ac_preproc_ok=false
5221for ac_c_preproc_warn_flag in '' yes
5222do
5223  # Use a header file that comes with gcc, so configuring glibc
5224  # with a fresh cross-compiler works.
5225  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5226  # <limits.h> exists even on freestanding compilers.
5227  # On the NeXT, cc -E runs the code through the compiler's parser,
5228  # not just through cpp. "Syntax error" is here to catch this case.
5229  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5230/* end confdefs.h.  */
5231#ifdef __STDC__
5232# include <limits.h>
5233#else
5234# include <assert.h>
5235#endif
5236		     Syntax error
5237_ACEOF
5238if ac_fn_c_try_cpp "$LINENO"; then :
5239
5240else
5241  # Broken: fails on valid input.
5242continue
5243fi
5244rm -f conftest.err conftest.i conftest.$ac_ext
5245
5246  # OK, works on sane cases.  Now check whether nonexistent headers
5247  # can be detected and how.
5248  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249/* end confdefs.h.  */
5250#include <ac_nonexistent.h>
5251_ACEOF
5252if ac_fn_c_try_cpp "$LINENO"; then :
5253  # Broken: success on invalid input.
5254continue
5255else
5256  # Passes both tests.
5257ac_preproc_ok=:
5258break
5259fi
5260rm -f conftest.err conftest.i conftest.$ac_ext
5261
5262done
5263# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5264rm -f conftest.i conftest.err conftest.$ac_ext
5265if $ac_preproc_ok; then :
5266
5267else
5268  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5269$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5270as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5271See \`config.log' for more details" "$LINENO" 5; }
5272fi
5273
5274ac_ext=c
5275ac_cpp='$CPP $CPPFLAGS'
5276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5278ac_compiler_gnu=$ac_cv_c_compiler_gnu
5279
5280
5281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5282$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5283if ${ac_cv_path_GREP+:} false; then :
5284  $as_echo_n "(cached) " >&6
5285else
5286  if test -z "$GREP"; then
5287  ac_path_GREP_found=false
5288  # Loop through the user's path and test for each of PROGNAME-LIST
5289  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5291do
5292  IFS=$as_save_IFS
5293  test -z "$as_dir" && as_dir=.
5294    for ac_prog in grep ggrep; do
5295    for ac_exec_ext in '' $ac_executable_extensions; do
5296      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5297      as_fn_executable_p "$ac_path_GREP" || continue
5298# Check for GNU ac_path_GREP and select it if it is found.
5299  # Check for GNU $ac_path_GREP
5300case `"$ac_path_GREP" --version 2>&1` in
5301*GNU*)
5302  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5303*)
5304  ac_count=0
5305  $as_echo_n 0123456789 >"conftest.in"
5306  while :
5307  do
5308    cat "conftest.in" "conftest.in" >"conftest.tmp"
5309    mv "conftest.tmp" "conftest.in"
5310    cp "conftest.in" "conftest.nl"
5311    $as_echo 'GREP' >> "conftest.nl"
5312    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5313    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5314    as_fn_arith $ac_count + 1 && ac_count=$as_val
5315    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5316      # Best one so far, save it but keep looking for a better one
5317      ac_cv_path_GREP="$ac_path_GREP"
5318      ac_path_GREP_max=$ac_count
5319    fi
5320    # 10*(2^10) chars as input seems more than enough
5321    test $ac_count -gt 10 && break
5322  done
5323  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5324esac
5325
5326      $ac_path_GREP_found && break 3
5327    done
5328  done
5329  done
5330IFS=$as_save_IFS
5331  if test -z "$ac_cv_path_GREP"; then
5332    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5333  fi
5334else
5335  ac_cv_path_GREP=$GREP
5336fi
5337
5338fi
5339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5340$as_echo "$ac_cv_path_GREP" >&6; }
5341 GREP="$ac_cv_path_GREP"
5342
5343
5344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5345$as_echo_n "checking for egrep... " >&6; }
5346if ${ac_cv_path_EGREP+:} false; then :
5347  $as_echo_n "(cached) " >&6
5348else
5349  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5350   then ac_cv_path_EGREP="$GREP -E"
5351   else
5352     if test -z "$EGREP"; then
5353  ac_path_EGREP_found=false
5354  # Loop through the user's path and test for each of PROGNAME-LIST
5355  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5357do
5358  IFS=$as_save_IFS
5359  test -z "$as_dir" && as_dir=.
5360    for ac_prog in egrep; do
5361    for ac_exec_ext in '' $ac_executable_extensions; do
5362      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5363      as_fn_executable_p "$ac_path_EGREP" || continue
5364# Check for GNU ac_path_EGREP and select it if it is found.
5365  # Check for GNU $ac_path_EGREP
5366case `"$ac_path_EGREP" --version 2>&1` in
5367*GNU*)
5368  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5369*)
5370  ac_count=0
5371  $as_echo_n 0123456789 >"conftest.in"
5372  while :
5373  do
5374    cat "conftest.in" "conftest.in" >"conftest.tmp"
5375    mv "conftest.tmp" "conftest.in"
5376    cp "conftest.in" "conftest.nl"
5377    $as_echo 'EGREP' >> "conftest.nl"
5378    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5379    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5380    as_fn_arith $ac_count + 1 && ac_count=$as_val
5381    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5382      # Best one so far, save it but keep looking for a better one
5383      ac_cv_path_EGREP="$ac_path_EGREP"
5384      ac_path_EGREP_max=$ac_count
5385    fi
5386    # 10*(2^10) chars as input seems more than enough
5387    test $ac_count -gt 10 && break
5388  done
5389  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5390esac
5391
5392      $ac_path_EGREP_found && break 3
5393    done
5394  done
5395  done
5396IFS=$as_save_IFS
5397  if test -z "$ac_cv_path_EGREP"; then
5398    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5399  fi
5400else
5401  ac_cv_path_EGREP=$EGREP
5402fi
5403
5404   fi
5405fi
5406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5407$as_echo "$ac_cv_path_EGREP" >&6; }
5408 EGREP="$ac_cv_path_EGREP"
5409
5410
5411
5412  # Keep these sync'd with the list in Makefile.am.  The first provides an
5413  # expandable list at autoconf time; the second provides an expandable list
5414  # (i.e., shell variable) at configure time.
5415
5416  SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5417
5418  # These need to be absolute paths, yet at the same time need to
5419  # canonicalize only relative paths, because then amd will not unmount
5420  # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5421  glibcxx_builddir=`${PWDCMD-pwd}`
5422  case $srcdir in
5423    \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5424    *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5425  esac
5426  toplevel_builddir=${glibcxx_builddir}/..
5427  toplevel_srcdir=${glibcxx_srcdir}/..
5428
5429
5430
5431
5432
5433  # We use these options to decide which functions to include.  They are
5434  # set from the top level.
5435
5436# Check whether --with-target-subdir was given.
5437if test "${with_target_subdir+set}" = set; then :
5438  withval=$with_target_subdir;
5439fi
5440
5441
5442
5443# Check whether --with-cross-host was given.
5444if test "${with_cross_host+set}" = set; then :
5445  withval=$with_cross_host;
5446fi
5447
5448
5449
5450# Check whether --with-newlib was given.
5451if test "${with_newlib+set}" = set; then :
5452  withval=$with_newlib;
5453fi
5454
5455
5456  # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5457  # available).  Uncomment the next line to force a particular method.
5458  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5459$as_echo_n "checking whether ln -s works... " >&6; }
5460LN_S=$as_ln_s
5461if test "$LN_S" = "ln -s"; then
5462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5463$as_echo "yes" >&6; }
5464else
5465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5466$as_echo "no, using $LN_S" >&6; }
5467fi
5468
5469  #LN_S='cp -p'
5470
5471  if test -n "$ac_tool_prefix"; then
5472  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5473set dummy ${ac_tool_prefix}as; ac_word=$2
5474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475$as_echo_n "checking for $ac_word... " >&6; }
5476if ${ac_cv_prog_AS+:} false; then :
5477  $as_echo_n "(cached) " >&6
5478else
5479  if test -n "$AS"; then
5480  ac_cv_prog_AS="$AS" # Let the user override the test.
5481else
5482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483for as_dir in $PATH
5484do
5485  IFS=$as_save_IFS
5486  test -z "$as_dir" && as_dir=.
5487    for ac_exec_ext in '' $ac_executable_extensions; do
5488  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489    ac_cv_prog_AS="${ac_tool_prefix}as"
5490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491    break 2
5492  fi
5493done
5494  done
5495IFS=$as_save_IFS
5496
5497fi
5498fi
5499AS=$ac_cv_prog_AS
5500if test -n "$AS"; then
5501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5502$as_echo "$AS" >&6; }
5503else
5504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505$as_echo "no" >&6; }
5506fi
5507
5508
5509fi
5510if test -z "$ac_cv_prog_AS"; then
5511  ac_ct_AS=$AS
5512  # Extract the first word of "as", so it can be a program name with args.
5513set dummy as; ac_word=$2
5514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515$as_echo_n "checking for $ac_word... " >&6; }
5516if ${ac_cv_prog_ac_ct_AS+:} false; then :
5517  $as_echo_n "(cached) " >&6
5518else
5519  if test -n "$ac_ct_AS"; then
5520  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5521else
5522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523for as_dir in $PATH
5524do
5525  IFS=$as_save_IFS
5526  test -z "$as_dir" && as_dir=.
5527    for ac_exec_ext in '' $ac_executable_extensions; do
5528  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529    ac_cv_prog_ac_ct_AS="as"
5530    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531    break 2
5532  fi
5533done
5534  done
5535IFS=$as_save_IFS
5536
5537fi
5538fi
5539ac_ct_AS=$ac_cv_prog_ac_ct_AS
5540if test -n "$ac_ct_AS"; then
5541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5542$as_echo "$ac_ct_AS" >&6; }
5543else
5544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545$as_echo "no" >&6; }
5546fi
5547
5548  if test "x$ac_ct_AS" = x; then
5549    AS=""
5550  else
5551    case $cross_compiling:$ac_tool_warned in
5552yes:)
5553{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555ac_tool_warned=yes ;;
5556esac
5557    AS=$ac_ct_AS
5558  fi
5559else
5560  AS="$ac_cv_prog_AS"
5561fi
5562
5563  if test -n "$ac_tool_prefix"; then
5564  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5565set dummy ${ac_tool_prefix}ar; ac_word=$2
5566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567$as_echo_n "checking for $ac_word... " >&6; }
5568if ${ac_cv_prog_AR+:} false; then :
5569  $as_echo_n "(cached) " >&6
5570else
5571  if test -n "$AR"; then
5572  ac_cv_prog_AR="$AR" # Let the user override the test.
5573else
5574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575for as_dir in $PATH
5576do
5577  IFS=$as_save_IFS
5578  test -z "$as_dir" && as_dir=.
5579    for ac_exec_ext in '' $ac_executable_extensions; do
5580  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581    ac_cv_prog_AR="${ac_tool_prefix}ar"
5582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583    break 2
5584  fi
5585done
5586  done
5587IFS=$as_save_IFS
5588
5589fi
5590fi
5591AR=$ac_cv_prog_AR
5592if test -n "$AR"; then
5593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5594$as_echo "$AR" >&6; }
5595else
5596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597$as_echo "no" >&6; }
5598fi
5599
5600
5601fi
5602if test -z "$ac_cv_prog_AR"; then
5603  ac_ct_AR=$AR
5604  # Extract the first word of "ar", so it can be a program name with args.
5605set dummy ar; ac_word=$2
5606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607$as_echo_n "checking for $ac_word... " >&6; }
5608if ${ac_cv_prog_ac_ct_AR+:} false; then :
5609  $as_echo_n "(cached) " >&6
5610else
5611  if test -n "$ac_ct_AR"; then
5612  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5613else
5614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615for as_dir in $PATH
5616do
5617  IFS=$as_save_IFS
5618  test -z "$as_dir" && as_dir=.
5619    for ac_exec_ext in '' $ac_executable_extensions; do
5620  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621    ac_cv_prog_ac_ct_AR="ar"
5622    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623    break 2
5624  fi
5625done
5626  done
5627IFS=$as_save_IFS
5628
5629fi
5630fi
5631ac_ct_AR=$ac_cv_prog_ac_ct_AR
5632if test -n "$ac_ct_AR"; then
5633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5634$as_echo "$ac_ct_AR" >&6; }
5635else
5636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637$as_echo "no" >&6; }
5638fi
5639
5640  if test "x$ac_ct_AR" = x; then
5641    AR=""
5642  else
5643    case $cross_compiling:$ac_tool_warned in
5644yes:)
5645{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5646$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5647ac_tool_warned=yes ;;
5648esac
5649    AR=$ac_ct_AR
5650  fi
5651else
5652  AR="$ac_cv_prog_AR"
5653fi
5654
5655  if test -n "$ac_tool_prefix"; then
5656  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5657set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659$as_echo_n "checking for $ac_word... " >&6; }
5660if ${ac_cv_prog_RANLIB+:} false; then :
5661  $as_echo_n "(cached) " >&6
5662else
5663  if test -n "$RANLIB"; then
5664  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5665else
5666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667for as_dir in $PATH
5668do
5669  IFS=$as_save_IFS
5670  test -z "$as_dir" && as_dir=.
5671    for ac_exec_ext in '' $ac_executable_extensions; do
5672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5673    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5675    break 2
5676  fi
5677done
5678  done
5679IFS=$as_save_IFS
5680
5681fi
5682fi
5683RANLIB=$ac_cv_prog_RANLIB
5684if test -n "$RANLIB"; then
5685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5686$as_echo "$RANLIB" >&6; }
5687else
5688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689$as_echo "no" >&6; }
5690fi
5691
5692
5693fi
5694if test -z "$ac_cv_prog_RANLIB"; then
5695  ac_ct_RANLIB=$RANLIB
5696  # Extract the first word of "ranlib", so it can be a program name with args.
5697set dummy ranlib; ac_word=$2
5698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699$as_echo_n "checking for $ac_word... " >&6; }
5700if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5701  $as_echo_n "(cached) " >&6
5702else
5703  if test -n "$ac_ct_RANLIB"; then
5704  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5705else
5706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707for as_dir in $PATH
5708do
5709  IFS=$as_save_IFS
5710  test -z "$as_dir" && as_dir=.
5711    for ac_exec_ext in '' $ac_executable_extensions; do
5712  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713    ac_cv_prog_ac_ct_RANLIB="ranlib"
5714    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715    break 2
5716  fi
5717done
5718  done
5719IFS=$as_save_IFS
5720
5721fi
5722fi
5723ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5724if test -n "$ac_ct_RANLIB"; then
5725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5726$as_echo "$ac_ct_RANLIB" >&6; }
5727else
5728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729$as_echo "no" >&6; }
5730fi
5731
5732  if test "x$ac_ct_RANLIB" = x; then
5733    RANLIB="ranlib-not-found-in-path-error"
5734  else
5735    case $cross_compiling:$ac_tool_warned in
5736yes:)
5737{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5738$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5739ac_tool_warned=yes ;;
5740esac
5741    RANLIB=$ac_ct_RANLIB
5742  fi
5743else
5744  RANLIB="$ac_cv_prog_RANLIB"
5745fi
5746
5747
5748
5749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5750$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5751    # Check whether --enable-maintainer-mode was given.
5752if test "${enable_maintainer_mode+set}" = set; then :
5753  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5754else
5755  USE_MAINTAINER_MODE=no
5756fi
5757
5758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5759$as_echo "$USE_MAINTAINER_MODE" >&6; }
5760   if test $USE_MAINTAINER_MODE = yes; then
5761  MAINTAINER_MODE_TRUE=
5762  MAINTAINER_MODE_FALSE='#'
5763else
5764  MAINTAINER_MODE_TRUE='#'
5765  MAINTAINER_MODE_FALSE=
5766fi
5767
5768  MAINT=$MAINTAINER_MODE_TRUE
5769
5770
5771
5772  # Set up safe default values for all subsequent AM_CONDITIONAL tests
5773  # which are themselves conditionally expanded.
5774  ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5775  ## other macros from doing the same.  This should be automated.)  -pme
5776
5777  # Check for C library flavor since GNU/Linux platforms use different
5778  # configuration directories depending on the C library in use.
5779  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5780/* end confdefs.h.  */
5781
5782  #include <stdio.h>
5783  #if __UCLIBC__
5784    _using_uclibc
5785  #endif
5786
5787_ACEOF
5788if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5789  $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5790  uclibc=yes
5791else
5792  uclibc=no
5793fi
5794rm -f conftest*
5795
5796
5797  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798/* end confdefs.h.  */
5799
5800  #include <stdio.h>
5801  #if __BIONIC__
5802    _using_bionic
5803  #endif
5804
5805_ACEOF
5806if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5807  $EGREP "_using_bionic" >/dev/null 2>&1; then :
5808  bionic=yes
5809else
5810  bionic=no
5811fi
5812rm -f conftest*
5813
5814
5815  # Find platform-specific directories containing configuration info.
5816  # Also possibly modify flags used elsewhere, as needed by the platform.
5817
5818  . $glibcxx_srcdir/configure.host
5819  { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5820$as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5821  { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5822$as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5823
5824
5825
5826# Libtool setup.
5827if test "x${with_newlib}" != "xyes"; then
5828  enable_dlopen=yes
5829
5830
5831
5832fi
5833case `pwd` in
5834  *\ * | *\	*)
5835    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5836$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5837esac
5838
5839
5840
5841macro_version='2.2.7a'
5842macro_revision='1.3134'
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856ltmain="$ac_aux_dir/ltmain.sh"
5857
5858# Backslashify metacharacters that are still active within
5859# double-quoted strings.
5860sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5861
5862# Same as above, but do not quote variable references.
5863double_quote_subst='s/\(["`\\]\)/\\\1/g'
5864
5865# Sed substitution to delay expansion of an escaped shell variable in a
5866# double_quote_subst'ed string.
5867delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5868
5869# Sed substitution to delay expansion of an escaped single quote.
5870delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5871
5872# Sed substitution to avoid accidental globbing in evaled expressions
5873no_glob_subst='s/\*/\\\*/g'
5874
5875ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5876ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5877ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5878
5879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5880$as_echo_n "checking how to print strings... " >&6; }
5881# Test print first, because it will be a builtin if present.
5882if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5883   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5884  ECHO='print -r --'
5885elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5886  ECHO='printf %s\n'
5887else
5888  # Use this function as a fallback that always works.
5889  func_fallback_echo ()
5890  {
5891    eval 'cat <<_LTECHO_EOF
5892$1
5893_LTECHO_EOF'
5894  }
5895  ECHO='func_fallback_echo'
5896fi
5897
5898# func_echo_all arg...
5899# Invoke $ECHO with all args, space-separated.
5900func_echo_all ()
5901{
5902    $ECHO ""
5903}
5904
5905case "$ECHO" in
5906  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5907$as_echo "printf" >&6; } ;;
5908  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5909$as_echo "print -r" >&6; } ;;
5910  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5911$as_echo "cat" >&6; } ;;
5912esac
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5928$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5929if ${ac_cv_path_SED+:} false; then :
5930  $as_echo_n "(cached) " >&6
5931else
5932            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5933     for ac_i in 1 2 3 4 5 6 7; do
5934       ac_script="$ac_script$as_nl$ac_script"
5935     done
5936     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5937     { ac_script=; unset ac_script;}
5938     if test -z "$SED"; then
5939  ac_path_SED_found=false
5940  # Loop through the user's path and test for each of PROGNAME-LIST
5941  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942for as_dir in $PATH
5943do
5944  IFS=$as_save_IFS
5945  test -z "$as_dir" && as_dir=.
5946    for ac_prog in sed gsed; do
5947    for ac_exec_ext in '' $ac_executable_extensions; do
5948      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5949      as_fn_executable_p "$ac_path_SED" || continue
5950# Check for GNU ac_path_SED and select it if it is found.
5951  # Check for GNU $ac_path_SED
5952case `"$ac_path_SED" --version 2>&1` in
5953*GNU*)
5954  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5955*)
5956  ac_count=0
5957  $as_echo_n 0123456789 >"conftest.in"
5958  while :
5959  do
5960    cat "conftest.in" "conftest.in" >"conftest.tmp"
5961    mv "conftest.tmp" "conftest.in"
5962    cp "conftest.in" "conftest.nl"
5963    $as_echo '' >> "conftest.nl"
5964    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5965    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5966    as_fn_arith $ac_count + 1 && ac_count=$as_val
5967    if test $ac_count -gt ${ac_path_SED_max-0}; then
5968      # Best one so far, save it but keep looking for a better one
5969      ac_cv_path_SED="$ac_path_SED"
5970      ac_path_SED_max=$ac_count
5971    fi
5972    # 10*(2^10) chars as input seems more than enough
5973    test $ac_count -gt 10 && break
5974  done
5975  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5976esac
5977
5978      $ac_path_SED_found && break 3
5979    done
5980  done
5981  done
5982IFS=$as_save_IFS
5983  if test -z "$ac_cv_path_SED"; then
5984    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5985  fi
5986else
5987  ac_cv_path_SED=$SED
5988fi
5989
5990fi
5991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5992$as_echo "$ac_cv_path_SED" >&6; }
5993 SED="$ac_cv_path_SED"
5994  rm -f conftest.sed
5995
5996test -z "$SED" && SED=sed
5997Xsed="$SED -e 1s/^X//"
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6010$as_echo_n "checking for fgrep... " >&6; }
6011if ${ac_cv_path_FGREP+:} false; then :
6012  $as_echo_n "(cached) " >&6
6013else
6014  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6015   then ac_cv_path_FGREP="$GREP -F"
6016   else
6017     if test -z "$FGREP"; then
6018  ac_path_FGREP_found=false
6019  # Loop through the user's path and test for each of PROGNAME-LIST
6020  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6022do
6023  IFS=$as_save_IFS
6024  test -z "$as_dir" && as_dir=.
6025    for ac_prog in fgrep; do
6026    for ac_exec_ext in '' $ac_executable_extensions; do
6027      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6028      as_fn_executable_p "$ac_path_FGREP" || continue
6029# Check for GNU ac_path_FGREP and select it if it is found.
6030  # Check for GNU $ac_path_FGREP
6031case `"$ac_path_FGREP" --version 2>&1` in
6032*GNU*)
6033  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6034*)
6035  ac_count=0
6036  $as_echo_n 0123456789 >"conftest.in"
6037  while :
6038  do
6039    cat "conftest.in" "conftest.in" >"conftest.tmp"
6040    mv "conftest.tmp" "conftest.in"
6041    cp "conftest.in" "conftest.nl"
6042    $as_echo 'FGREP' >> "conftest.nl"
6043    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6044    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6045    as_fn_arith $ac_count + 1 && ac_count=$as_val
6046    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6047      # Best one so far, save it but keep looking for a better one
6048      ac_cv_path_FGREP="$ac_path_FGREP"
6049      ac_path_FGREP_max=$ac_count
6050    fi
6051    # 10*(2^10) chars as input seems more than enough
6052    test $ac_count -gt 10 && break
6053  done
6054  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6055esac
6056
6057      $ac_path_FGREP_found && break 3
6058    done
6059  done
6060  done
6061IFS=$as_save_IFS
6062  if test -z "$ac_cv_path_FGREP"; then
6063    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6064  fi
6065else
6066  ac_cv_path_FGREP=$FGREP
6067fi
6068
6069   fi
6070fi
6071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6072$as_echo "$ac_cv_path_FGREP" >&6; }
6073 FGREP="$ac_cv_path_FGREP"
6074
6075
6076test -z "$GREP" && GREP=grep
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096# Check whether --with-gnu-ld was given.
6097if test "${with_gnu_ld+set}" = set; then :
6098  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6099else
6100  with_gnu_ld=no
6101fi
6102
6103ac_prog=ld
6104if test "$GCC" = yes; then
6105  # Check if gcc -print-prog-name=ld gives a path.
6106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6107$as_echo_n "checking for ld used by $CC... " >&6; }
6108  case $host in
6109  *-*-mingw*)
6110    # gcc leaves a trailing carriage return which upsets mingw
6111    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6112  *)
6113    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6114  esac
6115  case $ac_prog in
6116    # Accept absolute paths.
6117    [\\/]* | ?:[\\/]*)
6118      re_direlt='/[^/][^/]*/\.\./'
6119      # Canonicalize the pathname of ld
6120      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6121      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6122	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6123      done
6124      test -z "$LD" && LD="$ac_prog"
6125      ;;
6126  "")
6127    # If it fails, then pretend we aren't using GCC.
6128    ac_prog=ld
6129    ;;
6130  *)
6131    # If it is relative, then search for the first ld in PATH.
6132    with_gnu_ld=unknown
6133    ;;
6134  esac
6135elif test "$with_gnu_ld" = yes; then
6136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6137$as_echo_n "checking for GNU ld... " >&6; }
6138else
6139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6140$as_echo_n "checking for non-GNU ld... " >&6; }
6141fi
6142if ${lt_cv_path_LD+:} false; then :
6143  $as_echo_n "(cached) " >&6
6144else
6145  if test -z "$LD"; then
6146  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6147  for ac_dir in $PATH; do
6148    IFS="$lt_save_ifs"
6149    test -z "$ac_dir" && ac_dir=.
6150    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6151      lt_cv_path_LD="$ac_dir/$ac_prog"
6152      # Check to see if the program is GNU ld.  I'd rather use --version,
6153      # but apparently some variants of GNU ld only accept -v.
6154      # Break only if it was the GNU/non-GNU ld that we prefer.
6155      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6156      *GNU* | *'with BFD'*)
6157	test "$with_gnu_ld" != no && break
6158	;;
6159      *)
6160	test "$with_gnu_ld" != yes && break
6161	;;
6162      esac
6163    fi
6164  done
6165  IFS="$lt_save_ifs"
6166else
6167  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6168fi
6169fi
6170
6171LD="$lt_cv_path_LD"
6172if test -n "$LD"; then
6173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6174$as_echo "$LD" >&6; }
6175else
6176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177$as_echo "no" >&6; }
6178fi
6179test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6181$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6182if ${lt_cv_prog_gnu_ld+:} false; then :
6183  $as_echo_n "(cached) " >&6
6184else
6185  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6186case `$LD -v 2>&1 </dev/null` in
6187*GNU* | *'with BFD'*)
6188  lt_cv_prog_gnu_ld=yes
6189  ;;
6190*)
6191  lt_cv_prog_gnu_ld=no
6192  ;;
6193esac
6194fi
6195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6196$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6197with_gnu_ld=$lt_cv_prog_gnu_ld
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6208$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6209if ${lt_cv_path_NM+:} false; then :
6210  $as_echo_n "(cached) " >&6
6211else
6212  if test -n "$NM"; then
6213  # Let the user override the test.
6214  lt_cv_path_NM="$NM"
6215else
6216  lt_nm_to_check="${ac_tool_prefix}nm"
6217  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6218    lt_nm_to_check="$lt_nm_to_check nm"
6219  fi
6220  for lt_tmp_nm in $lt_nm_to_check; do
6221    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6222    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6223      IFS="$lt_save_ifs"
6224      test -z "$ac_dir" && ac_dir=.
6225      tmp_nm="$ac_dir/$lt_tmp_nm"
6226      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6227	# Check to see if the nm accepts a BSD-compat flag.
6228	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6229	#   nm: unknown option "B" ignored
6230	# Tru64's nm complains that /dev/null is an invalid object file
6231	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6232	*/dev/null* | *'Invalid file or object type'*)
6233	  lt_cv_path_NM="$tmp_nm -B"
6234	  break
6235	  ;;
6236	*)
6237	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6238	  */dev/null*)
6239	    lt_cv_path_NM="$tmp_nm -p"
6240	    break
6241	    ;;
6242	  *)
6243	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6244	    continue # so that we can try to find one that supports BSD flags
6245	    ;;
6246	  esac
6247	  ;;
6248	esac
6249      fi
6250    done
6251    IFS="$lt_save_ifs"
6252  done
6253  : ${lt_cv_path_NM=no}
6254fi
6255fi
6256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6257$as_echo "$lt_cv_path_NM" >&6; }
6258if test "$lt_cv_path_NM" != "no"; then
6259  NM="$lt_cv_path_NM"
6260else
6261  # Didn't find any BSD compatible name lister, look for dumpbin.
6262  if test -n "$DUMPBIN"; then :
6263    # Let the user override the test.
6264  else
6265    if test -n "$ac_tool_prefix"; then
6266  for ac_prog in dumpbin "link -dump"
6267  do
6268    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6269set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271$as_echo_n "checking for $ac_word... " >&6; }
6272if ${ac_cv_prog_DUMPBIN+:} false; then :
6273  $as_echo_n "(cached) " >&6
6274else
6275  if test -n "$DUMPBIN"; then
6276  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6277else
6278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6279for as_dir in $PATH
6280do
6281  IFS=$as_save_IFS
6282  test -z "$as_dir" && as_dir=.
6283    for ac_exec_ext in '' $ac_executable_extensions; do
6284  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6285    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6286    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287    break 2
6288  fi
6289done
6290  done
6291IFS=$as_save_IFS
6292
6293fi
6294fi
6295DUMPBIN=$ac_cv_prog_DUMPBIN
6296if test -n "$DUMPBIN"; then
6297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6298$as_echo "$DUMPBIN" >&6; }
6299else
6300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6301$as_echo "no" >&6; }
6302fi
6303
6304
6305    test -n "$DUMPBIN" && break
6306  done
6307fi
6308if test -z "$DUMPBIN"; then
6309  ac_ct_DUMPBIN=$DUMPBIN
6310  for ac_prog in dumpbin "link -dump"
6311do
6312  # Extract the first word of "$ac_prog", so it can be a program name with args.
6313set dummy $ac_prog; ac_word=$2
6314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6315$as_echo_n "checking for $ac_word... " >&6; }
6316if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6317  $as_echo_n "(cached) " >&6
6318else
6319  if test -n "$ac_ct_DUMPBIN"; then
6320  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6321else
6322as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323for as_dir in $PATH
6324do
6325  IFS=$as_save_IFS
6326  test -z "$as_dir" && as_dir=.
6327    for ac_exec_ext in '' $ac_executable_extensions; do
6328  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6330    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331    break 2
6332  fi
6333done
6334  done
6335IFS=$as_save_IFS
6336
6337fi
6338fi
6339ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6340if test -n "$ac_ct_DUMPBIN"; then
6341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6342$as_echo "$ac_ct_DUMPBIN" >&6; }
6343else
6344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6345$as_echo "no" >&6; }
6346fi
6347
6348
6349  test -n "$ac_ct_DUMPBIN" && break
6350done
6351
6352  if test "x$ac_ct_DUMPBIN" = x; then
6353    DUMPBIN=":"
6354  else
6355    case $cross_compiling:$ac_tool_warned in
6356yes:)
6357{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6358$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6359ac_tool_warned=yes ;;
6360esac
6361    DUMPBIN=$ac_ct_DUMPBIN
6362  fi
6363fi
6364
6365    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6366    *COFF*)
6367      DUMPBIN="$DUMPBIN -symbols"
6368      ;;
6369    *)
6370      DUMPBIN=:
6371      ;;
6372    esac
6373  fi
6374
6375  if test "$DUMPBIN" != ":"; then
6376    NM="$DUMPBIN"
6377  fi
6378fi
6379test -z "$NM" && NM=nm
6380
6381
6382
6383
6384
6385
6386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6387$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6388if ${lt_cv_nm_interface+:} false; then :
6389  $as_echo_n "(cached) " >&6
6390else
6391  lt_cv_nm_interface="BSD nm"
6392  echo "int some_variable = 0;" > conftest.$ac_ext
6393  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6394  (eval "$ac_compile" 2>conftest.err)
6395  cat conftest.err >&5
6396  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6397  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6398  cat conftest.err >&5
6399  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6400  cat conftest.out >&5
6401  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6402    lt_cv_nm_interface="MS dumpbin"
6403  fi
6404  rm -f conftest*
6405fi
6406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6407$as_echo "$lt_cv_nm_interface" >&6; }
6408
6409# find the maximum length of command line arguments
6410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6411$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6412if ${lt_cv_sys_max_cmd_len+:} false; then :
6413  $as_echo_n "(cached) " >&6
6414else
6415    i=0
6416  teststring="ABCD"
6417
6418  case $build_os in
6419  msdosdjgpp*)
6420    # On DJGPP, this test can blow up pretty badly due to problems in libc
6421    # (any single argument exceeding 2000 bytes causes a buffer overrun
6422    # during glob expansion).  Even if it were fixed, the result of this
6423    # check would be larger than it should be.
6424    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6425    ;;
6426
6427  gnu*)
6428    # Under GNU Hurd, this test is not required because there is
6429    # no limit to the length of command line arguments.
6430    # Libtool will interpret -1 as no limit whatsoever
6431    lt_cv_sys_max_cmd_len=-1;
6432    ;;
6433
6434  cygwin* | mingw* | cegcc*)
6435    # On Win9x/ME, this test blows up -- it succeeds, but takes
6436    # about 5 minutes as the teststring grows exponentially.
6437    # Worse, since 9x/ME are not pre-emptively multitasking,
6438    # you end up with a "frozen" computer, even though with patience
6439    # the test eventually succeeds (with a max line length of 256k).
6440    # Instead, let's just punt: use the minimum linelength reported by
6441    # all of the supported platforms: 8192 (on NT/2K/XP).
6442    lt_cv_sys_max_cmd_len=8192;
6443    ;;
6444
6445  mint*)
6446    # On MiNT this can take a long time and run out of memory.
6447    lt_cv_sys_max_cmd_len=8192;
6448    ;;
6449
6450  amigaos*)
6451    # On AmigaOS with pdksh, this test takes hours, literally.
6452    # So we just punt and use a minimum line length of 8192.
6453    lt_cv_sys_max_cmd_len=8192;
6454    ;;
6455
6456  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6457    # This has been around since 386BSD, at least.  Likely further.
6458    if test -x /sbin/sysctl; then
6459      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6460    elif test -x /usr/sbin/sysctl; then
6461      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6462    else
6463      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6464    fi
6465    # And add a safety zone
6466    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6467    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6468    ;;
6469
6470  interix*)
6471    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6472    lt_cv_sys_max_cmd_len=196608
6473    ;;
6474
6475  osf*)
6476    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6477    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6478    # nice to cause kernel panics so lets avoid the loop below.
6479    # First set a reasonable default.
6480    lt_cv_sys_max_cmd_len=16384
6481    #
6482    if test -x /sbin/sysconfig; then
6483      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6484        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6485      esac
6486    fi
6487    ;;
6488  sco3.2v5*)
6489    lt_cv_sys_max_cmd_len=102400
6490    ;;
6491  sysv5* | sco5v6* | sysv4.2uw2*)
6492    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6493    if test -n "$kargmax"; then
6494      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6495    else
6496      lt_cv_sys_max_cmd_len=32768
6497    fi
6498    ;;
6499  *)
6500    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6501    if test -n "$lt_cv_sys_max_cmd_len"; then
6502      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6503      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6504    else
6505      # Make teststring a little bigger before we do anything with it.
6506      # a 1K string should be a reasonable start.
6507      for i in 1 2 3 4 5 6 7 8 ; do
6508        teststring=$teststring$teststring
6509      done
6510      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6511      # If test is not a shell built-in, we'll probably end up computing a
6512      # maximum length that is only half of the actual maximum length, but
6513      # we can't tell.
6514      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6515	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6516	      test $i != 17 # 1/2 MB should be enough
6517      do
6518        i=`expr $i + 1`
6519        teststring=$teststring$teststring
6520      done
6521      # Only check the string length outside the loop.
6522      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6523      teststring=
6524      # Add a significant safety factor because C++ compilers can tack on
6525      # massive amounts of additional arguments before passing them to the
6526      # linker.  It appears as though 1/2 is a usable value.
6527      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6528    fi
6529    ;;
6530  esac
6531
6532fi
6533
6534if test -n $lt_cv_sys_max_cmd_len ; then
6535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6536$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6537else
6538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6539$as_echo "none" >&6; }
6540fi
6541max_cmd_len=$lt_cv_sys_max_cmd_len
6542
6543
6544
6545
6546
6547
6548: ${CP="cp -f"}
6549: ${MV="mv -f"}
6550: ${RM="rm -f"}
6551
6552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6553$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6554# Try some XSI features
6555xsi_shell=no
6556( _lt_dummy="a/b/c"
6557  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6558      = c,a/b,, \
6559    && eval 'test $(( 1 + 1 )) -eq 2 \
6560    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6561  && xsi_shell=yes
6562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6563$as_echo "$xsi_shell" >&6; }
6564
6565
6566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6567$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6568lt_shell_append=no
6569( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6570    >/dev/null 2>&1 \
6571  && lt_shell_append=yes
6572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6573$as_echo "$lt_shell_append" >&6; }
6574
6575
6576if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6577  lt_unset=unset
6578else
6579  lt_unset=false
6580fi
6581
6582
6583
6584
6585
6586# test EBCDIC or ASCII
6587case `echo X|tr X '\101'` in
6588 A) # ASCII based system
6589    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6590  lt_SP2NL='tr \040 \012'
6591  lt_NL2SP='tr \015\012 \040\040'
6592  ;;
6593 *) # EBCDIC based system
6594  lt_SP2NL='tr \100 \n'
6595  lt_NL2SP='tr \r\n \100\100'
6596  ;;
6597esac
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6608$as_echo_n "checking for $LD option to reload object files... " >&6; }
6609if ${lt_cv_ld_reload_flag+:} false; then :
6610  $as_echo_n "(cached) " >&6
6611else
6612  lt_cv_ld_reload_flag='-r'
6613fi
6614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6615$as_echo "$lt_cv_ld_reload_flag" >&6; }
6616reload_flag=$lt_cv_ld_reload_flag
6617case $reload_flag in
6618"" | " "*) ;;
6619*) reload_flag=" $reload_flag" ;;
6620esac
6621reload_cmds='$LD$reload_flag -o $output$reload_objs'
6622case $host_os in
6623  darwin*)
6624    if test "$GCC" = yes; then
6625      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6626    else
6627      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6628    fi
6629    ;;
6630esac
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640if test -n "$ac_tool_prefix"; then
6641  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6642set dummy ${ac_tool_prefix}objdump; ac_word=$2
6643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644$as_echo_n "checking for $ac_word... " >&6; }
6645if ${ac_cv_prog_OBJDUMP+:} false; then :
6646  $as_echo_n "(cached) " >&6
6647else
6648  if test -n "$OBJDUMP"; then
6649  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6650else
6651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652for as_dir in $PATH
6653do
6654  IFS=$as_save_IFS
6655  test -z "$as_dir" && as_dir=.
6656    for ac_exec_ext in '' $ac_executable_extensions; do
6657  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6659    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660    break 2
6661  fi
6662done
6663  done
6664IFS=$as_save_IFS
6665
6666fi
6667fi
6668OBJDUMP=$ac_cv_prog_OBJDUMP
6669if test -n "$OBJDUMP"; then
6670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6671$as_echo "$OBJDUMP" >&6; }
6672else
6673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674$as_echo "no" >&6; }
6675fi
6676
6677
6678fi
6679if test -z "$ac_cv_prog_OBJDUMP"; then
6680  ac_ct_OBJDUMP=$OBJDUMP
6681  # Extract the first word of "objdump", so it can be a program name with args.
6682set dummy objdump; ac_word=$2
6683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684$as_echo_n "checking for $ac_word... " >&6; }
6685if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6686  $as_echo_n "(cached) " >&6
6687else
6688  if test -n "$ac_ct_OBJDUMP"; then
6689  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6690else
6691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692for as_dir in $PATH
6693do
6694  IFS=$as_save_IFS
6695  test -z "$as_dir" && as_dir=.
6696    for ac_exec_ext in '' $ac_executable_extensions; do
6697  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6698    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6699    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700    break 2
6701  fi
6702done
6703  done
6704IFS=$as_save_IFS
6705
6706fi
6707fi
6708ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6709if test -n "$ac_ct_OBJDUMP"; then
6710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6711$as_echo "$ac_ct_OBJDUMP" >&6; }
6712else
6713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714$as_echo "no" >&6; }
6715fi
6716
6717  if test "x$ac_ct_OBJDUMP" = x; then
6718    OBJDUMP="false"
6719  else
6720    case $cross_compiling:$ac_tool_warned in
6721yes:)
6722{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724ac_tool_warned=yes ;;
6725esac
6726    OBJDUMP=$ac_ct_OBJDUMP
6727  fi
6728else
6729  OBJDUMP="$ac_cv_prog_OBJDUMP"
6730fi
6731
6732test -z "$OBJDUMP" && OBJDUMP=objdump
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6743$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6744if ${lt_cv_deplibs_check_method+:} false; then :
6745  $as_echo_n "(cached) " >&6
6746else
6747  lt_cv_file_magic_cmd='$MAGIC_CMD'
6748lt_cv_file_magic_test_file=
6749lt_cv_deplibs_check_method='unknown'
6750# Need to set the preceding variable on all platforms that support
6751# interlibrary dependencies.
6752# 'none' -- dependencies not supported.
6753# `unknown' -- same as none, but documents that we really don't know.
6754# 'pass_all' -- all dependencies passed with no checks.
6755# 'test_compile' -- check by making test program.
6756# 'file_magic [[regex]]' -- check by looking for files in library path
6757# which responds to the $file_magic_cmd with a given extended regex.
6758# If you have `file' or equivalent on your system and you're not sure
6759# whether `pass_all' will *always* work, you probably want this one.
6760
6761case $host_os in
6762aix[4-9]*)
6763  lt_cv_deplibs_check_method=pass_all
6764  ;;
6765
6766beos*)
6767  lt_cv_deplibs_check_method=pass_all
6768  ;;
6769
6770bsdi[45]*)
6771  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6772  lt_cv_file_magic_cmd='/usr/bin/file -L'
6773  lt_cv_file_magic_test_file=/shlib/libc.so
6774  ;;
6775
6776cygwin*)
6777  # func_win32_libid is a shell function defined in ltmain.sh
6778  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6779  lt_cv_file_magic_cmd='func_win32_libid'
6780  ;;
6781
6782mingw* | pw32*)
6783  # Base MSYS/MinGW do not provide the 'file' command needed by
6784  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6785  # unless we find 'file', for example because we are cross-compiling.
6786  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6787  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6788    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6789    lt_cv_file_magic_cmd='func_win32_libid'
6790  else
6791    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6792    lt_cv_file_magic_cmd='$OBJDUMP -f'
6793  fi
6794  ;;
6795
6796cegcc*)
6797  # use the weaker test based on 'objdump'. See mingw*.
6798  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6799  lt_cv_file_magic_cmd='$OBJDUMP -f'
6800  ;;
6801
6802darwin* | rhapsody*)
6803  lt_cv_deplibs_check_method=pass_all
6804  ;;
6805
6806freebsd* | dragonfly*)
6807  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6808    case $host_cpu in
6809    i*86 )
6810      # Not sure whether the presence of OpenBSD here was a mistake.
6811      # Let's accept both of them until this is cleared up.
6812      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6813      lt_cv_file_magic_cmd=/usr/bin/file
6814      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6815      ;;
6816    esac
6817  else
6818    lt_cv_deplibs_check_method=pass_all
6819  fi
6820  ;;
6821
6822gnu*)
6823  lt_cv_deplibs_check_method=pass_all
6824  ;;
6825
6826haiku*)
6827  lt_cv_deplibs_check_method=pass_all
6828  ;;
6829
6830hpux10.20* | hpux11*)
6831  lt_cv_file_magic_cmd=/usr/bin/file
6832  case $host_cpu in
6833  ia64*)
6834    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6835    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6836    ;;
6837  hppa*64*)
6838    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]'
6839    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6840    ;;
6841  *)
6842    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6843    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6844    ;;
6845  esac
6846  ;;
6847
6848interix[3-9]*)
6849  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6850  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6851  ;;
6852
6853irix5* | irix6* | nonstopux*)
6854  case $LD in
6855  *-32|*"-32 ") libmagic=32-bit;;
6856  *-n32|*"-n32 ") libmagic=N32;;
6857  *-64|*"-64 ") libmagic=64-bit;;
6858  *) libmagic=never-match;;
6859  esac
6860  lt_cv_deplibs_check_method=pass_all
6861  ;;
6862
6863# This must be Linux ELF.
6864linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6865  lt_cv_deplibs_check_method=pass_all
6866  ;;
6867
6868netbsd*)
6869  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6870    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6871  else
6872    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6873  fi
6874  ;;
6875
6876newos6*)
6877  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6878  lt_cv_file_magic_cmd=/usr/bin/file
6879  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6880  ;;
6881
6882*nto* | *qnx*)
6883  lt_cv_deplibs_check_method=pass_all
6884  ;;
6885
6886openbsd*)
6887  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6888    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6889  else
6890    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6891  fi
6892  ;;
6893
6894osf3* | osf4* | osf5*)
6895  lt_cv_deplibs_check_method=pass_all
6896  ;;
6897
6898rdos*)
6899  lt_cv_deplibs_check_method=pass_all
6900  ;;
6901
6902solaris*)
6903  lt_cv_deplibs_check_method=pass_all
6904  ;;
6905
6906sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6907  lt_cv_deplibs_check_method=pass_all
6908  ;;
6909
6910sysv4 | sysv4.3*)
6911  case $host_vendor in
6912  motorola)
6913    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]'
6914    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6915    ;;
6916  ncr)
6917    lt_cv_deplibs_check_method=pass_all
6918    ;;
6919  sequent)
6920    lt_cv_file_magic_cmd='/bin/file'
6921    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6922    ;;
6923  sni)
6924    lt_cv_file_magic_cmd='/bin/file'
6925    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6926    lt_cv_file_magic_test_file=/lib/libc.so
6927    ;;
6928  siemens)
6929    lt_cv_deplibs_check_method=pass_all
6930    ;;
6931  pc)
6932    lt_cv_deplibs_check_method=pass_all
6933    ;;
6934  esac
6935  ;;
6936
6937tpf*)
6938  lt_cv_deplibs_check_method=pass_all
6939  ;;
6940esac
6941
6942fi
6943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6944$as_echo "$lt_cv_deplibs_check_method" >&6; }
6945file_magic_cmd=$lt_cv_file_magic_cmd
6946deplibs_check_method=$lt_cv_deplibs_check_method
6947test -z "$deplibs_check_method" && deplibs_check_method=unknown
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960if test -n "$ac_tool_prefix"; then
6961  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6962set dummy ${ac_tool_prefix}ar; ac_word=$2
6963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964$as_echo_n "checking for $ac_word... " >&6; }
6965if ${ac_cv_prog_AR+:} false; then :
6966  $as_echo_n "(cached) " >&6
6967else
6968  if test -n "$AR"; then
6969  ac_cv_prog_AR="$AR" # Let the user override the test.
6970else
6971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972for as_dir in $PATH
6973do
6974  IFS=$as_save_IFS
6975  test -z "$as_dir" && as_dir=.
6976    for ac_exec_ext in '' $ac_executable_extensions; do
6977  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978    ac_cv_prog_AR="${ac_tool_prefix}ar"
6979    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980    break 2
6981  fi
6982done
6983  done
6984IFS=$as_save_IFS
6985
6986fi
6987fi
6988AR=$ac_cv_prog_AR
6989if test -n "$AR"; then
6990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6991$as_echo "$AR" >&6; }
6992else
6993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994$as_echo "no" >&6; }
6995fi
6996
6997
6998fi
6999if test -z "$ac_cv_prog_AR"; then
7000  ac_ct_AR=$AR
7001  # Extract the first word of "ar", so it can be a program name with args.
7002set dummy ar; ac_word=$2
7003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004$as_echo_n "checking for $ac_word... " >&6; }
7005if ${ac_cv_prog_ac_ct_AR+:} false; then :
7006  $as_echo_n "(cached) " >&6
7007else
7008  if test -n "$ac_ct_AR"; then
7009  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7010else
7011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012for as_dir in $PATH
7013do
7014  IFS=$as_save_IFS
7015  test -z "$as_dir" && as_dir=.
7016    for ac_exec_ext in '' $ac_executable_extensions; do
7017  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018    ac_cv_prog_ac_ct_AR="ar"
7019    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020    break 2
7021  fi
7022done
7023  done
7024IFS=$as_save_IFS
7025
7026fi
7027fi
7028ac_ct_AR=$ac_cv_prog_ac_ct_AR
7029if test -n "$ac_ct_AR"; then
7030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7031$as_echo "$ac_ct_AR" >&6; }
7032else
7033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034$as_echo "no" >&6; }
7035fi
7036
7037  if test "x$ac_ct_AR" = x; then
7038    AR="false"
7039  else
7040    case $cross_compiling:$ac_tool_warned in
7041yes:)
7042{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044ac_tool_warned=yes ;;
7045esac
7046    AR=$ac_ct_AR
7047  fi
7048else
7049  AR="$ac_cv_prog_AR"
7050fi
7051
7052test -z "$AR" && AR=ar
7053test -z "$AR_FLAGS" && AR_FLAGS=cru
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065if test -n "$ac_tool_prefix"; then
7066  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7067set dummy ${ac_tool_prefix}strip; ac_word=$2
7068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069$as_echo_n "checking for $ac_word... " >&6; }
7070if ${ac_cv_prog_STRIP+:} false; then :
7071  $as_echo_n "(cached) " >&6
7072else
7073  if test -n "$STRIP"; then
7074  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7075else
7076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077for as_dir in $PATH
7078do
7079  IFS=$as_save_IFS
7080  test -z "$as_dir" && as_dir=.
7081    for ac_exec_ext in '' $ac_executable_extensions; do
7082  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7083    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7084    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085    break 2
7086  fi
7087done
7088  done
7089IFS=$as_save_IFS
7090
7091fi
7092fi
7093STRIP=$ac_cv_prog_STRIP
7094if test -n "$STRIP"; then
7095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7096$as_echo "$STRIP" >&6; }
7097else
7098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099$as_echo "no" >&6; }
7100fi
7101
7102
7103fi
7104if test -z "$ac_cv_prog_STRIP"; then
7105  ac_ct_STRIP=$STRIP
7106  # Extract the first word of "strip", so it can be a program name with args.
7107set dummy strip; ac_word=$2
7108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109$as_echo_n "checking for $ac_word... " >&6; }
7110if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7111  $as_echo_n "(cached) " >&6
7112else
7113  if test -n "$ac_ct_STRIP"; then
7114  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7115else
7116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117for as_dir in $PATH
7118do
7119  IFS=$as_save_IFS
7120  test -z "$as_dir" && as_dir=.
7121    for ac_exec_ext in '' $ac_executable_extensions; do
7122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7123    ac_cv_prog_ac_ct_STRIP="strip"
7124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7125    break 2
7126  fi
7127done
7128  done
7129IFS=$as_save_IFS
7130
7131fi
7132fi
7133ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7134if test -n "$ac_ct_STRIP"; then
7135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7136$as_echo "$ac_ct_STRIP" >&6; }
7137else
7138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139$as_echo "no" >&6; }
7140fi
7141
7142  if test "x$ac_ct_STRIP" = x; then
7143    STRIP=":"
7144  else
7145    case $cross_compiling:$ac_tool_warned in
7146yes:)
7147{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7148$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7149ac_tool_warned=yes ;;
7150esac
7151    STRIP=$ac_ct_STRIP
7152  fi
7153else
7154  STRIP="$ac_cv_prog_STRIP"
7155fi
7156
7157test -z "$STRIP" && STRIP=:
7158
7159
7160
7161
7162
7163
7164if test -n "$ac_tool_prefix"; then
7165  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7166set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168$as_echo_n "checking for $ac_word... " >&6; }
7169if ${ac_cv_prog_RANLIB+:} false; then :
7170  $as_echo_n "(cached) " >&6
7171else
7172  if test -n "$RANLIB"; then
7173  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7174else
7175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176for as_dir in $PATH
7177do
7178  IFS=$as_save_IFS
7179  test -z "$as_dir" && as_dir=.
7180    for ac_exec_ext in '' $ac_executable_extensions; do
7181  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7183    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184    break 2
7185  fi
7186done
7187  done
7188IFS=$as_save_IFS
7189
7190fi
7191fi
7192RANLIB=$ac_cv_prog_RANLIB
7193if test -n "$RANLIB"; then
7194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7195$as_echo "$RANLIB" >&6; }
7196else
7197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198$as_echo "no" >&6; }
7199fi
7200
7201
7202fi
7203if test -z "$ac_cv_prog_RANLIB"; then
7204  ac_ct_RANLIB=$RANLIB
7205  # Extract the first word of "ranlib", so it can be a program name with args.
7206set dummy ranlib; ac_word=$2
7207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208$as_echo_n "checking for $ac_word... " >&6; }
7209if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7210  $as_echo_n "(cached) " >&6
7211else
7212  if test -n "$ac_ct_RANLIB"; then
7213  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7214else
7215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216for as_dir in $PATH
7217do
7218  IFS=$as_save_IFS
7219  test -z "$as_dir" && as_dir=.
7220    for ac_exec_ext in '' $ac_executable_extensions; do
7221  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7222    ac_cv_prog_ac_ct_RANLIB="ranlib"
7223    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224    break 2
7225  fi
7226done
7227  done
7228IFS=$as_save_IFS
7229
7230fi
7231fi
7232ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7233if test -n "$ac_ct_RANLIB"; then
7234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7235$as_echo "$ac_ct_RANLIB" >&6; }
7236else
7237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238$as_echo "no" >&6; }
7239fi
7240
7241  if test "x$ac_ct_RANLIB" = x; then
7242    RANLIB=":"
7243  else
7244    case $cross_compiling:$ac_tool_warned in
7245yes:)
7246{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7247$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7248ac_tool_warned=yes ;;
7249esac
7250    RANLIB=$ac_ct_RANLIB
7251  fi
7252else
7253  RANLIB="$ac_cv_prog_RANLIB"
7254fi
7255
7256test -z "$RANLIB" && RANLIB=:
7257
7258
7259
7260
7261
7262
7263# Determine commands to create old-style static archives.
7264old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7265old_postinstall_cmds='chmod 644 $oldlib'
7266old_postuninstall_cmds=
7267
7268if test -n "$RANLIB"; then
7269  case $host_os in
7270  openbsd*)
7271    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7272    ;;
7273  *)
7274    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7275    ;;
7276  esac
7277  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7278fi
7279
7280case $host_os in
7281  darwin*)
7282    lock_old_archive_extraction=yes ;;
7283  *)
7284    lock_old_archive_extraction=no ;;
7285esac
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
7320
7321
7322
7323
7324
7325# If no C compiler was specified, use CC.
7326LTCC=${LTCC-"$CC"}
7327
7328# If no C compiler flags were specified, use CFLAGS.
7329LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7330
7331# Allow CC to be a program name with arguments.
7332compiler=$CC
7333
7334
7335# Check for command to grab the raw symbol name followed by C symbol from nm.
7336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7337$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7338if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7339  $as_echo_n "(cached) " >&6
7340else
7341
7342# These are sane defaults that work on at least a few old systems.
7343# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7344
7345# Character class describing NM global symbol codes.
7346symcode='[BCDEGRST]'
7347
7348# Regexp to match symbols that can be accessed directly from C.
7349sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7350
7351# Define system-specific variables.
7352case $host_os in
7353aix*)
7354  symcode='[BCDT]'
7355  ;;
7356cygwin* | mingw* | pw32* | cegcc*)
7357  symcode='[ABCDGISTW]'
7358  ;;
7359hpux*)
7360  if test "$host_cpu" = ia64; then
7361    symcode='[ABCDEGRST]'
7362  fi
7363  ;;
7364irix* | nonstopux*)
7365  symcode='[BCDEGRST]'
7366  ;;
7367osf*)
7368  symcode='[BCDEGQRST]'
7369  ;;
7370solaris*)
7371  symcode='[BDRT]'
7372  ;;
7373sco3.2v5*)
7374  symcode='[DT]'
7375  ;;
7376sysv4.2uw2*)
7377  symcode='[DT]'
7378  ;;
7379sysv5* | sco5v6* | unixware* | OpenUNIX*)
7380  symcode='[ABDT]'
7381  ;;
7382sysv4)
7383  symcode='[DFNSTU]'
7384  ;;
7385esac
7386
7387# If we're using GNU nm, then use its standard symbol codes.
7388case `$NM -V 2>&1` in
7389*GNU* | *'with BFD'*)
7390  symcode='[ABCDGIRSTW]' ;;
7391esac
7392
7393# Transform an extracted symbol line into a proper C declaration.
7394# Some systems (esp. on ia64) link data and code symbols differently,
7395# so use this general approach.
7396lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7397
7398# Transform an extracted symbol line into symbol name and symbol address
7399lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7400lt_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'"
7401
7402# Handle CRLF in mingw tool chain
7403opt_cr=
7404case $build_os in
7405mingw*)
7406  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7407  ;;
7408esac
7409
7410# Try without a prefix underscore, then with it.
7411for ac_symprfx in "" "_"; do
7412
7413  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7414  symxfrm="\\1 $ac_symprfx\\2 \\2"
7415
7416  # Write the raw and C identifiers.
7417  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7418    # Fake it for dumpbin and say T for any non-static function
7419    # and D for any global variable.
7420    # Also find C++ and __fastcall symbols from MSVC++,
7421    # which start with @ or ?.
7422    lt_cv_sys_global_symbol_pipe="$AWK '"\
7423"     {last_section=section; section=\$ 3};"\
7424"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7425"     \$ 0!~/External *\|/{next};"\
7426"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7427"     {if(hide[section]) next};"\
7428"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7429"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7430"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7431"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7432"     ' prfx=^$ac_symprfx"
7433  else
7434    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7435  fi
7436
7437  # Check to see that the pipe works correctly.
7438  pipe_works=no
7439
7440  rm -f conftest*
7441  cat > conftest.$ac_ext <<_LT_EOF
7442#ifdef __cplusplus
7443extern "C" {
7444#endif
7445char nm_test_var;
7446void nm_test_func(void);
7447void nm_test_func(void){}
7448#ifdef __cplusplus
7449}
7450#endif
7451int main(){nm_test_var='a';nm_test_func();return(0);}
7452_LT_EOF
7453
7454  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7455  (eval $ac_compile) 2>&5
7456  ac_status=$?
7457  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7458  test $ac_status = 0; }; then
7459    # Now try to grab the symbols.
7460    nlist=conftest.nm
7461    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7462  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7463  ac_status=$?
7464  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7465  test $ac_status = 0; } && test -s "$nlist"; then
7466      # Try sorting and uniquifying the output.
7467      if sort "$nlist" | uniq > "$nlist"T; then
7468	mv -f "$nlist"T "$nlist"
7469      else
7470	rm -f "$nlist"T
7471      fi
7472
7473      # Make sure that we snagged all the symbols we need.
7474      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7475	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7476	  cat <<_LT_EOF > conftest.$ac_ext
7477#ifdef __cplusplus
7478extern "C" {
7479#endif
7480
7481_LT_EOF
7482	  # Now generate the symbol file.
7483	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7484
7485	  cat <<_LT_EOF >> conftest.$ac_ext
7486
7487/* The mapping between symbol names and symbols.  */
7488const struct {
7489  const char *name;
7490  void       *address;
7491}
7492lt__PROGRAM__LTX_preloaded_symbols[] =
7493{
7494  { "@PROGRAM@", (void *) 0 },
7495_LT_EOF
7496	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7497	  cat <<\_LT_EOF >> conftest.$ac_ext
7498  {0, (void *) 0}
7499};
7500
7501/* This works around a problem in FreeBSD linker */
7502#ifdef FREEBSD_WORKAROUND
7503static const void *lt_preloaded_setup() {
7504  return lt__PROGRAM__LTX_preloaded_symbols;
7505}
7506#endif
7507
7508#ifdef __cplusplus
7509}
7510#endif
7511_LT_EOF
7512	  # Now try linking the two files.
7513	  mv conftest.$ac_objext conftstm.$ac_objext
7514	  lt_save_LIBS="$LIBS"
7515	  lt_save_CFLAGS="$CFLAGS"
7516	  LIBS="conftstm.$ac_objext"
7517	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7518	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7519  (eval $ac_link) 2>&5
7520  ac_status=$?
7521  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7522  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7523	    pipe_works=yes
7524	  fi
7525	  LIBS="$lt_save_LIBS"
7526	  CFLAGS="$lt_save_CFLAGS"
7527	else
7528	  echo "cannot find nm_test_func in $nlist" >&5
7529	fi
7530      else
7531	echo "cannot find nm_test_var in $nlist" >&5
7532      fi
7533    else
7534      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7535    fi
7536  else
7537    echo "$progname: failed program was:" >&5
7538    cat conftest.$ac_ext >&5
7539  fi
7540  rm -rf conftest* conftst*
7541
7542  # Do not use the global_symbol_pipe unless it works.
7543  if test "$pipe_works" = yes; then
7544    break
7545  else
7546    lt_cv_sys_global_symbol_pipe=
7547  fi
7548done
7549
7550fi
7551
7552if test -z "$lt_cv_sys_global_symbol_pipe"; then
7553  lt_cv_sys_global_symbol_to_cdecl=
7554fi
7555if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7557$as_echo "failed" >&6; }
7558else
7559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7560$as_echo "ok" >&6; }
7561fi
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584# Check whether --enable-libtool-lock was given.
7585if test "${enable_libtool_lock+set}" = set; then :
7586  enableval=$enable_libtool_lock;
7587fi
7588
7589test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7590
7591# Some flags need to be propagated to the compiler or linker for good
7592# libtool support.
7593case $host in
7594ia64-*-hpux*)
7595  # Find out which ABI we are using.
7596  echo 'int i;' > conftest.$ac_ext
7597  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7598  (eval $ac_compile) 2>&5
7599  ac_status=$?
7600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7601  test $ac_status = 0; }; then
7602    case `/usr/bin/file conftest.$ac_objext` in
7603      *ELF-32*)
7604	HPUX_IA64_MODE="32"
7605	;;
7606      *ELF-64*)
7607	HPUX_IA64_MODE="64"
7608	;;
7609    esac
7610  fi
7611  rm -rf conftest*
7612  ;;
7613*-*-irix6*)
7614  # Find out which ABI we are using.
7615  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7616  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7617  (eval $ac_compile) 2>&5
7618  ac_status=$?
7619  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7620  test $ac_status = 0; }; then
7621    if test "$lt_cv_prog_gnu_ld" = yes; then
7622      case `/usr/bin/file conftest.$ac_objext` in
7623	*32-bit*)
7624	  LD="${LD-ld} -melf32bsmip"
7625	  ;;
7626	*N32*)
7627	  LD="${LD-ld} -melf32bmipn32"
7628	  ;;
7629	*64-bit*)
7630	  LD="${LD-ld} -melf64bmip"
7631	;;
7632      esac
7633    else
7634      case `/usr/bin/file conftest.$ac_objext` in
7635	*32-bit*)
7636	  LD="${LD-ld} -32"
7637	  ;;
7638	*N32*)
7639	  LD="${LD-ld} -n32"
7640	  ;;
7641	*64-bit*)
7642	  LD="${LD-ld} -64"
7643	  ;;
7644      esac
7645    fi
7646  fi
7647  rm -rf conftest*
7648  ;;
7649
7650x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7651s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7652  # Find out which ABI we are using.
7653  echo 'int i;' > conftest.$ac_ext
7654  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7655  (eval $ac_compile) 2>&5
7656  ac_status=$?
7657  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7658  test $ac_status = 0; }; then
7659    case `/usr/bin/file conftest.o` in
7660      *32-bit*)
7661	case $host in
7662	  x86_64-*kfreebsd*-gnu)
7663	    LD="${LD-ld} -m elf_i386_fbsd"
7664	    ;;
7665	  x86_64-*linux*)
7666	    case `/usr/bin/file conftest.o` in
7667	      *x86-64*)
7668		LD="${LD-ld} -m elf32_x86_64"
7669		;;
7670	      *)
7671		LD="${LD-ld} -m elf_i386"
7672		;;
7673	    esac
7674	    ;;
7675	  powerpc64le-*linux*)
7676	    LD="${LD-ld} -m elf32lppclinux"
7677	    ;;
7678	  powerpc64-*linux*)
7679	    LD="${LD-ld} -m elf32ppclinux"
7680	    ;;
7681	  s390x-*linux*)
7682	    LD="${LD-ld} -m elf_s390"
7683	    ;;
7684	  sparc64-*linux*)
7685	    LD="${LD-ld} -m elf32_sparc"
7686	    ;;
7687	esac
7688	;;
7689      *64-bit*)
7690	case $host in
7691	  x86_64-*kfreebsd*-gnu)
7692	    LD="${LD-ld} -m elf_x86_64_fbsd"
7693	    ;;
7694	  x86_64-*linux*)
7695	    LD="${LD-ld} -m elf_x86_64"
7696	    ;;
7697	  powerpcle-*linux*)
7698	    LD="${LD-ld} -m elf64lppc"
7699	    ;;
7700	  powerpc-*linux*)
7701	    LD="${LD-ld} -m elf64ppc"
7702	    ;;
7703	  s390*-*linux*|s390*-*tpf*)
7704	    LD="${LD-ld} -m elf64_s390"
7705	    ;;
7706	  sparc*-*linux*)
7707	    LD="${LD-ld} -m elf64_sparc"
7708	    ;;
7709	esac
7710	;;
7711    esac
7712  fi
7713  rm -rf conftest*
7714  ;;
7715
7716*-*-sco3.2v5*)
7717  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7718  SAVE_CFLAGS="$CFLAGS"
7719  CFLAGS="$CFLAGS -belf"
7720  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7721$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7722if ${lt_cv_cc_needs_belf+:} false; then :
7723  $as_echo_n "(cached) " >&6
7724else
7725  ac_ext=c
7726ac_cpp='$CPP $CPPFLAGS'
7727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7729ac_compiler_gnu=$ac_cv_c_compiler_gnu
7730
7731     if test x$gcc_no_link = xyes; then
7732  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7733fi
7734cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735/* end confdefs.h.  */
7736
7737int
7738main ()
7739{
7740
7741  ;
7742  return 0;
7743}
7744_ACEOF
7745if ac_fn_c_try_link "$LINENO"; then :
7746  lt_cv_cc_needs_belf=yes
7747else
7748  lt_cv_cc_needs_belf=no
7749fi
7750rm -f core conftest.err conftest.$ac_objext \
7751    conftest$ac_exeext conftest.$ac_ext
7752     ac_ext=c
7753ac_cpp='$CPP $CPPFLAGS'
7754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7756ac_compiler_gnu=$ac_cv_c_compiler_gnu
7757
7758fi
7759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7760$as_echo "$lt_cv_cc_needs_belf" >&6; }
7761  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7762    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7763    CFLAGS="$SAVE_CFLAGS"
7764  fi
7765  ;;
7766sparc*-*solaris*)
7767  # Find out which ABI we are using.
7768  echo 'int i;' > conftest.$ac_ext
7769  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7770  (eval $ac_compile) 2>&5
7771  ac_status=$?
7772  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7773  test $ac_status = 0; }; then
7774    case `/usr/bin/file conftest.o` in
7775    *64-bit*)
7776      case $lt_cv_prog_gnu_ld in
7777      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7778      *)
7779	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7780	  LD="${LD-ld} -64"
7781	fi
7782	;;
7783      esac
7784      ;;
7785    esac
7786  fi
7787  rm -rf conftest*
7788  ;;
7789esac
7790
7791need_locks="$enable_libtool_lock"
7792
7793
7794  case $host_os in
7795    rhapsody* | darwin*)
7796    if test -n "$ac_tool_prefix"; then
7797  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7798set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7800$as_echo_n "checking for $ac_word... " >&6; }
7801if ${ac_cv_prog_DSYMUTIL+:} false; then :
7802  $as_echo_n "(cached) " >&6
7803else
7804  if test -n "$DSYMUTIL"; then
7805  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7806else
7807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7808for as_dir in $PATH
7809do
7810  IFS=$as_save_IFS
7811  test -z "$as_dir" && as_dir=.
7812    for ac_exec_ext in '' $ac_executable_extensions; do
7813  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7814    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7815    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7816    break 2
7817  fi
7818done
7819  done
7820IFS=$as_save_IFS
7821
7822fi
7823fi
7824DSYMUTIL=$ac_cv_prog_DSYMUTIL
7825if test -n "$DSYMUTIL"; then
7826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7827$as_echo "$DSYMUTIL" >&6; }
7828else
7829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830$as_echo "no" >&6; }
7831fi
7832
7833
7834fi
7835if test -z "$ac_cv_prog_DSYMUTIL"; then
7836  ac_ct_DSYMUTIL=$DSYMUTIL
7837  # Extract the first word of "dsymutil", so it can be a program name with args.
7838set dummy dsymutil; ac_word=$2
7839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7840$as_echo_n "checking for $ac_word... " >&6; }
7841if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7842  $as_echo_n "(cached) " >&6
7843else
7844  if test -n "$ac_ct_DSYMUTIL"; then
7845  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7846else
7847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7848for as_dir in $PATH
7849do
7850  IFS=$as_save_IFS
7851  test -z "$as_dir" && as_dir=.
7852    for ac_exec_ext in '' $ac_executable_extensions; do
7853  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7854    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856    break 2
7857  fi
7858done
7859  done
7860IFS=$as_save_IFS
7861
7862fi
7863fi
7864ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7865if test -n "$ac_ct_DSYMUTIL"; then
7866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7867$as_echo "$ac_ct_DSYMUTIL" >&6; }
7868else
7869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7870$as_echo "no" >&6; }
7871fi
7872
7873  if test "x$ac_ct_DSYMUTIL" = x; then
7874    DSYMUTIL=":"
7875  else
7876    case $cross_compiling:$ac_tool_warned in
7877yes:)
7878{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7879$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7880ac_tool_warned=yes ;;
7881esac
7882    DSYMUTIL=$ac_ct_DSYMUTIL
7883  fi
7884else
7885  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7886fi
7887
7888    if test -n "$ac_tool_prefix"; then
7889  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7890set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892$as_echo_n "checking for $ac_word... " >&6; }
7893if ${ac_cv_prog_NMEDIT+:} false; then :
7894  $as_echo_n "(cached) " >&6
7895else
7896  if test -n "$NMEDIT"; then
7897  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7898else
7899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900for as_dir in $PATH
7901do
7902  IFS=$as_save_IFS
7903  test -z "$as_dir" && as_dir=.
7904    for ac_exec_ext in '' $ac_executable_extensions; do
7905  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7908    break 2
7909  fi
7910done
7911  done
7912IFS=$as_save_IFS
7913
7914fi
7915fi
7916NMEDIT=$ac_cv_prog_NMEDIT
7917if test -n "$NMEDIT"; then
7918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7919$as_echo "$NMEDIT" >&6; }
7920else
7921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922$as_echo "no" >&6; }
7923fi
7924
7925
7926fi
7927if test -z "$ac_cv_prog_NMEDIT"; then
7928  ac_ct_NMEDIT=$NMEDIT
7929  # Extract the first word of "nmedit", so it can be a program name with args.
7930set dummy nmedit; ac_word=$2
7931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932$as_echo_n "checking for $ac_word... " >&6; }
7933if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7934  $as_echo_n "(cached) " >&6
7935else
7936  if test -n "$ac_ct_NMEDIT"; then
7937  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7938else
7939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940for as_dir in $PATH
7941do
7942  IFS=$as_save_IFS
7943  test -z "$as_dir" && as_dir=.
7944    for ac_exec_ext in '' $ac_executable_extensions; do
7945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7946    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948    break 2
7949  fi
7950done
7951  done
7952IFS=$as_save_IFS
7953
7954fi
7955fi
7956ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7957if test -n "$ac_ct_NMEDIT"; then
7958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7959$as_echo "$ac_ct_NMEDIT" >&6; }
7960else
7961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962$as_echo "no" >&6; }
7963fi
7964
7965  if test "x$ac_ct_NMEDIT" = x; then
7966    NMEDIT=":"
7967  else
7968    case $cross_compiling:$ac_tool_warned in
7969yes:)
7970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7972ac_tool_warned=yes ;;
7973esac
7974    NMEDIT=$ac_ct_NMEDIT
7975  fi
7976else
7977  NMEDIT="$ac_cv_prog_NMEDIT"
7978fi
7979
7980    if test -n "$ac_tool_prefix"; then
7981  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7982set dummy ${ac_tool_prefix}lipo; ac_word=$2
7983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984$as_echo_n "checking for $ac_word... " >&6; }
7985if ${ac_cv_prog_LIPO+:} false; then :
7986  $as_echo_n "(cached) " >&6
7987else
7988  if test -n "$LIPO"; then
7989  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7990else
7991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992for as_dir in $PATH
7993do
7994  IFS=$as_save_IFS
7995  test -z "$as_dir" && as_dir=.
7996    for ac_exec_ext in '' $ac_executable_extensions; do
7997  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7999    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8000    break 2
8001  fi
8002done
8003  done
8004IFS=$as_save_IFS
8005
8006fi
8007fi
8008LIPO=$ac_cv_prog_LIPO
8009if test -n "$LIPO"; then
8010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8011$as_echo "$LIPO" >&6; }
8012else
8013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014$as_echo "no" >&6; }
8015fi
8016
8017
8018fi
8019if test -z "$ac_cv_prog_LIPO"; then
8020  ac_ct_LIPO=$LIPO
8021  # Extract the first word of "lipo", so it can be a program name with args.
8022set dummy lipo; ac_word=$2
8023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024$as_echo_n "checking for $ac_word... " >&6; }
8025if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8026  $as_echo_n "(cached) " >&6
8027else
8028  if test -n "$ac_ct_LIPO"; then
8029  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8030else
8031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032for as_dir in $PATH
8033do
8034  IFS=$as_save_IFS
8035  test -z "$as_dir" && as_dir=.
8036    for ac_exec_ext in '' $ac_executable_extensions; do
8037  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038    ac_cv_prog_ac_ct_LIPO="lipo"
8039    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040    break 2
8041  fi
8042done
8043  done
8044IFS=$as_save_IFS
8045
8046fi
8047fi
8048ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8049if test -n "$ac_ct_LIPO"; then
8050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8051$as_echo "$ac_ct_LIPO" >&6; }
8052else
8053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054$as_echo "no" >&6; }
8055fi
8056
8057  if test "x$ac_ct_LIPO" = x; then
8058    LIPO=":"
8059  else
8060    case $cross_compiling:$ac_tool_warned in
8061yes:)
8062{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8063$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8064ac_tool_warned=yes ;;
8065esac
8066    LIPO=$ac_ct_LIPO
8067  fi
8068else
8069  LIPO="$ac_cv_prog_LIPO"
8070fi
8071
8072    if test -n "$ac_tool_prefix"; then
8073  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8074set dummy ${ac_tool_prefix}otool; ac_word=$2
8075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8076$as_echo_n "checking for $ac_word... " >&6; }
8077if ${ac_cv_prog_OTOOL+:} false; then :
8078  $as_echo_n "(cached) " >&6
8079else
8080  if test -n "$OTOOL"; then
8081  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8082else
8083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084for as_dir in $PATH
8085do
8086  IFS=$as_save_IFS
8087  test -z "$as_dir" && as_dir=.
8088    for ac_exec_ext in '' $ac_executable_extensions; do
8089  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8090    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8091    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8092    break 2
8093  fi
8094done
8095  done
8096IFS=$as_save_IFS
8097
8098fi
8099fi
8100OTOOL=$ac_cv_prog_OTOOL
8101if test -n "$OTOOL"; then
8102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8103$as_echo "$OTOOL" >&6; }
8104else
8105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106$as_echo "no" >&6; }
8107fi
8108
8109
8110fi
8111if test -z "$ac_cv_prog_OTOOL"; then
8112  ac_ct_OTOOL=$OTOOL
8113  # Extract the first word of "otool", so it can be a program name with args.
8114set dummy otool; ac_word=$2
8115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8116$as_echo_n "checking for $ac_word... " >&6; }
8117if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8118  $as_echo_n "(cached) " >&6
8119else
8120  if test -n "$ac_ct_OTOOL"; then
8121  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8122else
8123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8124for as_dir in $PATH
8125do
8126  IFS=$as_save_IFS
8127  test -z "$as_dir" && as_dir=.
8128    for ac_exec_ext in '' $ac_executable_extensions; do
8129  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8130    ac_cv_prog_ac_ct_OTOOL="otool"
8131    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8132    break 2
8133  fi
8134done
8135  done
8136IFS=$as_save_IFS
8137
8138fi
8139fi
8140ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8141if test -n "$ac_ct_OTOOL"; then
8142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8143$as_echo "$ac_ct_OTOOL" >&6; }
8144else
8145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146$as_echo "no" >&6; }
8147fi
8148
8149  if test "x$ac_ct_OTOOL" = x; then
8150    OTOOL=":"
8151  else
8152    case $cross_compiling:$ac_tool_warned in
8153yes:)
8154{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8155$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8156ac_tool_warned=yes ;;
8157esac
8158    OTOOL=$ac_ct_OTOOL
8159  fi
8160else
8161  OTOOL="$ac_cv_prog_OTOOL"
8162fi
8163
8164    if test -n "$ac_tool_prefix"; then
8165  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8166set dummy ${ac_tool_prefix}otool64; ac_word=$2
8167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8168$as_echo_n "checking for $ac_word... " >&6; }
8169if ${ac_cv_prog_OTOOL64+:} false; then :
8170  $as_echo_n "(cached) " >&6
8171else
8172  if test -n "$OTOOL64"; then
8173  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8174else
8175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176for as_dir in $PATH
8177do
8178  IFS=$as_save_IFS
8179  test -z "$as_dir" && as_dir=.
8180    for ac_exec_ext in '' $ac_executable_extensions; do
8181  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8182    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8183    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8184    break 2
8185  fi
8186done
8187  done
8188IFS=$as_save_IFS
8189
8190fi
8191fi
8192OTOOL64=$ac_cv_prog_OTOOL64
8193if test -n "$OTOOL64"; then
8194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8195$as_echo "$OTOOL64" >&6; }
8196else
8197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8198$as_echo "no" >&6; }
8199fi
8200
8201
8202fi
8203if test -z "$ac_cv_prog_OTOOL64"; then
8204  ac_ct_OTOOL64=$OTOOL64
8205  # Extract the first word of "otool64", so it can be a program name with args.
8206set dummy otool64; ac_word=$2
8207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8208$as_echo_n "checking for $ac_word... " >&6; }
8209if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8210  $as_echo_n "(cached) " >&6
8211else
8212  if test -n "$ac_ct_OTOOL64"; then
8213  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8214else
8215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8216for as_dir in $PATH
8217do
8218  IFS=$as_save_IFS
8219  test -z "$as_dir" && as_dir=.
8220    for ac_exec_ext in '' $ac_executable_extensions; do
8221  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8222    ac_cv_prog_ac_ct_OTOOL64="otool64"
8223    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8224    break 2
8225  fi
8226done
8227  done
8228IFS=$as_save_IFS
8229
8230fi
8231fi
8232ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8233if test -n "$ac_ct_OTOOL64"; then
8234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8235$as_echo "$ac_ct_OTOOL64" >&6; }
8236else
8237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8238$as_echo "no" >&6; }
8239fi
8240
8241  if test "x$ac_ct_OTOOL64" = x; then
8242    OTOOL64=":"
8243  else
8244    case $cross_compiling:$ac_tool_warned in
8245yes:)
8246{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8247$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8248ac_tool_warned=yes ;;
8249esac
8250    OTOOL64=$ac_ct_OTOOL64
8251  fi
8252else
8253  OTOOL64="$ac_cv_prog_OTOOL64"
8254fi
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8283$as_echo_n "checking for -single_module linker flag... " >&6; }
8284if ${lt_cv_apple_cc_single_mod+:} false; then :
8285  $as_echo_n "(cached) " >&6
8286else
8287  lt_cv_apple_cc_single_mod=no
8288      if test -z "${LT_MULTI_MODULE}"; then
8289	# By default we will add the -single_module flag. You can override
8290	# by either setting the environment variable LT_MULTI_MODULE
8291	# non-empty at configure time, or by adding -multi_module to the
8292	# link flags.
8293	rm -rf libconftest.dylib*
8294	echo "int foo(void){return 1;}" > conftest.c
8295	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8296-dynamiclib -Wl,-single_module conftest.c" >&5
8297	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8298	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8299        _lt_result=$?
8300	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8301	  lt_cv_apple_cc_single_mod=yes
8302	else
8303	  cat conftest.err >&5
8304	fi
8305	rm -rf libconftest.dylib*
8306	rm -f conftest.*
8307      fi
8308fi
8309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8310$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8312$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8313if ${lt_cv_ld_exported_symbols_list+:} false; then :
8314  $as_echo_n "(cached) " >&6
8315else
8316  lt_cv_ld_exported_symbols_list=no
8317      save_LDFLAGS=$LDFLAGS
8318      echo "_main" > conftest.sym
8319      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8320      if test x$gcc_no_link = xyes; then
8321  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8322fi
8323cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324/* end confdefs.h.  */
8325
8326int
8327main ()
8328{
8329
8330  ;
8331  return 0;
8332}
8333_ACEOF
8334if ac_fn_c_try_link "$LINENO"; then :
8335  lt_cv_ld_exported_symbols_list=yes
8336else
8337  lt_cv_ld_exported_symbols_list=no
8338fi
8339rm -f core conftest.err conftest.$ac_objext \
8340    conftest$ac_exeext conftest.$ac_ext
8341	LDFLAGS="$save_LDFLAGS"
8342
8343fi
8344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8345$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8346    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8347$as_echo_n "checking for -force_load linker flag... " >&6; }
8348if ${lt_cv_ld_force_load+:} false; then :
8349  $as_echo_n "(cached) " >&6
8350else
8351  lt_cv_ld_force_load=no
8352      cat > conftest.c << _LT_EOF
8353int forced_loaded() { return 2;}
8354_LT_EOF
8355      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8356      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8357      echo "$AR cru libconftest.a conftest.o" >&5
8358      $AR cru libconftest.a conftest.o 2>&5
8359      cat > conftest.c << _LT_EOF
8360int main() { return 0;}
8361_LT_EOF
8362      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8363      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8364      _lt_result=$?
8365      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8366	lt_cv_ld_force_load=yes
8367      else
8368	cat conftest.err >&5
8369      fi
8370        rm -f conftest.err libconftest.a conftest conftest.c
8371        rm -rf conftest.dSYM
8372
8373fi
8374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8375$as_echo "$lt_cv_ld_force_load" >&6; }
8376    case $host_os in
8377    rhapsody* | darwin1.[012])
8378      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8379    darwin1.*)
8380      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8381    darwin*) # darwin 5.x on
8382      # if running on 10.5 or later, the deployment target defaults
8383      # to the OS version, if on x86, and 10.4, the deployment
8384      # target defaults to 10.4. Don't you love it?
8385      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8386	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8387	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8388	10.[012][,.]*)
8389	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8390	10.*)
8391	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8392      esac
8393    ;;
8394  esac
8395    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8396      _lt_dar_single_mod='$single_module'
8397    fi
8398    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8399      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8400    else
8401      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8402    fi
8403    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8404      _lt_dsymutil='~$DSYMUTIL $lib || :'
8405    else
8406      _lt_dsymutil=
8407    fi
8408    ;;
8409  esac
8410
8411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8412$as_echo_n "checking for ANSI C header files... " >&6; }
8413if ${ac_cv_header_stdc+:} false; then :
8414  $as_echo_n "(cached) " >&6
8415else
8416  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417/* end confdefs.h.  */
8418#include <stdlib.h>
8419#include <stdarg.h>
8420#include <string.h>
8421#include <float.h>
8422
8423int
8424main ()
8425{
8426
8427  ;
8428  return 0;
8429}
8430_ACEOF
8431if ac_fn_c_try_compile "$LINENO"; then :
8432  ac_cv_header_stdc=yes
8433else
8434  ac_cv_header_stdc=no
8435fi
8436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8437
8438if test $ac_cv_header_stdc = yes; then
8439  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8440  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441/* end confdefs.h.  */
8442#include <string.h>
8443
8444_ACEOF
8445if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8446  $EGREP "memchr" >/dev/null 2>&1; then :
8447
8448else
8449  ac_cv_header_stdc=no
8450fi
8451rm -f conftest*
8452
8453fi
8454
8455if test $ac_cv_header_stdc = yes; then
8456  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8457  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458/* end confdefs.h.  */
8459#include <stdlib.h>
8460
8461_ACEOF
8462if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8463  $EGREP "free" >/dev/null 2>&1; then :
8464
8465else
8466  ac_cv_header_stdc=no
8467fi
8468rm -f conftest*
8469
8470fi
8471
8472if test $ac_cv_header_stdc = yes; then
8473  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8474  if test "$cross_compiling" = yes; then :
8475  :
8476else
8477  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478/* end confdefs.h.  */
8479#include <ctype.h>
8480#include <stdlib.h>
8481#if ((' ' & 0x0FF) == 0x020)
8482# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8483# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8484#else
8485# define ISLOWER(c) \
8486		   (('a' <= (c) && (c) <= 'i') \
8487		     || ('j' <= (c) && (c) <= 'r') \
8488		     || ('s' <= (c) && (c) <= 'z'))
8489# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8490#endif
8491
8492#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8493int
8494main ()
8495{
8496  int i;
8497  for (i = 0; i < 256; i++)
8498    if (XOR (islower (i), ISLOWER (i))
8499	|| toupper (i) != TOUPPER (i))
8500      return 2;
8501  return 0;
8502}
8503_ACEOF
8504if ac_fn_c_try_run "$LINENO"; then :
8505
8506else
8507  ac_cv_header_stdc=no
8508fi
8509rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8510  conftest.$ac_objext conftest.beam conftest.$ac_ext
8511fi
8512
8513fi
8514fi
8515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8516$as_echo "$ac_cv_header_stdc" >&6; }
8517if test $ac_cv_header_stdc = yes; then
8518
8519$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8520
8521fi
8522
8523# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8524for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8525		  inttypes.h stdint.h unistd.h
8526do :
8527  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8528ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8529"
8530if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8531  cat >>confdefs.h <<_ACEOF
8532#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8533_ACEOF
8534
8535fi
8536
8537done
8538
8539
8540for ac_header in dlfcn.h
8541do :
8542  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8543"
8544if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8545  cat >>confdefs.h <<_ACEOF
8546#define HAVE_DLFCN_H 1
8547_ACEOF
8548
8549fi
8550
8551done
8552
8553
8554
8555
8556
8557
8558# Set options
8559
8560
8561
8562
8563  enable_win32_dll=no
8564
8565
8566            # Check whether --enable-shared was given.
8567if test "${enable_shared+set}" = set; then :
8568  enableval=$enable_shared; p=${PACKAGE-default}
8569    case $enableval in
8570    yes) enable_shared=yes ;;
8571    no) enable_shared=no ;;
8572    *)
8573      enable_shared=no
8574      # Look at the argument we got.  We use all the common list separators.
8575      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8576      for pkg in $enableval; do
8577	IFS="$lt_save_ifs"
8578	if test "X$pkg" = "X$p"; then
8579	  enable_shared=yes
8580	fi
8581      done
8582      IFS="$lt_save_ifs"
8583      ;;
8584    esac
8585else
8586  enable_shared=yes
8587fi
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597  # Check whether --enable-static was given.
8598if test "${enable_static+set}" = set; then :
8599  enableval=$enable_static; p=${PACKAGE-default}
8600    case $enableval in
8601    yes) enable_static=yes ;;
8602    no) enable_static=no ;;
8603    *)
8604     enable_static=no
8605      # Look at the argument we got.  We use all the common list separators.
8606      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8607      for pkg in $enableval; do
8608	IFS="$lt_save_ifs"
8609	if test "X$pkg" = "X$p"; then
8610	  enable_static=yes
8611	fi
8612      done
8613      IFS="$lt_save_ifs"
8614      ;;
8615    esac
8616else
8617  enable_static=yes
8618fi
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629# Check whether --with-pic was given.
8630if test "${with_pic+set}" = set; then :
8631  withval=$with_pic; pic_mode="$withval"
8632else
8633  pic_mode=default
8634fi
8635
8636
8637test -z "$pic_mode" && pic_mode=default
8638
8639
8640
8641
8642
8643
8644
8645  # Check whether --enable-fast-install was given.
8646if test "${enable_fast_install+set}" = set; then :
8647  enableval=$enable_fast_install; p=${PACKAGE-default}
8648    case $enableval in
8649    yes) enable_fast_install=yes ;;
8650    no) enable_fast_install=no ;;
8651    *)
8652      enable_fast_install=no
8653      # Look at the argument we got.  We use all the common list separators.
8654      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8655      for pkg in $enableval; do
8656	IFS="$lt_save_ifs"
8657	if test "X$pkg" = "X$p"; then
8658	  enable_fast_install=yes
8659	fi
8660      done
8661      IFS="$lt_save_ifs"
8662      ;;
8663    esac
8664else
8665  enable_fast_install=yes
8666fi
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678# This can be used to rebuild libtool when needed
8679LIBTOOL_DEPS="$ltmain"
8680
8681# Always use our own libtool.
8682LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709test -z "$LN_S" && LN_S="ln -s"
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724if test -n "${ZSH_VERSION+set}" ; then
8725   setopt NO_GLOB_SUBST
8726fi
8727
8728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8729$as_echo_n "checking for objdir... " >&6; }
8730if ${lt_cv_objdir+:} false; then :
8731  $as_echo_n "(cached) " >&6
8732else
8733  rm -f .libs 2>/dev/null
8734mkdir .libs 2>/dev/null
8735if test -d .libs; then
8736  lt_cv_objdir=.libs
8737else
8738  # MS-DOS does not allow filenames that begin with a dot.
8739  lt_cv_objdir=_libs
8740fi
8741rmdir .libs 2>/dev/null
8742fi
8743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8744$as_echo "$lt_cv_objdir" >&6; }
8745objdir=$lt_cv_objdir
8746
8747
8748
8749
8750
8751cat >>confdefs.h <<_ACEOF
8752#define LT_OBJDIR "$lt_cv_objdir/"
8753_ACEOF
8754
8755
8756
8757
8758case $host_os in
8759aix3*)
8760  # AIX sometimes has problems with the GCC collect2 program.  For some
8761  # reason, if we set the COLLECT_NAMES environment variable, the problems
8762  # vanish in a puff of smoke.
8763  if test "X${COLLECT_NAMES+set}" != Xset; then
8764    COLLECT_NAMES=
8765    export COLLECT_NAMES
8766  fi
8767  ;;
8768esac
8769
8770# Global variables:
8771ofile=libtool
8772can_build_shared=yes
8773
8774# All known linkers require a `.a' archive for static linking (except MSVC,
8775# which needs '.lib').
8776libext=a
8777
8778with_gnu_ld="$lt_cv_prog_gnu_ld"
8779
8780old_CC="$CC"
8781old_CFLAGS="$CFLAGS"
8782
8783# Set sane defaults for various variables
8784test -z "$CC" && CC=cc
8785test -z "$LTCC" && LTCC=$CC
8786test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8787test -z "$LD" && LD=ld
8788test -z "$ac_objext" && ac_objext=o
8789
8790for cc_temp in $compiler""; do
8791  case $cc_temp in
8792    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8793    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8794    \-*) ;;
8795    *) break;;
8796  esac
8797done
8798cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8799
8800
8801# Only perform the check for file, if the check method requires it
8802test -z "$MAGIC_CMD" && MAGIC_CMD=file
8803case $deplibs_check_method in
8804file_magic*)
8805  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8806    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8807$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8808if ${lt_cv_path_MAGIC_CMD+:} false; then :
8809  $as_echo_n "(cached) " >&6
8810else
8811  case $MAGIC_CMD in
8812[\\/*] |  ?:[\\/]*)
8813  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8814  ;;
8815*)
8816  lt_save_MAGIC_CMD="$MAGIC_CMD"
8817  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8818  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8819  for ac_dir in $ac_dummy; do
8820    IFS="$lt_save_ifs"
8821    test -z "$ac_dir" && ac_dir=.
8822    if test -f $ac_dir/${ac_tool_prefix}file; then
8823      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8824      if test -n "$file_magic_test_file"; then
8825	case $deplibs_check_method in
8826	"file_magic "*)
8827	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8828	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8829	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8830	    $EGREP "$file_magic_regex" > /dev/null; then
8831	    :
8832	  else
8833	    cat <<_LT_EOF 1>&2
8834
8835*** Warning: the command libtool uses to detect shared libraries,
8836*** $file_magic_cmd, produces output that libtool cannot recognize.
8837*** The result is that libtool may fail to recognize shared libraries
8838*** as such.  This will affect the creation of libtool libraries that
8839*** depend on shared libraries, but programs linked with such libtool
8840*** libraries will work regardless of this problem.  Nevertheless, you
8841*** may want to report the problem to your system manager and/or to
8842*** bug-libtool@gnu.org
8843
8844_LT_EOF
8845	  fi ;;
8846	esac
8847      fi
8848      break
8849    fi
8850  done
8851  IFS="$lt_save_ifs"
8852  MAGIC_CMD="$lt_save_MAGIC_CMD"
8853  ;;
8854esac
8855fi
8856
8857MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8858if test -n "$MAGIC_CMD"; then
8859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8860$as_echo "$MAGIC_CMD" >&6; }
8861else
8862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8863$as_echo "no" >&6; }
8864fi
8865
8866
8867
8868
8869
8870if test -z "$lt_cv_path_MAGIC_CMD"; then
8871  if test -n "$ac_tool_prefix"; then
8872    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8873$as_echo_n "checking for file... " >&6; }
8874if ${lt_cv_path_MAGIC_CMD+:} false; then :
8875  $as_echo_n "(cached) " >&6
8876else
8877  case $MAGIC_CMD in
8878[\\/*] |  ?:[\\/]*)
8879  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8880  ;;
8881*)
8882  lt_save_MAGIC_CMD="$MAGIC_CMD"
8883  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8884  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8885  for ac_dir in $ac_dummy; do
8886    IFS="$lt_save_ifs"
8887    test -z "$ac_dir" && ac_dir=.
8888    if test -f $ac_dir/file; then
8889      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8890      if test -n "$file_magic_test_file"; then
8891	case $deplibs_check_method in
8892	"file_magic "*)
8893	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8894	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8895	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8896	    $EGREP "$file_magic_regex" > /dev/null; then
8897	    :
8898	  else
8899	    cat <<_LT_EOF 1>&2
8900
8901*** Warning: the command libtool uses to detect shared libraries,
8902*** $file_magic_cmd, produces output that libtool cannot recognize.
8903*** The result is that libtool may fail to recognize shared libraries
8904*** as such.  This will affect the creation of libtool libraries that
8905*** depend on shared libraries, but programs linked with such libtool
8906*** libraries will work regardless of this problem.  Nevertheless, you
8907*** may want to report the problem to your system manager and/or to
8908*** bug-libtool@gnu.org
8909
8910_LT_EOF
8911	  fi ;;
8912	esac
8913      fi
8914      break
8915    fi
8916  done
8917  IFS="$lt_save_ifs"
8918  MAGIC_CMD="$lt_save_MAGIC_CMD"
8919  ;;
8920esac
8921fi
8922
8923MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8924if test -n "$MAGIC_CMD"; then
8925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8926$as_echo "$MAGIC_CMD" >&6; }
8927else
8928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8929$as_echo "no" >&6; }
8930fi
8931
8932
8933  else
8934    MAGIC_CMD=:
8935  fi
8936fi
8937
8938  fi
8939  ;;
8940esac
8941
8942# Use C for the default configuration in the libtool script
8943
8944lt_save_CC="$CC"
8945ac_ext=c
8946ac_cpp='$CPP $CPPFLAGS'
8947ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8948ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8949ac_compiler_gnu=$ac_cv_c_compiler_gnu
8950
8951
8952# Source file extension for C test sources.
8953ac_ext=c
8954
8955# Object file extension for compiled C test sources.
8956objext=o
8957objext=$objext
8958
8959# Code to be used in simple compile tests
8960lt_simple_compile_test_code="int some_variable = 0;"
8961
8962# Code to be used in simple link tests
8963lt_simple_link_test_code='int main(){return(0);}'
8964
8965
8966
8967
8968
8969
8970
8971# If no C compiler was specified, use CC.
8972LTCC=${LTCC-"$CC"}
8973
8974# If no C compiler flags were specified, use CFLAGS.
8975LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8976
8977# Allow CC to be a program name with arguments.
8978compiler=$CC
8979
8980# Save the default compiler, since it gets overwritten when the other
8981# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8982compiler_DEFAULT=$CC
8983
8984# save warnings/boilerplate of simple test code
8985ac_outfile=conftest.$ac_objext
8986echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8987eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8988_lt_compiler_boilerplate=`cat conftest.err`
8989$RM conftest*
8990
8991ac_outfile=conftest.$ac_objext
8992echo "$lt_simple_link_test_code" >conftest.$ac_ext
8993eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8994_lt_linker_boilerplate=`cat conftest.err`
8995$RM -r conftest*
8996
8997
8998## CAVEAT EMPTOR:
8999## There is no encapsulation within the following macros, do not change
9000## the running order or otherwise move them around unless you know exactly
9001## what you are doing...
9002if test -n "$compiler"; then
9003
9004lt_prog_compiler_no_builtin_flag=
9005
9006if test "$GCC" = yes; then
9007  case $cc_basename in
9008  nvcc*)
9009    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9010  *)
9011    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9012  esac
9013
9014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9015$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9016if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9017  $as_echo_n "(cached) " >&6
9018else
9019  lt_cv_prog_compiler_rtti_exceptions=no
9020   ac_outfile=conftest.$ac_objext
9021   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9022   lt_compiler_flag="-fno-rtti -fno-exceptions"
9023   # Insert the option either (1) after the last *FLAGS variable, or
9024   # (2) before a word containing "conftest.", or (3) at the end.
9025   # Note that $ac_compile itself does not contain backslashes and begins
9026   # with a dollar sign (not a hyphen), so the echo should work correctly.
9027   # The option is referenced via a variable to avoid confusing sed.
9028   lt_compile=`echo "$ac_compile" | $SED \
9029   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9030   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9031   -e 's:$: $lt_compiler_flag:'`
9032   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9033   (eval "$lt_compile" 2>conftest.err)
9034   ac_status=$?
9035   cat conftest.err >&5
9036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037   if (exit $ac_status) && test -s "$ac_outfile"; then
9038     # The compiler can only warn and ignore the option if not recognized
9039     # So say no if there are warnings other than the usual output.
9040     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9041     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9042     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9043       lt_cv_prog_compiler_rtti_exceptions=yes
9044     fi
9045   fi
9046   $RM conftest*
9047
9048fi
9049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9050$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9051
9052if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9053    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9054else
9055    :
9056fi
9057
9058fi
9059
9060
9061
9062
9063
9064
9065  lt_prog_compiler_wl=
9066lt_prog_compiler_pic=
9067lt_prog_compiler_static=
9068
9069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9070$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9071
9072  if test "$GCC" = yes; then
9073    lt_prog_compiler_wl='-Wl,'
9074    lt_prog_compiler_static='-static'
9075
9076    case $host_os in
9077      aix*)
9078      # All AIX code is PIC.
9079      if test "$host_cpu" = ia64; then
9080	# AIX 5 now supports IA64 processor
9081	lt_prog_compiler_static='-Bstatic'
9082      fi
9083      lt_prog_compiler_pic='-fPIC'
9084      ;;
9085
9086    amigaos*)
9087      case $host_cpu in
9088      powerpc)
9089            # see comment about AmigaOS4 .so support
9090            lt_prog_compiler_pic='-fPIC'
9091        ;;
9092      m68k)
9093            # FIXME: we need at least 68020 code to build shared libraries, but
9094            # adding the `-m68020' flag to GCC prevents building anything better,
9095            # like `-m68040'.
9096            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9097        ;;
9098      esac
9099      ;;
9100
9101    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9102      # PIC is the default for these OSes.
9103      ;;
9104
9105    mingw* | cygwin* | pw32* | os2* | cegcc*)
9106      # This hack is so that the source file can tell whether it is being
9107      # built for inclusion in a dll (and should export symbols for example).
9108      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9109      # (--disable-auto-import) libraries
9110      lt_prog_compiler_pic='-DDLL_EXPORT'
9111      ;;
9112
9113    darwin* | rhapsody*)
9114      # PIC is the default on this platform
9115      # Common symbols not allowed in MH_DYLIB files
9116      lt_prog_compiler_pic='-fno-common'
9117      ;;
9118
9119    haiku*)
9120      # PIC is the default for Haiku.
9121      # The "-static" flag exists, but is broken.
9122      lt_prog_compiler_static=
9123      ;;
9124
9125    hpux*)
9126      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9127      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9128      # sets the default TLS model and affects inlining.
9129      case $host_cpu in
9130      hppa*64*)
9131	# +Z the default
9132	;;
9133      *)
9134	lt_prog_compiler_pic='-fPIC'
9135	;;
9136      esac
9137      ;;
9138
9139    interix[3-9]*)
9140      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9141      # Instead, we relocate shared libraries at runtime.
9142      ;;
9143
9144    msdosdjgpp*)
9145      # Just because we use GCC doesn't mean we suddenly get shared libraries
9146      # on systems that don't support them.
9147      lt_prog_compiler_can_build_shared=no
9148      enable_shared=no
9149      ;;
9150
9151    *nto* | *qnx*)
9152      # QNX uses GNU C++, but need to define -shared option too, otherwise
9153      # it will coredump.
9154      lt_prog_compiler_pic='-fPIC -shared'
9155      ;;
9156
9157    sysv4*MP*)
9158      if test -d /usr/nec; then
9159	lt_prog_compiler_pic=-Kconform_pic
9160      fi
9161      ;;
9162
9163    *)
9164      lt_prog_compiler_pic='-fPIC'
9165      ;;
9166    esac
9167
9168    case $cc_basename in
9169    nvcc*) # Cuda Compiler Driver 2.2
9170      lt_prog_compiler_wl='-Xlinker '
9171      lt_prog_compiler_pic='-Xcompiler -fPIC'
9172      ;;
9173    esac
9174  else
9175    # PORTME Check for flag to pass linker flags through the system compiler.
9176    case $host_os in
9177    aix*)
9178      lt_prog_compiler_wl='-Wl,'
9179      if test "$host_cpu" = ia64; then
9180	# AIX 5 now supports IA64 processor
9181	lt_prog_compiler_static='-Bstatic'
9182      else
9183	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9184      fi
9185      ;;
9186
9187    mingw* | cygwin* | pw32* | os2* | cegcc*)
9188      # This hack is so that the source file can tell whether it is being
9189      # built for inclusion in a dll (and should export symbols for example).
9190      lt_prog_compiler_pic='-DDLL_EXPORT'
9191      ;;
9192
9193    hpux9* | hpux10* | hpux11*)
9194      lt_prog_compiler_wl='-Wl,'
9195      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9196      # not for PA HP-UX.
9197      case $host_cpu in
9198      hppa*64*|ia64*)
9199	# +Z the default
9200	;;
9201      *)
9202	lt_prog_compiler_pic='+Z'
9203	;;
9204      esac
9205      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9206      lt_prog_compiler_static='${wl}-a ${wl}archive'
9207      ;;
9208
9209    irix5* | irix6* | nonstopux*)
9210      lt_prog_compiler_wl='-Wl,'
9211      # PIC (with -KPIC) is the default.
9212      lt_prog_compiler_static='-non_shared'
9213      ;;
9214
9215    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9216      case $cc_basename in
9217      # old Intel for x86_64 which still supported -KPIC.
9218      ecc*)
9219	lt_prog_compiler_wl='-Wl,'
9220	lt_prog_compiler_pic='-KPIC'
9221	lt_prog_compiler_static='-static'
9222        ;;
9223      # icc used to be incompatible with GCC.
9224      # ICC 10 doesn't accept -KPIC any more.
9225      icc* | ifort*)
9226	lt_prog_compiler_wl='-Wl,'
9227	lt_prog_compiler_pic='-fPIC'
9228	lt_prog_compiler_static='-static'
9229        ;;
9230      # Lahey Fortran 8.1.
9231      lf95*)
9232	lt_prog_compiler_wl='-Wl,'
9233	lt_prog_compiler_pic='--shared'
9234	lt_prog_compiler_static='--static'
9235	;;
9236      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9237        # Portland Group compilers (*not* the Pentium gcc compiler,
9238	# which looks to be a dead project)
9239	lt_prog_compiler_wl='-Wl,'
9240	lt_prog_compiler_pic='-fpic'
9241	lt_prog_compiler_static='-Bstatic'
9242        ;;
9243      ccc*)
9244        lt_prog_compiler_wl='-Wl,'
9245        # All Alpha code is PIC.
9246        lt_prog_compiler_static='-non_shared'
9247        ;;
9248      xl* | bgxl* | bgf* | mpixl*)
9249	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9250	lt_prog_compiler_wl='-Wl,'
9251	lt_prog_compiler_pic='-qpic'
9252	lt_prog_compiler_static='-qstaticlink'
9253	;;
9254      *)
9255	case `$CC -V 2>&1 | sed 5q` in
9256	*Sun\ F* | *Sun*Fortran*)
9257	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9258	  lt_prog_compiler_pic='-KPIC'
9259	  lt_prog_compiler_static='-Bstatic'
9260	  lt_prog_compiler_wl=''
9261	  ;;
9262	*Sun\ C*)
9263	  # Sun C 5.9
9264	  lt_prog_compiler_pic='-KPIC'
9265	  lt_prog_compiler_static='-Bstatic'
9266	  lt_prog_compiler_wl='-Wl,'
9267	  ;;
9268	esac
9269	;;
9270      esac
9271      ;;
9272
9273    newsos6)
9274      lt_prog_compiler_pic='-KPIC'
9275      lt_prog_compiler_static='-Bstatic'
9276      ;;
9277
9278    *nto* | *qnx*)
9279      # QNX uses GNU C++, but need to define -shared option too, otherwise
9280      # it will coredump.
9281      lt_prog_compiler_pic='-fPIC -shared'
9282      ;;
9283
9284    osf3* | osf4* | osf5*)
9285      lt_prog_compiler_wl='-Wl,'
9286      # All OSF/1 code is PIC.
9287      lt_prog_compiler_static='-non_shared'
9288      ;;
9289
9290    rdos*)
9291      lt_prog_compiler_static='-non_shared'
9292      ;;
9293
9294    solaris*)
9295      lt_prog_compiler_pic='-KPIC'
9296      lt_prog_compiler_static='-Bstatic'
9297      case $cc_basename in
9298      f77* | f90* | f95*)
9299	lt_prog_compiler_wl='-Qoption ld ';;
9300      *)
9301	lt_prog_compiler_wl='-Wl,';;
9302      esac
9303      ;;
9304
9305    sunos4*)
9306      lt_prog_compiler_wl='-Qoption ld '
9307      lt_prog_compiler_pic='-PIC'
9308      lt_prog_compiler_static='-Bstatic'
9309      ;;
9310
9311    sysv4 | sysv4.2uw2* | sysv4.3*)
9312      lt_prog_compiler_wl='-Wl,'
9313      lt_prog_compiler_pic='-KPIC'
9314      lt_prog_compiler_static='-Bstatic'
9315      ;;
9316
9317    sysv4*MP*)
9318      if test -d /usr/nec ;then
9319	lt_prog_compiler_pic='-Kconform_pic'
9320	lt_prog_compiler_static='-Bstatic'
9321      fi
9322      ;;
9323
9324    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9325      lt_prog_compiler_wl='-Wl,'
9326      lt_prog_compiler_pic='-KPIC'
9327      lt_prog_compiler_static='-Bstatic'
9328      ;;
9329
9330    unicos*)
9331      lt_prog_compiler_wl='-Wl,'
9332      lt_prog_compiler_can_build_shared=no
9333      ;;
9334
9335    uts4*)
9336      lt_prog_compiler_pic='-pic'
9337      lt_prog_compiler_static='-Bstatic'
9338      ;;
9339
9340    *)
9341      lt_prog_compiler_can_build_shared=no
9342      ;;
9343    esac
9344  fi
9345
9346case $host_os in
9347  # For platforms which do not support PIC, -DPIC is meaningless:
9348  *djgpp*)
9349    lt_prog_compiler_pic=
9350    ;;
9351  *)
9352    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9353    ;;
9354esac
9355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9356$as_echo "$lt_prog_compiler_pic" >&6; }
9357
9358
9359
9360
9361
9362
9363#
9364# Check to make sure the PIC flag actually works.
9365#
9366if test -n "$lt_prog_compiler_pic"; then
9367  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9368$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9369if ${lt_cv_prog_compiler_pic_works+:} false; then :
9370  $as_echo_n "(cached) " >&6
9371else
9372  lt_cv_prog_compiler_pic_works=no
9373   ac_outfile=conftest.$ac_objext
9374   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9375   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9376   # Insert the option either (1) after the last *FLAGS variable, or
9377   # (2) before a word containing "conftest.", or (3) at the end.
9378   # Note that $ac_compile itself does not contain backslashes and begins
9379   # with a dollar sign (not a hyphen), so the echo should work correctly.
9380   # The option is referenced via a variable to avoid confusing sed.
9381   lt_compile=`echo "$ac_compile" | $SED \
9382   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9383   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9384   -e 's:$: $lt_compiler_flag:'`
9385   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9386   (eval "$lt_compile" 2>conftest.err)
9387   ac_status=$?
9388   cat conftest.err >&5
9389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390   if (exit $ac_status) && test -s "$ac_outfile"; then
9391     # The compiler can only warn and ignore the option if not recognized
9392     # So say no if there are warnings other than the usual output.
9393     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9394     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9395     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9396       lt_cv_prog_compiler_pic_works=yes
9397     fi
9398   fi
9399   $RM conftest*
9400
9401fi
9402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9403$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9404
9405if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9406    case $lt_prog_compiler_pic in
9407     "" | " "*) ;;
9408     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9409     esac
9410else
9411    lt_prog_compiler_pic=
9412     lt_prog_compiler_can_build_shared=no
9413fi
9414
9415fi
9416
9417
9418
9419
9420
9421
9422#
9423# Check to make sure the static flag actually works.
9424#
9425wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9427$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9428if ${lt_cv_prog_compiler_static_works+:} false; then :
9429  $as_echo_n "(cached) " >&6
9430else
9431  lt_cv_prog_compiler_static_works=no
9432   save_LDFLAGS="$LDFLAGS"
9433   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9434   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9435   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9436     # The linker can only warn and ignore the option if not recognized
9437     # So say no if there are warnings
9438     if test -s conftest.err; then
9439       # Append any errors to the config.log.
9440       cat conftest.err 1>&5
9441       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9442       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9443       if diff conftest.exp conftest.er2 >/dev/null; then
9444         lt_cv_prog_compiler_static_works=yes
9445       fi
9446     else
9447       lt_cv_prog_compiler_static_works=yes
9448     fi
9449   fi
9450   $RM -r conftest*
9451   LDFLAGS="$save_LDFLAGS"
9452
9453fi
9454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9455$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9456
9457if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9458    :
9459else
9460    lt_prog_compiler_static=
9461fi
9462
9463
9464
9465
9466
9467
9468
9469  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9470$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9471if ${lt_cv_prog_compiler_c_o+:} false; then :
9472  $as_echo_n "(cached) " >&6
9473else
9474  lt_cv_prog_compiler_c_o=no
9475   $RM -r conftest 2>/dev/null
9476   mkdir conftest
9477   cd conftest
9478   mkdir out
9479   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9480
9481   lt_compiler_flag="-o out/conftest2.$ac_objext"
9482   # Insert the option either (1) after the last *FLAGS variable, or
9483   # (2) before a word containing "conftest.", or (3) at the end.
9484   # Note that $ac_compile itself does not contain backslashes and begins
9485   # with a dollar sign (not a hyphen), so the echo should work correctly.
9486   lt_compile=`echo "$ac_compile" | $SED \
9487   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9488   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9489   -e 's:$: $lt_compiler_flag:'`
9490   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9491   (eval "$lt_compile" 2>out/conftest.err)
9492   ac_status=$?
9493   cat out/conftest.err >&5
9494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9496   then
9497     # The compiler can only warn and ignore the option if not recognized
9498     # So say no if there are warnings
9499     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9500     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9501     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9502       lt_cv_prog_compiler_c_o=yes
9503     fi
9504   fi
9505   chmod u+w . 2>&5
9506   $RM conftest*
9507   # SGI C++ compiler will create directory out/ii_files/ for
9508   # template instantiation
9509   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9510   $RM out/* && rmdir out
9511   cd ..
9512   $RM -r conftest
9513   $RM conftest*
9514
9515fi
9516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9517$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9518
9519
9520
9521
9522
9523
9524  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9525$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9526if ${lt_cv_prog_compiler_c_o+:} false; then :
9527  $as_echo_n "(cached) " >&6
9528else
9529  lt_cv_prog_compiler_c_o=no
9530   $RM -r conftest 2>/dev/null
9531   mkdir conftest
9532   cd conftest
9533   mkdir out
9534   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9535
9536   lt_compiler_flag="-o out/conftest2.$ac_objext"
9537   # Insert the option either (1) after the last *FLAGS variable, or
9538   # (2) before a word containing "conftest.", or (3) at the end.
9539   # Note that $ac_compile itself does not contain backslashes and begins
9540   # with a dollar sign (not a hyphen), so the echo should work correctly.
9541   lt_compile=`echo "$ac_compile" | $SED \
9542   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9543   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9544   -e 's:$: $lt_compiler_flag:'`
9545   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9546   (eval "$lt_compile" 2>out/conftest.err)
9547   ac_status=$?
9548   cat out/conftest.err >&5
9549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9551   then
9552     # The compiler can only warn and ignore the option if not recognized
9553     # So say no if there are warnings
9554     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9555     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9556     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9557       lt_cv_prog_compiler_c_o=yes
9558     fi
9559   fi
9560   chmod u+w . 2>&5
9561   $RM conftest*
9562   # SGI C++ compiler will create directory out/ii_files/ for
9563   # template instantiation
9564   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9565   $RM out/* && rmdir out
9566   cd ..
9567   $RM -r conftest
9568   $RM conftest*
9569
9570fi
9571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9572$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9573
9574
9575
9576
9577hard_links="nottested"
9578if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9579  # do not overwrite the value of need_locks provided by the user
9580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9581$as_echo_n "checking if we can lock with hard links... " >&6; }
9582  hard_links=yes
9583  $RM conftest*
9584  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9585  touch conftest.a
9586  ln conftest.a conftest.b 2>&5 || hard_links=no
9587  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9589$as_echo "$hard_links" >&6; }
9590  if test "$hard_links" = no; then
9591    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9592$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9593    need_locks=warn
9594  fi
9595else
9596  need_locks=no
9597fi
9598
9599
9600
9601
9602
9603
9604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9605$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9606
9607  runpath_var=
9608  allow_undefined_flag=
9609  always_export_symbols=no
9610  archive_cmds=
9611  archive_expsym_cmds=
9612  compiler_needs_object=no
9613  enable_shared_with_static_runtimes=no
9614  export_dynamic_flag_spec=
9615  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9616  hardcode_automatic=no
9617  hardcode_direct=no
9618  hardcode_direct_absolute=no
9619  hardcode_libdir_flag_spec=
9620  hardcode_libdir_flag_spec_ld=
9621  hardcode_libdir_separator=
9622  hardcode_minus_L=no
9623  hardcode_shlibpath_var=unsupported
9624  inherit_rpath=no
9625  link_all_deplibs=unknown
9626  module_cmds=
9627  module_expsym_cmds=
9628  old_archive_from_new_cmds=
9629  old_archive_from_expsyms_cmds=
9630  thread_safe_flag_spec=
9631  whole_archive_flag_spec=
9632  # include_expsyms should be a list of space-separated symbols to be *always*
9633  # included in the symbol list
9634  include_expsyms=
9635  # exclude_expsyms can be an extended regexp of symbols to exclude
9636  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9637  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9638  # as well as any symbol that contains `d'.
9639  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9640  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9641  # platforms (ab)use it in PIC code, but their linkers get confused if
9642  # the symbol is explicitly referenced.  Since portable code cannot
9643  # rely on this symbol name, it's probably fine to never include it in
9644  # preloaded symbol tables.
9645  # Exclude shared library initialization/finalization symbols.
9646  extract_expsyms_cmds=
9647
9648  case $host_os in
9649  cygwin* | mingw* | pw32* | cegcc*)
9650    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9651    # When not using gcc, we currently assume that we are using
9652    # Microsoft Visual C++.
9653    if test "$GCC" != yes; then
9654      with_gnu_ld=no
9655    fi
9656    ;;
9657  interix*)
9658    # we just hope/assume this is gcc and not c89 (= MSVC++)
9659    with_gnu_ld=yes
9660    ;;
9661  openbsd*)
9662    with_gnu_ld=no
9663    ;;
9664  esac
9665
9666  ld_shlibs=yes
9667
9668  # On some targets, GNU ld is compatible enough with the native linker
9669  # that we're better off using the native interface for both.
9670  lt_use_gnu_ld_interface=no
9671  if test "$with_gnu_ld" = yes; then
9672    case $host_os in
9673      aix*)
9674	# The AIX port of GNU ld has always aspired to compatibility
9675	# with the native linker.  However, as the warning in the GNU ld
9676	# block says, versions before 2.19.5* couldn't really create working
9677	# shared libraries, regardless of the interface used.
9678	case `$LD -v 2>&1` in
9679	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9680	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9681	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9682	  *)
9683	    lt_use_gnu_ld_interface=yes
9684	    ;;
9685	esac
9686	;;
9687      *)
9688	lt_use_gnu_ld_interface=yes
9689	;;
9690    esac
9691  fi
9692
9693  if test "$lt_use_gnu_ld_interface" = yes; then
9694    # If archive_cmds runs LD, not CC, wlarc should be empty
9695    wlarc='${wl}'
9696
9697    # Set some defaults for GNU ld with shared library support. These
9698    # are reset later if shared libraries are not supported. Putting them
9699    # here allows them to be overridden if necessary.
9700    runpath_var=LD_RUN_PATH
9701    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9702    export_dynamic_flag_spec='${wl}--export-dynamic'
9703    # ancient GNU ld didn't support --whole-archive et. al.
9704    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9705      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9706    else
9707      whole_archive_flag_spec=
9708    fi
9709    supports_anon_versioning=no
9710    case `$LD -v 2>&1` in
9711      *GNU\ gold*) supports_anon_versioning=yes ;;
9712      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9713      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9714      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9715      *\ 2.11.*) ;; # other 2.11 versions
9716      *) supports_anon_versioning=yes ;;
9717    esac
9718
9719    # See if GNU ld supports shared libraries.
9720    case $host_os in
9721    aix[3-9]*)
9722      # On AIX/PPC, the GNU linker is very broken
9723      if test "$host_cpu" != ia64; then
9724	ld_shlibs=no
9725	cat <<_LT_EOF 1>&2
9726
9727*** Warning: the GNU linker, at least up to release 2.19, is reported
9728*** to be unable to reliably create shared libraries on AIX.
9729*** Therefore, libtool is disabling shared libraries support.  If you
9730*** really care for shared libraries, you may want to install binutils
9731*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9732*** You will then need to restart the configuration process.
9733
9734_LT_EOF
9735      fi
9736      ;;
9737
9738    amigaos*)
9739      case $host_cpu in
9740      powerpc)
9741            # see comment about AmigaOS4 .so support
9742            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9743            archive_expsym_cmds=''
9744        ;;
9745      m68k)
9746            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)'
9747            hardcode_libdir_flag_spec='-L$libdir'
9748            hardcode_minus_L=yes
9749        ;;
9750      esac
9751      ;;
9752
9753    beos*)
9754      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9755	allow_undefined_flag=unsupported
9756	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9757	# support --undefined.  This deserves some investigation.  FIXME
9758	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9759      else
9760	ld_shlibs=no
9761      fi
9762      ;;
9763
9764    cygwin* | mingw* | pw32* | cegcc*)
9765      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9766      # as there is no search path for DLLs.
9767      hardcode_libdir_flag_spec='-L$libdir'
9768      export_dynamic_flag_spec='${wl}--export-all-symbols'
9769      allow_undefined_flag=unsupported
9770      always_export_symbols=no
9771      enable_shared_with_static_runtimes=yes
9772      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9773
9774      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9775        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9776	# If the export-symbols file already is a .def file (1st line
9777	# is EXPORTS), use it as is; otherwise, prepend...
9778	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9779	  cp $export_symbols $output_objdir/$soname.def;
9780	else
9781	  echo EXPORTS > $output_objdir/$soname.def;
9782	  cat $export_symbols >> $output_objdir/$soname.def;
9783	fi~
9784	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9785      else
9786	ld_shlibs=no
9787      fi
9788      ;;
9789
9790    haiku*)
9791      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9792      link_all_deplibs=yes
9793      ;;
9794
9795    interix[3-9]*)
9796      hardcode_direct=no
9797      hardcode_shlibpath_var=no
9798      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9799      export_dynamic_flag_spec='${wl}-E'
9800      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9801      # Instead, shared libraries are loaded at an image base (0x10000000 by
9802      # default) and relocated if they conflict, which is a slow very memory
9803      # consuming and fragmenting process.  To avoid this, we pick a random,
9804      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9805      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9806      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9807      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'
9808      ;;
9809
9810    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9811      tmp_diet=no
9812      if test "$host_os" = linux-dietlibc; then
9813	case $cc_basename in
9814	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9815	esac
9816      fi
9817      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9818	 && test "$tmp_diet" = no
9819      then
9820	tmp_addflag=' $pic_flag'
9821	tmp_sharedflag='-shared'
9822	case $cc_basename,$host_cpu in
9823        pgcc*)				# Portland Group C compiler
9824	  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'
9825	  tmp_addflag=' $pic_flag'
9826	  ;;
9827	pgf77* | pgf90* | pgf95* | pgfortran*)
9828					# Portland Group f77 and f90 compilers
9829	  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'
9830	  tmp_addflag=' $pic_flag -Mnomain' ;;
9831	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9832	  tmp_addflag=' -i_dynamic' ;;
9833	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9834	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9835	ifc* | ifort*)			# Intel Fortran compiler
9836	  tmp_addflag=' -nofor_main' ;;
9837	lf95*)				# Lahey Fortran 8.1
9838	  whole_archive_flag_spec=
9839	  tmp_sharedflag='--shared' ;;
9840	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9841	  tmp_sharedflag='-qmkshrobj'
9842	  tmp_addflag= ;;
9843	nvcc*)	# Cuda Compiler Driver 2.2
9844	  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'
9845	  compiler_needs_object=yes
9846	  ;;
9847	esac
9848	case `$CC -V 2>&1 | sed 5q` in
9849	*Sun\ C*)			# Sun C 5.9
9850	  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'
9851	  compiler_needs_object=yes
9852	  tmp_sharedflag='-G' ;;
9853	*Sun\ F*)			# Sun Fortran 8.3
9854	  tmp_sharedflag='-G' ;;
9855	esac
9856	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9857
9858        if test "x$supports_anon_versioning" = xyes; then
9859          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9860	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9861	    echo "local: *; };" >> $output_objdir/$libname.ver~
9862	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9863        fi
9864
9865	case $cc_basename in
9866	xlf* | bgf* | bgxlf* | mpixlf*)
9867	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9868	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9869	  hardcode_libdir_flag_spec=
9870	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9871	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9872	  if test "x$supports_anon_versioning" = xyes; then
9873	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9874	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9875	      echo "local: *; };" >> $output_objdir/$libname.ver~
9876	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9877	  fi
9878	  ;;
9879	esac
9880      else
9881        ld_shlibs=no
9882      fi
9883      ;;
9884
9885    netbsd*)
9886      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9887	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9888	wlarc=
9889      else
9890	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9891	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9892      fi
9893      ;;
9894
9895    solaris*)
9896      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9897	ld_shlibs=no
9898	cat <<_LT_EOF 1>&2
9899
9900*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9901*** create shared libraries on Solaris systems.  Therefore, libtool
9902*** is disabling shared libraries support.  We urge you to upgrade GNU
9903*** binutils to release 2.9.1 or newer.  Another option is to modify
9904*** your PATH or compiler configuration so that the native linker is
9905*** used, and then restart.
9906
9907_LT_EOF
9908      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9909	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9910	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9911      else
9912	ld_shlibs=no
9913      fi
9914      ;;
9915
9916    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9917      case `$LD -v 2>&1` in
9918        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9919	ld_shlibs=no
9920	cat <<_LT_EOF 1>&2
9921
9922*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9923*** reliably create shared libraries on SCO systems.  Therefore, libtool
9924*** is disabling shared libraries support.  We urge you to upgrade GNU
9925*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9926*** your PATH or compiler configuration so that the native linker is
9927*** used, and then restart.
9928
9929_LT_EOF
9930	;;
9931	*)
9932	  # For security reasons, it is highly recommended that you always
9933	  # use absolute paths for naming shared libraries, and exclude the
9934	  # DT_RUNPATH tag from executables and libraries.  But doing so
9935	  # requires that you compile everything twice, which is a pain.
9936	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9937	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9938	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9939	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9940	  else
9941	    ld_shlibs=no
9942	  fi
9943	;;
9944      esac
9945      ;;
9946
9947    sunos4*)
9948      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949      wlarc=
9950      hardcode_direct=yes
9951      hardcode_shlibpath_var=no
9952      ;;
9953
9954    *)
9955      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9956	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9957	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9958      else
9959	ld_shlibs=no
9960      fi
9961      ;;
9962    esac
9963
9964    if test "$ld_shlibs" = no; then
9965      runpath_var=
9966      hardcode_libdir_flag_spec=
9967      export_dynamic_flag_spec=
9968      whole_archive_flag_spec=
9969    fi
9970  else
9971    # PORTME fill in a description of your system's linker (not GNU ld)
9972    case $host_os in
9973    aix3*)
9974      allow_undefined_flag=unsupported
9975      always_export_symbols=yes
9976      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'
9977      # Note: this linker hardcodes the directories in LIBPATH if there
9978      # are no directories specified by -L.
9979      hardcode_minus_L=yes
9980      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9981	# Neither direct hardcoding nor static linking is supported with a
9982	# broken collect2.
9983	hardcode_direct=unsupported
9984      fi
9985      ;;
9986
9987    aix[4-9]*)
9988      if test "$host_cpu" = ia64; then
9989	# On IA64, the linker does run time linking by default, so we don't
9990	# have to do anything special.
9991	aix_use_runtimelinking=no
9992	exp_sym_flag='-Bexport'
9993	no_entry_flag=""
9994      else
9995	# If we're using GNU nm, then we don't want the "-C" option.
9996	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9997	# Also, AIX nm treats weak defined symbols like other global
9998	# defined symbols, whereas GNU nm marks them as "W".
9999	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10000	  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'
10001	else
10002	  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'
10003	fi
10004	aix_use_runtimelinking=no
10005
10006	# Test if we are trying to use run time linking or normal
10007	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10008	# need to do runtime linking.
10009	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10010	  for ld_flag in $LDFLAGS; do
10011	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10012	    aix_use_runtimelinking=yes
10013	    break
10014	  fi
10015	  done
10016	  ;;
10017	esac
10018
10019	exp_sym_flag='-bexport'
10020	no_entry_flag='-bnoentry'
10021      fi
10022
10023      # When large executables or shared objects are built, AIX ld can
10024      # have problems creating the table of contents.  If linking a library
10025      # or program results in "error TOC overflow" add -mminimal-toc to
10026      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10027      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10028
10029      archive_cmds=''
10030      hardcode_direct=yes
10031      hardcode_direct_absolute=yes
10032      hardcode_libdir_separator=':'
10033      link_all_deplibs=yes
10034      file_list_spec='${wl}-f,'
10035
10036      if test "$GCC" = yes; then
10037	case $host_os in aix4.[012]|aix4.[012].*)
10038	# We only want to do this on AIX 4.2 and lower, the check
10039	# below for broken collect2 doesn't work under 4.3+
10040	  collect2name=`${CC} -print-prog-name=collect2`
10041	  if test -f "$collect2name" &&
10042	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10043	  then
10044	  # We have reworked collect2
10045	  :
10046	  else
10047	  # We have old collect2
10048	  hardcode_direct=unsupported
10049	  # It fails to find uninstalled libraries when the uninstalled
10050	  # path is not listed in the libpath.  Setting hardcode_minus_L
10051	  # to unsupported forces relinking
10052	  hardcode_minus_L=yes
10053	  hardcode_libdir_flag_spec='-L$libdir'
10054	  hardcode_libdir_separator=
10055	  fi
10056	  ;;
10057	esac
10058	shared_flag='-shared'
10059	if test "$aix_use_runtimelinking" = yes; then
10060	  shared_flag="$shared_flag "'${wl}-G'
10061	fi
10062      else
10063	# not using gcc
10064	if test "$host_cpu" = ia64; then
10065	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10066	# chokes on -Wl,-G. The following line is correct:
10067	  shared_flag='-G'
10068	else
10069	  if test "$aix_use_runtimelinking" = yes; then
10070	    shared_flag='${wl}-G'
10071	  else
10072	    shared_flag='${wl}-bM:SRE'
10073	  fi
10074	fi
10075      fi
10076
10077      export_dynamic_flag_spec='${wl}-bexpall'
10078      # It seems that -bexpall does not export symbols beginning with
10079      # underscore (_), so it is better to generate a list of symbols to export.
10080      always_export_symbols=yes
10081      if test "$aix_use_runtimelinking" = yes; then
10082	# Warning - without using the other runtime loading flags (-brtl),
10083	# -berok will link without error, but may produce a broken library.
10084	allow_undefined_flag='-berok'
10085        # Determine the default libpath from the value encoded in an
10086        # empty executable.
10087        if test x$gcc_no_link = xyes; then
10088  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10089fi
10090cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091/* end confdefs.h.  */
10092
10093int
10094main ()
10095{
10096
10097  ;
10098  return 0;
10099}
10100_ACEOF
10101if ac_fn_c_try_link "$LINENO"; then :
10102
10103lt_aix_libpath_sed='
10104    /Import File Strings/,/^$/ {
10105	/^0/ {
10106	    s/^0  *\(.*\)$/\1/
10107	    p
10108	}
10109    }'
10110aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10111# Check for a 64-bit object if we didn't find anything.
10112if test -z "$aix_libpath"; then
10113  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10114fi
10115fi
10116rm -f core conftest.err conftest.$ac_objext \
10117    conftest$ac_exeext conftest.$ac_ext
10118if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10119
10120        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10121        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"
10122      else
10123	if test "$host_cpu" = ia64; then
10124	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10125	  allow_undefined_flag="-z nodefs"
10126	  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"
10127	else
10128	 # Determine the default libpath from the value encoded in an
10129	 # empty executable.
10130	 if test x$gcc_no_link = xyes; then
10131  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10132fi
10133cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134/* end confdefs.h.  */
10135
10136int
10137main ()
10138{
10139
10140  ;
10141  return 0;
10142}
10143_ACEOF
10144if ac_fn_c_try_link "$LINENO"; then :
10145
10146lt_aix_libpath_sed='
10147    /Import File Strings/,/^$/ {
10148	/^0/ {
10149	    s/^0  *\(.*\)$/\1/
10150	    p
10151	}
10152    }'
10153aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10154# Check for a 64-bit object if we didn't find anything.
10155if test -z "$aix_libpath"; then
10156  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10157fi
10158fi
10159rm -f core conftest.err conftest.$ac_objext \
10160    conftest$ac_exeext conftest.$ac_ext
10161if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10162
10163	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10164	  # Warning - without using the other run time loading flags,
10165	  # -berok will link without error, but may produce a broken library.
10166	  no_undefined_flag=' ${wl}-bernotok'
10167	  allow_undefined_flag=' ${wl}-berok'
10168	  if test "$with_gnu_ld" = yes; then
10169	    # We only use this code for GNU lds that support --whole-archive.
10170	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10171	  else
10172	    # Exported symbols can be pulled into shared objects from archives
10173	    whole_archive_flag_spec='$convenience'
10174	  fi
10175	  archive_cmds_need_lc=yes
10176	  # This is similar to how AIX traditionally builds its shared libraries.
10177	  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'
10178	fi
10179      fi
10180      ;;
10181
10182    amigaos*)
10183      case $host_cpu in
10184      powerpc)
10185            # see comment about AmigaOS4 .so support
10186            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10187            archive_expsym_cmds=''
10188        ;;
10189      m68k)
10190            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)'
10191            hardcode_libdir_flag_spec='-L$libdir'
10192            hardcode_minus_L=yes
10193        ;;
10194      esac
10195      ;;
10196
10197    bsdi[45]*)
10198      export_dynamic_flag_spec=-rdynamic
10199      ;;
10200
10201    cygwin* | mingw* | pw32* | cegcc*)
10202      # When not using gcc, we currently assume that we are using
10203      # Microsoft Visual C++.
10204      # hardcode_libdir_flag_spec is actually meaningless, as there is
10205      # no search path for DLLs.
10206      hardcode_libdir_flag_spec=' '
10207      allow_undefined_flag=unsupported
10208      # Tell ltmain to make .lib files, not .a files.
10209      libext=lib
10210      # Tell ltmain to make .dll files, not .so files.
10211      shrext_cmds=".dll"
10212      # FIXME: Setting linknames here is a bad hack.
10213      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10214      # The linker will automatically build a .lib file if we build a DLL.
10215      old_archive_from_new_cmds='true'
10216      # FIXME: Should let the user specify the lib program.
10217      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10218      fix_srcfile_path='`cygpath -w "$srcfile"`'
10219      enable_shared_with_static_runtimes=yes
10220      ;;
10221
10222    darwin* | rhapsody*)
10223
10224
10225  archive_cmds_need_lc=no
10226  hardcode_direct=no
10227  hardcode_automatic=yes
10228  hardcode_shlibpath_var=unsupported
10229  if test "$lt_cv_ld_force_load" = "yes"; then
10230    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\"`'
10231  else
10232    whole_archive_flag_spec=''
10233  fi
10234  link_all_deplibs=yes
10235  allow_undefined_flag="$_lt_dar_allow_undefined"
10236  case $cc_basename in
10237     ifort*) _lt_dar_can_shared=yes ;;
10238     *) _lt_dar_can_shared=$GCC ;;
10239  esac
10240  if test "$_lt_dar_can_shared" = "yes"; then
10241    output_verbose_link_cmd=func_echo_all
10242    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10243    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10244    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}"
10245    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}"
10246
10247  else
10248  ld_shlibs=no
10249  fi
10250
10251      ;;
10252
10253    dgux*)
10254      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10255      hardcode_libdir_flag_spec='-L$libdir'
10256      hardcode_shlibpath_var=no
10257      ;;
10258
10259    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10260    # support.  Future versions do this automatically, but an explicit c++rt0.o
10261    # does not break anything, and helps significantly (at the cost of a little
10262    # extra space).
10263    freebsd2.2*)
10264      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10265      hardcode_libdir_flag_spec='-R$libdir'
10266      hardcode_direct=yes
10267      hardcode_shlibpath_var=no
10268      ;;
10269
10270    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10271    freebsd2.*)
10272      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10273      hardcode_direct=yes
10274      hardcode_minus_L=yes
10275      hardcode_shlibpath_var=no
10276      ;;
10277
10278    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10279    freebsd* | dragonfly*)
10280      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10281      hardcode_libdir_flag_spec='-R$libdir'
10282      hardcode_direct=yes
10283      hardcode_shlibpath_var=no
10284      ;;
10285
10286    hpux9*)
10287      if test "$GCC" = yes; then
10288	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'
10289      else
10290	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'
10291      fi
10292      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10293      hardcode_libdir_separator=:
10294      hardcode_direct=yes
10295
10296      # hardcode_minus_L: Not really in the search PATH,
10297      # but as the default location of the library.
10298      hardcode_minus_L=yes
10299      export_dynamic_flag_spec='${wl}-E'
10300      ;;
10301
10302    hpux10*)
10303      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10304	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10305      else
10306	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10307      fi
10308      if test "$with_gnu_ld" = no; then
10309	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10310	hardcode_libdir_flag_spec_ld='+b $libdir'
10311	hardcode_libdir_separator=:
10312	hardcode_direct=yes
10313	hardcode_direct_absolute=yes
10314	export_dynamic_flag_spec='${wl}-E'
10315	# hardcode_minus_L: Not really in the search PATH,
10316	# but as the default location of the library.
10317	hardcode_minus_L=yes
10318      fi
10319      ;;
10320
10321    hpux11*)
10322      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10323	case $host_cpu in
10324	hppa*64*)
10325	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10326	  ;;
10327	ia64*)
10328	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10329	  ;;
10330	*)
10331	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10332	  ;;
10333	esac
10334      else
10335	case $host_cpu in
10336	hppa*64*)
10337	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10338	  ;;
10339	ia64*)
10340	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10341	  ;;
10342	*)
10343
10344	  # Older versions of the 11.00 compiler do not understand -b yet
10345	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10346	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10347$as_echo_n "checking if $CC understands -b... " >&6; }
10348if ${lt_cv_prog_compiler__b+:} false; then :
10349  $as_echo_n "(cached) " >&6
10350else
10351  lt_cv_prog_compiler__b=no
10352   save_LDFLAGS="$LDFLAGS"
10353   LDFLAGS="$LDFLAGS -b"
10354   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10355   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10356     # The linker can only warn and ignore the option if not recognized
10357     # So say no if there are warnings
10358     if test -s conftest.err; then
10359       # Append any errors to the config.log.
10360       cat conftest.err 1>&5
10361       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10362       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10363       if diff conftest.exp conftest.er2 >/dev/null; then
10364         lt_cv_prog_compiler__b=yes
10365       fi
10366     else
10367       lt_cv_prog_compiler__b=yes
10368     fi
10369   fi
10370   $RM -r conftest*
10371   LDFLAGS="$save_LDFLAGS"
10372
10373fi
10374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10375$as_echo "$lt_cv_prog_compiler__b" >&6; }
10376
10377if test x"$lt_cv_prog_compiler__b" = xyes; then
10378    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10379else
10380    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10381fi
10382
10383	  ;;
10384	esac
10385      fi
10386      if test "$with_gnu_ld" = no; then
10387	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10388	hardcode_libdir_separator=:
10389
10390	case $host_cpu in
10391	hppa*64*|ia64*)
10392	  hardcode_direct=no
10393	  hardcode_shlibpath_var=no
10394	  ;;
10395	*)
10396	  hardcode_direct=yes
10397	  hardcode_direct_absolute=yes
10398	  export_dynamic_flag_spec='${wl}-E'
10399
10400	  # hardcode_minus_L: Not really in the search PATH,
10401	  # but as the default location of the library.
10402	  hardcode_minus_L=yes
10403	  ;;
10404	esac
10405      fi
10406      ;;
10407
10408    irix5* | irix6* | nonstopux*)
10409      if test "$GCC" = yes; then
10410	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'
10411	# Try to use the -exported_symbol ld option, if it does not
10412	# work, assume that -exports_file does not work either and
10413	# implicitly export all symbols.
10414        save_LDFLAGS="$LDFLAGS"
10415        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10416        if test x$gcc_no_link = xyes; then
10417  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10418fi
10419cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420/* end confdefs.h.  */
10421int foo(void) {}
10422_ACEOF
10423if ac_fn_c_try_link "$LINENO"; then :
10424  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'
10425
10426fi
10427rm -f core conftest.err conftest.$ac_objext \
10428    conftest$ac_exeext conftest.$ac_ext
10429        LDFLAGS="$save_LDFLAGS"
10430      else
10431	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'
10432	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'
10433      fi
10434      archive_cmds_need_lc='no'
10435      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10436      hardcode_libdir_separator=:
10437      inherit_rpath=yes
10438      link_all_deplibs=yes
10439      ;;
10440
10441    netbsd*)
10442      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10443	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10444      else
10445	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10446      fi
10447      hardcode_libdir_flag_spec='-R$libdir'
10448      hardcode_direct=yes
10449      hardcode_shlibpath_var=no
10450      ;;
10451
10452    newsos6)
10453      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10454      hardcode_direct=yes
10455      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10456      hardcode_libdir_separator=:
10457      hardcode_shlibpath_var=no
10458      ;;
10459
10460    *nto* | *qnx*)
10461      ;;
10462
10463    openbsd*)
10464      if test -f /usr/libexec/ld.so; then
10465	hardcode_direct=yes
10466	hardcode_shlibpath_var=no
10467	hardcode_direct_absolute=yes
10468	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10469	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10470	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10471	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10472	  export_dynamic_flag_spec='${wl}-E'
10473	else
10474	  case $host_os in
10475	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10476	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10477	     hardcode_libdir_flag_spec='-R$libdir'
10478	     ;;
10479	   *)
10480	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10481	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10482	     ;;
10483	  esac
10484	fi
10485      else
10486	ld_shlibs=no
10487      fi
10488      ;;
10489
10490    os2*)
10491      hardcode_libdir_flag_spec='-L$libdir'
10492      hardcode_minus_L=yes
10493      allow_undefined_flag=unsupported
10494      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'
10495      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10496      ;;
10497
10498    osf3*)
10499      if test "$GCC" = yes; then
10500	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10501	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'
10502      else
10503	allow_undefined_flag=' -expect_unresolved \*'
10504	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'
10505      fi
10506      archive_cmds_need_lc='no'
10507      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10508      hardcode_libdir_separator=:
10509      ;;
10510
10511    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10512      if test "$GCC" = yes; then
10513	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10514	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'
10515	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10516      else
10517	allow_undefined_flag=' -expect_unresolved \*'
10518	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'
10519	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~
10520	$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'
10521
10522	# Both c and cxx compiler support -rpath directly
10523	hardcode_libdir_flag_spec='-rpath $libdir'
10524      fi
10525      archive_cmds_need_lc='no'
10526      hardcode_libdir_separator=:
10527      ;;
10528
10529    solaris*)
10530      no_undefined_flag=' -z defs'
10531      if test "$GCC" = yes; then
10532	wlarc='${wl}'
10533	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10534	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10535	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10536      else
10537	case `$CC -V 2>&1` in
10538	*"Compilers 5.0"*)
10539	  wlarc=''
10540	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10541	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10542	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10543	  ;;
10544	*)
10545	  wlarc='${wl}'
10546	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10547	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10548	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10549	  ;;
10550	esac
10551      fi
10552      hardcode_libdir_flag_spec='-R$libdir'
10553      hardcode_shlibpath_var=no
10554      case $host_os in
10555      solaris2.[0-5] | solaris2.[0-5].*) ;;
10556      *)
10557	# The compiler driver will combine and reorder linker options,
10558	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10559	# but is careful enough not to reorder.
10560	# Supported since Solaris 2.6 (maybe 2.5.1?)
10561	if test "$GCC" = yes; then
10562	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10563	else
10564	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10565	fi
10566	;;
10567      esac
10568      link_all_deplibs=yes
10569      ;;
10570
10571    sunos4*)
10572      if test "x$host_vendor" = xsequent; then
10573	# Use $CC to link under sequent, because it throws in some extra .o
10574	# files that make .init and .fini sections work.
10575	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10576      else
10577	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10578      fi
10579      hardcode_libdir_flag_spec='-L$libdir'
10580      hardcode_direct=yes
10581      hardcode_minus_L=yes
10582      hardcode_shlibpath_var=no
10583      ;;
10584
10585    sysv4)
10586      case $host_vendor in
10587	sni)
10588	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10589	  hardcode_direct=yes # is this really true???
10590	;;
10591	siemens)
10592	  ## LD is ld it makes a PLAMLIB
10593	  ## CC just makes a GrossModule.
10594	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10595	  reload_cmds='$CC -r -o $output$reload_objs'
10596	  hardcode_direct=no
10597        ;;
10598	motorola)
10599	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10600	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10601	;;
10602      esac
10603      runpath_var='LD_RUN_PATH'
10604      hardcode_shlibpath_var=no
10605      ;;
10606
10607    sysv4.3*)
10608      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10609      hardcode_shlibpath_var=no
10610      export_dynamic_flag_spec='-Bexport'
10611      ;;
10612
10613    sysv4*MP*)
10614      if test -d /usr/nec; then
10615	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10616	hardcode_shlibpath_var=no
10617	runpath_var=LD_RUN_PATH
10618	hardcode_runpath_var=yes
10619	ld_shlibs=yes
10620      fi
10621      ;;
10622
10623    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10624      no_undefined_flag='${wl}-z,text'
10625      archive_cmds_need_lc=no
10626      hardcode_shlibpath_var=no
10627      runpath_var='LD_RUN_PATH'
10628
10629      if test "$GCC" = yes; then
10630	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10631	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10632      else
10633	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10634	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10635      fi
10636      ;;
10637
10638    sysv5* | sco3.2v5* | sco5v6*)
10639      # Note: We can NOT use -z defs as we might desire, because we do not
10640      # link with -lc, and that would cause any symbols used from libc to
10641      # always be unresolved, which means just about no library would
10642      # ever link correctly.  If we're not using GNU ld we use -z text
10643      # though, which does catch some bad symbols but isn't as heavy-handed
10644      # as -z defs.
10645      no_undefined_flag='${wl}-z,text'
10646      allow_undefined_flag='${wl}-z,nodefs'
10647      archive_cmds_need_lc=no
10648      hardcode_shlibpath_var=no
10649      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10650      hardcode_libdir_separator=':'
10651      link_all_deplibs=yes
10652      export_dynamic_flag_spec='${wl}-Bexport'
10653      runpath_var='LD_RUN_PATH'
10654
10655      if test "$GCC" = yes; then
10656	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10657	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10658      else
10659	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10660	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10661      fi
10662      ;;
10663
10664    uts4*)
10665      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10666      hardcode_libdir_flag_spec='-L$libdir'
10667      hardcode_shlibpath_var=no
10668      ;;
10669
10670    *)
10671      ld_shlibs=no
10672      ;;
10673    esac
10674
10675    if test x$host_vendor = xsni; then
10676      case $host in
10677      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10678	export_dynamic_flag_spec='${wl}-Blargedynsym'
10679	;;
10680      esac
10681    fi
10682  fi
10683
10684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10685$as_echo "$ld_shlibs" >&6; }
10686test "$ld_shlibs" = no && can_build_shared=no
10687
10688with_gnu_ld=$with_gnu_ld
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704#
10705# Do we need to explicitly link libc?
10706#
10707case "x$archive_cmds_need_lc" in
10708x|xyes)
10709  # Assume -lc should be added
10710  archive_cmds_need_lc=yes
10711
10712  if test "$enable_shared" = yes && test "$GCC" = yes; then
10713    case $archive_cmds in
10714    *'~'*)
10715      # FIXME: we may have to deal with multi-command sequences.
10716      ;;
10717    '$CC '*)
10718      # Test whether the compiler implicitly links with -lc since on some
10719      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10720      # to ld, don't add -lc before -lgcc.
10721      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10722$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10723if ${lt_cv_archive_cmds_need_lc+:} false; then :
10724  $as_echo_n "(cached) " >&6
10725else
10726  $RM conftest*
10727	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10728
10729	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10730  (eval $ac_compile) 2>&5
10731  ac_status=$?
10732  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10733  test $ac_status = 0; } 2>conftest.err; then
10734	  soname=conftest
10735	  lib=conftest
10736	  libobjs=conftest.$ac_objext
10737	  deplibs=
10738	  wl=$lt_prog_compiler_wl
10739	  pic_flag=$lt_prog_compiler_pic
10740	  compiler_flags=-v
10741	  linker_flags=-v
10742	  verstring=
10743	  output_objdir=.
10744	  libname=conftest
10745	  lt_save_allow_undefined_flag=$allow_undefined_flag
10746	  allow_undefined_flag=
10747	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10748  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10749  ac_status=$?
10750  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10751  test $ac_status = 0; }
10752	  then
10753	    lt_cv_archive_cmds_need_lc=no
10754	  else
10755	    lt_cv_archive_cmds_need_lc=yes
10756	  fi
10757	  allow_undefined_flag=$lt_save_allow_undefined_flag
10758	else
10759	  cat conftest.err 1>&5
10760	fi
10761	$RM conftest*
10762
10763fi
10764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10765$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10766      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10767      ;;
10768    esac
10769  fi
10770  ;;
10771esac
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
10926
10927
10928
10929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10930$as_echo_n "checking dynamic linker characteristics... " >&6; }
10931
10932if test "$GCC" = yes; then
10933  case $host_os in
10934    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10935    *) lt_awk_arg="/^libraries:/" ;;
10936  esac
10937  case $host_os in
10938    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10939    *) lt_sed_strip_eq="s,=/,/,g" ;;
10940  esac
10941  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10942  case $lt_search_path_spec in
10943  *\;*)
10944    # if the path contains ";" then we assume it to be the separator
10945    # otherwise default to the standard path separator (i.e. ":") - it is
10946    # assumed that no part of a normal pathname contains ";" but that should
10947    # okay in the real world where ";" in dirpaths is itself problematic.
10948    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10949    ;;
10950  *)
10951    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10952    ;;
10953  esac
10954  # Ok, now we have the path, separated by spaces, we can step through it
10955  # and add multilib dir if necessary.
10956  lt_tmp_lt_search_path_spec=
10957  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10958  for lt_sys_path in $lt_search_path_spec; do
10959    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10960      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10961    else
10962      test -d "$lt_sys_path" && \
10963	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10964    fi
10965  done
10966  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10967BEGIN {RS=" "; FS="/|\n";} {
10968  lt_foo="";
10969  lt_count=0;
10970  for (lt_i = NF; lt_i > 0; lt_i--) {
10971    if ($lt_i != "" && $lt_i != ".") {
10972      if ($lt_i == "..") {
10973        lt_count++;
10974      } else {
10975        if (lt_count == 0) {
10976          lt_foo="/" $lt_i lt_foo;
10977        } else {
10978          lt_count--;
10979        }
10980      }
10981    }
10982  }
10983  if (lt_foo != "") { lt_freq[lt_foo]++; }
10984  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10985}'`
10986  # AWK program above erroneously prepends '/' to C:/dos/paths
10987  # for these hosts.
10988  case $host_os in
10989    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10990      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10991  esac
10992  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10993else
10994  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10995fi
10996library_names_spec=
10997libname_spec='lib$name'
10998soname_spec=
10999shrext_cmds=".so"
11000postinstall_cmds=
11001postuninstall_cmds=
11002finish_cmds=
11003finish_eval=
11004shlibpath_var=
11005shlibpath_overrides_runpath=unknown
11006version_type=none
11007dynamic_linker="$host_os ld.so"
11008sys_lib_dlsearch_path_spec="/lib /usr/lib"
11009need_lib_prefix=unknown
11010hardcode_into_libs=no
11011
11012# when you set need_version to no, make sure it does not cause -set_version
11013# flags to be left without arguments
11014need_version=unknown
11015
11016case $host_os in
11017aix3*)
11018  version_type=linux
11019  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11020  shlibpath_var=LIBPATH
11021
11022  # AIX 3 has no versioning support, so we append a major version to the name.
11023  soname_spec='${libname}${release}${shared_ext}$major'
11024  ;;
11025
11026aix[4-9]*)
11027  version_type=linux
11028  need_lib_prefix=no
11029  need_version=no
11030  hardcode_into_libs=yes
11031  if test "$host_cpu" = ia64; then
11032    # AIX 5 supports IA64
11033    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11034    shlibpath_var=LD_LIBRARY_PATH
11035  else
11036    # With GCC up to 2.95.x, collect2 would create an import file
11037    # for dependence libraries.  The import file would start with
11038    # the line `#! .'.  This would cause the generated library to
11039    # depend on `.', always an invalid library.  This was fixed in
11040    # development snapshots of GCC prior to 3.0.
11041    case $host_os in
11042      aix4 | aix4.[01] | aix4.[01].*)
11043      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11044	   echo ' yes '
11045	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11046	:
11047      else
11048	can_build_shared=no
11049      fi
11050      ;;
11051    esac
11052    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11053    # soname into executable. Probably we can add versioning support to
11054    # collect2, so additional links can be useful in future.
11055    if test "$aix_use_runtimelinking" = yes; then
11056      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11057      # instead of lib<name>.a to let people know that these are not
11058      # typical AIX shared libraries.
11059      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11060    else
11061      # We preserve .a as extension for shared libraries through AIX4.2
11062      # and later when we are not doing run time linking.
11063      library_names_spec='${libname}${release}.a $libname.a'
11064      soname_spec='${libname}${release}${shared_ext}$major'
11065    fi
11066    shlibpath_var=LIBPATH
11067  fi
11068  ;;
11069
11070amigaos*)
11071  case $host_cpu in
11072  powerpc)
11073    # Since July 2007 AmigaOS4 officially supports .so libraries.
11074    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11075    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076    ;;
11077  m68k)
11078    library_names_spec='$libname.ixlibrary $libname.a'
11079    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11080    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'
11081    ;;
11082  esac
11083  ;;
11084
11085beos*)
11086  library_names_spec='${libname}${shared_ext}'
11087  dynamic_linker="$host_os ld.so"
11088  shlibpath_var=LIBRARY_PATH
11089  ;;
11090
11091bsdi[45]*)
11092  version_type=linux
11093  need_version=no
11094  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11095  soname_spec='${libname}${release}${shared_ext}$major'
11096  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11097  shlibpath_var=LD_LIBRARY_PATH
11098  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11099  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11100  # the default ld.so.conf also contains /usr/contrib/lib and
11101  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11102  # libtool to hard-code these into programs
11103  ;;
11104
11105cygwin* | mingw* | pw32* | cegcc*)
11106  version_type=windows
11107  shrext_cmds=".dll"
11108  need_version=no
11109  need_lib_prefix=no
11110
11111  case $GCC,$host_os in
11112  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11113    library_names_spec='$libname.dll.a'
11114    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11115    postinstall_cmds='base_file=`basename \${file}`~
11116      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11117      dldir=$destdir/`dirname \$dlpath`~
11118      test -d \$dldir || mkdir -p \$dldir~
11119      $install_prog $dir/$dlname \$dldir/$dlname~
11120      chmod a+x \$dldir/$dlname~
11121      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11122        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11123      fi'
11124    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11125      dlpath=$dir/\$dldll~
11126       $RM \$dlpath'
11127    shlibpath_overrides_runpath=yes
11128
11129    case $host_os in
11130    cygwin*)
11131      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11132      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11133
11134      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11135      ;;
11136    mingw* | cegcc*)
11137      # MinGW DLLs use traditional 'lib' prefix
11138      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11139      ;;
11140    pw32*)
11141      # pw32 DLLs use 'pw' prefix rather than 'lib'
11142      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11143      ;;
11144    esac
11145    ;;
11146
11147  *)
11148    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11149    ;;
11150  esac
11151  dynamic_linker='Win32 ld.exe'
11152  # FIXME: first we should search . and the directory the executable is in
11153  shlibpath_var=PATH
11154  ;;
11155
11156darwin* | rhapsody*)
11157  dynamic_linker="$host_os dyld"
11158  version_type=darwin
11159  need_lib_prefix=no
11160  need_version=no
11161  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11162  soname_spec='${libname}${release}${major}$shared_ext'
11163  shlibpath_overrides_runpath=yes
11164  shlibpath_var=DYLD_LIBRARY_PATH
11165  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11166
11167  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11168  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11169  ;;
11170
11171dgux*)
11172  version_type=linux
11173  need_lib_prefix=no
11174  need_version=no
11175  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11176  soname_spec='${libname}${release}${shared_ext}$major'
11177  shlibpath_var=LD_LIBRARY_PATH
11178  ;;
11179
11180freebsd* | dragonfly*)
11181  # DragonFly does not have aout.  When/if they implement a new
11182  # versioning mechanism, adjust this.
11183  if test -x /usr/bin/objformat; then
11184    objformat=`/usr/bin/objformat`
11185  else
11186    case $host_os in
11187    freebsd[23].*) objformat=aout ;;
11188    *) objformat=elf ;;
11189    esac
11190  fi
11191  version_type=freebsd-$objformat
11192  case $version_type in
11193    freebsd-elf*)
11194      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11195      need_version=no
11196      need_lib_prefix=no
11197      ;;
11198    freebsd-*)
11199      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11200      need_version=yes
11201      ;;
11202  esac
11203  shlibpath_var=LD_LIBRARY_PATH
11204  case $host_os in
11205  freebsd2.*)
11206    shlibpath_overrides_runpath=yes
11207    ;;
11208  freebsd3.[01]* | freebsdelf3.[01]*)
11209    shlibpath_overrides_runpath=yes
11210    hardcode_into_libs=yes
11211    ;;
11212  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11213  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11214    shlibpath_overrides_runpath=no
11215    hardcode_into_libs=yes
11216    ;;
11217  *) # from 4.6 on, and DragonFly
11218    shlibpath_overrides_runpath=yes
11219    hardcode_into_libs=yes
11220    ;;
11221  esac
11222  ;;
11223
11224gnu*)
11225  version_type=linux
11226  need_lib_prefix=no
11227  need_version=no
11228  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11229  soname_spec='${libname}${release}${shared_ext}$major'
11230  shlibpath_var=LD_LIBRARY_PATH
11231  hardcode_into_libs=yes
11232  ;;
11233
11234haiku*)
11235  version_type=linux
11236  need_lib_prefix=no
11237  need_version=no
11238  dynamic_linker="$host_os runtime_loader"
11239  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11240  soname_spec='${libname}${release}${shared_ext}$major'
11241  shlibpath_var=LIBRARY_PATH
11242  shlibpath_overrides_runpath=yes
11243  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11244  hardcode_into_libs=yes
11245  ;;
11246
11247hpux9* | hpux10* | hpux11*)
11248  # Give a soname corresponding to the major version so that dld.sl refuses to
11249  # link against other versions.
11250  version_type=sunos
11251  need_lib_prefix=no
11252  need_version=no
11253  case $host_cpu in
11254  ia64*)
11255    shrext_cmds='.so'
11256    hardcode_into_libs=yes
11257    dynamic_linker="$host_os dld.so"
11258    shlibpath_var=LD_LIBRARY_PATH
11259    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11260    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11261    soname_spec='${libname}${release}${shared_ext}$major'
11262    if test "X$HPUX_IA64_MODE" = X32; then
11263      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11264    else
11265      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11266    fi
11267    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11268    ;;
11269  hppa*64*)
11270    shrext_cmds='.sl'
11271    hardcode_into_libs=yes
11272    dynamic_linker="$host_os dld.sl"
11273    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11274    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11275    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11276    soname_spec='${libname}${release}${shared_ext}$major'
11277    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11278    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11279    ;;
11280  *)
11281    shrext_cmds='.sl'
11282    dynamic_linker="$host_os dld.sl"
11283    shlibpath_var=SHLIB_PATH
11284    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11285    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11286    soname_spec='${libname}${release}${shared_ext}$major'
11287    ;;
11288  esac
11289  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11290  postinstall_cmds='chmod 555 $lib'
11291  # or fails outright, so override atomically:
11292  install_override_mode=555
11293  ;;
11294
11295interix[3-9]*)
11296  version_type=linux
11297  need_lib_prefix=no
11298  need_version=no
11299  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11300  soname_spec='${libname}${release}${shared_ext}$major'
11301  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11302  shlibpath_var=LD_LIBRARY_PATH
11303  shlibpath_overrides_runpath=no
11304  hardcode_into_libs=yes
11305  ;;
11306
11307irix5* | irix6* | nonstopux*)
11308  case $host_os in
11309    nonstopux*) version_type=nonstopux ;;
11310    *)
11311	if test "$lt_cv_prog_gnu_ld" = yes; then
11312		version_type=linux
11313	else
11314		version_type=irix
11315	fi ;;
11316  esac
11317  need_lib_prefix=no
11318  need_version=no
11319  soname_spec='${libname}${release}${shared_ext}$major'
11320  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11321  case $host_os in
11322  irix5* | nonstopux*)
11323    libsuff= shlibsuff=
11324    ;;
11325  *)
11326    case $LD in # libtool.m4 will add one of these switches to LD
11327    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11328      libsuff= shlibsuff= libmagic=32-bit;;
11329    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11330      libsuff=32 shlibsuff=N32 libmagic=N32;;
11331    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11332      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11333    *) libsuff= shlibsuff= libmagic=never-match;;
11334    esac
11335    ;;
11336  esac
11337  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11338  shlibpath_overrides_runpath=no
11339  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11340  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11341  hardcode_into_libs=yes
11342  ;;
11343
11344# No shared lib support for Linux oldld, aout, or coff.
11345linux*oldld* | linux*aout* | linux*coff*)
11346  dynamic_linker=no
11347  ;;
11348
11349# This must be Linux ELF.
11350
11351# uclinux* changes (here and below) have been submitted to the libtool
11352# project, but have not yet been accepted: they are GCC-local changes
11353# for the time being.  (See
11354# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11355linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
11356  version_type=linux
11357  need_lib_prefix=no
11358  need_version=no
11359  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11360  soname_spec='${libname}${release}${shared_ext}$major'
11361  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11362  shlibpath_var=LD_LIBRARY_PATH
11363  shlibpath_overrides_runpath=no
11364
11365  # Some binutils ld are patched to set DT_RUNPATH
11366  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11367  $as_echo_n "(cached) " >&6
11368else
11369  lt_cv_shlibpath_overrides_runpath=no
11370    save_LDFLAGS=$LDFLAGS
11371    save_libdir=$libdir
11372    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11373	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11374    if test x$gcc_no_link = xyes; then
11375  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11376fi
11377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378/* end confdefs.h.  */
11379
11380int
11381main ()
11382{
11383
11384  ;
11385  return 0;
11386}
11387_ACEOF
11388if ac_fn_c_try_link "$LINENO"; then :
11389  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11390  lt_cv_shlibpath_overrides_runpath=yes
11391fi
11392fi
11393rm -f core conftest.err conftest.$ac_objext \
11394    conftest$ac_exeext conftest.$ac_ext
11395    LDFLAGS=$save_LDFLAGS
11396    libdir=$save_libdir
11397
11398fi
11399
11400  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11401
11402  # This implies no fast_install, which is unacceptable.
11403  # Some rework will be needed to allow for fast_install
11404  # before this can be enabled.
11405  hardcode_into_libs=yes
11406
11407  # Append ld.so.conf contents to the search path
11408  if test -f /etc/ld.so.conf; then
11409    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' ' '`
11410    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11411  fi
11412
11413  # We used to test for /lib/ld.so.1 and disable shared libraries on
11414  # powerpc, because MkLinux only supported shared libraries with the
11415  # GNU dynamic linker.  Since this was broken with cross compilers,
11416  # most powerpc-linux boxes support dynamic linking these days and
11417  # people can always --disable-shared, the test was removed, and we
11418  # assume the GNU/Linux dynamic linker is in use.
11419  dynamic_linker='GNU/Linux ld.so'
11420  ;;
11421
11422netbsd*)
11423  version_type=sunos
11424  need_lib_prefix=no
11425  need_version=no
11426  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11427    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11428    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11429    dynamic_linker='NetBSD (a.out) ld.so'
11430  else
11431    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11432    soname_spec='${libname}${release}${shared_ext}$major'
11433    dynamic_linker='NetBSD ld.elf_so'
11434  fi
11435  shlibpath_var=LD_LIBRARY_PATH
11436  shlibpath_overrides_runpath=yes
11437  hardcode_into_libs=yes
11438  ;;
11439
11440newsos6)
11441  version_type=linux
11442  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11443  shlibpath_var=LD_LIBRARY_PATH
11444  shlibpath_overrides_runpath=yes
11445  ;;
11446
11447*nto* | *qnx*)
11448  version_type=qnx
11449  need_lib_prefix=no
11450  need_version=no
11451  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11452  soname_spec='${libname}${release}${shared_ext}$major'
11453  shlibpath_var=LD_LIBRARY_PATH
11454  shlibpath_overrides_runpath=no
11455  hardcode_into_libs=yes
11456  dynamic_linker='ldqnx.so'
11457  ;;
11458
11459openbsd*)
11460  version_type=sunos
11461  sys_lib_dlsearch_path_spec="/usr/lib"
11462  need_lib_prefix=no
11463  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11464  case $host_os in
11465    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11466    *)				need_version=no  ;;
11467  esac
11468  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11469  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11470  shlibpath_var=LD_LIBRARY_PATH
11471  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11472    case $host_os in
11473      openbsd2.[89] | openbsd2.[89].*)
11474	shlibpath_overrides_runpath=no
11475	;;
11476      *)
11477	shlibpath_overrides_runpath=yes
11478	;;
11479      esac
11480  else
11481    shlibpath_overrides_runpath=yes
11482  fi
11483  ;;
11484
11485os2*)
11486  libname_spec='$name'
11487  shrext_cmds=".dll"
11488  need_lib_prefix=no
11489  library_names_spec='$libname${shared_ext} $libname.a'
11490  dynamic_linker='OS/2 ld.exe'
11491  shlibpath_var=LIBPATH
11492  ;;
11493
11494osf3* | osf4* | osf5*)
11495  version_type=osf
11496  need_lib_prefix=no
11497  need_version=no
11498  soname_spec='${libname}${release}${shared_ext}$major'
11499  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11500  shlibpath_var=LD_LIBRARY_PATH
11501  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11502  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11503  ;;
11504
11505rdos*)
11506  dynamic_linker=no
11507  ;;
11508
11509solaris*)
11510  version_type=linux
11511  need_lib_prefix=no
11512  need_version=no
11513  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11514  soname_spec='${libname}${release}${shared_ext}$major'
11515  shlibpath_var=LD_LIBRARY_PATH
11516  shlibpath_overrides_runpath=yes
11517  hardcode_into_libs=yes
11518  # ldd complains unless libraries are executable
11519  postinstall_cmds='chmod +x $lib'
11520  ;;
11521
11522sunos4*)
11523  version_type=sunos
11524  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11525  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11526  shlibpath_var=LD_LIBRARY_PATH
11527  shlibpath_overrides_runpath=yes
11528  if test "$with_gnu_ld" = yes; then
11529    need_lib_prefix=no
11530  fi
11531  need_version=yes
11532  ;;
11533
11534sysv4 | sysv4.3*)
11535  version_type=linux
11536  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11537  soname_spec='${libname}${release}${shared_ext}$major'
11538  shlibpath_var=LD_LIBRARY_PATH
11539  case $host_vendor in
11540    sni)
11541      shlibpath_overrides_runpath=no
11542      need_lib_prefix=no
11543      runpath_var=LD_RUN_PATH
11544      ;;
11545    siemens)
11546      need_lib_prefix=no
11547      ;;
11548    motorola)
11549      need_lib_prefix=no
11550      need_version=no
11551      shlibpath_overrides_runpath=no
11552      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11553      ;;
11554  esac
11555  ;;
11556
11557sysv4*MP*)
11558  if test -d /usr/nec ;then
11559    version_type=linux
11560    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11561    soname_spec='$libname${shared_ext}.$major'
11562    shlibpath_var=LD_LIBRARY_PATH
11563  fi
11564  ;;
11565
11566sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11567  version_type=freebsd-elf
11568  need_lib_prefix=no
11569  need_version=no
11570  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11571  soname_spec='${libname}${release}${shared_ext}$major'
11572  shlibpath_var=LD_LIBRARY_PATH
11573  shlibpath_overrides_runpath=yes
11574  hardcode_into_libs=yes
11575  if test "$with_gnu_ld" = yes; then
11576    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11577  else
11578    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11579    case $host_os in
11580      sco3.2v5*)
11581        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11582	;;
11583    esac
11584  fi
11585  sys_lib_dlsearch_path_spec='/usr/lib'
11586  ;;
11587
11588tpf*)
11589  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11590  version_type=linux
11591  need_lib_prefix=no
11592  need_version=no
11593  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11594  shlibpath_var=LD_LIBRARY_PATH
11595  shlibpath_overrides_runpath=no
11596  hardcode_into_libs=yes
11597  ;;
11598
11599uts4*)
11600  version_type=linux
11601  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11602  soname_spec='${libname}${release}${shared_ext}$major'
11603  shlibpath_var=LD_LIBRARY_PATH
11604  ;;
11605
11606*)
11607  dynamic_linker=no
11608  ;;
11609esac
11610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11611$as_echo "$dynamic_linker" >&6; }
11612test "$dynamic_linker" = no && can_build_shared=no
11613
11614variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11615if test "$GCC" = yes; then
11616  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11617fi
11618
11619if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11620  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11621fi
11622if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11623  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11624fi
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
11709
11710
11711
11712
11713
11714
11715
11716
11717  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11718$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11719hardcode_action=
11720if test -n "$hardcode_libdir_flag_spec" ||
11721   test -n "$runpath_var" ||
11722   test "X$hardcode_automatic" = "Xyes" ; then
11723
11724  # We can hardcode non-existent directories.
11725  if test "$hardcode_direct" != no &&
11726     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11727     # have to relink, otherwise we might link with an installed library
11728     # when we should be linking with a yet-to-be-installed one
11729     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11730     test "$hardcode_minus_L" != no; then
11731    # Linking always hardcodes the temporary library directory.
11732    hardcode_action=relink
11733  else
11734    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11735    hardcode_action=immediate
11736  fi
11737else
11738  # We cannot hardcode anything, or else we can only hardcode existing
11739  # directories.
11740  hardcode_action=unsupported
11741fi
11742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11743$as_echo "$hardcode_action" >&6; }
11744
11745if test "$hardcode_action" = relink ||
11746   test "$inherit_rpath" = yes; then
11747  # Fast installation is not supported
11748  enable_fast_install=no
11749elif test "$shlibpath_overrides_runpath" = yes ||
11750     test "$enable_shared" = no; then
11751  # Fast installation is not necessary
11752  enable_fast_install=needless
11753fi
11754
11755
11756
11757
11758
11759
11760  if test "x$enable_dlopen" != xyes; then
11761  enable_dlopen=unknown
11762  enable_dlopen_self=unknown
11763  enable_dlopen_self_static=unknown
11764else
11765  lt_cv_dlopen=no
11766  lt_cv_dlopen_libs=
11767
11768  case $host_os in
11769  beos*)
11770    lt_cv_dlopen="load_add_on"
11771    lt_cv_dlopen_libs=
11772    lt_cv_dlopen_self=yes
11773    ;;
11774
11775  mingw* | pw32* | cegcc*)
11776    lt_cv_dlopen="LoadLibrary"
11777    lt_cv_dlopen_libs=
11778    ;;
11779
11780  cygwin*)
11781    lt_cv_dlopen="dlopen"
11782    lt_cv_dlopen_libs=
11783    ;;
11784
11785  darwin*)
11786  # if libdl is installed we need to link against it
11787    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11788$as_echo_n "checking for dlopen in -ldl... " >&6; }
11789if ${ac_cv_lib_dl_dlopen+:} false; then :
11790  $as_echo_n "(cached) " >&6
11791else
11792  ac_check_lib_save_LIBS=$LIBS
11793LIBS="-ldl  $LIBS"
11794if test x$gcc_no_link = xyes; then
11795  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11796fi
11797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798/* end confdefs.h.  */
11799
11800/* Override any GCC internal prototype to avoid an error.
11801   Use char because int might match the return type of a GCC
11802   builtin and then its argument prototype would still apply.  */
11803#ifdef __cplusplus
11804extern "C"
11805#endif
11806char dlopen ();
11807int
11808main ()
11809{
11810return dlopen ();
11811  ;
11812  return 0;
11813}
11814_ACEOF
11815if ac_fn_c_try_link "$LINENO"; then :
11816  ac_cv_lib_dl_dlopen=yes
11817else
11818  ac_cv_lib_dl_dlopen=no
11819fi
11820rm -f core conftest.err conftest.$ac_objext \
11821    conftest$ac_exeext conftest.$ac_ext
11822LIBS=$ac_check_lib_save_LIBS
11823fi
11824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11825$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11826if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11827  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11828else
11829
11830    lt_cv_dlopen="dyld"
11831    lt_cv_dlopen_libs=
11832    lt_cv_dlopen_self=yes
11833
11834fi
11835
11836    ;;
11837
11838  *)
11839    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11840if test "x$ac_cv_func_shl_load" = xyes; then :
11841  lt_cv_dlopen="shl_load"
11842else
11843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11844$as_echo_n "checking for shl_load in -ldld... " >&6; }
11845if ${ac_cv_lib_dld_shl_load+:} false; then :
11846  $as_echo_n "(cached) " >&6
11847else
11848  ac_check_lib_save_LIBS=$LIBS
11849LIBS="-ldld  $LIBS"
11850if test x$gcc_no_link = xyes; then
11851  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11852fi
11853cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11854/* end confdefs.h.  */
11855
11856/* Override any GCC internal prototype to avoid an error.
11857   Use char because int might match the return type of a GCC
11858   builtin and then its argument prototype would still apply.  */
11859#ifdef __cplusplus
11860extern "C"
11861#endif
11862char shl_load ();
11863int
11864main ()
11865{
11866return shl_load ();
11867  ;
11868  return 0;
11869}
11870_ACEOF
11871if ac_fn_c_try_link "$LINENO"; then :
11872  ac_cv_lib_dld_shl_load=yes
11873else
11874  ac_cv_lib_dld_shl_load=no
11875fi
11876rm -f core conftest.err conftest.$ac_objext \
11877    conftest$ac_exeext conftest.$ac_ext
11878LIBS=$ac_check_lib_save_LIBS
11879fi
11880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11881$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11882if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11883  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11884else
11885  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11886if test "x$ac_cv_func_dlopen" = xyes; then :
11887  lt_cv_dlopen="dlopen"
11888else
11889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11890$as_echo_n "checking for dlopen in -ldl... " >&6; }
11891if ${ac_cv_lib_dl_dlopen+:} false; then :
11892  $as_echo_n "(cached) " >&6
11893else
11894  ac_check_lib_save_LIBS=$LIBS
11895LIBS="-ldl  $LIBS"
11896if test x$gcc_no_link = xyes; then
11897  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11898fi
11899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900/* end confdefs.h.  */
11901
11902/* Override any GCC internal prototype to avoid an error.
11903   Use char because int might match the return type of a GCC
11904   builtin and then its argument prototype would still apply.  */
11905#ifdef __cplusplus
11906extern "C"
11907#endif
11908char dlopen ();
11909int
11910main ()
11911{
11912return dlopen ();
11913  ;
11914  return 0;
11915}
11916_ACEOF
11917if ac_fn_c_try_link "$LINENO"; then :
11918  ac_cv_lib_dl_dlopen=yes
11919else
11920  ac_cv_lib_dl_dlopen=no
11921fi
11922rm -f core conftest.err conftest.$ac_objext \
11923    conftest$ac_exeext conftest.$ac_ext
11924LIBS=$ac_check_lib_save_LIBS
11925fi
11926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11927$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11928if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11929  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11930else
11931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11932$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11933if ${ac_cv_lib_svld_dlopen+:} false; then :
11934  $as_echo_n "(cached) " >&6
11935else
11936  ac_check_lib_save_LIBS=$LIBS
11937LIBS="-lsvld  $LIBS"
11938if test x$gcc_no_link = xyes; then
11939  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11940fi
11941cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942/* end confdefs.h.  */
11943
11944/* Override any GCC internal prototype to avoid an error.
11945   Use char because int might match the return type of a GCC
11946   builtin and then its argument prototype would still apply.  */
11947#ifdef __cplusplus
11948extern "C"
11949#endif
11950char dlopen ();
11951int
11952main ()
11953{
11954return dlopen ();
11955  ;
11956  return 0;
11957}
11958_ACEOF
11959if ac_fn_c_try_link "$LINENO"; then :
11960  ac_cv_lib_svld_dlopen=yes
11961else
11962  ac_cv_lib_svld_dlopen=no
11963fi
11964rm -f core conftest.err conftest.$ac_objext \
11965    conftest$ac_exeext conftest.$ac_ext
11966LIBS=$ac_check_lib_save_LIBS
11967fi
11968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11969$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11970if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11971  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11972else
11973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11974$as_echo_n "checking for dld_link in -ldld... " >&6; }
11975if ${ac_cv_lib_dld_dld_link+:} false; then :
11976  $as_echo_n "(cached) " >&6
11977else
11978  ac_check_lib_save_LIBS=$LIBS
11979LIBS="-ldld  $LIBS"
11980if test x$gcc_no_link = xyes; then
11981  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11982fi
11983cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984/* end confdefs.h.  */
11985
11986/* Override any GCC internal prototype to avoid an error.
11987   Use char because int might match the return type of a GCC
11988   builtin and then its argument prototype would still apply.  */
11989#ifdef __cplusplus
11990extern "C"
11991#endif
11992char dld_link ();
11993int
11994main ()
11995{
11996return dld_link ();
11997  ;
11998  return 0;
11999}
12000_ACEOF
12001if ac_fn_c_try_link "$LINENO"; then :
12002  ac_cv_lib_dld_dld_link=yes
12003else
12004  ac_cv_lib_dld_dld_link=no
12005fi
12006rm -f core conftest.err conftest.$ac_objext \
12007    conftest$ac_exeext conftest.$ac_ext
12008LIBS=$ac_check_lib_save_LIBS
12009fi
12010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12011$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12012if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12013  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12014fi
12015
12016
12017fi
12018
12019
12020fi
12021
12022
12023fi
12024
12025
12026fi
12027
12028
12029fi
12030
12031    ;;
12032  esac
12033
12034  if test "x$lt_cv_dlopen" != xno; then
12035    enable_dlopen=yes
12036  else
12037    enable_dlopen=no
12038  fi
12039
12040  case $lt_cv_dlopen in
12041  dlopen)
12042    save_CPPFLAGS="$CPPFLAGS"
12043    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12044
12045    save_LDFLAGS="$LDFLAGS"
12046    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12047
12048    save_LIBS="$LIBS"
12049    LIBS="$lt_cv_dlopen_libs $LIBS"
12050
12051    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12052$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12053if ${lt_cv_dlopen_self+:} false; then :
12054  $as_echo_n "(cached) " >&6
12055else
12056  	  if test "$cross_compiling" = yes; then :
12057  lt_cv_dlopen_self=cross
12058else
12059  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12060  lt_status=$lt_dlunknown
12061  cat > conftest.$ac_ext <<_LT_EOF
12062#line 12062 "configure"
12063#include "confdefs.h"
12064
12065#if HAVE_DLFCN_H
12066#include <dlfcn.h>
12067#endif
12068
12069#include <stdio.h>
12070
12071#ifdef RTLD_GLOBAL
12072#  define LT_DLGLOBAL		RTLD_GLOBAL
12073#else
12074#  ifdef DL_GLOBAL
12075#    define LT_DLGLOBAL		DL_GLOBAL
12076#  else
12077#    define LT_DLGLOBAL		0
12078#  endif
12079#endif
12080
12081/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12082   find out it does not work in some platform. */
12083#ifndef LT_DLLAZY_OR_NOW
12084#  ifdef RTLD_LAZY
12085#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12086#  else
12087#    ifdef DL_LAZY
12088#      define LT_DLLAZY_OR_NOW		DL_LAZY
12089#    else
12090#      ifdef RTLD_NOW
12091#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12092#      else
12093#        ifdef DL_NOW
12094#          define LT_DLLAZY_OR_NOW	DL_NOW
12095#        else
12096#          define LT_DLLAZY_OR_NOW	0
12097#        endif
12098#      endif
12099#    endif
12100#  endif
12101#endif
12102
12103/* When -fvisbility=hidden is used, assume the code has been annotated
12104   correspondingly for the symbols needed.  */
12105#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12106void fnord () __attribute__((visibility("default")));
12107#endif
12108
12109void fnord () { int i=42; }
12110int main ()
12111{
12112  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12113  int status = $lt_dlunknown;
12114
12115  if (self)
12116    {
12117      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12118      else
12119        {
12120	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12121          else puts (dlerror ());
12122	}
12123      /* dlclose (self); */
12124    }
12125  else
12126    puts (dlerror ());
12127
12128  return status;
12129}
12130_LT_EOF
12131  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12132  (eval $ac_link) 2>&5
12133  ac_status=$?
12134  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12135  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12136    (./conftest; exit; ) >&5 2>/dev/null
12137    lt_status=$?
12138    case x$lt_status in
12139      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12140      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12141      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12142    esac
12143  else :
12144    # compilation failed
12145    lt_cv_dlopen_self=no
12146  fi
12147fi
12148rm -fr conftest*
12149
12150
12151fi
12152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12153$as_echo "$lt_cv_dlopen_self" >&6; }
12154
12155    if test "x$lt_cv_dlopen_self" = xyes; then
12156      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12157      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12158$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12159if ${lt_cv_dlopen_self_static+:} false; then :
12160  $as_echo_n "(cached) " >&6
12161else
12162  	  if test "$cross_compiling" = yes; then :
12163  lt_cv_dlopen_self_static=cross
12164else
12165  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12166  lt_status=$lt_dlunknown
12167  cat > conftest.$ac_ext <<_LT_EOF
12168#line 12168 "configure"
12169#include "confdefs.h"
12170
12171#if HAVE_DLFCN_H
12172#include <dlfcn.h>
12173#endif
12174
12175#include <stdio.h>
12176
12177#ifdef RTLD_GLOBAL
12178#  define LT_DLGLOBAL		RTLD_GLOBAL
12179#else
12180#  ifdef DL_GLOBAL
12181#    define LT_DLGLOBAL		DL_GLOBAL
12182#  else
12183#    define LT_DLGLOBAL		0
12184#  endif
12185#endif
12186
12187/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12188   find out it does not work in some platform. */
12189#ifndef LT_DLLAZY_OR_NOW
12190#  ifdef RTLD_LAZY
12191#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12192#  else
12193#    ifdef DL_LAZY
12194#      define LT_DLLAZY_OR_NOW		DL_LAZY
12195#    else
12196#      ifdef RTLD_NOW
12197#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12198#      else
12199#        ifdef DL_NOW
12200#          define LT_DLLAZY_OR_NOW	DL_NOW
12201#        else
12202#          define LT_DLLAZY_OR_NOW	0
12203#        endif
12204#      endif
12205#    endif
12206#  endif
12207#endif
12208
12209/* When -fvisbility=hidden is used, assume the code has been annotated
12210   correspondingly for the symbols needed.  */
12211#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12212void fnord () __attribute__((visibility("default")));
12213#endif
12214
12215void fnord () { int i=42; }
12216int main ()
12217{
12218  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12219  int status = $lt_dlunknown;
12220
12221  if (self)
12222    {
12223      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12224      else
12225        {
12226	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12227          else puts (dlerror ());
12228	}
12229      /* dlclose (self); */
12230    }
12231  else
12232    puts (dlerror ());
12233
12234  return status;
12235}
12236_LT_EOF
12237  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12238  (eval $ac_link) 2>&5
12239  ac_status=$?
12240  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12241  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12242    (./conftest; exit; ) >&5 2>/dev/null
12243    lt_status=$?
12244    case x$lt_status in
12245      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12246      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12247      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12248    esac
12249  else :
12250    # compilation failed
12251    lt_cv_dlopen_self_static=no
12252  fi
12253fi
12254rm -fr conftest*
12255
12256
12257fi
12258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12259$as_echo "$lt_cv_dlopen_self_static" >&6; }
12260    fi
12261
12262    CPPFLAGS="$save_CPPFLAGS"
12263    LDFLAGS="$save_LDFLAGS"
12264    LIBS="$save_LIBS"
12265    ;;
12266  esac
12267
12268  case $lt_cv_dlopen_self in
12269  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12270  *) enable_dlopen_self=unknown ;;
12271  esac
12272
12273  case $lt_cv_dlopen_self_static in
12274  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12275  *) enable_dlopen_self_static=unknown ;;
12276  esac
12277fi
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295striplib=
12296old_striplib=
12297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12298$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12299if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12300  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12301  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12303$as_echo "yes" >&6; }
12304else
12305# FIXME - insert some real tests, host_os isn't really good enough
12306  case $host_os in
12307  darwin*)
12308    if test -n "$STRIP" ; then
12309      striplib="$STRIP -x"
12310      old_striplib="$STRIP -S"
12311      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12312$as_echo "yes" >&6; }
12313    else
12314      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12315$as_echo "no" >&6; }
12316    fi
12317    ;;
12318  *)
12319    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320$as_echo "no" >&6; }
12321    ;;
12322  esac
12323fi
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336  # Report which library types will actually be built
12337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12338$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12340$as_echo "$can_build_shared" >&6; }
12341
12342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12343$as_echo_n "checking whether to build shared libraries... " >&6; }
12344  test "$can_build_shared" = "no" && enable_shared=no
12345
12346  # On AIX, shared libraries and static libraries use the same namespace, and
12347  # are all built from PIC.
12348  case $host_os in
12349  aix3*)
12350    test "$enable_shared" = yes && enable_static=no
12351    if test -n "$RANLIB"; then
12352      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12353      postinstall_cmds='$RANLIB $lib'
12354    fi
12355    ;;
12356
12357  aix[4-9]*)
12358    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12359      test "$enable_shared" = yes && enable_static=no
12360    fi
12361    ;;
12362  esac
12363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12364$as_echo "$enable_shared" >&6; }
12365
12366  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12367$as_echo_n "checking whether to build static libraries... " >&6; }
12368  # Make sure either enable_shared or enable_static is yes.
12369  test "$enable_shared" = yes || enable_static=yes
12370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12371$as_echo "$enable_static" >&6; }
12372
12373
12374
12375
12376fi
12377ac_ext=c
12378ac_cpp='$CPP $CPPFLAGS'
12379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12381ac_compiler_gnu=$ac_cv_c_compiler_gnu
12382
12383CC="$lt_save_CC"
12384
12385      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12386    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12387    (test "X$CXX" != "Xg++"))) ; then
12388  ac_ext=cpp
12389ac_cpp='$CXXCPP $CPPFLAGS'
12390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12394$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12395if test -z "$CXXCPP"; then
12396  if ${ac_cv_prog_CXXCPP+:} false; then :
12397  $as_echo_n "(cached) " >&6
12398else
12399      # Double quotes because CXXCPP needs to be expanded
12400    for CXXCPP in "$CXX -E" "/lib/cpp"
12401    do
12402      ac_preproc_ok=false
12403for ac_cxx_preproc_warn_flag in '' yes
12404do
12405  # Use a header file that comes with gcc, so configuring glibc
12406  # with a fresh cross-compiler works.
12407  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12408  # <limits.h> exists even on freestanding compilers.
12409  # On the NeXT, cc -E runs the code through the compiler's parser,
12410  # not just through cpp. "Syntax error" is here to catch this case.
12411  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12412/* end confdefs.h.  */
12413#ifdef __STDC__
12414# include <limits.h>
12415#else
12416# include <assert.h>
12417#endif
12418		     Syntax error
12419_ACEOF
12420if ac_fn_cxx_try_cpp "$LINENO"; then :
12421
12422else
12423  # Broken: fails on valid input.
12424continue
12425fi
12426rm -f conftest.err conftest.i conftest.$ac_ext
12427
12428  # OK, works on sane cases.  Now check whether nonexistent headers
12429  # can be detected and how.
12430  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431/* end confdefs.h.  */
12432#include <ac_nonexistent.h>
12433_ACEOF
12434if ac_fn_cxx_try_cpp "$LINENO"; then :
12435  # Broken: success on invalid input.
12436continue
12437else
12438  # Passes both tests.
12439ac_preproc_ok=:
12440break
12441fi
12442rm -f conftest.err conftest.i conftest.$ac_ext
12443
12444done
12445# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12446rm -f conftest.i conftest.err conftest.$ac_ext
12447if $ac_preproc_ok; then :
12448  break
12449fi
12450
12451    done
12452    ac_cv_prog_CXXCPP=$CXXCPP
12453
12454fi
12455  CXXCPP=$ac_cv_prog_CXXCPP
12456else
12457  ac_cv_prog_CXXCPP=$CXXCPP
12458fi
12459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12460$as_echo "$CXXCPP" >&6; }
12461ac_preproc_ok=false
12462for ac_cxx_preproc_warn_flag in '' yes
12463do
12464  # Use a header file that comes with gcc, so configuring glibc
12465  # with a fresh cross-compiler works.
12466  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12467  # <limits.h> exists even on freestanding compilers.
12468  # On the NeXT, cc -E runs the code through the compiler's parser,
12469  # not just through cpp. "Syntax error" is here to catch this case.
12470  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471/* end confdefs.h.  */
12472#ifdef __STDC__
12473# include <limits.h>
12474#else
12475# include <assert.h>
12476#endif
12477		     Syntax error
12478_ACEOF
12479if ac_fn_cxx_try_cpp "$LINENO"; then :
12480
12481else
12482  # Broken: fails on valid input.
12483continue
12484fi
12485rm -f conftest.err conftest.i conftest.$ac_ext
12486
12487  # OK, works on sane cases.  Now check whether nonexistent headers
12488  # can be detected and how.
12489  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490/* end confdefs.h.  */
12491#include <ac_nonexistent.h>
12492_ACEOF
12493if ac_fn_cxx_try_cpp "$LINENO"; then :
12494  # Broken: success on invalid input.
12495continue
12496else
12497  # Passes both tests.
12498ac_preproc_ok=:
12499break
12500fi
12501rm -f conftest.err conftest.i conftest.$ac_ext
12502
12503done
12504# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12505rm -f conftest.i conftest.err conftest.$ac_ext
12506if $ac_preproc_ok; then :
12507
12508else
12509  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12510$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12511as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12512See \`config.log' for more details" "$LINENO" 5; }
12513fi
12514
12515ac_ext=c
12516ac_cpp='$CPP $CPPFLAGS'
12517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12519ac_compiler_gnu=$ac_cv_c_compiler_gnu
12520
12521else
12522  _lt_caught_CXX_error=yes
12523fi
12524
12525ac_ext=cpp
12526ac_cpp='$CXXCPP $CPPFLAGS'
12527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12530
12531archive_cmds_need_lc_CXX=no
12532allow_undefined_flag_CXX=
12533always_export_symbols_CXX=no
12534archive_expsym_cmds_CXX=
12535compiler_needs_object_CXX=no
12536export_dynamic_flag_spec_CXX=
12537hardcode_direct_CXX=no
12538hardcode_direct_absolute_CXX=no
12539hardcode_libdir_flag_spec_CXX=
12540hardcode_libdir_flag_spec_ld_CXX=
12541hardcode_libdir_separator_CXX=
12542hardcode_minus_L_CXX=no
12543hardcode_shlibpath_var_CXX=unsupported
12544hardcode_automatic_CXX=no
12545inherit_rpath_CXX=no
12546module_cmds_CXX=
12547module_expsym_cmds_CXX=
12548link_all_deplibs_CXX=unknown
12549old_archive_cmds_CXX=$old_archive_cmds
12550reload_flag_CXX=$reload_flag
12551reload_cmds_CXX=$reload_cmds
12552no_undefined_flag_CXX=
12553whole_archive_flag_spec_CXX=
12554enable_shared_with_static_runtimes_CXX=no
12555
12556# Source file extension for C++ test sources.
12557ac_ext=cpp
12558
12559# Object file extension for compiled C++ test sources.
12560objext=o
12561objext_CXX=$objext
12562
12563# No sense in running all these tests if we already determined that
12564# the CXX compiler isn't working.  Some variables (like enable_shared)
12565# are currently assumed to apply to all compilers on this platform,
12566# and will be corrupted by setting them based on a non-working compiler.
12567if test "$_lt_caught_CXX_error" != yes; then
12568  # Code to be used in simple compile tests
12569  lt_simple_compile_test_code="int some_variable = 0;"
12570
12571  # Code to be used in simple link tests
12572  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12573
12574  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12575
12576
12577
12578
12579
12580
12581# If no C compiler was specified, use CC.
12582LTCC=${LTCC-"$CC"}
12583
12584# If no C compiler flags were specified, use CFLAGS.
12585LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12586
12587# Allow CC to be a program name with arguments.
12588compiler=$CC
12589
12590
12591  # save warnings/boilerplate of simple test code
12592  ac_outfile=conftest.$ac_objext
12593echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12594eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12595_lt_compiler_boilerplate=`cat conftest.err`
12596$RM conftest*
12597
12598  ac_outfile=conftest.$ac_objext
12599echo "$lt_simple_link_test_code" >conftest.$ac_ext
12600eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12601_lt_linker_boilerplate=`cat conftest.err`
12602$RM -r conftest*
12603
12604
12605  # Allow CC to be a program name with arguments.
12606  lt_save_CC=$CC
12607  lt_save_LD=$LD
12608  lt_save_GCC=$GCC
12609  GCC=$GXX
12610  lt_save_with_gnu_ld=$with_gnu_ld
12611  lt_save_path_LD=$lt_cv_path_LD
12612  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12613    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12614  else
12615    $as_unset lt_cv_prog_gnu_ld
12616  fi
12617  if test -n "${lt_cv_path_LDCXX+set}"; then
12618    lt_cv_path_LD=$lt_cv_path_LDCXX
12619  else
12620    $as_unset lt_cv_path_LD
12621  fi
12622  test -z "${LDCXX+set}" || LD=$LDCXX
12623  CC=${CXX-"c++"}
12624  compiler=$CC
12625  compiler_CXX=$CC
12626  for cc_temp in $compiler""; do
12627  case $cc_temp in
12628    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12629    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12630    \-*) ;;
12631    *) break;;
12632  esac
12633done
12634cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12635
12636
12637  if test -n "$compiler"; then
12638    # We don't want -fno-exception when compiling C++ code, so set the
12639    # no_builtin_flag separately
12640    if test "$GXX" = yes; then
12641      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12642    else
12643      lt_prog_compiler_no_builtin_flag_CXX=
12644    fi
12645
12646    if test "$GXX" = yes; then
12647      # Set up default GNU C++ configuration
12648
12649
12650
12651# Check whether --with-gnu-ld was given.
12652if test "${with_gnu_ld+set}" = set; then :
12653  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12654else
12655  with_gnu_ld=no
12656fi
12657
12658ac_prog=ld
12659if test "$GCC" = yes; then
12660  # Check if gcc -print-prog-name=ld gives a path.
12661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12662$as_echo_n "checking for ld used by $CC... " >&6; }
12663  case $host in
12664  *-*-mingw*)
12665    # gcc leaves a trailing carriage return which upsets mingw
12666    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12667  *)
12668    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12669  esac
12670  case $ac_prog in
12671    # Accept absolute paths.
12672    [\\/]* | ?:[\\/]*)
12673      re_direlt='/[^/][^/]*/\.\./'
12674      # Canonicalize the pathname of ld
12675      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12676      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12677	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12678      done
12679      test -z "$LD" && LD="$ac_prog"
12680      ;;
12681  "")
12682    # If it fails, then pretend we aren't using GCC.
12683    ac_prog=ld
12684    ;;
12685  *)
12686    # If it is relative, then search for the first ld in PATH.
12687    with_gnu_ld=unknown
12688    ;;
12689  esac
12690elif test "$with_gnu_ld" = yes; then
12691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12692$as_echo_n "checking for GNU ld... " >&6; }
12693else
12694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12695$as_echo_n "checking for non-GNU ld... " >&6; }
12696fi
12697if ${lt_cv_path_LD+:} false; then :
12698  $as_echo_n "(cached) " >&6
12699else
12700  if test -z "$LD"; then
12701  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12702  for ac_dir in $PATH; do
12703    IFS="$lt_save_ifs"
12704    test -z "$ac_dir" && ac_dir=.
12705    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12706      lt_cv_path_LD="$ac_dir/$ac_prog"
12707      # Check to see if the program is GNU ld.  I'd rather use --version,
12708      # but apparently some variants of GNU ld only accept -v.
12709      # Break only if it was the GNU/non-GNU ld that we prefer.
12710      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12711      *GNU* | *'with BFD'*)
12712	test "$with_gnu_ld" != no && break
12713	;;
12714      *)
12715	test "$with_gnu_ld" != yes && break
12716	;;
12717      esac
12718    fi
12719  done
12720  IFS="$lt_save_ifs"
12721else
12722  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12723fi
12724fi
12725
12726LD="$lt_cv_path_LD"
12727if test -n "$LD"; then
12728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12729$as_echo "$LD" >&6; }
12730else
12731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12732$as_echo "no" >&6; }
12733fi
12734test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12736$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12737if ${lt_cv_prog_gnu_ld+:} false; then :
12738  $as_echo_n "(cached) " >&6
12739else
12740  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12741case `$LD -v 2>&1 </dev/null` in
12742*GNU* | *'with BFD'*)
12743  lt_cv_prog_gnu_ld=yes
12744  ;;
12745*)
12746  lt_cv_prog_gnu_ld=no
12747  ;;
12748esac
12749fi
12750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12751$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12752with_gnu_ld=$lt_cv_prog_gnu_ld
12753
12754
12755
12756
12757
12758
12759
12760      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12761      # archiving commands below assume that GNU ld is being used.
12762      if test "$with_gnu_ld" = yes; then
12763        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12764        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'
12765
12766        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12767        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12768
12769        # If archive_cmds runs LD, not CC, wlarc should be empty
12770        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12771        #     investigate it a little bit more. (MM)
12772        wlarc='${wl}'
12773
12774        # ancient GNU ld didn't support --whole-archive et. al.
12775        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12776	  $GREP 'no-whole-archive' > /dev/null; then
12777          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12778        else
12779          whole_archive_flag_spec_CXX=
12780        fi
12781      else
12782        with_gnu_ld=no
12783        wlarc=
12784
12785        # A generic and very simple default shared library creation
12786        # command for GNU C++ for the case where it uses the native
12787        # linker, instead of GNU ld.  If possible, this setting should
12788        # overridden to take advantage of the native linker features on
12789        # the platform it is being used on.
12790        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12791      fi
12792
12793      # Commands to make compiler produce verbose output that lists
12794      # what "hidden" libraries, object files and flags are used when
12795      # linking a shared library.
12796      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12797
12798    else
12799      GXX=no
12800      with_gnu_ld=no
12801      wlarc=
12802    fi
12803
12804    # PORTME: fill in a description of your system's C++ link characteristics
12805    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12806$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12807    ld_shlibs_CXX=yes
12808    case $host_os in
12809      aix3*)
12810        # FIXME: insert proper C++ library support
12811        ld_shlibs_CXX=no
12812        ;;
12813      aix[4-9]*)
12814        if test "$host_cpu" = ia64; then
12815          # On IA64, the linker does run time linking by default, so we don't
12816          # have to do anything special.
12817          aix_use_runtimelinking=no
12818          exp_sym_flag='-Bexport'
12819          no_entry_flag=""
12820        else
12821          aix_use_runtimelinking=no
12822
12823          # Test if we are trying to use run time linking or normal
12824          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12825          # need to do runtime linking.
12826          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12827	    for ld_flag in $LDFLAGS; do
12828	      case $ld_flag in
12829	      *-brtl*)
12830	        aix_use_runtimelinking=yes
12831	        break
12832	        ;;
12833	      esac
12834	    done
12835	    ;;
12836          esac
12837
12838          exp_sym_flag='-bexport'
12839          no_entry_flag='-bnoentry'
12840        fi
12841
12842        # When large executables or shared objects are built, AIX ld can
12843        # have problems creating the table of contents.  If linking a library
12844        # or program results in "error TOC overflow" add -mminimal-toc to
12845        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12846        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12847
12848        archive_cmds_CXX=''
12849        hardcode_direct_CXX=yes
12850        hardcode_direct_absolute_CXX=yes
12851        hardcode_libdir_separator_CXX=':'
12852        link_all_deplibs_CXX=yes
12853        file_list_spec_CXX='${wl}-f,'
12854
12855        if test "$GXX" = yes; then
12856          case $host_os in aix4.[012]|aix4.[012].*)
12857          # We only want to do this on AIX 4.2 and lower, the check
12858          # below for broken collect2 doesn't work under 4.3+
12859	  collect2name=`${CC} -print-prog-name=collect2`
12860	  if test -f "$collect2name" &&
12861	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12862	  then
12863	    # We have reworked collect2
12864	    :
12865	  else
12866	    # We have old collect2
12867	    hardcode_direct_CXX=unsupported
12868	    # It fails to find uninstalled libraries when the uninstalled
12869	    # path is not listed in the libpath.  Setting hardcode_minus_L
12870	    # to unsupported forces relinking
12871	    hardcode_minus_L_CXX=yes
12872	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12873	    hardcode_libdir_separator_CXX=
12874	  fi
12875          esac
12876          shared_flag='-shared'
12877	  if test "$aix_use_runtimelinking" = yes; then
12878	    shared_flag="$shared_flag "'${wl}-G'
12879	  fi
12880        else
12881          # not using gcc
12882          if test "$host_cpu" = ia64; then
12883	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12884	  # chokes on -Wl,-G. The following line is correct:
12885	  shared_flag='-G'
12886          else
12887	    if test "$aix_use_runtimelinking" = yes; then
12888	      shared_flag='${wl}-G'
12889	    else
12890	      shared_flag='${wl}-bM:SRE'
12891	    fi
12892          fi
12893        fi
12894
12895        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12896        # It seems that -bexpall does not export symbols beginning with
12897        # underscore (_), so it is better to generate a list of symbols to
12898	# export.
12899        always_export_symbols_CXX=yes
12900        if test "$aix_use_runtimelinking" = yes; then
12901          # Warning - without using the other runtime loading flags (-brtl),
12902          # -berok will link without error, but may produce a broken library.
12903          allow_undefined_flag_CXX='-berok'
12904          # Determine the default libpath from the value encoded in an empty
12905          # executable.
12906          if test x$gcc_no_link = xyes; then
12907  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12908fi
12909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910/* end confdefs.h.  */
12911
12912int
12913main ()
12914{
12915
12916  ;
12917  return 0;
12918}
12919_ACEOF
12920if ac_fn_cxx_try_link "$LINENO"; then :
12921
12922lt_aix_libpath_sed='
12923    /Import File Strings/,/^$/ {
12924	/^0/ {
12925	    s/^0  *\(.*\)$/\1/
12926	    p
12927	}
12928    }'
12929aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12930# Check for a 64-bit object if we didn't find anything.
12931if test -z "$aix_libpath"; then
12932  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12933fi
12934fi
12935rm -f core conftest.err conftest.$ac_objext \
12936    conftest$ac_exeext conftest.$ac_ext
12937if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12938
12939          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12940
12941          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"
12942        else
12943          if test "$host_cpu" = ia64; then
12944	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12945	    allow_undefined_flag_CXX="-z nodefs"
12946	    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"
12947          else
12948	    # Determine the default libpath from the value encoded in an
12949	    # empty executable.
12950	    if test x$gcc_no_link = xyes; then
12951  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12952fi
12953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954/* end confdefs.h.  */
12955
12956int
12957main ()
12958{
12959
12960  ;
12961  return 0;
12962}
12963_ACEOF
12964if ac_fn_cxx_try_link "$LINENO"; then :
12965
12966lt_aix_libpath_sed='
12967    /Import File Strings/,/^$/ {
12968	/^0/ {
12969	    s/^0  *\(.*\)$/\1/
12970	    p
12971	}
12972    }'
12973aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12974# Check for a 64-bit object if we didn't find anything.
12975if test -z "$aix_libpath"; then
12976  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12977fi
12978fi
12979rm -f core conftest.err conftest.$ac_objext \
12980    conftest$ac_exeext conftest.$ac_ext
12981if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12982
12983	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12984	    # Warning - without using the other run time loading flags,
12985	    # -berok will link without error, but may produce a broken library.
12986	    no_undefined_flag_CXX=' ${wl}-bernotok'
12987	    allow_undefined_flag_CXX=' ${wl}-berok'
12988	    if test "$with_gnu_ld" = yes; then
12989	      # We only use this code for GNU lds that support --whole-archive.
12990	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12991	    else
12992	      # Exported symbols can be pulled into shared objects from archives
12993	      whole_archive_flag_spec_CXX='$convenience'
12994	    fi
12995	    archive_cmds_need_lc_CXX=yes
12996	    # This is similar to how AIX traditionally builds its shared
12997	    # libraries.
12998	    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'
12999          fi
13000        fi
13001        ;;
13002
13003      beos*)
13004	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13005	  allow_undefined_flag_CXX=unsupported
13006	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13007	  # support --undefined.  This deserves some investigation.  FIXME
13008	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13009	else
13010	  ld_shlibs_CXX=no
13011	fi
13012	;;
13013
13014      chorus*)
13015        case $cc_basename in
13016          *)
13017	  # FIXME: insert proper C++ library support
13018	  ld_shlibs_CXX=no
13019	  ;;
13020        esac
13021        ;;
13022
13023      cygwin* | mingw* | pw32* | cegcc*)
13024        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13025        # as there is no search path for DLLs.
13026        hardcode_libdir_flag_spec_CXX='-L$libdir'
13027        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13028        allow_undefined_flag_CXX=unsupported
13029        always_export_symbols_CXX=no
13030        enable_shared_with_static_runtimes_CXX=yes
13031
13032        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13033          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'
13034          # If the export-symbols file already is a .def file (1st line
13035          # is EXPORTS), use it as is; otherwise, prepend...
13036          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13037	    cp $export_symbols $output_objdir/$soname.def;
13038          else
13039	    echo EXPORTS > $output_objdir/$soname.def;
13040	    cat $export_symbols >> $output_objdir/$soname.def;
13041          fi~
13042          $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'
13043        else
13044          ld_shlibs_CXX=no
13045        fi
13046        ;;
13047      darwin* | rhapsody*)
13048
13049
13050  archive_cmds_need_lc_CXX=no
13051  hardcode_direct_CXX=no
13052  hardcode_automatic_CXX=yes
13053  hardcode_shlibpath_var_CXX=unsupported
13054  if test "$lt_cv_ld_force_load" = "yes"; then
13055    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\"`'
13056  else
13057    whole_archive_flag_spec_CXX=''
13058  fi
13059  link_all_deplibs_CXX=yes
13060  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13061  case $cc_basename in
13062     ifort*) _lt_dar_can_shared=yes ;;
13063     *) _lt_dar_can_shared=$GCC ;;
13064  esac
13065  if test "$_lt_dar_can_shared" = "yes"; then
13066    output_verbose_link_cmd=func_echo_all
13067    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}"
13068    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13069    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}"
13070    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}"
13071       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13072      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}"
13073      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}"
13074    fi
13075
13076  else
13077  ld_shlibs_CXX=no
13078  fi
13079
13080	;;
13081
13082      dgux*)
13083        case $cc_basename in
13084          ec++*)
13085	    # FIXME: insert proper C++ library support
13086	    ld_shlibs_CXX=no
13087	    ;;
13088          ghcx*)
13089	    # Green Hills C++ Compiler
13090	    # FIXME: insert proper C++ library support
13091	    ld_shlibs_CXX=no
13092	    ;;
13093          *)
13094	    # FIXME: insert proper C++ library support
13095	    ld_shlibs_CXX=no
13096	    ;;
13097        esac
13098        ;;
13099
13100      freebsd2.*)
13101        # C++ shared libraries reported to be fairly broken before
13102	# switch to ELF
13103        ld_shlibs_CXX=no
13104        ;;
13105
13106      freebsd-elf*)
13107        archive_cmds_need_lc_CXX=no
13108        ;;
13109
13110      freebsd* | dragonfly*)
13111        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13112        # conventions
13113        ld_shlibs_CXX=yes
13114        ;;
13115
13116      gnu*)
13117        ;;
13118
13119      haiku*)
13120        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13121        link_all_deplibs_CXX=yes
13122        ;;
13123
13124      hpux9*)
13125        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13126        hardcode_libdir_separator_CXX=:
13127        export_dynamic_flag_spec_CXX='${wl}-E'
13128        hardcode_direct_CXX=yes
13129        hardcode_minus_L_CXX=yes # Not in the search PATH,
13130				             # but as the default
13131				             # location of the library.
13132
13133        case $cc_basename in
13134          CC*)
13135            # FIXME: insert proper C++ library support
13136            ld_shlibs_CXX=no
13137            ;;
13138          aCC*)
13139            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'
13140            # Commands to make compiler produce verbose output that lists
13141            # what "hidden" libraries, object files and flags are used when
13142            # linking a shared library.
13143            #
13144            # There doesn't appear to be a way to prevent this compiler from
13145            # explicitly linking system object files so we need to strip them
13146            # from the output so that they don't get included in the library
13147            # dependencies.
13148            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"'
13149            ;;
13150          *)
13151            if test "$GXX" = yes; then
13152              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'
13153            else
13154              # FIXME: insert proper C++ library support
13155              ld_shlibs_CXX=no
13156            fi
13157            ;;
13158        esac
13159        ;;
13160
13161      hpux10*|hpux11*)
13162        if test $with_gnu_ld = no; then
13163	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13164	  hardcode_libdir_separator_CXX=:
13165
13166          case $host_cpu in
13167            hppa*64*|ia64*)
13168              ;;
13169            *)
13170	      export_dynamic_flag_spec_CXX='${wl}-E'
13171              ;;
13172          esac
13173        fi
13174        case $host_cpu in
13175          hppa*64*|ia64*)
13176            hardcode_direct_CXX=no
13177            hardcode_shlibpath_var_CXX=no
13178            ;;
13179          *)
13180            hardcode_direct_CXX=yes
13181            hardcode_direct_absolute_CXX=yes
13182            hardcode_minus_L_CXX=yes # Not in the search PATH,
13183					         # but as the default
13184					         # location of the library.
13185            ;;
13186        esac
13187
13188        case $cc_basename in
13189          CC*)
13190	    # FIXME: insert proper C++ library support
13191	    ld_shlibs_CXX=no
13192	    ;;
13193          aCC*)
13194	    case $host_cpu in
13195	      hppa*64*)
13196	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13197	        ;;
13198	      ia64*)
13199	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13200	        ;;
13201	      *)
13202	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13203	        ;;
13204	    esac
13205	    # Commands to make compiler produce verbose output that lists
13206	    # what "hidden" libraries, object files and flags are used when
13207	    # linking a shared library.
13208	    #
13209	    # There doesn't appear to be a way to prevent this compiler from
13210	    # explicitly linking system object files so we need to strip them
13211	    # from the output so that they don't get included in the library
13212	    # dependencies.
13213	    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"'
13214	    ;;
13215          *)
13216	    if test "$GXX" = yes; then
13217	      if test $with_gnu_ld = no; then
13218	        case $host_cpu in
13219	          hppa*64*)
13220	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13221	            ;;
13222	          ia64*)
13223	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13224	            ;;
13225	          *)
13226	            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'
13227	            ;;
13228	        esac
13229	      fi
13230	    else
13231	      # FIXME: insert proper C++ library support
13232	      ld_shlibs_CXX=no
13233	    fi
13234	    ;;
13235        esac
13236        ;;
13237
13238      interix[3-9]*)
13239	hardcode_direct_CXX=no
13240	hardcode_shlibpath_var_CXX=no
13241	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13242	export_dynamic_flag_spec_CXX='${wl}-E'
13243	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13244	# Instead, shared libraries are loaded at an image base (0x10000000 by
13245	# default) and relocated if they conflict, which is a slow very memory
13246	# consuming and fragmenting process.  To avoid this, we pick a random,
13247	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13248	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13249	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'
13250	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'
13251	;;
13252      irix5* | irix6*)
13253        case $cc_basename in
13254          CC*)
13255	    # SGI C++
13256	    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'
13257
13258	    # Archives containing C++ object files must be created using
13259	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13260	    # necessary to make sure instantiated templates are included
13261	    # in the archive.
13262	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13263	    ;;
13264          *)
13265	    if test "$GXX" = yes; then
13266	      if test "$with_gnu_ld" = no; then
13267	        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'
13268	      else
13269	        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'
13270	      fi
13271	    fi
13272	    link_all_deplibs_CXX=yes
13273	    ;;
13274        esac
13275        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13276        hardcode_libdir_separator_CXX=:
13277        inherit_rpath_CXX=yes
13278        ;;
13279
13280      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13281        case $cc_basename in
13282          KCC*)
13283	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13284
13285	    # KCC will only create a shared library if the output file
13286	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13287	    # to its proper name (with version) after linking.
13288	    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'
13289	    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'
13290	    # Commands to make compiler produce verbose output that lists
13291	    # what "hidden" libraries, object files and flags are used when
13292	    # linking a shared library.
13293	    #
13294	    # There doesn't appear to be a way to prevent this compiler from
13295	    # explicitly linking system object files so we need to strip them
13296	    # from the output so that they don't get included in the library
13297	    # dependencies.
13298	    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"'
13299
13300	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13301	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13302
13303	    # Archives containing C++ object files must be created using
13304	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13305	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13306	    ;;
13307	  icpc* | ecpc* )
13308	    # Intel C++
13309	    with_gnu_ld=yes
13310	    # version 8.0 and above of icpc choke on multiply defined symbols
13311	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13312	    # earlier do not add the objects themselves.
13313	    case `$CC -V 2>&1` in
13314	      *"Version 7."*)
13315	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13316		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'
13317		;;
13318	      *)  # Version 8.0 or newer
13319	        tmp_idyn=
13320	        case $host_cpu in
13321		  ia64*) tmp_idyn=' -i_dynamic';;
13322		esac
13323	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13324		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'
13325		;;
13326	    esac
13327	    archive_cmds_need_lc_CXX=no
13328	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13329	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13330	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13331	    ;;
13332          pgCC* | pgcpp*)
13333            # Portland Group C++ compiler
13334	    case `$CC -V` in
13335	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13336	      prelink_cmds_CXX='tpldir=Template.dir~
13337		rm -rf $tpldir~
13338		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13339		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13340	      old_archive_cmds_CXX='tpldir=Template.dir~
13341		rm -rf $tpldir~
13342		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13343		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13344		$RANLIB $oldlib'
13345	      archive_cmds_CXX='tpldir=Template.dir~
13346		rm -rf $tpldir~
13347		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13348		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13349	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13350		rm -rf $tpldir~
13351		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13352		$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'
13353	      ;;
13354	    *) # Version 6 and above use weak symbols
13355	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13356	      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'
13357	      ;;
13358	    esac
13359
13360	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13361	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13362	    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'
13363            ;;
13364	  cxx*)
13365	    # Compaq C++
13366	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13367	    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'
13368
13369	    runpath_var=LD_RUN_PATH
13370	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13371	    hardcode_libdir_separator_CXX=:
13372
13373	    # Commands to make compiler produce verbose output that lists
13374	    # what "hidden" libraries, object files and flags are used when
13375	    # linking a shared library.
13376	    #
13377	    # There doesn't appear to be a way to prevent this compiler from
13378	    # explicitly linking system object files so we need to strip them
13379	    # from the output so that they don't get included in the library
13380	    # dependencies.
13381	    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'
13382	    ;;
13383	  xl* | mpixl* | bgxl*)
13384	    # IBM XL 8.0 on PPC, with GNU ld
13385	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13386	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13387	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13388	    if test "x$supports_anon_versioning" = xyes; then
13389	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13390		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13391		echo "local: *; };" >> $output_objdir/$libname.ver~
13392		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13393	    fi
13394	    ;;
13395	  *)
13396	    case `$CC -V 2>&1 | sed 5q` in
13397	    *Sun\ C*)
13398	      # Sun C++ 5.9
13399	      no_undefined_flag_CXX=' -zdefs'
13400	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13401	      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'
13402	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13403	      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'
13404	      compiler_needs_object_CXX=yes
13405
13406	      # Not sure whether something based on
13407	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13408	      # would be better.
13409	      output_verbose_link_cmd='func_echo_all'
13410
13411	      # Archives containing C++ object files must be created using
13412	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13413	      # necessary to make sure instantiated templates are included
13414	      # in the archive.
13415	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13416	      ;;
13417	    esac
13418	    ;;
13419	esac
13420	;;
13421
13422      lynxos*)
13423        # FIXME: insert proper C++ library support
13424	ld_shlibs_CXX=no
13425	;;
13426
13427      m88k*)
13428        # FIXME: insert proper C++ library support
13429        ld_shlibs_CXX=no
13430	;;
13431
13432      mvs*)
13433        case $cc_basename in
13434          cxx*)
13435	    # FIXME: insert proper C++ library support
13436	    ld_shlibs_CXX=no
13437	    ;;
13438	  *)
13439	    # FIXME: insert proper C++ library support
13440	    ld_shlibs_CXX=no
13441	    ;;
13442	esac
13443	;;
13444
13445      netbsd*)
13446        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13447	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13448	  wlarc=
13449	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13450	  hardcode_direct_CXX=yes
13451	  hardcode_shlibpath_var_CXX=no
13452	fi
13453	# Workaround some broken pre-1.5 toolchains
13454	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13455	;;
13456
13457      *nto* | *qnx*)
13458        ld_shlibs_CXX=yes
13459	;;
13460
13461      openbsd2*)
13462        # C++ shared libraries are fairly broken
13463	ld_shlibs_CXX=no
13464	;;
13465
13466      openbsd*)
13467	if test -f /usr/libexec/ld.so; then
13468	  hardcode_direct_CXX=yes
13469	  hardcode_shlibpath_var_CXX=no
13470	  hardcode_direct_absolute_CXX=yes
13471	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13472	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13473	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13474	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13475	    export_dynamic_flag_spec_CXX='${wl}-E'
13476	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13477	  fi
13478	  output_verbose_link_cmd=func_echo_all
13479	else
13480	  ld_shlibs_CXX=no
13481	fi
13482	;;
13483
13484      osf3* | osf4* | osf5*)
13485        case $cc_basename in
13486          KCC*)
13487	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13488
13489	    # KCC will only create a shared library if the output file
13490	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13491	    # to its proper name (with version) after linking.
13492	    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'
13493
13494	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13495	    hardcode_libdir_separator_CXX=:
13496
13497	    # Archives containing C++ object files must be created using
13498	    # the KAI C++ compiler.
13499	    case $host in
13500	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13501	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13502	    esac
13503	    ;;
13504          RCC*)
13505	    # Rational C++ 2.4.1
13506	    # FIXME: insert proper C++ library support
13507	    ld_shlibs_CXX=no
13508	    ;;
13509          cxx*)
13510	    case $host in
13511	      osf3*)
13512	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13513	        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'
13514	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13515		;;
13516	      *)
13517	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13518	        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'
13519	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13520	          echo "-hidden">> $lib.exp~
13521	          $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~
13522	          $RM $lib.exp'
13523	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13524		;;
13525	    esac
13526
13527	    hardcode_libdir_separator_CXX=:
13528
13529	    # Commands to make compiler produce verbose output that lists
13530	    # what "hidden" libraries, object files and flags are used when
13531	    # linking a shared library.
13532	    #
13533	    # There doesn't appear to be a way to prevent this compiler from
13534	    # explicitly linking system object files so we need to strip them
13535	    # from the output so that they don't get included in the library
13536	    # dependencies.
13537	    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"'
13538	    ;;
13539	  *)
13540	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13541	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13542	      case $host in
13543	        osf3*)
13544	          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'
13545		  ;;
13546	        *)
13547	          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'
13548		  ;;
13549	      esac
13550
13551	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13552	      hardcode_libdir_separator_CXX=:
13553
13554	      # Commands to make compiler produce verbose output that lists
13555	      # what "hidden" libraries, object files and flags are used when
13556	      # linking a shared library.
13557	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13558
13559	    else
13560	      # FIXME: insert proper C++ library support
13561	      ld_shlibs_CXX=no
13562	    fi
13563	    ;;
13564        esac
13565        ;;
13566
13567      psos*)
13568        # FIXME: insert proper C++ library support
13569        ld_shlibs_CXX=no
13570        ;;
13571
13572      sunos4*)
13573        case $cc_basename in
13574          CC*)
13575	    # Sun C++ 4.x
13576	    # FIXME: insert proper C++ library support
13577	    ld_shlibs_CXX=no
13578	    ;;
13579          lcc*)
13580	    # Lucid
13581	    # FIXME: insert proper C++ library support
13582	    ld_shlibs_CXX=no
13583	    ;;
13584          *)
13585	    # FIXME: insert proper C++ library support
13586	    ld_shlibs_CXX=no
13587	    ;;
13588        esac
13589        ;;
13590
13591      solaris*)
13592        case $cc_basename in
13593          CC*)
13594	    # Sun C++ 4.2, 5.x and Centerline C++
13595            archive_cmds_need_lc_CXX=yes
13596	    no_undefined_flag_CXX=' -zdefs'
13597	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13598	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13599	      $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'
13600
13601	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13602	    hardcode_shlibpath_var_CXX=no
13603	    case $host_os in
13604	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13605	      *)
13606		# The compiler driver will combine and reorder linker options,
13607		# but understands `-z linker_flag'.
13608	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13609		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13610	        ;;
13611	    esac
13612	    link_all_deplibs_CXX=yes
13613
13614	    output_verbose_link_cmd='func_echo_all'
13615
13616	    # Archives containing C++ object files must be created using
13617	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13618	    # necessary to make sure instantiated templates are included
13619	    # in the archive.
13620	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13621	    ;;
13622          gcx*)
13623	    # Green Hills C++ Compiler
13624	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13625
13626	    # The C++ compiler must be used to create the archive.
13627	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13628	    ;;
13629          *)
13630	    # GNU C++ compiler with Solaris linker
13631	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13632	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13633	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13634	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13635	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13636		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13637
13638	        # Commands to make compiler produce verbose output that lists
13639	        # what "hidden" libraries, object files and flags are used when
13640	        # linking a shared library.
13641	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13642	      else
13643	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13644	        # platform.
13645	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13646	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13647		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13648
13649	        # Commands to make compiler produce verbose output that lists
13650	        # what "hidden" libraries, object files and flags are used when
13651	        # linking a shared library.
13652	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13653	      fi
13654
13655	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13656	      case $host_os in
13657		solaris2.[0-5] | solaris2.[0-5].*) ;;
13658		*)
13659		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13660		  ;;
13661	      esac
13662	    fi
13663	    ;;
13664        esac
13665        ;;
13666
13667    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13668      no_undefined_flag_CXX='${wl}-z,text'
13669      archive_cmds_need_lc_CXX=no
13670      hardcode_shlibpath_var_CXX=no
13671      runpath_var='LD_RUN_PATH'
13672
13673      case $cc_basename in
13674        CC*)
13675	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13676	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13677	  ;;
13678	*)
13679	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13680	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13681	  ;;
13682      esac
13683      ;;
13684
13685      sysv5* | sco3.2v5* | sco5v6*)
13686	# Note: We can NOT use -z defs as we might desire, because we do not
13687	# link with -lc, and that would cause any symbols used from libc to
13688	# always be unresolved, which means just about no library would
13689	# ever link correctly.  If we're not using GNU ld we use -z text
13690	# though, which does catch some bad symbols but isn't as heavy-handed
13691	# as -z defs.
13692	no_undefined_flag_CXX='${wl}-z,text'
13693	allow_undefined_flag_CXX='${wl}-z,nodefs'
13694	archive_cmds_need_lc_CXX=no
13695	hardcode_shlibpath_var_CXX=no
13696	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13697	hardcode_libdir_separator_CXX=':'
13698	link_all_deplibs_CXX=yes
13699	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13700	runpath_var='LD_RUN_PATH'
13701
13702	case $cc_basename in
13703          CC*)
13704	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13705	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13706	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13707	      '"$old_archive_cmds_CXX"
13708	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13709	      '"$reload_cmds_CXX"
13710	    ;;
13711	  *)
13712	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13713	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13714	    ;;
13715	esac
13716      ;;
13717
13718      tandem*)
13719        case $cc_basename in
13720          NCC*)
13721	    # NonStop-UX NCC 3.20
13722	    # FIXME: insert proper C++ library support
13723	    ld_shlibs_CXX=no
13724	    ;;
13725          *)
13726	    # FIXME: insert proper C++ library support
13727	    ld_shlibs_CXX=no
13728	    ;;
13729        esac
13730        ;;
13731
13732      vxworks*)
13733        # FIXME: insert proper C++ library support
13734        ld_shlibs_CXX=no
13735        ;;
13736
13737      *)
13738        # FIXME: insert proper C++ library support
13739        ld_shlibs_CXX=no
13740        ;;
13741    esac
13742
13743    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13744$as_echo "$ld_shlibs_CXX" >&6; }
13745    test "$ld_shlibs_CXX" = no && can_build_shared=no
13746
13747    GCC_CXX="$GXX"
13748    LD_CXX="$LD"
13749
13750    ## CAVEAT EMPTOR:
13751    ## There is no encapsulation within the following macros, do not change
13752    ## the running order or otherwise move them around unless you know exactly
13753    ## what you are doing...
13754    # Dependencies to place before and after the object being linked:
13755predep_objects_CXX=
13756postdep_objects_CXX=
13757predeps_CXX=
13758postdeps_CXX=
13759compiler_lib_search_path_CXX=
13760
13761cat > conftest.$ac_ext <<_LT_EOF
13762class Foo
13763{
13764public:
13765  Foo (void) { a = 0; }
13766private:
13767  int a;
13768};
13769_LT_EOF
13770
13771if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13772  (eval $ac_compile) 2>&5
13773  ac_status=$?
13774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13775  test $ac_status = 0; }; then
13776  # Parse the compiler output and extract the necessary
13777  # objects, libraries and library flags.
13778
13779  # Sentinel used to keep track of whether or not we are before
13780  # the conftest object file.
13781  pre_test_object_deps_done=no
13782
13783  for p in `eval "$output_verbose_link_cmd"`; do
13784    case $p in
13785
13786    -L* | -R* | -l*)
13787       # Some compilers place space between "-{L,R}" and the path.
13788       # Remove the space.
13789       if test $p = "-L" ||
13790          test $p = "-R"; then
13791	 prev=$p
13792	 continue
13793       else
13794	 prev=
13795       fi
13796
13797       if test "$pre_test_object_deps_done" = no; then
13798	 case $p in
13799	 -L* | -R*)
13800	   # Internal compiler library paths should come after those
13801	   # provided the user.  The postdeps already come after the
13802	   # user supplied libs so there is no need to process them.
13803	   if test -z "$compiler_lib_search_path_CXX"; then
13804	     compiler_lib_search_path_CXX="${prev}${p}"
13805	   else
13806	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13807	   fi
13808	   ;;
13809	 # The "-l" case would never come before the object being
13810	 # linked, so don't bother handling this case.
13811	 esac
13812       else
13813	 if test -z "$postdeps_CXX"; then
13814	   postdeps_CXX="${prev}${p}"
13815	 else
13816	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13817	 fi
13818       fi
13819       ;;
13820
13821    *.$objext)
13822       # This assumes that the test object file only shows up
13823       # once in the compiler output.
13824       if test "$p" = "conftest.$objext"; then
13825	 pre_test_object_deps_done=yes
13826	 continue
13827       fi
13828
13829       if test "$pre_test_object_deps_done" = no; then
13830	 if test -z "$predep_objects_CXX"; then
13831	   predep_objects_CXX="$p"
13832	 else
13833	   predep_objects_CXX="$predep_objects_CXX $p"
13834	 fi
13835       else
13836	 if test -z "$postdep_objects_CXX"; then
13837	   postdep_objects_CXX="$p"
13838	 else
13839	   postdep_objects_CXX="$postdep_objects_CXX $p"
13840	 fi
13841       fi
13842       ;;
13843
13844    *) ;; # Ignore the rest.
13845
13846    esac
13847  done
13848
13849  # Clean up.
13850  rm -f a.out a.exe
13851else
13852  echo "libtool.m4: error: problem compiling CXX test program"
13853fi
13854
13855$RM -f confest.$objext
13856
13857# PORTME: override above test on systems where it is broken
13858case $host_os in
13859interix[3-9]*)
13860  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13861  # hack all around it, let's just trust "g++" to DTRT.
13862  predep_objects_CXX=
13863  postdep_objects_CXX=
13864  postdeps_CXX=
13865  ;;
13866
13867linux*)
13868  case `$CC -V 2>&1 | sed 5q` in
13869  *Sun\ C*)
13870    # Sun C++ 5.9
13871
13872    # The more standards-conforming stlport4 library is
13873    # incompatible with the Cstd library. Avoid specifying
13874    # it if it's in CXXFLAGS. Ignore libCrun as
13875    # -library=stlport4 depends on it.
13876    case " $CXX $CXXFLAGS " in
13877    *" -library=stlport4 "*)
13878      solaris_use_stlport4=yes
13879      ;;
13880    esac
13881
13882    if test "$solaris_use_stlport4" != yes; then
13883      postdeps_CXX='-library=Cstd -library=Crun'
13884    fi
13885    ;;
13886  esac
13887  ;;
13888
13889solaris*)
13890  case $cc_basename in
13891  CC*)
13892    # The more standards-conforming stlport4 library is
13893    # incompatible with the Cstd library. Avoid specifying
13894    # it if it's in CXXFLAGS. Ignore libCrun as
13895    # -library=stlport4 depends on it.
13896    case " $CXX $CXXFLAGS " in
13897    *" -library=stlport4 "*)
13898      solaris_use_stlport4=yes
13899      ;;
13900    esac
13901
13902    # Adding this requires a known-good setup of shared libraries for
13903    # Sun compiler versions before 5.6, else PIC objects from an old
13904    # archive will be linked into the output, leading to subtle bugs.
13905    if test "$solaris_use_stlport4" != yes; then
13906      postdeps_CXX='-library=Cstd -library=Crun'
13907    fi
13908    ;;
13909  esac
13910  ;;
13911esac
13912
13913
13914case " $postdeps_CXX " in
13915*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13916esac
13917 compiler_lib_search_dirs_CXX=
13918if test -n "${compiler_lib_search_path_CXX}"; then
13919 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13920fi
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952    lt_prog_compiler_wl_CXX=
13953lt_prog_compiler_pic_CXX=
13954lt_prog_compiler_static_CXX=
13955
13956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13957$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13958
13959  # C++ specific cases for pic, static, wl, etc.
13960  if test "$GXX" = yes; then
13961    lt_prog_compiler_wl_CXX='-Wl,'
13962    lt_prog_compiler_static_CXX='-static'
13963
13964    case $host_os in
13965    aix*)
13966      # All AIX code is PIC.
13967      if test "$host_cpu" = ia64; then
13968	# AIX 5 now supports IA64 processor
13969	lt_prog_compiler_static_CXX='-Bstatic'
13970      fi
13971      lt_prog_compiler_pic_CXX='-fPIC'
13972      ;;
13973
13974    amigaos*)
13975      case $host_cpu in
13976      powerpc)
13977            # see comment about AmigaOS4 .so support
13978            lt_prog_compiler_pic_CXX='-fPIC'
13979        ;;
13980      m68k)
13981            # FIXME: we need at least 68020 code to build shared libraries, but
13982            # adding the `-m68020' flag to GCC prevents building anything better,
13983            # like `-m68040'.
13984            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13985        ;;
13986      esac
13987      ;;
13988
13989    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13990      # PIC is the default for these OSes.
13991      ;;
13992    mingw* | cygwin* | os2* | pw32* | cegcc*)
13993      # This hack is so that the source file can tell whether it is being
13994      # built for inclusion in a dll (and should export symbols for example).
13995      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13996      # (--disable-auto-import) libraries
13997      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13998      ;;
13999    darwin* | rhapsody*)
14000      # PIC is the default on this platform
14001      # Common symbols not allowed in MH_DYLIB files
14002      lt_prog_compiler_pic_CXX='-fno-common'
14003      ;;
14004    *djgpp*)
14005      # DJGPP does not support shared libraries at all
14006      lt_prog_compiler_pic_CXX=
14007      ;;
14008    haiku*)
14009      # PIC is the default for Haiku.
14010      # The "-static" flag exists, but is broken.
14011      lt_prog_compiler_static_CXX=
14012      ;;
14013    interix[3-9]*)
14014      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14015      # Instead, we relocate shared libraries at runtime.
14016      ;;
14017    sysv4*MP*)
14018      if test -d /usr/nec; then
14019	lt_prog_compiler_pic_CXX=-Kconform_pic
14020      fi
14021      ;;
14022    hpux*)
14023      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14024      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14025      # sets the default TLS model and affects inlining.
14026      case $host_cpu in
14027      hppa*64*)
14028	;;
14029      *)
14030	lt_prog_compiler_pic_CXX='-fPIC'
14031	;;
14032      esac
14033      ;;
14034    *qnx* | *nto*)
14035      # QNX uses GNU C++, but need to define -shared option too, otherwise
14036      # it will coredump.
14037      lt_prog_compiler_pic_CXX='-fPIC -shared'
14038      ;;
14039    *)
14040      lt_prog_compiler_pic_CXX='-fPIC'
14041      ;;
14042    esac
14043  else
14044    case $host_os in
14045      aix[4-9]*)
14046	# All AIX code is PIC.
14047	if test "$host_cpu" = ia64; then
14048	  # AIX 5 now supports IA64 processor
14049	  lt_prog_compiler_static_CXX='-Bstatic'
14050	else
14051	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14052	fi
14053	;;
14054      chorus*)
14055	case $cc_basename in
14056	cxch68*)
14057	  # Green Hills C++ Compiler
14058	  # _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"
14059	  ;;
14060	esac
14061	;;
14062      dgux*)
14063	case $cc_basename in
14064	  ec++*)
14065	    lt_prog_compiler_pic_CXX='-KPIC'
14066	    ;;
14067	  ghcx*)
14068	    # Green Hills C++ Compiler
14069	    lt_prog_compiler_pic_CXX='-pic'
14070	    ;;
14071	  *)
14072	    ;;
14073	esac
14074	;;
14075      freebsd* | dragonfly*)
14076	# FreeBSD uses GNU C++
14077	;;
14078      hpux9* | hpux10* | hpux11*)
14079	case $cc_basename in
14080	  CC*)
14081	    lt_prog_compiler_wl_CXX='-Wl,'
14082	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14083	    if test "$host_cpu" != ia64; then
14084	      lt_prog_compiler_pic_CXX='+Z'
14085	    fi
14086	    ;;
14087	  aCC*)
14088	    lt_prog_compiler_wl_CXX='-Wl,'
14089	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14090	    case $host_cpu in
14091	    hppa*64*|ia64*)
14092	      # +Z the default
14093	      ;;
14094	    *)
14095	      lt_prog_compiler_pic_CXX='+Z'
14096	      ;;
14097	    esac
14098	    ;;
14099	  *)
14100	    ;;
14101	esac
14102	;;
14103      interix*)
14104	# This is c89, which is MS Visual C++ (no shared libs)
14105	# Anyone wants to do a port?
14106	;;
14107      irix5* | irix6* | nonstopux*)
14108	case $cc_basename in
14109	  CC*)
14110	    lt_prog_compiler_wl_CXX='-Wl,'
14111	    lt_prog_compiler_static_CXX='-non_shared'
14112	    # CC pic flag -KPIC is the default.
14113	    ;;
14114	  *)
14115	    ;;
14116	esac
14117	;;
14118      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14119	case $cc_basename in
14120	  KCC*)
14121	    # KAI C++ Compiler
14122	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14123	    lt_prog_compiler_pic_CXX='-fPIC'
14124	    ;;
14125	  ecpc* )
14126	    # old Intel C++ for x86_64 which still supported -KPIC.
14127	    lt_prog_compiler_wl_CXX='-Wl,'
14128	    lt_prog_compiler_pic_CXX='-KPIC'
14129	    lt_prog_compiler_static_CXX='-static'
14130	    ;;
14131	  icpc* )
14132	    # Intel C++, used to be incompatible with GCC.
14133	    # ICC 10 doesn't accept -KPIC any more.
14134	    lt_prog_compiler_wl_CXX='-Wl,'
14135	    lt_prog_compiler_pic_CXX='-fPIC'
14136	    lt_prog_compiler_static_CXX='-static'
14137	    ;;
14138	  pgCC* | pgcpp*)
14139	    # Portland Group C++ compiler
14140	    lt_prog_compiler_wl_CXX='-Wl,'
14141	    lt_prog_compiler_pic_CXX='-fpic'
14142	    lt_prog_compiler_static_CXX='-Bstatic'
14143	    ;;
14144	  cxx*)
14145	    # Compaq C++
14146	    # Make sure the PIC flag is empty.  It appears that all Alpha
14147	    # Linux and Compaq Tru64 Unix objects are PIC.
14148	    lt_prog_compiler_pic_CXX=
14149	    lt_prog_compiler_static_CXX='-non_shared'
14150	    ;;
14151	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14152	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14153	    lt_prog_compiler_wl_CXX='-Wl,'
14154	    lt_prog_compiler_pic_CXX='-qpic'
14155	    lt_prog_compiler_static_CXX='-qstaticlink'
14156	    ;;
14157	  *)
14158	    case `$CC -V 2>&1 | sed 5q` in
14159	    *Sun\ C*)
14160	      # Sun C++ 5.9
14161	      lt_prog_compiler_pic_CXX='-KPIC'
14162	      lt_prog_compiler_static_CXX='-Bstatic'
14163	      lt_prog_compiler_wl_CXX='-Qoption ld '
14164	      ;;
14165	    esac
14166	    ;;
14167	esac
14168	;;
14169      lynxos*)
14170	;;
14171      m88k*)
14172	;;
14173      mvs*)
14174	case $cc_basename in
14175	  cxx*)
14176	    lt_prog_compiler_pic_CXX='-W c,exportall'
14177	    ;;
14178	  *)
14179	    ;;
14180	esac
14181	;;
14182      netbsd*)
14183	;;
14184      *qnx* | *nto*)
14185        # QNX uses GNU C++, but need to define -shared option too, otherwise
14186        # it will coredump.
14187        lt_prog_compiler_pic_CXX='-fPIC -shared'
14188        ;;
14189      osf3* | osf4* | osf5*)
14190	case $cc_basename in
14191	  KCC*)
14192	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14193	    ;;
14194	  RCC*)
14195	    # Rational C++ 2.4.1
14196	    lt_prog_compiler_pic_CXX='-pic'
14197	    ;;
14198	  cxx*)
14199	    # Digital/Compaq C++
14200	    lt_prog_compiler_wl_CXX='-Wl,'
14201	    # Make sure the PIC flag is empty.  It appears that all Alpha
14202	    # Linux and Compaq Tru64 Unix objects are PIC.
14203	    lt_prog_compiler_pic_CXX=
14204	    lt_prog_compiler_static_CXX='-non_shared'
14205	    ;;
14206	  *)
14207	    ;;
14208	esac
14209	;;
14210      psos*)
14211	;;
14212      solaris*)
14213	case $cc_basename in
14214	  CC*)
14215	    # Sun C++ 4.2, 5.x and Centerline C++
14216	    lt_prog_compiler_pic_CXX='-KPIC'
14217	    lt_prog_compiler_static_CXX='-Bstatic'
14218	    lt_prog_compiler_wl_CXX='-Qoption ld '
14219	    ;;
14220	  gcx*)
14221	    # Green Hills C++ Compiler
14222	    lt_prog_compiler_pic_CXX='-PIC'
14223	    ;;
14224	  *)
14225	    ;;
14226	esac
14227	;;
14228      sunos4*)
14229	case $cc_basename in
14230	  CC*)
14231	    # Sun C++ 4.x
14232	    lt_prog_compiler_pic_CXX='-pic'
14233	    lt_prog_compiler_static_CXX='-Bstatic'
14234	    ;;
14235	  lcc*)
14236	    # Lucid
14237	    lt_prog_compiler_pic_CXX='-pic'
14238	    ;;
14239	  *)
14240	    ;;
14241	esac
14242	;;
14243      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14244	case $cc_basename in
14245	  CC*)
14246	    lt_prog_compiler_wl_CXX='-Wl,'
14247	    lt_prog_compiler_pic_CXX='-KPIC'
14248	    lt_prog_compiler_static_CXX='-Bstatic'
14249	    ;;
14250	esac
14251	;;
14252      tandem*)
14253	case $cc_basename in
14254	  NCC*)
14255	    # NonStop-UX NCC 3.20
14256	    lt_prog_compiler_pic_CXX='-KPIC'
14257	    ;;
14258	  *)
14259	    ;;
14260	esac
14261	;;
14262      vxworks*)
14263	;;
14264      *)
14265	lt_prog_compiler_can_build_shared_CXX=no
14266	;;
14267    esac
14268  fi
14269
14270case $host_os in
14271  # For platforms which do not support PIC, -DPIC is meaningless:
14272  *djgpp*)
14273    lt_prog_compiler_pic_CXX=
14274    ;;
14275  *)
14276    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14277    ;;
14278esac
14279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14280$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14281
14282
14283
14284#
14285# Check to make sure the PIC flag actually works.
14286#
14287if test -n "$lt_prog_compiler_pic_CXX"; then
14288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14289$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14290if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14291  $as_echo_n "(cached) " >&6
14292else
14293  lt_cv_prog_compiler_pic_works_CXX=no
14294   ac_outfile=conftest.$ac_objext
14295   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14296   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14297   # Insert the option either (1) after the last *FLAGS variable, or
14298   # (2) before a word containing "conftest.", or (3) at the end.
14299   # Note that $ac_compile itself does not contain backslashes and begins
14300   # with a dollar sign (not a hyphen), so the echo should work correctly.
14301   # The option is referenced via a variable to avoid confusing sed.
14302   lt_compile=`echo "$ac_compile" | $SED \
14303   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14304   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14305   -e 's:$: $lt_compiler_flag:'`
14306   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14307   (eval "$lt_compile" 2>conftest.err)
14308   ac_status=$?
14309   cat conftest.err >&5
14310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311   if (exit $ac_status) && test -s "$ac_outfile"; then
14312     # The compiler can only warn and ignore the option if not recognized
14313     # So say no if there are warnings other than the usual output.
14314     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14315     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14316     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14317       lt_cv_prog_compiler_pic_works_CXX=yes
14318     fi
14319   fi
14320   $RM conftest*
14321
14322fi
14323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14324$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14325
14326if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14327    case $lt_prog_compiler_pic_CXX in
14328     "" | " "*) ;;
14329     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14330     esac
14331else
14332    lt_prog_compiler_pic_CXX=
14333     lt_prog_compiler_can_build_shared_CXX=no
14334fi
14335
14336fi
14337
14338
14339
14340#
14341# Check to make sure the static flag actually works.
14342#
14343wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14345$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14346if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14347  $as_echo_n "(cached) " >&6
14348else
14349  lt_cv_prog_compiler_static_works_CXX=no
14350   save_LDFLAGS="$LDFLAGS"
14351   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14352   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14353   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14354     # The linker can only warn and ignore the option if not recognized
14355     # So say no if there are warnings
14356     if test -s conftest.err; then
14357       # Append any errors to the config.log.
14358       cat conftest.err 1>&5
14359       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14360       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14361       if diff conftest.exp conftest.er2 >/dev/null; then
14362         lt_cv_prog_compiler_static_works_CXX=yes
14363       fi
14364     else
14365       lt_cv_prog_compiler_static_works_CXX=yes
14366     fi
14367   fi
14368   $RM -r conftest*
14369   LDFLAGS="$save_LDFLAGS"
14370
14371fi
14372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14373$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14374
14375if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14376    :
14377else
14378    lt_prog_compiler_static_CXX=
14379fi
14380
14381
14382
14383
14384    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14385$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14386if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14387  $as_echo_n "(cached) " >&6
14388else
14389  lt_cv_prog_compiler_c_o_CXX=no
14390   $RM -r conftest 2>/dev/null
14391   mkdir conftest
14392   cd conftest
14393   mkdir out
14394   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14395
14396   lt_compiler_flag="-o out/conftest2.$ac_objext"
14397   # Insert the option either (1) after the last *FLAGS variable, or
14398   # (2) before a word containing "conftest.", or (3) at the end.
14399   # Note that $ac_compile itself does not contain backslashes and begins
14400   # with a dollar sign (not a hyphen), so the echo should work correctly.
14401   lt_compile=`echo "$ac_compile" | $SED \
14402   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14403   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14404   -e 's:$: $lt_compiler_flag:'`
14405   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14406   (eval "$lt_compile" 2>out/conftest.err)
14407   ac_status=$?
14408   cat out/conftest.err >&5
14409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14410   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14411   then
14412     # The compiler can only warn and ignore the option if not recognized
14413     # So say no if there are warnings
14414     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14415     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14416     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14417       lt_cv_prog_compiler_c_o_CXX=yes
14418     fi
14419   fi
14420   chmod u+w . 2>&5
14421   $RM conftest*
14422   # SGI C++ compiler will create directory out/ii_files/ for
14423   # template instantiation
14424   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14425   $RM out/* && rmdir out
14426   cd ..
14427   $RM -r conftest
14428   $RM conftest*
14429
14430fi
14431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14432$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14433
14434
14435
14436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14437$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14438if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14439  $as_echo_n "(cached) " >&6
14440else
14441  lt_cv_prog_compiler_c_o_CXX=no
14442   $RM -r conftest 2>/dev/null
14443   mkdir conftest
14444   cd conftest
14445   mkdir out
14446   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14447
14448   lt_compiler_flag="-o out/conftest2.$ac_objext"
14449   # Insert the option either (1) after the last *FLAGS variable, or
14450   # (2) before a word containing "conftest.", or (3) at the end.
14451   # Note that $ac_compile itself does not contain backslashes and begins
14452   # with a dollar sign (not a hyphen), so the echo should work correctly.
14453   lt_compile=`echo "$ac_compile" | $SED \
14454   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14455   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14456   -e 's:$: $lt_compiler_flag:'`
14457   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14458   (eval "$lt_compile" 2>out/conftest.err)
14459   ac_status=$?
14460   cat out/conftest.err >&5
14461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14463   then
14464     # The compiler can only warn and ignore the option if not recognized
14465     # So say no if there are warnings
14466     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14467     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14468     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14469       lt_cv_prog_compiler_c_o_CXX=yes
14470     fi
14471   fi
14472   chmod u+w . 2>&5
14473   $RM conftest*
14474   # SGI C++ compiler will create directory out/ii_files/ for
14475   # template instantiation
14476   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14477   $RM out/* && rmdir out
14478   cd ..
14479   $RM -r conftest
14480   $RM conftest*
14481
14482fi
14483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14484$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14485
14486
14487
14488
14489hard_links="nottested"
14490if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14491  # do not overwrite the value of need_locks provided by the user
14492  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14493$as_echo_n "checking if we can lock with hard links... " >&6; }
14494  hard_links=yes
14495  $RM conftest*
14496  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14497  touch conftest.a
14498  ln conftest.a conftest.b 2>&5 || hard_links=no
14499  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14501$as_echo "$hard_links" >&6; }
14502  if test "$hard_links" = no; then
14503    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14504$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14505    need_locks=warn
14506  fi
14507else
14508  need_locks=no
14509fi
14510
14511
14512
14513    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14514$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14515
14516  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14517  case $host_os in
14518  aix[4-9]*)
14519    # If we're using GNU nm, then we don't want the "-C" option.
14520    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14521    # Also, AIX nm treats weak defined symbols like other global defined
14522    # symbols, whereas GNU nm marks them as "W".
14523    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14524      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'
14525    else
14526      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'
14527    fi
14528    ;;
14529  pw32*)
14530    export_symbols_cmds_CXX="$ltdll_cmds"
14531  ;;
14532  cygwin* | mingw* | cegcc*)
14533    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'
14534  ;;
14535  *)
14536    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14537  ;;
14538  esac
14539  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14540
14541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14542$as_echo "$ld_shlibs_CXX" >&6; }
14543test "$ld_shlibs_CXX" = no && can_build_shared=no
14544
14545with_gnu_ld_CXX=$with_gnu_ld
14546
14547
14548
14549
14550
14551
14552#
14553# Do we need to explicitly link libc?
14554#
14555case "x$archive_cmds_need_lc_CXX" in
14556x|xyes)
14557  # Assume -lc should be added
14558  archive_cmds_need_lc_CXX=yes
14559
14560  if test "$enable_shared" = yes && test "$GCC" = yes; then
14561    case $archive_cmds_CXX in
14562    *'~'*)
14563      # FIXME: we may have to deal with multi-command sequences.
14564      ;;
14565    '$CC '*)
14566      # Test whether the compiler implicitly links with -lc since on some
14567      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14568      # to ld, don't add -lc before -lgcc.
14569      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14570$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14571if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14572  $as_echo_n "(cached) " >&6
14573else
14574  $RM conftest*
14575	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14576
14577	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14578  (eval $ac_compile) 2>&5
14579  ac_status=$?
14580  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14581  test $ac_status = 0; } 2>conftest.err; then
14582	  soname=conftest
14583	  lib=conftest
14584	  libobjs=conftest.$ac_objext
14585	  deplibs=
14586	  wl=$lt_prog_compiler_wl_CXX
14587	  pic_flag=$lt_prog_compiler_pic_CXX
14588	  compiler_flags=-v
14589	  linker_flags=-v
14590	  verstring=
14591	  output_objdir=.
14592	  libname=conftest
14593	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14594	  allow_undefined_flag_CXX=
14595	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14596  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14597  ac_status=$?
14598  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14599  test $ac_status = 0; }
14600	  then
14601	    lt_cv_archive_cmds_need_lc_CXX=no
14602	  else
14603	    lt_cv_archive_cmds_need_lc_CXX=yes
14604	  fi
14605	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14606	else
14607	  cat conftest.err 1>&5
14608	fi
14609	$RM conftest*
14610
14611fi
14612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14613$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14614      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14615      ;;
14616    esac
14617  fi
14618  ;;
14619esac
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
14676
14677
14678
14679
14680
14681
14682
14683
14684    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14685$as_echo_n "checking dynamic linker characteristics... " >&6; }
14686
14687library_names_spec=
14688libname_spec='lib$name'
14689soname_spec=
14690shrext_cmds=".so"
14691postinstall_cmds=
14692postuninstall_cmds=
14693finish_cmds=
14694finish_eval=
14695shlibpath_var=
14696shlibpath_overrides_runpath=unknown
14697version_type=none
14698dynamic_linker="$host_os ld.so"
14699sys_lib_dlsearch_path_spec="/lib /usr/lib"
14700need_lib_prefix=unknown
14701hardcode_into_libs=no
14702
14703# when you set need_version to no, make sure it does not cause -set_version
14704# flags to be left without arguments
14705need_version=unknown
14706
14707case $host_os in
14708aix3*)
14709  version_type=linux
14710  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14711  shlibpath_var=LIBPATH
14712
14713  # AIX 3 has no versioning support, so we append a major version to the name.
14714  soname_spec='${libname}${release}${shared_ext}$major'
14715  ;;
14716
14717aix[4-9]*)
14718  version_type=linux
14719  need_lib_prefix=no
14720  need_version=no
14721  hardcode_into_libs=yes
14722  if test "$host_cpu" = ia64; then
14723    # AIX 5 supports IA64
14724    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14725    shlibpath_var=LD_LIBRARY_PATH
14726  else
14727    # With GCC up to 2.95.x, collect2 would create an import file
14728    # for dependence libraries.  The import file would start with
14729    # the line `#! .'.  This would cause the generated library to
14730    # depend on `.', always an invalid library.  This was fixed in
14731    # development snapshots of GCC prior to 3.0.
14732    case $host_os in
14733      aix4 | aix4.[01] | aix4.[01].*)
14734      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14735	   echo ' yes '
14736	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14737	:
14738      else
14739	can_build_shared=no
14740      fi
14741      ;;
14742    esac
14743    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14744    # soname into executable. Probably we can add versioning support to
14745    # collect2, so additional links can be useful in future.
14746    if test "$aix_use_runtimelinking" = yes; then
14747      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14748      # instead of lib<name>.a to let people know that these are not
14749      # typical AIX shared libraries.
14750      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14751    else
14752      # We preserve .a as extension for shared libraries through AIX4.2
14753      # and later when we are not doing run time linking.
14754      library_names_spec='${libname}${release}.a $libname.a'
14755      soname_spec='${libname}${release}${shared_ext}$major'
14756    fi
14757    shlibpath_var=LIBPATH
14758  fi
14759  ;;
14760
14761amigaos*)
14762  case $host_cpu in
14763  powerpc)
14764    # Since July 2007 AmigaOS4 officially supports .so libraries.
14765    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14766    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14767    ;;
14768  m68k)
14769    library_names_spec='$libname.ixlibrary $libname.a'
14770    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14771    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'
14772    ;;
14773  esac
14774  ;;
14775
14776beos*)
14777  library_names_spec='${libname}${shared_ext}'
14778  dynamic_linker="$host_os ld.so"
14779  shlibpath_var=LIBRARY_PATH
14780  ;;
14781
14782bsdi[45]*)
14783  version_type=linux
14784  need_version=no
14785  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14786  soname_spec='${libname}${release}${shared_ext}$major'
14787  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14788  shlibpath_var=LD_LIBRARY_PATH
14789  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14790  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14791  # the default ld.so.conf also contains /usr/contrib/lib and
14792  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14793  # libtool to hard-code these into programs
14794  ;;
14795
14796cygwin* | mingw* | pw32* | cegcc*)
14797  version_type=windows
14798  shrext_cmds=".dll"
14799  need_version=no
14800  need_lib_prefix=no
14801
14802  case $GCC,$host_os in
14803  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14804    library_names_spec='$libname.dll.a'
14805    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14806    postinstall_cmds='base_file=`basename \${file}`~
14807      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14808      dldir=$destdir/`dirname \$dlpath`~
14809      test -d \$dldir || mkdir -p \$dldir~
14810      $install_prog $dir/$dlname \$dldir/$dlname~
14811      chmod a+x \$dldir/$dlname~
14812      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14813        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14814      fi'
14815    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14816      dlpath=$dir/\$dldll~
14817       $RM \$dlpath'
14818    shlibpath_overrides_runpath=yes
14819
14820    case $host_os in
14821    cygwin*)
14822      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14823      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14824
14825      ;;
14826    mingw* | cegcc*)
14827      # MinGW DLLs use traditional 'lib' prefix
14828      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14829      ;;
14830    pw32*)
14831      # pw32 DLLs use 'pw' prefix rather than 'lib'
14832      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14833      ;;
14834    esac
14835    ;;
14836
14837  *)
14838    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14839    ;;
14840  esac
14841  dynamic_linker='Win32 ld.exe'
14842  # FIXME: first we should search . and the directory the executable is in
14843  shlibpath_var=PATH
14844  ;;
14845
14846darwin* | rhapsody*)
14847  dynamic_linker="$host_os dyld"
14848  version_type=darwin
14849  need_lib_prefix=no
14850  need_version=no
14851  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14852  soname_spec='${libname}${release}${major}$shared_ext'
14853  shlibpath_overrides_runpath=yes
14854  shlibpath_var=DYLD_LIBRARY_PATH
14855  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14856
14857  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14858  ;;
14859
14860dgux*)
14861  version_type=linux
14862  need_lib_prefix=no
14863  need_version=no
14864  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14865  soname_spec='${libname}${release}${shared_ext}$major'
14866  shlibpath_var=LD_LIBRARY_PATH
14867  ;;
14868
14869freebsd* | dragonfly*)
14870  # DragonFly does not have aout.  When/if they implement a new
14871  # versioning mechanism, adjust this.
14872  if test -x /usr/bin/objformat; then
14873    objformat=`/usr/bin/objformat`
14874  else
14875    case $host_os in
14876    freebsd[23].*) objformat=aout ;;
14877    *) objformat=elf ;;
14878    esac
14879  fi
14880  version_type=freebsd-$objformat
14881  case $version_type in
14882    freebsd-elf*)
14883      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14884      need_version=no
14885      need_lib_prefix=no
14886      ;;
14887    freebsd-*)
14888      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14889      need_version=yes
14890      ;;
14891  esac
14892  shlibpath_var=LD_LIBRARY_PATH
14893  case $host_os in
14894  freebsd2.*)
14895    shlibpath_overrides_runpath=yes
14896    ;;
14897  freebsd3.[01]* | freebsdelf3.[01]*)
14898    shlibpath_overrides_runpath=yes
14899    hardcode_into_libs=yes
14900    ;;
14901  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14902  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14903    shlibpath_overrides_runpath=no
14904    hardcode_into_libs=yes
14905    ;;
14906  *) # from 4.6 on, and DragonFly
14907    shlibpath_overrides_runpath=yes
14908    hardcode_into_libs=yes
14909    ;;
14910  esac
14911  ;;
14912
14913gnu*)
14914  version_type=linux
14915  need_lib_prefix=no
14916  need_version=no
14917  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14918  soname_spec='${libname}${release}${shared_ext}$major'
14919  shlibpath_var=LD_LIBRARY_PATH
14920  hardcode_into_libs=yes
14921  ;;
14922
14923haiku*)
14924  version_type=linux
14925  need_lib_prefix=no
14926  need_version=no
14927  dynamic_linker="$host_os runtime_loader"
14928  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14929  soname_spec='${libname}${release}${shared_ext}$major'
14930  shlibpath_var=LIBRARY_PATH
14931  shlibpath_overrides_runpath=yes
14932  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14933  hardcode_into_libs=yes
14934  ;;
14935
14936hpux9* | hpux10* | hpux11*)
14937  # Give a soname corresponding to the major version so that dld.sl refuses to
14938  # link against other versions.
14939  version_type=sunos
14940  need_lib_prefix=no
14941  need_version=no
14942  case $host_cpu in
14943  ia64*)
14944    shrext_cmds='.so'
14945    hardcode_into_libs=yes
14946    dynamic_linker="$host_os dld.so"
14947    shlibpath_var=LD_LIBRARY_PATH
14948    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14949    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14950    soname_spec='${libname}${release}${shared_ext}$major'
14951    if test "X$HPUX_IA64_MODE" = X32; then
14952      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14953    else
14954      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14955    fi
14956    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14957    ;;
14958  hppa*64*)
14959    shrext_cmds='.sl'
14960    hardcode_into_libs=yes
14961    dynamic_linker="$host_os dld.sl"
14962    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14963    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14964    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14965    soname_spec='${libname}${release}${shared_ext}$major'
14966    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14967    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14968    ;;
14969  *)
14970    shrext_cmds='.sl'
14971    dynamic_linker="$host_os dld.sl"
14972    shlibpath_var=SHLIB_PATH
14973    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14974    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14975    soname_spec='${libname}${release}${shared_ext}$major'
14976    ;;
14977  esac
14978  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14979  postinstall_cmds='chmod 555 $lib'
14980  # or fails outright, so override atomically:
14981  install_override_mode=555
14982  ;;
14983
14984interix[3-9]*)
14985  version_type=linux
14986  need_lib_prefix=no
14987  need_version=no
14988  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14989  soname_spec='${libname}${release}${shared_ext}$major'
14990  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14991  shlibpath_var=LD_LIBRARY_PATH
14992  shlibpath_overrides_runpath=no
14993  hardcode_into_libs=yes
14994  ;;
14995
14996irix5* | irix6* | nonstopux*)
14997  case $host_os in
14998    nonstopux*) version_type=nonstopux ;;
14999    *)
15000	if test "$lt_cv_prog_gnu_ld" = yes; then
15001		version_type=linux
15002	else
15003		version_type=irix
15004	fi ;;
15005  esac
15006  need_lib_prefix=no
15007  need_version=no
15008  soname_spec='${libname}${release}${shared_ext}$major'
15009  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15010  case $host_os in
15011  irix5* | nonstopux*)
15012    libsuff= shlibsuff=
15013    ;;
15014  *)
15015    case $LD in # libtool.m4 will add one of these switches to LD
15016    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15017      libsuff= shlibsuff= libmagic=32-bit;;
15018    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15019      libsuff=32 shlibsuff=N32 libmagic=N32;;
15020    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15021      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15022    *) libsuff= shlibsuff= libmagic=never-match;;
15023    esac
15024    ;;
15025  esac
15026  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15027  shlibpath_overrides_runpath=no
15028  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15029  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15030  hardcode_into_libs=yes
15031  ;;
15032
15033# No shared lib support for Linux oldld, aout, or coff.
15034linux*oldld* | linux*aout* | linux*coff*)
15035  dynamic_linker=no
15036  ;;
15037
15038# This must be Linux ELF.
15039
15040# uclinux* changes (here and below) have been submitted to the libtool
15041# project, but have not yet been accepted: they are GCC-local changes
15042# for the time being.  (See
15043# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15044linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
15045  version_type=linux
15046  need_lib_prefix=no
15047  need_version=no
15048  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15049  soname_spec='${libname}${release}${shared_ext}$major'
15050  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15051  shlibpath_var=LD_LIBRARY_PATH
15052  shlibpath_overrides_runpath=no
15053
15054  # Some binutils ld are patched to set DT_RUNPATH
15055  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15056  $as_echo_n "(cached) " >&6
15057else
15058  lt_cv_shlibpath_overrides_runpath=no
15059    save_LDFLAGS=$LDFLAGS
15060    save_libdir=$libdir
15061    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15062	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15063    if test x$gcc_no_link = xyes; then
15064  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15065fi
15066cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067/* end confdefs.h.  */
15068
15069int
15070main ()
15071{
15072
15073  ;
15074  return 0;
15075}
15076_ACEOF
15077if ac_fn_cxx_try_link "$LINENO"; then :
15078  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15079  lt_cv_shlibpath_overrides_runpath=yes
15080fi
15081fi
15082rm -f core conftest.err conftest.$ac_objext \
15083    conftest$ac_exeext conftest.$ac_ext
15084    LDFLAGS=$save_LDFLAGS
15085    libdir=$save_libdir
15086
15087fi
15088
15089  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15090
15091  # This implies no fast_install, which is unacceptable.
15092  # Some rework will be needed to allow for fast_install
15093  # before this can be enabled.
15094  hardcode_into_libs=yes
15095
15096  # Append ld.so.conf contents to the search path
15097  if test -f /etc/ld.so.conf; then
15098    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' ' '`
15099    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15100  fi
15101
15102  # We used to test for /lib/ld.so.1 and disable shared libraries on
15103  # powerpc, because MkLinux only supported shared libraries with the
15104  # GNU dynamic linker.  Since this was broken with cross compilers,
15105  # most powerpc-linux boxes support dynamic linking these days and
15106  # people can always --disable-shared, the test was removed, and we
15107  # assume the GNU/Linux dynamic linker is in use.
15108  dynamic_linker='GNU/Linux ld.so'
15109  ;;
15110
15111netbsd*)
15112  version_type=sunos
15113  need_lib_prefix=no
15114  need_version=no
15115  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15116    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15117    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15118    dynamic_linker='NetBSD (a.out) ld.so'
15119  else
15120    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15121    soname_spec='${libname}${release}${shared_ext}$major'
15122    dynamic_linker='NetBSD ld.elf_so'
15123  fi
15124  shlibpath_var=LD_LIBRARY_PATH
15125  shlibpath_overrides_runpath=yes
15126  hardcode_into_libs=yes
15127  ;;
15128
15129newsos6)
15130  version_type=linux
15131  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15132  shlibpath_var=LD_LIBRARY_PATH
15133  shlibpath_overrides_runpath=yes
15134  ;;
15135
15136*nto* | *qnx*)
15137  version_type=qnx
15138  need_lib_prefix=no
15139  need_version=no
15140  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15141  soname_spec='${libname}${release}${shared_ext}$major'
15142  shlibpath_var=LD_LIBRARY_PATH
15143  shlibpath_overrides_runpath=no
15144  hardcode_into_libs=yes
15145  dynamic_linker='ldqnx.so'
15146  ;;
15147
15148openbsd*)
15149  version_type=sunos
15150  sys_lib_dlsearch_path_spec="/usr/lib"
15151  need_lib_prefix=no
15152  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15153  case $host_os in
15154    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15155    *)				need_version=no  ;;
15156  esac
15157  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15158  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15159  shlibpath_var=LD_LIBRARY_PATH
15160  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15161    case $host_os in
15162      openbsd2.[89] | openbsd2.[89].*)
15163	shlibpath_overrides_runpath=no
15164	;;
15165      *)
15166	shlibpath_overrides_runpath=yes
15167	;;
15168      esac
15169  else
15170    shlibpath_overrides_runpath=yes
15171  fi
15172  ;;
15173
15174os2*)
15175  libname_spec='$name'
15176  shrext_cmds=".dll"
15177  need_lib_prefix=no
15178  library_names_spec='$libname${shared_ext} $libname.a'
15179  dynamic_linker='OS/2 ld.exe'
15180  shlibpath_var=LIBPATH
15181  ;;
15182
15183osf3* | osf4* | osf5*)
15184  version_type=osf
15185  need_lib_prefix=no
15186  need_version=no
15187  soname_spec='${libname}${release}${shared_ext}$major'
15188  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15189  shlibpath_var=LD_LIBRARY_PATH
15190  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15191  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15192  ;;
15193
15194rdos*)
15195  dynamic_linker=no
15196  ;;
15197
15198solaris*)
15199  version_type=linux
15200  need_lib_prefix=no
15201  need_version=no
15202  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15203  soname_spec='${libname}${release}${shared_ext}$major'
15204  shlibpath_var=LD_LIBRARY_PATH
15205  shlibpath_overrides_runpath=yes
15206  hardcode_into_libs=yes
15207  # ldd complains unless libraries are executable
15208  postinstall_cmds='chmod +x $lib'
15209  ;;
15210
15211sunos4*)
15212  version_type=sunos
15213  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15214  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15215  shlibpath_var=LD_LIBRARY_PATH
15216  shlibpath_overrides_runpath=yes
15217  if test "$with_gnu_ld" = yes; then
15218    need_lib_prefix=no
15219  fi
15220  need_version=yes
15221  ;;
15222
15223sysv4 | sysv4.3*)
15224  version_type=linux
15225  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15226  soname_spec='${libname}${release}${shared_ext}$major'
15227  shlibpath_var=LD_LIBRARY_PATH
15228  case $host_vendor in
15229    sni)
15230      shlibpath_overrides_runpath=no
15231      need_lib_prefix=no
15232      runpath_var=LD_RUN_PATH
15233      ;;
15234    siemens)
15235      need_lib_prefix=no
15236      ;;
15237    motorola)
15238      need_lib_prefix=no
15239      need_version=no
15240      shlibpath_overrides_runpath=no
15241      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15242      ;;
15243  esac
15244  ;;
15245
15246sysv4*MP*)
15247  if test -d /usr/nec ;then
15248    version_type=linux
15249    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15250    soname_spec='$libname${shared_ext}.$major'
15251    shlibpath_var=LD_LIBRARY_PATH
15252  fi
15253  ;;
15254
15255sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15256  version_type=freebsd-elf
15257  need_lib_prefix=no
15258  need_version=no
15259  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15260  soname_spec='${libname}${release}${shared_ext}$major'
15261  shlibpath_var=LD_LIBRARY_PATH
15262  shlibpath_overrides_runpath=yes
15263  hardcode_into_libs=yes
15264  if test "$with_gnu_ld" = yes; then
15265    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15266  else
15267    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15268    case $host_os in
15269      sco3.2v5*)
15270        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15271	;;
15272    esac
15273  fi
15274  sys_lib_dlsearch_path_spec='/usr/lib'
15275  ;;
15276
15277tpf*)
15278  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15279  version_type=linux
15280  need_lib_prefix=no
15281  need_version=no
15282  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15283  shlibpath_var=LD_LIBRARY_PATH
15284  shlibpath_overrides_runpath=no
15285  hardcode_into_libs=yes
15286  ;;
15287
15288uts4*)
15289  version_type=linux
15290  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15291  soname_spec='${libname}${release}${shared_ext}$major'
15292  shlibpath_var=LD_LIBRARY_PATH
15293  ;;
15294
15295*)
15296  dynamic_linker=no
15297  ;;
15298esac
15299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15300$as_echo "$dynamic_linker" >&6; }
15301test "$dynamic_linker" = no && can_build_shared=no
15302
15303variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15304if test "$GCC" = yes; then
15305  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15306fi
15307
15308if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15309  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15310fi
15311if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15312  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15313fi
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
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15353$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15354hardcode_action_CXX=
15355if test -n "$hardcode_libdir_flag_spec_CXX" ||
15356   test -n "$runpath_var_CXX" ||
15357   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15358
15359  # We can hardcode non-existent directories.
15360  if test "$hardcode_direct_CXX" != no &&
15361     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15362     # have to relink, otherwise we might link with an installed library
15363     # when we should be linking with a yet-to-be-installed one
15364     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15365     test "$hardcode_minus_L_CXX" != no; then
15366    # Linking always hardcodes the temporary library directory.
15367    hardcode_action_CXX=relink
15368  else
15369    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15370    hardcode_action_CXX=immediate
15371  fi
15372else
15373  # We cannot hardcode anything, or else we can only hardcode existing
15374  # directories.
15375  hardcode_action_CXX=unsupported
15376fi
15377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15378$as_echo "$hardcode_action_CXX" >&6; }
15379
15380if test "$hardcode_action_CXX" = relink ||
15381   test "$inherit_rpath_CXX" = yes; then
15382  # Fast installation is not supported
15383  enable_fast_install=no
15384elif test "$shlibpath_overrides_runpath" = yes ||
15385     test "$enable_shared" = no; then
15386  # Fast installation is not necessary
15387  enable_fast_install=needless
15388fi
15389
15390
15391
15392
15393
15394
15395
15396  fi # test -n "$compiler"
15397
15398  CC=$lt_save_CC
15399  LDCXX=$LD
15400  LD=$lt_save_LD
15401  GCC=$lt_save_GCC
15402  with_gnu_ld=$lt_save_with_gnu_ld
15403  lt_cv_path_LDCXX=$lt_cv_path_LD
15404  lt_cv_path_LD=$lt_save_path_LD
15405  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15406  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15407fi # test "$_lt_caught_CXX_error" != yes
15408
15409ac_ext=c
15410ac_cpp='$CPP $CPPFLAGS'
15411ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15412ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15413ac_compiler_gnu=$ac_cv_c_compiler_gnu
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427        ac_config_commands="$ac_config_commands libtool"
15428
15429
15430
15431
15432# Only expand once:
15433
15434
15435
15436
15437
15438case $host in
15439  *-cygwin* | *-mingw*)
15440    # 'host' will be top-level target in the case of a target lib,
15441    # we must compare to with_cross_host to decide if this is a native
15442    # or cross-compiler and select where to install dlls appropriately.
15443    if test -n "$with_cross_host" &&
15444	test x"$with_cross_host" != x"no"; then
15445      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15446    else
15447      lt_host_flags='-no-undefined -bindir "$(bindir)"';
15448    fi
15449    ;;
15450  *)
15451    lt_host_flags=
15452    ;;
15453esac
15454
15455
15456
15457
15458
15459
15460if test "$enable_vtable_verify" = yes; then
15461  predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15462  postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15463fi
15464
15465
15466# libtool variables for C++ shared and position-independent compiles.
15467#
15468# Use glibcxx_lt_pic_flag to designate the automake variable
15469# used to encapsulate the default libtool approach to creating objects
15470# with position-independent code. Default: -prefer-pic.
15471#
15472# Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15473# creating shared objects. Default: -D_GLIBCXX_SHARED.
15474#
15475# Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15476# creating position-independent objects. This varies with the target
15477# hardware and operating system, but is often: -DPIC -fPIC.
15478if test "$enable_shared" = yes; then
15479  glibcxx_lt_pic_flag="-prefer-pic"
15480  glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15481  glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15482
15483else
15484  glibcxx_lt_pic_flag=
15485  glibcxx_compiler_pic_flag=
15486  glibcxx_compiler_shared_flag=
15487fi
15488
15489
15490
15491
15492# Override the libtool's pic_flag and pic_mode.
15493# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15494# NB: this impacts --with-pic and --without-pic.
15495lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15496pic_mode='default'
15497
15498# Eliminate -lstdc++ addition to postdeps for cross compiles.
15499postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15500
15501# Possibly disable most of the library.
15502## TODO: Consider skipping unncessary tests altogether in this case, rather
15503## than just ignoring the results.  Faster /and/ more correct, win win.
15504
15505  # Check whether --enable-hosted-libstdcxx was given.
15506if test "${enable_hosted_libstdcxx+set}" = set; then :
15507  enableval=$enable_hosted_libstdcxx;
15508else
15509  case "$host" in
15510	arm*-*-symbianelf*)
15511	    enable_hosted_libstdcxx=no
15512	    ;;
15513	*)
15514	    enable_hosted_libstdcxx=yes
15515	    ;;
15516     esac
15517fi
15518
15519  if test "$enable_hosted_libstdcxx" = no; then
15520    { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15521$as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15522    is_hosted=no
15523    hosted_define=0
15524    enable_abi_check=no
15525    enable_libstdcxx_pch=no
15526  else
15527    is_hosted=yes
15528    hosted_define=1
15529  fi
15530
15531
15532cat >>confdefs.h <<_ACEOF
15533#define _GLIBCXX_HOSTED $hosted_define
15534_ACEOF
15535
15536
15537
15538# Enable descriptive messages to standard output on termination.
15539
15540  # Check whether --enable-libstdcxx-verbose was given.
15541if test "${enable_libstdcxx_verbose+set}" = set; then :
15542  enableval=$enable_libstdcxx_verbose;
15543else
15544  enable_libstdcxx_verbose=yes
15545fi
15546
15547  if test x"$enable_libstdcxx_verbose" = xyes; then
15548    verbose_define=1
15549  else
15550    { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15551$as_echo "$as_me: verbose termination messages are disabled" >&6;}
15552    verbose_define=0
15553  fi
15554
15555cat >>confdefs.h <<_ACEOF
15556#define _GLIBCXX_VERBOSE $verbose_define
15557_ACEOF
15558
15559
15560
15561# Enable compiler support that doesn't require linking.
15562
15563   # Check whether --enable-libstdcxx-pch was given.
15564if test "${enable_libstdcxx_pch+set}" = set; then :
15565  enableval=$enable_libstdcxx_pch;
15566      case "$enableval" in
15567       yes|no) ;;
15568       *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15569      esac
15570
15571else
15572  enable_libstdcxx_pch=$is_hosted
15573fi
15574
15575
15576  if test $enable_libstdcxx_pch = yes; then
15577    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15578$as_echo_n "checking for compiler with PCH support... " >&6; }
15579if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15580  $as_echo_n "(cached) " >&6
15581else
15582  ac_save_CXXFLAGS="$CXXFLAGS"
15583       CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15584
15585       ac_ext=cpp
15586ac_cpp='$CXXCPP $CPPFLAGS'
15587ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15588ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15589ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15590
15591       echo '#include <math.h>' > conftest.h
15592       if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15593			  -o conftest.h.gch 1>&5 2>&1 &&
15594		echo '#error "pch failed"' > conftest.h &&
15595	  echo '#include "conftest.h"' > conftest.cc &&
15596	       $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15597       then
15598	 glibcxx_cv_prog_CXX_pch=yes
15599       else
15600	 glibcxx_cv_prog_CXX_pch=no
15601       fi
15602       rm -f conftest*
15603       CXXFLAGS=$ac_save_CXXFLAGS
15604       ac_ext=c
15605ac_cpp='$CPP $CPPFLAGS'
15606ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609
15610
15611fi
15612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15613$as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15614    enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15615  fi
15616
15617  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15618$as_echo_n "checking for enabled PCH... " >&6; }
15619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15620$as_echo "$enable_libstdcxx_pch" >&6; }
15621
15622
15623  if test $enable_libstdcxx_pch = yes; then
15624    glibcxx_PCHFLAGS="-include bits/stdc++.h"
15625  else
15626    glibcxx_PCHFLAGS=""
15627  fi
15628
15629
15630
15631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15632$as_echo_n "checking for thread model used by GCC... " >&6; }
15633  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15635$as_echo "$target_thread_file" >&6; }
15636
15637case $target_thread_file in
15638    aix)	thread_header=config/rs6000/gthr-aix.h ;;
15639    dce)	thread_header=config/pa/gthr-dce.h ;;
15640    gcn)	thread_header=config/gcn/gthr-gcn.h ;;
15641    lynx)	thread_header=config/gthr-lynx.h ;;
15642    mipssde)	thread_header=config/mips/gthr-mipssde.h ;;
15643    posix)	thread_header=gthr-posix.h ;;
15644    rtems)	thread_header=config/gthr-rtems.h ;;
15645    single)	thread_header=gthr-single.h ;;
15646    tpf)	thread_header=config/s390/gthr-tpf.h ;;
15647    vxworks)	thread_header=config/gthr-vxworks.h ;;
15648    win32)	thread_header=config/i386/gthr-win32.h ;;
15649esac
15650
15651
15652
15653
15654
15655  ac_ext=cpp
15656ac_cpp='$CXXCPP $CPPFLAGS'
15657ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15658ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15659ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15660
15661  old_CXXFLAGS="$CXXFLAGS"
15662
15663  # Do link tests if possible, instead asm tests, limited to some platforms
15664  # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15665  # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15666  atomic_builtins_link_tests=no
15667  if test x$gcc_no_link != xyes; then
15668    # Can do link tests. Limit to some tested platforms
15669    case "$host" in
15670      *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15671	atomic_builtins_link_tests=yes
15672	;;
15673    esac
15674  fi
15675
15676  if test x$atomic_builtins_link_tests = xyes; then
15677
15678  # Do link tests.
15679
15680  CXXFLAGS="$CXXFLAGS -fno-exceptions"
15681
15682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15683$as_echo_n "checking for atomic builtins for bool... " >&6; }
15684  if ${glibcxx_cv_atomic_bool+:} false; then :
15685  $as_echo_n "(cached) " >&6
15686else
15687
15688    if test x$gcc_no_link = xyes; then
15689  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15690fi
15691cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692/* end confdefs.h.  */
15693
15694int
15695main ()
15696{
15697typedef bool atomic_type;
15698       atomic_type c1;
15699       atomic_type c2;
15700       atomic_type c3(0);
15701       // N.B. __atomic_fetch_add is not supported for bool.
15702       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15703				   __ATOMIC_RELAXED);
15704       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15705       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15706
15707  ;
15708  return 0;
15709}
15710_ACEOF
15711if ac_fn_cxx_try_link "$LINENO"; then :
15712  glibcxx_cv_atomic_bool=yes
15713else
15714  glibcxx_cv_atomic_bool=no
15715fi
15716rm -f core conftest.err conftest.$ac_objext \
15717    conftest$ac_exeext conftest.$ac_ext
15718
15719fi
15720
15721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15722$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15723
15724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15725$as_echo_n "checking for atomic builtins for short... " >&6; }
15726  if ${glibcxx_cv_atomic_short+:} false; then :
15727  $as_echo_n "(cached) " >&6
15728else
15729
15730    if test x$gcc_no_link = xyes; then
15731  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15732fi
15733cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734/* end confdefs.h.  */
15735
15736int
15737main ()
15738{
15739typedef short atomic_type;
15740       atomic_type c1;
15741       atomic_type c2;
15742       atomic_type c3(0);
15743       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15744       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15745				   __ATOMIC_RELAXED);
15746       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15747       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15748
15749  ;
15750  return 0;
15751}
15752_ACEOF
15753if ac_fn_cxx_try_link "$LINENO"; then :
15754  glibcxx_cv_atomic_short=yes
15755else
15756  glibcxx_cv_atomic_short=no
15757fi
15758rm -f core conftest.err conftest.$ac_objext \
15759    conftest$ac_exeext conftest.$ac_ext
15760
15761fi
15762
15763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15764$as_echo "$glibcxx_cv_atomic_short" >&6; }
15765
15766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15767$as_echo_n "checking for atomic builtins for int... " >&6; }
15768  if ${glibcxx_cv_atomic_int+:} false; then :
15769  $as_echo_n "(cached) " >&6
15770else
15771
15772    if test x$gcc_no_link = xyes; then
15773  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15774fi
15775cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15776/* end confdefs.h.  */
15777
15778int
15779main ()
15780{
15781typedef int atomic_type;
15782       atomic_type c1;
15783       atomic_type c2;
15784       atomic_type c3(0);
15785       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15786       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15787				   __ATOMIC_RELAXED);
15788       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15789       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15790
15791  ;
15792  return 0;
15793}
15794_ACEOF
15795if ac_fn_cxx_try_link "$LINENO"; then :
15796  glibcxx_cv_atomic_int=yes
15797else
15798  glibcxx_cv_atomic_int=no
15799fi
15800rm -f core conftest.err conftest.$ac_objext \
15801    conftest$ac_exeext conftest.$ac_ext
15802
15803fi
15804
15805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15806$as_echo "$glibcxx_cv_atomic_int" >&6; }
15807
15808  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15809$as_echo_n "checking for atomic builtins for long long... " >&6; }
15810  if ${glibcxx_cv_atomic_long_long+:} false; then :
15811  $as_echo_n "(cached) " >&6
15812else
15813
15814    if test x$gcc_no_link = xyes; then
15815  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15816fi
15817cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15818/* end confdefs.h.  */
15819
15820int
15821main ()
15822{
15823typedef long long atomic_type;
15824       atomic_type c1;
15825       atomic_type c2;
15826       atomic_type c3(0);
15827       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15828       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15829				   __ATOMIC_RELAXED);
15830       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15831       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15832
15833  ;
15834  return 0;
15835}
15836_ACEOF
15837if ac_fn_cxx_try_link "$LINENO"; then :
15838  glibcxx_cv_atomic_long_long=yes
15839else
15840  glibcxx_cv_atomic_long_long=no
15841fi
15842rm -f core conftest.err conftest.$ac_objext \
15843    conftest$ac_exeext conftest.$ac_ext
15844
15845fi
15846
15847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15848$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15849
15850  else
15851
15852  # Do asm tests.
15853
15854  # Compile unoptimized.
15855  CXXFLAGS='-O0 -S'
15856
15857  # Fake what AC_TRY_COMPILE does.
15858
15859    cat > conftest.$ac_ext << EOF
15860#line 15860 "configure"
15861int main()
15862{
15863  typedef bool atomic_type;
15864  atomic_type c1;
15865  atomic_type c2;
15866  atomic_type c3(0);
15867  // N.B. __atomic_fetch_add is not supported for bool.
15868  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15869			      __ATOMIC_RELAXED);
15870  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15871  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15872
15873  return 0;
15874}
15875EOF
15876
15877    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15878$as_echo_n "checking for atomic builtins for bool... " >&6; }
15879    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15880  (eval $ac_compile) 2>&5
15881  ac_status=$?
15882  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15883  test $ac_status = 0; }; then
15884      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15885	glibcxx_cv_atomic_bool=no
15886      else
15887	glibcxx_cv_atomic_bool=yes
15888      fi
15889    fi
15890    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15891$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15892    rm -f conftest*
15893
15894    cat > conftest.$ac_ext << EOF
15895#line 15895 "configure"
15896int main()
15897{
15898  typedef short atomic_type;
15899  atomic_type c1;
15900  atomic_type c2;
15901  atomic_type c3(0);
15902  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15903  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15904			      __ATOMIC_RELAXED);
15905  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15906  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15907
15908  return 0;
15909}
15910EOF
15911
15912    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15913$as_echo_n "checking for atomic builtins for short... " >&6; }
15914    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15915  (eval $ac_compile) 2>&5
15916  ac_status=$?
15917  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15918  test $ac_status = 0; }; then
15919      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15920	glibcxx_cv_atomic_short=no
15921      else
15922	glibcxx_cv_atomic_short=yes
15923      fi
15924    fi
15925    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15926$as_echo "$glibcxx_cv_atomic_short" >&6; }
15927    rm -f conftest*
15928
15929    cat > conftest.$ac_ext << EOF
15930#line 15930 "configure"
15931int main()
15932{
15933  // NB: _Atomic_word not necessarily int.
15934  typedef int atomic_type;
15935  atomic_type c1;
15936  atomic_type c2;
15937  atomic_type c3(0);
15938  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15939  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15940			      __ATOMIC_RELAXED);
15941  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15942  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15943
15944  return 0;
15945}
15946EOF
15947
15948    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15949$as_echo_n "checking for atomic builtins for int... " >&6; }
15950    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15951  (eval $ac_compile) 2>&5
15952  ac_status=$?
15953  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15954  test $ac_status = 0; }; then
15955      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15956	glibcxx_cv_atomic_int=no
15957      else
15958	glibcxx_cv_atomic_int=yes
15959      fi
15960    fi
15961    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15962$as_echo "$glibcxx_cv_atomic_int" >&6; }
15963    rm -f conftest*
15964
15965    cat > conftest.$ac_ext << EOF
15966#line 15966 "configure"
15967int main()
15968{
15969  typedef long long atomic_type;
15970  atomic_type c1;
15971  atomic_type c2;
15972  atomic_type c3(0);
15973  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15974  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15975			      __ATOMIC_RELAXED);
15976  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15977  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15978
15979  return 0;
15980}
15981EOF
15982
15983    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15984$as_echo_n "checking for atomic builtins for long long... " >&6; }
15985    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15986  (eval $ac_compile) 2>&5
15987  ac_status=$?
15988  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15989  test $ac_status = 0; }; then
15990      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15991	glibcxx_cv_atomic_long_long=no
15992      else
15993	glibcxx_cv_atomic_long_long=yes
15994      fi
15995    fi
15996    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15997$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15998    rm -f conftest*
15999
16000  fi
16001
16002  CXXFLAGS="$old_CXXFLAGS"
16003  ac_ext=c
16004ac_cpp='$CPP $CPPFLAGS'
16005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16007ac_compiler_gnu=$ac_cv_c_compiler_gnu
16008
16009
16010  # Set atomicity_dir to builtins if all but the long long test above passes,
16011  # or if the builtins were already chosen (e.g. by configure.host).
16012  if { test "$glibcxx_cv_atomic_bool" = yes \
16013     && test "$glibcxx_cv_atomic_short" = yes \
16014     && test "$glibcxx_cv_atomic_int" = yes; } \
16015     || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16016
16017$as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16018
16019    atomicity_dir=cpu/generic/atomicity_builtins
16020  fi
16021
16022  # If still generic, set to mutex.
16023  if test $atomicity_dir = "cpu/generic" ; then
16024    atomicity_dir=cpu/generic/atomicity_mutex
16025    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16026$as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16027      if test "x$target_thread_file" = xsingle; then
16028	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16029$as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16030	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16031$as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16032      else
16033	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16034$as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16035	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16036$as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16037      fi
16038  fi
16039
16040
16041
16042
16043
16044# Check whether --with-libstdcxx-lock-policy was given.
16045if test "${with_libstdcxx_lock_policy+set}" = set; then :
16046  withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16047else
16048  libstdcxx_atomic_lock_policy=auto
16049fi
16050
16051
16052  case "$libstdcxx_atomic_lock_policy" in
16053    atomic|mutex|auto) ;;
16054    *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16055  esac
16056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16057$as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16058
16059  if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16060
16061    ac_ext=cpp
16062ac_cpp='$CXXCPP $CPPFLAGS'
16063ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16064ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16065ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16066
16067    ac_save_CXXFLAGS="$CXXFLAGS"
16068
16069        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16070/* end confdefs.h.  */
16071
16072    #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16073    # error "No 2-byte compare-and-swap"
16074    #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16075    # error "No 4-byte compare-and-swap"
16076    #endif
16077
16078int
16079main ()
16080{
16081
16082  ;
16083  return 0;
16084}
16085_ACEOF
16086if ac_fn_cxx_try_compile "$LINENO"; then :
16087  libstdcxx_atomic_lock_policy=atomic
16088else
16089  libstdcxx_atomic_lock_policy=mutex
16090fi
16091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16092    ac_ext=c
16093ac_cpp='$CPP $CPPFLAGS'
16094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16096ac_compiler_gnu=$ac_cv_c_compiler_gnu
16097
16098    CXXFLAGS="$ac_save_CXXFLAGS"
16099  fi
16100
16101  if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16102    { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16103$as_echo "atomic" >&6; }
16104
16105$as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16106
16107  else
16108    { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16109$as_echo "mutex" >&6; }
16110  fi
16111
16112
16113
16114
16115  # Fake what AC_TRY_COMPILE does, without linking as this is
16116  # unnecessary for this test.
16117
16118    cat > conftest.$ac_ext << EOF
16119#line 16119 "configure"
16120int main()
16121{
16122  _Decimal32 d1;
16123  _Decimal64 d2;
16124  _Decimal128 d3;
16125  return 0;
16126}
16127EOF
16128
16129    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16130$as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16131    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16132  (eval $ac_compile) 2>&5
16133  ac_status=$?
16134  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16135  test $ac_status = 0; }; then
16136
16137$as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16138
16139      enable_dfp=yes
16140    else
16141      enable_dfp=no
16142    fi
16143    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16144$as_echo "$enable_dfp" >&6; }
16145    rm -f conftest*
16146
16147
16148
16149
16150  ac_ext=cpp
16151ac_cpp='$CXXCPP $CPPFLAGS'
16152ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16153ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16154ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16155
16156
16157  # Fake what AC_TRY_COMPILE does, without linking as this is
16158  # unnecessary for this test.
16159
16160    cat > conftest.$ac_ext << EOF
16161#line 16161 "configure"
16162template<typename T1, typename T2>
16163  struct same
16164  { typedef T2 type; };
16165
16166template<typename T>
16167  struct same<T, T>;
16168
16169int main()
16170{
16171  typename same<long, __int128>::type                i1;
16172  typename same<long long, __int128>::type           i2;
16173}
16174EOF
16175
16176    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16177$as_echo_n "checking for __int128... " >&6; }
16178    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16179  (eval $ac_compile) 2>&5
16180  ac_status=$?
16181  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16182  test $ac_status = 0; }; then
16183
16184$as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16185
16186      enable_int128=yes
16187    else
16188      enable_int128=no
16189    fi
16190    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16191$as_echo "$enable_int128" >&6; }
16192    rm -f conftest*
16193
16194    cat > conftest.$ac_ext << EOF
16195#line 16195 "configure"
16196template<typename T1, typename T2>
16197  struct same
16198  { typedef T2 type; };
16199
16200template<typename T>
16201  struct same<T, T>;
16202
16203int main()
16204{
16205  typename same<double, __float128>::type      f1;
16206  typename same<long double, __float128>::type f2;
16207}
16208EOF
16209
16210    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16211$as_echo_n "checking for __float128... " >&6; }
16212    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16213  (eval $ac_compile) 2>&5
16214  ac_status=$?
16215  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16216  test $ac_status = 0; }; then
16217      enable_float128=yes
16218    else
16219      enable_float128=no
16220    fi
16221    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16222$as_echo "$enable_float128" >&6; }
16223
16224    rm -f conftest*
16225
16226  ac_ext=c
16227ac_cpp='$CPP $CPPFLAGS'
16228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16230ac_compiler_gnu=$ac_cv_c_compiler_gnu
16231
16232
16233if test "$enable_float128" = yes; then
16234  port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16235fi
16236
16237# Checks for compiler support that doesn't require linking.
16238
16239  # All these tests are for C++; save the language and the compiler flags.
16240  # The CXXFLAGS thing is suspicious, but based on similar bits previously
16241  # found in GLIBCXX_CONFIGURE.
16242
16243  ac_ext=cpp
16244ac_cpp='$CXXCPP $CPPFLAGS'
16245ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16246ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16247ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16248
16249  ac_test_CXXFLAGS="${CXXFLAGS+set}"
16250  ac_save_CXXFLAGS="$CXXFLAGS"
16251
16252  # Check for -ffunction-sections -fdata-sections
16253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16254$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16255  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16256  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16257/* end confdefs.h.  */
16258int foo; void bar() { };
16259int
16260main ()
16261{
16262
16263  ;
16264  return 0;
16265}
16266_ACEOF
16267if ac_fn_cxx_try_compile "$LINENO"; then :
16268  ac_fdsections=yes
16269else
16270  ac_fdsections=no
16271fi
16272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16273  if test "$ac_test_CXXFLAGS" = set; then
16274    CXXFLAGS="$ac_save_CXXFLAGS"
16275  else
16276    # this is the suspicious part
16277    CXXFLAGS=''
16278  fi
16279  if test x"$ac_fdsections" = x"yes"; then
16280    SECTION_FLAGS='-ffunction-sections -fdata-sections'
16281  fi
16282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16283$as_echo "$ac_fdsections" >&6; }
16284
16285  ac_ext=c
16286ac_cpp='$CPP $CPPFLAGS'
16287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16289ac_compiler_gnu=$ac_cv_c_compiler_gnu
16290
16291
16292
16293
16294# Enable all the variable C++ runtime options that don't require linking.
16295
16296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16297$as_echo_n "checking for underlying I/O to use... " >&6; }
16298   # Check whether --enable-cstdio was given.
16299if test "${enable_cstdio+set}" = set; then :
16300  enableval=$enable_cstdio;
16301      case "$enableval" in
16302       stdio) ;;
16303       *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16304	  	        esac
16305
16306else
16307  enable_cstdio=stdio
16308fi
16309
16310
16311
16312  # Now that libio has been removed, you can have any color you want as long
16313  # as it's black.  This is one big no-op until other packages are added, but
16314  # showing the framework never hurts.
16315  case ${enable_cstdio} in
16316    stdio)
16317      CSTDIO_H=config/io/c_io_stdio.h
16318      BASIC_FILE_H=config/io/basic_file_stdio.h
16319      BASIC_FILE_CC=config/io/basic_file_stdio.cc
16320      { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16321$as_echo "stdio" >&6; }
16322      ;;
16323  esac
16324
16325
16326
16327
16328
16329
16330   # Check whether --enable-clocale was given.
16331if test "${enable_clocale+set}" = set; then :
16332  enableval=$enable_clocale;
16333      case "$enableval" in
16334       generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16335       *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16336	  	        esac
16337
16338else
16339  enable_clocale=auto
16340fi
16341
16342
16343
16344  # Deal with gettext issues.  Default to not using it (=no) until we detect
16345  # support for it later.  Let the user turn it off via --e/d, but let that
16346  # default to on for easier handling.
16347  USE_NLS=no
16348  # Check whether --enable-nls was given.
16349if test "${enable_nls+set}" = set; then :
16350  enableval=$enable_nls;
16351else
16352  enable_nls=yes
16353fi
16354
16355
16356  # Either a known package, or "auto"
16357  if test $enable_clocale = no || test $enable_clocale = yes; then
16358     enable_clocale=auto
16359  fi
16360  enable_clocale_flag=$enable_clocale
16361
16362  # Probe for locale model to use if none specified.
16363  # Default to "generic".
16364  if test $enable_clocale_flag = auto; then
16365    case ${target_os} in
16366      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16367	enable_clocale_flag=gnu
16368	;;
16369      darwin*)
16370	enable_clocale_flag=darwin
16371	;;
16372      dragonfly* | freebsd*)
16373	enable_clocale_flag=dragonfly
16374	;;
16375      openbsd*)
16376	enable_clocale_flag=newlib
16377	;;
16378      *)
16379	if test x"$with_newlib" = x"yes"; then
16380	  enable_clocale_flag=newlib
16381	else
16382	  enable_clocale_flag=generic
16383	fi
16384	;;
16385    esac
16386  fi
16387
16388  # Sanity check model, and test for special functionality.
16389  if test $enable_clocale_flag = gnu; then
16390    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16391/* end confdefs.h.  */
16392
16393    #include <features.h>
16394    #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16395      _GLIBCXX_ok
16396    #endif
16397
16398_ACEOF
16399if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16400  $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16401  enable_clocale_flag=gnu
16402else
16403  enable_clocale_flag=generic
16404fi
16405rm -f conftest*
16406
16407
16408    # Set it to scream when it hurts.
16409    ac_save_CFLAGS="$CFLAGS"
16410    CFLAGS="-Wimplicit-function-declaration -Werror"
16411
16412    # Use strxfrm_l if available.
16413    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414/* end confdefs.h.  */
16415#define _GNU_SOURCE 1
16416     		    #include <string.h>
16417		    #include <locale.h>
16418int
16419main ()
16420{
16421char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16422  ;
16423  return 0;
16424}
16425_ACEOF
16426if ac_fn_c_try_compile "$LINENO"; then :
16427
16428$as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16429
16430fi
16431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16432
16433    # Use strerror_l if available.
16434    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435/* end confdefs.h.  */
16436#define _GNU_SOURCE 1
16437		    #include <string.h>
16438		    #include <locale.h>
16439int
16440main ()
16441{
16442__locale_t loc; strerror_l(5, loc);
16443  ;
16444  return 0;
16445}
16446_ACEOF
16447if ac_fn_c_try_compile "$LINENO"; then :
16448
16449$as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16450
16451fi
16452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16453
16454    CFLAGS="$ac_save_CFLAGS"
16455  fi
16456
16457  # Perhaps use strerror_r if available, and strerror_l isn't.
16458  ac_save_CFLAGS="$CFLAGS"
16459  CFLAGS="-Wimplicit-function-declaration -Werror"
16460  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461/* end confdefs.h.  */
16462#define _GNU_SOURCE 1
16463	     	  #include <string.h>
16464		  #include <locale.h>
16465int
16466main ()
16467{
16468char s[128]; strerror_r(5, s, 128);
16469  ;
16470  return 0;
16471}
16472_ACEOF
16473if ac_fn_c_try_compile "$LINENO"; then :
16474
16475$as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16476
16477fi
16478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16479  CFLAGS="$ac_save_CFLAGS"
16480
16481  # Set configure bits for specified locale package
16482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16483$as_echo_n "checking for C locale to use... " >&6; }
16484  case ${enable_clocale_flag} in
16485    generic)
16486      { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16487$as_echo "generic" >&6; }
16488
16489      CLOCALE_H=config/locale/generic/c_locale.h
16490      CLOCALE_CC=config/locale/generic/c_locale.cc
16491      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16492      CCOLLATE_CC=config/locale/generic/collate_members.cc
16493      CCTYPE_CC=config/locale/generic/ctype_members.cc
16494      CMESSAGES_H=config/locale/generic/messages_members.h
16495      CMESSAGES_CC=config/locale/generic/messages_members.cc
16496      CMONEY_CC=config/locale/generic/monetary_members.cc
16497      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16498      CTIME_H=config/locale/generic/time_members.h
16499      CTIME_CC=config/locale/generic/time_members.cc
16500      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16501      ;;
16502    darwin)
16503      { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16504$as_echo "darwin" >&6; }
16505
16506      CLOCALE_H=config/locale/generic/c_locale.h
16507      CLOCALE_CC=config/locale/generic/c_locale.cc
16508      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16509      CCOLLATE_CC=config/locale/generic/collate_members.cc
16510      CCTYPE_CC=config/locale/darwin/ctype_members.cc
16511      CMESSAGES_H=config/locale/generic/messages_members.h
16512      CMESSAGES_CC=config/locale/generic/messages_members.cc
16513      CMONEY_CC=config/locale/generic/monetary_members.cc
16514      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16515      CTIME_H=config/locale/generic/time_members.h
16516      CTIME_CC=config/locale/generic/time_members.cc
16517      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16518      ;;
16519
16520    dragonfly)
16521      { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16522$as_echo "dragonfly or freebsd" >&6; }
16523
16524      CLOCALE_H=config/locale/dragonfly/c_locale.h
16525      CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16526      CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16527      CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16528      CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16529      CMESSAGES_H=config/locale/generic/messages_members.h
16530      CMESSAGES_CC=config/locale/generic/messages_members.cc
16531      CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16532      CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16533      CTIME_H=config/locale/dragonfly/time_members.h
16534      CTIME_CC=config/locale/dragonfly/time_members.cc
16535      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16536      ;;
16537
16538    gnu)
16539      { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16540$as_echo "gnu" >&6; }
16541
16542      # Declare intention to use gettext, and add support for specific
16543      # languages.
16544      # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16545      ALL_LINGUAS="de fr"
16546
16547      # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16548      # Extract the first word of "msgfmt", so it can be a program name with args.
16549set dummy msgfmt; ac_word=$2
16550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16551$as_echo_n "checking for $ac_word... " >&6; }
16552if ${ac_cv_prog_check_msgfmt+:} false; then :
16553  $as_echo_n "(cached) " >&6
16554else
16555  if test -n "$check_msgfmt"; then
16556  ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16557else
16558as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16559for as_dir in $PATH
16560do
16561  IFS=$as_save_IFS
16562  test -z "$as_dir" && as_dir=.
16563    for ac_exec_ext in '' $ac_executable_extensions; do
16564  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16565    ac_cv_prog_check_msgfmt="yes"
16566    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16567    break 2
16568  fi
16569done
16570  done
16571IFS=$as_save_IFS
16572
16573  test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16574fi
16575fi
16576check_msgfmt=$ac_cv_prog_check_msgfmt
16577if test -n "$check_msgfmt"; then
16578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16579$as_echo "$check_msgfmt" >&6; }
16580else
16581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16582$as_echo "no" >&6; }
16583fi
16584
16585
16586      if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16587	USE_NLS=yes
16588      fi
16589      # Export the build objects.
16590      for ling in $ALL_LINGUAS; do \
16591	glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16592	glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16593      done
16594
16595
16596
16597      CLOCALE_H=config/locale/gnu/c_locale.h
16598      CLOCALE_CC=config/locale/gnu/c_locale.cc
16599      CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16600      CCOLLATE_CC=config/locale/gnu/collate_members.cc
16601      CCTYPE_CC=config/locale/gnu/ctype_members.cc
16602      CMESSAGES_H=config/locale/gnu/messages_members.h
16603      CMESSAGES_CC=config/locale/gnu/messages_members.cc
16604      CMONEY_CC=config/locale/gnu/monetary_members.cc
16605      CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16606      CTIME_H=config/locale/gnu/time_members.h
16607      CTIME_CC=config/locale/gnu/time_members.cc
16608      CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16609      ;;
16610    ieee_1003.1-2001)
16611      { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16612$as_echo "IEEE 1003.1" >&6; }
16613
16614      CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16615      CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16616      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16617      CCOLLATE_CC=config/locale/generic/collate_members.cc
16618      CCTYPE_CC=config/locale/generic/ctype_members.cc
16619      CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16620      CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16621      CMONEY_CC=config/locale/generic/monetary_members.cc
16622      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16623      CTIME_H=config/locale/generic/time_members.h
16624      CTIME_CC=config/locale/generic/time_members.cc
16625      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16626      ;;
16627    newlib)
16628      { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16629$as_echo "newlib" >&6; }
16630
16631      CLOCALE_H=config/locale/generic/c_locale.h
16632      CLOCALE_CC=config/locale/generic/c_locale.cc
16633      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16634      CCOLLATE_CC=config/locale/generic/collate_members.cc
16635      CCTYPE_CC=config/locale/newlib/ctype_members.cc
16636      CMESSAGES_H=config/locale/generic/messages_members.h
16637      CMESSAGES_CC=config/locale/generic/messages_members.cc
16638      CMONEY_CC=config/locale/generic/monetary_members.cc
16639      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16640      CTIME_H=config/locale/generic/time_members.h
16641      CTIME_CC=config/locale/generic/time_members.cc
16642      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16643      ;;
16644  esac
16645
16646  # This is where the testsuite looks for locale catalogs, using the
16647  # -DLOCALEDIR define during testsuite compilation.
16648  glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16649
16650
16651  # A standalone libintl (e.g., GNU libintl) may be in use.
16652  if test $USE_NLS = yes; then
16653    for ac_header in libintl.h
16654do :
16655  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16656if test "x$ac_cv_header_libintl_h" = xyes; then :
16657  cat >>confdefs.h <<_ACEOF
16658#define HAVE_LIBINTL_H 1
16659_ACEOF
16660
16661else
16662  USE_NLS=no
16663fi
16664
16665done
16666
16667    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16668$as_echo_n "checking for library containing gettext... " >&6; }
16669if ${ac_cv_search_gettext+:} false; then :
16670  $as_echo_n "(cached) " >&6
16671else
16672  ac_func_search_save_LIBS=$LIBS
16673cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674/* end confdefs.h.  */
16675
16676/* Override any GCC internal prototype to avoid an error.
16677   Use char because int might match the return type of a GCC
16678   builtin and then its argument prototype would still apply.  */
16679#ifdef __cplusplus
16680extern "C"
16681#endif
16682char gettext ();
16683int
16684main ()
16685{
16686return gettext ();
16687  ;
16688  return 0;
16689}
16690_ACEOF
16691for ac_lib in '' intl; do
16692  if test -z "$ac_lib"; then
16693    ac_res="none required"
16694  else
16695    ac_res=-l$ac_lib
16696    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16697  fi
16698  if test x$gcc_no_link = xyes; then
16699  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16700fi
16701if ac_fn_c_try_link "$LINENO"; then :
16702  ac_cv_search_gettext=$ac_res
16703fi
16704rm -f core conftest.err conftest.$ac_objext \
16705    conftest$ac_exeext
16706  if ${ac_cv_search_gettext+:} false; then :
16707  break
16708fi
16709done
16710if ${ac_cv_search_gettext+:} false; then :
16711
16712else
16713  ac_cv_search_gettext=no
16714fi
16715rm conftest.$ac_ext
16716LIBS=$ac_func_search_save_LIBS
16717fi
16718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16719$as_echo "$ac_cv_search_gettext" >&6; }
16720ac_res=$ac_cv_search_gettext
16721if test "$ac_res" != no; then :
16722  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16723
16724else
16725  USE_NLS=no
16726fi
16727
16728  fi
16729  if test $USE_NLS = yes; then
16730
16731$as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16732
16733  fi
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16751$as_echo_n "checking for std::allocator base class... " >&6; }
16752   # Check whether --enable-libstdcxx-allocator was given.
16753if test "${enable_libstdcxx_allocator+set}" = set; then :
16754  enableval=$enable_libstdcxx_allocator;
16755      case "$enableval" in
16756       new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16757       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16758	  	        esac
16759
16760else
16761  enable_libstdcxx_allocator=auto
16762fi
16763
16764
16765
16766  # If they didn't use this option switch, or if they specified --enable
16767  # with no specific model, we'll have to look for one.  If they
16768  # specified --disable (???), do likewise.
16769  if test $enable_libstdcxx_allocator = no ||
16770     test $enable_libstdcxx_allocator = yes;
16771  then
16772     enable_libstdcxx_allocator=auto
16773  fi
16774
16775  # Either a known package, or "auto". Auto implies the default choice
16776  # for a particular platform.
16777  enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16778
16779  # Probe for host-specific support if no specific model is specified.
16780  # Default to "new".
16781  if test $enable_libstdcxx_allocator_flag = auto; then
16782    case ${target_os} in
16783      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16784	enable_libstdcxx_allocator_flag=new
16785	;;
16786      *)
16787	enable_libstdcxx_allocator_flag=new
16788	;;
16789    esac
16790  fi
16791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16792$as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16793
16794
16795  # Set configure bits for specified locale package
16796  case ${enable_libstdcxx_allocator_flag} in
16797    bitmap)
16798      ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16799      ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16800      ;;
16801    malloc)
16802      ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16803      ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16804      ;;
16805    mt)
16806      ALLOCATOR_H=config/allocator/mt_allocator_base.h
16807      ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16808      ;;
16809    new)
16810      ALLOCATOR_H=config/allocator/new_allocator_base.h
16811      ALLOCATOR_NAME=__gnu_cxx::new_allocator
16812      ;;
16813    pool)
16814      ALLOCATOR_H=config/allocator/pool_allocator_base.h
16815      ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16816      ;;
16817  esac
16818
16819
16820
16821
16822
16823
16824   # Check whether --enable-cheaders was given.
16825if test "${enable_cheaders+set}" = set; then :
16826  enableval=$enable_cheaders;
16827      case "$enableval" in
16828       c|c_std|c_global) ;;
16829       *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16830	  	        esac
16831
16832else
16833  enable_cheaders=$c_model
16834fi
16835
16836
16837  { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16838$as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16839
16840  C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16841
16842  # Allow overrides to configure.host here.
16843  if test $enable_cheaders = c_global; then
16844     c_compatibility=yes
16845  fi
16846
16847
16848
16849
16850
16851
16852
16853   # Check whether --enable-long-long was given.
16854if test "${enable_long_long+set}" = set; then :
16855  enableval=$enable_long_long;
16856      case "$enableval" in
16857       yes|no) ;;
16858       *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16859      esac
16860
16861else
16862  enable_long_long=yes
16863fi
16864
16865
16866  if test $enable_long_long = yes; then
16867
16868$as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16869
16870  fi
16871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16872$as_echo_n "checking for enabled long long specializations... " >&6; }
16873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16874$as_echo "$enable_long_long" >&6; }
16875
16876
16877   # Check whether --enable-wchar_t was given.
16878if test "${enable_wchar_t+set}" = set; then :
16879  enableval=$enable_wchar_t;
16880      case "$enableval" in
16881       yes|no) ;;
16882       *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16883      esac
16884
16885else
16886  enable_wchar_t=yes
16887fi
16888
16889
16890
16891  # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16892  for ac_header in wchar.h
16893do :
16894  ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16895if test "x$ac_cv_header_wchar_h" = xyes; then :
16896  cat >>confdefs.h <<_ACEOF
16897#define HAVE_WCHAR_H 1
16898_ACEOF
16899 ac_has_wchar_h=yes
16900else
16901  ac_has_wchar_h=no
16902fi
16903
16904done
16905
16906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16907$as_echo_n "checking for mbstate_t... " >&6; }
16908  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16909/* end confdefs.h.  */
16910#include <wchar.h>
16911int
16912main ()
16913{
16914mbstate_t teststate;
16915  ;
16916  return 0;
16917}
16918_ACEOF
16919if ac_fn_c_try_compile "$LINENO"; then :
16920  have_mbstate_t=yes
16921else
16922  have_mbstate_t=no
16923fi
16924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16926$as_echo "$have_mbstate_t" >&6; }
16927  if test x"$have_mbstate_t" = xyes; then
16928
16929$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16930
16931  fi
16932
16933  # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16934  # ac_has_wchar_h.
16935  for ac_header in wctype.h
16936do :
16937  ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16938if test "x$ac_cv_header_wctype_h" = xyes; then :
16939  cat >>confdefs.h <<_ACEOF
16940#define HAVE_WCTYPE_H 1
16941_ACEOF
16942 ac_has_wctype_h=yes
16943else
16944  ac_has_wctype_h=no
16945fi
16946
16947done
16948
16949
16950  if test x"$enable_wchar_t" = x"yes"; then
16951
16952
16953    ac_ext=cpp
16954ac_cpp='$CXXCPP $CPPFLAGS'
16955ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16956ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16957ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16958
16959
16960    if test x"$ac_has_wchar_h" = xyes &&
16961       test x"$ac_has_wctype_h" = xyes; then
16962      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963/* end confdefs.h.  */
16964#include <wchar.h>
16965		      #include <stddef.h>
16966		      wint_t i;
16967		      long l = WEOF;
16968		      long j = WCHAR_MIN;
16969		      long k = WCHAR_MAX;
16970		      namespace test
16971		      {
16972			using ::btowc;
16973			using ::fgetwc;
16974			using ::fgetws;
16975			using ::fputwc;
16976			using ::fputws;
16977			using ::fwide;
16978			using ::fwprintf;
16979			using ::fwscanf;
16980			using ::getwc;
16981			using ::getwchar;
16982 			using ::mbrlen;
16983			using ::mbrtowc;
16984			using ::mbsinit;
16985			using ::mbsrtowcs;
16986			using ::putwc;
16987			using ::putwchar;
16988			using ::swprintf;
16989			using ::swscanf;
16990			using ::ungetwc;
16991			using ::vfwprintf;
16992			using ::vswprintf;
16993			using ::vwprintf;
16994			using ::wcrtomb;
16995			using ::wcscat;
16996			using ::wcschr;
16997			using ::wcscmp;
16998			using ::wcscoll;
16999			using ::wcscpy;
17000			using ::wcscspn;
17001			using ::wcsftime;
17002			using ::wcslen;
17003			using ::wcsncat;
17004			using ::wcsncmp;
17005			using ::wcsncpy;
17006			using ::wcspbrk;
17007			using ::wcsrchr;
17008			using ::wcsrtombs;
17009			using ::wcsspn;
17010			using ::wcsstr;
17011			using ::wcstod;
17012			using ::wcstok;
17013			using ::wcstol;
17014			using ::wcstoul;
17015			using ::wcsxfrm;
17016			using ::wctob;
17017			using ::wmemchr;
17018			using ::wmemcmp;
17019			using ::wmemcpy;
17020			using ::wmemmove;
17021			using ::wmemset;
17022			using ::wprintf;
17023			using ::wscanf;
17024		      }
17025
17026int
17027main ()
17028{
17029
17030  ;
17031  return 0;
17032}
17033_ACEOF
17034if ac_fn_cxx_try_compile "$LINENO"; then :
17035
17036else
17037  enable_wchar_t=no
17038fi
17039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17040    else
17041      enable_wchar_t=no
17042    fi
17043
17044    ac_ext=c
17045ac_cpp='$CPP $CPPFLAGS'
17046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17048ac_compiler_gnu=$ac_cv_c_compiler_gnu
17049
17050  fi
17051
17052  if test x"$enable_wchar_t" = x"yes"; then
17053
17054$as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17055
17056  fi
17057
17058  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17059$as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17061$as_echo "$enable_wchar_t" >&6; }
17062
17063
17064
17065   # Check whether --enable-c99 was given.
17066if test "${enable_c99+set}" = set; then :
17067  enableval=$enable_c99;
17068      case "$enableval" in
17069       yes|no) ;;
17070       *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17071      esac
17072
17073else
17074  enable_c99=yes
17075fi
17076
17077
17078
17079  if test x"$enable_c99" = x"yes"; then
17080
17081    ac_ext=cpp
17082ac_cpp='$CXXCPP $CPPFLAGS'
17083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17086
17087
17088    # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17089    # undefined may cause fake C99 facilities, like pre-standard snprintf,
17090    # to be spuriously enabled.
17091    ac_save_CXXFLAGS="$CXXFLAGS"
17092    CXXFLAGS="$CXXFLAGS -std=c++98"
17093    ac_save_LIBS="$LIBS"
17094    ac_save_gcc_no_link="$gcc_no_link"
17095
17096    if test x$gcc_no_link != xyes; then
17097      # Use -fno-exceptions to that the C driver can link these tests without
17098      # hitting undefined references to personality routines.
17099      CXXFLAGS="$CXXFLAGS -fno-exceptions"
17100      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17101$as_echo_n "checking for sin in -lm... " >&6; }
17102if ${ac_cv_lib_m_sin+:} false; then :
17103  $as_echo_n "(cached) " >&6
17104else
17105  ac_check_lib_save_LIBS=$LIBS
17106LIBS="-lm  $LIBS"
17107if test x$gcc_no_link = xyes; then
17108  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17109fi
17110cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111/* end confdefs.h.  */
17112
17113/* Override any GCC internal prototype to avoid an error.
17114   Use char because int might match the return type of a GCC
17115   builtin and then its argument prototype would still apply.  */
17116#ifdef __cplusplus
17117extern "C"
17118#endif
17119char sin ();
17120int
17121main ()
17122{
17123return sin ();
17124  ;
17125  return 0;
17126}
17127_ACEOF
17128if ac_fn_cxx_try_link "$LINENO"; then :
17129  ac_cv_lib_m_sin=yes
17130else
17131  ac_cv_lib_m_sin=no
17132fi
17133rm -f core conftest.err conftest.$ac_objext \
17134    conftest$ac_exeext conftest.$ac_ext
17135LIBS=$ac_check_lib_save_LIBS
17136fi
17137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17138$as_echo "$ac_cv_lib_m_sin" >&6; }
17139if test "x$ac_cv_lib_m_sin" = xyes; then :
17140  LIBS="$LIBS -lm"
17141else
17142
17143        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17144        gcc_no_link=yes
17145
17146fi
17147
17148    fi
17149
17150    # Check for the existence of <math.h> functions used if C99 is enabled.
17151    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17152$as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17153    if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17154  $as_echo_n "(cached) " >&6
17155else
17156
17157      if test x$gcc_no_link = xyes; then
17158  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159/* end confdefs.h.  */
17160#include <math.h>
17161         volatile double d1, d2;
17162         volatile int i;
17163int
17164main ()
17165{
17166i = fpclassify(d1);
17167         i = isfinite(d1);
17168         i = isinf(d1);
17169         i = isnan(d1);
17170         i = isnormal(d1);
17171         i = signbit(d1);
17172         i = isgreater(d1, d2);
17173         i = isgreaterequal(d1, d2);
17174         i = isless(d1, d2);
17175         i = islessequal(d1, d2);
17176         i = islessgreater(d1, d2);
17177         i = islessgreater(d1, d2);
17178         i = isunordered(d1, d2);
17179
17180  ;
17181  return 0;
17182}
17183_ACEOF
17184if ac_fn_cxx_try_compile "$LINENO"; then :
17185  glibcxx_cv_c99_math_cxx98=yes
17186else
17187  glibcxx_cv_c99_math_cxx98=no
17188fi
17189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190else
17191  if test x$gcc_no_link = xyes; then
17192  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17193fi
17194cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17195/* end confdefs.h.  */
17196#include <math.h>
17197         volatile double d1, d2;
17198         volatile int i;
17199int
17200main ()
17201{
17202i = fpclassify(d1);
17203         i = isfinite(d1);
17204         i = isinf(d1);
17205         i = isnan(d1);
17206         i = isnormal(d1);
17207         i = signbit(d1);
17208         i = isgreater(d1, d2);
17209         i = isgreaterequal(d1, d2);
17210         i = isless(d1, d2);
17211         i = islessequal(d1, d2);
17212         i = islessgreater(d1, d2);
17213         i = islessgreater(d1, d2);
17214         i = isunordered(d1, d2);
17215
17216  ;
17217  return 0;
17218}
17219_ACEOF
17220if ac_fn_cxx_try_link "$LINENO"; then :
17221  glibcxx_cv_c99_math_cxx98=yes
17222else
17223  glibcxx_cv_c99_math_cxx98=no
17224fi
17225rm -f core conftest.err conftest.$ac_objext \
17226    conftest$ac_exeext conftest.$ac_ext
17227fi
17228
17229fi
17230
17231    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17232$as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17233    if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17234
17235$as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17236
17237    fi
17238
17239    # Check for the existence of <complex.h> complex math functions.
17240    # This is necessary even though libstdc++ uses the builtin versions
17241    # of these functions, because if the builtin cannot be used, a reference
17242    # to the library function is emitted.
17243    for ac_header in tgmath.h
17244do :
17245  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17246if test "x$ac_cv_header_tgmath_h" = xyes; then :
17247  cat >>confdefs.h <<_ACEOF
17248#define HAVE_TGMATH_H 1
17249_ACEOF
17250 ac_has_tgmath_h=yes
17251else
17252  ac_has_tgmath_h=no
17253fi
17254
17255done
17256
17257    for ac_header in complex.h
17258do :
17259  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17260if test "x$ac_cv_header_complex_h" = xyes; then :
17261  cat >>confdefs.h <<_ACEOF
17262#define HAVE_COMPLEX_H 1
17263_ACEOF
17264 ac_has_complex_h=yes
17265else
17266  ac_has_complex_h=no
17267fi
17268
17269done
17270
17271    if test x"$ac_has_complex_h" = x"yes"; then
17272      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17273$as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17274      if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17275  $as_echo_n "(cached) " >&6
17276else
17277
17278        if test x$gcc_no_link = xyes; then
17279  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280/* end confdefs.h.  */
17281#include <complex.h>
17282           typedef __complex__ float float_type;
17283           typedef __complex__ double double_type;
17284           typedef __complex__ long double ld_type;
17285           volatile float_type tmpf;
17286           volatile double_type tmpd;
17287           volatile ld_type tmpld;
17288           volatile float f;
17289           volatile double d;
17290           volatile long double ld;
17291int
17292main ()
17293{
17294f = cabsf(tmpf);
17295           f = cargf(tmpf);
17296           tmpf = ccosf(tmpf);
17297           tmpf = ccoshf(tmpf);
17298           tmpf = cexpf(tmpf);
17299           tmpf = clogf(tmpf);
17300           tmpf = csinf(tmpf);
17301           tmpf = csinhf(tmpf);
17302           tmpf = csqrtf(tmpf);
17303           tmpf = ctanf(tmpf);
17304           tmpf = ctanhf(tmpf);
17305           tmpf = cpowf(tmpf, tmpf);
17306           tmpf = cprojf(tmpf);
17307           d = cabs(tmpd);
17308           d = carg(tmpd);
17309           tmpd = ccos(tmpd);
17310           tmpd = ccosh(tmpd);
17311           tmpd = cexp(tmpd);
17312           tmpd = clog(tmpd);
17313           tmpd = csin(tmpd);
17314           tmpd = csinh(tmpd);
17315           tmpd = csqrt(tmpd);
17316           tmpd = ctan(tmpd);
17317           tmpd = ctanh(tmpd);
17318           tmpd = cpow(tmpd, tmpd);
17319           tmpd = cproj(tmpd);
17320           ld = cabsl(tmpld);
17321           ld = cargl(tmpld);
17322           tmpld = ccosl(tmpld);
17323           tmpld = ccoshl(tmpld);
17324           tmpld = cexpl(tmpld);
17325           tmpld = clogl(tmpld);
17326           tmpld = csinl(tmpld);
17327           tmpld = csinhl(tmpld);
17328           tmpld = csqrtl(tmpld);
17329           tmpld = ctanl(tmpld);
17330           tmpld = ctanhl(tmpld);
17331           tmpld = cpowl(tmpld, tmpld);
17332           tmpld = cprojl(tmpld);
17333
17334  ;
17335  return 0;
17336}
17337_ACEOF
17338if ac_fn_cxx_try_compile "$LINENO"; then :
17339  glibcxx_cv_c99_complex_cxx98=yes
17340else
17341  glibcxx_cv_c99_complex_cxx98=no
17342fi
17343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17344else
17345  if test x$gcc_no_link = xyes; then
17346  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17347fi
17348cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349/* end confdefs.h.  */
17350#include <complex.h>
17351           typedef __complex__ float float_type;
17352           typedef __complex__ double double_type;
17353           typedef __complex__ long double ld_type;
17354           volatile float_type tmpf;
17355           volatile double_type tmpd;
17356           volatile ld_type tmpld;
17357           volatile float f;
17358           volatile double d;
17359           volatile long double ld;
17360int
17361main ()
17362{
17363f = cabsf(tmpf);
17364           f = cargf(tmpf);
17365           tmpf = ccosf(tmpf);
17366           tmpf = ccoshf(tmpf);
17367           tmpf = cexpf(tmpf);
17368           tmpf = clogf(tmpf);
17369           tmpf = csinf(tmpf);
17370           tmpf = csinhf(tmpf);
17371           tmpf = csqrtf(tmpf);
17372           tmpf = ctanf(tmpf);
17373           tmpf = ctanhf(tmpf);
17374           tmpf = cpowf(tmpf, tmpf);
17375           tmpf = cprojf(tmpf);
17376           d = cabs(tmpd);
17377           d = carg(tmpd);
17378           tmpd = ccos(tmpd);
17379           tmpd = ccosh(tmpd);
17380           tmpd = cexp(tmpd);
17381           tmpd = clog(tmpd);
17382           tmpd = csin(tmpd);
17383           tmpd = csinh(tmpd);
17384           tmpd = csqrt(tmpd);
17385           tmpd = ctan(tmpd);
17386           tmpd = ctanh(tmpd);
17387           tmpd = cpow(tmpd, tmpd);
17388           tmpd = cproj(tmpd);
17389           ld = cabsl(tmpld);
17390           ld = cargl(tmpld);
17391           tmpld = ccosl(tmpld);
17392           tmpld = ccoshl(tmpld);
17393           tmpld = cexpl(tmpld);
17394           tmpld = clogl(tmpld);
17395           tmpld = csinl(tmpld);
17396           tmpld = csinhl(tmpld);
17397           tmpld = csqrtl(tmpld);
17398           tmpld = ctanl(tmpld);
17399           tmpld = ctanhl(tmpld);
17400           tmpld = cpowl(tmpld, tmpld);
17401           tmpld = cprojl(tmpld);
17402
17403  ;
17404  return 0;
17405}
17406_ACEOF
17407if ac_fn_cxx_try_link "$LINENO"; then :
17408  glibcxx_cv_c99_complex_cxx98=yes
17409else
17410  glibcxx_cv_c99_complex_cxx98=no
17411fi
17412rm -f core conftest.err conftest.$ac_objext \
17413    conftest$ac_exeext conftest.$ac_ext
17414fi
17415
17416fi
17417
17418    fi
17419    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17420$as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17421    if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17422
17423$as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17424
17425    fi
17426
17427    # Check for the existence in <stdio.h> of vscanf, et. al.
17428    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17429$as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17430    if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17431  $as_echo_n "(cached) " >&6
17432else
17433
17434      if test x$gcc_no_link = xyes; then
17435  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436/* end confdefs.h.  */
17437#include <stdio.h>
17438         #include <stdarg.h>
17439         void foo(char* fmt, ...)
17440         {
17441           va_list args; va_start(args, fmt);
17442           vfscanf(stderr, "%i", args);
17443           vscanf("%i", args);
17444           vsnprintf(fmt, 0, "%i", args);
17445           vsscanf(fmt, "%i", args);
17446           snprintf(fmt, 0, "%i");
17447         }
17448int
17449main ()
17450{
17451
17452  ;
17453  return 0;
17454}
17455_ACEOF
17456if ac_fn_cxx_try_compile "$LINENO"; then :
17457  glibcxx_cv_c99_stdio_cxx98=yes
17458else
17459  glibcxx_cv_c99_stdio_cxx98=no
17460fi
17461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17462else
17463  if test x$gcc_no_link = xyes; then
17464  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17465fi
17466cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467/* end confdefs.h.  */
17468#include <stdio.h>
17469         #include <stdarg.h>
17470         void foo(char* fmt, ...)
17471         {
17472           va_list args; va_start(args, fmt);
17473           vfscanf(stderr, "%i", args);
17474           vscanf("%i", args);
17475           vsnprintf(fmt, 0, "%i", args);
17476           vsscanf(fmt, "%i", args);
17477           snprintf(fmt, 0, "%i");
17478         }
17479int
17480main ()
17481{
17482
17483  ;
17484  return 0;
17485}
17486_ACEOF
17487if ac_fn_cxx_try_link "$LINENO"; then :
17488  glibcxx_cv_c99_stdio_cxx98=yes
17489else
17490  glibcxx_cv_c99_stdio_cxx98=no
17491fi
17492rm -f core conftest.err conftest.$ac_objext \
17493    conftest$ac_exeext conftest.$ac_ext
17494fi
17495
17496fi
17497
17498    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17499$as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17500    if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17501
17502$as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17503
17504    fi
17505
17506    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17507    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17508$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17509    if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17510  $as_echo_n "(cached) " >&6
17511else
17512
17513      if test x$gcc_no_link = xyes; then
17514  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515/* end confdefs.h.  */
17516#include <stdlib.h>
17517         volatile float f;
17518         volatile long double ld;
17519         volatile unsigned long long ll;
17520         lldiv_t mydivt;
17521int
17522main ()
17523{
17524char* tmp;
17525         f = strtof("gnu", &tmp);
17526         ld = strtold("gnu", &tmp);
17527         ll = strtoll("gnu", &tmp, 10);
17528         ll = strtoull("gnu", &tmp, 10);
17529         ll = llabs(10);
17530         mydivt = lldiv(10,1);
17531         ll = mydivt.quot;
17532         ll = mydivt.rem;
17533         ll = atoll("10");
17534         _Exit(0);
17535
17536  ;
17537  return 0;
17538}
17539_ACEOF
17540if ac_fn_cxx_try_compile "$LINENO"; then :
17541  glibcxx_cv_c99_stdlib_cxx98=yes
17542else
17543  glibcxx_cv_c99_stdlib_cxx98=no
17544fi
17545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17546else
17547  if test x$gcc_no_link = xyes; then
17548  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17549fi
17550cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551/* end confdefs.h.  */
17552#include <stdlib.h>
17553         volatile float f;
17554         volatile long double ld;
17555         volatile unsigned long long ll;
17556         lldiv_t mydivt;
17557int
17558main ()
17559{
17560char* tmp;
17561         f = strtof("gnu", &tmp);
17562         ld = strtold("gnu", &tmp);
17563         ll = strtoll("gnu", &tmp, 10);
17564         ll = strtoull("gnu", &tmp, 10);
17565         ll = llabs(10);
17566         mydivt = lldiv(10,1);
17567         ll = mydivt.quot;
17568         ll = mydivt.rem;
17569         ll = atoll("10");
17570         _Exit(0);
17571
17572  ;
17573  return 0;
17574}
17575_ACEOF
17576if ac_fn_cxx_try_link "$LINENO"; then :
17577  glibcxx_cv_c99_stdlib_cxx98=yes
17578else
17579  glibcxx_cv_c99_stdlib_cxx98=no
17580fi
17581rm -f core conftest.err conftest.$ac_objext \
17582    conftest$ac_exeext conftest.$ac_ext
17583fi
17584
17585fi
17586
17587    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17588$as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17589    if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17590
17591$as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17592
17593    fi
17594
17595    # Check for the existence in <wchar.h> of wcstold, etc.
17596    if test x"$ac_has_wchar_h" = xyes &&
17597       test x"$ac_has_wctype_h" = xyes; then
17598      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17599$as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17600      if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17601  $as_echo_n "(cached) " >&6
17602else
17603
17604        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605/* end confdefs.h.  */
17606#include <wchar.h>
17607          namespace test
17608          {
17609            using ::wcstold;
17610            using ::wcstoll;
17611            using ::wcstoull;
17612          }
17613
17614int
17615main ()
17616{
17617
17618  ;
17619  return 0;
17620}
17621_ACEOF
17622if ac_fn_cxx_try_compile "$LINENO"; then :
17623  glibcxx_cv_c99_wchar_cxx98=yes
17624else
17625  glibcxx_cv_c99_wchar_cxx98=no
17626fi
17627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628
17629fi
17630
17631
17632      # Checks for wide character functions that may not be present.
17633      # Injection of these is wrapped with guard macros.
17634      # NB: only put functions here, instead of immediately above, if
17635      # absolutely necessary.
17636      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17637/* end confdefs.h.  */
17638#include <wchar.h>
17639        namespace test { using ::vfwscanf; }
17640int
17641main ()
17642{
17643
17644  ;
17645  return 0;
17646}
17647_ACEOF
17648if ac_fn_cxx_try_compile "$LINENO"; then :
17649
17650$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17651
17652fi
17653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654
17655      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656/* end confdefs.h.  */
17657#include <wchar.h>
17658        namespace test { using ::vswscanf; }
17659int
17660main ()
17661{
17662
17663  ;
17664  return 0;
17665}
17666_ACEOF
17667if ac_fn_cxx_try_compile "$LINENO"; then :
17668
17669$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17670
17671fi
17672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673
17674      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675/* end confdefs.h.  */
17676#include <wchar.h>
17677        namespace test { using ::vwscanf; }
17678int
17679main ()
17680{
17681
17682  ;
17683  return 0;
17684}
17685_ACEOF
17686if ac_fn_cxx_try_compile "$LINENO"; then :
17687
17688$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17689
17690fi
17691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692
17693      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694/* end confdefs.h.  */
17695#include <wchar.h>
17696        namespace test { using ::wcstof; }
17697int
17698main ()
17699{
17700
17701  ;
17702  return 0;
17703}
17704_ACEOF
17705if ac_fn_cxx_try_compile "$LINENO"; then :
17706
17707$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17708
17709fi
17710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17711
17712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17713/* end confdefs.h.  */
17714#include <wctype.h>
17715int
17716main ()
17717{
17718wint_t t; int i = iswblank(t);
17719  ;
17720  return 0;
17721}
17722_ACEOF
17723if ac_fn_cxx_try_compile "$LINENO"; then :
17724
17725$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17726
17727fi
17728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17729
17730      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17731$as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17732      if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17733
17734$as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17735
17736      fi
17737    fi
17738
17739    # Option parsed, now set things appropriately.
17740    if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17741       test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17742       test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17743       test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17744       test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17745      enable_c99=no;
17746    else
17747
17748$as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17749
17750    fi
17751
17752    gcc_no_link="$ac_save_gcc_no_link"
17753    LIBS="$ac_save_LIBS"
17754    CXXFLAGS="$ac_save_CXXFLAGS"
17755    ac_ext=c
17756ac_cpp='$CPP $CPPFLAGS'
17757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759ac_compiler_gnu=$ac_cv_c_compiler_gnu
17760
17761
17762
17763    ac_ext=cpp
17764ac_cpp='$CXXCPP $CPPFLAGS'
17765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17768
17769
17770    # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17771    # For the reasons given above we use -std=c++11 not -std=gnu++11.
17772    ac_save_CXXFLAGS="$CXXFLAGS"
17773    CXXFLAGS="$CXXFLAGS -std=c++11"
17774    ac_save_LIBS="$LIBS"
17775    ac_save_gcc_no_link="$gcc_no_link"
17776
17777    if test x$gcc_no_link != xyes; then
17778      # Use -fno-exceptions to that the C driver can link these tests without
17779      # hitting undefined references to personality routines.
17780      CXXFLAGS="$CXXFLAGS -fno-exceptions"
17781      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17782$as_echo_n "checking for sin in -lm... " >&6; }
17783if ${ac_cv_lib_m_sin+:} false; then :
17784  $as_echo_n "(cached) " >&6
17785else
17786  ac_check_lib_save_LIBS=$LIBS
17787LIBS="-lm  $LIBS"
17788if test x$gcc_no_link = xyes; then
17789  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17790fi
17791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792/* end confdefs.h.  */
17793
17794/* Override any GCC internal prototype to avoid an error.
17795   Use char because int might match the return type of a GCC
17796   builtin and then its argument prototype would still apply.  */
17797#ifdef __cplusplus
17798extern "C"
17799#endif
17800char sin ();
17801int
17802main ()
17803{
17804return sin ();
17805  ;
17806  return 0;
17807}
17808_ACEOF
17809if ac_fn_cxx_try_link "$LINENO"; then :
17810  ac_cv_lib_m_sin=yes
17811else
17812  ac_cv_lib_m_sin=no
17813fi
17814rm -f core conftest.err conftest.$ac_objext \
17815    conftest$ac_exeext conftest.$ac_ext
17816LIBS=$ac_check_lib_save_LIBS
17817fi
17818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17819$as_echo "$ac_cv_lib_m_sin" >&6; }
17820if test "x$ac_cv_lib_m_sin" = xyes; then :
17821  LIBS="$LIBS -lm"
17822else
17823
17824        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17825        gcc_no_link=yes
17826
17827fi
17828
17829    fi
17830
17831    # Check for the existence of <math.h> functions used if C99 is enabled.
17832    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17833$as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17834    if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17835  $as_echo_n "(cached) " >&6
17836else
17837
17838      if test x$gcc_no_link = xyes; then
17839  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840/* end confdefs.h.  */
17841#include <math.h>
17842         volatile double d1, d2;
17843         volatile int i;
17844int
17845main ()
17846{
17847i = fpclassify(d1);
17848         i = isfinite(d1);
17849         i = isinf(d1);
17850         i = isnan(d1);
17851         i = isnormal(d1);
17852         i = signbit(d1);
17853         i = isgreater(d1, d2);
17854         i = isgreaterequal(d1, d2);
17855         i = isless(d1, d2);
17856         i = islessequal(d1, d2);
17857         i = islessgreater(d1, d2);
17858         i = islessgreater(d1, d2);
17859         i = isunordered(d1, d2);
17860
17861  ;
17862  return 0;
17863}
17864_ACEOF
17865if ac_fn_cxx_try_compile "$LINENO"; then :
17866  glibcxx_cv_c99_math_cxx11=yes
17867else
17868  glibcxx_cv_c99_math_cxx11=no
17869fi
17870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17871else
17872  if test x$gcc_no_link = xyes; then
17873  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17874fi
17875cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17876/* end confdefs.h.  */
17877#include <math.h>
17878         volatile double d1, d2;
17879         volatile int i;
17880int
17881main ()
17882{
17883i = fpclassify(d1);
17884         i = isfinite(d1);
17885         i = isinf(d1);
17886         i = isnan(d1);
17887         i = isnormal(d1);
17888         i = signbit(d1);
17889         i = isgreater(d1, d2);
17890         i = isgreaterequal(d1, d2);
17891         i = isless(d1, d2);
17892         i = islessequal(d1, d2);
17893         i = islessgreater(d1, d2);
17894         i = islessgreater(d1, d2);
17895         i = isunordered(d1, d2);
17896
17897  ;
17898  return 0;
17899}
17900_ACEOF
17901if ac_fn_cxx_try_link "$LINENO"; then :
17902  glibcxx_cv_c99_math_cxx11=yes
17903else
17904  glibcxx_cv_c99_math_cxx11=no
17905fi
17906rm -f core conftest.err conftest.$ac_objext \
17907    conftest$ac_exeext conftest.$ac_ext
17908fi
17909
17910fi
17911
17912    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17913$as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17914    if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17915
17916$as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17917
17918    fi
17919
17920    # Check for the existence of <complex.h> complex math functions.
17921    # This is necessary even though libstdc++ uses the builtin versions
17922    # of these functions, because if the builtin cannot be used, a reference
17923    # to the library function is emitted.
17924    for ac_header in tgmath.h
17925do :
17926  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17927if test "x$ac_cv_header_tgmath_h" = xyes; then :
17928  cat >>confdefs.h <<_ACEOF
17929#define HAVE_TGMATH_H 1
17930_ACEOF
17931 ac_has_tgmath_h=yes
17932else
17933  ac_has_tgmath_h=no
17934fi
17935
17936done
17937
17938    for ac_header in complex.h
17939do :
17940  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17941if test "x$ac_cv_header_complex_h" = xyes; then :
17942  cat >>confdefs.h <<_ACEOF
17943#define HAVE_COMPLEX_H 1
17944_ACEOF
17945 ac_has_complex_h=yes
17946else
17947  ac_has_complex_h=no
17948fi
17949
17950done
17951
17952    if test x"$ac_has_complex_h" = x"yes"; then
17953      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17954$as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17955      if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17956  $as_echo_n "(cached) " >&6
17957else
17958
17959        if test x$gcc_no_link = xyes; then
17960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961/* end confdefs.h.  */
17962#include <complex.h>
17963           typedef __complex__ float float_type;
17964           typedef __complex__ double double_type;
17965           typedef __complex__ long double ld_type;
17966           volatile float_type tmpf;
17967           volatile double_type tmpd;
17968           volatile ld_type tmpld;
17969           volatile float f;
17970           volatile double d;
17971           volatile long double ld;
17972int
17973main ()
17974{
17975f = cabsf(tmpf);
17976           f = cargf(tmpf);
17977           tmpf = ccosf(tmpf);
17978           tmpf = ccoshf(tmpf);
17979           tmpf = cexpf(tmpf);
17980           tmpf = clogf(tmpf);
17981           tmpf = csinf(tmpf);
17982           tmpf = csinhf(tmpf);
17983           tmpf = csqrtf(tmpf);
17984           tmpf = ctanf(tmpf);
17985           tmpf = ctanhf(tmpf);
17986           tmpf = cpowf(tmpf, tmpf);
17987           tmpf = cprojf(tmpf);
17988           d = cabs(tmpd);
17989           d = carg(tmpd);
17990           tmpd = ccos(tmpd);
17991           tmpd = ccosh(tmpd);
17992           tmpd = cexp(tmpd);
17993           tmpd = clog(tmpd);
17994           tmpd = csin(tmpd);
17995           tmpd = csinh(tmpd);
17996           tmpd = csqrt(tmpd);
17997           tmpd = ctan(tmpd);
17998           tmpd = ctanh(tmpd);
17999           tmpd = cpow(tmpd, tmpd);
18000           tmpd = cproj(tmpd);
18001           ld = cabsl(tmpld);
18002           ld = cargl(tmpld);
18003           tmpld = ccosl(tmpld);
18004           tmpld = ccoshl(tmpld);
18005           tmpld = cexpl(tmpld);
18006           tmpld = clogl(tmpld);
18007           tmpld = csinl(tmpld);
18008           tmpld = csinhl(tmpld);
18009           tmpld = csqrtl(tmpld);
18010           tmpld = ctanl(tmpld);
18011           tmpld = ctanhl(tmpld);
18012           tmpld = cpowl(tmpld, tmpld);
18013           tmpld = cprojl(tmpld);
18014
18015  ;
18016  return 0;
18017}
18018_ACEOF
18019if ac_fn_cxx_try_compile "$LINENO"; then :
18020  glibcxx_cv_c99_complex_cxx11=yes
18021else
18022  glibcxx_cv_c99_complex_cxx11=no
18023fi
18024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18025else
18026  if test x$gcc_no_link = xyes; then
18027  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18028fi
18029cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18030/* end confdefs.h.  */
18031#include <complex.h>
18032           typedef __complex__ float float_type;
18033           typedef __complex__ double double_type;
18034           typedef __complex__ long double ld_type;
18035           volatile float_type tmpf;
18036           volatile double_type tmpd;
18037           volatile ld_type tmpld;
18038           volatile float f;
18039           volatile double d;
18040           volatile long double ld;
18041int
18042main ()
18043{
18044f = cabsf(tmpf);
18045           f = cargf(tmpf);
18046           tmpf = ccosf(tmpf);
18047           tmpf = ccoshf(tmpf);
18048           tmpf = cexpf(tmpf);
18049           tmpf = clogf(tmpf);
18050           tmpf = csinf(tmpf);
18051           tmpf = csinhf(tmpf);
18052           tmpf = csqrtf(tmpf);
18053           tmpf = ctanf(tmpf);
18054           tmpf = ctanhf(tmpf);
18055           tmpf = cpowf(tmpf, tmpf);
18056           tmpf = cprojf(tmpf);
18057           d = cabs(tmpd);
18058           d = carg(tmpd);
18059           tmpd = ccos(tmpd);
18060           tmpd = ccosh(tmpd);
18061           tmpd = cexp(tmpd);
18062           tmpd = clog(tmpd);
18063           tmpd = csin(tmpd);
18064           tmpd = csinh(tmpd);
18065           tmpd = csqrt(tmpd);
18066           tmpd = ctan(tmpd);
18067           tmpd = ctanh(tmpd);
18068           tmpd = cpow(tmpd, tmpd);
18069           tmpd = cproj(tmpd);
18070           ld = cabsl(tmpld);
18071           ld = cargl(tmpld);
18072           tmpld = ccosl(tmpld);
18073           tmpld = ccoshl(tmpld);
18074           tmpld = cexpl(tmpld);
18075           tmpld = clogl(tmpld);
18076           tmpld = csinl(tmpld);
18077           tmpld = csinhl(tmpld);
18078           tmpld = csqrtl(tmpld);
18079           tmpld = ctanl(tmpld);
18080           tmpld = ctanhl(tmpld);
18081           tmpld = cpowl(tmpld, tmpld);
18082           tmpld = cprojl(tmpld);
18083
18084  ;
18085  return 0;
18086}
18087_ACEOF
18088if ac_fn_cxx_try_link "$LINENO"; then :
18089  glibcxx_cv_c99_complex_cxx11=yes
18090else
18091  glibcxx_cv_c99_complex_cxx11=no
18092fi
18093rm -f core conftest.err conftest.$ac_objext \
18094    conftest$ac_exeext conftest.$ac_ext
18095fi
18096
18097fi
18098
18099    fi
18100    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18101$as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18102    if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18103
18104$as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18105
18106    fi
18107
18108    # Check for the existence in <stdio.h> of vscanf, et. al.
18109    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18110$as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18111    if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18112  $as_echo_n "(cached) " >&6
18113else
18114
18115      if test x$gcc_no_link = xyes; then
18116  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117/* end confdefs.h.  */
18118#include <stdio.h>
18119         #include <stdarg.h>
18120         void foo(char* fmt, ...)
18121         {
18122           va_list args; va_start(args, fmt);
18123           vfscanf(stderr, "%i", args);
18124           vscanf("%i", args);
18125           vsnprintf(fmt, 0, "%i", args);
18126           vsscanf(fmt, "%i", args);
18127           snprintf(fmt, 0, "%i");
18128         }
18129int
18130main ()
18131{
18132
18133  ;
18134  return 0;
18135}
18136_ACEOF
18137if ac_fn_cxx_try_compile "$LINENO"; then :
18138  glibcxx_cv_c99_stdio_cxx11=yes
18139else
18140  glibcxx_cv_c99_stdio_cxx11=no
18141fi
18142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18143else
18144  if test x$gcc_no_link = xyes; then
18145  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18146fi
18147cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148/* end confdefs.h.  */
18149#include <stdio.h>
18150         #include <stdarg.h>
18151         void foo(char* fmt, ...)
18152         {
18153           va_list args; va_start(args, fmt);
18154           vfscanf(stderr, "%i", args);
18155           vscanf("%i", args);
18156           vsnprintf(fmt, 0, "%i", args);
18157           vsscanf(fmt, "%i", args);
18158           snprintf(fmt, 0, "%i");
18159         }
18160int
18161main ()
18162{
18163
18164  ;
18165  return 0;
18166}
18167_ACEOF
18168if ac_fn_cxx_try_link "$LINENO"; then :
18169  glibcxx_cv_c99_stdio_cxx11=yes
18170else
18171  glibcxx_cv_c99_stdio_cxx11=no
18172fi
18173rm -f core conftest.err conftest.$ac_objext \
18174    conftest$ac_exeext conftest.$ac_ext
18175fi
18176
18177fi
18178
18179    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18180$as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18181    if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18182
18183$as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18184
18185    fi
18186
18187    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18188    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18189$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18190    if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18191  $as_echo_n "(cached) " >&6
18192else
18193
18194      if test x$gcc_no_link = xyes; then
18195  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196/* end confdefs.h.  */
18197#include <stdlib.h>
18198         volatile float f;
18199         volatile long double ld;
18200         volatile unsigned long long ll;
18201         lldiv_t mydivt;
18202int
18203main ()
18204{
18205char* tmp;
18206         f = strtof("gnu", &tmp);
18207         ld = strtold("gnu", &tmp);
18208         ll = strtoll("gnu", &tmp, 10);
18209         ll = strtoull("gnu", &tmp, 10);
18210         ll = llabs(10);
18211         mydivt = lldiv(10,1);
18212         ll = mydivt.quot;
18213         ll = mydivt.rem;
18214         ll = atoll("10");
18215         _Exit(0);
18216
18217  ;
18218  return 0;
18219}
18220_ACEOF
18221if ac_fn_cxx_try_compile "$LINENO"; then :
18222  glibcxx_cv_c99_stdlib_cxx11=yes
18223else
18224  glibcxx_cv_c99_stdlib_cxx11=no
18225fi
18226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18227else
18228  if test x$gcc_no_link = xyes; then
18229  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18230fi
18231cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232/* end confdefs.h.  */
18233#include <stdlib.h>
18234         volatile float f;
18235         volatile long double ld;
18236         volatile unsigned long long ll;
18237         lldiv_t mydivt;
18238int
18239main ()
18240{
18241char* tmp;
18242         f = strtof("gnu", &tmp);
18243         ld = strtold("gnu", &tmp);
18244         ll = strtoll("gnu", &tmp, 10);
18245         ll = strtoull("gnu", &tmp, 10);
18246         ll = llabs(10);
18247         mydivt = lldiv(10,1);
18248         ll = mydivt.quot;
18249         ll = mydivt.rem;
18250         ll = atoll("10");
18251         _Exit(0);
18252
18253  ;
18254  return 0;
18255}
18256_ACEOF
18257if ac_fn_cxx_try_link "$LINENO"; then :
18258  glibcxx_cv_c99_stdlib_cxx11=yes
18259else
18260  glibcxx_cv_c99_stdlib_cxx11=no
18261fi
18262rm -f core conftest.err conftest.$ac_objext \
18263    conftest$ac_exeext conftest.$ac_ext
18264fi
18265
18266fi
18267
18268    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18269$as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18270    if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18271
18272$as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18273
18274    fi
18275
18276    # Check for the existence in <wchar.h> of wcstold, etc.
18277    if test x"$ac_has_wchar_h" = xyes &&
18278       test x"$ac_has_wctype_h" = xyes; then
18279      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18280$as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18281      if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18282  $as_echo_n "(cached) " >&6
18283else
18284
18285        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286/* end confdefs.h.  */
18287#include <wchar.h>
18288          namespace test
18289          {
18290            using ::wcstold;
18291            using ::wcstoll;
18292            using ::wcstoull;
18293          }
18294
18295int
18296main ()
18297{
18298
18299  ;
18300  return 0;
18301}
18302_ACEOF
18303if ac_fn_cxx_try_compile "$LINENO"; then :
18304  glibcxx_cv_c99_wchar_cxx11=yes
18305else
18306  glibcxx_cv_c99_wchar_cxx11=no
18307fi
18308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18309
18310fi
18311
18312
18313      # Checks for wide character functions that may not be present.
18314      # Injection of these is wrapped with guard macros.
18315      # NB: only put functions here, instead of immediately above, if
18316      # absolutely necessary.
18317      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318/* end confdefs.h.  */
18319#include <wchar.h>
18320        namespace test { using ::vfwscanf; }
18321int
18322main ()
18323{
18324
18325  ;
18326  return 0;
18327}
18328_ACEOF
18329if ac_fn_cxx_try_compile "$LINENO"; then :
18330
18331$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18332
18333fi
18334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335
18336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18337/* end confdefs.h.  */
18338#include <wchar.h>
18339        namespace test { using ::vswscanf; }
18340int
18341main ()
18342{
18343
18344  ;
18345  return 0;
18346}
18347_ACEOF
18348if ac_fn_cxx_try_compile "$LINENO"; then :
18349
18350$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18351
18352fi
18353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18354
18355      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356/* end confdefs.h.  */
18357#include <wchar.h>
18358        namespace test { using ::vwscanf; }
18359int
18360main ()
18361{
18362
18363  ;
18364  return 0;
18365}
18366_ACEOF
18367if ac_fn_cxx_try_compile "$LINENO"; then :
18368
18369$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18370
18371fi
18372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373
18374      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375/* end confdefs.h.  */
18376#include <wchar.h>
18377        namespace test { using ::wcstof; }
18378int
18379main ()
18380{
18381
18382  ;
18383  return 0;
18384}
18385_ACEOF
18386if ac_fn_cxx_try_compile "$LINENO"; then :
18387
18388$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18389
18390fi
18391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18392
18393      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18394/* end confdefs.h.  */
18395#include <wctype.h>
18396int
18397main ()
18398{
18399wint_t t; int i = iswblank(t);
18400  ;
18401  return 0;
18402}
18403_ACEOF
18404if ac_fn_cxx_try_compile "$LINENO"; then :
18405
18406$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18407
18408fi
18409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410
18411      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18412$as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18413      if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18414
18415$as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18416
18417      fi
18418    fi
18419
18420    gcc_no_link="$ac_save_gcc_no_link"
18421    LIBS="$ac_save_LIBS"
18422    CXXFLAGS="$ac_save_CXXFLAGS"
18423    ac_ext=c
18424ac_cpp='$CPP $CPPFLAGS'
18425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18427ac_compiler_gnu=$ac_cv_c_compiler_gnu
18428
18429  fi
18430
18431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18432$as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18434$as_echo "$enable_c99" >&6; }
18435
18436
18437   # Check whether --enable-concept-checks was given.
18438if test "${enable_concept_checks+set}" = set; then :
18439  enableval=$enable_concept_checks;
18440      case "$enableval" in
18441       yes|no) ;;
18442       *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18443      esac
18444
18445else
18446  enable_concept_checks=no
18447fi
18448
18449
18450  if test $enable_concept_checks = yes; then
18451
18452$as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18453
18454  fi
18455
18456
18457   # Check whether --enable-libstdcxx-debug-flags was given.
18458if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18459  enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18460      xno | x)    enable_libstdcxx_debug_flags= ;;
18461      x-*)        ;;
18462      *)          as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18463     esac
18464else
18465  enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18466fi
18467
18468
18469
18470  # Option parsed, now set things appropriately
18471  DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18472
18473
18474  { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18475$as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18476
18477
18478  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18479$as_echo_n "checking for additional debug build... " >&6; }
18480  skip_debug_build=
18481   # Check whether --enable-libstdcxx-debug was given.
18482if test "${enable_libstdcxx_debug+set}" = set; then :
18483  enableval=$enable_libstdcxx_debug;
18484      case "$enableval" in
18485       yes|no) ;;
18486       *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18487      esac
18488
18489else
18490  enable_libstdcxx_debug=no
18491fi
18492
18493
18494  if test x$enable_libstdcxx_debug = xyes; then
18495    if test -f $toplevel_builddir/../stage_final \
18496      && test -f $toplevel_builddir/../stage_current; then
18497      stage_final=`cat $toplevel_builddir/../stage_final`
18498      stage_current=`cat $toplevel_builddir/../stage_current`
18499      if test x$stage_current != x$stage_final ; then
18500	skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18501	enable_libstdcxx_debug=no
18502      fi
18503    fi
18504  fi
18505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18506$as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18507
18508
18509
18510
18511  enable_parallel=no;
18512
18513  # See if configured libgomp/omp.h exists. (libgomp may be in
18514  # noconfigdirs but not explicitly disabled.)
18515  if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18516    enable_parallel=yes;
18517  else
18518    { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18519$as_echo "$as_me: target-libgomp not built" >&6;}
18520  fi
18521
18522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18523$as_echo_n "checking for parallel mode support... " >&6; }
18524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18525$as_echo "$enable_parallel" >&6; }
18526
18527  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18528$as_echo_n "checking for extra compiler flags for building... " >&6; }
18529   # Check whether --enable-cxx-flags was given.
18530if test "${enable_cxx_flags+set}" = set; then :
18531  enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18532      xno | x)   enable_cxx_flags= ;;
18533      x-*)       ;;
18534      *)         as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18535     esac
18536else
18537  enable_cxx_flags=
18538fi
18539
18540
18541
18542  # Run through flags (either default or command-line) and set anything
18543  # extra (e.g., #defines) that must accompany particular g++ options.
18544  if test -n "$enable_cxx_flags"; then
18545    for f in $enable_cxx_flags; do
18546      case "$f" in
18547	-fhonor-std)  ;;
18548	-*)  ;;
18549	*)   # and we're trying to pass /what/ exactly?
18550	     as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18551      esac
18552    done
18553  fi
18554
18555  EXTRA_CXX_FLAGS="$enable_cxx_flags"
18556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18557$as_echo "$EXTRA_CXX_FLAGS" >&6; }
18558
18559
18560
18561   # Check whether --enable-fully-dynamic-string was given.
18562if test "${enable_fully_dynamic_string+set}" = set; then :
18563  enableval=$enable_fully_dynamic_string;
18564      case "$enableval" in
18565       yes|no) ;;
18566       *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18567      esac
18568
18569else
18570  enable_fully_dynamic_string=no
18571fi
18572
18573
18574  if test $enable_fully_dynamic_string = yes; then
18575    enable_fully_dynamic_string_def=1
18576  else
18577    enable_fully_dynamic_string_def=0
18578  fi
18579
18580cat >>confdefs.h <<_ACEOF
18581#define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18582_ACEOF
18583
18584
18585
18586
18587   # Check whether --enable-extern-template was given.
18588if test "${enable_extern_template+set}" = set; then :
18589  enableval=$enable_extern_template;
18590      case "$enableval" in
18591       yes|no) ;;
18592       *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18593      esac
18594
18595else
18596  enable_extern_template=yes
18597fi
18598
18599
18600
18601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18602$as_echo_n "checking for extern template support... " >&6; }
18603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18604$as_echo "$enable_extern_template" >&6; }
18605
18606
18607
18608
18609
18610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18611$as_echo_n "checking for custom python install directory... " >&6; }
18612
18613# Check whether --with-python-dir was given.
18614if test "${with_python_dir+set}" = set; then :
18615  withval=$with_python_dir; with_python_dir=$withval
18616else
18617  with_python_dir="no"
18618fi
18619
18620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18621$as_echo "${with_python_dir}" >&6; }
18622
18623# Needed for installing Python modules during make install.
18624python_mod_dir="${with_python_dir}"
18625
18626
18627
18628
18629  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18630$as_echo_n "checking for -Werror... " >&6; }
18631   # Check whether --enable-werror was given.
18632if test "${enable_werror+set}" = set; then :
18633  enableval=$enable_werror;
18634      case "$enableval" in
18635       yes|no) ;;
18636       *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18637      esac
18638
18639else
18640  enable_werror=no
18641fi
18642
18643
18644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18645$as_echo "$enable_werror" >&6; }
18646
18647
18648
18649
18650   # Check whether --enable-vtable-verify was given.
18651if test "${enable_vtable_verify+set}" = set; then :
18652  enableval=$enable_vtable_verify;
18653      case "$enableval" in
18654       yes|no) ;;
18655       *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18656      esac
18657
18658else
18659  enable_vtable_verify=no
18660fi
18661
18662
18663
18664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18665$as_echo_n "checking for vtable verify support... " >&6; }
18666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18667$as_echo "$enable_vtable_verify" >&6; }
18668
18669  vtv_cygmin=no
18670  if test $enable_vtable_verify = yes; then
18671    case ${target_os} in
18672      cygwin*|mingw32*)
18673        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18674        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18675        vtv_cygmin=yes
18676        ;;
18677      darwin*)
18678        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18679        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18680        ;;
18681      solaris2*)
18682        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18683        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18684        ;;
18685      *)
18686        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18687        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18688        ;;
18689    esac
18690    VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18691  else
18692    VTV_CXXFLAGS=
18693    VTV_PCH_CXXFLAGS=
18694    VTV_CXXLINKFLAGS=
18695  fi
18696
18697
18698
18699
18700   if test x$vtv_cygmin = xyes; then
18701  VTV_CYGMIN_TRUE=
18702  VTV_CYGMIN_FALSE='#'
18703else
18704  VTV_CYGMIN_TRUE='#'
18705  VTV_CYGMIN_FALSE=
18706fi
18707
18708
18709
18710
18711# Checks for operating systems support that doesn't require linking.
18712
18713
18714
18715  ac_ext=cpp
18716ac_cpp='$CXXCPP $CPPFLAGS'
18717ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18718ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18719ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18720
18721  # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18722  # and we don't need a declaration for C++14 anyway.
18723  ac_save_CXXFLAGS="$CXXFLAGS"
18724  CXXFLAGS="$CXXFLAGS -std=gnu++11"
18725
18726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18727$as_echo_n "checking for gets declaration... " >&6; }
18728  if ${glibcxx_cv_gets+:} false; then :
18729  $as_echo_n "(cached) " >&6
18730else
18731
18732  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733/* end confdefs.h.  */
18734#include <stdio.h>
18735	   namespace test
18736	   {
18737              using ::gets;
18738	   }
18739
18740_ACEOF
18741if ac_fn_cxx_try_compile "$LINENO"; then :
18742  glibcxx_cv_gets=yes
18743else
18744  glibcxx_cv_gets=no
18745
18746fi
18747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18748fi
18749
18750
18751  if test $glibcxx_cv_gets = yes; then
18752
18753$as_echo "#define HAVE_GETS 1" >>confdefs.h
18754
18755  fi
18756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18757$as_echo "$glibcxx_cv_gets" >&6; }
18758
18759  CXXFLAGS="$ac_save_CXXFLAGS"
18760  ac_ext=c
18761ac_cpp='$CPP $CPPFLAGS'
18762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18764ac_compiler_gnu=$ac_cv_c_compiler_gnu
18765
18766
18767
18768
18769
18770  ac_ext=cpp
18771ac_cpp='$CXXCPP $CPPFLAGS'
18772ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18773ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18774ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18775
18776  ac_save_CXXFLAGS="$CXXFLAGS"
18777  CXXFLAGS="$CXXFLAGS -std=c++11"
18778
18779  case "$host" in
18780    *-*-solaris2.*)
18781      # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18782      # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18783      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18784$as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18785      if ${glibcxx_cv_math11_fp_overload+:} false; then :
18786  $as_echo_n "(cached) " >&6
18787else
18788
18789	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790/* end confdefs.h.  */
18791#include <math.h>
18792	   #undef isfinite
18793	   namespace std {
18794	     inline bool isfinite(float __x)
18795	     { return __builtin_isfinite(__x); }
18796	   }
18797
18798_ACEOF
18799if ac_fn_cxx_try_compile "$LINENO"; then :
18800  glibcxx_cv_math11_fp_overload=no
18801else
18802  glibcxx_cv_math11_fp_overload=yes
18803
18804fi
18805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18806fi
18807
18808
18809      # autoheader cannot handle indented templates.
18810
18811
18812      if test $glibcxx_cv_math11_fp_overload = yes; then
18813        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18814
18815      fi
18816      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18817$as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18818
18819      # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18820      # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18821      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18822$as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18823      if ${glibcxx_cv_math11_int_overload+:} false; then :
18824  $as_echo_n "(cached) " >&6
18825else
18826
18827	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828/* end confdefs.h.  */
18829#include <math.h>
18830	   namespace std {
18831	     template<typename _Tp>
18832	       struct __is_integer;
18833	     template<>
18834	       struct __is_integer<int>
18835	       {
18836	         enum { __value = 1 };
18837	       };
18838	   }
18839	   namespace __gnu_cxx {
18840	     template<bool, typename>
18841	       struct __enable_if;
18842	     template<typename _Tp>
18843	       struct __enable_if<true, _Tp>
18844	       { typedef _Tp __type; };
18845	   }
18846	   namespace std {
18847	     template<typename _Tp>
18848	       constexpr typename __gnu_cxx::__enable_if
18849	       		 <__is_integer<_Tp>::__value, double>::__type
18850	       log2(_Tp __x)
18851	       { return __builtin_log2(__x); }
18852	   }
18853	   int
18854	   main (void)
18855	   {
18856	     int i = 1000;
18857	     return std::log2(i);
18858	   }
18859
18860_ACEOF
18861if ac_fn_cxx_try_compile "$LINENO"; then :
18862  glibcxx_cv_math11_int_overload=no
18863else
18864  glibcxx_cv_math11_int_overload=yes
18865
18866fi
18867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18868fi
18869
18870
18871      # autoheader cannot handle indented templates.
18872
18873
18874      if test $glibcxx_cv_math11_int_overload = yes; then
18875        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18876
18877      fi
18878      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18879$as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18880      ;;
18881    *)
18882      # If <math.h> defines the obsolete isinf(double) and isnan(double)
18883      # functions (instead of or as well as the C99 generic macros) then we
18884      # can't define std::isinf(double) and std::isnan(double) in <cmath>
18885      # and must use the ones from <math.h> instead.
18886      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18887$as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18888        if ${glibcxx_cv_obsolete_isinf+:} false; then :
18889  $as_echo_n "(cached) " >&6
18890else
18891
18892          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18893/* end confdefs.h.  */
18894#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18895             #include <math.h>
18896             #undef isinf
18897             namespace std {
18898               using ::isinf;
18899               bool isinf(float);
18900               bool isinf(long double);
18901             }
18902             using std::isinf;
18903             bool b = isinf(0.0);
18904
18905_ACEOF
18906if ac_fn_cxx_try_compile "$LINENO"; then :
18907  glibcxx_cv_obsolete_isinf=yes
18908else
18909  glibcxx_cv_obsolete_isinf=no
18910
18911fi
18912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18913fi
18914
18915      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18916$as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18917      if test $glibcxx_cv_obsolete_isinf = yes; then
18918
18919$as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18920
18921      fi
18922
18923      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18924$as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18925        if ${glibcxx_cv_obsolete_isnan+:} false; then :
18926  $as_echo_n "(cached) " >&6
18927else
18928
18929          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18930/* end confdefs.h.  */
18931#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18932             #include <math.h>
18933             #undef isnan
18934             namespace std {
18935               using ::isnan;
18936               bool isnan(float);
18937               bool isnan(long double);
18938             }
18939             using std::isnan;
18940             bool b = isnan(0.0);
18941
18942_ACEOF
18943if ac_fn_cxx_try_compile "$LINENO"; then :
18944  glibcxx_cv_obsolete_isnan=yes
18945else
18946  glibcxx_cv_obsolete_isnan=no
18947
18948fi
18949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18950fi
18951
18952      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18953$as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18954      if test $glibcxx_cv_obsolete_isnan = yes; then
18955
18956$as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18957
18958      fi
18959      ;;
18960  esac
18961
18962  CXXFLAGS="$ac_save_CXXFLAGS"
18963  ac_ext=c
18964ac_cpp='$CPP $CPPFLAGS'
18965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18967ac_compiler_gnu=$ac_cv_c_compiler_gnu
18968
18969
18970
18971
18972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18973$as_echo_n "checking for EOWNERDEAD... " >&6; }
18974if ${glibcxx_cv_system_error1+:} false; then :
18975  $as_echo_n "(cached) " >&6
18976else
18977
18978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18979/* end confdefs.h.  */
18980#include <errno.h>
18981int
18982main ()
18983{
18984int i = EOWNERDEAD;
18985  ;
18986  return 0;
18987}
18988_ACEOF
18989if ac_fn_c_try_compile "$LINENO"; then :
18990  glibcxx_cv_system_error1=yes
18991else
18992  glibcxx_cv_system_error1=no
18993fi
18994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18995
18996fi
18997
18998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18999$as_echo "$glibcxx_cv_system_error1" >&6; }
19000if test x"$glibcxx_cv_system_error1" = x"yes"; then
19001
19002$as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
19003
19004fi
19005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
19006$as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
19007if ${glibcxx_cv_system_error2+:} false; then :
19008  $as_echo_n "(cached) " >&6
19009else
19010
19011cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19012/* end confdefs.h.  */
19013#include <errno.h>
19014int
19015main ()
19016{
19017int i = ENOTRECOVERABLE;
19018  ;
19019  return 0;
19020}
19021_ACEOF
19022if ac_fn_c_try_compile "$LINENO"; then :
19023  glibcxx_cv_system_error2=yes
19024else
19025  glibcxx_cv_system_error2=no
19026fi
19027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19028
19029fi
19030
19031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
19032$as_echo "$glibcxx_cv_system_error2" >&6; }
19033if test x"$glibcxx_cv_system_error2" = x"yes"; then
19034
19035$as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
19036
19037fi
19038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
19039$as_echo_n "checking for ENOLINK... " >&6; }
19040if ${glibcxx_cv_system_error3+:} false; then :
19041  $as_echo_n "(cached) " >&6
19042else
19043
19044cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19045/* end confdefs.h.  */
19046#include <errno.h>
19047int
19048main ()
19049{
19050int i = ENOLINK;
19051  ;
19052  return 0;
19053}
19054_ACEOF
19055if ac_fn_c_try_compile "$LINENO"; then :
19056  glibcxx_cv_system_error3=yes
19057else
19058  glibcxx_cv_system_error3=no
19059fi
19060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19061
19062fi
19063
19064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
19065$as_echo "$glibcxx_cv_system_error3" >&6; }
19066if test x"$glibcxx_cv_system_error3" = x"yes"; then
19067
19068$as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
19069
19070fi
19071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
19072$as_echo_n "checking for EPROTO... " >&6; }
19073if ${glibcxx_cv_system_error4+:} false; then :
19074  $as_echo_n "(cached) " >&6
19075else
19076
19077cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19078/* end confdefs.h.  */
19079#include <errno.h>
19080int
19081main ()
19082{
19083int i = EPROTO;
19084  ;
19085  return 0;
19086}
19087_ACEOF
19088if ac_fn_c_try_compile "$LINENO"; then :
19089  glibcxx_cv_system_error4=yes
19090else
19091  glibcxx_cv_system_error4=no
19092fi
19093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19094
19095fi
19096
19097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
19098$as_echo "$glibcxx_cv_system_error4" >&6; }
19099if test x"$glibcxx_cv_system_error4" = x"yes"; then
19100
19101$as_echo "#define HAVE_EPROTO 1" >>confdefs.h
19102
19103fi
19104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
19105$as_echo_n "checking for ENODATA... " >&6; }
19106if ${glibcxx_cv_system_error5+:} false; then :
19107  $as_echo_n "(cached) " >&6
19108else
19109
19110cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19111/* end confdefs.h.  */
19112#include <errno.h>
19113int
19114main ()
19115{
19116int i = ENODATA;
19117  ;
19118  return 0;
19119}
19120_ACEOF
19121if ac_fn_c_try_compile "$LINENO"; then :
19122  glibcxx_cv_system_error5=yes
19123else
19124  glibcxx_cv_system_error5=no
19125fi
19126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19127
19128fi
19129
19130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
19131$as_echo "$glibcxx_cv_system_error5" >&6; }
19132if test x"$glibcxx_cv_system_error5" = x"yes"; then
19133
19134$as_echo "#define HAVE_ENODATA 1" >>confdefs.h
19135
19136fi
19137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
19138$as_echo_n "checking for ENOSR... " >&6; }
19139if ${glibcxx_cv_system_error6+:} false; then :
19140  $as_echo_n "(cached) " >&6
19141else
19142
19143cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19144/* end confdefs.h.  */
19145#include <errno.h>
19146int
19147main ()
19148{
19149int i = ENOSR;
19150  ;
19151  return 0;
19152}
19153_ACEOF
19154if ac_fn_c_try_compile "$LINENO"; then :
19155  glibcxx_cv_system_error6=yes
19156else
19157  glibcxx_cv_system_error6=no
19158fi
19159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19160
19161fi
19162
19163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
19164$as_echo "$glibcxx_cv_system_error6" >&6; }
19165if test x"$glibcxx_cv_system_error6" = x"yes"; then
19166
19167$as_echo "#define HAVE_ENOSR 1" >>confdefs.h
19168
19169fi
19170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
19171$as_echo_n "checking for ENOSTR... " >&6; }
19172if ${glibcxx_cv_system_error7+:} false; then :
19173  $as_echo_n "(cached) " >&6
19174else
19175
19176cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19177/* end confdefs.h.  */
19178#include <errno.h>
19179int
19180main ()
19181{
19182int i = ENOSTR;
19183  ;
19184  return 0;
19185}
19186_ACEOF
19187if ac_fn_c_try_compile "$LINENO"; then :
19188  glibcxx_cv_system_error7=yes
19189else
19190  glibcxx_cv_system_error7=no
19191fi
19192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19193
19194fi
19195
19196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
19197$as_echo "$glibcxx_cv_system_error7" >&6; }
19198if test x"$glibcxx_cv_system_error7" = x"yes"; then
19199
19200$as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
19201
19202fi
19203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
19204$as_echo_n "checking for ETIME... " >&6; }
19205if ${glibcxx_cv_system_error8+:} false; then :
19206  $as_echo_n "(cached) " >&6
19207else
19208
19209cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19210/* end confdefs.h.  */
19211#include <errno.h>
19212int
19213main ()
19214{
19215int i = ETIME;
19216  ;
19217  return 0;
19218}
19219_ACEOF
19220if ac_fn_c_try_compile "$LINENO"; then :
19221  glibcxx_cv_system_error8=yes
19222else
19223  glibcxx_cv_system_error8=no
19224fi
19225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19226
19227fi
19228
19229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
19230$as_echo "$glibcxx_cv_system_error8" >&6; }
19231if test x"$glibcxx_cv_system_error8" = x"yes"; then
19232
19233$as_echo "#define HAVE_ETIME 1" >>confdefs.h
19234
19235fi
19236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19237$as_echo_n "checking for EBADMSG... " >&6; }
19238if ${glibcxx_cv_system_error9+:} false; then :
19239  $as_echo_n "(cached) " >&6
19240else
19241
19242cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19243/* end confdefs.h.  */
19244#include <errno.h>
19245int
19246main ()
19247{
19248int i = EBADMSG;
19249  ;
19250  return 0;
19251}
19252_ACEOF
19253if ac_fn_c_try_compile "$LINENO"; then :
19254  glibcxx_cv_system_error9=yes
19255else
19256  glibcxx_cv_system_error9=no
19257fi
19258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19259
19260fi
19261
19262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19263$as_echo "$glibcxx_cv_system_error9" >&6; }
19264if test x"$glibcxx_cv_system_error9" = x"yes"; then
19265
19266$as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19267
19268fi
19269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19270$as_echo_n "checking for ECANCELED... " >&6; }
19271if ${glibcxx_cv_system_error10+:} false; then :
19272  $as_echo_n "(cached) " >&6
19273else
19274
19275cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19276/* end confdefs.h.  */
19277#include <errno.h>
19278int
19279main ()
19280{
19281int i = ECANCELED;
19282  ;
19283  return 0;
19284}
19285_ACEOF
19286if ac_fn_c_try_compile "$LINENO"; then :
19287  glibcxx_cv_system_error10=yes
19288else
19289  glibcxx_cv_system_error10=no
19290fi
19291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19292
19293fi
19294
19295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19296$as_echo "$glibcxx_cv_system_error10" >&6; }
19297if test x"$glibcxx_cv_system_error10" = x"yes"; then
19298
19299$as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19300
19301fi
19302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19303$as_echo_n "checking for EOVERFLOW... " >&6; }
19304if ${glibcxx_cv_system_error11+:} false; then :
19305  $as_echo_n "(cached) " >&6
19306else
19307
19308cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19309/* end confdefs.h.  */
19310#include <errno.h>
19311int
19312main ()
19313{
19314int i = EOVERFLOW;
19315  ;
19316  return 0;
19317}
19318_ACEOF
19319if ac_fn_c_try_compile "$LINENO"; then :
19320  glibcxx_cv_system_error11=yes
19321else
19322  glibcxx_cv_system_error11=no
19323fi
19324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19325
19326fi
19327
19328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19329$as_echo "$glibcxx_cv_system_error11" >&6; }
19330if test x"$glibcxx_cv_system_error11" = x"yes"; then
19331
19332$as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19333
19334fi
19335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19336$as_echo_n "checking for ENOTSUP... " >&6; }
19337if ${glibcxx_cv_system_error12+:} false; then :
19338  $as_echo_n "(cached) " >&6
19339else
19340
19341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19342/* end confdefs.h.  */
19343#include <errno.h>
19344int
19345main ()
19346{
19347int i = ENOTSUP;
19348  ;
19349  return 0;
19350}
19351_ACEOF
19352if ac_fn_c_try_compile "$LINENO"; then :
19353  glibcxx_cv_system_error12=yes
19354else
19355  glibcxx_cv_system_error12=no
19356fi
19357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19358
19359fi
19360
19361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19362$as_echo "$glibcxx_cv_system_error12" >&6; }
19363if test x"$glibcxx_cv_system_error12" = x"yes"; then
19364
19365$as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19366
19367fi
19368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19369$as_echo_n "checking for EIDRM... " >&6; }
19370if ${glibcxx_cv_system_error13+:} false; then :
19371  $as_echo_n "(cached) " >&6
19372else
19373
19374cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19375/* end confdefs.h.  */
19376#include <errno.h>
19377int
19378main ()
19379{
19380int i = EIDRM;
19381  ;
19382  return 0;
19383}
19384_ACEOF
19385if ac_fn_c_try_compile "$LINENO"; then :
19386  glibcxx_cv_system_error13=yes
19387else
19388  glibcxx_cv_system_error13=no
19389fi
19390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19391
19392fi
19393
19394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19395$as_echo "$glibcxx_cv_system_error13" >&6; }
19396if test x"$glibcxx_cv_system_error13" = x"yes"; then
19397
19398$as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19399
19400fi
19401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19402$as_echo_n "checking for ETXTBSY... " >&6; }
19403if ${glibcxx_cv_system_error14+:} false; then :
19404  $as_echo_n "(cached) " >&6
19405else
19406
19407cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19408/* end confdefs.h.  */
19409#include <errno.h>
19410int
19411main ()
19412{
19413int i = ETXTBSY;
19414  ;
19415  return 0;
19416}
19417_ACEOF
19418if ac_fn_c_try_compile "$LINENO"; then :
19419  glibcxx_cv_system_error14=yes
19420else
19421  glibcxx_cv_system_error14=no
19422fi
19423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19424
19425fi
19426
19427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19428$as_echo "$glibcxx_cv_system_error14" >&6; }
19429if test x"$glibcxx_cv_system_error14" = x"yes"; then
19430
19431$as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19432
19433fi
19434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19435$as_echo_n "checking for ECHILD... " >&6; }
19436if ${glibcxx_cv_system_error15+:} false; then :
19437  $as_echo_n "(cached) " >&6
19438else
19439
19440cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441/* end confdefs.h.  */
19442#include <errno.h>
19443int
19444main ()
19445{
19446int i = ECHILD;
19447  ;
19448  return 0;
19449}
19450_ACEOF
19451if ac_fn_c_try_compile "$LINENO"; then :
19452  glibcxx_cv_system_error15=yes
19453else
19454  glibcxx_cv_system_error15=no
19455fi
19456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19457
19458fi
19459
19460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19461$as_echo "$glibcxx_cv_system_error15" >&6; }
19462if test x"$glibcxx_cv_system_error15" = x"yes"; then
19463
19464$as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19465
19466fi
19467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19468$as_echo_n "checking for ENOSPC... " >&6; }
19469if ${glibcxx_cv_system_error16+:} false; then :
19470  $as_echo_n "(cached) " >&6
19471else
19472
19473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19474/* end confdefs.h.  */
19475#include <errno.h>
19476int
19477main ()
19478{
19479int i = ENOSPC;
19480  ;
19481  return 0;
19482}
19483_ACEOF
19484if ac_fn_c_try_compile "$LINENO"; then :
19485  glibcxx_cv_system_error16=yes
19486else
19487  glibcxx_cv_system_error16=no
19488fi
19489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19490
19491fi
19492
19493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19494$as_echo "$glibcxx_cv_system_error16" >&6; }
19495if test x"$glibcxx_cv_system_error16" = x"yes"; then
19496
19497$as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19498
19499fi
19500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19501$as_echo_n "checking for EPERM... " >&6; }
19502if ${glibcxx_cv_system_error17+:} false; then :
19503  $as_echo_n "(cached) " >&6
19504else
19505
19506cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507/* end confdefs.h.  */
19508#include <errno.h>
19509int
19510main ()
19511{
19512int i = EPERM;
19513  ;
19514  return 0;
19515}
19516_ACEOF
19517if ac_fn_c_try_compile "$LINENO"; then :
19518  glibcxx_cv_system_error17=yes
19519else
19520  glibcxx_cv_system_error17=no
19521fi
19522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523
19524fi
19525
19526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19527$as_echo "$glibcxx_cv_system_error17" >&6; }
19528if test x"$glibcxx_cv_system_error17" = x"yes"; then
19529
19530$as_echo "#define HAVE_EPERM 1" >>confdefs.h
19531
19532fi
19533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19534$as_echo_n "checking for ETIMEDOUT... " >&6; }
19535if ${glibcxx_cv_system_error18+:} false; then :
19536  $as_echo_n "(cached) " >&6
19537else
19538
19539cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540/* end confdefs.h.  */
19541#include <errno.h>
19542int
19543main ()
19544{
19545int i = ETIMEDOUT;
19546  ;
19547  return 0;
19548}
19549_ACEOF
19550if ac_fn_c_try_compile "$LINENO"; then :
19551  glibcxx_cv_system_error18=yes
19552else
19553  glibcxx_cv_system_error18=no
19554fi
19555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19556
19557fi
19558
19559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19560$as_echo "$glibcxx_cv_system_error18" >&6; }
19561if test x"$glibcxx_cv_system_error18" = x"yes"; then
19562
19563$as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19564
19565fi
19566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19567$as_echo_n "checking for EWOULDBLOCK... " >&6; }
19568if ${glibcxx_cv_system_error19+:} false; then :
19569  $as_echo_n "(cached) " >&6
19570else
19571
19572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19573/* end confdefs.h.  */
19574#include <errno.h>
19575int
19576main ()
19577{
19578int i = EWOULDBLOCK;
19579  ;
19580  return 0;
19581}
19582_ACEOF
19583if ac_fn_c_try_compile "$LINENO"; then :
19584  glibcxx_cv_system_error19=yes
19585else
19586  glibcxx_cv_system_error19=no
19587fi
19588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19589
19590fi
19591
19592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19593$as_echo "$glibcxx_cv_system_error19" >&6; }
19594if test x"$glibcxx_cv_system_error19" = x"yes"; then
19595
19596$as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19597
19598fi
19599
19600
19601
19602
19603  # Test uchar.h.
19604  for ac_header in uchar.h
19605do :
19606  ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19607if test "x$ac_cv_header_uchar_h" = xyes; then :
19608  cat >>confdefs.h <<_ACEOF
19609#define HAVE_UCHAR_H 1
19610_ACEOF
19611 ac_has_uchar_h=yes
19612else
19613  ac_has_uchar_h=no
19614fi
19615
19616done
19617
19618
19619
19620  ac_ext=cpp
19621ac_cpp='$CXXCPP $CPPFLAGS'
19622ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19625
19626  ac_save_CXXFLAGS="$CXXFLAGS"
19627  CXXFLAGS="$CXXFLAGS -std=c++11"
19628
19629  if test x"$ac_has_uchar_h" = x"yes"; then
19630    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19631$as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19632    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19633/* end confdefs.h.  */
19634#include <uchar.h>
19635		    #ifdef __STDC_UTF_16__
19636		    long i = __STDC_UTF_16__;
19637		    #endif
19638		    #ifdef __STDC_UTF_32__
19639		    long j = __STDC_UTF_32__;
19640		    #endif
19641		    namespace test
19642		    {
19643		      using ::c16rtomb;
19644		      using ::c32rtomb;
19645		      using ::mbrtoc16;
19646		      using ::mbrtoc32;
19647		    }
19648
19649int
19650main ()
19651{
19652
19653  ;
19654  return 0;
19655}
19656_ACEOF
19657if ac_fn_cxx_try_compile "$LINENO"; then :
19658  ac_c11_uchar_cxx11=yes
19659else
19660  ac_c11_uchar_cxx11=no
19661fi
19662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663  else
19664    ac_c11_uchar_cxx11=no
19665  fi
19666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19667$as_echo "$ac_c11_uchar_cxx11" >&6; }
19668  if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19669
19670$as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19671
19672  fi
19673
19674  CXXFLAGS="$ac_save_CXXFLAGS"
19675  ac_ext=c
19676ac_cpp='$CPP $CPPFLAGS'
19677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19679ac_compiler_gnu=$ac_cv_c_compiler_gnu
19680
19681
19682
19683# For the streamoff typedef.
19684
19685
19686
19687  ac_ext=cpp
19688ac_cpp='$CXXCPP $CPPFLAGS'
19689ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19690ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19691ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19692
19693
19694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19695$as_echo_n "checking for int64_t... " >&6; }
19696  if ${glibcxx_cv_INT64_T+:} false; then :
19697  $as_echo_n "(cached) " >&6
19698else
19699
19700    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19701/* end confdefs.h.  */
19702#include <stdint.h>
19703int
19704main ()
19705{
19706int64_t var;
19707  ;
19708  return 0;
19709}
19710_ACEOF
19711if ac_fn_cxx_try_compile "$LINENO"; then :
19712  glibcxx_cv_INT64_T=yes
19713else
19714  glibcxx_cv_INT64_T=no
19715fi
19716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19717
19718fi
19719
19720
19721  if test $glibcxx_cv_INT64_T = yes; then
19722
19723$as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19724
19725    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19726$as_echo "$glibcxx_cv_INT64_T" >&6; }
19727
19728    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19729$as_echo_n "checking for int64_t as long... " >&6; }
19730    if ${glibcxx_cv_int64_t_long+:} false; then :
19731  $as_echo_n "(cached) " >&6
19732else
19733
19734      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19735/* end confdefs.h.  */
19736#include <stdint.h>
19737	template<typename, typename> struct same { enum { value = -1 }; };
19738	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19739	int array[same<int64_t, long>::value];
19740int
19741main ()
19742{
19743
19744  ;
19745  return 0;
19746}
19747_ACEOF
19748if ac_fn_cxx_try_compile "$LINENO"; then :
19749  glibcxx_cv_int64_t_long=yes
19750else
19751  glibcxx_cv_int64_t_long=no
19752fi
19753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19754
19755fi
19756
19757
19758    if test $glibcxx_cv_int64_t_long = yes; then
19759
19760$as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19761
19762      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19763$as_echo "$glibcxx_cv_int64_t_long" >&6; }
19764    fi
19765
19766    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19767$as_echo_n "checking for int64_t as long long... " >&6; }
19768    if ${glibcxx_cv_int64_t_long_long+:} false; then :
19769  $as_echo_n "(cached) " >&6
19770else
19771
19772      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19773/* end confdefs.h.  */
19774#include <stdint.h>
19775	template<typename, typename> struct same { enum { value = -1 }; };
19776	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19777	int array[same<int64_t, long long>::value];
19778int
19779main ()
19780{
19781
19782  ;
19783  return 0;
19784}
19785_ACEOF
19786if ac_fn_cxx_try_compile "$LINENO"; then :
19787  glibcxx_cv_int64_t_long_long=yes
19788else
19789  glibcxx_cv_int64_t_long_long=no
19790fi
19791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792
19793fi
19794
19795
19796    if test $glibcxx_cv_int64_t_long_long = yes; then
19797
19798$as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19799
19800      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19801$as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19802    fi
19803  fi
19804
19805  ac_ext=c
19806ac_cpp='$CPP $CPPFLAGS'
19807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809ac_compiler_gnu=$ac_cv_c_compiler_gnu
19810
19811
19812
19813# For LFS support.
19814
19815
19816  ac_ext=cpp
19817ac_cpp='$CXXCPP $CPPFLAGS'
19818ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19819ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19820ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19821
19822  ac_save_CXXFLAGS="$CXXFLAGS"
19823  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19825$as_echo_n "checking for LFS support... " >&6; }
19826  if ${glibcxx_cv_LFS+:} false; then :
19827  $as_echo_n "(cached) " >&6
19828else
19829
19830    if test x$gcc_no_link = xyes; then
19831  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832/* end confdefs.h.  */
19833#include <unistd.h>
19834       #include <stdio.h>
19835       #include <sys/stat.h>
19836
19837int
19838main ()
19839{
19840FILE* fp;
19841       fopen64("t", "w");
19842       fseeko64(fp, 0, SEEK_CUR);
19843       ftello64(fp);
19844       lseek64(1, 0, SEEK_CUR);
19845       struct stat64 buf;
19846       fstat64(1, &buf);
19847  ;
19848  return 0;
19849}
19850_ACEOF
19851if ac_fn_cxx_try_compile "$LINENO"; then :
19852  glibcxx_cv_LFS=yes
19853else
19854  glibcxx_cv_LFS=no
19855fi
19856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19857else
19858  if test x$gcc_no_link = xyes; then
19859  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19860fi
19861cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862/* end confdefs.h.  */
19863#include <unistd.h>
19864       #include <stdio.h>
19865       #include <sys/stat.h>
19866
19867int
19868main ()
19869{
19870FILE* fp;
19871       fopen64("t", "w");
19872       fseeko64(fp, 0, SEEK_CUR);
19873       ftello64(fp);
19874       lseek64(1, 0, SEEK_CUR);
19875       struct stat64 buf;
19876       fstat64(1, &buf);
19877  ;
19878  return 0;
19879}
19880_ACEOF
19881if ac_fn_cxx_try_link "$LINENO"; then :
19882  glibcxx_cv_LFS=yes
19883else
19884  glibcxx_cv_LFS=no
19885fi
19886rm -f core conftest.err conftest.$ac_objext \
19887    conftest$ac_exeext conftest.$ac_ext
19888fi
19889
19890fi
19891
19892  if test $glibcxx_cv_LFS = yes; then
19893
19894$as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19895
19896  fi
19897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19898$as_echo "$glibcxx_cv_LFS" >&6; }
19899  CXXFLAGS="$ac_save_CXXFLAGS"
19900  ac_ext=c
19901ac_cpp='$CPP $CPPFLAGS'
19902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19904ac_compiler_gnu=$ac_cv_c_compiler_gnu
19905
19906
19907
19908# For showmanyc_helper().
19909for ac_header in sys/ioctl.h sys/filio.h
19910do :
19911  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19912ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19913if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19914  cat >>confdefs.h <<_ACEOF
19915#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19916_ACEOF
19917
19918fi
19919
19920done
19921
19922
19923
19924
19925  ac_ext=cpp
19926ac_cpp='$CXXCPP $CPPFLAGS'
19927ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19928ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19929ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19930
19931  ac_save_CXXFLAGS="$CXXFLAGS"
19932  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19933
19934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19935$as_echo_n "checking for poll... " >&6; }
19936  if ${glibcxx_cv_POLL+:} false; then :
19937  $as_echo_n "(cached) " >&6
19938else
19939
19940    if test x$gcc_no_link = xyes; then
19941  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19942/* end confdefs.h.  */
19943#include <poll.h>
19944int
19945main ()
19946{
19947struct pollfd pfd[1];
19948       pfd[0].events = POLLIN;
19949       poll(pfd, 1, 0);
19950  ;
19951  return 0;
19952}
19953_ACEOF
19954if ac_fn_cxx_try_compile "$LINENO"; then :
19955  glibcxx_cv_POLL=yes
19956else
19957  glibcxx_cv_POLL=no
19958fi
19959rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19960else
19961  if test x$gcc_no_link = xyes; then
19962  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19963fi
19964cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19965/* end confdefs.h.  */
19966#include <poll.h>
19967int
19968main ()
19969{
19970struct pollfd pfd[1];
19971       pfd[0].events = POLLIN;
19972       poll(pfd, 1, 0);
19973  ;
19974  return 0;
19975}
19976_ACEOF
19977if ac_fn_cxx_try_link "$LINENO"; then :
19978  glibcxx_cv_POLL=yes
19979else
19980  glibcxx_cv_POLL=no
19981fi
19982rm -f core conftest.err conftest.$ac_objext \
19983    conftest$ac_exeext conftest.$ac_ext
19984fi
19985
19986fi
19987
19988  if test $glibcxx_cv_POLL = yes; then
19989
19990$as_echo "#define HAVE_POLL 1" >>confdefs.h
19991
19992  fi
19993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19994$as_echo "$glibcxx_cv_POLL" >&6; }
19995
19996  CXXFLAGS="$ac_save_CXXFLAGS"
19997  ac_ext=c
19998ac_cpp='$CPP $CPPFLAGS'
19999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20001ac_compiler_gnu=$ac_cv_c_compiler_gnu
20002
20003
20004
20005
20006
20007  ac_ext=cpp
20008ac_cpp='$CXXCPP $CPPFLAGS'
20009ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20010ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20011ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20012
20013  ac_save_CXXFLAGS="$CXXFLAGS"
20014  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20015
20016  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20017$as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20018  if ${glibcxx_cv_S_ISREG+:} false; then :
20019  $as_echo_n "(cached) " >&6
20020else
20021
20022    if test x$gcc_no_link = xyes; then
20023  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024/* end confdefs.h.  */
20025#include <sys/stat.h>
20026int
20027main ()
20028{
20029struct stat buffer;
20030       fstat(0, &buffer);
20031       S_ISREG(buffer.st_mode);
20032  ;
20033  return 0;
20034}
20035_ACEOF
20036if ac_fn_cxx_try_compile "$LINENO"; then :
20037  glibcxx_cv_S_ISREG=yes
20038else
20039  glibcxx_cv_S_ISREG=no
20040fi
20041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20042else
20043  if test x$gcc_no_link = xyes; then
20044  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20045fi
20046cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20047/* end confdefs.h.  */
20048#include <sys/stat.h>
20049int
20050main ()
20051{
20052struct stat buffer;
20053       fstat(0, &buffer);
20054       S_ISREG(buffer.st_mode);
20055  ;
20056  return 0;
20057}
20058_ACEOF
20059if ac_fn_cxx_try_link "$LINENO"; then :
20060  glibcxx_cv_S_ISREG=yes
20061else
20062  glibcxx_cv_S_ISREG=no
20063fi
20064rm -f core conftest.err conftest.$ac_objext \
20065    conftest$ac_exeext conftest.$ac_ext
20066fi
20067
20068fi
20069
20070  if ${glibcxx_cv_S_IFREG+:} false; then :
20071  $as_echo_n "(cached) " >&6
20072else
20073
20074    if test x$gcc_no_link = xyes; then
20075  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20076/* end confdefs.h.  */
20077#include <sys/stat.h>
20078int
20079main ()
20080{
20081struct stat buffer;
20082       fstat(0, &buffer);
20083       S_IFREG & buffer.st_mode;
20084  ;
20085  return 0;
20086}
20087_ACEOF
20088if ac_fn_cxx_try_compile "$LINENO"; then :
20089  glibcxx_cv_S_IFREG=yes
20090else
20091  glibcxx_cv_S_IFREG=no
20092fi
20093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20094else
20095  if test x$gcc_no_link = xyes; then
20096  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20097fi
20098cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20099/* end confdefs.h.  */
20100#include <sys/stat.h>
20101int
20102main ()
20103{
20104struct stat buffer;
20105       fstat(0, &buffer);
20106       S_IFREG & buffer.st_mode;
20107  ;
20108  return 0;
20109}
20110_ACEOF
20111if ac_fn_cxx_try_link "$LINENO"; then :
20112  glibcxx_cv_S_IFREG=yes
20113else
20114  glibcxx_cv_S_IFREG=no
20115fi
20116rm -f core conftest.err conftest.$ac_objext \
20117    conftest$ac_exeext conftest.$ac_ext
20118fi
20119
20120fi
20121
20122  res=no
20123  if test $glibcxx_cv_S_ISREG = yes; then
20124
20125$as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20126
20127    res=S_ISREG
20128  elif test $glibcxx_cv_S_IFREG = yes; then
20129
20130$as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20131
20132    res=S_IFREG
20133  fi
20134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20135$as_echo "$res" >&6; }
20136
20137  CXXFLAGS="$ac_save_CXXFLAGS"
20138  ac_ext=c
20139ac_cpp='$CPP $CPPFLAGS'
20140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20142ac_compiler_gnu=$ac_cv_c_compiler_gnu
20143
20144
20145
20146# For xsputn_2().
20147for ac_header in sys/uio.h
20148do :
20149  ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20150if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20151  cat >>confdefs.h <<_ACEOF
20152#define HAVE_SYS_UIO_H 1
20153_ACEOF
20154
20155fi
20156
20157done
20158
20159
20160
20161
20162  ac_ext=cpp
20163ac_cpp='$CXXCPP $CPPFLAGS'
20164ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20165ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20166ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20167
20168  ac_save_CXXFLAGS="$CXXFLAGS"
20169  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20170
20171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20172$as_echo_n "checking for writev... " >&6; }
20173  if ${glibcxx_cv_WRITEV+:} false; then :
20174  $as_echo_n "(cached) " >&6
20175else
20176
20177    if test x$gcc_no_link = xyes; then
20178  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20179/* end confdefs.h.  */
20180#include <sys/uio.h>
20181int
20182main ()
20183{
20184struct iovec iov[2];
20185       writev(0, iov, 0);
20186  ;
20187  return 0;
20188}
20189_ACEOF
20190if ac_fn_cxx_try_compile "$LINENO"; then :
20191  glibcxx_cv_WRITEV=yes
20192else
20193  glibcxx_cv_WRITEV=no
20194fi
20195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20196else
20197  if test x$gcc_no_link = xyes; then
20198  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20199fi
20200cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201/* end confdefs.h.  */
20202#include <sys/uio.h>
20203int
20204main ()
20205{
20206struct iovec iov[2];
20207       writev(0, iov, 0);
20208  ;
20209  return 0;
20210}
20211_ACEOF
20212if ac_fn_cxx_try_link "$LINENO"; then :
20213  glibcxx_cv_WRITEV=yes
20214else
20215  glibcxx_cv_WRITEV=no
20216fi
20217rm -f core conftest.err conftest.$ac_objext \
20218    conftest$ac_exeext conftest.$ac_ext
20219fi
20220
20221fi
20222
20223  if test $glibcxx_cv_WRITEV = yes; then
20224
20225$as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20226
20227  fi
20228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20229$as_echo "$glibcxx_cv_WRITEV" >&6; }
20230
20231  CXXFLAGS="$ac_save_CXXFLAGS"
20232  ac_ext=c
20233ac_cpp='$CPP $CPPFLAGS'
20234ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236ac_compiler_gnu=$ac_cv_c_compiler_gnu
20237
20238
20239
20240# Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20241# so that the check is done with the C compiler (not C++).
20242# Checking with C++ can break a canadian cross build if either
20243# file does not exist in C but does in C++.
20244for ac_header in fenv.h complex.h
20245do :
20246  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20247ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20248if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20249  cat >>confdefs.h <<_ACEOF
20250#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20251_ACEOF
20252
20253fi
20254
20255done
20256
20257
20258# For C99 support to TR1.
20259
20260
20261
20262  ac_ext=cpp
20263ac_cpp='$CXXCPP $CPPFLAGS'
20264ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20265ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20266ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20267
20268
20269  # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20270  # undefined and fake C99 facilities may be spuriously enabled.
20271  ac_save_CXXFLAGS="$CXXFLAGS"
20272  CXXFLAGS="$CXXFLAGS -std=c++98"
20273
20274  # Check for the existence of <complex.h> complex math functions used
20275  # by tr1/complex.
20276  for ac_header in complex.h
20277do :
20278  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20279if test "x$ac_cv_header_complex_h" = xyes; then :
20280  cat >>confdefs.h <<_ACEOF
20281#define HAVE_COMPLEX_H 1
20282_ACEOF
20283 ac_has_complex_h=yes
20284else
20285  ac_has_complex_h=no
20286fi
20287
20288done
20289
20290  ac_c99_complex_tr1=no;
20291  if test x"$ac_has_complex_h" = x"yes"; then
20292    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20293$as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20294    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20295/* end confdefs.h.  */
20296#include <complex.h>
20297int
20298main ()
20299{
20300typedef __complex__ float float_type; float_type tmpf;
20301		    cacosf(tmpf);
20302		    casinf(tmpf);
20303		    catanf(tmpf);
20304		    cacoshf(tmpf);
20305		    casinhf(tmpf);
20306		    catanhf(tmpf);
20307		    typedef __complex__ double double_type; double_type tmpd;
20308		    cacos(tmpd);
20309		    casin(tmpd);
20310		    catan(tmpd);
20311		    cacosh(tmpd);
20312		    casinh(tmpd);
20313		    catanh(tmpd);
20314		    typedef __complex__ long double ld_type; ld_type tmpld;
20315		    cacosl(tmpld);
20316		    casinl(tmpld);
20317		    catanl(tmpld);
20318		    cacoshl(tmpld);
20319		    casinhl(tmpld);
20320		    catanhl(tmpld);
20321
20322  ;
20323  return 0;
20324}
20325_ACEOF
20326if ac_fn_cxx_try_compile "$LINENO"; then :
20327  ac_c99_complex_tr1=yes
20328else
20329  ac_c99_complex_tr1=no
20330fi
20331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20332  fi
20333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20334$as_echo "$ac_c99_complex_tr1" >&6; }
20335  if test x"$ac_c99_complex_tr1" = x"yes"; then
20336
20337$as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20338
20339  fi
20340
20341  # Check for the existence of <ctype.h> functions.
20342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20343$as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20344  if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20345  $as_echo_n "(cached) " >&6
20346else
20347
20348  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20349/* end confdefs.h.  */
20350#include <ctype.h>
20351int
20352main ()
20353{
20354int ch;
20355		  int ret;
20356		  ret = isblank(ch);
20357
20358  ;
20359  return 0;
20360}
20361_ACEOF
20362if ac_fn_cxx_try_compile "$LINENO"; then :
20363  glibcxx_cv_c99_ctype_tr1=yes
20364else
20365  glibcxx_cv_c99_ctype_tr1=no
20366fi
20367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20368
20369fi
20370
20371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20372$as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20373  if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20374
20375$as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20376
20377  fi
20378
20379  # Check for the existence of <fenv.h> functions.
20380  for ac_header in fenv.h
20381do :
20382  ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20383if test "x$ac_cv_header_fenv_h" = xyes; then :
20384  cat >>confdefs.h <<_ACEOF
20385#define HAVE_FENV_H 1
20386_ACEOF
20387 ac_has_fenv_h=yes
20388else
20389  ac_has_fenv_h=no
20390fi
20391
20392done
20393
20394  ac_c99_fenv_tr1=no;
20395  if test x"$ac_has_fenv_h" = x"yes"; then
20396    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20397$as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20398    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20399/* end confdefs.h.  */
20400#include <fenv.h>
20401int
20402main ()
20403{
20404int except, mode;
20405		    fexcept_t* pflag;
20406		    fenv_t* penv;
20407		    int ret;
20408		    ret = feclearexcept(except);
20409		    ret = fegetexceptflag(pflag, except);
20410		    ret = feraiseexcept(except);
20411		    ret = fesetexceptflag(pflag, except);
20412		    ret = fetestexcept(except);
20413		    ret = fegetround();
20414		    ret = fesetround(mode);
20415		    ret = fegetenv(penv);
20416		    ret = feholdexcept(penv);
20417		    ret = fesetenv(penv);
20418		    ret = feupdateenv(penv);
20419
20420  ;
20421  return 0;
20422}
20423_ACEOF
20424if ac_fn_cxx_try_compile "$LINENO"; then :
20425  ac_c99_fenv_tr1=yes
20426else
20427  ac_c99_fenv_tr1=no
20428fi
20429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20430  fi
20431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20432$as_echo "$ac_c99_fenv_tr1" >&6; }
20433  if test x"$ac_c99_fenv_tr1" = x"yes"; then
20434
20435$as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20436
20437  fi
20438
20439  # Check for the existence of <stdint.h> types.
20440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20441$as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20442  if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20443  $as_echo_n "(cached) " >&6
20444else
20445
20446  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20447/* end confdefs.h.  */
20448#define __STDC_LIMIT_MACROS
20449		  #define __STDC_CONSTANT_MACROS
20450		  #include <stdint.h>
20451int
20452main ()
20453{
20454typedef int8_t          my_int8_t;
20455		  my_int8_t               i8 = INT8_MIN;
20456		  i8 = INT8_MAX;
20457		  typedef int16_t         my_int16_t;
20458		  my_int16_t              i16 = INT16_MIN;
20459		  i16 = INT16_MAX;
20460		  typedef int32_t         my_int32_t;
20461		  my_int32_t              i32 = INT32_MIN;
20462		  i32 = INT32_MAX;
20463		  typedef int64_t         my_int64_t;
20464		  my_int64_t              i64 = INT64_MIN;
20465		  i64 = INT64_MAX;
20466		  typedef int_fast8_t     my_int_fast8_t;
20467		  my_int_fast8_t          if8 = INT_FAST8_MIN;
20468		  if8 = INT_FAST8_MAX;
20469		  typedef int_fast16_t    my_int_fast16_t;
20470		  my_int_fast16_t         if16 = INT_FAST16_MIN;
20471		  if16 = INT_FAST16_MAX;
20472		  typedef int_fast32_t    my_int_fast32_t;
20473		  my_int_fast32_t         if32 = INT_FAST32_MIN;
20474		  if32 = INT_FAST32_MAX;
20475		  typedef int_fast64_t    my_int_fast64_t;
20476		  my_int_fast64_t         if64 = INT_FAST64_MIN;
20477		  if64 = INT_FAST64_MAX;
20478		  typedef int_least8_t    my_int_least8_t;
20479		  my_int_least8_t         il8 = INT_LEAST8_MIN;
20480		  il8 = INT_LEAST8_MAX;
20481		  typedef int_least16_t   my_int_least16_t;
20482		  my_int_least16_t        il16 = INT_LEAST16_MIN;
20483		  il16 = INT_LEAST16_MAX;
20484		  typedef int_least32_t   my_int_least32_t;
20485		  my_int_least32_t        il32 = INT_LEAST32_MIN;
20486		  il32 = INT_LEAST32_MAX;
20487		  typedef int_least64_t   my_int_least64_t;
20488		  my_int_least64_t        il64 = INT_LEAST64_MIN;
20489		  il64 = INT_LEAST64_MAX;
20490		  typedef intmax_t        my_intmax_t;
20491		  my_intmax_t             im = INTMAX_MAX;
20492		  im = INTMAX_MIN;
20493		  typedef intptr_t        my_intptr_t;
20494		  my_intptr_t             ip = INTPTR_MAX;
20495		  ip = INTPTR_MIN;
20496		  typedef uint8_t         my_uint8_t;
20497		  my_uint8_t              ui8 = UINT8_MAX;
20498		  ui8 = UINT8_MAX;
20499		  typedef uint16_t        my_uint16_t;
20500		  my_uint16_t             ui16 = UINT16_MAX;
20501		  ui16 = UINT16_MAX;
20502		  typedef uint32_t        my_uint32_t;
20503		  my_uint32_t             ui32 = UINT32_MAX;
20504		  ui32 = UINT32_MAX;
20505		  typedef uint64_t        my_uint64_t;
20506		  my_uint64_t             ui64 = UINT64_MAX;
20507		  ui64 = UINT64_MAX;
20508		  typedef uint_fast8_t    my_uint_fast8_t;
20509		  my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
20510		  uif8 = UINT_FAST8_MAX;
20511		  typedef uint_fast16_t   my_uint_fast16_t;
20512		  my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
20513		  uif16 = UINT_FAST16_MAX;
20514		  typedef uint_fast32_t   my_uint_fast32_t;
20515		  my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
20516		  uif32 = UINT_FAST32_MAX;
20517		  typedef uint_fast64_t   my_uint_fast64_t;
20518		  my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
20519		  uif64 = UINT_FAST64_MAX;
20520		  typedef uint_least8_t   my_uint_least8_t;
20521		  my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
20522		  uil8 = UINT_LEAST8_MAX;
20523		  typedef uint_least16_t  my_uint_least16_t;
20524		  my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
20525		  uil16 = UINT_LEAST16_MAX;
20526		  typedef uint_least32_t  my_uint_least32_t;
20527		  my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
20528		  uil32 = UINT_LEAST32_MAX;
20529		  typedef uint_least64_t  my_uint_least64_t;
20530		  my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
20531		  uil64 = UINT_LEAST64_MAX;
20532		  typedef uintmax_t       my_uintmax_t;
20533		  my_uintmax_t            uim = UINTMAX_MAX;
20534		  uim = UINTMAX_MAX;
20535		  typedef uintptr_t       my_uintptr_t;
20536		  my_uintptr_t            uip = UINTPTR_MAX;
20537		  uip = UINTPTR_MAX;
20538
20539  ;
20540  return 0;
20541}
20542_ACEOF
20543if ac_fn_cxx_try_compile "$LINENO"; then :
20544  glibcxx_cv_c99_stdint_tr1=yes
20545else
20546  glibcxx_cv_c99_stdint_tr1=no
20547fi
20548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20549
20550fi
20551
20552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20553$as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20554  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20555
20556$as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20557
20558  fi
20559
20560  # Check for the existence of <math.h> functions.
20561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20562$as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20563  if ${glibcxx_cv_c99_math_tr1+:} false; then :
20564  $as_echo_n "(cached) " >&6
20565else
20566
20567  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20568/* end confdefs.h.  */
20569#include <math.h>
20570int
20571main ()
20572{
20573typedef double_t  my_double_t;
20574		  typedef float_t   my_float_t;
20575		  acosh(0.0);
20576		  acoshf(0.0f);
20577		  acoshl(0.0l);
20578		  asinh(0.0);
20579		  asinhf(0.0f);
20580		  asinhl(0.0l);
20581		  atanh(0.0);
20582		  atanhf(0.0f);
20583		  atanhl(0.0l);
20584		  cbrt(0.0);
20585		  cbrtf(0.0f);
20586		  cbrtl(0.0l);
20587		  copysign(0.0, 0.0);
20588		  copysignf(0.0f, 0.0f);
20589		  copysignl(0.0l, 0.0l);
20590		  erf(0.0);
20591		  erff(0.0f);
20592		  erfl(0.0l);
20593		  erfc(0.0);
20594		  erfcf(0.0f);
20595		  erfcl(0.0l);
20596		  exp2(0.0);
20597		  exp2f(0.0f);
20598		  exp2l(0.0l);
20599		  expm1(0.0);
20600		  expm1f(0.0f);
20601		  expm1l(0.0l);
20602		  fdim(0.0, 0.0);
20603		  fdimf(0.0f, 0.0f);
20604		  fdiml(0.0l, 0.0l);
20605		  fma(0.0, 0.0, 0.0);
20606		  fmaf(0.0f, 0.0f, 0.0f);
20607		  fmal(0.0l, 0.0l, 0.0l);
20608		  fmax(0.0, 0.0);
20609		  fmaxf(0.0f, 0.0f);
20610		  fmaxl(0.0l, 0.0l);
20611		  fmin(0.0, 0.0);
20612		  fminf(0.0f, 0.0f);
20613		  fminl(0.0l, 0.0l);
20614		  hypot(0.0, 0.0);
20615		  hypotf(0.0f, 0.0f);
20616		  hypotl(0.0l, 0.0l);
20617		  ilogb(0.0);
20618		  ilogbf(0.0f);
20619		  ilogbl(0.0l);
20620		  lgamma(0.0);
20621		  lgammaf(0.0f);
20622		  lgammal(0.0l);
20623		  #ifndef __APPLE__ /* see below */
20624		  llrint(0.0);
20625		  llrintf(0.0f);
20626		  llrintl(0.0l);
20627		  llround(0.0);
20628		  llroundf(0.0f);
20629		  llroundl(0.0l);
20630		  #endif
20631		  log1p(0.0);
20632		  log1pf(0.0f);
20633		  log1pl(0.0l);
20634		  log2(0.0);
20635		  log2f(0.0f);
20636		  log2l(0.0l);
20637		  logb(0.0);
20638		  logbf(0.0f);
20639		  logbl(0.0l);
20640		  lrint(0.0);
20641		  lrintf(0.0f);
20642		  lrintl(0.0l);
20643		  lround(0.0);
20644		  lroundf(0.0f);
20645		  lroundl(0.0l);
20646		  nan(0);
20647		  nanf(0);
20648		  nanl(0);
20649		  nearbyint(0.0);
20650		  nearbyintf(0.0f);
20651		  nearbyintl(0.0l);
20652		  nextafter(0.0, 0.0);
20653		  nextafterf(0.0f, 0.0f);
20654		  nextafterl(0.0l, 0.0l);
20655		  nexttoward(0.0, 0.0);
20656		  nexttowardf(0.0f, 0.0f);
20657		  nexttowardl(0.0l, 0.0l);
20658		  remainder(0.0, 0.0);
20659		  remainderf(0.0f, 0.0f);
20660		  remainderl(0.0l, 0.0l);
20661		  remquo(0.0, 0.0, 0);
20662		  remquof(0.0f, 0.0f, 0);
20663		  remquol(0.0l, 0.0l, 0);
20664		  rint(0.0);
20665		  rintf(0.0f);
20666		  rintl(0.0l);
20667		  round(0.0);
20668		  roundf(0.0f);
20669		  roundl(0.0l);
20670		  scalbln(0.0, 0l);
20671		  scalblnf(0.0f, 0l);
20672		  scalblnl(0.0l, 0l);
20673		  scalbn(0.0, 0);
20674		  scalbnf(0.0f, 0);
20675		  scalbnl(0.0l, 0);
20676		  tgamma(0.0);
20677		  tgammaf(0.0f);
20678		  tgammal(0.0l);
20679		  trunc(0.0);
20680		  truncf(0.0f);
20681		  truncl(0.0l);
20682
20683  ;
20684  return 0;
20685}
20686_ACEOF
20687if ac_fn_cxx_try_compile "$LINENO"; then :
20688  glibcxx_cv_c99_math_tr1=yes
20689else
20690  glibcxx_cv_c99_math_tr1=no
20691fi
20692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20693
20694fi
20695
20696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20697$as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20698  if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20699
20700$as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20701
20702
20703    case "${target_os}" in
20704      darwin*)
20705        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20706$as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20707        if ${glibcxx_cv_c99_math_llround+:} false; then :
20708  $as_echo_n "(cached) " >&6
20709else
20710
20711          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712/* end confdefs.h.  */
20713#include <math.h>
20714int
20715main ()
20716{
20717llrint(0.0);
20718		  llrintf(0.0f);
20719		  llrintl(0.0l);
20720		  llround(0.0);
20721		  llroundf(0.0f);
20722		  llroundl(0.0l);
20723
20724  ;
20725  return 0;
20726}
20727_ACEOF
20728if ac_fn_cxx_try_compile "$LINENO"; then :
20729  glibcxx_cv_c99_math_llround=yes
20730else
20731  glibcxx_cv_c99_math_llround=no
20732fi
20733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20734
20735fi
20736
20737	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20738$as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20739        ;;
20740    esac
20741    if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20742
20743$as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20744
20745    fi
20746  fi
20747
20748  # Check for the existence of <inttypes.h> functions (NB: doesn't make
20749  # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20750  ac_c99_inttypes_tr1=no;
20751  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20752    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20753$as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20754    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20755/* end confdefs.h.  */
20756#include <inttypes.h>
20757int
20758main ()
20759{
20760intmax_t i, numer, denom, base;
20761		    const char* s;
20762		    char** endptr;
20763		    intmax_t ret = imaxabs(i);
20764		    imaxdiv_t dret = imaxdiv(numer, denom);
20765		    ret = strtoimax(s, endptr, base);
20766		    uintmax_t uret = strtoumax(s, endptr, base);
20767
20768  ;
20769  return 0;
20770}
20771_ACEOF
20772if ac_fn_cxx_try_compile "$LINENO"; then :
20773  ac_c99_inttypes_tr1=yes
20774else
20775  ac_c99_inttypes_tr1=no
20776fi
20777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20778  fi
20779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20780$as_echo "$ac_c99_inttypes_tr1" >&6; }
20781  if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20782
20783$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20784
20785  fi
20786
20787  # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20788  # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20789  ac_c99_inttypes_wchar_t_tr1=no;
20790  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20791    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20792$as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20793    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20794/* end confdefs.h.  */
20795#include <inttypes.h>
20796int
20797main ()
20798{
20799intmax_t base;
20800		    const wchar_t* s;
20801		    wchar_t** endptr;
20802		    intmax_t ret = wcstoimax(s, endptr, base);
20803		    uintmax_t uret = wcstoumax(s, endptr, base);
20804
20805  ;
20806  return 0;
20807}
20808_ACEOF
20809if ac_fn_cxx_try_compile "$LINENO"; then :
20810  ac_c99_inttypes_wchar_t_tr1=yes
20811else
20812  ac_c99_inttypes_wchar_t_tr1=no
20813fi
20814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20815  fi
20816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20817$as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20818  if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20819
20820$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20821
20822  fi
20823
20824  # Check for the existence of the <stdbool.h> header.
20825  for ac_header in stdbool.h
20826do :
20827  ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20828if test "x$ac_cv_header_stdbool_h" = xyes; then :
20829  cat >>confdefs.h <<_ACEOF
20830#define HAVE_STDBOOL_H 1
20831_ACEOF
20832
20833fi
20834
20835done
20836
20837
20838  # Check for the existence of the <stdalign.h> header.
20839  for ac_header in stdalign.h
20840do :
20841  ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20842if test "x$ac_cv_header_stdalign_h" = xyes; then :
20843  cat >>confdefs.h <<_ACEOF
20844#define HAVE_STDALIGN_H 1
20845_ACEOF
20846
20847fi
20848
20849done
20850
20851
20852  CXXFLAGS="$ac_save_CXXFLAGS"
20853  ac_ext=c
20854ac_cpp='$CPP $CPPFLAGS'
20855ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20856ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20857ac_compiler_gnu=$ac_cv_c_compiler_gnu
20858
20859
20860
20861# For the EOF, SEEK_CUR, and SEEK_END integer constants.
20862
20863
20864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20865$as_echo_n "checking for the value of EOF... " >&6; }
20866if ${glibcxx_cv_stdio_eof+:} false; then :
20867  $as_echo_n "(cached) " >&6
20868else
20869
20870  if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
20871
20872else
20873  as_fn_error $? "computing EOF failed" "$LINENO" 5
20874fi
20875
20876
20877fi
20878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20879$as_echo "$glibcxx_cv_stdio_eof" >&6; }
20880
20881cat >>confdefs.h <<_ACEOF
20882#define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20883_ACEOF
20884
20885
20886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20887$as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20888if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20889  $as_echo_n "(cached) " >&6
20890else
20891
20892  if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
20893
20894else
20895  as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20896fi
20897
20898
20899fi
20900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20901$as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20902
20903cat >>confdefs.h <<_ACEOF
20904#define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20905_ACEOF
20906
20907
20908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20909$as_echo_n "checking for the value of SEEK_END... " >&6; }
20910if ${glibcxx_cv_stdio_seek_end+:} false; then :
20911  $as_echo_n "(cached) " >&6
20912else
20913
20914  if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
20915
20916else
20917  as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20918fi
20919
20920
20921fi
20922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20923$as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20924
20925cat >>confdefs.h <<_ACEOF
20926#define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20927_ACEOF
20928
20929
20930
20931# For gettimeofday support.
20932
20933
20934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20935$as_echo_n "checking for gettimeofday... " >&6; }
20936
20937
20938  ac_ext=cpp
20939ac_cpp='$CXXCPP $CPPFLAGS'
20940ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20941ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20942ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20943
20944  ac_save_CXXFLAGS="$CXXFLAGS"
20945  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20946
20947  ac_has_gettimeofday=no;
20948  for ac_header in sys/time.h
20949do :
20950  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20951if test "x$ac_cv_header_sys_time_h" = xyes; then :
20952  cat >>confdefs.h <<_ACEOF
20953#define HAVE_SYS_TIME_H 1
20954_ACEOF
20955 ac_has_sys_time_h=yes
20956else
20957  ac_has_sys_time_h=no
20958fi
20959
20960done
20961
20962  if test x"$ac_has_sys_time_h" = x"yes"; then
20963    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20964$as_echo_n "checking for gettimeofday... " >&6; }
20965    if test x$gcc_no_link = xyes; then
20966  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20967/* end confdefs.h.  */
20968#include <sys/time.h>
20969int
20970main ()
20971{
20972timeval tv; gettimeofday(&tv, 0);
20973  ;
20974  return 0;
20975}
20976_ACEOF
20977if ac_fn_cxx_try_compile "$LINENO"; then :
20978  ac_has_gettimeofday=yes
20979else
20980  ac_has_gettimeofday=no
20981fi
20982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20983else
20984  if test x$gcc_no_link = xyes; then
20985  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20986fi
20987cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988/* end confdefs.h.  */
20989#include <sys/time.h>
20990int
20991main ()
20992{
20993timeval tv; gettimeofday(&tv, 0);
20994  ;
20995  return 0;
20996}
20997_ACEOF
20998if ac_fn_cxx_try_link "$LINENO"; then :
20999  ac_has_gettimeofday=yes
21000else
21001  ac_has_gettimeofday=no
21002fi
21003rm -f core conftest.err conftest.$ac_objext \
21004    conftest$ac_exeext conftest.$ac_ext
21005fi
21006
21007    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21008$as_echo "$ac_has_gettimeofday" >&6; }
21009  fi
21010
21011  if test x"$ac_has_gettimeofday" = x"yes"; then
21012
21013$as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21014
21015  fi
21016
21017  CXXFLAGS="$ac_save_CXXFLAGS"
21018  ac_ext=c
21019ac_cpp='$CPP $CPPFLAGS'
21020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21022ac_compiler_gnu=$ac_cv_c_compiler_gnu
21023
21024
21025
21026# For clock_gettime, nanosleep and sched_yield support.
21027
21028
21029   # Check whether --enable-libstdcxx-time was given.
21030if test "${enable_libstdcxx_time+set}" = set; then :
21031  enableval=$enable_libstdcxx_time;
21032      case "$enableval" in
21033       yes|no|rt) ;;
21034       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21035	  	        esac
21036
21037else
21038  enable_libstdcxx_time=auto
21039fi
21040
21041
21042
21043
21044  ac_ext=cpp
21045ac_cpp='$CXXCPP $CPPFLAGS'
21046ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21049
21050  ac_save_CXXFLAGS="$CXXFLAGS"
21051  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21052  ac_save_LIBS="$LIBS"
21053
21054  ac_has_clock_monotonic=no
21055  ac_has_clock_realtime=no
21056  ac_has_nanosleep=no
21057  ac_has_sched_yield=no
21058
21059  if test x"$enable_libstdcxx_time" = x"auto"; then
21060
21061    case "${target_os}" in
21062      cygwin*)
21063        ac_has_nanosleep=yes
21064        ;;
21065      darwin*)
21066        ac_has_nanosleep=yes
21067        ac_has_sched_yield=yes
21068        ;;
21069      # VxWorks has nanosleep as soon as the kernel is configured with
21070      # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21071      vxworks*)
21072        ac_has_nanosleep=yes
21073        ;;
21074      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21075        # Don't use link test for freestanding library, in case gcc_no_link=yes
21076        if test x"$is_hosted" = xyes; then
21077          # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21078          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21079$as_echo_n "checking for library containing clock_gettime... " >&6; }
21080if ${ac_cv_search_clock_gettime+:} false; then :
21081  $as_echo_n "(cached) " >&6
21082else
21083  ac_func_search_save_LIBS=$LIBS
21084cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21085/* end confdefs.h.  */
21086
21087/* Override any GCC internal prototype to avoid an error.
21088   Use char because int might match the return type of a GCC
21089   builtin and then its argument prototype would still apply.  */
21090#ifdef __cplusplus
21091extern "C"
21092#endif
21093char clock_gettime ();
21094int
21095main ()
21096{
21097return clock_gettime ();
21098  ;
21099  return 0;
21100}
21101_ACEOF
21102for ac_lib in '' rt; do
21103  if test -z "$ac_lib"; then
21104    ac_res="none required"
21105  else
21106    ac_res=-l$ac_lib
21107    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21108  fi
21109  if test x$gcc_no_link = xyes; then
21110  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21111fi
21112if ac_fn_cxx_try_link "$LINENO"; then :
21113  ac_cv_search_clock_gettime=$ac_res
21114fi
21115rm -f core conftest.err conftest.$ac_objext \
21116    conftest$ac_exeext
21117  if ${ac_cv_search_clock_gettime+:} false; then :
21118  break
21119fi
21120done
21121if ${ac_cv_search_clock_gettime+:} false; then :
21122
21123else
21124  ac_cv_search_clock_gettime=no
21125fi
21126rm conftest.$ac_ext
21127LIBS=$ac_func_search_save_LIBS
21128fi
21129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21130$as_echo "$ac_cv_search_clock_gettime" >&6; }
21131ac_res=$ac_cv_search_clock_gettime
21132if test "$ac_res" != no; then :
21133  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21134
21135fi
21136
21137          if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21138            ac_has_clock_monotonic=yes
21139            ac_has_clock_realtime=yes
21140          fi
21141        fi
21142        ac_has_nanosleep=yes
21143        ac_has_sched_yield=yes
21144        ;;
21145      freebsd*|netbsd*|dragonfly*|rtems*)
21146        ac_has_clock_monotonic=yes
21147        ac_has_clock_realtime=yes
21148        ac_has_nanosleep=yes
21149        ac_has_sched_yield=yes
21150        ;;
21151      openbsd*)
21152        ac_has_clock_monotonic=yes
21153        ac_has_clock_realtime=yes
21154        ac_has_nanosleep=yes
21155        ;;
21156      solaris*)
21157        GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
21158        ac_has_clock_monotonic=yes
21159        ac_has_clock_realtime=yes
21160        ac_has_nanosleep=yes
21161        ac_has_sched_yield=yes
21162        ;;
21163      uclinux*)
21164        ac_has_nanosleep=yes
21165        ac_has_sched_yield=yes
21166    esac
21167
21168  elif test x"$enable_libstdcxx_time" != x"no"; then
21169
21170    if test x"$enable_libstdcxx_time" = x"rt"; then
21171      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21172$as_echo_n "checking for library containing clock_gettime... " >&6; }
21173if ${ac_cv_search_clock_gettime+:} false; then :
21174  $as_echo_n "(cached) " >&6
21175else
21176  ac_func_search_save_LIBS=$LIBS
21177cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178/* end confdefs.h.  */
21179
21180/* Override any GCC internal prototype to avoid an error.
21181   Use char because int might match the return type of a GCC
21182   builtin and then its argument prototype would still apply.  */
21183#ifdef __cplusplus
21184extern "C"
21185#endif
21186char clock_gettime ();
21187int
21188main ()
21189{
21190return clock_gettime ();
21191  ;
21192  return 0;
21193}
21194_ACEOF
21195for ac_lib in '' rt posix4; do
21196  if test -z "$ac_lib"; then
21197    ac_res="none required"
21198  else
21199    ac_res=-l$ac_lib
21200    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21201  fi
21202  if test x$gcc_no_link = xyes; then
21203  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21204fi
21205if ac_fn_cxx_try_link "$LINENO"; then :
21206  ac_cv_search_clock_gettime=$ac_res
21207fi
21208rm -f core conftest.err conftest.$ac_objext \
21209    conftest$ac_exeext
21210  if ${ac_cv_search_clock_gettime+:} false; then :
21211  break
21212fi
21213done
21214if ${ac_cv_search_clock_gettime+:} false; then :
21215
21216else
21217  ac_cv_search_clock_gettime=no
21218fi
21219rm conftest.$ac_ext
21220LIBS=$ac_func_search_save_LIBS
21221fi
21222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21223$as_echo "$ac_cv_search_clock_gettime" >&6; }
21224ac_res=$ac_cv_search_clock_gettime
21225if test "$ac_res" != no; then :
21226  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21227
21228fi
21229
21230      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21231$as_echo_n "checking for library containing nanosleep... " >&6; }
21232if ${ac_cv_search_nanosleep+:} false; then :
21233  $as_echo_n "(cached) " >&6
21234else
21235  ac_func_search_save_LIBS=$LIBS
21236cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21237/* end confdefs.h.  */
21238
21239/* Override any GCC internal prototype to avoid an error.
21240   Use char because int might match the return type of a GCC
21241   builtin and then its argument prototype would still apply.  */
21242#ifdef __cplusplus
21243extern "C"
21244#endif
21245char nanosleep ();
21246int
21247main ()
21248{
21249return nanosleep ();
21250  ;
21251  return 0;
21252}
21253_ACEOF
21254for ac_lib in '' rt posix4; do
21255  if test -z "$ac_lib"; then
21256    ac_res="none required"
21257  else
21258    ac_res=-l$ac_lib
21259    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21260  fi
21261  if test x$gcc_no_link = xyes; then
21262  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21263fi
21264if ac_fn_cxx_try_link "$LINENO"; then :
21265  ac_cv_search_nanosleep=$ac_res
21266fi
21267rm -f core conftest.err conftest.$ac_objext \
21268    conftest$ac_exeext
21269  if ${ac_cv_search_nanosleep+:} false; then :
21270  break
21271fi
21272done
21273if ${ac_cv_search_nanosleep+:} false; then :
21274
21275else
21276  ac_cv_search_nanosleep=no
21277fi
21278rm conftest.$ac_ext
21279LIBS=$ac_func_search_save_LIBS
21280fi
21281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21282$as_echo "$ac_cv_search_nanosleep" >&6; }
21283ac_res=$ac_cv_search_nanosleep
21284if test "$ac_res" != no; then :
21285  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21286
21287fi
21288
21289    else
21290      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21291$as_echo_n "checking for library containing clock_gettime... " >&6; }
21292if ${ac_cv_search_clock_gettime+:} false; then :
21293  $as_echo_n "(cached) " >&6
21294else
21295  ac_func_search_save_LIBS=$LIBS
21296cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21297/* end confdefs.h.  */
21298
21299/* Override any GCC internal prototype to avoid an error.
21300   Use char because int might match the return type of a GCC
21301   builtin and then its argument prototype would still apply.  */
21302#ifdef __cplusplus
21303extern "C"
21304#endif
21305char clock_gettime ();
21306int
21307main ()
21308{
21309return clock_gettime ();
21310  ;
21311  return 0;
21312}
21313_ACEOF
21314for ac_lib in '' posix4; do
21315  if test -z "$ac_lib"; then
21316    ac_res="none required"
21317  else
21318    ac_res=-l$ac_lib
21319    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21320  fi
21321  if test x$gcc_no_link = xyes; then
21322  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21323fi
21324if ac_fn_cxx_try_link "$LINENO"; then :
21325  ac_cv_search_clock_gettime=$ac_res
21326fi
21327rm -f core conftest.err conftest.$ac_objext \
21328    conftest$ac_exeext
21329  if ${ac_cv_search_clock_gettime+:} false; then :
21330  break
21331fi
21332done
21333if ${ac_cv_search_clock_gettime+:} false; then :
21334
21335else
21336  ac_cv_search_clock_gettime=no
21337fi
21338rm conftest.$ac_ext
21339LIBS=$ac_func_search_save_LIBS
21340fi
21341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21342$as_echo "$ac_cv_search_clock_gettime" >&6; }
21343ac_res=$ac_cv_search_clock_gettime
21344if test "$ac_res" != no; then :
21345  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21346
21347fi
21348
21349      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21350$as_echo_n "checking for library containing nanosleep... " >&6; }
21351if ${ac_cv_search_nanosleep+:} false; then :
21352  $as_echo_n "(cached) " >&6
21353else
21354  ac_func_search_save_LIBS=$LIBS
21355cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21356/* end confdefs.h.  */
21357
21358/* Override any GCC internal prototype to avoid an error.
21359   Use char because int might match the return type of a GCC
21360   builtin and then its argument prototype would still apply.  */
21361#ifdef __cplusplus
21362extern "C"
21363#endif
21364char nanosleep ();
21365int
21366main ()
21367{
21368return nanosleep ();
21369  ;
21370  return 0;
21371}
21372_ACEOF
21373for ac_lib in '' posix4; do
21374  if test -z "$ac_lib"; then
21375    ac_res="none required"
21376  else
21377    ac_res=-l$ac_lib
21378    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21379  fi
21380  if test x$gcc_no_link = xyes; then
21381  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21382fi
21383if ac_fn_cxx_try_link "$LINENO"; then :
21384  ac_cv_search_nanosleep=$ac_res
21385fi
21386rm -f core conftest.err conftest.$ac_objext \
21387    conftest$ac_exeext
21388  if ${ac_cv_search_nanosleep+:} false; then :
21389  break
21390fi
21391done
21392if ${ac_cv_search_nanosleep+:} false; then :
21393
21394else
21395  ac_cv_search_nanosleep=no
21396fi
21397rm conftest.$ac_ext
21398LIBS=$ac_func_search_save_LIBS
21399fi
21400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21401$as_echo "$ac_cv_search_nanosleep" >&6; }
21402ac_res=$ac_cv_search_nanosleep
21403if test "$ac_res" != no; then :
21404  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21405
21406fi
21407
21408    fi
21409
21410    case "$ac_cv_search_clock_gettime" in
21411      -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21412      ;;
21413    esac
21414    case "$ac_cv_search_nanosleep" in
21415      -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21416      ;;
21417    esac
21418
21419    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21420$as_echo_n "checking for library containing sched_yield... " >&6; }
21421if ${ac_cv_search_sched_yield+:} false; then :
21422  $as_echo_n "(cached) " >&6
21423else
21424  ac_func_search_save_LIBS=$LIBS
21425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426/* end confdefs.h.  */
21427
21428/* Override any GCC internal prototype to avoid an error.
21429   Use char because int might match the return type of a GCC
21430   builtin and then its argument prototype would still apply.  */
21431#ifdef __cplusplus
21432extern "C"
21433#endif
21434char sched_yield ();
21435int
21436main ()
21437{
21438return sched_yield ();
21439  ;
21440  return 0;
21441}
21442_ACEOF
21443for ac_lib in '' rt posix4; do
21444  if test -z "$ac_lib"; then
21445    ac_res="none required"
21446  else
21447    ac_res=-l$ac_lib
21448    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21449  fi
21450  if test x$gcc_no_link = xyes; then
21451  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21452fi
21453if ac_fn_cxx_try_link "$LINENO"; then :
21454  ac_cv_search_sched_yield=$ac_res
21455fi
21456rm -f core conftest.err conftest.$ac_objext \
21457    conftest$ac_exeext
21458  if ${ac_cv_search_sched_yield+:} false; then :
21459  break
21460fi
21461done
21462if ${ac_cv_search_sched_yield+:} false; then :
21463
21464else
21465  ac_cv_search_sched_yield=no
21466fi
21467rm conftest.$ac_ext
21468LIBS=$ac_func_search_save_LIBS
21469fi
21470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21471$as_echo "$ac_cv_search_sched_yield" >&6; }
21472ac_res=$ac_cv_search_sched_yield
21473if test "$ac_res" != no; then :
21474  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21475
21476fi
21477
21478
21479    case "$ac_cv_search_sched_yield" in
21480      -lposix4*)
21481      GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21482      ac_has_sched_yield=yes
21483      ;;
21484      -lrt*)
21485      if test x"$enable_libstdcxx_time" = x"rt"; then
21486	GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21487        ac_has_sched_yield=yes
21488      fi
21489      ;;
21490      *)
21491      ac_has_sched_yield=yes
21492      ;;
21493    esac
21494
21495    for ac_header in unistd.h
21496do :
21497  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21498if test "x$ac_cv_header_unistd_h" = xyes; then :
21499  cat >>confdefs.h <<_ACEOF
21500#define HAVE_UNISTD_H 1
21501_ACEOF
21502 ac_has_unistd_h=yes
21503else
21504  ac_has_unistd_h=no
21505fi
21506
21507done
21508
21509
21510    if test x"$ac_has_unistd_h" = x"yes"; then
21511      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21512$as_echo_n "checking for monotonic clock... " >&6; }
21513      if test x$gcc_no_link = xyes; then
21514  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21515fi
21516cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21517/* end confdefs.h.  */
21518#include <unistd.h>
21519	 #include <time.h>
21520
21521int
21522main ()
21523{
21524#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21525	  timespec tp;
21526	 #endif
21527	  clock_gettime(CLOCK_MONOTONIC, &tp);
21528
21529  ;
21530  return 0;
21531}
21532_ACEOF
21533if ac_fn_cxx_try_link "$LINENO"; then :
21534  ac_has_clock_monotonic=yes
21535else
21536  ac_has_clock_monotonic=no
21537fi
21538rm -f core conftest.err conftest.$ac_objext \
21539    conftest$ac_exeext conftest.$ac_ext
21540
21541      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21542$as_echo "$ac_has_clock_monotonic" >&6; }
21543
21544      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21545$as_echo_n "checking for realtime clock... " >&6; }
21546      if test x$gcc_no_link = xyes; then
21547  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21548fi
21549cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21550/* end confdefs.h.  */
21551#include <unistd.h>
21552	 #include <time.h>
21553
21554int
21555main ()
21556{
21557#if _POSIX_TIMERS > 0
21558	  timespec tp;
21559	 #endif
21560	  clock_gettime(CLOCK_REALTIME, &tp);
21561
21562  ;
21563  return 0;
21564}
21565_ACEOF
21566if ac_fn_cxx_try_link "$LINENO"; then :
21567  ac_has_clock_realtime=yes
21568else
21569  ac_has_clock_realtime=no
21570fi
21571rm -f core conftest.err conftest.$ac_objext \
21572    conftest$ac_exeext conftest.$ac_ext
21573
21574      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21575$as_echo "$ac_has_clock_realtime" >&6; }
21576
21577      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21578$as_echo_n "checking for nanosleep... " >&6; }
21579      if test x$gcc_no_link = xyes; then
21580  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21581fi
21582cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21583/* end confdefs.h.  */
21584#include <unistd.h>
21585	 #include <time.h>
21586
21587int
21588main ()
21589{
21590#if _POSIX_TIMERS > 0
21591	  timespec tp;
21592	 #endif
21593	  nanosleep(&tp, 0);
21594
21595  ;
21596  return 0;
21597}
21598_ACEOF
21599if ac_fn_cxx_try_link "$LINENO"; then :
21600  ac_has_nanosleep=yes
21601else
21602  ac_has_nanosleep=no
21603fi
21604rm -f core conftest.err conftest.$ac_objext \
21605    conftest$ac_exeext conftest.$ac_ext
21606
21607      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21608$as_echo "$ac_has_nanosleep" >&6; }
21609    fi
21610  fi
21611
21612  if test x"$ac_has_clock_monotonic" != x"yes"; then
21613    case ${target_os} in
21614      linux* | uclinux*)
21615	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21616$as_echo_n "checking for clock_gettime syscall... " >&6; }
21617	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21618/* end confdefs.h.  */
21619#include <unistd.h>
21620	   #include <time.h>
21621	   #include <sys/syscall.h>
21622
21623int
21624main ()
21625{
21626#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21627	    timespec tp;
21628	   #endif
21629	   syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21630	   syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21631
21632  ;
21633  return 0;
21634}
21635_ACEOF
21636if ac_fn_cxx_try_compile "$LINENO"; then :
21637  ac_has_clock_monotonic_syscall=yes
21638else
21639  ac_has_clock_monotonic_syscall=no
21640fi
21641rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21642	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21643$as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21644	if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21645
21646$as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21647
21648	  ac_has_clock_monotonic=yes
21649	  ac_has_clock_realtime=yes
21650	fi;;
21651    esac
21652  fi
21653
21654  if test x"$ac_has_clock_monotonic" = x"yes"; then
21655
21656$as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21657
21658  fi
21659
21660  if test x"$ac_has_clock_realtime" = x"yes"; then
21661
21662$as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21663
21664  fi
21665
21666  if test x"$ac_has_sched_yield" = x"yes"; then
21667
21668$as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21669
21670  fi
21671
21672  if test x"$ac_has_nanosleep" = x"yes"; then
21673
21674$as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21675
21676  else
21677      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21678$as_echo_n "checking for sleep... " >&6; }
21679      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21680/* end confdefs.h.  */
21681#include <unistd.h>
21682int
21683main ()
21684{
21685sleep(1)
21686  ;
21687  return 0;
21688}
21689_ACEOF
21690if ac_fn_cxx_try_compile "$LINENO"; then :
21691  ac_has_sleep=yes
21692else
21693  ac_has_sleep=no
21694fi
21695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21696      if test x"$ac_has_sleep" = x"yes"; then
21697
21698$as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21699
21700      fi
21701      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21702$as_echo "$ac_has_sleep" >&6; }
21703      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21704$as_echo_n "checking for usleep... " >&6; }
21705      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21706/* end confdefs.h.  */
21707#include <unistd.h>
21708int
21709main ()
21710{
21711sleep(1);
21712                      usleep(100);
21713  ;
21714  return 0;
21715}
21716_ACEOF
21717if ac_fn_cxx_try_compile "$LINENO"; then :
21718  ac_has_usleep=yes
21719else
21720  ac_has_usleep=no
21721fi
21722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21723      if test x"$ac_has_usleep" = x"yes"; then
21724
21725$as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21726
21727      fi
21728      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21729$as_echo "$ac_has_usleep" >&6; }
21730  fi
21731
21732  if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21733      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21734$as_echo_n "checking for Sleep... " >&6; }
21735      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21736/* end confdefs.h.  */
21737#include <windows.h>
21738int
21739main ()
21740{
21741Sleep(1)
21742  ;
21743  return 0;
21744}
21745_ACEOF
21746if ac_fn_cxx_try_compile "$LINENO"; then :
21747  ac_has_win32_sleep=yes
21748else
21749  ac_has_win32_sleep=no
21750fi
21751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21752      if test x"$ac_has_win32_sleep" = x"yes"; then
21753
21754$as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21755
21756      fi
21757      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21758$as_echo "$ac_has_win32_sleep" >&6; }
21759  fi
21760
21761
21762
21763  CXXFLAGS="$ac_save_CXXFLAGS"
21764  LIBS="$ac_save_LIBS"
21765  ac_ext=c
21766ac_cpp='$CPP $CPPFLAGS'
21767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21769ac_compiler_gnu=$ac_cv_c_compiler_gnu
21770
21771
21772
21773# Check for tmpnam which is obsolescent in POSIX.1-2008
21774
21775  ac_ext=cpp
21776ac_cpp='$CXXCPP $CPPFLAGS'
21777ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21778ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21779ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21780
21781  ac_save_CXXFLAGS="$CXXFLAGS"
21782  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21783  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21784$as_echo_n "checking for tmpnam... " >&6; }
21785  if ${glibcxx_cv_TMPNAM+:} false; then :
21786  $as_echo_n "(cached) " >&6
21787else
21788      if test x$gcc_no_link = xyes; then
21789  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21790/* end confdefs.h.  */
21791#include <stdio.h>
21792int
21793main ()
21794{
21795char *tmp = tmpnam(NULL);
21796  ;
21797  return 0;
21798}
21799_ACEOF
21800if ac_fn_cxx_try_compile "$LINENO"; then :
21801  glibcxx_cv_TMPNAM=yes
21802else
21803  glibcxx_cv_TMPNAM=no
21804fi
21805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21806else
21807  if test x$gcc_no_link = xyes; then
21808  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21809fi
21810cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21811/* end confdefs.h.  */
21812#include <stdio.h>
21813int
21814main ()
21815{
21816char *tmp = tmpnam(NULL);
21817  ;
21818  return 0;
21819}
21820_ACEOF
21821if ac_fn_cxx_try_link "$LINENO"; then :
21822  glibcxx_cv_TMPNAM=yes
21823else
21824  glibcxx_cv_TMPNAM=no
21825fi
21826rm -f core conftest.err conftest.$ac_objext \
21827    conftest$ac_exeext conftest.$ac_ext
21828fi
21829
21830fi
21831
21832  if test $glibcxx_cv_TMPNAM = yes; then
21833
21834$as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21835
21836  fi
21837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21838$as_echo "$glibcxx_cv_TMPNAM" >&6; }
21839  CXXFLAGS="$ac_save_CXXFLAGS"
21840  ac_ext=c
21841ac_cpp='$CPP $CPPFLAGS'
21842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21844ac_compiler_gnu=$ac_cv_c_compiler_gnu
21845
21846
21847
21848# For pthread_cond_clockwait
21849
21850
21851
21852  ac_ext=cpp
21853ac_cpp='$CXXCPP $CPPFLAGS'
21854ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21855ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21856ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21857
21858  ac_save_CXXFLAGS="$CXXFLAGS"
21859  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21860  ac_save_LIBS="$LIBS"
21861  LIBS="$LIBS -lpthread"
21862
21863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21864$as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21865  if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21866  $as_echo_n "(cached) " >&6
21867else
21868
21869    if test x$gcc_no_link = xyes; then
21870  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21871/* end confdefs.h.  */
21872#include <pthread.h>
21873int
21874main ()
21875{
21876pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21877  ;
21878  return 0;
21879}
21880_ACEOF
21881if ac_fn_cxx_try_compile "$LINENO"; then :
21882  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21883else
21884  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21885fi
21886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21887else
21888  if test x$gcc_no_link = xyes; then
21889  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21890fi
21891cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21892/* end confdefs.h.  */
21893#include <pthread.h>
21894int
21895main ()
21896{
21897pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21898  ;
21899  return 0;
21900}
21901_ACEOF
21902if ac_fn_cxx_try_link "$LINENO"; then :
21903  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21904else
21905  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21906fi
21907rm -f core conftest.err conftest.$ac_objext \
21908    conftest$ac_exeext conftest.$ac_ext
21909fi
21910
21911fi
21912
21913  if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21914
21915$as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21916
21917  fi
21918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21919$as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21920
21921  CXXFLAGS="$ac_save_CXXFLAGS"
21922  LIBS="$ac_save_LIBS"
21923  ac_ext=c
21924ac_cpp='$CPP $CPPFLAGS'
21925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21927ac_compiler_gnu=$ac_cv_c_compiler_gnu
21928
21929
21930
21931# For pthread_mutex_clocklock
21932
21933
21934
21935  ac_ext=cpp
21936ac_cpp='$CXXCPP $CPPFLAGS'
21937ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21938ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21939ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21940
21941  ac_save_CXXFLAGS="$CXXFLAGS"
21942  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21943  ac_save_LIBS="$LIBS"
21944  LIBS="$LIBS -lpthread"
21945
21946  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21947$as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21948  if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21949  $as_echo_n "(cached) " >&6
21950else
21951
21952    if test x$gcc_no_link = xyes; then
21953  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21954/* end confdefs.h.  */
21955#include <pthread.h>
21956int
21957main ()
21958{
21959pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21960  ;
21961  return 0;
21962}
21963_ACEOF
21964if ac_fn_cxx_try_compile "$LINENO"; then :
21965  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21966else
21967  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21968fi
21969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21970else
21971  if test x$gcc_no_link = xyes; then
21972  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21973fi
21974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21975/* end confdefs.h.  */
21976#include <pthread.h>
21977int
21978main ()
21979{
21980pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21981  ;
21982  return 0;
21983}
21984_ACEOF
21985if ac_fn_cxx_try_link "$LINENO"; then :
21986  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21987else
21988  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21989fi
21990rm -f core conftest.err conftest.$ac_objext \
21991    conftest$ac_exeext conftest.$ac_ext
21992fi
21993
21994fi
21995
21996  if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21997
21998$as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21999
22000  fi
22001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
22002$as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
22003
22004  CXXFLAGS="$ac_save_CXXFLAGS"
22005  LIBS="$ac_save_LIBS"
22006  ac_ext=c
22007ac_cpp='$CPP $CPPFLAGS'
22008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22010ac_compiler_gnu=$ac_cv_c_compiler_gnu
22011
22012
22013
22014# For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
22015
22016
22017
22018  ac_ext=cpp
22019ac_cpp='$CXXCPP $CPPFLAGS'
22020ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22023
22024  ac_save_CXXFLAGS="$CXXFLAGS"
22025  CXXFLAGS="$CXXFLAGS -fno-exceptions"
22026  ac_save_LIBS="$LIBS"
22027  LIBS="$LIBS -lpthread"
22028
22029  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
22030$as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
22031  if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
22032  $as_echo_n "(cached) " >&6
22033else
22034
22035    if test x$gcc_no_link = xyes; then
22036  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22037/* end confdefs.h.  */
22038#include <pthread.h>
22039int
22040main ()
22041{
22042pthread_rwlock_t rwl; struct timespec ts;
22043      int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22044      int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22045  ;
22046  return 0;
22047}
22048_ACEOF
22049if ac_fn_cxx_try_compile "$LINENO"; then :
22050  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22051else
22052  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22053fi
22054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22055else
22056  if test x$gcc_no_link = xyes; then
22057  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22058fi
22059cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22060/* end confdefs.h.  */
22061#include <pthread.h>
22062int
22063main ()
22064{
22065pthread_rwlock_t rwl; struct timespec ts;
22066      int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22067      int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22068  ;
22069  return 0;
22070}
22071_ACEOF
22072if ac_fn_cxx_try_link "$LINENO"; then :
22073  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22074else
22075  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22076fi
22077rm -f core conftest.err conftest.$ac_objext \
22078    conftest$ac_exeext conftest.$ac_ext
22079fi
22080
22081fi
22082
22083  if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
22084
22085$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
22086
22087  fi
22088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
22089$as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
22090
22091  CXXFLAGS="$ac_save_CXXFLAGS"
22092  LIBS="$ac_save_LIBS"
22093  ac_ext=c
22094ac_cpp='$CPP $CPPFLAGS'
22095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22097ac_compiler_gnu=$ac_cv_c_compiler_gnu
22098
22099
22100
22101
22102  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22103if test "x$ac_cv_header_locale_h" = xyes; then :
22104
22105    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22106$as_echo_n "checking for LC_MESSAGES... " >&6; }
22107if ${ac_cv_val_LC_MESSAGES+:} false; then :
22108  $as_echo_n "(cached) " >&6
22109else
22110  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22111/* end confdefs.h.  */
22112#include <locale.h>
22113int
22114main ()
22115{
22116return LC_MESSAGES
22117  ;
22118  return 0;
22119}
22120_ACEOF
22121if ac_fn_c_try_compile "$LINENO"; then :
22122  ac_cv_val_LC_MESSAGES=yes
22123else
22124  ac_cv_val_LC_MESSAGES=no
22125fi
22126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22127fi
22128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22129$as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22130    if test $ac_cv_val_LC_MESSAGES = yes; then
22131
22132$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22133
22134    fi
22135
22136fi
22137
22138
22139
22140
22141# For hardware_concurrency
22142for ac_header in sys/sysinfo.h
22143do :
22144  ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22145if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22146  cat >>confdefs.h <<_ACEOF
22147#define HAVE_SYS_SYSINFO_H 1
22148_ACEOF
22149
22150fi
22151
22152done
22153
22154
22155
22156
22157  ac_ext=cpp
22158ac_cpp='$CXXCPP $CPPFLAGS'
22159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22162
22163  ac_save_CXXFLAGS="$CXXFLAGS"
22164  CXXFLAGS="$CXXFLAGS -fno-exceptions"
22165
22166  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22167$as_echo_n "checking for get_nprocs... " >&6; }
22168  if ${glibcxx_cv_GET_NPROCS+:} false; then :
22169  $as_echo_n "(cached) " >&6
22170else
22171
22172    if test x$gcc_no_link = xyes; then
22173  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22174/* end confdefs.h.  */
22175#include <sys/sysinfo.h>
22176int
22177main ()
22178{
22179int n = get_nprocs();
22180  ;
22181  return 0;
22182}
22183_ACEOF
22184if ac_fn_cxx_try_compile "$LINENO"; then :
22185  glibcxx_cv_GET_NPROCS=yes
22186else
22187  glibcxx_cv_GET_NPROCS=no
22188fi
22189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190else
22191  if test x$gcc_no_link = xyes; then
22192  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22193fi
22194cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22195/* end confdefs.h.  */
22196#include <sys/sysinfo.h>
22197int
22198main ()
22199{
22200int n = get_nprocs();
22201  ;
22202  return 0;
22203}
22204_ACEOF
22205if ac_fn_cxx_try_link "$LINENO"; then :
22206  glibcxx_cv_GET_NPROCS=yes
22207else
22208  glibcxx_cv_GET_NPROCS=no
22209fi
22210rm -f core conftest.err conftest.$ac_objext \
22211    conftest$ac_exeext conftest.$ac_ext
22212fi
22213
22214fi
22215
22216  if test $glibcxx_cv_GET_NPROCS = yes; then
22217
22218$as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22219
22220  fi
22221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22222$as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22223
22224  CXXFLAGS="$ac_save_CXXFLAGS"
22225  ac_ext=c
22226ac_cpp='$CPP $CPPFLAGS'
22227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22229ac_compiler_gnu=$ac_cv_c_compiler_gnu
22230
22231
22232for ac_header in unistd.h
22233do :
22234  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22235if test "x$ac_cv_header_unistd_h" = xyes; then :
22236  cat >>confdefs.h <<_ACEOF
22237#define HAVE_UNISTD_H 1
22238_ACEOF
22239
22240fi
22241
22242done
22243
22244
22245
22246
22247  ac_ext=cpp
22248ac_cpp='$CXXCPP $CPPFLAGS'
22249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22252
22253  ac_save_CXXFLAGS="$CXXFLAGS"
22254  CXXFLAGS="$CXXFLAGS -fno-exceptions"
22255
22256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22257$as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22258  if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22259  $as_echo_n "(cached) " >&6
22260else
22261
22262    if test x$gcc_no_link = xyes; then
22263  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22264/* end confdefs.h.  */
22265#include <unistd.h>
22266int
22267main ()
22268{
22269int n = sysconf(_SC_NPROCESSORS_ONLN);
22270  ;
22271  return 0;
22272}
22273_ACEOF
22274if ac_fn_cxx_try_compile "$LINENO"; then :
22275  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22276else
22277  glibcxx_cv_SC_NPROCESSORS_ONLN=no
22278fi
22279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22280else
22281  if test x$gcc_no_link = xyes; then
22282  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22283fi
22284cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22285/* end confdefs.h.  */
22286#include <unistd.h>
22287int
22288main ()
22289{
22290int n = sysconf(_SC_NPROCESSORS_ONLN);
22291  ;
22292  return 0;
22293}
22294_ACEOF
22295if ac_fn_cxx_try_link "$LINENO"; then :
22296  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22297else
22298  glibcxx_cv_SC_NPROCESSORS_ONLN=no
22299fi
22300rm -f core conftest.err conftest.$ac_objext \
22301    conftest$ac_exeext conftest.$ac_ext
22302fi
22303
22304fi
22305
22306  if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22307
22308$as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22309
22310  fi
22311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22312$as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22313
22314  CXXFLAGS="$ac_save_CXXFLAGS"
22315  ac_ext=c
22316ac_cpp='$CPP $CPPFLAGS'
22317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22319ac_compiler_gnu=$ac_cv_c_compiler_gnu
22320
22321
22322
22323
22324
22325  ac_ext=cpp
22326ac_cpp='$CXXCPP $CPPFLAGS'
22327ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22330
22331  ac_save_CXXFLAGS="$CXXFLAGS"
22332  CXXFLAGS="$CXXFLAGS -fno-exceptions"
22333
22334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22335$as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22336  if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22337  $as_echo_n "(cached) " >&6
22338else
22339
22340    if test x$gcc_no_link = xyes; then
22341  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22342/* end confdefs.h.  */
22343#include <unistd.h>
22344int
22345main ()
22346{
22347int n = sysconf(_SC_NPROC_ONLN);
22348  ;
22349  return 0;
22350}
22351_ACEOF
22352if ac_fn_cxx_try_compile "$LINENO"; then :
22353  glibcxx_cv_SC_NPROC_ONLN=yes
22354else
22355  glibcxx_cv_SC_NPROC_ONLN=no
22356fi
22357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22358else
22359  if test x$gcc_no_link = xyes; then
22360  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22361fi
22362cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22363/* end confdefs.h.  */
22364#include <unistd.h>
22365int
22366main ()
22367{
22368int n = sysconf(_SC_NPROC_ONLN);
22369  ;
22370  return 0;
22371}
22372_ACEOF
22373if ac_fn_cxx_try_link "$LINENO"; then :
22374  glibcxx_cv_SC_NPROC_ONLN=yes
22375else
22376  glibcxx_cv_SC_NPROC_ONLN=no
22377fi
22378rm -f core conftest.err conftest.$ac_objext \
22379    conftest$ac_exeext conftest.$ac_ext
22380fi
22381
22382fi
22383
22384  if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22385
22386$as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22387
22388  fi
22389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22390$as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22391
22392  CXXFLAGS="$ac_save_CXXFLAGS"
22393  ac_ext=c
22394ac_cpp='$CPP $CPPFLAGS'
22395ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22396ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22397ac_compiler_gnu=$ac_cv_c_compiler_gnu
22398
22399
22400
22401
22402
22403  ac_ext=cpp
22404ac_cpp='$CXXCPP $CPPFLAGS'
22405ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22406ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22407ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22408
22409  ac_save_CXXFLAGS="$CXXFLAGS"
22410  CXXFLAGS="$CXXFLAGS -fno-exceptions"
22411
22412  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22413$as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22414  if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22415  $as_echo_n "(cached) " >&6
22416else
22417
22418    if test x$gcc_no_link = xyes; then
22419  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420/* end confdefs.h.  */
22421#include <pthread.h>
22422int
22423main ()
22424{
22425int n = pthread_num_processors_np();
22426  ;
22427  return 0;
22428}
22429_ACEOF
22430if ac_fn_cxx_try_compile "$LINENO"; then :
22431  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22432else
22433  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22434fi
22435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22436else
22437  if test x$gcc_no_link = xyes; then
22438  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22439fi
22440cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441/* end confdefs.h.  */
22442#include <pthread.h>
22443int
22444main ()
22445{
22446int n = pthread_num_processors_np();
22447  ;
22448  return 0;
22449}
22450_ACEOF
22451if ac_fn_cxx_try_link "$LINENO"; then :
22452  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22453else
22454  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22455fi
22456rm -f core conftest.err conftest.$ac_objext \
22457    conftest$ac_exeext conftest.$ac_ext
22458fi
22459
22460fi
22461
22462  if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22463
22464$as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22465
22466  fi
22467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22468$as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22469
22470  CXXFLAGS="$ac_save_CXXFLAGS"
22471  ac_ext=c
22472ac_cpp='$CPP $CPPFLAGS'
22473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475ac_compiler_gnu=$ac_cv_c_compiler_gnu
22476
22477
22478
22479
22480
22481  ac_ext=cpp
22482ac_cpp='$CXXCPP $CPPFLAGS'
22483ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22486
22487  ac_save_CXXFLAGS="$CXXFLAGS"
22488  CXXFLAGS="$CXXFLAGS -fno-exceptions"
22489
22490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22491$as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22492  if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22493  $as_echo_n "(cached) " >&6
22494else
22495
22496    if test x$gcc_no_link = xyes; then
22497  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22498/* end confdefs.h.  */
22499
22500       #include <stddef.h>
22501       #include <sys/sysctl.h>
22502
22503int
22504main ()
22505{
22506
22507       int count;
22508       size_t size = sizeof(count);
22509       int mib[] = { CTL_HW, HW_NCPU };
22510       sysctl(mib, 2, &count, &size, NULL, 0);
22511
22512  ;
22513  return 0;
22514}
22515_ACEOF
22516if ac_fn_cxx_try_compile "$LINENO"; then :
22517  glibcxx_cv_SYSCTL_HW_NCPU=yes
22518else
22519  glibcxx_cv_SYSCTL_HW_NCPU=no
22520fi
22521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522else
22523  if test x$gcc_no_link = xyes; then
22524  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22525fi
22526cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22527/* end confdefs.h.  */
22528
22529       #include <stddef.h>
22530       #include <sys/sysctl.h>
22531
22532int
22533main ()
22534{
22535
22536       int count;
22537       size_t size = sizeof(count);
22538       int mib[] = { CTL_HW, HW_NCPU };
22539       sysctl(mib, 2, &count, &size, NULL, 0);
22540
22541  ;
22542  return 0;
22543}
22544_ACEOF
22545if ac_fn_cxx_try_link "$LINENO"; then :
22546  glibcxx_cv_SYSCTL_HW_NCPU=yes
22547else
22548  glibcxx_cv_SYSCTL_HW_NCPU=no
22549fi
22550rm -f core conftest.err conftest.$ac_objext \
22551    conftest$ac_exeext conftest.$ac_ext
22552fi
22553
22554fi
22555
22556  if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22557
22558$as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22559
22560  fi
22561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22562$as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22563
22564  CXXFLAGS="$ac_save_CXXFLAGS"
22565  ac_ext=c
22566ac_cpp='$CPP $CPPFLAGS'
22567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569ac_compiler_gnu=$ac_cv_c_compiler_gnu
22570
22571
22572
22573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22574$as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22575  # Note that this test has to be run with the C language.
22576  # Otherwise, sdt.h will try to include some headers from
22577  # libstdc++ itself.
22578
22579  ac_ext=c
22580ac_cpp='$CPP $CPPFLAGS'
22581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22583ac_compiler_gnu=$ac_cv_c_compiler_gnu
22584
22585  if ${glibcxx_cv_sys_sdt_h+:} false; then :
22586  $as_echo_n "(cached) " >&6
22587else
22588
22589    # Because we have to run the test in C, we use grep rather
22590    # than the compiler to check for the bug.  The bug is that
22591    # were strings without trailing whitespace, causing g++
22592    # to look for operator"".  The pattern searches for the fixed
22593    # output.
22594    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22595/* end confdefs.h.  */
22596
22597      #include <sys/sdt.h>
22598      int f() { STAP_PROBE(hi, bob); }
22599
22600_ACEOF
22601if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22602  $EGREP " \",\" " >/dev/null 2>&1; then :
22603  glibcxx_cv_sys_sdt_h=yes
22604else
22605  glibcxx_cv_sys_sdt_h=no
22606fi
22607rm -f conftest*
22608
22609
22610fi
22611
22612  ac_ext=c
22613ac_cpp='$CPP $CPPFLAGS'
22614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616ac_compiler_gnu=$ac_cv_c_compiler_gnu
22617
22618  if test $glibcxx_cv_sys_sdt_h = yes; then
22619
22620$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22621
22622  fi
22623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22624$as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22625
22626
22627# Check for available headers.
22628for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22629locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22630strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22631sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22632wchar.h wctype.h linux/types.h
22633do :
22634  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22635ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22636if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22637  cat >>confdefs.h <<_ACEOF
22638#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22639_ACEOF
22640
22641fi
22642
22643done
22644
22645
22646for ac_header in linux/random.h
22647do :
22648  ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22649# include <linux/types.h>
22650#endif
22651
22652"
22653if test "x$ac_cv_header_linux_random_h" = xyes; then :
22654  cat >>confdefs.h <<_ACEOF
22655#define HAVE_LINUX_RANDOM_H 1
22656_ACEOF
22657
22658fi
22659
22660done
22661
22662
22663# Only do link tests if native. Else, hardcode.
22664if $GLIBCXX_IS_NATIVE; then
22665
22666  # We can do more elaborate tests that assume a working linker.
22667  CANADIAN=no
22668
22669
22670
22671# Check whether --with-gnu-ld was given.
22672if test "${with_gnu_ld+set}" = set; then :
22673  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22674else
22675  with_gnu_ld=no
22676fi
22677
22678ac_prog=ld
22679if test "$GCC" = yes; then
22680  # Check if gcc -print-prog-name=ld gives a path.
22681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22682$as_echo_n "checking for ld used by $CC... " >&6; }
22683  case $host in
22684  *-*-mingw*)
22685    # gcc leaves a trailing carriage return which upsets mingw
22686    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22687  *)
22688    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22689  esac
22690  case $ac_prog in
22691    # Accept absolute paths.
22692    [\\/]* | ?:[\\/]*)
22693      re_direlt='/[^/][^/]*/\.\./'
22694      # Canonicalize the pathname of ld
22695      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22696      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22697	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22698      done
22699      test -z "$LD" && LD="$ac_prog"
22700      ;;
22701  "")
22702    # If it fails, then pretend we aren't using GCC.
22703    ac_prog=ld
22704    ;;
22705  *)
22706    # If it is relative, then search for the first ld in PATH.
22707    with_gnu_ld=unknown
22708    ;;
22709  esac
22710elif test "$with_gnu_ld" = yes; then
22711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22712$as_echo_n "checking for GNU ld... " >&6; }
22713else
22714  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22715$as_echo_n "checking for non-GNU ld... " >&6; }
22716fi
22717if ${lt_cv_path_LD+:} false; then :
22718  $as_echo_n "(cached) " >&6
22719else
22720  if test -z "$LD"; then
22721  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22722  for ac_dir in $PATH; do
22723    IFS="$lt_save_ifs"
22724    test -z "$ac_dir" && ac_dir=.
22725    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22726      lt_cv_path_LD="$ac_dir/$ac_prog"
22727      # Check to see if the program is GNU ld.  I'd rather use --version,
22728      # but apparently some variants of GNU ld only accept -v.
22729      # Break only if it was the GNU/non-GNU ld that we prefer.
22730      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22731      *GNU* | *'with BFD'*)
22732	test "$with_gnu_ld" != no && break
22733	;;
22734      *)
22735	test "$with_gnu_ld" != yes && break
22736	;;
22737      esac
22738    fi
22739  done
22740  IFS="$lt_save_ifs"
22741else
22742  lt_cv_path_LD="$LD" # Let the user override the test with a path.
22743fi
22744fi
22745
22746LD="$lt_cv_path_LD"
22747if test -n "$LD"; then
22748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22749$as_echo "$LD" >&6; }
22750else
22751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22752$as_echo "no" >&6; }
22753fi
22754test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22756$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22757if ${lt_cv_prog_gnu_ld+:} false; then :
22758  $as_echo_n "(cached) " >&6
22759else
22760  # I'd rather use --version here, but apparently some GNU lds only accept -v.
22761case `$LD -v 2>&1 </dev/null` in
22762*GNU* | *'with BFD'*)
22763  lt_cv_prog_gnu_ld=yes
22764  ;;
22765*)
22766  lt_cv_prog_gnu_ld=no
22767  ;;
22768esac
22769fi
22770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22771$as_echo "$lt_cv_prog_gnu_ld" >&6; }
22772with_gnu_ld=$lt_cv_prog_gnu_ld
22773
22774
22775
22776
22777
22778
22779
22780  # If we're not using GNU ld, then there's no point in even trying these
22781  # tests.  Check for that first.  We should have already tested for gld
22782  # by now (in libtool), but require it now just to be safe...
22783  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22784  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22785
22786
22787
22788  # The name set by libtool depends on the version of libtool.  Shame on us
22789  # for depending on an impl detail, but c'est la vie.  Older versions used
22790  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22791  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22792  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
22793  # set (hence we're using an older libtool), then set it.
22794  if test x${with_gnu_ld+set} != xset; then
22795    if test x${ac_cv_prog_gnu_ld+set} != xset; then
22796      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
22797      with_gnu_ld=no
22798    else
22799      with_gnu_ld=$ac_cv_prog_gnu_ld
22800    fi
22801  fi
22802
22803  # Start by getting the version number.  I think the libtool test already
22804  # does some of this, but throws away the result.
22805  glibcxx_ld_is_gold=no
22806  if test x"$with_gnu_ld" = x"yes"; then
22807    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22808$as_echo_n "checking for ld version... " >&6; }
22809
22810    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22811      glibcxx_ld_is_gold=yes
22812    fi
22813    ldver=`$LD --version 2>/dev/null |
22814	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22815
22816    glibcxx_gnu_ld_version=`echo $ldver | \
22817	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22818    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22819$as_echo "$glibcxx_gnu_ld_version" >&6; }
22820  fi
22821
22822  # Set --gc-sections.
22823  glibcxx_have_gc_sections=no
22824  if test "$glibcxx_ld_is_gold" = "yes"; then
22825    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22826      glibcxx_have_gc_sections=yes
22827    fi
22828  else
22829    glibcxx_gcsections_min_ld=21602
22830    if test x"$with_gnu_ld" = x"yes" &&
22831	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22832      glibcxx_have_gc_sections=yes
22833    fi
22834  fi
22835  if test "$glibcxx_have_gc_sections" = "yes"; then
22836    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
22837    # NB: This flag only works reliably after 2.16.1. Configure tests
22838    # for this are difficult, so hard wire a value that should work.
22839
22840    ac_test_CFLAGS="${CFLAGS+set}"
22841    ac_save_CFLAGS="$CFLAGS"
22842    CFLAGS='-Wl,--gc-sections'
22843
22844    # Check for -Wl,--gc-sections
22845    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22846$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22847    if test x$gcc_no_link = xyes; then
22848  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22849fi
22850cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22851/* end confdefs.h.  */
22852 int one(void) { return 1; }
22853     int two(void) { return 2; }
22854
22855int
22856main ()
22857{
22858 two();
22859  ;
22860  return 0;
22861}
22862_ACEOF
22863if ac_fn_c_try_link "$LINENO"; then :
22864  ac_gcsections=yes
22865else
22866  ac_gcsections=no
22867fi
22868rm -f core conftest.err conftest.$ac_objext \
22869    conftest$ac_exeext conftest.$ac_ext
22870    if test "$ac_gcsections" = "yes"; then
22871      rm -f conftest.c
22872      touch conftest.c
22873      if $CC -c conftest.c; then
22874	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22875	   grep "Warning: gc-sections option ignored" > /dev/null; then
22876	  ac_gcsections=no
22877	fi
22878      fi
22879      rm -f conftest.c conftest.o conftest
22880    fi
22881    if test "$ac_gcsections" = "yes"; then
22882      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22883    fi
22884    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22885$as_echo "$ac_gcsections" >&6; }
22886
22887    if test "$ac_test_CFLAGS" = set; then
22888      CFLAGS="$ac_save_CFLAGS"
22889    else
22890      # this is the suspicious part
22891      CFLAGS=''
22892    fi
22893  fi
22894
22895  # Set -z,relro.
22896  # Note this is only for shared objects.
22897  ac_ld_relro=no
22898  if test x"$with_gnu_ld" = x"yes"; then
22899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22900$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22901    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22902    if test -n "$cxx_z_relo"; then
22903      OPT_LDFLAGS="-Wl,-z,relro"
22904      ac_ld_relro=yes
22905    fi
22906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22907$as_echo "$ac_ld_relro" >&6; }
22908  fi
22909
22910  # Set linker optimization flags.
22911  if test x"$with_gnu_ld" = x"yes"; then
22912    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22913  fi
22914
22915
22916
22917
22918
22919  ac_test_CXXFLAGS="${CXXFLAGS+set}"
22920  ac_save_CXXFLAGS="$CXXFLAGS"
22921  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22922
22923    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22924$as_echo_n "checking for sin in -lm... " >&6; }
22925if ${ac_cv_lib_m_sin+:} false; then :
22926  $as_echo_n "(cached) " >&6
22927else
22928  ac_check_lib_save_LIBS=$LIBS
22929LIBS="-lm  $LIBS"
22930if test x$gcc_no_link = xyes; then
22931  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22932fi
22933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22934/* end confdefs.h.  */
22935
22936/* Override any GCC internal prototype to avoid an error.
22937   Use char because int might match the return type of a GCC
22938   builtin and then its argument prototype would still apply.  */
22939#ifdef __cplusplus
22940extern "C"
22941#endif
22942char sin ();
22943int
22944main ()
22945{
22946return sin ();
22947  ;
22948  return 0;
22949}
22950_ACEOF
22951if ac_fn_c_try_link "$LINENO"; then :
22952  ac_cv_lib_m_sin=yes
22953else
22954  ac_cv_lib_m_sin=no
22955fi
22956rm -f core conftest.err conftest.$ac_objext \
22957    conftest$ac_exeext conftest.$ac_ext
22958LIBS=$ac_check_lib_save_LIBS
22959fi
22960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22961$as_echo "$ac_cv_lib_m_sin" >&6; }
22962if test "x$ac_cv_lib_m_sin" = xyes; then :
22963  libm="-lm"
22964fi
22965
22966  ac_save_LIBS="$LIBS"
22967  LIBS="$LIBS $libm"
22968
22969
22970
22971  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22972$as_echo_n "checking for isinf declaration... " >&6; }
22973  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22974    if ${glibcxx_cv_func_isinf_use+:} false; then :
22975  $as_echo_n "(cached) " >&6
22976else
22977
22978
22979      ac_ext=cpp
22980ac_cpp='$CXXCPP $CPPFLAGS'
22981ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22982ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22983ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22984
22985      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22986/* end confdefs.h.  */
22987#include <math.h>
22988		      #ifdef HAVE_IEEEFP_H
22989		      #include <ieeefp.h>
22990		      #endif
22991
22992int
22993main ()
22994{
22995 isinf(0);
22996  ;
22997  return 0;
22998}
22999_ACEOF
23000if ac_fn_cxx_try_compile "$LINENO"; then :
23001  glibcxx_cv_func_isinf_use=yes
23002else
23003  glibcxx_cv_func_isinf_use=no
23004fi
23005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23006      ac_ext=c
23007ac_cpp='$CPP $CPPFLAGS'
23008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23010ac_compiler_gnu=$ac_cv_c_compiler_gnu
23011
23012
23013fi
23014
23015  fi
23016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
23017$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
23018
23019  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23020    for ac_func in isinf
23021do :
23022  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
23023if test "x$ac_cv_func_isinf" = xyes; then :
23024  cat >>confdefs.h <<_ACEOF
23025#define HAVE_ISINF 1
23026_ACEOF
23027
23028fi
23029done
23030
23031  else
23032
23033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
23034$as_echo_n "checking for _isinf declaration... " >&6; }
23035  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23036    if ${glibcxx_cv_func__isinf_use+:} false; then :
23037  $as_echo_n "(cached) " >&6
23038else
23039
23040
23041      ac_ext=cpp
23042ac_cpp='$CXXCPP $CPPFLAGS'
23043ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23044ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23045ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23046
23047      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23048/* end confdefs.h.  */
23049#include <math.h>
23050		      #ifdef HAVE_IEEEFP_H
23051		      #include <ieeefp.h>
23052		      #endif
23053
23054int
23055main ()
23056{
23057 _isinf(0);
23058  ;
23059  return 0;
23060}
23061_ACEOF
23062if ac_fn_cxx_try_compile "$LINENO"; then :
23063  glibcxx_cv_func__isinf_use=yes
23064else
23065  glibcxx_cv_func__isinf_use=no
23066fi
23067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23068      ac_ext=c
23069ac_cpp='$CPP $CPPFLAGS'
23070ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23071ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23072ac_compiler_gnu=$ac_cv_c_compiler_gnu
23073
23074
23075fi
23076
23077  fi
23078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
23079$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23080
23081    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23082      for ac_func in _isinf
23083do :
23084  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23085if test "x$ac_cv_func__isinf" = xyes; then :
23086  cat >>confdefs.h <<_ACEOF
23087#define HAVE__ISINF 1
23088_ACEOF
23089
23090fi
23091done
23092
23093    fi
23094  fi
23095
23096
23097
23098
23099
23100  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23101$as_echo_n "checking for isnan declaration... " >&6; }
23102  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23103    if ${glibcxx_cv_func_isnan_use+:} false; then :
23104  $as_echo_n "(cached) " >&6
23105else
23106
23107
23108      ac_ext=cpp
23109ac_cpp='$CXXCPP $CPPFLAGS'
23110ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23111ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23112ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23113
23114      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23115/* end confdefs.h.  */
23116#include <math.h>
23117		      #ifdef HAVE_IEEEFP_H
23118		      #include <ieeefp.h>
23119		      #endif
23120
23121int
23122main ()
23123{
23124 isnan(0);
23125  ;
23126  return 0;
23127}
23128_ACEOF
23129if ac_fn_cxx_try_compile "$LINENO"; then :
23130  glibcxx_cv_func_isnan_use=yes
23131else
23132  glibcxx_cv_func_isnan_use=no
23133fi
23134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23135      ac_ext=c
23136ac_cpp='$CPP $CPPFLAGS'
23137ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23138ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23139ac_compiler_gnu=$ac_cv_c_compiler_gnu
23140
23141
23142fi
23143
23144  fi
23145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23146$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23147
23148  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23149    for ac_func in isnan
23150do :
23151  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23152if test "x$ac_cv_func_isnan" = xyes; then :
23153  cat >>confdefs.h <<_ACEOF
23154#define HAVE_ISNAN 1
23155_ACEOF
23156
23157fi
23158done
23159
23160  else
23161
23162  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23163$as_echo_n "checking for _isnan declaration... " >&6; }
23164  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23165    if ${glibcxx_cv_func__isnan_use+:} false; then :
23166  $as_echo_n "(cached) " >&6
23167else
23168
23169
23170      ac_ext=cpp
23171ac_cpp='$CXXCPP $CPPFLAGS'
23172ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23175
23176      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177/* end confdefs.h.  */
23178#include <math.h>
23179		      #ifdef HAVE_IEEEFP_H
23180		      #include <ieeefp.h>
23181		      #endif
23182
23183int
23184main ()
23185{
23186 _isnan(0);
23187  ;
23188  return 0;
23189}
23190_ACEOF
23191if ac_fn_cxx_try_compile "$LINENO"; then :
23192  glibcxx_cv_func__isnan_use=yes
23193else
23194  glibcxx_cv_func__isnan_use=no
23195fi
23196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23197      ac_ext=c
23198ac_cpp='$CPP $CPPFLAGS'
23199ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23200ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23201ac_compiler_gnu=$ac_cv_c_compiler_gnu
23202
23203
23204fi
23205
23206  fi
23207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23208$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23209
23210    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23211      for ac_func in _isnan
23212do :
23213  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23214if test "x$ac_cv_func__isnan" = xyes; then :
23215  cat >>confdefs.h <<_ACEOF
23216#define HAVE__ISNAN 1
23217_ACEOF
23218
23219fi
23220done
23221
23222    fi
23223  fi
23224
23225
23226
23227
23228
23229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23230$as_echo_n "checking for finite declaration... " >&6; }
23231  if test x${glibcxx_cv_func_finite_use+set} != xset; then
23232    if ${glibcxx_cv_func_finite_use+:} false; then :
23233  $as_echo_n "(cached) " >&6
23234else
23235
23236
23237      ac_ext=cpp
23238ac_cpp='$CXXCPP $CPPFLAGS'
23239ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23242
23243      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23244/* end confdefs.h.  */
23245#include <math.h>
23246		      #ifdef HAVE_IEEEFP_H
23247		      #include <ieeefp.h>
23248		      #endif
23249
23250int
23251main ()
23252{
23253 finite(0);
23254  ;
23255  return 0;
23256}
23257_ACEOF
23258if ac_fn_cxx_try_compile "$LINENO"; then :
23259  glibcxx_cv_func_finite_use=yes
23260else
23261  glibcxx_cv_func_finite_use=no
23262fi
23263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23264      ac_ext=c
23265ac_cpp='$CPP $CPPFLAGS'
23266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23268ac_compiler_gnu=$ac_cv_c_compiler_gnu
23269
23270
23271fi
23272
23273  fi
23274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23275$as_echo "$glibcxx_cv_func_finite_use" >&6; }
23276
23277  if test x$glibcxx_cv_func_finite_use = x"yes"; then
23278    for ac_func in finite
23279do :
23280  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23281if test "x$ac_cv_func_finite" = xyes; then :
23282  cat >>confdefs.h <<_ACEOF
23283#define HAVE_FINITE 1
23284_ACEOF
23285
23286fi
23287done
23288
23289  else
23290
23291  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23292$as_echo_n "checking for _finite declaration... " >&6; }
23293  if test x${glibcxx_cv_func__finite_use+set} != xset; then
23294    if ${glibcxx_cv_func__finite_use+:} false; then :
23295  $as_echo_n "(cached) " >&6
23296else
23297
23298
23299      ac_ext=cpp
23300ac_cpp='$CXXCPP $CPPFLAGS'
23301ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23304
23305      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23306/* end confdefs.h.  */
23307#include <math.h>
23308		      #ifdef HAVE_IEEEFP_H
23309		      #include <ieeefp.h>
23310		      #endif
23311
23312int
23313main ()
23314{
23315 _finite(0);
23316  ;
23317  return 0;
23318}
23319_ACEOF
23320if ac_fn_cxx_try_compile "$LINENO"; then :
23321  glibcxx_cv_func__finite_use=yes
23322else
23323  glibcxx_cv_func__finite_use=no
23324fi
23325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23326      ac_ext=c
23327ac_cpp='$CPP $CPPFLAGS'
23328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330ac_compiler_gnu=$ac_cv_c_compiler_gnu
23331
23332
23333fi
23334
23335  fi
23336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23337$as_echo "$glibcxx_cv_func__finite_use" >&6; }
23338
23339    if test x$glibcxx_cv_func__finite_use = x"yes"; then
23340      for ac_func in _finite
23341do :
23342  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23343if test "x$ac_cv_func__finite" = xyes; then :
23344  cat >>confdefs.h <<_ACEOF
23345#define HAVE__FINITE 1
23346_ACEOF
23347
23348fi
23349done
23350
23351    fi
23352  fi
23353
23354
23355
23356
23357
23358  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23359$as_echo_n "checking for sincos declaration... " >&6; }
23360  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23361    if ${glibcxx_cv_func_sincos_use+:} false; then :
23362  $as_echo_n "(cached) " >&6
23363else
23364
23365
23366      ac_ext=cpp
23367ac_cpp='$CXXCPP $CPPFLAGS'
23368ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23371
23372      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23373/* end confdefs.h.  */
23374#include <math.h>
23375int
23376main ()
23377{
23378 sincos(0, 0, 0);
23379  ;
23380  return 0;
23381}
23382_ACEOF
23383if ac_fn_cxx_try_compile "$LINENO"; then :
23384  glibcxx_cv_func_sincos_use=yes
23385else
23386  glibcxx_cv_func_sincos_use=no
23387fi
23388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23389      ac_ext=c
23390ac_cpp='$CPP $CPPFLAGS'
23391ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23392ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23393ac_compiler_gnu=$ac_cv_c_compiler_gnu
23394
23395
23396fi
23397
23398  fi
23399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23400$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23401
23402  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23403    for ac_func in sincos
23404do :
23405  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23406if test "x$ac_cv_func_sincos" = xyes; then :
23407  cat >>confdefs.h <<_ACEOF
23408#define HAVE_SINCOS 1
23409_ACEOF
23410
23411fi
23412done
23413
23414  else
23415
23416  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23417$as_echo_n "checking for _sincos declaration... " >&6; }
23418  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23419    if ${glibcxx_cv_func__sincos_use+:} false; then :
23420  $as_echo_n "(cached) " >&6
23421else
23422
23423
23424      ac_ext=cpp
23425ac_cpp='$CXXCPP $CPPFLAGS'
23426ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23427ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23428ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23429
23430      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23431/* end confdefs.h.  */
23432#include <math.h>
23433int
23434main ()
23435{
23436 _sincos(0, 0, 0);
23437  ;
23438  return 0;
23439}
23440_ACEOF
23441if ac_fn_cxx_try_compile "$LINENO"; then :
23442  glibcxx_cv_func__sincos_use=yes
23443else
23444  glibcxx_cv_func__sincos_use=no
23445fi
23446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23447      ac_ext=c
23448ac_cpp='$CPP $CPPFLAGS'
23449ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451ac_compiler_gnu=$ac_cv_c_compiler_gnu
23452
23453
23454fi
23455
23456  fi
23457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23458$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23459
23460    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23461      for ac_func in _sincos
23462do :
23463  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23464if test "x$ac_cv_func__sincos" = xyes; then :
23465  cat >>confdefs.h <<_ACEOF
23466#define HAVE__SINCOS 1
23467_ACEOF
23468
23469fi
23470done
23471
23472    fi
23473  fi
23474
23475
23476
23477
23478
23479  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23480$as_echo_n "checking for fpclass declaration... " >&6; }
23481  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23482    if ${glibcxx_cv_func_fpclass_use+:} false; then :
23483  $as_echo_n "(cached) " >&6
23484else
23485
23486
23487      ac_ext=cpp
23488ac_cpp='$CXXCPP $CPPFLAGS'
23489ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23492
23493      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23494/* end confdefs.h.  */
23495#include <math.h>
23496		      #ifdef HAVE_IEEEFP_H
23497		      #include <ieeefp.h>
23498		      #endif
23499
23500int
23501main ()
23502{
23503 fpclass(0);
23504  ;
23505  return 0;
23506}
23507_ACEOF
23508if ac_fn_cxx_try_compile "$LINENO"; then :
23509  glibcxx_cv_func_fpclass_use=yes
23510else
23511  glibcxx_cv_func_fpclass_use=no
23512fi
23513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23514      ac_ext=c
23515ac_cpp='$CPP $CPPFLAGS'
23516ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23517ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23518ac_compiler_gnu=$ac_cv_c_compiler_gnu
23519
23520
23521fi
23522
23523  fi
23524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23525$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23526
23527  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23528    for ac_func in fpclass
23529do :
23530  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23531if test "x$ac_cv_func_fpclass" = xyes; then :
23532  cat >>confdefs.h <<_ACEOF
23533#define HAVE_FPCLASS 1
23534_ACEOF
23535
23536fi
23537done
23538
23539  else
23540
23541  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23542$as_echo_n "checking for _fpclass declaration... " >&6; }
23543  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23544    if ${glibcxx_cv_func__fpclass_use+:} false; then :
23545  $as_echo_n "(cached) " >&6
23546else
23547
23548
23549      ac_ext=cpp
23550ac_cpp='$CXXCPP $CPPFLAGS'
23551ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23552ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23553ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23554
23555      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23556/* end confdefs.h.  */
23557#include <math.h>
23558		      #ifdef HAVE_IEEEFP_H
23559		      #include <ieeefp.h>
23560		      #endif
23561
23562int
23563main ()
23564{
23565 _fpclass(0);
23566  ;
23567  return 0;
23568}
23569_ACEOF
23570if ac_fn_cxx_try_compile "$LINENO"; then :
23571  glibcxx_cv_func__fpclass_use=yes
23572else
23573  glibcxx_cv_func__fpclass_use=no
23574fi
23575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23576      ac_ext=c
23577ac_cpp='$CPP $CPPFLAGS'
23578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23580ac_compiler_gnu=$ac_cv_c_compiler_gnu
23581
23582
23583fi
23584
23585  fi
23586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23587$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23588
23589    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23590      for ac_func in _fpclass
23591do :
23592  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23593if test "x$ac_cv_func__fpclass" = xyes; then :
23594  cat >>confdefs.h <<_ACEOF
23595#define HAVE__FPCLASS 1
23596_ACEOF
23597
23598fi
23599done
23600
23601    fi
23602  fi
23603
23604
23605
23606
23607
23608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23609$as_echo_n "checking for qfpclass declaration... " >&6; }
23610  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23611    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23612  $as_echo_n "(cached) " >&6
23613else
23614
23615
23616      ac_ext=cpp
23617ac_cpp='$CXXCPP $CPPFLAGS'
23618ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23619ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23620ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23621
23622      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23623/* end confdefs.h.  */
23624#include <math.h>
23625		      #ifdef HAVE_IEEEFP_H
23626		      #include <ieeefp.h>
23627		      #endif
23628
23629int
23630main ()
23631{
23632 qfpclass(0);
23633  ;
23634  return 0;
23635}
23636_ACEOF
23637if ac_fn_cxx_try_compile "$LINENO"; then :
23638  glibcxx_cv_func_qfpclass_use=yes
23639else
23640  glibcxx_cv_func_qfpclass_use=no
23641fi
23642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23643      ac_ext=c
23644ac_cpp='$CPP $CPPFLAGS'
23645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23647ac_compiler_gnu=$ac_cv_c_compiler_gnu
23648
23649
23650fi
23651
23652  fi
23653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23654$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23655
23656  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23657    for ac_func in qfpclass
23658do :
23659  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23660if test "x$ac_cv_func_qfpclass" = xyes; then :
23661  cat >>confdefs.h <<_ACEOF
23662#define HAVE_QFPCLASS 1
23663_ACEOF
23664
23665fi
23666done
23667
23668  else
23669
23670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23671$as_echo_n "checking for _qfpclass declaration... " >&6; }
23672  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23673    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23674  $as_echo_n "(cached) " >&6
23675else
23676
23677
23678      ac_ext=cpp
23679ac_cpp='$CXXCPP $CPPFLAGS'
23680ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23681ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23682ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23683
23684      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23685/* end confdefs.h.  */
23686#include <math.h>
23687		      #ifdef HAVE_IEEEFP_H
23688		      #include <ieeefp.h>
23689		      #endif
23690
23691int
23692main ()
23693{
23694 _qfpclass(0);
23695  ;
23696  return 0;
23697}
23698_ACEOF
23699if ac_fn_cxx_try_compile "$LINENO"; then :
23700  glibcxx_cv_func__qfpclass_use=yes
23701else
23702  glibcxx_cv_func__qfpclass_use=no
23703fi
23704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23705      ac_ext=c
23706ac_cpp='$CPP $CPPFLAGS'
23707ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23708ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23709ac_compiler_gnu=$ac_cv_c_compiler_gnu
23710
23711
23712fi
23713
23714  fi
23715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23716$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23717
23718    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23719      for ac_func in _qfpclass
23720do :
23721  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23722if test "x$ac_cv_func__qfpclass" = xyes; then :
23723  cat >>confdefs.h <<_ACEOF
23724#define HAVE__QFPCLASS 1
23725_ACEOF
23726
23727fi
23728done
23729
23730    fi
23731  fi
23732
23733
23734
23735
23736
23737  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23738$as_echo_n "checking for hypot declaration... " >&6; }
23739  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23740    if ${glibcxx_cv_func_hypot_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 hypot(0, 0);
23758  ;
23759  return 0;
23760}
23761_ACEOF
23762if ac_fn_cxx_try_compile "$LINENO"; then :
23763  glibcxx_cv_func_hypot_use=yes
23764else
23765  glibcxx_cv_func_hypot_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
23774
23775fi
23776
23777  fi
23778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23779$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23780
23781  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23782    for ac_func in hypot
23783do :
23784  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23785if test "x$ac_cv_func_hypot" = xyes; then :
23786  cat >>confdefs.h <<_ACEOF
23787#define HAVE_HYPOT 1
23788_ACEOF
23789
23790fi
23791done
23792
23793  else
23794
23795  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23796$as_echo_n "checking for _hypot declaration... " >&6; }
23797  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23798    if ${glibcxx_cv_func__hypot_use+:} false; then :
23799  $as_echo_n "(cached) " >&6
23800else
23801
23802
23803      ac_ext=cpp
23804ac_cpp='$CXXCPP $CPPFLAGS'
23805ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23806ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23807ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23808
23809      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23810/* end confdefs.h.  */
23811#include <math.h>
23812int
23813main ()
23814{
23815 _hypot(0, 0);
23816  ;
23817  return 0;
23818}
23819_ACEOF
23820if ac_fn_cxx_try_compile "$LINENO"; then :
23821  glibcxx_cv_func__hypot_use=yes
23822else
23823  glibcxx_cv_func__hypot_use=no
23824fi
23825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23826      ac_ext=c
23827ac_cpp='$CPP $CPPFLAGS'
23828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830ac_compiler_gnu=$ac_cv_c_compiler_gnu
23831
23832
23833fi
23834
23835  fi
23836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23837$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23838
23839    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23840      for ac_func in _hypot
23841do :
23842  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23843if test "x$ac_cv_func__hypot" = xyes; then :
23844  cat >>confdefs.h <<_ACEOF
23845#define HAVE__HYPOT 1
23846_ACEOF
23847
23848fi
23849done
23850
23851    fi
23852  fi
23853
23854
23855
23856
23857
23858    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23859$as_echo_n "checking for float trig functions... " >&6; }
23860  if ${glibcxx_cv_func_float_trig_use+:} false; then :
23861  $as_echo_n "(cached) " >&6
23862else
23863
23864
23865    ac_ext=cpp
23866ac_cpp='$CXXCPP $CPPFLAGS'
23867ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23868ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23869ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23870
23871    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23872/* end confdefs.h.  */
23873#include <math.h>
23874int
23875main ()
23876{
23877acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23878  ;
23879  return 0;
23880}
23881_ACEOF
23882if ac_fn_cxx_try_compile "$LINENO"; then :
23883  glibcxx_cv_func_float_trig_use=yes
23884else
23885  glibcxx_cv_func_float_trig_use=no
23886fi
23887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23888    ac_ext=c
23889ac_cpp='$CPP $CPPFLAGS'
23890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23892ac_compiler_gnu=$ac_cv_c_compiler_gnu
23893
23894fi
23895
23896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23897$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23898  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23899    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23900do :
23901  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23902ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23903if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23904  cat >>confdefs.h <<_ACEOF
23905#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23906_ACEOF
23907
23908fi
23909done
23910
23911  else
23912    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23913$as_echo_n "checking for _float trig functions... " >&6; }
23914    if ${glibcxx_cv_func__float_trig_use+:} false; then :
23915  $as_echo_n "(cached) " >&6
23916else
23917
23918
23919      ac_ext=cpp
23920ac_cpp='$CXXCPP $CPPFLAGS'
23921ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23924
23925      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23926/* end confdefs.h.  */
23927#include <math.h>
23928int
23929main ()
23930{
23931_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23932  ;
23933  return 0;
23934}
23935_ACEOF
23936if ac_fn_cxx_try_compile "$LINENO"; then :
23937  glibcxx_cv_func__float_trig_use=yes
23938else
23939  glibcxx_cv_func__float_trig_use=no
23940fi
23941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23942      ac_ext=c
23943ac_cpp='$CPP $CPPFLAGS'
23944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946ac_compiler_gnu=$ac_cv_c_compiler_gnu
23947
23948fi
23949
23950    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23951$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23952    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23953      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23954do :
23955  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23956ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23957if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23958  cat >>confdefs.h <<_ACEOF
23959#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23960_ACEOF
23961
23962fi
23963done
23964
23965    fi
23966  fi
23967
23968
23969
23970
23971
23972    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23973$as_echo_n "checking for float round functions... " >&6; }
23974  if ${glibcxx_cv_func_float_round_use+:} false; then :
23975  $as_echo_n "(cached) " >&6
23976else
23977
23978
23979    ac_ext=cpp
23980ac_cpp='$CXXCPP $CPPFLAGS'
23981ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23984
23985    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986/* end confdefs.h.  */
23987#include <math.h>
23988int
23989main ()
23990{
23991ceilf (0); floorf (0);
23992  ;
23993  return 0;
23994}
23995_ACEOF
23996if ac_fn_cxx_try_compile "$LINENO"; then :
23997  glibcxx_cv_func_float_round_use=yes
23998else
23999  glibcxx_cv_func_float_round_use=no
24000fi
24001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24002    ac_ext=c
24003ac_cpp='$CPP $CPPFLAGS'
24004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24006ac_compiler_gnu=$ac_cv_c_compiler_gnu
24007
24008fi
24009
24010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
24011$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
24012  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
24013    for ac_func in ceilf floorf
24014do :
24015  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24016ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24017if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24018  cat >>confdefs.h <<_ACEOF
24019#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24020_ACEOF
24021
24022fi
24023done
24024
24025  else
24026    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
24027$as_echo_n "checking for _float round functions... " >&6; }
24028    if ${glibcxx_cv_func__float_round_use+:} false; then :
24029  $as_echo_n "(cached) " >&6
24030else
24031
24032
24033      ac_ext=cpp
24034ac_cpp='$CXXCPP $CPPFLAGS'
24035ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24036ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24037ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24038
24039      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24040/* end confdefs.h.  */
24041#include <math.h>
24042int
24043main ()
24044{
24045_ceilf (0); _floorf (0);
24046  ;
24047  return 0;
24048}
24049_ACEOF
24050if ac_fn_cxx_try_compile "$LINENO"; then :
24051  glibcxx_cv_func__float_round_use=yes
24052else
24053  glibcxx_cv_func__float_round_use=no
24054fi
24055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24056      ac_ext=c
24057ac_cpp='$CPP $CPPFLAGS'
24058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24060ac_compiler_gnu=$ac_cv_c_compiler_gnu
24061
24062fi
24063
24064    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
24065$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
24066    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24067      for ac_func in _ceilf _floorf
24068do :
24069  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24070ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24071if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24072  cat >>confdefs.h <<_ACEOF
24073#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24074_ACEOF
24075
24076fi
24077done
24078
24079    fi
24080  fi
24081
24082
24083
24084
24085
24086
24087  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24088$as_echo_n "checking for expf declaration... " >&6; }
24089  if test x${glibcxx_cv_func_expf_use+set} != xset; then
24090    if ${glibcxx_cv_func_expf_use+:} false; then :
24091  $as_echo_n "(cached) " >&6
24092else
24093
24094
24095      ac_ext=cpp
24096ac_cpp='$CXXCPP $CPPFLAGS'
24097ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24098ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24099ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24100
24101      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24102/* end confdefs.h.  */
24103#include <math.h>
24104		      #ifdef HAVE_IEEEFP_H
24105		      #include <ieeefp.h>
24106		      #endif
24107
24108int
24109main ()
24110{
24111 expf(0);
24112  ;
24113  return 0;
24114}
24115_ACEOF
24116if ac_fn_cxx_try_compile "$LINENO"; then :
24117  glibcxx_cv_func_expf_use=yes
24118else
24119  glibcxx_cv_func_expf_use=no
24120fi
24121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24122      ac_ext=c
24123ac_cpp='$CPP $CPPFLAGS'
24124ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126ac_compiler_gnu=$ac_cv_c_compiler_gnu
24127
24128
24129fi
24130
24131  fi
24132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24133$as_echo "$glibcxx_cv_func_expf_use" >&6; }
24134
24135  if test x$glibcxx_cv_func_expf_use = x"yes"; then
24136    for ac_func in expf
24137do :
24138  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24139if test "x$ac_cv_func_expf" = xyes; then :
24140  cat >>confdefs.h <<_ACEOF
24141#define HAVE_EXPF 1
24142_ACEOF
24143
24144fi
24145done
24146
24147  else
24148
24149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24150$as_echo_n "checking for _expf declaration... " >&6; }
24151  if test x${glibcxx_cv_func__expf_use+set} != xset; then
24152    if ${glibcxx_cv_func__expf_use+:} false; then :
24153  $as_echo_n "(cached) " >&6
24154else
24155
24156
24157      ac_ext=cpp
24158ac_cpp='$CXXCPP $CPPFLAGS'
24159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24162
24163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24164/* end confdefs.h.  */
24165#include <math.h>
24166		      #ifdef HAVE_IEEEFP_H
24167		      #include <ieeefp.h>
24168		      #endif
24169
24170int
24171main ()
24172{
24173 _expf(0);
24174  ;
24175  return 0;
24176}
24177_ACEOF
24178if ac_fn_cxx_try_compile "$LINENO"; then :
24179  glibcxx_cv_func__expf_use=yes
24180else
24181  glibcxx_cv_func__expf_use=no
24182fi
24183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24184      ac_ext=c
24185ac_cpp='$CPP $CPPFLAGS'
24186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188ac_compiler_gnu=$ac_cv_c_compiler_gnu
24189
24190
24191fi
24192
24193  fi
24194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24195$as_echo "$glibcxx_cv_func__expf_use" >&6; }
24196
24197    if test x$glibcxx_cv_func__expf_use = x"yes"; then
24198      for ac_func in _expf
24199do :
24200  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24201if test "x$ac_cv_func__expf" = xyes; then :
24202  cat >>confdefs.h <<_ACEOF
24203#define HAVE__EXPF 1
24204_ACEOF
24205
24206fi
24207done
24208
24209    fi
24210  fi
24211
24212
24213
24214
24215
24216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24217$as_echo_n "checking for isnanf declaration... " >&6; }
24218  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24219    if ${glibcxx_cv_func_isnanf_use+:} false; then :
24220  $as_echo_n "(cached) " >&6
24221else
24222
24223
24224      ac_ext=cpp
24225ac_cpp='$CXXCPP $CPPFLAGS'
24226ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24229
24230      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24231/* end confdefs.h.  */
24232#include <math.h>
24233		      #ifdef HAVE_IEEEFP_H
24234		      #include <ieeefp.h>
24235		      #endif
24236
24237int
24238main ()
24239{
24240 isnanf(0);
24241  ;
24242  return 0;
24243}
24244_ACEOF
24245if ac_fn_cxx_try_compile "$LINENO"; then :
24246  glibcxx_cv_func_isnanf_use=yes
24247else
24248  glibcxx_cv_func_isnanf_use=no
24249fi
24250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24251      ac_ext=c
24252ac_cpp='$CPP $CPPFLAGS'
24253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24255ac_compiler_gnu=$ac_cv_c_compiler_gnu
24256
24257
24258fi
24259
24260  fi
24261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24262$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24263
24264  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24265    for ac_func in isnanf
24266do :
24267  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24268if test "x$ac_cv_func_isnanf" = xyes; then :
24269  cat >>confdefs.h <<_ACEOF
24270#define HAVE_ISNANF 1
24271_ACEOF
24272
24273fi
24274done
24275
24276  else
24277
24278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24279$as_echo_n "checking for _isnanf declaration... " >&6; }
24280  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24281    if ${glibcxx_cv_func__isnanf_use+:} false; then :
24282  $as_echo_n "(cached) " >&6
24283else
24284
24285
24286      ac_ext=cpp
24287ac_cpp='$CXXCPP $CPPFLAGS'
24288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24291
24292      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24293/* end confdefs.h.  */
24294#include <math.h>
24295		      #ifdef HAVE_IEEEFP_H
24296		      #include <ieeefp.h>
24297		      #endif
24298
24299int
24300main ()
24301{
24302 _isnanf(0);
24303  ;
24304  return 0;
24305}
24306_ACEOF
24307if ac_fn_cxx_try_compile "$LINENO"; then :
24308  glibcxx_cv_func__isnanf_use=yes
24309else
24310  glibcxx_cv_func__isnanf_use=no
24311fi
24312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24313      ac_ext=c
24314ac_cpp='$CPP $CPPFLAGS'
24315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24317ac_compiler_gnu=$ac_cv_c_compiler_gnu
24318
24319
24320fi
24321
24322  fi
24323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24324$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24325
24326    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24327      for ac_func in _isnanf
24328do :
24329  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24330if test "x$ac_cv_func__isnanf" = xyes; then :
24331  cat >>confdefs.h <<_ACEOF
24332#define HAVE__ISNANF 1
24333_ACEOF
24334
24335fi
24336done
24337
24338    fi
24339  fi
24340
24341
24342
24343
24344
24345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24346$as_echo_n "checking for isinff declaration... " >&6; }
24347  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24348    if ${glibcxx_cv_func_isinff_use+:} false; then :
24349  $as_echo_n "(cached) " >&6
24350else
24351
24352
24353      ac_ext=cpp
24354ac_cpp='$CXXCPP $CPPFLAGS'
24355ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24358
24359      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24360/* end confdefs.h.  */
24361#include <math.h>
24362		      #ifdef HAVE_IEEEFP_H
24363		      #include <ieeefp.h>
24364		      #endif
24365
24366int
24367main ()
24368{
24369 isinff(0);
24370  ;
24371  return 0;
24372}
24373_ACEOF
24374if ac_fn_cxx_try_compile "$LINENO"; then :
24375  glibcxx_cv_func_isinff_use=yes
24376else
24377  glibcxx_cv_func_isinff_use=no
24378fi
24379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24380      ac_ext=c
24381ac_cpp='$CPP $CPPFLAGS'
24382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24384ac_compiler_gnu=$ac_cv_c_compiler_gnu
24385
24386
24387fi
24388
24389  fi
24390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24391$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24392
24393  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24394    for ac_func in isinff
24395do :
24396  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24397if test "x$ac_cv_func_isinff" = xyes; then :
24398  cat >>confdefs.h <<_ACEOF
24399#define HAVE_ISINFF 1
24400_ACEOF
24401
24402fi
24403done
24404
24405  else
24406
24407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24408$as_echo_n "checking for _isinff declaration... " >&6; }
24409  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24410    if ${glibcxx_cv_func__isinff_use+:} false; then :
24411  $as_echo_n "(cached) " >&6
24412else
24413
24414
24415      ac_ext=cpp
24416ac_cpp='$CXXCPP $CPPFLAGS'
24417ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24420
24421      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24422/* end confdefs.h.  */
24423#include <math.h>
24424		      #ifdef HAVE_IEEEFP_H
24425		      #include <ieeefp.h>
24426		      #endif
24427
24428int
24429main ()
24430{
24431 _isinff(0);
24432  ;
24433  return 0;
24434}
24435_ACEOF
24436if ac_fn_cxx_try_compile "$LINENO"; then :
24437  glibcxx_cv_func__isinff_use=yes
24438else
24439  glibcxx_cv_func__isinff_use=no
24440fi
24441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24442      ac_ext=c
24443ac_cpp='$CPP $CPPFLAGS'
24444ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24445ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24446ac_compiler_gnu=$ac_cv_c_compiler_gnu
24447
24448
24449fi
24450
24451  fi
24452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24453$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24454
24455    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24456      for ac_func in _isinff
24457do :
24458  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24459if test "x$ac_cv_func__isinff" = xyes; then :
24460  cat >>confdefs.h <<_ACEOF
24461#define HAVE__ISINFF 1
24462_ACEOF
24463
24464fi
24465done
24466
24467    fi
24468  fi
24469
24470
24471
24472
24473
24474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24475$as_echo_n "checking for atan2f declaration... " >&6; }
24476  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24477    if ${glibcxx_cv_func_atan2f_use+:} false; then :
24478  $as_echo_n "(cached) " >&6
24479else
24480
24481
24482      ac_ext=cpp
24483ac_cpp='$CXXCPP $CPPFLAGS'
24484ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24487
24488      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24489/* end confdefs.h.  */
24490#include <math.h>
24491int
24492main ()
24493{
24494 atan2f(0, 0);
24495  ;
24496  return 0;
24497}
24498_ACEOF
24499if ac_fn_cxx_try_compile "$LINENO"; then :
24500  glibcxx_cv_func_atan2f_use=yes
24501else
24502  glibcxx_cv_func_atan2f_use=no
24503fi
24504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24505      ac_ext=c
24506ac_cpp='$CPP $CPPFLAGS'
24507ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24508ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24509ac_compiler_gnu=$ac_cv_c_compiler_gnu
24510
24511
24512fi
24513
24514  fi
24515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24516$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24517
24518  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24519    for ac_func in atan2f
24520do :
24521  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24522if test "x$ac_cv_func_atan2f" = xyes; then :
24523  cat >>confdefs.h <<_ACEOF
24524#define HAVE_ATAN2F 1
24525_ACEOF
24526
24527fi
24528done
24529
24530  else
24531
24532  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24533$as_echo_n "checking for _atan2f declaration... " >&6; }
24534  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24535    if ${glibcxx_cv_func__atan2f_use+:} false; then :
24536  $as_echo_n "(cached) " >&6
24537else
24538
24539
24540      ac_ext=cpp
24541ac_cpp='$CXXCPP $CPPFLAGS'
24542ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24543ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24544ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24545
24546      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24547/* end confdefs.h.  */
24548#include <math.h>
24549int
24550main ()
24551{
24552 _atan2f(0, 0);
24553  ;
24554  return 0;
24555}
24556_ACEOF
24557if ac_fn_cxx_try_compile "$LINENO"; then :
24558  glibcxx_cv_func__atan2f_use=yes
24559else
24560  glibcxx_cv_func__atan2f_use=no
24561fi
24562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24563      ac_ext=c
24564ac_cpp='$CPP $CPPFLAGS'
24565ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567ac_compiler_gnu=$ac_cv_c_compiler_gnu
24568
24569
24570fi
24571
24572  fi
24573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24574$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24575
24576    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24577      for ac_func in _atan2f
24578do :
24579  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24580if test "x$ac_cv_func__atan2f" = xyes; then :
24581  cat >>confdefs.h <<_ACEOF
24582#define HAVE__ATAN2F 1
24583_ACEOF
24584
24585fi
24586done
24587
24588    fi
24589  fi
24590
24591
24592
24593
24594
24595  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24596$as_echo_n "checking for fabsf declaration... " >&6; }
24597  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24598    if ${glibcxx_cv_func_fabsf_use+:} false; then :
24599  $as_echo_n "(cached) " >&6
24600else
24601
24602
24603      ac_ext=cpp
24604ac_cpp='$CXXCPP $CPPFLAGS'
24605ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24608
24609      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24610/* end confdefs.h.  */
24611#include <math.h>
24612		      #ifdef HAVE_IEEEFP_H
24613		      #include <ieeefp.h>
24614		      #endif
24615
24616int
24617main ()
24618{
24619 fabsf(0);
24620  ;
24621  return 0;
24622}
24623_ACEOF
24624if ac_fn_cxx_try_compile "$LINENO"; then :
24625  glibcxx_cv_func_fabsf_use=yes
24626else
24627  glibcxx_cv_func_fabsf_use=no
24628fi
24629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24630      ac_ext=c
24631ac_cpp='$CPP $CPPFLAGS'
24632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24634ac_compiler_gnu=$ac_cv_c_compiler_gnu
24635
24636
24637fi
24638
24639  fi
24640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24641$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24642
24643  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24644    for ac_func in fabsf
24645do :
24646  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24647if test "x$ac_cv_func_fabsf" = xyes; then :
24648  cat >>confdefs.h <<_ACEOF
24649#define HAVE_FABSF 1
24650_ACEOF
24651
24652fi
24653done
24654
24655  else
24656
24657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24658$as_echo_n "checking for _fabsf declaration... " >&6; }
24659  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24660    if ${glibcxx_cv_func__fabsf_use+:} false; then :
24661  $as_echo_n "(cached) " >&6
24662else
24663
24664
24665      ac_ext=cpp
24666ac_cpp='$CXXCPP $CPPFLAGS'
24667ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24668ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24669ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24670
24671      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24672/* end confdefs.h.  */
24673#include <math.h>
24674		      #ifdef HAVE_IEEEFP_H
24675		      #include <ieeefp.h>
24676		      #endif
24677
24678int
24679main ()
24680{
24681 _fabsf(0);
24682  ;
24683  return 0;
24684}
24685_ACEOF
24686if ac_fn_cxx_try_compile "$LINENO"; then :
24687  glibcxx_cv_func__fabsf_use=yes
24688else
24689  glibcxx_cv_func__fabsf_use=no
24690fi
24691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24692      ac_ext=c
24693ac_cpp='$CPP $CPPFLAGS'
24694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24696ac_compiler_gnu=$ac_cv_c_compiler_gnu
24697
24698
24699fi
24700
24701  fi
24702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24703$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24704
24705    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24706      for ac_func in _fabsf
24707do :
24708  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24709if test "x$ac_cv_func__fabsf" = xyes; then :
24710  cat >>confdefs.h <<_ACEOF
24711#define HAVE__FABSF 1
24712_ACEOF
24713
24714fi
24715done
24716
24717    fi
24718  fi
24719
24720
24721
24722
24723
24724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24725$as_echo_n "checking for fmodf declaration... " >&6; }
24726  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24727    if ${glibcxx_cv_func_fmodf_use+:} false; then :
24728  $as_echo_n "(cached) " >&6
24729else
24730
24731
24732      ac_ext=cpp
24733ac_cpp='$CXXCPP $CPPFLAGS'
24734ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24737
24738      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24739/* end confdefs.h.  */
24740#include <math.h>
24741int
24742main ()
24743{
24744 fmodf(0, 0);
24745  ;
24746  return 0;
24747}
24748_ACEOF
24749if ac_fn_cxx_try_compile "$LINENO"; then :
24750  glibcxx_cv_func_fmodf_use=yes
24751else
24752  glibcxx_cv_func_fmodf_use=no
24753fi
24754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24755      ac_ext=c
24756ac_cpp='$CPP $CPPFLAGS'
24757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24759ac_compiler_gnu=$ac_cv_c_compiler_gnu
24760
24761
24762fi
24763
24764  fi
24765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24766$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24767
24768  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24769    for ac_func in fmodf
24770do :
24771  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24772if test "x$ac_cv_func_fmodf" = xyes; then :
24773  cat >>confdefs.h <<_ACEOF
24774#define HAVE_FMODF 1
24775_ACEOF
24776
24777fi
24778done
24779
24780  else
24781
24782  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24783$as_echo_n "checking for _fmodf declaration... " >&6; }
24784  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24785    if ${glibcxx_cv_func__fmodf_use+:} false; then :
24786  $as_echo_n "(cached) " >&6
24787else
24788
24789
24790      ac_ext=cpp
24791ac_cpp='$CXXCPP $CPPFLAGS'
24792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24795
24796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24797/* end confdefs.h.  */
24798#include <math.h>
24799int
24800main ()
24801{
24802 _fmodf(0, 0);
24803  ;
24804  return 0;
24805}
24806_ACEOF
24807if ac_fn_cxx_try_compile "$LINENO"; then :
24808  glibcxx_cv_func__fmodf_use=yes
24809else
24810  glibcxx_cv_func__fmodf_use=no
24811fi
24812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813      ac_ext=c
24814ac_cpp='$CPP $CPPFLAGS'
24815ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817ac_compiler_gnu=$ac_cv_c_compiler_gnu
24818
24819
24820fi
24821
24822  fi
24823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24824$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24825
24826    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24827      for ac_func in _fmodf
24828do :
24829  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24830if test "x$ac_cv_func__fmodf" = xyes; then :
24831  cat >>confdefs.h <<_ACEOF
24832#define HAVE__FMODF 1
24833_ACEOF
24834
24835fi
24836done
24837
24838    fi
24839  fi
24840
24841
24842
24843
24844
24845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24846$as_echo_n "checking for frexpf declaration... " >&6; }
24847  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24848    if ${glibcxx_cv_func_frexpf_use+:} false; then :
24849  $as_echo_n "(cached) " >&6
24850else
24851
24852
24853      ac_ext=cpp
24854ac_cpp='$CXXCPP $CPPFLAGS'
24855ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24856ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24857ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24858
24859      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24860/* end confdefs.h.  */
24861#include <math.h>
24862int
24863main ()
24864{
24865 frexpf(0, 0);
24866  ;
24867  return 0;
24868}
24869_ACEOF
24870if ac_fn_cxx_try_compile "$LINENO"; then :
24871  glibcxx_cv_func_frexpf_use=yes
24872else
24873  glibcxx_cv_func_frexpf_use=no
24874fi
24875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24876      ac_ext=c
24877ac_cpp='$CPP $CPPFLAGS'
24878ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24879ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24880ac_compiler_gnu=$ac_cv_c_compiler_gnu
24881
24882
24883fi
24884
24885  fi
24886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24887$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24888
24889  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24890    for ac_func in frexpf
24891do :
24892  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24893if test "x$ac_cv_func_frexpf" = xyes; then :
24894  cat >>confdefs.h <<_ACEOF
24895#define HAVE_FREXPF 1
24896_ACEOF
24897
24898fi
24899done
24900
24901  else
24902
24903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24904$as_echo_n "checking for _frexpf declaration... " >&6; }
24905  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24906    if ${glibcxx_cv_func__frexpf_use+:} false; then :
24907  $as_echo_n "(cached) " >&6
24908else
24909
24910
24911      ac_ext=cpp
24912ac_cpp='$CXXCPP $CPPFLAGS'
24913ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24914ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24915ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24916
24917      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24918/* end confdefs.h.  */
24919#include <math.h>
24920int
24921main ()
24922{
24923 _frexpf(0, 0);
24924  ;
24925  return 0;
24926}
24927_ACEOF
24928if ac_fn_cxx_try_compile "$LINENO"; then :
24929  glibcxx_cv_func__frexpf_use=yes
24930else
24931  glibcxx_cv_func__frexpf_use=no
24932fi
24933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24934      ac_ext=c
24935ac_cpp='$CPP $CPPFLAGS'
24936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938ac_compiler_gnu=$ac_cv_c_compiler_gnu
24939
24940
24941fi
24942
24943  fi
24944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24945$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24946
24947    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24948      for ac_func in _frexpf
24949do :
24950  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24951if test "x$ac_cv_func__frexpf" = xyes; then :
24952  cat >>confdefs.h <<_ACEOF
24953#define HAVE__FREXPF 1
24954_ACEOF
24955
24956fi
24957done
24958
24959    fi
24960  fi
24961
24962
24963
24964
24965
24966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24967$as_echo_n "checking for hypotf declaration... " >&6; }
24968  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24969    if ${glibcxx_cv_func_hypotf_use+:} false; then :
24970  $as_echo_n "(cached) " >&6
24971else
24972
24973
24974      ac_ext=cpp
24975ac_cpp='$CXXCPP $CPPFLAGS'
24976ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24979
24980      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24981/* end confdefs.h.  */
24982#include <math.h>
24983int
24984main ()
24985{
24986 hypotf(0, 0);
24987  ;
24988  return 0;
24989}
24990_ACEOF
24991if ac_fn_cxx_try_compile "$LINENO"; then :
24992  glibcxx_cv_func_hypotf_use=yes
24993else
24994  glibcxx_cv_func_hypotf_use=no
24995fi
24996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24997      ac_ext=c
24998ac_cpp='$CPP $CPPFLAGS'
24999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001ac_compiler_gnu=$ac_cv_c_compiler_gnu
25002
25003
25004fi
25005
25006  fi
25007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
25008$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
25009
25010  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25011    for ac_func in hypotf
25012do :
25013  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
25014if test "x$ac_cv_func_hypotf" = xyes; then :
25015  cat >>confdefs.h <<_ACEOF
25016#define HAVE_HYPOTF 1
25017_ACEOF
25018
25019fi
25020done
25021
25022  else
25023
25024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
25025$as_echo_n "checking for _hypotf declaration... " >&6; }
25026  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25027    if ${glibcxx_cv_func__hypotf_use+:} false; then :
25028  $as_echo_n "(cached) " >&6
25029else
25030
25031
25032      ac_ext=cpp
25033ac_cpp='$CXXCPP $CPPFLAGS'
25034ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25037
25038      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25039/* end confdefs.h.  */
25040#include <math.h>
25041int
25042main ()
25043{
25044 _hypotf(0, 0);
25045  ;
25046  return 0;
25047}
25048_ACEOF
25049if ac_fn_cxx_try_compile "$LINENO"; then :
25050  glibcxx_cv_func__hypotf_use=yes
25051else
25052  glibcxx_cv_func__hypotf_use=no
25053fi
25054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25055      ac_ext=c
25056ac_cpp='$CPP $CPPFLAGS'
25057ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059ac_compiler_gnu=$ac_cv_c_compiler_gnu
25060
25061
25062fi
25063
25064  fi
25065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
25066$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
25067
25068    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25069      for ac_func in _hypotf
25070do :
25071  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
25072if test "x$ac_cv_func__hypotf" = xyes; then :
25073  cat >>confdefs.h <<_ACEOF
25074#define HAVE__HYPOTF 1
25075_ACEOF
25076
25077fi
25078done
25079
25080    fi
25081  fi
25082
25083
25084
25085
25086
25087  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25088$as_echo_n "checking for ldexpf declaration... " >&6; }
25089  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25090    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25091  $as_echo_n "(cached) " >&6
25092else
25093
25094
25095      ac_ext=cpp
25096ac_cpp='$CXXCPP $CPPFLAGS'
25097ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25098ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25099ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25100
25101      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25102/* end confdefs.h.  */
25103#include <math.h>
25104int
25105main ()
25106{
25107 ldexpf(0, 0);
25108  ;
25109  return 0;
25110}
25111_ACEOF
25112if ac_fn_cxx_try_compile "$LINENO"; then :
25113  glibcxx_cv_func_ldexpf_use=yes
25114else
25115  glibcxx_cv_func_ldexpf_use=no
25116fi
25117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25118      ac_ext=c
25119ac_cpp='$CPP $CPPFLAGS'
25120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25122ac_compiler_gnu=$ac_cv_c_compiler_gnu
25123
25124
25125fi
25126
25127  fi
25128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25129$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25130
25131  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25132    for ac_func in ldexpf
25133do :
25134  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25135if test "x$ac_cv_func_ldexpf" = xyes; then :
25136  cat >>confdefs.h <<_ACEOF
25137#define HAVE_LDEXPF 1
25138_ACEOF
25139
25140fi
25141done
25142
25143  else
25144
25145  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25146$as_echo_n "checking for _ldexpf declaration... " >&6; }
25147  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25148    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25149  $as_echo_n "(cached) " >&6
25150else
25151
25152
25153      ac_ext=cpp
25154ac_cpp='$CXXCPP $CPPFLAGS'
25155ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25156ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25157ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25158
25159      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25160/* end confdefs.h.  */
25161#include <math.h>
25162int
25163main ()
25164{
25165 _ldexpf(0, 0);
25166  ;
25167  return 0;
25168}
25169_ACEOF
25170if ac_fn_cxx_try_compile "$LINENO"; then :
25171  glibcxx_cv_func__ldexpf_use=yes
25172else
25173  glibcxx_cv_func__ldexpf_use=no
25174fi
25175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25176      ac_ext=c
25177ac_cpp='$CPP $CPPFLAGS'
25178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180ac_compiler_gnu=$ac_cv_c_compiler_gnu
25181
25182
25183fi
25184
25185  fi
25186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25187$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25188
25189    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25190      for ac_func in _ldexpf
25191do :
25192  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25193if test "x$ac_cv_func__ldexpf" = xyes; then :
25194  cat >>confdefs.h <<_ACEOF
25195#define HAVE__LDEXPF 1
25196_ACEOF
25197
25198fi
25199done
25200
25201    fi
25202  fi
25203
25204
25205
25206
25207
25208  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25209$as_echo_n "checking for logf declaration... " >&6; }
25210  if test x${glibcxx_cv_func_logf_use+set} != xset; then
25211    if ${glibcxx_cv_func_logf_use+:} false; then :
25212  $as_echo_n "(cached) " >&6
25213else
25214
25215
25216      ac_ext=cpp
25217ac_cpp='$CXXCPP $CPPFLAGS'
25218ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25219ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25220ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25221
25222      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25223/* end confdefs.h.  */
25224#include <math.h>
25225		      #ifdef HAVE_IEEEFP_H
25226		      #include <ieeefp.h>
25227		      #endif
25228
25229int
25230main ()
25231{
25232 logf(0);
25233  ;
25234  return 0;
25235}
25236_ACEOF
25237if ac_fn_cxx_try_compile "$LINENO"; then :
25238  glibcxx_cv_func_logf_use=yes
25239else
25240  glibcxx_cv_func_logf_use=no
25241fi
25242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25243      ac_ext=c
25244ac_cpp='$CPP $CPPFLAGS'
25245ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25246ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25247ac_compiler_gnu=$ac_cv_c_compiler_gnu
25248
25249
25250fi
25251
25252  fi
25253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25254$as_echo "$glibcxx_cv_func_logf_use" >&6; }
25255
25256  if test x$glibcxx_cv_func_logf_use = x"yes"; then
25257    for ac_func in logf
25258do :
25259  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25260if test "x$ac_cv_func_logf" = xyes; then :
25261  cat >>confdefs.h <<_ACEOF
25262#define HAVE_LOGF 1
25263_ACEOF
25264
25265fi
25266done
25267
25268  else
25269
25270  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25271$as_echo_n "checking for _logf declaration... " >&6; }
25272  if test x${glibcxx_cv_func__logf_use+set} != xset; then
25273    if ${glibcxx_cv_func__logf_use+:} false; then :
25274  $as_echo_n "(cached) " >&6
25275else
25276
25277
25278      ac_ext=cpp
25279ac_cpp='$CXXCPP $CPPFLAGS'
25280ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25281ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25282ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25283
25284      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25285/* end confdefs.h.  */
25286#include <math.h>
25287		      #ifdef HAVE_IEEEFP_H
25288		      #include <ieeefp.h>
25289		      #endif
25290
25291int
25292main ()
25293{
25294 _logf(0);
25295  ;
25296  return 0;
25297}
25298_ACEOF
25299if ac_fn_cxx_try_compile "$LINENO"; then :
25300  glibcxx_cv_func__logf_use=yes
25301else
25302  glibcxx_cv_func__logf_use=no
25303fi
25304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25305      ac_ext=c
25306ac_cpp='$CPP $CPPFLAGS'
25307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309ac_compiler_gnu=$ac_cv_c_compiler_gnu
25310
25311
25312fi
25313
25314  fi
25315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25316$as_echo "$glibcxx_cv_func__logf_use" >&6; }
25317
25318    if test x$glibcxx_cv_func__logf_use = x"yes"; then
25319      for ac_func in _logf
25320do :
25321  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25322if test "x$ac_cv_func__logf" = xyes; then :
25323  cat >>confdefs.h <<_ACEOF
25324#define HAVE__LOGF 1
25325_ACEOF
25326
25327fi
25328done
25329
25330    fi
25331  fi
25332
25333
25334
25335
25336
25337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25338$as_echo_n "checking for log10f declaration... " >&6; }
25339  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25340    if ${glibcxx_cv_func_log10f_use+:} false; then :
25341  $as_echo_n "(cached) " >&6
25342else
25343
25344
25345      ac_ext=cpp
25346ac_cpp='$CXXCPP $CPPFLAGS'
25347ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25350
25351      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25352/* end confdefs.h.  */
25353#include <math.h>
25354		      #ifdef HAVE_IEEEFP_H
25355		      #include <ieeefp.h>
25356		      #endif
25357
25358int
25359main ()
25360{
25361 log10f(0);
25362  ;
25363  return 0;
25364}
25365_ACEOF
25366if ac_fn_cxx_try_compile "$LINENO"; then :
25367  glibcxx_cv_func_log10f_use=yes
25368else
25369  glibcxx_cv_func_log10f_use=no
25370fi
25371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25372      ac_ext=c
25373ac_cpp='$CPP $CPPFLAGS'
25374ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25375ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25376ac_compiler_gnu=$ac_cv_c_compiler_gnu
25377
25378
25379fi
25380
25381  fi
25382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25383$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25384
25385  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25386    for ac_func in log10f
25387do :
25388  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25389if test "x$ac_cv_func_log10f" = xyes; then :
25390  cat >>confdefs.h <<_ACEOF
25391#define HAVE_LOG10F 1
25392_ACEOF
25393
25394fi
25395done
25396
25397  else
25398
25399  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25400$as_echo_n "checking for _log10f declaration... " >&6; }
25401  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25402    if ${glibcxx_cv_func__log10f_use+:} false; then :
25403  $as_echo_n "(cached) " >&6
25404else
25405
25406
25407      ac_ext=cpp
25408ac_cpp='$CXXCPP $CPPFLAGS'
25409ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25410ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25411ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25412
25413      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25414/* end confdefs.h.  */
25415#include <math.h>
25416		      #ifdef HAVE_IEEEFP_H
25417		      #include <ieeefp.h>
25418		      #endif
25419
25420int
25421main ()
25422{
25423 _log10f(0);
25424  ;
25425  return 0;
25426}
25427_ACEOF
25428if ac_fn_cxx_try_compile "$LINENO"; then :
25429  glibcxx_cv_func__log10f_use=yes
25430else
25431  glibcxx_cv_func__log10f_use=no
25432fi
25433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25434      ac_ext=c
25435ac_cpp='$CPP $CPPFLAGS'
25436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25438ac_compiler_gnu=$ac_cv_c_compiler_gnu
25439
25440
25441fi
25442
25443  fi
25444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25445$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25446
25447    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25448      for ac_func in _log10f
25449do :
25450  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25451if test "x$ac_cv_func__log10f" = xyes; then :
25452  cat >>confdefs.h <<_ACEOF
25453#define HAVE__LOG10F 1
25454_ACEOF
25455
25456fi
25457done
25458
25459    fi
25460  fi
25461
25462
25463
25464
25465
25466  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25467$as_echo_n "checking for modff declaration... " >&6; }
25468  if test x${glibcxx_cv_func_modff_use+set} != xset; then
25469    if ${glibcxx_cv_func_modff_use+:} false; then :
25470  $as_echo_n "(cached) " >&6
25471else
25472
25473
25474      ac_ext=cpp
25475ac_cpp='$CXXCPP $CPPFLAGS'
25476ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25477ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25478ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25479
25480      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25481/* end confdefs.h.  */
25482#include <math.h>
25483int
25484main ()
25485{
25486 modff(0, 0);
25487  ;
25488  return 0;
25489}
25490_ACEOF
25491if ac_fn_cxx_try_compile "$LINENO"; then :
25492  glibcxx_cv_func_modff_use=yes
25493else
25494  glibcxx_cv_func_modff_use=no
25495fi
25496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25497      ac_ext=c
25498ac_cpp='$CPP $CPPFLAGS'
25499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25501ac_compiler_gnu=$ac_cv_c_compiler_gnu
25502
25503
25504fi
25505
25506  fi
25507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25508$as_echo "$glibcxx_cv_func_modff_use" >&6; }
25509
25510  if test x$glibcxx_cv_func_modff_use = x"yes"; then
25511    for ac_func in modff
25512do :
25513  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25514if test "x$ac_cv_func_modff" = xyes; then :
25515  cat >>confdefs.h <<_ACEOF
25516#define HAVE_MODFF 1
25517_ACEOF
25518
25519fi
25520done
25521
25522  else
25523
25524  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25525$as_echo_n "checking for _modff declaration... " >&6; }
25526  if test x${glibcxx_cv_func__modff_use+set} != xset; then
25527    if ${glibcxx_cv_func__modff_use+:} false; then :
25528  $as_echo_n "(cached) " >&6
25529else
25530
25531
25532      ac_ext=cpp
25533ac_cpp='$CXXCPP $CPPFLAGS'
25534ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25535ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25536ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25537
25538      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25539/* end confdefs.h.  */
25540#include <math.h>
25541int
25542main ()
25543{
25544 _modff(0, 0);
25545  ;
25546  return 0;
25547}
25548_ACEOF
25549if ac_fn_cxx_try_compile "$LINENO"; then :
25550  glibcxx_cv_func__modff_use=yes
25551else
25552  glibcxx_cv_func__modff_use=no
25553fi
25554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25555      ac_ext=c
25556ac_cpp='$CPP $CPPFLAGS'
25557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25559ac_compiler_gnu=$ac_cv_c_compiler_gnu
25560
25561
25562fi
25563
25564  fi
25565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25566$as_echo "$glibcxx_cv_func__modff_use" >&6; }
25567
25568    if test x$glibcxx_cv_func__modff_use = x"yes"; then
25569      for ac_func in _modff
25570do :
25571  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25572if test "x$ac_cv_func__modff" = xyes; then :
25573  cat >>confdefs.h <<_ACEOF
25574#define HAVE__MODFF 1
25575_ACEOF
25576
25577fi
25578done
25579
25580    fi
25581  fi
25582
25583
25584
25585
25586
25587  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25588$as_echo_n "checking for modf declaration... " >&6; }
25589  if test x${glibcxx_cv_func_modf_use+set} != xset; then
25590    if ${glibcxx_cv_func_modf_use+:} false; then :
25591  $as_echo_n "(cached) " >&6
25592else
25593
25594
25595      ac_ext=cpp
25596ac_cpp='$CXXCPP $CPPFLAGS'
25597ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25598ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25599ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25600
25601      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25602/* end confdefs.h.  */
25603#include <math.h>
25604int
25605main ()
25606{
25607 modf(0, 0);
25608  ;
25609  return 0;
25610}
25611_ACEOF
25612if ac_fn_cxx_try_compile "$LINENO"; then :
25613  glibcxx_cv_func_modf_use=yes
25614else
25615  glibcxx_cv_func_modf_use=no
25616fi
25617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25618      ac_ext=c
25619ac_cpp='$CPP $CPPFLAGS'
25620ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622ac_compiler_gnu=$ac_cv_c_compiler_gnu
25623
25624
25625fi
25626
25627  fi
25628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25629$as_echo "$glibcxx_cv_func_modf_use" >&6; }
25630
25631  if test x$glibcxx_cv_func_modf_use = x"yes"; then
25632    for ac_func in modf
25633do :
25634  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25635if test "x$ac_cv_func_modf" = xyes; then :
25636  cat >>confdefs.h <<_ACEOF
25637#define HAVE_MODF 1
25638_ACEOF
25639
25640fi
25641done
25642
25643  else
25644
25645  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25646$as_echo_n "checking for _modf declaration... " >&6; }
25647  if test x${glibcxx_cv_func__modf_use+set} != xset; then
25648    if ${glibcxx_cv_func__modf_use+:} false; then :
25649  $as_echo_n "(cached) " >&6
25650else
25651
25652
25653      ac_ext=cpp
25654ac_cpp='$CXXCPP $CPPFLAGS'
25655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25658
25659      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25660/* end confdefs.h.  */
25661#include <math.h>
25662int
25663main ()
25664{
25665 _modf(0, 0);
25666  ;
25667  return 0;
25668}
25669_ACEOF
25670if ac_fn_cxx_try_compile "$LINENO"; then :
25671  glibcxx_cv_func__modf_use=yes
25672else
25673  glibcxx_cv_func__modf_use=no
25674fi
25675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25676      ac_ext=c
25677ac_cpp='$CPP $CPPFLAGS'
25678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680ac_compiler_gnu=$ac_cv_c_compiler_gnu
25681
25682
25683fi
25684
25685  fi
25686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25687$as_echo "$glibcxx_cv_func__modf_use" >&6; }
25688
25689    if test x$glibcxx_cv_func__modf_use = x"yes"; then
25690      for ac_func in _modf
25691do :
25692  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25693if test "x$ac_cv_func__modf" = xyes; then :
25694  cat >>confdefs.h <<_ACEOF
25695#define HAVE__MODF 1
25696_ACEOF
25697
25698fi
25699done
25700
25701    fi
25702  fi
25703
25704
25705
25706
25707
25708  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25709$as_echo_n "checking for powf declaration... " >&6; }
25710  if test x${glibcxx_cv_func_powf_use+set} != xset; then
25711    if ${glibcxx_cv_func_powf_use+:} false; then :
25712  $as_echo_n "(cached) " >&6
25713else
25714
25715
25716      ac_ext=cpp
25717ac_cpp='$CXXCPP $CPPFLAGS'
25718ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25719ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25720ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25721
25722      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25723/* end confdefs.h.  */
25724#include <math.h>
25725int
25726main ()
25727{
25728 powf(0, 0);
25729  ;
25730  return 0;
25731}
25732_ACEOF
25733if ac_fn_cxx_try_compile "$LINENO"; then :
25734  glibcxx_cv_func_powf_use=yes
25735else
25736  glibcxx_cv_func_powf_use=no
25737fi
25738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25739      ac_ext=c
25740ac_cpp='$CPP $CPPFLAGS'
25741ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25742ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25743ac_compiler_gnu=$ac_cv_c_compiler_gnu
25744
25745
25746fi
25747
25748  fi
25749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25750$as_echo "$glibcxx_cv_func_powf_use" >&6; }
25751
25752  if test x$glibcxx_cv_func_powf_use = x"yes"; then
25753    for ac_func in powf
25754do :
25755  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25756if test "x$ac_cv_func_powf" = xyes; then :
25757  cat >>confdefs.h <<_ACEOF
25758#define HAVE_POWF 1
25759_ACEOF
25760
25761fi
25762done
25763
25764  else
25765
25766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25767$as_echo_n "checking for _powf declaration... " >&6; }
25768  if test x${glibcxx_cv_func__powf_use+set} != xset; then
25769    if ${glibcxx_cv_func__powf_use+:} false; then :
25770  $as_echo_n "(cached) " >&6
25771else
25772
25773
25774      ac_ext=cpp
25775ac_cpp='$CXXCPP $CPPFLAGS'
25776ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25777ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25778ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25779
25780      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25781/* end confdefs.h.  */
25782#include <math.h>
25783int
25784main ()
25785{
25786 _powf(0, 0);
25787  ;
25788  return 0;
25789}
25790_ACEOF
25791if ac_fn_cxx_try_compile "$LINENO"; then :
25792  glibcxx_cv_func__powf_use=yes
25793else
25794  glibcxx_cv_func__powf_use=no
25795fi
25796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25797      ac_ext=c
25798ac_cpp='$CPP $CPPFLAGS'
25799ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25800ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25801ac_compiler_gnu=$ac_cv_c_compiler_gnu
25802
25803
25804fi
25805
25806  fi
25807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25808$as_echo "$glibcxx_cv_func__powf_use" >&6; }
25809
25810    if test x$glibcxx_cv_func__powf_use = x"yes"; then
25811      for ac_func in _powf
25812do :
25813  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25814if test "x$ac_cv_func__powf" = xyes; then :
25815  cat >>confdefs.h <<_ACEOF
25816#define HAVE__POWF 1
25817_ACEOF
25818
25819fi
25820done
25821
25822    fi
25823  fi
25824
25825
25826
25827
25828
25829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25830$as_echo_n "checking for sqrtf declaration... " >&6; }
25831  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25832    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25833  $as_echo_n "(cached) " >&6
25834else
25835
25836
25837      ac_ext=cpp
25838ac_cpp='$CXXCPP $CPPFLAGS'
25839ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25840ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25841ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25842
25843      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25844/* end confdefs.h.  */
25845#include <math.h>
25846		      #ifdef HAVE_IEEEFP_H
25847		      #include <ieeefp.h>
25848		      #endif
25849
25850int
25851main ()
25852{
25853 sqrtf(0);
25854  ;
25855  return 0;
25856}
25857_ACEOF
25858if ac_fn_cxx_try_compile "$LINENO"; then :
25859  glibcxx_cv_func_sqrtf_use=yes
25860else
25861  glibcxx_cv_func_sqrtf_use=no
25862fi
25863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25864      ac_ext=c
25865ac_cpp='$CPP $CPPFLAGS'
25866ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25867ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25868ac_compiler_gnu=$ac_cv_c_compiler_gnu
25869
25870
25871fi
25872
25873  fi
25874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25875$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25876
25877  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25878    for ac_func in sqrtf
25879do :
25880  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25881if test "x$ac_cv_func_sqrtf" = xyes; then :
25882  cat >>confdefs.h <<_ACEOF
25883#define HAVE_SQRTF 1
25884_ACEOF
25885
25886fi
25887done
25888
25889  else
25890
25891  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25892$as_echo_n "checking for _sqrtf declaration... " >&6; }
25893  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25894    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25895  $as_echo_n "(cached) " >&6
25896else
25897
25898
25899      ac_ext=cpp
25900ac_cpp='$CXXCPP $CPPFLAGS'
25901ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25902ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25903ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25904
25905      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25906/* end confdefs.h.  */
25907#include <math.h>
25908		      #ifdef HAVE_IEEEFP_H
25909		      #include <ieeefp.h>
25910		      #endif
25911
25912int
25913main ()
25914{
25915 _sqrtf(0);
25916  ;
25917  return 0;
25918}
25919_ACEOF
25920if ac_fn_cxx_try_compile "$LINENO"; then :
25921  glibcxx_cv_func__sqrtf_use=yes
25922else
25923  glibcxx_cv_func__sqrtf_use=no
25924fi
25925rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25926      ac_ext=c
25927ac_cpp='$CPP $CPPFLAGS'
25928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25930ac_compiler_gnu=$ac_cv_c_compiler_gnu
25931
25932
25933fi
25934
25935  fi
25936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25937$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25938
25939    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25940      for ac_func in _sqrtf
25941do :
25942  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25943if test "x$ac_cv_func__sqrtf" = xyes; then :
25944  cat >>confdefs.h <<_ACEOF
25945#define HAVE__SQRTF 1
25946_ACEOF
25947
25948fi
25949done
25950
25951    fi
25952  fi
25953
25954
25955
25956
25957
25958  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25959$as_echo_n "checking for sincosf declaration... " >&6; }
25960  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25961    if ${glibcxx_cv_func_sincosf_use+:} false; then :
25962  $as_echo_n "(cached) " >&6
25963else
25964
25965
25966      ac_ext=cpp
25967ac_cpp='$CXXCPP $CPPFLAGS'
25968ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25969ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25970ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25971
25972      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25973/* end confdefs.h.  */
25974#include <math.h>
25975int
25976main ()
25977{
25978 sincosf(0, 0, 0);
25979  ;
25980  return 0;
25981}
25982_ACEOF
25983if ac_fn_cxx_try_compile "$LINENO"; then :
25984  glibcxx_cv_func_sincosf_use=yes
25985else
25986  glibcxx_cv_func_sincosf_use=no
25987fi
25988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25989      ac_ext=c
25990ac_cpp='$CPP $CPPFLAGS'
25991ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25992ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25993ac_compiler_gnu=$ac_cv_c_compiler_gnu
25994
25995
25996fi
25997
25998  fi
25999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
26000$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
26001
26002  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26003    for ac_func in sincosf
26004do :
26005  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
26006if test "x$ac_cv_func_sincosf" = xyes; then :
26007  cat >>confdefs.h <<_ACEOF
26008#define HAVE_SINCOSF 1
26009_ACEOF
26010
26011fi
26012done
26013
26014  else
26015
26016  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
26017$as_echo_n "checking for _sincosf declaration... " >&6; }
26018  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26019    if ${glibcxx_cv_func__sincosf_use+:} false; then :
26020  $as_echo_n "(cached) " >&6
26021else
26022
26023
26024      ac_ext=cpp
26025ac_cpp='$CXXCPP $CPPFLAGS'
26026ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26029
26030      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26031/* end confdefs.h.  */
26032#include <math.h>
26033int
26034main ()
26035{
26036 _sincosf(0, 0, 0);
26037  ;
26038  return 0;
26039}
26040_ACEOF
26041if ac_fn_cxx_try_compile "$LINENO"; then :
26042  glibcxx_cv_func__sincosf_use=yes
26043else
26044  glibcxx_cv_func__sincosf_use=no
26045fi
26046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26047      ac_ext=c
26048ac_cpp='$CPP $CPPFLAGS'
26049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26051ac_compiler_gnu=$ac_cv_c_compiler_gnu
26052
26053
26054fi
26055
26056  fi
26057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
26058$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
26059
26060    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26061      for ac_func in _sincosf
26062do :
26063  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
26064if test "x$ac_cv_func__sincosf" = xyes; then :
26065  cat >>confdefs.h <<_ACEOF
26066#define HAVE__SINCOSF 1
26067_ACEOF
26068
26069fi
26070done
26071
26072    fi
26073  fi
26074
26075
26076
26077
26078
26079  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
26080$as_echo_n "checking for finitef declaration... " >&6; }
26081  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26082    if ${glibcxx_cv_func_finitef_use+:} false; then :
26083  $as_echo_n "(cached) " >&6
26084else
26085
26086
26087      ac_ext=cpp
26088ac_cpp='$CXXCPP $CPPFLAGS'
26089ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26090ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26091ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26092
26093      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26094/* end confdefs.h.  */
26095#include <math.h>
26096		      #ifdef HAVE_IEEEFP_H
26097		      #include <ieeefp.h>
26098		      #endif
26099
26100int
26101main ()
26102{
26103 finitef(0);
26104  ;
26105  return 0;
26106}
26107_ACEOF
26108if ac_fn_cxx_try_compile "$LINENO"; then :
26109  glibcxx_cv_func_finitef_use=yes
26110else
26111  glibcxx_cv_func_finitef_use=no
26112fi
26113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26114      ac_ext=c
26115ac_cpp='$CPP $CPPFLAGS'
26116ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26117ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26118ac_compiler_gnu=$ac_cv_c_compiler_gnu
26119
26120
26121fi
26122
26123  fi
26124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26125$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26126
26127  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26128    for ac_func in finitef
26129do :
26130  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26131if test "x$ac_cv_func_finitef" = xyes; then :
26132  cat >>confdefs.h <<_ACEOF
26133#define HAVE_FINITEF 1
26134_ACEOF
26135
26136fi
26137done
26138
26139  else
26140
26141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26142$as_echo_n "checking for _finitef declaration... " >&6; }
26143  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26144    if ${glibcxx_cv_func__finitef_use+:} false; then :
26145  $as_echo_n "(cached) " >&6
26146else
26147
26148
26149      ac_ext=cpp
26150ac_cpp='$CXXCPP $CPPFLAGS'
26151ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26152ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26153ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26154
26155      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26156/* end confdefs.h.  */
26157#include <math.h>
26158		      #ifdef HAVE_IEEEFP_H
26159		      #include <ieeefp.h>
26160		      #endif
26161
26162int
26163main ()
26164{
26165 _finitef(0);
26166  ;
26167  return 0;
26168}
26169_ACEOF
26170if ac_fn_cxx_try_compile "$LINENO"; then :
26171  glibcxx_cv_func__finitef_use=yes
26172else
26173  glibcxx_cv_func__finitef_use=no
26174fi
26175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26176      ac_ext=c
26177ac_cpp='$CPP $CPPFLAGS'
26178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26180ac_compiler_gnu=$ac_cv_c_compiler_gnu
26181
26182
26183fi
26184
26185  fi
26186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26187$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26188
26189    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26190      for ac_func in _finitef
26191do :
26192  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26193if test "x$ac_cv_func__finitef" = xyes; then :
26194  cat >>confdefs.h <<_ACEOF
26195#define HAVE__FINITEF 1
26196_ACEOF
26197
26198fi
26199done
26200
26201    fi
26202  fi
26203
26204
26205
26206
26207
26208    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26209$as_echo_n "checking for long double trig functions... " >&6; }
26210  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
26211  $as_echo_n "(cached) " >&6
26212else
26213
26214
26215    ac_ext=cpp
26216ac_cpp='$CXXCPP $CPPFLAGS'
26217ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26218ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26219ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26220
26221    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26222/* end confdefs.h.  */
26223#include <math.h>
26224int
26225main ()
26226{
26227acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26228  ;
26229  return 0;
26230}
26231_ACEOF
26232if ac_fn_cxx_try_compile "$LINENO"; then :
26233  glibcxx_cv_func_long_double_trig_use=yes
26234else
26235  glibcxx_cv_func_long_double_trig_use=no
26236fi
26237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26238    ac_ext=c
26239ac_cpp='$CPP $CPPFLAGS'
26240ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26241ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26242ac_compiler_gnu=$ac_cv_c_compiler_gnu
26243
26244fi
26245
26246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26247$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26248  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26249    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26250do :
26251  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26252ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26253if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26254  cat >>confdefs.h <<_ACEOF
26255#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26256_ACEOF
26257
26258fi
26259done
26260
26261  else
26262    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26263$as_echo_n "checking for _long double trig functions... " >&6; }
26264    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26265  $as_echo_n "(cached) " >&6
26266else
26267
26268
26269      ac_ext=cpp
26270ac_cpp='$CXXCPP $CPPFLAGS'
26271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26274
26275      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26276/* end confdefs.h.  */
26277#include <math.h>
26278int
26279main ()
26280{
26281_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26282  ;
26283  return 0;
26284}
26285_ACEOF
26286if ac_fn_cxx_try_compile "$LINENO"; then :
26287  glibcxx_cv_func__long_double_trig_use=yes
26288else
26289  glibcxx_cv_func__long_double_trig_use=no
26290fi
26291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26292      ac_ext=c
26293ac_cpp='$CPP $CPPFLAGS'
26294ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296ac_compiler_gnu=$ac_cv_c_compiler_gnu
26297
26298fi
26299
26300    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26301$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26302    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26303      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26304do :
26305  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26306ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26307if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26308  cat >>confdefs.h <<_ACEOF
26309#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26310_ACEOF
26311
26312fi
26313done
26314
26315    fi
26316  fi
26317
26318
26319
26320
26321
26322    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26323$as_echo_n "checking for long double round functions... " >&6; }
26324  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26325  $as_echo_n "(cached) " >&6
26326else
26327
26328
26329    ac_ext=cpp
26330ac_cpp='$CXXCPP $CPPFLAGS'
26331ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26334
26335    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26336/* end confdefs.h.  */
26337#include <math.h>
26338int
26339main ()
26340{
26341ceill (0); floorl (0);
26342  ;
26343  return 0;
26344}
26345_ACEOF
26346if ac_fn_cxx_try_compile "$LINENO"; then :
26347  glibcxx_cv_func_long_double_round_use=yes
26348else
26349  glibcxx_cv_func_long_double_round_use=no
26350fi
26351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26352    ac_ext=c
26353ac_cpp='$CPP $CPPFLAGS'
26354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26356ac_compiler_gnu=$ac_cv_c_compiler_gnu
26357
26358fi
26359
26360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26361$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26362  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26363    for ac_func in ceill floorl
26364do :
26365  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26366ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26367if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26368  cat >>confdefs.h <<_ACEOF
26369#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26370_ACEOF
26371
26372fi
26373done
26374
26375  else
26376    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26377$as_echo_n "checking for _long double round functions... " >&6; }
26378    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26379  $as_echo_n "(cached) " >&6
26380else
26381
26382
26383      ac_ext=cpp
26384ac_cpp='$CXXCPP $CPPFLAGS'
26385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26388
26389      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26390/* end confdefs.h.  */
26391#include <math.h>
26392int
26393main ()
26394{
26395_ceill (0); _floorl (0);
26396  ;
26397  return 0;
26398}
26399_ACEOF
26400if ac_fn_cxx_try_compile "$LINENO"; then :
26401  glibcxx_cv_func__long_double_round_use=yes
26402else
26403  glibcxx_cv_func__long_double_round_use=no
26404fi
26405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26406      ac_ext=c
26407ac_cpp='$CPP $CPPFLAGS'
26408ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26409ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26410ac_compiler_gnu=$ac_cv_c_compiler_gnu
26411
26412fi
26413
26414    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26415$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26416    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26417      for ac_func in _ceill _floorl
26418do :
26419  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26420ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26421if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26422  cat >>confdefs.h <<_ACEOF
26423#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26424_ACEOF
26425
26426fi
26427done
26428
26429    fi
26430  fi
26431
26432
26433
26434
26435
26436
26437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26438$as_echo_n "checking for isnanl declaration... " >&6; }
26439  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26440    if ${glibcxx_cv_func_isnanl_use+:} false; then :
26441  $as_echo_n "(cached) " >&6
26442else
26443
26444
26445      ac_ext=cpp
26446ac_cpp='$CXXCPP $CPPFLAGS'
26447ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26448ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26449ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26450
26451      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26452/* end confdefs.h.  */
26453#include <math.h>
26454		      #ifdef HAVE_IEEEFP_H
26455		      #include <ieeefp.h>
26456		      #endif
26457
26458int
26459main ()
26460{
26461 isnanl(0);
26462  ;
26463  return 0;
26464}
26465_ACEOF
26466if ac_fn_cxx_try_compile "$LINENO"; then :
26467  glibcxx_cv_func_isnanl_use=yes
26468else
26469  glibcxx_cv_func_isnanl_use=no
26470fi
26471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472      ac_ext=c
26473ac_cpp='$CPP $CPPFLAGS'
26474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26475ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26476ac_compiler_gnu=$ac_cv_c_compiler_gnu
26477
26478
26479fi
26480
26481  fi
26482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26483$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26484
26485  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26486    for ac_func in isnanl
26487do :
26488  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26489if test "x$ac_cv_func_isnanl" = xyes; then :
26490  cat >>confdefs.h <<_ACEOF
26491#define HAVE_ISNANL 1
26492_ACEOF
26493
26494fi
26495done
26496
26497  else
26498
26499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26500$as_echo_n "checking for _isnanl declaration... " >&6; }
26501  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26502    if ${glibcxx_cv_func__isnanl_use+:} false; then :
26503  $as_echo_n "(cached) " >&6
26504else
26505
26506
26507      ac_ext=cpp
26508ac_cpp='$CXXCPP $CPPFLAGS'
26509ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26510ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26511ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26512
26513      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26514/* end confdefs.h.  */
26515#include <math.h>
26516		      #ifdef HAVE_IEEEFP_H
26517		      #include <ieeefp.h>
26518		      #endif
26519
26520int
26521main ()
26522{
26523 _isnanl(0);
26524  ;
26525  return 0;
26526}
26527_ACEOF
26528if ac_fn_cxx_try_compile "$LINENO"; then :
26529  glibcxx_cv_func__isnanl_use=yes
26530else
26531  glibcxx_cv_func__isnanl_use=no
26532fi
26533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26534      ac_ext=c
26535ac_cpp='$CPP $CPPFLAGS'
26536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26538ac_compiler_gnu=$ac_cv_c_compiler_gnu
26539
26540
26541fi
26542
26543  fi
26544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26545$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26546
26547    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26548      for ac_func in _isnanl
26549do :
26550  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26551if test "x$ac_cv_func__isnanl" = xyes; then :
26552  cat >>confdefs.h <<_ACEOF
26553#define HAVE__ISNANL 1
26554_ACEOF
26555
26556fi
26557done
26558
26559    fi
26560  fi
26561
26562
26563
26564
26565
26566  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26567$as_echo_n "checking for isinfl declaration... " >&6; }
26568  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26569    if ${glibcxx_cv_func_isinfl_use+:} false; then :
26570  $as_echo_n "(cached) " >&6
26571else
26572
26573
26574      ac_ext=cpp
26575ac_cpp='$CXXCPP $CPPFLAGS'
26576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26579
26580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26581/* end confdefs.h.  */
26582#include <math.h>
26583		      #ifdef HAVE_IEEEFP_H
26584		      #include <ieeefp.h>
26585		      #endif
26586
26587int
26588main ()
26589{
26590 isinfl(0);
26591  ;
26592  return 0;
26593}
26594_ACEOF
26595if ac_fn_cxx_try_compile "$LINENO"; then :
26596  glibcxx_cv_func_isinfl_use=yes
26597else
26598  glibcxx_cv_func_isinfl_use=no
26599fi
26600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26601      ac_ext=c
26602ac_cpp='$CPP $CPPFLAGS'
26603ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26604ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26605ac_compiler_gnu=$ac_cv_c_compiler_gnu
26606
26607
26608fi
26609
26610  fi
26611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26612$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26613
26614  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26615    for ac_func in isinfl
26616do :
26617  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26618if test "x$ac_cv_func_isinfl" = xyes; then :
26619  cat >>confdefs.h <<_ACEOF
26620#define HAVE_ISINFL 1
26621_ACEOF
26622
26623fi
26624done
26625
26626  else
26627
26628  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26629$as_echo_n "checking for _isinfl declaration... " >&6; }
26630  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26631    if ${glibcxx_cv_func__isinfl_use+:} false; then :
26632  $as_echo_n "(cached) " >&6
26633else
26634
26635
26636      ac_ext=cpp
26637ac_cpp='$CXXCPP $CPPFLAGS'
26638ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26639ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26640ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26641
26642      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26643/* end confdefs.h.  */
26644#include <math.h>
26645		      #ifdef HAVE_IEEEFP_H
26646		      #include <ieeefp.h>
26647		      #endif
26648
26649int
26650main ()
26651{
26652 _isinfl(0);
26653  ;
26654  return 0;
26655}
26656_ACEOF
26657if ac_fn_cxx_try_compile "$LINENO"; then :
26658  glibcxx_cv_func__isinfl_use=yes
26659else
26660  glibcxx_cv_func__isinfl_use=no
26661fi
26662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26663      ac_ext=c
26664ac_cpp='$CPP $CPPFLAGS'
26665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26667ac_compiler_gnu=$ac_cv_c_compiler_gnu
26668
26669
26670fi
26671
26672  fi
26673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26674$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26675
26676    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26677      for ac_func in _isinfl
26678do :
26679  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26680if test "x$ac_cv_func__isinfl" = xyes; then :
26681  cat >>confdefs.h <<_ACEOF
26682#define HAVE__ISINFL 1
26683_ACEOF
26684
26685fi
26686done
26687
26688    fi
26689  fi
26690
26691
26692
26693
26694
26695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26696$as_echo_n "checking for atan2l declaration... " >&6; }
26697  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26698    if ${glibcxx_cv_func_atan2l_use+:} false; then :
26699  $as_echo_n "(cached) " >&6
26700else
26701
26702
26703      ac_ext=cpp
26704ac_cpp='$CXXCPP $CPPFLAGS'
26705ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26706ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26707ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26708
26709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26710/* end confdefs.h.  */
26711#include <math.h>
26712int
26713main ()
26714{
26715 atan2l(0, 0);
26716  ;
26717  return 0;
26718}
26719_ACEOF
26720if ac_fn_cxx_try_compile "$LINENO"; then :
26721  glibcxx_cv_func_atan2l_use=yes
26722else
26723  glibcxx_cv_func_atan2l_use=no
26724fi
26725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26726      ac_ext=c
26727ac_cpp='$CPP $CPPFLAGS'
26728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730ac_compiler_gnu=$ac_cv_c_compiler_gnu
26731
26732
26733fi
26734
26735  fi
26736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26737$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26738
26739  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26740    for ac_func in atan2l
26741do :
26742  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26743if test "x$ac_cv_func_atan2l" = xyes; then :
26744  cat >>confdefs.h <<_ACEOF
26745#define HAVE_ATAN2L 1
26746_ACEOF
26747
26748fi
26749done
26750
26751  else
26752
26753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26754$as_echo_n "checking for _atan2l declaration... " >&6; }
26755  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26756    if ${glibcxx_cv_func__atan2l_use+:} false; then :
26757  $as_echo_n "(cached) " >&6
26758else
26759
26760
26761      ac_ext=cpp
26762ac_cpp='$CXXCPP $CPPFLAGS'
26763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26766
26767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26768/* end confdefs.h.  */
26769#include <math.h>
26770int
26771main ()
26772{
26773 _atan2l(0, 0);
26774  ;
26775  return 0;
26776}
26777_ACEOF
26778if ac_fn_cxx_try_compile "$LINENO"; then :
26779  glibcxx_cv_func__atan2l_use=yes
26780else
26781  glibcxx_cv_func__atan2l_use=no
26782fi
26783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26784      ac_ext=c
26785ac_cpp='$CPP $CPPFLAGS'
26786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26788ac_compiler_gnu=$ac_cv_c_compiler_gnu
26789
26790
26791fi
26792
26793  fi
26794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26795$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26796
26797    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26798      for ac_func in _atan2l
26799do :
26800  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26801if test "x$ac_cv_func__atan2l" = xyes; then :
26802  cat >>confdefs.h <<_ACEOF
26803#define HAVE__ATAN2L 1
26804_ACEOF
26805
26806fi
26807done
26808
26809    fi
26810  fi
26811
26812
26813
26814
26815
26816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26817$as_echo_n "checking for expl declaration... " >&6; }
26818  if test x${glibcxx_cv_func_expl_use+set} != xset; then
26819    if ${glibcxx_cv_func_expl_use+:} false; then :
26820  $as_echo_n "(cached) " >&6
26821else
26822
26823
26824      ac_ext=cpp
26825ac_cpp='$CXXCPP $CPPFLAGS'
26826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26829
26830      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26831/* end confdefs.h.  */
26832#include <math.h>
26833		      #ifdef HAVE_IEEEFP_H
26834		      #include <ieeefp.h>
26835		      #endif
26836
26837int
26838main ()
26839{
26840 expl(0);
26841  ;
26842  return 0;
26843}
26844_ACEOF
26845if ac_fn_cxx_try_compile "$LINENO"; then :
26846  glibcxx_cv_func_expl_use=yes
26847else
26848  glibcxx_cv_func_expl_use=no
26849fi
26850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26851      ac_ext=c
26852ac_cpp='$CPP $CPPFLAGS'
26853ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855ac_compiler_gnu=$ac_cv_c_compiler_gnu
26856
26857
26858fi
26859
26860  fi
26861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26862$as_echo "$glibcxx_cv_func_expl_use" >&6; }
26863
26864  if test x$glibcxx_cv_func_expl_use = x"yes"; then
26865    for ac_func in expl
26866do :
26867  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26868if test "x$ac_cv_func_expl" = xyes; then :
26869  cat >>confdefs.h <<_ACEOF
26870#define HAVE_EXPL 1
26871_ACEOF
26872
26873fi
26874done
26875
26876  else
26877
26878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26879$as_echo_n "checking for _expl declaration... " >&6; }
26880  if test x${glibcxx_cv_func__expl_use+set} != xset; then
26881    if ${glibcxx_cv_func__expl_use+:} false; then :
26882  $as_echo_n "(cached) " >&6
26883else
26884
26885
26886      ac_ext=cpp
26887ac_cpp='$CXXCPP $CPPFLAGS'
26888ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26889ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26890ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26891
26892      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26893/* end confdefs.h.  */
26894#include <math.h>
26895		      #ifdef HAVE_IEEEFP_H
26896		      #include <ieeefp.h>
26897		      #endif
26898
26899int
26900main ()
26901{
26902 _expl(0);
26903  ;
26904  return 0;
26905}
26906_ACEOF
26907if ac_fn_cxx_try_compile "$LINENO"; then :
26908  glibcxx_cv_func__expl_use=yes
26909else
26910  glibcxx_cv_func__expl_use=no
26911fi
26912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26913      ac_ext=c
26914ac_cpp='$CPP $CPPFLAGS'
26915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26917ac_compiler_gnu=$ac_cv_c_compiler_gnu
26918
26919
26920fi
26921
26922  fi
26923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26924$as_echo "$glibcxx_cv_func__expl_use" >&6; }
26925
26926    if test x$glibcxx_cv_func__expl_use = x"yes"; then
26927      for ac_func in _expl
26928do :
26929  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26930if test "x$ac_cv_func__expl" = xyes; then :
26931  cat >>confdefs.h <<_ACEOF
26932#define HAVE__EXPL 1
26933_ACEOF
26934
26935fi
26936done
26937
26938    fi
26939  fi
26940
26941
26942
26943
26944
26945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26946$as_echo_n "checking for fabsl declaration... " >&6; }
26947  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26948    if ${glibcxx_cv_func_fabsl_use+:} false; then :
26949  $as_echo_n "(cached) " >&6
26950else
26951
26952
26953      ac_ext=cpp
26954ac_cpp='$CXXCPP $CPPFLAGS'
26955ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26958
26959      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960/* end confdefs.h.  */
26961#include <math.h>
26962		      #ifdef HAVE_IEEEFP_H
26963		      #include <ieeefp.h>
26964		      #endif
26965
26966int
26967main ()
26968{
26969 fabsl(0);
26970  ;
26971  return 0;
26972}
26973_ACEOF
26974if ac_fn_cxx_try_compile "$LINENO"; then :
26975  glibcxx_cv_func_fabsl_use=yes
26976else
26977  glibcxx_cv_func_fabsl_use=no
26978fi
26979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26980      ac_ext=c
26981ac_cpp='$CPP $CPPFLAGS'
26982ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26983ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26984ac_compiler_gnu=$ac_cv_c_compiler_gnu
26985
26986
26987fi
26988
26989  fi
26990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26991$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26992
26993  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26994    for ac_func in fabsl
26995do :
26996  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26997if test "x$ac_cv_func_fabsl" = xyes; then :
26998  cat >>confdefs.h <<_ACEOF
26999#define HAVE_FABSL 1
27000_ACEOF
27001
27002fi
27003done
27004
27005  else
27006
27007  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
27008$as_echo_n "checking for _fabsl declaration... " >&6; }
27009  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
27010    if ${glibcxx_cv_func__fabsl_use+:} false; then :
27011  $as_echo_n "(cached) " >&6
27012else
27013
27014
27015      ac_ext=cpp
27016ac_cpp='$CXXCPP $CPPFLAGS'
27017ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27018ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27019ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27020
27021      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27022/* end confdefs.h.  */
27023#include <math.h>
27024		      #ifdef HAVE_IEEEFP_H
27025		      #include <ieeefp.h>
27026		      #endif
27027
27028int
27029main ()
27030{
27031 _fabsl(0);
27032  ;
27033  return 0;
27034}
27035_ACEOF
27036if ac_fn_cxx_try_compile "$LINENO"; then :
27037  glibcxx_cv_func__fabsl_use=yes
27038else
27039  glibcxx_cv_func__fabsl_use=no
27040fi
27041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27042      ac_ext=c
27043ac_cpp='$CPP $CPPFLAGS'
27044ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27045ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27046ac_compiler_gnu=$ac_cv_c_compiler_gnu
27047
27048
27049fi
27050
27051  fi
27052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
27053$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
27054
27055    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
27056      for ac_func in _fabsl
27057do :
27058  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
27059if test "x$ac_cv_func__fabsl" = xyes; then :
27060  cat >>confdefs.h <<_ACEOF
27061#define HAVE__FABSL 1
27062_ACEOF
27063
27064fi
27065done
27066
27067    fi
27068  fi
27069
27070
27071
27072
27073
27074  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
27075$as_echo_n "checking for fmodl declaration... " >&6; }
27076  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
27077    if ${glibcxx_cv_func_fmodl_use+:} false; then :
27078  $as_echo_n "(cached) " >&6
27079else
27080
27081
27082      ac_ext=cpp
27083ac_cpp='$CXXCPP $CPPFLAGS'
27084ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27087
27088      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27089/* end confdefs.h.  */
27090#include <math.h>
27091int
27092main ()
27093{
27094 fmodl(0, 0);
27095  ;
27096  return 0;
27097}
27098_ACEOF
27099if ac_fn_cxx_try_compile "$LINENO"; then :
27100  glibcxx_cv_func_fmodl_use=yes
27101else
27102  glibcxx_cv_func_fmodl_use=no
27103fi
27104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27105      ac_ext=c
27106ac_cpp='$CPP $CPPFLAGS'
27107ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27109ac_compiler_gnu=$ac_cv_c_compiler_gnu
27110
27111
27112fi
27113
27114  fi
27115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27116$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27117
27118  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27119    for ac_func in fmodl
27120do :
27121  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27122if test "x$ac_cv_func_fmodl" = xyes; then :
27123  cat >>confdefs.h <<_ACEOF
27124#define HAVE_FMODL 1
27125_ACEOF
27126
27127fi
27128done
27129
27130  else
27131
27132  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27133$as_echo_n "checking for _fmodl declaration... " >&6; }
27134  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27135    if ${glibcxx_cv_func__fmodl_use+:} false; then :
27136  $as_echo_n "(cached) " >&6
27137else
27138
27139
27140      ac_ext=cpp
27141ac_cpp='$CXXCPP $CPPFLAGS'
27142ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27143ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27144ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27145
27146      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27147/* end confdefs.h.  */
27148#include <math.h>
27149int
27150main ()
27151{
27152 _fmodl(0, 0);
27153  ;
27154  return 0;
27155}
27156_ACEOF
27157if ac_fn_cxx_try_compile "$LINENO"; then :
27158  glibcxx_cv_func__fmodl_use=yes
27159else
27160  glibcxx_cv_func__fmodl_use=no
27161fi
27162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27163      ac_ext=c
27164ac_cpp='$CPP $CPPFLAGS'
27165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27167ac_compiler_gnu=$ac_cv_c_compiler_gnu
27168
27169
27170fi
27171
27172  fi
27173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27174$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27175
27176    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27177      for ac_func in _fmodl
27178do :
27179  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27180if test "x$ac_cv_func__fmodl" = xyes; then :
27181  cat >>confdefs.h <<_ACEOF
27182#define HAVE__FMODL 1
27183_ACEOF
27184
27185fi
27186done
27187
27188    fi
27189  fi
27190
27191
27192
27193
27194
27195  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27196$as_echo_n "checking for frexpl declaration... " >&6; }
27197  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27198    if ${glibcxx_cv_func_frexpl_use+:} false; then :
27199  $as_echo_n "(cached) " >&6
27200else
27201
27202
27203      ac_ext=cpp
27204ac_cpp='$CXXCPP $CPPFLAGS'
27205ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27206ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27207ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27208
27209      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27210/* end confdefs.h.  */
27211#include <math.h>
27212int
27213main ()
27214{
27215 frexpl(0, 0);
27216  ;
27217  return 0;
27218}
27219_ACEOF
27220if ac_fn_cxx_try_compile "$LINENO"; then :
27221  glibcxx_cv_func_frexpl_use=yes
27222else
27223  glibcxx_cv_func_frexpl_use=no
27224fi
27225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27226      ac_ext=c
27227ac_cpp='$CPP $CPPFLAGS'
27228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27230ac_compiler_gnu=$ac_cv_c_compiler_gnu
27231
27232
27233fi
27234
27235  fi
27236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27237$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27238
27239  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27240    for ac_func in frexpl
27241do :
27242  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27243if test "x$ac_cv_func_frexpl" = xyes; then :
27244  cat >>confdefs.h <<_ACEOF
27245#define HAVE_FREXPL 1
27246_ACEOF
27247
27248fi
27249done
27250
27251  else
27252
27253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27254$as_echo_n "checking for _frexpl declaration... " >&6; }
27255  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27256    if ${glibcxx_cv_func__frexpl_use+:} false; then :
27257  $as_echo_n "(cached) " >&6
27258else
27259
27260
27261      ac_ext=cpp
27262ac_cpp='$CXXCPP $CPPFLAGS'
27263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27266
27267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27268/* end confdefs.h.  */
27269#include <math.h>
27270int
27271main ()
27272{
27273 _frexpl(0, 0);
27274  ;
27275  return 0;
27276}
27277_ACEOF
27278if ac_fn_cxx_try_compile "$LINENO"; then :
27279  glibcxx_cv_func__frexpl_use=yes
27280else
27281  glibcxx_cv_func__frexpl_use=no
27282fi
27283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27284      ac_ext=c
27285ac_cpp='$CPP $CPPFLAGS'
27286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27288ac_compiler_gnu=$ac_cv_c_compiler_gnu
27289
27290
27291fi
27292
27293  fi
27294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27295$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27296
27297    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27298      for ac_func in _frexpl
27299do :
27300  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27301if test "x$ac_cv_func__frexpl" = xyes; then :
27302  cat >>confdefs.h <<_ACEOF
27303#define HAVE__FREXPL 1
27304_ACEOF
27305
27306fi
27307done
27308
27309    fi
27310  fi
27311
27312
27313
27314
27315
27316  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27317$as_echo_n "checking for hypotl declaration... " >&6; }
27318  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27319    if ${glibcxx_cv_func_hypotl_use+:} false; then :
27320  $as_echo_n "(cached) " >&6
27321else
27322
27323
27324      ac_ext=cpp
27325ac_cpp='$CXXCPP $CPPFLAGS'
27326ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27329
27330      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27331/* end confdefs.h.  */
27332#include <math.h>
27333int
27334main ()
27335{
27336 hypotl(0, 0);
27337  ;
27338  return 0;
27339}
27340_ACEOF
27341if ac_fn_cxx_try_compile "$LINENO"; then :
27342  glibcxx_cv_func_hypotl_use=yes
27343else
27344  glibcxx_cv_func_hypotl_use=no
27345fi
27346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27347      ac_ext=c
27348ac_cpp='$CPP $CPPFLAGS'
27349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27351ac_compiler_gnu=$ac_cv_c_compiler_gnu
27352
27353
27354fi
27355
27356  fi
27357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27358$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27359
27360  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27361    for ac_func in hypotl
27362do :
27363  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27364if test "x$ac_cv_func_hypotl" = xyes; then :
27365  cat >>confdefs.h <<_ACEOF
27366#define HAVE_HYPOTL 1
27367_ACEOF
27368
27369fi
27370done
27371
27372  else
27373
27374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27375$as_echo_n "checking for _hypotl declaration... " >&6; }
27376  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27377    if ${glibcxx_cv_func__hypotl_use+:} false; then :
27378  $as_echo_n "(cached) " >&6
27379else
27380
27381
27382      ac_ext=cpp
27383ac_cpp='$CXXCPP $CPPFLAGS'
27384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27387
27388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27389/* end confdefs.h.  */
27390#include <math.h>
27391int
27392main ()
27393{
27394 _hypotl(0, 0);
27395  ;
27396  return 0;
27397}
27398_ACEOF
27399if ac_fn_cxx_try_compile "$LINENO"; then :
27400  glibcxx_cv_func__hypotl_use=yes
27401else
27402  glibcxx_cv_func__hypotl_use=no
27403fi
27404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27405      ac_ext=c
27406ac_cpp='$CPP $CPPFLAGS'
27407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27409ac_compiler_gnu=$ac_cv_c_compiler_gnu
27410
27411
27412fi
27413
27414  fi
27415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27416$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27417
27418    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27419      for ac_func in _hypotl
27420do :
27421  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27422if test "x$ac_cv_func__hypotl" = xyes; then :
27423  cat >>confdefs.h <<_ACEOF
27424#define HAVE__HYPOTL 1
27425_ACEOF
27426
27427fi
27428done
27429
27430    fi
27431  fi
27432
27433
27434
27435
27436
27437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27438$as_echo_n "checking for ldexpl declaration... " >&6; }
27439  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27440    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27441  $as_echo_n "(cached) " >&6
27442else
27443
27444
27445      ac_ext=cpp
27446ac_cpp='$CXXCPP $CPPFLAGS'
27447ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27450
27451      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27452/* end confdefs.h.  */
27453#include <math.h>
27454int
27455main ()
27456{
27457 ldexpl(0, 0);
27458  ;
27459  return 0;
27460}
27461_ACEOF
27462if ac_fn_cxx_try_compile "$LINENO"; then :
27463  glibcxx_cv_func_ldexpl_use=yes
27464else
27465  glibcxx_cv_func_ldexpl_use=no
27466fi
27467rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27468      ac_ext=c
27469ac_cpp='$CPP $CPPFLAGS'
27470ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27471ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27472ac_compiler_gnu=$ac_cv_c_compiler_gnu
27473
27474
27475fi
27476
27477  fi
27478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27479$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27480
27481  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27482    for ac_func in ldexpl
27483do :
27484  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27485if test "x$ac_cv_func_ldexpl" = xyes; then :
27486  cat >>confdefs.h <<_ACEOF
27487#define HAVE_LDEXPL 1
27488_ACEOF
27489
27490fi
27491done
27492
27493  else
27494
27495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27496$as_echo_n "checking for _ldexpl declaration... " >&6; }
27497  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27498    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27499  $as_echo_n "(cached) " >&6
27500else
27501
27502
27503      ac_ext=cpp
27504ac_cpp='$CXXCPP $CPPFLAGS'
27505ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27506ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27507ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27508
27509      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27510/* end confdefs.h.  */
27511#include <math.h>
27512int
27513main ()
27514{
27515 _ldexpl(0, 0);
27516  ;
27517  return 0;
27518}
27519_ACEOF
27520if ac_fn_cxx_try_compile "$LINENO"; then :
27521  glibcxx_cv_func__ldexpl_use=yes
27522else
27523  glibcxx_cv_func__ldexpl_use=no
27524fi
27525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27526      ac_ext=c
27527ac_cpp='$CPP $CPPFLAGS'
27528ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27529ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27530ac_compiler_gnu=$ac_cv_c_compiler_gnu
27531
27532
27533fi
27534
27535  fi
27536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27537$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27538
27539    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27540      for ac_func in _ldexpl
27541do :
27542  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27543if test "x$ac_cv_func__ldexpl" = xyes; then :
27544  cat >>confdefs.h <<_ACEOF
27545#define HAVE__LDEXPL 1
27546_ACEOF
27547
27548fi
27549done
27550
27551    fi
27552  fi
27553
27554
27555
27556
27557
27558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27559$as_echo_n "checking for logl declaration... " >&6; }
27560  if test x${glibcxx_cv_func_logl_use+set} != xset; then
27561    if ${glibcxx_cv_func_logl_use+:} false; then :
27562  $as_echo_n "(cached) " >&6
27563else
27564
27565
27566      ac_ext=cpp
27567ac_cpp='$CXXCPP $CPPFLAGS'
27568ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27569ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27570ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27571
27572      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27573/* end confdefs.h.  */
27574#include <math.h>
27575		      #ifdef HAVE_IEEEFP_H
27576		      #include <ieeefp.h>
27577		      #endif
27578
27579int
27580main ()
27581{
27582 logl(0);
27583  ;
27584  return 0;
27585}
27586_ACEOF
27587if ac_fn_cxx_try_compile "$LINENO"; then :
27588  glibcxx_cv_func_logl_use=yes
27589else
27590  glibcxx_cv_func_logl_use=no
27591fi
27592rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27593      ac_ext=c
27594ac_cpp='$CPP $CPPFLAGS'
27595ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27596ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27597ac_compiler_gnu=$ac_cv_c_compiler_gnu
27598
27599
27600fi
27601
27602  fi
27603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27604$as_echo "$glibcxx_cv_func_logl_use" >&6; }
27605
27606  if test x$glibcxx_cv_func_logl_use = x"yes"; then
27607    for ac_func in logl
27608do :
27609  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27610if test "x$ac_cv_func_logl" = xyes; then :
27611  cat >>confdefs.h <<_ACEOF
27612#define HAVE_LOGL 1
27613_ACEOF
27614
27615fi
27616done
27617
27618  else
27619
27620  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27621$as_echo_n "checking for _logl declaration... " >&6; }
27622  if test x${glibcxx_cv_func__logl_use+set} != xset; then
27623    if ${glibcxx_cv_func__logl_use+:} false; then :
27624  $as_echo_n "(cached) " >&6
27625else
27626
27627
27628      ac_ext=cpp
27629ac_cpp='$CXXCPP $CPPFLAGS'
27630ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27631ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27632ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27633
27634      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27635/* end confdefs.h.  */
27636#include <math.h>
27637		      #ifdef HAVE_IEEEFP_H
27638		      #include <ieeefp.h>
27639		      #endif
27640
27641int
27642main ()
27643{
27644 _logl(0);
27645  ;
27646  return 0;
27647}
27648_ACEOF
27649if ac_fn_cxx_try_compile "$LINENO"; then :
27650  glibcxx_cv_func__logl_use=yes
27651else
27652  glibcxx_cv_func__logl_use=no
27653fi
27654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27655      ac_ext=c
27656ac_cpp='$CPP $CPPFLAGS'
27657ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27658ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27659ac_compiler_gnu=$ac_cv_c_compiler_gnu
27660
27661
27662fi
27663
27664  fi
27665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27666$as_echo "$glibcxx_cv_func__logl_use" >&6; }
27667
27668    if test x$glibcxx_cv_func__logl_use = x"yes"; then
27669      for ac_func in _logl
27670do :
27671  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27672if test "x$ac_cv_func__logl" = xyes; then :
27673  cat >>confdefs.h <<_ACEOF
27674#define HAVE__LOGL 1
27675_ACEOF
27676
27677fi
27678done
27679
27680    fi
27681  fi
27682
27683
27684
27685
27686
27687  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27688$as_echo_n "checking for log10l declaration... " >&6; }
27689  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27690    if ${glibcxx_cv_func_log10l_use+:} false; then :
27691  $as_echo_n "(cached) " >&6
27692else
27693
27694
27695      ac_ext=cpp
27696ac_cpp='$CXXCPP $CPPFLAGS'
27697ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27698ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27699ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27700
27701      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27702/* end confdefs.h.  */
27703#include <math.h>
27704		      #ifdef HAVE_IEEEFP_H
27705		      #include <ieeefp.h>
27706		      #endif
27707
27708int
27709main ()
27710{
27711 log10l(0);
27712  ;
27713  return 0;
27714}
27715_ACEOF
27716if ac_fn_cxx_try_compile "$LINENO"; then :
27717  glibcxx_cv_func_log10l_use=yes
27718else
27719  glibcxx_cv_func_log10l_use=no
27720fi
27721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27722      ac_ext=c
27723ac_cpp='$CPP $CPPFLAGS'
27724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27726ac_compiler_gnu=$ac_cv_c_compiler_gnu
27727
27728
27729fi
27730
27731  fi
27732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27733$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27734
27735  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27736    for ac_func in log10l
27737do :
27738  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27739if test "x$ac_cv_func_log10l" = xyes; then :
27740  cat >>confdefs.h <<_ACEOF
27741#define HAVE_LOG10L 1
27742_ACEOF
27743
27744fi
27745done
27746
27747  else
27748
27749  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27750$as_echo_n "checking for _log10l declaration... " >&6; }
27751  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27752    if ${glibcxx_cv_func__log10l_use+:} false; then :
27753  $as_echo_n "(cached) " >&6
27754else
27755
27756
27757      ac_ext=cpp
27758ac_cpp='$CXXCPP $CPPFLAGS'
27759ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27760ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27761ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27762
27763      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27764/* end confdefs.h.  */
27765#include <math.h>
27766		      #ifdef HAVE_IEEEFP_H
27767		      #include <ieeefp.h>
27768		      #endif
27769
27770int
27771main ()
27772{
27773 _log10l(0);
27774  ;
27775  return 0;
27776}
27777_ACEOF
27778if ac_fn_cxx_try_compile "$LINENO"; then :
27779  glibcxx_cv_func__log10l_use=yes
27780else
27781  glibcxx_cv_func__log10l_use=no
27782fi
27783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27784      ac_ext=c
27785ac_cpp='$CPP $CPPFLAGS'
27786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788ac_compiler_gnu=$ac_cv_c_compiler_gnu
27789
27790
27791fi
27792
27793  fi
27794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27795$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27796
27797    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27798      for ac_func in _log10l
27799do :
27800  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27801if test "x$ac_cv_func__log10l" = xyes; then :
27802  cat >>confdefs.h <<_ACEOF
27803#define HAVE__LOG10L 1
27804_ACEOF
27805
27806fi
27807done
27808
27809    fi
27810  fi
27811
27812
27813
27814
27815
27816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27817$as_echo_n "checking for modfl declaration... " >&6; }
27818  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27819    if ${glibcxx_cv_func_modfl_use+:} false; then :
27820  $as_echo_n "(cached) " >&6
27821else
27822
27823
27824      ac_ext=cpp
27825ac_cpp='$CXXCPP $CPPFLAGS'
27826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27829
27830      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27831/* end confdefs.h.  */
27832#include <math.h>
27833int
27834main ()
27835{
27836 modfl(0, 0);
27837  ;
27838  return 0;
27839}
27840_ACEOF
27841if ac_fn_cxx_try_compile "$LINENO"; then :
27842  glibcxx_cv_func_modfl_use=yes
27843else
27844  glibcxx_cv_func_modfl_use=no
27845fi
27846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27847      ac_ext=c
27848ac_cpp='$CPP $CPPFLAGS'
27849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27851ac_compiler_gnu=$ac_cv_c_compiler_gnu
27852
27853
27854fi
27855
27856  fi
27857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27858$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27859
27860  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27861    for ac_func in modfl
27862do :
27863  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27864if test "x$ac_cv_func_modfl" = xyes; then :
27865  cat >>confdefs.h <<_ACEOF
27866#define HAVE_MODFL 1
27867_ACEOF
27868
27869fi
27870done
27871
27872  else
27873
27874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27875$as_echo_n "checking for _modfl declaration... " >&6; }
27876  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27877    if ${glibcxx_cv_func__modfl_use+:} false; then :
27878  $as_echo_n "(cached) " >&6
27879else
27880
27881
27882      ac_ext=cpp
27883ac_cpp='$CXXCPP $CPPFLAGS'
27884ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27885ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27886ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27887
27888      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889/* end confdefs.h.  */
27890#include <math.h>
27891int
27892main ()
27893{
27894 _modfl(0, 0);
27895  ;
27896  return 0;
27897}
27898_ACEOF
27899if ac_fn_cxx_try_compile "$LINENO"; then :
27900  glibcxx_cv_func__modfl_use=yes
27901else
27902  glibcxx_cv_func__modfl_use=no
27903fi
27904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27905      ac_ext=c
27906ac_cpp='$CPP $CPPFLAGS'
27907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27909ac_compiler_gnu=$ac_cv_c_compiler_gnu
27910
27911
27912fi
27913
27914  fi
27915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27916$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27917
27918    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27919      for ac_func in _modfl
27920do :
27921  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27922if test "x$ac_cv_func__modfl" = xyes; then :
27923  cat >>confdefs.h <<_ACEOF
27924#define HAVE__MODFL 1
27925_ACEOF
27926
27927fi
27928done
27929
27930    fi
27931  fi
27932
27933
27934
27935
27936
27937  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27938$as_echo_n "checking for powl declaration... " >&6; }
27939  if test x${glibcxx_cv_func_powl_use+set} != xset; then
27940    if ${glibcxx_cv_func_powl_use+:} false; then :
27941  $as_echo_n "(cached) " >&6
27942else
27943
27944
27945      ac_ext=cpp
27946ac_cpp='$CXXCPP $CPPFLAGS'
27947ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27948ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27949ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950
27951      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27952/* end confdefs.h.  */
27953#include <math.h>
27954int
27955main ()
27956{
27957 powl(0, 0);
27958  ;
27959  return 0;
27960}
27961_ACEOF
27962if ac_fn_cxx_try_compile "$LINENO"; then :
27963  glibcxx_cv_func_powl_use=yes
27964else
27965  glibcxx_cv_func_powl_use=no
27966fi
27967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27968      ac_ext=c
27969ac_cpp='$CPP $CPPFLAGS'
27970ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27971ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27972ac_compiler_gnu=$ac_cv_c_compiler_gnu
27973
27974
27975fi
27976
27977  fi
27978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27979$as_echo "$glibcxx_cv_func_powl_use" >&6; }
27980
27981  if test x$glibcxx_cv_func_powl_use = x"yes"; then
27982    for ac_func in powl
27983do :
27984  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27985if test "x$ac_cv_func_powl" = xyes; then :
27986  cat >>confdefs.h <<_ACEOF
27987#define HAVE_POWL 1
27988_ACEOF
27989
27990fi
27991done
27992
27993  else
27994
27995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27996$as_echo_n "checking for _powl declaration... " >&6; }
27997  if test x${glibcxx_cv_func__powl_use+set} != xset; then
27998    if ${glibcxx_cv_func__powl_use+:} false; then :
27999  $as_echo_n "(cached) " >&6
28000else
28001
28002
28003      ac_ext=cpp
28004ac_cpp='$CXXCPP $CPPFLAGS'
28005ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28006ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28007ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28008
28009      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28010/* end confdefs.h.  */
28011#include <math.h>
28012int
28013main ()
28014{
28015 _powl(0, 0);
28016  ;
28017  return 0;
28018}
28019_ACEOF
28020if ac_fn_cxx_try_compile "$LINENO"; then :
28021  glibcxx_cv_func__powl_use=yes
28022else
28023  glibcxx_cv_func__powl_use=no
28024fi
28025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28026      ac_ext=c
28027ac_cpp='$CPP $CPPFLAGS'
28028ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28029ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28030ac_compiler_gnu=$ac_cv_c_compiler_gnu
28031
28032
28033fi
28034
28035  fi
28036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
28037$as_echo "$glibcxx_cv_func__powl_use" >&6; }
28038
28039    if test x$glibcxx_cv_func__powl_use = x"yes"; then
28040      for ac_func in _powl
28041do :
28042  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
28043if test "x$ac_cv_func__powl" = xyes; then :
28044  cat >>confdefs.h <<_ACEOF
28045#define HAVE__POWL 1
28046_ACEOF
28047
28048fi
28049done
28050
28051    fi
28052  fi
28053
28054
28055
28056
28057
28058  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
28059$as_echo_n "checking for sqrtl declaration... " >&6; }
28060  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
28061    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
28062  $as_echo_n "(cached) " >&6
28063else
28064
28065
28066      ac_ext=cpp
28067ac_cpp='$CXXCPP $CPPFLAGS'
28068ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28069ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28070ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28071
28072      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28073/* end confdefs.h.  */
28074#include <math.h>
28075		      #ifdef HAVE_IEEEFP_H
28076		      #include <ieeefp.h>
28077		      #endif
28078
28079int
28080main ()
28081{
28082 sqrtl(0);
28083  ;
28084  return 0;
28085}
28086_ACEOF
28087if ac_fn_cxx_try_compile "$LINENO"; then :
28088  glibcxx_cv_func_sqrtl_use=yes
28089else
28090  glibcxx_cv_func_sqrtl_use=no
28091fi
28092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28093      ac_ext=c
28094ac_cpp='$CPP $CPPFLAGS'
28095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28097ac_compiler_gnu=$ac_cv_c_compiler_gnu
28098
28099
28100fi
28101
28102  fi
28103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28104$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28105
28106  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28107    for ac_func in sqrtl
28108do :
28109  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28110if test "x$ac_cv_func_sqrtl" = xyes; then :
28111  cat >>confdefs.h <<_ACEOF
28112#define HAVE_SQRTL 1
28113_ACEOF
28114
28115fi
28116done
28117
28118  else
28119
28120  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28121$as_echo_n "checking for _sqrtl declaration... " >&6; }
28122  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28123    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28124  $as_echo_n "(cached) " >&6
28125else
28126
28127
28128      ac_ext=cpp
28129ac_cpp='$CXXCPP $CPPFLAGS'
28130ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28131ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28132ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28133
28134      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28135/* end confdefs.h.  */
28136#include <math.h>
28137		      #ifdef HAVE_IEEEFP_H
28138		      #include <ieeefp.h>
28139		      #endif
28140
28141int
28142main ()
28143{
28144 _sqrtl(0);
28145  ;
28146  return 0;
28147}
28148_ACEOF
28149if ac_fn_cxx_try_compile "$LINENO"; then :
28150  glibcxx_cv_func__sqrtl_use=yes
28151else
28152  glibcxx_cv_func__sqrtl_use=no
28153fi
28154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28155      ac_ext=c
28156ac_cpp='$CPP $CPPFLAGS'
28157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28159ac_compiler_gnu=$ac_cv_c_compiler_gnu
28160
28161
28162fi
28163
28164  fi
28165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28166$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28167
28168    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28169      for ac_func in _sqrtl
28170do :
28171  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28172if test "x$ac_cv_func__sqrtl" = xyes; then :
28173  cat >>confdefs.h <<_ACEOF
28174#define HAVE__SQRTL 1
28175_ACEOF
28176
28177fi
28178done
28179
28180    fi
28181  fi
28182
28183
28184
28185
28186
28187  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28188$as_echo_n "checking for sincosl declaration... " >&6; }
28189  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28190    if ${glibcxx_cv_func_sincosl_use+:} false; then :
28191  $as_echo_n "(cached) " >&6
28192else
28193
28194
28195      ac_ext=cpp
28196ac_cpp='$CXXCPP $CPPFLAGS'
28197ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28198ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28199ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28200
28201      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28202/* end confdefs.h.  */
28203#include <math.h>
28204int
28205main ()
28206{
28207 sincosl(0, 0, 0);
28208  ;
28209  return 0;
28210}
28211_ACEOF
28212if ac_fn_cxx_try_compile "$LINENO"; then :
28213  glibcxx_cv_func_sincosl_use=yes
28214else
28215  glibcxx_cv_func_sincosl_use=no
28216fi
28217rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28218      ac_ext=c
28219ac_cpp='$CPP $CPPFLAGS'
28220ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28221ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28222ac_compiler_gnu=$ac_cv_c_compiler_gnu
28223
28224
28225fi
28226
28227  fi
28228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28229$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28230
28231  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28232    for ac_func in sincosl
28233do :
28234  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28235if test "x$ac_cv_func_sincosl" = xyes; then :
28236  cat >>confdefs.h <<_ACEOF
28237#define HAVE_SINCOSL 1
28238_ACEOF
28239
28240fi
28241done
28242
28243  else
28244
28245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28246$as_echo_n "checking for _sincosl declaration... " >&6; }
28247  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28248    if ${glibcxx_cv_func__sincosl_use+:} false; then :
28249  $as_echo_n "(cached) " >&6
28250else
28251
28252
28253      ac_ext=cpp
28254ac_cpp='$CXXCPP $CPPFLAGS'
28255ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28256ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28257ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28258
28259      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28260/* end confdefs.h.  */
28261#include <math.h>
28262int
28263main ()
28264{
28265 _sincosl(0, 0, 0);
28266  ;
28267  return 0;
28268}
28269_ACEOF
28270if ac_fn_cxx_try_compile "$LINENO"; then :
28271  glibcxx_cv_func__sincosl_use=yes
28272else
28273  glibcxx_cv_func__sincosl_use=no
28274fi
28275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28276      ac_ext=c
28277ac_cpp='$CPP $CPPFLAGS'
28278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28280ac_compiler_gnu=$ac_cv_c_compiler_gnu
28281
28282
28283fi
28284
28285  fi
28286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28287$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28288
28289    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28290      for ac_func in _sincosl
28291do :
28292  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28293if test "x$ac_cv_func__sincosl" = xyes; then :
28294  cat >>confdefs.h <<_ACEOF
28295#define HAVE__SINCOSL 1
28296_ACEOF
28297
28298fi
28299done
28300
28301    fi
28302  fi
28303
28304
28305
28306
28307
28308  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28309$as_echo_n "checking for finitel declaration... " >&6; }
28310  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28311    if ${glibcxx_cv_func_finitel_use+:} false; then :
28312  $as_echo_n "(cached) " >&6
28313else
28314
28315
28316      ac_ext=cpp
28317ac_cpp='$CXXCPP $CPPFLAGS'
28318ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28319ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28320ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28321
28322      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28323/* end confdefs.h.  */
28324#include <math.h>
28325		      #ifdef HAVE_IEEEFP_H
28326		      #include <ieeefp.h>
28327		      #endif
28328
28329int
28330main ()
28331{
28332 finitel(0);
28333  ;
28334  return 0;
28335}
28336_ACEOF
28337if ac_fn_cxx_try_compile "$LINENO"; then :
28338  glibcxx_cv_func_finitel_use=yes
28339else
28340  glibcxx_cv_func_finitel_use=no
28341fi
28342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28343      ac_ext=c
28344ac_cpp='$CPP $CPPFLAGS'
28345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28347ac_compiler_gnu=$ac_cv_c_compiler_gnu
28348
28349
28350fi
28351
28352  fi
28353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28354$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28355
28356  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28357    for ac_func in finitel
28358do :
28359  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28360if test "x$ac_cv_func_finitel" = xyes; then :
28361  cat >>confdefs.h <<_ACEOF
28362#define HAVE_FINITEL 1
28363_ACEOF
28364
28365fi
28366done
28367
28368  else
28369
28370  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28371$as_echo_n "checking for _finitel declaration... " >&6; }
28372  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28373    if ${glibcxx_cv_func__finitel_use+:} false; then :
28374  $as_echo_n "(cached) " >&6
28375else
28376
28377
28378      ac_ext=cpp
28379ac_cpp='$CXXCPP $CPPFLAGS'
28380ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28381ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28382ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28383
28384      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28385/* end confdefs.h.  */
28386#include <math.h>
28387		      #ifdef HAVE_IEEEFP_H
28388		      #include <ieeefp.h>
28389		      #endif
28390
28391int
28392main ()
28393{
28394 _finitel(0);
28395  ;
28396  return 0;
28397}
28398_ACEOF
28399if ac_fn_cxx_try_compile "$LINENO"; then :
28400  glibcxx_cv_func__finitel_use=yes
28401else
28402  glibcxx_cv_func__finitel_use=no
28403fi
28404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28405      ac_ext=c
28406ac_cpp='$CPP $CPPFLAGS'
28407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28409ac_compiler_gnu=$ac_cv_c_compiler_gnu
28410
28411
28412fi
28413
28414  fi
28415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28416$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28417
28418    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28419      for ac_func in _finitel
28420do :
28421  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28422if test "x$ac_cv_func__finitel" = xyes; then :
28423  cat >>confdefs.h <<_ACEOF
28424#define HAVE__FINITEL 1
28425_ACEOF
28426
28427fi
28428done
28429
28430    fi
28431  fi
28432
28433
28434
28435
28436  LIBS="$ac_save_LIBS"
28437  CXXFLAGS="$ac_save_CXXFLAGS"
28438
28439
28440  ac_test_CXXFLAGS="${CXXFLAGS+set}"
28441  ac_save_CXXFLAGS="$CXXFLAGS"
28442  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28443
28444
28445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28446$as_echo_n "checking for at_quick_exit declaration... " >&6; }
28447  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28448    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28449  $as_echo_n "(cached) " >&6
28450else
28451
28452
28453      ac_ext=cpp
28454ac_cpp='$CXXCPP $CPPFLAGS'
28455ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458
28459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28460/* end confdefs.h.  */
28461#include <stdlib.h>
28462int
28463main ()
28464{
28465 at_quick_exit(0);
28466  ;
28467  return 0;
28468}
28469_ACEOF
28470if ac_fn_cxx_try_compile "$LINENO"; then :
28471  glibcxx_cv_func_at_quick_exit_use=yes
28472else
28473  glibcxx_cv_func_at_quick_exit_use=no
28474fi
28475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28476      ac_ext=c
28477ac_cpp='$CPP $CPPFLAGS'
28478ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28479ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28480ac_compiler_gnu=$ac_cv_c_compiler_gnu
28481
28482
28483fi
28484
28485  fi
28486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28487$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28488  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28489    for ac_func in at_quick_exit
28490do :
28491  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28492if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28493  cat >>confdefs.h <<_ACEOF
28494#define HAVE_AT_QUICK_EXIT 1
28495_ACEOF
28496
28497fi
28498done
28499
28500  fi
28501
28502
28503  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28504$as_echo_n "checking for quick_exit declaration... " >&6; }
28505  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28506    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28507  $as_echo_n "(cached) " >&6
28508else
28509
28510
28511      ac_ext=cpp
28512ac_cpp='$CXXCPP $CPPFLAGS'
28513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28516
28517      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28518/* end confdefs.h.  */
28519#include <stdlib.h>
28520int
28521main ()
28522{
28523 quick_exit(0);
28524  ;
28525  return 0;
28526}
28527_ACEOF
28528if ac_fn_cxx_try_compile "$LINENO"; then :
28529  glibcxx_cv_func_quick_exit_use=yes
28530else
28531  glibcxx_cv_func_quick_exit_use=no
28532fi
28533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28534      ac_ext=c
28535ac_cpp='$CPP $CPPFLAGS'
28536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538ac_compiler_gnu=$ac_cv_c_compiler_gnu
28539
28540
28541fi
28542
28543  fi
28544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28545$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28546  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28547    for ac_func in quick_exit
28548do :
28549  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28550if test "x$ac_cv_func_quick_exit" = xyes; then :
28551  cat >>confdefs.h <<_ACEOF
28552#define HAVE_QUICK_EXIT 1
28553_ACEOF
28554
28555fi
28556done
28557
28558  fi
28559
28560
28561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28562$as_echo_n "checking for strtold declaration... " >&6; }
28563  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28564    if ${glibcxx_cv_func_strtold_use+:} false; then :
28565  $as_echo_n "(cached) " >&6
28566else
28567
28568
28569      ac_ext=cpp
28570ac_cpp='$CXXCPP $CPPFLAGS'
28571ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28572ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28573ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28574
28575      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28576/* end confdefs.h.  */
28577#include <stdlib.h>
28578int
28579main ()
28580{
28581 strtold(0, 0);
28582  ;
28583  return 0;
28584}
28585_ACEOF
28586if ac_fn_cxx_try_compile "$LINENO"; then :
28587  glibcxx_cv_func_strtold_use=yes
28588else
28589  glibcxx_cv_func_strtold_use=no
28590fi
28591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28592      ac_ext=c
28593ac_cpp='$CPP $CPPFLAGS'
28594ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28596ac_compiler_gnu=$ac_cv_c_compiler_gnu
28597
28598
28599fi
28600
28601  fi
28602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28603$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28604  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28605    for ac_func in strtold
28606do :
28607  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28608if test "x$ac_cv_func_strtold" = xyes; then :
28609  cat >>confdefs.h <<_ACEOF
28610#define HAVE_STRTOLD 1
28611_ACEOF
28612
28613fi
28614done
28615
28616  fi
28617
28618
28619
28620
28621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28622$as_echo_n "checking for strtof declaration... " >&6; }
28623  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28624    if ${glibcxx_cv_func_strtof_use+:} false; then :
28625  $as_echo_n "(cached) " >&6
28626else
28627
28628
28629      ac_ext=cpp
28630ac_cpp='$CXXCPP $CPPFLAGS'
28631ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28634
28635      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28636/* end confdefs.h.  */
28637#include <stdlib.h>
28638int
28639main ()
28640{
28641 strtof(0, 0);
28642  ;
28643  return 0;
28644}
28645_ACEOF
28646if ac_fn_cxx_try_compile "$LINENO"; then :
28647  glibcxx_cv_func_strtof_use=yes
28648else
28649  glibcxx_cv_func_strtof_use=no
28650fi
28651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28652      ac_ext=c
28653ac_cpp='$CPP $CPPFLAGS'
28654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28656ac_compiler_gnu=$ac_cv_c_compiler_gnu
28657
28658
28659fi
28660
28661  fi
28662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28663$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28664  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28665    for ac_func in strtof
28666do :
28667  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28668if test "x$ac_cv_func_strtof" = xyes; then :
28669  cat >>confdefs.h <<_ACEOF
28670#define HAVE_STRTOF 1
28671_ACEOF
28672
28673fi
28674done
28675
28676  fi
28677
28678
28679
28680
28681  CXXFLAGS="$ac_save_CXXFLAGS"
28682
28683
28684  # For /dev/random and /dev/urandom for std::random_device.
28685
28686
28687  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28688$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28689  if ${glibcxx_cv_dev_random+:} false; then :
28690  $as_echo_n "(cached) " >&6
28691else
28692
28693    if test -r /dev/random && test -r /dev/urandom; then
28694  ## For MSys environment the test above is detected as false-positive
28695  ## on mingw-targets.  So disable it explicitly for them.
28696      case ${target_os} in
28697	*mingw*) glibcxx_cv_dev_random=no ;;
28698	*) glibcxx_cv_dev_random=yes ;;
28699      esac
28700    else
28701      glibcxx_cv_dev_random=no;
28702    fi
28703
28704fi
28705
28706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28707$as_echo "$glibcxx_cv_dev_random" >&6; }
28708
28709  if test x"$glibcxx_cv_dev_random" = x"yes"; then
28710
28711$as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28712
28713
28714$as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28715
28716  fi
28717
28718
28719
28720  # For TLS support.
28721
28722
28723   # Check whether --enable-tls was given.
28724if test "${enable_tls+set}" = set; then :
28725  enableval=$enable_tls;
28726      case "$enableval" in
28727       yes|no) ;;
28728       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28729      esac
28730
28731else
28732  enable_tls=yes
28733fi
28734
28735
28736  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28737$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28738if ${gcc_cv_have_tls+:} false; then :
28739  $as_echo_n "(cached) " >&6
28740else
28741
28742    if test "$cross_compiling" = yes; then :
28743                if test x$gcc_no_link = xyes; then
28744  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28745fi
28746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28747/* end confdefs.h.  */
28748__thread int a; int b; int main() { return a = b; }
28749_ACEOF
28750if ac_fn_c_try_link "$LINENO"; then :
28751  chktls_save_LDFLAGS="$LDFLAGS"
28752	  	  	  case $host in
28753	    *-*-linux* | -*-uclinuxfdpic*)
28754	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28755	      ;;
28756	  esac
28757	  chktls_save_CFLAGS="$CFLAGS"
28758	  CFLAGS="-fPIC $CFLAGS"
28759	  	  if test x$gcc_no_link = xyes; then
28760  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28761fi
28762cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28763/* end confdefs.h.  */
28764int f() { return 0; }
28765_ACEOF
28766if ac_fn_c_try_link "$LINENO"; then :
28767  if test x$gcc_no_link = xyes; then
28768  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28769fi
28770cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28771/* end confdefs.h.  */
28772__thread int a; int b; int f() { return a = b; }
28773_ACEOF
28774if ac_fn_c_try_link "$LINENO"; then :
28775  gcc_cv_have_tls=yes
28776else
28777  gcc_cv_have_tls=no
28778fi
28779rm -f core conftest.err conftest.$ac_objext \
28780    conftest$ac_exeext conftest.$ac_ext
28781else
28782  gcc_cv_have_tls=yes
28783fi
28784rm -f core conftest.err conftest.$ac_objext \
28785    conftest$ac_exeext conftest.$ac_ext
28786	  CFLAGS="$chktls_save_CFLAGS"
28787	  LDFLAGS="$chktls_save_LDFLAGS"
28788else
28789  gcc_cv_have_tls=no
28790fi
28791rm -f core conftest.err conftest.$ac_objext \
28792    conftest$ac_exeext conftest.$ac_ext
28793
28794
28795else
28796  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28797/* end confdefs.h.  */
28798__thread int a; int b; int main() { return a = b; }
28799_ACEOF
28800if ac_fn_c_try_run "$LINENO"; then :
28801                      chktls_save_LDFLAGS="$LDFLAGS"
28802      LDFLAGS="-static $LDFLAGS"
28803      if test x$gcc_no_link = xyes; then
28804  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28805fi
28806cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28807/* end confdefs.h.  */
28808int main() { return 0; }
28809_ACEOF
28810if ac_fn_c_try_link "$LINENO"; then :
28811  if test "$cross_compiling" = yes; then :
28812  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28813$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28814as_fn_error $? "cannot run test program while cross compiling
28815See \`config.log' for more details" "$LINENO" 5; }
28816else
28817  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28818/* end confdefs.h.  */
28819__thread int a; int b; int main() { return a = b; }
28820_ACEOF
28821if ac_fn_c_try_run "$LINENO"; then :
28822  gcc_cv_have_tls=yes
28823else
28824  gcc_cv_have_tls=no
28825fi
28826rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28827  conftest.$ac_objext conftest.beam conftest.$ac_ext
28828fi
28829
28830else
28831  gcc_cv_have_tls=yes
28832fi
28833rm -f core conftest.err conftest.$ac_objext \
28834    conftest$ac_exeext conftest.$ac_ext
28835      LDFLAGS="$chktls_save_LDFLAGS"
28836      if test $gcc_cv_have_tls = yes; then
28837						chktls_save_CFLAGS="$CFLAGS"
28838	thread_CFLAGS=failed
28839	for flag in '' '-pthread' '-lpthread'; do
28840	  CFLAGS="$flag $chktls_save_CFLAGS"
28841	  if test x$gcc_no_link = xyes; then
28842  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28843fi
28844cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28845/* end confdefs.h.  */
28846#include <pthread.h>
28847		void *g(void *d) { return NULL; }
28848int
28849main ()
28850{
28851pthread_t t; pthread_create(&t,NULL,g,NULL);
28852  ;
28853  return 0;
28854}
28855_ACEOF
28856if ac_fn_c_try_link "$LINENO"; then :
28857  thread_CFLAGS="$flag"
28858fi
28859rm -f core conftest.err conftest.$ac_objext \
28860    conftest$ac_exeext conftest.$ac_ext
28861	  if test "X$thread_CFLAGS" != Xfailed; then
28862	    break
28863	  fi
28864	done
28865	CFLAGS="$chktls_save_CFLAGS"
28866	if test "X$thread_CFLAGS" != Xfailed; then
28867	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28868 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
28869  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28871as_fn_error $? "cannot run test program while cross compiling
28872See \`config.log' for more details" "$LINENO" 5; }
28873else
28874  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28875/* end confdefs.h.  */
28876#include <pthread.h>
28877		__thread int a;
28878		static int *volatile a_in_other_thread;
28879		static void *
28880		thread_func (void *arg)
28881		{
28882		  a_in_other_thread = &a;
28883		  return (void *)0;
28884		}
28885int
28886main ()
28887{
28888pthread_t thread;
28889		void *thread_retval;
28890		int *volatile a_in_main_thread;
28891		a_in_main_thread = &a;
28892		if (pthread_create (&thread, (pthread_attr_t *)0,
28893				    thread_func, (void *)0))
28894		  return 0;
28895		if (pthread_join (thread, &thread_retval))
28896		  return 0;
28897		return (a_in_other_thread == a_in_main_thread);
28898  ;
28899  return 0;
28900}
28901_ACEOF
28902if ac_fn_c_try_run "$LINENO"; then :
28903  gcc_cv_have_tls=yes
28904else
28905  gcc_cv_have_tls=no
28906fi
28907rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28908  conftest.$ac_objext conftest.beam conftest.$ac_ext
28909fi
28910
28911	  CFLAGS="$chktls_save_CFLAGS"
28912	fi
28913      fi
28914else
28915  gcc_cv_have_tls=no
28916fi
28917rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28918  conftest.$ac_objext conftest.beam conftest.$ac_ext
28919fi
28920
28921fi
28922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28923$as_echo "$gcc_cv_have_tls" >&6; }
28924  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28925
28926$as_echo "#define HAVE_TLS 1" >>confdefs.h
28927
28928  fi
28929
28930  for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28931do :
28932  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28933ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28934if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28935  cat >>confdefs.h <<_ACEOF
28936#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28937_ACEOF
28938
28939fi
28940done
28941
28942  for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28943do :
28944  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28945ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28946if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28947  cat >>confdefs.h <<_ACEOF
28948#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28949_ACEOF
28950
28951fi
28952done
28953
28954  for ac_func in _wfopen
28955do :
28956  ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28957if test "x$ac_cv_func__wfopen" = xyes; then :
28958  cat >>confdefs.h <<_ACEOF
28959#define HAVE__WFOPEN 1
28960_ACEOF
28961
28962fi
28963done
28964
28965
28966  # C11 functions for C++17 library
28967  for ac_func in timespec_get
28968do :
28969  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28970if test "x$ac_cv_func_timespec_get" = xyes; then :
28971  cat >>confdefs.h <<_ACEOF
28972#define HAVE_TIMESPEC_GET 1
28973_ACEOF
28974
28975fi
28976done
28977
28978
28979  # For Networking TS.
28980  for ac_func in sockatmark
28981do :
28982  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28983if test "x$ac_cv_func_sockatmark" = xyes; then :
28984  cat >>confdefs.h <<_ACEOF
28985#define HAVE_SOCKATMARK 1
28986_ACEOF
28987
28988fi
28989done
28990
28991
28992  # For iconv support.
28993
28994      if test "X$prefix" = "XNONE"; then
28995    acl_final_prefix="$ac_default_prefix"
28996  else
28997    acl_final_prefix="$prefix"
28998  fi
28999  if test "X$exec_prefix" = "XNONE"; then
29000    acl_final_exec_prefix='${prefix}'
29001  else
29002    acl_final_exec_prefix="$exec_prefix"
29003  fi
29004  acl_save_prefix="$prefix"
29005  prefix="$acl_final_prefix"
29006  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
29007  prefix="$acl_save_prefix"
29008
29009
29010# Check whether --with-gnu-ld was given.
29011if test "${with_gnu_ld+set}" = set; then :
29012  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29013else
29014  with_gnu_ld=no
29015fi
29016
29017# Prepare PATH_SEPARATOR.
29018# The user is always right.
29019if test "${PATH_SEPARATOR+set}" != set; then
29020  echo "#! /bin/sh" >conf$$.sh
29021  echo  "exit 0"   >>conf$$.sh
29022  chmod +x conf$$.sh
29023  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29024    PATH_SEPARATOR=';'
29025  else
29026    PATH_SEPARATOR=:
29027  fi
29028  rm -f conf$$.sh
29029fi
29030ac_prog=ld
29031if test "$GCC" = yes; then
29032  # Check if gcc -print-prog-name=ld gives a path.
29033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
29034$as_echo_n "checking for ld used by GCC... " >&6; }
29035  case $host in
29036  *-*-mingw*)
29037    # gcc leaves a trailing carriage return which upsets mingw
29038    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
29039  *)
29040    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
29041  esac
29042  case $ac_prog in
29043    # Accept absolute paths.
29044    [\\/]* | [A-Za-z]:[\\/]*)
29045      re_direlt='/[^/][^/]*/\.\./'
29046      # Canonicalize the path of ld
29047      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
29048      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
29049	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
29050      done
29051      test -z "$LD" && LD="$ac_prog"
29052      ;;
29053  "")
29054    # If it fails, then pretend we aren't using GCC.
29055    ac_prog=ld
29056    ;;
29057  *)
29058    # If it is relative, then search for the first ld in PATH.
29059    with_gnu_ld=unknown
29060    ;;
29061  esac
29062elif test "$with_gnu_ld" = yes; then
29063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29064$as_echo_n "checking for GNU ld... " >&6; }
29065else
29066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29067$as_echo_n "checking for non-GNU ld... " >&6; }
29068fi
29069if ${acl_cv_path_LD+:} false; then :
29070  $as_echo_n "(cached) " >&6
29071else
29072  if test -z "$LD"; then
29073  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29074  for ac_dir in $PATH; do
29075    test -z "$ac_dir" && ac_dir=.
29076    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29077      acl_cv_path_LD="$ac_dir/$ac_prog"
29078      # Check to see if the program is GNU ld.  I'd rather use --version,
29079      # but apparently some GNU ld's only accept -v.
29080      # Break only if it was the GNU/non-GNU ld that we prefer.
29081      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
29082	test "$with_gnu_ld" != no && break
29083      else
29084	test "$with_gnu_ld" != yes && break
29085      fi
29086    fi
29087  done
29088  IFS="$ac_save_ifs"
29089else
29090  acl_cv_path_LD="$LD" # Let the user override the test with a path.
29091fi
29092fi
29093
29094LD="$acl_cv_path_LD"
29095if test -n "$LD"; then
29096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29097$as_echo "$LD" >&6; }
29098else
29099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29100$as_echo "no" >&6; }
29101fi
29102test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29104$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29105if ${acl_cv_prog_gnu_ld+:} false; then :
29106  $as_echo_n "(cached) " >&6
29107else
29108  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29109if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
29110  acl_cv_prog_gnu_ld=yes
29111else
29112  acl_cv_prog_gnu_ld=no
29113fi
29114fi
29115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29116$as_echo "$acl_cv_prog_gnu_ld" >&6; }
29117with_gnu_ld=$acl_cv_prog_gnu_ld
29118
29119
29120
29121                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29122$as_echo_n "checking for shared library run path origin... " >&6; }
29123if ${acl_cv_rpath+:} false; then :
29124  $as_echo_n "(cached) " >&6
29125else
29126
29127    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29128    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29129    . ./conftest.sh
29130    rm -f ./conftest.sh
29131    acl_cv_rpath=done
29132
29133fi
29134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29135$as_echo "$acl_cv_rpath" >&6; }
29136  wl="$acl_cv_wl"
29137  libext="$acl_cv_libext"
29138  shlibext="$acl_cv_shlibext"
29139  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29140  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29141  hardcode_direct="$acl_cv_hardcode_direct"
29142  hardcode_minus_L="$acl_cv_hardcode_minus_L"
29143    # Check whether --enable-rpath was given.
29144if test "${enable_rpath+set}" = set; then :
29145  enableval=$enable_rpath; :
29146else
29147  enable_rpath=yes
29148fi
29149
29150
29151
29152
29153
29154
29155
29156
29157    use_additional=yes
29158
29159  acl_save_prefix="$prefix"
29160  prefix="$acl_final_prefix"
29161  acl_save_exec_prefix="$exec_prefix"
29162  exec_prefix="$acl_final_exec_prefix"
29163
29164    eval additional_includedir=\"$includedir\"
29165    eval additional_libdir=\"$libdir\"
29166
29167  exec_prefix="$acl_save_exec_prefix"
29168  prefix="$acl_save_prefix"
29169
29170
29171# Check whether --with-libiconv-prefix was given.
29172if test "${with_libiconv_prefix+set}" = set; then :
29173  withval=$with_libiconv_prefix;
29174    if test "X$withval" = "Xno"; then
29175      use_additional=no
29176    else
29177      if test "X$withval" = "X"; then
29178
29179  acl_save_prefix="$prefix"
29180  prefix="$acl_final_prefix"
29181  acl_save_exec_prefix="$exec_prefix"
29182  exec_prefix="$acl_final_exec_prefix"
29183
29184          eval additional_includedir=\"$includedir\"
29185          eval additional_libdir=\"$libdir\"
29186
29187  exec_prefix="$acl_save_exec_prefix"
29188  prefix="$acl_save_prefix"
29189
29190      else
29191        additional_includedir="$withval/include"
29192        additional_libdir="$withval/lib"
29193      fi
29194    fi
29195
29196fi
29197
29198
29199# Check whether --with-libiconv-type was given.
29200if test "${with_libiconv_type+set}" = set; then :
29201  withval=$with_libiconv_type;  with_libiconv_type=$withval
29202else
29203   with_libiconv_type=auto
29204fi
29205
29206  lib_type=`eval echo \$with_libiconv_type`
29207
29208      LIBICONV=
29209  LTLIBICONV=
29210  INCICONV=
29211  rpathdirs=
29212  ltrpathdirs=
29213  names_already_handled=
29214  names_next_round='iconv '
29215  while test -n "$names_next_round"; do
29216    names_this_round="$names_next_round"
29217    names_next_round=
29218    for name in $names_this_round; do
29219      already_handled=
29220      for n in $names_already_handled; do
29221        if test "$n" = "$name"; then
29222          already_handled=yes
29223          break
29224        fi
29225      done
29226      if test -z "$already_handled"; then
29227        names_already_handled="$names_already_handled $name"
29228                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29229        eval value=\"\$HAVE_LIB$uppername\"
29230        if test -n "$value"; then
29231          if test "$value" = yes; then
29232            eval value=\"\$LIB$uppername\"
29233            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29234            eval value=\"\$LTLIB$uppername\"
29235            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29236          else
29237                                    :
29238          fi
29239        else
29240                              found_dir=
29241          found_la=
29242          found_so=
29243          found_a=
29244          if test $use_additional = yes; then
29245            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29246              found_dir="$additional_libdir"
29247              found_so="$additional_libdir/lib$name.$shlibext"
29248              if test -f "$additional_libdir/lib$name.la"; then
29249                found_la="$additional_libdir/lib$name.la"
29250              fi
29251            elif test x$lib_type != xshared; then
29252              if test -f "$additional_libdir/lib$name.$libext"; then
29253                found_dir="$additional_libdir"
29254                found_a="$additional_libdir/lib$name.$libext"
29255                if test -f "$additional_libdir/lib$name.la"; then
29256                  found_la="$additional_libdir/lib$name.la"
29257                fi
29258              fi
29259            fi
29260          fi
29261          if test "X$found_dir" = "X"; then
29262            for x in $LDFLAGS $LTLIBICONV; do
29263
29264  acl_save_prefix="$prefix"
29265  prefix="$acl_final_prefix"
29266  acl_save_exec_prefix="$exec_prefix"
29267  exec_prefix="$acl_final_exec_prefix"
29268  eval x=\"$x\"
29269  exec_prefix="$acl_save_exec_prefix"
29270  prefix="$acl_save_prefix"
29271
29272              case "$x" in
29273                -L*)
29274                  dir=`echo "X$x" | sed -e 's/^X-L//'`
29275                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29276                    found_dir="$dir"
29277                    found_so="$dir/lib$name.$shlibext"
29278                    if test -f "$dir/lib$name.la"; then
29279                      found_la="$dir/lib$name.la"
29280                    fi
29281                  elif test x$lib_type != xshared; then
29282                    if test -f "$dir/lib$name.$libext"; then
29283                      found_dir="$dir"
29284                      found_a="$dir/lib$name.$libext"
29285                      if test -f "$dir/lib$name.la"; then
29286                        found_la="$dir/lib$name.la"
29287                      fi
29288                    fi
29289                  fi
29290                  ;;
29291              esac
29292              if test "X$found_dir" != "X"; then
29293                break
29294              fi
29295            done
29296          fi
29297          if test "X$found_dir" != "X"; then
29298                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29299            if test "X$found_so" != "X"; then
29300                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29301                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29302              else
29303                                                                                haveit=
29304                for x in $ltrpathdirs; do
29305                  if test "X$x" = "X$found_dir"; then
29306                    haveit=yes
29307                    break
29308                  fi
29309                done
29310                if test -z "$haveit"; then
29311                  ltrpathdirs="$ltrpathdirs $found_dir"
29312                fi
29313                                if test "$hardcode_direct" = yes; then
29314                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29315                else
29316                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29317                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29318                                                            haveit=
29319                    for x in $rpathdirs; do
29320                      if test "X$x" = "X$found_dir"; then
29321                        haveit=yes
29322                        break
29323                      fi
29324                    done
29325                    if test -z "$haveit"; then
29326                      rpathdirs="$rpathdirs $found_dir"
29327                    fi
29328                  else
29329                                                                                haveit=
29330                    for x in $LDFLAGS $LIBICONV; do
29331
29332  acl_save_prefix="$prefix"
29333  prefix="$acl_final_prefix"
29334  acl_save_exec_prefix="$exec_prefix"
29335  exec_prefix="$acl_final_exec_prefix"
29336  eval x=\"$x\"
29337  exec_prefix="$acl_save_exec_prefix"
29338  prefix="$acl_save_prefix"
29339
29340                      if test "X$x" = "X-L$found_dir"; then
29341                        haveit=yes
29342                        break
29343                      fi
29344                    done
29345                    if test -z "$haveit"; then
29346                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29347                    fi
29348                    if test "$hardcode_minus_L" != no; then
29349                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29350                    else
29351                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29352                    fi
29353                  fi
29354                fi
29355              fi
29356            else
29357              if test "X$found_a" != "X"; then
29358                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29359              else
29360                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29361              fi
29362            fi
29363                        additional_includedir=
29364            case "$found_dir" in
29365              */lib | */lib/)
29366                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29367                additional_includedir="$basedir/include"
29368                ;;
29369            esac
29370            if test "X$additional_includedir" != "X"; then
29371                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
29372                haveit=
29373                if test "X$additional_includedir" = "X/usr/local/include"; then
29374                  if test -n "$GCC"; then
29375                    case $host_os in
29376                      linux*) haveit=yes;;
29377                    esac
29378                  fi
29379                fi
29380                if test -z "$haveit"; then
29381                  for x in $CPPFLAGS $INCICONV; do
29382
29383  acl_save_prefix="$prefix"
29384  prefix="$acl_final_prefix"
29385  acl_save_exec_prefix="$exec_prefix"
29386  exec_prefix="$acl_final_exec_prefix"
29387  eval x=\"$x\"
29388  exec_prefix="$acl_save_exec_prefix"
29389  prefix="$acl_save_prefix"
29390
29391                    if test "X$x" = "X-I$additional_includedir"; then
29392                      haveit=yes
29393                      break
29394                    fi
29395                  done
29396                  if test -z "$haveit"; then
29397                    if test -d "$additional_includedir"; then
29398                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29399                    fi
29400                  fi
29401                fi
29402              fi
29403            fi
29404                        if test -n "$found_la"; then
29405                                                        save_libdir="$libdir"
29406              case "$found_la" in
29407                */* | *\\*) . "$found_la" ;;
29408                *) . "./$found_la" ;;
29409              esac
29410              libdir="$save_libdir"
29411                            for dep in $dependency_libs; do
29412                case "$dep" in
29413                  -L*)
29414                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29415                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
29416                      haveit=
29417                      if test "X$additional_libdir" = "X/usr/local/lib"; then
29418                        if test -n "$GCC"; then
29419                          case $host_os in
29420                            linux*) haveit=yes;;
29421                          esac
29422                        fi
29423                      fi
29424                      if test -z "$haveit"; then
29425                        haveit=
29426                        for x in $LDFLAGS $LIBICONV; do
29427
29428  acl_save_prefix="$prefix"
29429  prefix="$acl_final_prefix"
29430  acl_save_exec_prefix="$exec_prefix"
29431  exec_prefix="$acl_final_exec_prefix"
29432  eval x=\"$x\"
29433  exec_prefix="$acl_save_exec_prefix"
29434  prefix="$acl_save_prefix"
29435
29436                          if test "X$x" = "X-L$additional_libdir"; then
29437                            haveit=yes
29438                            break
29439                          fi
29440                        done
29441                        if test -z "$haveit"; then
29442                          if test -d "$additional_libdir"; then
29443                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29444                          fi
29445                        fi
29446                        haveit=
29447                        for x in $LDFLAGS $LTLIBICONV; do
29448
29449  acl_save_prefix="$prefix"
29450  prefix="$acl_final_prefix"
29451  acl_save_exec_prefix="$exec_prefix"
29452  exec_prefix="$acl_final_exec_prefix"
29453  eval x=\"$x\"
29454  exec_prefix="$acl_save_exec_prefix"
29455  prefix="$acl_save_prefix"
29456
29457                          if test "X$x" = "X-L$additional_libdir"; then
29458                            haveit=yes
29459                            break
29460                          fi
29461                        done
29462                        if test -z "$haveit"; then
29463                          if test -d "$additional_libdir"; then
29464                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29465                          fi
29466                        fi
29467                      fi
29468                    fi
29469                    ;;
29470                  -R*)
29471                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
29472                    if test "$enable_rpath" != no; then
29473                                                                  haveit=
29474                      for x in $rpathdirs; do
29475                        if test "X$x" = "X$dir"; then
29476                          haveit=yes
29477                          break
29478                        fi
29479                      done
29480                      if test -z "$haveit"; then
29481                        rpathdirs="$rpathdirs $dir"
29482                      fi
29483                                                                  haveit=
29484                      for x in $ltrpathdirs; do
29485                        if test "X$x" = "X$dir"; then
29486                          haveit=yes
29487                          break
29488                        fi
29489                      done
29490                      if test -z "$haveit"; then
29491                        ltrpathdirs="$ltrpathdirs $dir"
29492                      fi
29493                    fi
29494                    ;;
29495                  -l*)
29496                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29497                    ;;
29498                  *.la)
29499                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29500                    ;;
29501                  *)
29502                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29503                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29504                    ;;
29505                esac
29506              done
29507            fi
29508          else
29509                                                            if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29510              LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29511              LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29512            else
29513              LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29514              LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29515            fi
29516          fi
29517        fi
29518      fi
29519    done
29520  done
29521  if test "X$rpathdirs" != "X"; then
29522    if test -n "$hardcode_libdir_separator"; then
29523                        alldirs=
29524      for found_dir in $rpathdirs; do
29525        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29526      done
29527            acl_save_libdir="$libdir"
29528      libdir="$alldirs"
29529      eval flag=\"$hardcode_libdir_flag_spec\"
29530      libdir="$acl_save_libdir"
29531      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29532    else
29533            for found_dir in $rpathdirs; do
29534        acl_save_libdir="$libdir"
29535        libdir="$found_dir"
29536        eval flag=\"$hardcode_libdir_flag_spec\"
29537        libdir="$acl_save_libdir"
29538        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29539      done
29540    fi
29541  fi
29542  if test "X$ltrpathdirs" != "X"; then
29543            for found_dir in $ltrpathdirs; do
29544      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29545    done
29546  fi
29547
29548
29549
29550
29551
29552
29553
29554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29555$as_echo_n "checking for iconv... " >&6; }
29556if ${am_cv_func_iconv+:} false; then :
29557  $as_echo_n "(cached) " >&6
29558else
29559
29560    am_cv_func_iconv="no, consider installing GNU libiconv"
29561    am_cv_lib_iconv=no
29562                    am_save_CPPFLAGS="$CPPFLAGS"
29563    CPPFLAGS="$CPPFLAGS $INCICONV"
29564    if test x$gcc_no_link = xyes; then
29565  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29566fi
29567cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29568/* end confdefs.h.  */
29569#include <stdlib.h>
29570#include <iconv.h>
29571int
29572main ()
29573{
29574iconv_t cd = iconv_open("","");
29575       iconv(cd,NULL,NULL,NULL,NULL);
29576       iconv_close(cd);
29577  ;
29578  return 0;
29579}
29580_ACEOF
29581if ac_fn_c_try_link "$LINENO"; then :
29582  am_cv_func_iconv=yes
29583fi
29584rm -f core conftest.err conftest.$ac_objext \
29585    conftest$ac_exeext conftest.$ac_ext
29586    CPPFLAGS="$am_save_CPPFLAGS"
29587
29588    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29589      for _libs in .libs _libs; do
29590        am_save_CPPFLAGS="$CPPFLAGS"
29591        am_save_LIBS="$LIBS"
29592        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29593        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29594        if test x$gcc_no_link = xyes; then
29595  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29596fi
29597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29598/* end confdefs.h.  */
29599#include <stdlib.h>
29600#include <iconv.h>
29601int
29602main ()
29603{
29604iconv_t cd = iconv_open("","");
29605           iconv(cd,NULL,NULL,NULL,NULL);
29606           iconv_close(cd);
29607  ;
29608  return 0;
29609}
29610_ACEOF
29611if ac_fn_c_try_link "$LINENO"; then :
29612  INCICONV="-I../libiconv/include"
29613          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29614          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29615          am_cv_lib_iconv=yes
29616          am_cv_func_iconv=yes
29617fi
29618rm -f core conftest.err conftest.$ac_objext \
29619    conftest$ac_exeext conftest.$ac_ext
29620        CPPFLAGS="$am_save_CPPFLAGS"
29621        LIBS="$am_save_LIBS"
29622        if test "$am_cv_func_iconv" = "yes"; then
29623          break
29624        fi
29625      done
29626    fi
29627
29628    if test "$am_cv_func_iconv" != yes; then
29629      am_save_CPPFLAGS="$CPPFLAGS"
29630      am_save_LIBS="$LIBS"
29631      CPPFLAGS="$CPPFLAGS $INCICONV"
29632      LIBS="$LIBS $LIBICONV"
29633      if test x$gcc_no_link = xyes; then
29634  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29635fi
29636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29637/* end confdefs.h.  */
29638#include <stdlib.h>
29639#include <iconv.h>
29640int
29641main ()
29642{
29643iconv_t cd = iconv_open("","");
29644         iconv(cd,NULL,NULL,NULL,NULL);
29645         iconv_close(cd);
29646  ;
29647  return 0;
29648}
29649_ACEOF
29650if ac_fn_c_try_link "$LINENO"; then :
29651  am_cv_lib_iconv=yes
29652        am_cv_func_iconv=yes
29653fi
29654rm -f core conftest.err conftest.$ac_objext \
29655    conftest$ac_exeext conftest.$ac_ext
29656      CPPFLAGS="$am_save_CPPFLAGS"
29657      LIBS="$am_save_LIBS"
29658    fi
29659
29660fi
29661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29662$as_echo "$am_cv_func_iconv" >&6; }
29663  if test "$am_cv_func_iconv" = yes; then
29664
29665$as_echo "#define HAVE_ICONV 1" >>confdefs.h
29666
29667  fi
29668  if test "$am_cv_lib_iconv" = yes; then
29669
29670  for element in $INCICONV; do
29671    haveit=
29672    for x in $CPPFLAGS; do
29673
29674  acl_save_prefix="$prefix"
29675  prefix="$acl_final_prefix"
29676  acl_save_exec_prefix="$exec_prefix"
29677  exec_prefix="$acl_final_exec_prefix"
29678  eval x=\"$x\"
29679  exec_prefix="$acl_save_exec_prefix"
29680  prefix="$acl_save_prefix"
29681
29682      if test "X$x" = "X$element"; then
29683        haveit=yes
29684        break
29685      fi
29686    done
29687    if test -z "$haveit"; then
29688      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29689    fi
29690  done
29691
29692    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29693$as_echo_n "checking how to link with libiconv... " >&6; }
29694    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29695$as_echo "$LIBICONV" >&6; }
29696  else
29697    LIBICONV=
29698    LTLIBICONV=
29699  fi
29700
29701
29702
29703  if test "$am_cv_func_iconv" = yes; then
29704    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29705$as_echo_n "checking for iconv declaration... " >&6; }
29706    if ${am_cv_proto_iconv+:} false; then :
29707  $as_echo_n "(cached) " >&6
29708else
29709
29710      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29711/* end confdefs.h.  */
29712
29713#include <stdlib.h>
29714#include <iconv.h>
29715extern
29716#ifdef __cplusplus
29717"C"
29718#endif
29719#if defined(__STDC__) || defined(__cplusplus)
29720size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29721#else
29722size_t iconv();
29723#endif
29724
29725int
29726main ()
29727{
29728
29729  ;
29730  return 0;
29731}
29732_ACEOF
29733if ac_fn_c_try_compile "$LINENO"; then :
29734  am_cv_proto_iconv_arg1=""
29735else
29736  am_cv_proto_iconv_arg1="const"
29737fi
29738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739      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);"
29740fi
29741
29742    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29743    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29744         }$am_cv_proto_iconv" >&5
29745$as_echo "${ac_t:-
29746         }$am_cv_proto_iconv" >&6; }
29747
29748cat >>confdefs.h <<_ACEOF
29749#define ICONV_CONST $am_cv_proto_iconv_arg1
29750_ACEOF
29751
29752  fi
29753
29754
29755else
29756
29757  # This lets us hard-code the functionality we know we'll have in the cross
29758  # target environment.  "Let" is a sugar-coated word placed on an especially
29759  # dull and tedious hack, actually.
29760  #
29761  # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29762  # that involve linking, can't be used:
29763  #    "cannot open sim-crt0.o"
29764  #    "cannot open crt0.o"
29765  # etc.  All this is because there currently exists no unified, consistent
29766  # way for top level CC information to be passed down to target directories:
29767  # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29768  # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29769  # crosses can be removed.
29770
29771  # If Canadian cross, then don't pick up tools from the build directory.
29772  # Used only in GLIBCXX_EXPORT_INCLUDES.
29773  if test -n "$with_cross_host" &&
29774     test x"$build_alias" != x"$with_cross_host" &&
29775     test x"$build" != x"$target";
29776  then
29777    CANADIAN=yes
29778  else
29779    CANADIAN=no
29780  fi
29781
29782  # Construct crosses by hand, eliminating bits that need ld...
29783  # GLIBCXX_CHECK_MATH_SUPPORT
29784
29785  # First, test for "known" system libraries.  We may be using newlib even
29786  # on a hosted environment.
29787  if test "x${with_newlib}" = "xyes"; then
29788    os_include_dir="os/newlib"
29789    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29790
29791
29792    # GLIBCXX_CHECK_STDLIB_SUPPORT
29793    $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29794
29795
29796    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29797
29798    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29799
29800    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29801
29802    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29803
29804    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29805
29806    $as_echo "#define HAVE_COSF 1" >>confdefs.h
29807
29808    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29809
29810    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29811
29812    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29813
29814    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29815
29816    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29817
29818    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29819
29820    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29821
29822    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29823
29824    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29825
29826    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29827
29828    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29829
29830    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29831
29832    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29833
29834    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29835
29836    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29837
29838    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29839
29840
29841    $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29842
29843    $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29844
29845  else
29846
29847# Base decisions on target environment.
29848case "${host}" in
29849  arm*-*-symbianelf*)
29850    # This is a freestanding configuration; there is nothing to do here.
29851    ;;
29852
29853  avr*-*-*)
29854    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29855
29856    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29857
29858    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29859
29860    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29861
29862    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29863
29864    $as_echo "#define HAVE_COSF 1" >>confdefs.h
29865
29866    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29867
29868    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29869
29870    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29871
29872    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29873
29874    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29875
29876    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29877
29878    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29879
29880    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29881
29882    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29883
29884    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29885
29886    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29887
29888    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29889
29890    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29891
29892    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29893
29894    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29895
29896    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29897
29898    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29899
29900    ;;
29901
29902  mips*-sde-elf*)
29903    # These definitions are for the SDE C library rather than newlib.
29904    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29905
29906
29907  # All these tests are for C++; save the language and the compiler flags.
29908  # The CXXFLAGS thing is suspicious, but based on similar bits previously
29909  # found in GLIBCXX_CONFIGURE.
29910
29911  ac_ext=cpp
29912ac_cpp='$CXXCPP $CPPFLAGS'
29913ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29916
29917  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29918  ac_save_CXXFLAGS="$CXXFLAGS"
29919
29920  # Check for -ffunction-sections -fdata-sections
29921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29922$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29923  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29924  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29925/* end confdefs.h.  */
29926int foo; void bar() { };
29927int
29928main ()
29929{
29930
29931  ;
29932  return 0;
29933}
29934_ACEOF
29935if ac_fn_cxx_try_compile "$LINENO"; then :
29936  ac_fdsections=yes
29937else
29938  ac_fdsections=no
29939fi
29940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29941  if test "$ac_test_CXXFLAGS" = set; then
29942    CXXFLAGS="$ac_save_CXXFLAGS"
29943  else
29944    # this is the suspicious part
29945    CXXFLAGS=''
29946  fi
29947  if test x"$ac_fdsections" = x"yes"; then
29948    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29949  fi
29950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29951$as_echo "$ac_fdsections" >&6; }
29952
29953  ac_ext=c
29954ac_cpp='$CPP $CPPFLAGS'
29955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957ac_compiler_gnu=$ac_cv_c_compiler_gnu
29958
29959
29960
29961
29962  # If we're not using GNU ld, then there's no point in even trying these
29963  # tests.  Check for that first.  We should have already tested for gld
29964  # by now (in libtool), but require it now just to be safe...
29965  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29966  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29967
29968
29969
29970  # The name set by libtool depends on the version of libtool.  Shame on us
29971  # for depending on an impl detail, but c'est la vie.  Older versions used
29972  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29973  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29974  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
29975  # set (hence we're using an older libtool), then set it.
29976  if test x${with_gnu_ld+set} != xset; then
29977    if test x${ac_cv_prog_gnu_ld+set} != xset; then
29978      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
29979      with_gnu_ld=no
29980    else
29981      with_gnu_ld=$ac_cv_prog_gnu_ld
29982    fi
29983  fi
29984
29985  # Start by getting the version number.  I think the libtool test already
29986  # does some of this, but throws away the result.
29987  glibcxx_ld_is_gold=no
29988  if test x"$with_gnu_ld" = x"yes"; then
29989    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29990$as_echo_n "checking for ld version... " >&6; }
29991
29992    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29993      glibcxx_ld_is_gold=yes
29994    fi
29995    ldver=`$LD --version 2>/dev/null |
29996	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29997
29998    glibcxx_gnu_ld_version=`echo $ldver | \
29999	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
30000    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
30001$as_echo "$glibcxx_gnu_ld_version" >&6; }
30002  fi
30003
30004  # Set --gc-sections.
30005  glibcxx_have_gc_sections=no
30006  if test "$glibcxx_ld_is_gold" = "yes"; then
30007    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
30008      glibcxx_have_gc_sections=yes
30009    fi
30010  else
30011    glibcxx_gcsections_min_ld=21602
30012    if test x"$with_gnu_ld" = x"yes" &&
30013	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
30014      glibcxx_have_gc_sections=yes
30015    fi
30016  fi
30017  if test "$glibcxx_have_gc_sections" = "yes"; then
30018    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
30019    # NB: This flag only works reliably after 2.16.1. Configure tests
30020    # for this are difficult, so hard wire a value that should work.
30021
30022    ac_test_CFLAGS="${CFLAGS+set}"
30023    ac_save_CFLAGS="$CFLAGS"
30024    CFLAGS='-Wl,--gc-sections'
30025
30026    # Check for -Wl,--gc-sections
30027    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
30028$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
30029    if test x$gcc_no_link = xyes; then
30030  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30031fi
30032cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30033/* end confdefs.h.  */
30034 int one(void) { return 1; }
30035     int two(void) { return 2; }
30036
30037int
30038main ()
30039{
30040 two();
30041  ;
30042  return 0;
30043}
30044_ACEOF
30045if ac_fn_c_try_link "$LINENO"; then :
30046  ac_gcsections=yes
30047else
30048  ac_gcsections=no
30049fi
30050rm -f core conftest.err conftest.$ac_objext \
30051    conftest$ac_exeext conftest.$ac_ext
30052    if test "$ac_gcsections" = "yes"; then
30053      rm -f conftest.c
30054      touch conftest.c
30055      if $CC -c conftest.c; then
30056	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
30057	   grep "Warning: gc-sections option ignored" > /dev/null; then
30058	  ac_gcsections=no
30059	fi
30060      fi
30061      rm -f conftest.c conftest.o conftest
30062    fi
30063    if test "$ac_gcsections" = "yes"; then
30064      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
30065    fi
30066    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
30067$as_echo "$ac_gcsections" >&6; }
30068
30069    if test "$ac_test_CFLAGS" = set; then
30070      CFLAGS="$ac_save_CFLAGS"
30071    else
30072      # this is the suspicious part
30073      CFLAGS=''
30074    fi
30075  fi
30076
30077  # Set -z,relro.
30078  # Note this is only for shared objects.
30079  ac_ld_relro=no
30080  if test x"$with_gnu_ld" = x"yes"; then
30081    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
30082$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
30083    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
30084    if test -n "$cxx_z_relo"; then
30085      OPT_LDFLAGS="-Wl,-z,relro"
30086      ac_ld_relro=yes
30087    fi
30088    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
30089$as_echo "$ac_ld_relro" >&6; }
30090  fi
30091
30092  # Set linker optimization flags.
30093  if test x"$with_gnu_ld" = x"yes"; then
30094    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
30095  fi
30096
30097
30098
30099
30100
30101  ac_test_CXXFLAGS="${CXXFLAGS+set}"
30102  ac_save_CXXFLAGS="$CXXFLAGS"
30103  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30104
30105    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
30106$as_echo_n "checking for sin in -lm... " >&6; }
30107if ${ac_cv_lib_m_sin+:} false; then :
30108  $as_echo_n "(cached) " >&6
30109else
30110  ac_check_lib_save_LIBS=$LIBS
30111LIBS="-lm  $LIBS"
30112if test x$gcc_no_link = xyes; then
30113  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30114fi
30115cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30116/* end confdefs.h.  */
30117
30118/* Override any GCC internal prototype to avoid an error.
30119   Use char because int might match the return type of a GCC
30120   builtin and then its argument prototype would still apply.  */
30121#ifdef __cplusplus
30122extern "C"
30123#endif
30124char sin ();
30125int
30126main ()
30127{
30128return sin ();
30129  ;
30130  return 0;
30131}
30132_ACEOF
30133if ac_fn_c_try_link "$LINENO"; then :
30134  ac_cv_lib_m_sin=yes
30135else
30136  ac_cv_lib_m_sin=no
30137fi
30138rm -f core conftest.err conftest.$ac_objext \
30139    conftest$ac_exeext conftest.$ac_ext
30140LIBS=$ac_check_lib_save_LIBS
30141fi
30142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
30143$as_echo "$ac_cv_lib_m_sin" >&6; }
30144if test "x$ac_cv_lib_m_sin" = xyes; then :
30145  libm="-lm"
30146fi
30147
30148  ac_save_LIBS="$LIBS"
30149  LIBS="$LIBS $libm"
30150
30151
30152
30153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
30154$as_echo_n "checking for isinf declaration... " >&6; }
30155  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30156    if ${glibcxx_cv_func_isinf_use+:} false; then :
30157  $as_echo_n "(cached) " >&6
30158else
30159
30160
30161      ac_ext=cpp
30162ac_cpp='$CXXCPP $CPPFLAGS'
30163ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30164ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30165ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30166
30167      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30168/* end confdefs.h.  */
30169#include <math.h>
30170		      #ifdef HAVE_IEEEFP_H
30171		      #include <ieeefp.h>
30172		      #endif
30173
30174int
30175main ()
30176{
30177 isinf(0);
30178  ;
30179  return 0;
30180}
30181_ACEOF
30182if ac_fn_cxx_try_compile "$LINENO"; then :
30183  glibcxx_cv_func_isinf_use=yes
30184else
30185  glibcxx_cv_func_isinf_use=no
30186fi
30187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30188      ac_ext=c
30189ac_cpp='$CPP $CPPFLAGS'
30190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30192ac_compiler_gnu=$ac_cv_c_compiler_gnu
30193
30194
30195fi
30196
30197  fi
30198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
30199$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
30200
30201  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30202    for ac_func in isinf
30203do :
30204  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
30205if test "x$ac_cv_func_isinf" = xyes; then :
30206  cat >>confdefs.h <<_ACEOF
30207#define HAVE_ISINF 1
30208_ACEOF
30209
30210fi
30211done
30212
30213  else
30214
30215  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
30216$as_echo_n "checking for _isinf declaration... " >&6; }
30217  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
30218    if ${glibcxx_cv_func__isinf_use+:} false; then :
30219  $as_echo_n "(cached) " >&6
30220else
30221
30222
30223      ac_ext=cpp
30224ac_cpp='$CXXCPP $CPPFLAGS'
30225ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30226ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30227ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30228
30229      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30230/* end confdefs.h.  */
30231#include <math.h>
30232		      #ifdef HAVE_IEEEFP_H
30233		      #include <ieeefp.h>
30234		      #endif
30235
30236int
30237main ()
30238{
30239 _isinf(0);
30240  ;
30241  return 0;
30242}
30243_ACEOF
30244if ac_fn_cxx_try_compile "$LINENO"; then :
30245  glibcxx_cv_func__isinf_use=yes
30246else
30247  glibcxx_cv_func__isinf_use=no
30248fi
30249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30250      ac_ext=c
30251ac_cpp='$CPP $CPPFLAGS'
30252ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30253ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30254ac_compiler_gnu=$ac_cv_c_compiler_gnu
30255
30256
30257fi
30258
30259  fi
30260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
30261$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
30262
30263    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
30264      for ac_func in _isinf
30265do :
30266  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
30267if test "x$ac_cv_func__isinf" = xyes; then :
30268  cat >>confdefs.h <<_ACEOF
30269#define HAVE__ISINF 1
30270_ACEOF
30271
30272fi
30273done
30274
30275    fi
30276  fi
30277
30278
30279
30280
30281
30282  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
30283$as_echo_n "checking for isnan declaration... " >&6; }
30284  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30285    if ${glibcxx_cv_func_isnan_use+:} false; then :
30286  $as_echo_n "(cached) " >&6
30287else
30288
30289
30290      ac_ext=cpp
30291ac_cpp='$CXXCPP $CPPFLAGS'
30292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30294ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30295
30296      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30297/* end confdefs.h.  */
30298#include <math.h>
30299		      #ifdef HAVE_IEEEFP_H
30300		      #include <ieeefp.h>
30301		      #endif
30302
30303int
30304main ()
30305{
30306 isnan(0);
30307  ;
30308  return 0;
30309}
30310_ACEOF
30311if ac_fn_cxx_try_compile "$LINENO"; then :
30312  glibcxx_cv_func_isnan_use=yes
30313else
30314  glibcxx_cv_func_isnan_use=no
30315fi
30316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30317      ac_ext=c
30318ac_cpp='$CPP $CPPFLAGS'
30319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30321ac_compiler_gnu=$ac_cv_c_compiler_gnu
30322
30323
30324fi
30325
30326  fi
30327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
30328$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
30329
30330  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30331    for ac_func in isnan
30332do :
30333  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
30334if test "x$ac_cv_func_isnan" = xyes; then :
30335  cat >>confdefs.h <<_ACEOF
30336#define HAVE_ISNAN 1
30337_ACEOF
30338
30339fi
30340done
30341
30342  else
30343
30344  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
30345$as_echo_n "checking for _isnan declaration... " >&6; }
30346  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
30347    if ${glibcxx_cv_func__isnan_use+:} false; then :
30348  $as_echo_n "(cached) " >&6
30349else
30350
30351
30352      ac_ext=cpp
30353ac_cpp='$CXXCPP $CPPFLAGS'
30354ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30355ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30356ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30357
30358      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30359/* end confdefs.h.  */
30360#include <math.h>
30361		      #ifdef HAVE_IEEEFP_H
30362		      #include <ieeefp.h>
30363		      #endif
30364
30365int
30366main ()
30367{
30368 _isnan(0);
30369  ;
30370  return 0;
30371}
30372_ACEOF
30373if ac_fn_cxx_try_compile "$LINENO"; then :
30374  glibcxx_cv_func__isnan_use=yes
30375else
30376  glibcxx_cv_func__isnan_use=no
30377fi
30378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30379      ac_ext=c
30380ac_cpp='$CPP $CPPFLAGS'
30381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30383ac_compiler_gnu=$ac_cv_c_compiler_gnu
30384
30385
30386fi
30387
30388  fi
30389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
30390$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
30391
30392    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
30393      for ac_func in _isnan
30394do :
30395  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
30396if test "x$ac_cv_func__isnan" = xyes; then :
30397  cat >>confdefs.h <<_ACEOF
30398#define HAVE__ISNAN 1
30399_ACEOF
30400
30401fi
30402done
30403
30404    fi
30405  fi
30406
30407
30408
30409
30410
30411  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
30412$as_echo_n "checking for finite declaration... " >&6; }
30413  if test x${glibcxx_cv_func_finite_use+set} != xset; then
30414    if ${glibcxx_cv_func_finite_use+:} false; then :
30415  $as_echo_n "(cached) " >&6
30416else
30417
30418
30419      ac_ext=cpp
30420ac_cpp='$CXXCPP $CPPFLAGS'
30421ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30422ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30423ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30424
30425      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30426/* end confdefs.h.  */
30427#include <math.h>
30428		      #ifdef HAVE_IEEEFP_H
30429		      #include <ieeefp.h>
30430		      #endif
30431
30432int
30433main ()
30434{
30435 finite(0);
30436  ;
30437  return 0;
30438}
30439_ACEOF
30440if ac_fn_cxx_try_compile "$LINENO"; then :
30441  glibcxx_cv_func_finite_use=yes
30442else
30443  glibcxx_cv_func_finite_use=no
30444fi
30445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30446      ac_ext=c
30447ac_cpp='$CPP $CPPFLAGS'
30448ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30449ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30450ac_compiler_gnu=$ac_cv_c_compiler_gnu
30451
30452
30453fi
30454
30455  fi
30456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
30457$as_echo "$glibcxx_cv_func_finite_use" >&6; }
30458
30459  if test x$glibcxx_cv_func_finite_use = x"yes"; then
30460    for ac_func in finite
30461do :
30462  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
30463if test "x$ac_cv_func_finite" = xyes; then :
30464  cat >>confdefs.h <<_ACEOF
30465#define HAVE_FINITE 1
30466_ACEOF
30467
30468fi
30469done
30470
30471  else
30472
30473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
30474$as_echo_n "checking for _finite declaration... " >&6; }
30475  if test x${glibcxx_cv_func__finite_use+set} != xset; then
30476    if ${glibcxx_cv_func__finite_use+:} false; then :
30477  $as_echo_n "(cached) " >&6
30478else
30479
30480
30481      ac_ext=cpp
30482ac_cpp='$CXXCPP $CPPFLAGS'
30483ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30484ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30485ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30486
30487      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30488/* end confdefs.h.  */
30489#include <math.h>
30490		      #ifdef HAVE_IEEEFP_H
30491		      #include <ieeefp.h>
30492		      #endif
30493
30494int
30495main ()
30496{
30497 _finite(0);
30498  ;
30499  return 0;
30500}
30501_ACEOF
30502if ac_fn_cxx_try_compile "$LINENO"; then :
30503  glibcxx_cv_func__finite_use=yes
30504else
30505  glibcxx_cv_func__finite_use=no
30506fi
30507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30508      ac_ext=c
30509ac_cpp='$CPP $CPPFLAGS'
30510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512ac_compiler_gnu=$ac_cv_c_compiler_gnu
30513
30514
30515fi
30516
30517  fi
30518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
30519$as_echo "$glibcxx_cv_func__finite_use" >&6; }
30520
30521    if test x$glibcxx_cv_func__finite_use = x"yes"; then
30522      for ac_func in _finite
30523do :
30524  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
30525if test "x$ac_cv_func__finite" = xyes; then :
30526  cat >>confdefs.h <<_ACEOF
30527#define HAVE__FINITE 1
30528_ACEOF
30529
30530fi
30531done
30532
30533    fi
30534  fi
30535
30536
30537
30538
30539
30540  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30541$as_echo_n "checking for sincos declaration... " >&6; }
30542  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30543    if ${glibcxx_cv_func_sincos_use+:} false; then :
30544  $as_echo_n "(cached) " >&6
30545else
30546
30547
30548      ac_ext=cpp
30549ac_cpp='$CXXCPP $CPPFLAGS'
30550ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30553
30554      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30555/* end confdefs.h.  */
30556#include <math.h>
30557int
30558main ()
30559{
30560 sincos(0, 0, 0);
30561  ;
30562  return 0;
30563}
30564_ACEOF
30565if ac_fn_cxx_try_compile "$LINENO"; then :
30566  glibcxx_cv_func_sincos_use=yes
30567else
30568  glibcxx_cv_func_sincos_use=no
30569fi
30570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30571      ac_ext=c
30572ac_cpp='$CPP $CPPFLAGS'
30573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30575ac_compiler_gnu=$ac_cv_c_compiler_gnu
30576
30577
30578fi
30579
30580  fi
30581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30582$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30583
30584  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30585    for ac_func in sincos
30586do :
30587  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30588if test "x$ac_cv_func_sincos" = xyes; then :
30589  cat >>confdefs.h <<_ACEOF
30590#define HAVE_SINCOS 1
30591_ACEOF
30592
30593fi
30594done
30595
30596  else
30597
30598  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30599$as_echo_n "checking for _sincos declaration... " >&6; }
30600  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30601    if ${glibcxx_cv_func__sincos_use+:} false; then :
30602  $as_echo_n "(cached) " >&6
30603else
30604
30605
30606      ac_ext=cpp
30607ac_cpp='$CXXCPP $CPPFLAGS'
30608ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30609ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30610ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30611
30612      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30613/* end confdefs.h.  */
30614#include <math.h>
30615int
30616main ()
30617{
30618 _sincos(0, 0, 0);
30619  ;
30620  return 0;
30621}
30622_ACEOF
30623if ac_fn_cxx_try_compile "$LINENO"; then :
30624  glibcxx_cv_func__sincos_use=yes
30625else
30626  glibcxx_cv_func__sincos_use=no
30627fi
30628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30629      ac_ext=c
30630ac_cpp='$CPP $CPPFLAGS'
30631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30633ac_compiler_gnu=$ac_cv_c_compiler_gnu
30634
30635
30636fi
30637
30638  fi
30639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30640$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30641
30642    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30643      for ac_func in _sincos
30644do :
30645  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30646if test "x$ac_cv_func__sincos" = xyes; then :
30647  cat >>confdefs.h <<_ACEOF
30648#define HAVE__SINCOS 1
30649_ACEOF
30650
30651fi
30652done
30653
30654    fi
30655  fi
30656
30657
30658
30659
30660
30661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30662$as_echo_n "checking for fpclass declaration... " >&6; }
30663  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30664    if ${glibcxx_cv_func_fpclass_use+:} false; then :
30665  $as_echo_n "(cached) " >&6
30666else
30667
30668
30669      ac_ext=cpp
30670ac_cpp='$CXXCPP $CPPFLAGS'
30671ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30672ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30673ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30674
30675      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30676/* end confdefs.h.  */
30677#include <math.h>
30678		      #ifdef HAVE_IEEEFP_H
30679		      #include <ieeefp.h>
30680		      #endif
30681
30682int
30683main ()
30684{
30685 fpclass(0);
30686  ;
30687  return 0;
30688}
30689_ACEOF
30690if ac_fn_cxx_try_compile "$LINENO"; then :
30691  glibcxx_cv_func_fpclass_use=yes
30692else
30693  glibcxx_cv_func_fpclass_use=no
30694fi
30695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30696      ac_ext=c
30697ac_cpp='$CPP $CPPFLAGS'
30698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30700ac_compiler_gnu=$ac_cv_c_compiler_gnu
30701
30702
30703fi
30704
30705  fi
30706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30707$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30708
30709  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30710    for ac_func in fpclass
30711do :
30712  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30713if test "x$ac_cv_func_fpclass" = xyes; then :
30714  cat >>confdefs.h <<_ACEOF
30715#define HAVE_FPCLASS 1
30716_ACEOF
30717
30718fi
30719done
30720
30721  else
30722
30723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30724$as_echo_n "checking for _fpclass declaration... " >&6; }
30725  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30726    if ${glibcxx_cv_func__fpclass_use+:} false; then :
30727  $as_echo_n "(cached) " >&6
30728else
30729
30730
30731      ac_ext=cpp
30732ac_cpp='$CXXCPP $CPPFLAGS'
30733ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30734ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30735ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30736
30737      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30738/* end confdefs.h.  */
30739#include <math.h>
30740		      #ifdef HAVE_IEEEFP_H
30741		      #include <ieeefp.h>
30742		      #endif
30743
30744int
30745main ()
30746{
30747 _fpclass(0);
30748  ;
30749  return 0;
30750}
30751_ACEOF
30752if ac_fn_cxx_try_compile "$LINENO"; then :
30753  glibcxx_cv_func__fpclass_use=yes
30754else
30755  glibcxx_cv_func__fpclass_use=no
30756fi
30757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30758      ac_ext=c
30759ac_cpp='$CPP $CPPFLAGS'
30760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30762ac_compiler_gnu=$ac_cv_c_compiler_gnu
30763
30764
30765fi
30766
30767  fi
30768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30769$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30770
30771    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30772      for ac_func in _fpclass
30773do :
30774  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30775if test "x$ac_cv_func__fpclass" = xyes; then :
30776  cat >>confdefs.h <<_ACEOF
30777#define HAVE__FPCLASS 1
30778_ACEOF
30779
30780fi
30781done
30782
30783    fi
30784  fi
30785
30786
30787
30788
30789
30790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30791$as_echo_n "checking for qfpclass declaration... " >&6; }
30792  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30793    if ${glibcxx_cv_func_qfpclass_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>
30807		      #ifdef HAVE_IEEEFP_H
30808		      #include <ieeefp.h>
30809		      #endif
30810
30811int
30812main ()
30813{
30814 qfpclass(0);
30815  ;
30816  return 0;
30817}
30818_ACEOF
30819if ac_fn_cxx_try_compile "$LINENO"; then :
30820  glibcxx_cv_func_qfpclass_use=yes
30821else
30822  glibcxx_cv_func_qfpclass_use=no
30823fi
30824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30825      ac_ext=c
30826ac_cpp='$CPP $CPPFLAGS'
30827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30829ac_compiler_gnu=$ac_cv_c_compiler_gnu
30830
30831
30832fi
30833
30834  fi
30835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30836$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30837
30838  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30839    for ac_func in qfpclass
30840do :
30841  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30842if test "x$ac_cv_func_qfpclass" = xyes; then :
30843  cat >>confdefs.h <<_ACEOF
30844#define HAVE_QFPCLASS 1
30845_ACEOF
30846
30847fi
30848done
30849
30850  else
30851
30852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30853$as_echo_n "checking for _qfpclass declaration... " >&6; }
30854  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30855    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30856  $as_echo_n "(cached) " >&6
30857else
30858
30859
30860      ac_ext=cpp
30861ac_cpp='$CXXCPP $CPPFLAGS'
30862ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30863ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30864ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30865
30866      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30867/* end confdefs.h.  */
30868#include <math.h>
30869		      #ifdef HAVE_IEEEFP_H
30870		      #include <ieeefp.h>
30871		      #endif
30872
30873int
30874main ()
30875{
30876 _qfpclass(0);
30877  ;
30878  return 0;
30879}
30880_ACEOF
30881if ac_fn_cxx_try_compile "$LINENO"; then :
30882  glibcxx_cv_func__qfpclass_use=yes
30883else
30884  glibcxx_cv_func__qfpclass_use=no
30885fi
30886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30887      ac_ext=c
30888ac_cpp='$CPP $CPPFLAGS'
30889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891ac_compiler_gnu=$ac_cv_c_compiler_gnu
30892
30893
30894fi
30895
30896  fi
30897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30898$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30899
30900    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30901      for ac_func in _qfpclass
30902do :
30903  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30904if test "x$ac_cv_func__qfpclass" = xyes; then :
30905  cat >>confdefs.h <<_ACEOF
30906#define HAVE__QFPCLASS 1
30907_ACEOF
30908
30909fi
30910done
30911
30912    fi
30913  fi
30914
30915
30916
30917
30918
30919  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30920$as_echo_n "checking for hypot declaration... " >&6; }
30921  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30922    if ${glibcxx_cv_func_hypot_use+:} false; then :
30923  $as_echo_n "(cached) " >&6
30924else
30925
30926
30927      ac_ext=cpp
30928ac_cpp='$CXXCPP $CPPFLAGS'
30929ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30930ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30931ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30932
30933      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30934/* end confdefs.h.  */
30935#include <math.h>
30936int
30937main ()
30938{
30939 hypot(0, 0);
30940  ;
30941  return 0;
30942}
30943_ACEOF
30944if ac_fn_cxx_try_compile "$LINENO"; then :
30945  glibcxx_cv_func_hypot_use=yes
30946else
30947  glibcxx_cv_func_hypot_use=no
30948fi
30949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30950      ac_ext=c
30951ac_cpp='$CPP $CPPFLAGS'
30952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954ac_compiler_gnu=$ac_cv_c_compiler_gnu
30955
30956
30957fi
30958
30959  fi
30960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30961$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30962
30963  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30964    for ac_func in hypot
30965do :
30966  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30967if test "x$ac_cv_func_hypot" = xyes; then :
30968  cat >>confdefs.h <<_ACEOF
30969#define HAVE_HYPOT 1
30970_ACEOF
30971
30972fi
30973done
30974
30975  else
30976
30977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30978$as_echo_n "checking for _hypot declaration... " >&6; }
30979  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30980    if ${glibcxx_cv_func__hypot_use+:} false; then :
30981  $as_echo_n "(cached) " >&6
30982else
30983
30984
30985      ac_ext=cpp
30986ac_cpp='$CXXCPP $CPPFLAGS'
30987ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30988ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30989ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30990
30991      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30992/* end confdefs.h.  */
30993#include <math.h>
30994int
30995main ()
30996{
30997 _hypot(0, 0);
30998  ;
30999  return 0;
31000}
31001_ACEOF
31002if ac_fn_cxx_try_compile "$LINENO"; then :
31003  glibcxx_cv_func__hypot_use=yes
31004else
31005  glibcxx_cv_func__hypot_use=no
31006fi
31007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31008      ac_ext=c
31009ac_cpp='$CPP $CPPFLAGS'
31010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31012ac_compiler_gnu=$ac_cv_c_compiler_gnu
31013
31014
31015fi
31016
31017  fi
31018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
31019$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
31020
31021    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
31022      for ac_func in _hypot
31023do :
31024  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
31025if test "x$ac_cv_func__hypot" = xyes; then :
31026  cat >>confdefs.h <<_ACEOF
31027#define HAVE__HYPOT 1
31028_ACEOF
31029
31030fi
31031done
31032
31033    fi
31034  fi
31035
31036
31037
31038
31039
31040    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
31041$as_echo_n "checking for float trig functions... " >&6; }
31042  if ${glibcxx_cv_func_float_trig_use+:} false; then :
31043  $as_echo_n "(cached) " >&6
31044else
31045
31046
31047    ac_ext=cpp
31048ac_cpp='$CXXCPP $CPPFLAGS'
31049ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31050ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31051ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31052
31053    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31054/* end confdefs.h.  */
31055#include <math.h>
31056int
31057main ()
31058{
31059acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
31060  ;
31061  return 0;
31062}
31063_ACEOF
31064if ac_fn_cxx_try_compile "$LINENO"; then :
31065  glibcxx_cv_func_float_trig_use=yes
31066else
31067  glibcxx_cv_func_float_trig_use=no
31068fi
31069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31070    ac_ext=c
31071ac_cpp='$CPP $CPPFLAGS'
31072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074ac_compiler_gnu=$ac_cv_c_compiler_gnu
31075
31076fi
31077
31078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
31079$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
31080  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
31081    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
31082do :
31083  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31084ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31085if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31086  cat >>confdefs.h <<_ACEOF
31087#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31088_ACEOF
31089
31090fi
31091done
31092
31093  else
31094    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
31095$as_echo_n "checking for _float trig functions... " >&6; }
31096    if ${glibcxx_cv_func__float_trig_use+:} false; then :
31097  $as_echo_n "(cached) " >&6
31098else
31099
31100
31101      ac_ext=cpp
31102ac_cpp='$CXXCPP $CPPFLAGS'
31103ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31104ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31105ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31106
31107      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31108/* end confdefs.h.  */
31109#include <math.h>
31110int
31111main ()
31112{
31113_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
31114  ;
31115  return 0;
31116}
31117_ACEOF
31118if ac_fn_cxx_try_compile "$LINENO"; then :
31119  glibcxx_cv_func__float_trig_use=yes
31120else
31121  glibcxx_cv_func__float_trig_use=no
31122fi
31123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31124      ac_ext=c
31125ac_cpp='$CPP $CPPFLAGS'
31126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31128ac_compiler_gnu=$ac_cv_c_compiler_gnu
31129
31130fi
31131
31132    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
31133$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
31134    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
31135      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
31136do :
31137  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31138ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31139if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31140  cat >>confdefs.h <<_ACEOF
31141#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31142_ACEOF
31143
31144fi
31145done
31146
31147    fi
31148  fi
31149
31150
31151
31152
31153
31154    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
31155$as_echo_n "checking for float round functions... " >&6; }
31156  if ${glibcxx_cv_func_float_round_use+:} false; then :
31157  $as_echo_n "(cached) " >&6
31158else
31159
31160
31161    ac_ext=cpp
31162ac_cpp='$CXXCPP $CPPFLAGS'
31163ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31164ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31165ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31166
31167    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31168/* end confdefs.h.  */
31169#include <math.h>
31170int
31171main ()
31172{
31173ceilf (0); floorf (0);
31174  ;
31175  return 0;
31176}
31177_ACEOF
31178if ac_fn_cxx_try_compile "$LINENO"; then :
31179  glibcxx_cv_func_float_round_use=yes
31180else
31181  glibcxx_cv_func_float_round_use=no
31182fi
31183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31184    ac_ext=c
31185ac_cpp='$CPP $CPPFLAGS'
31186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188ac_compiler_gnu=$ac_cv_c_compiler_gnu
31189
31190fi
31191
31192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
31193$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
31194  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
31195    for ac_func in ceilf floorf
31196do :
31197  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31198ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31199if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31200  cat >>confdefs.h <<_ACEOF
31201#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31202_ACEOF
31203
31204fi
31205done
31206
31207  else
31208    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
31209$as_echo_n "checking for _float round functions... " >&6; }
31210    if ${glibcxx_cv_func__float_round_use+:} false; then :
31211  $as_echo_n "(cached) " >&6
31212else
31213
31214
31215      ac_ext=cpp
31216ac_cpp='$CXXCPP $CPPFLAGS'
31217ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31218ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31219ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31220
31221      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31222/* end confdefs.h.  */
31223#include <math.h>
31224int
31225main ()
31226{
31227_ceilf (0); _floorf (0);
31228  ;
31229  return 0;
31230}
31231_ACEOF
31232if ac_fn_cxx_try_compile "$LINENO"; then :
31233  glibcxx_cv_func__float_round_use=yes
31234else
31235  glibcxx_cv_func__float_round_use=no
31236fi
31237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31238      ac_ext=c
31239ac_cpp='$CPP $CPPFLAGS'
31240ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242ac_compiler_gnu=$ac_cv_c_compiler_gnu
31243
31244fi
31245
31246    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
31247$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
31248    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
31249      for ac_func in _ceilf _floorf
31250do :
31251  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31252ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31253if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31254  cat >>confdefs.h <<_ACEOF
31255#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31256_ACEOF
31257
31258fi
31259done
31260
31261    fi
31262  fi
31263
31264
31265
31266
31267
31268
31269  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
31270$as_echo_n "checking for expf declaration... " >&6; }
31271  if test x${glibcxx_cv_func_expf_use+set} != xset; then
31272    if ${glibcxx_cv_func_expf_use+:} false; then :
31273  $as_echo_n "(cached) " >&6
31274else
31275
31276
31277      ac_ext=cpp
31278ac_cpp='$CXXCPP $CPPFLAGS'
31279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31282
31283      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31284/* end confdefs.h.  */
31285#include <math.h>
31286		      #ifdef HAVE_IEEEFP_H
31287		      #include <ieeefp.h>
31288		      #endif
31289
31290int
31291main ()
31292{
31293 expf(0);
31294  ;
31295  return 0;
31296}
31297_ACEOF
31298if ac_fn_cxx_try_compile "$LINENO"; then :
31299  glibcxx_cv_func_expf_use=yes
31300else
31301  glibcxx_cv_func_expf_use=no
31302fi
31303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31304      ac_ext=c
31305ac_cpp='$CPP $CPPFLAGS'
31306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31308ac_compiler_gnu=$ac_cv_c_compiler_gnu
31309
31310
31311fi
31312
31313  fi
31314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
31315$as_echo "$glibcxx_cv_func_expf_use" >&6; }
31316
31317  if test x$glibcxx_cv_func_expf_use = x"yes"; then
31318    for ac_func in expf
31319do :
31320  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
31321if test "x$ac_cv_func_expf" = xyes; then :
31322  cat >>confdefs.h <<_ACEOF
31323#define HAVE_EXPF 1
31324_ACEOF
31325
31326fi
31327done
31328
31329  else
31330
31331  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
31332$as_echo_n "checking for _expf declaration... " >&6; }
31333  if test x${glibcxx_cv_func__expf_use+set} != xset; then
31334    if ${glibcxx_cv_func__expf_use+:} false; then :
31335  $as_echo_n "(cached) " >&6
31336else
31337
31338
31339      ac_ext=cpp
31340ac_cpp='$CXXCPP $CPPFLAGS'
31341ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31342ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31343ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31344
31345      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31346/* end confdefs.h.  */
31347#include <math.h>
31348		      #ifdef HAVE_IEEEFP_H
31349		      #include <ieeefp.h>
31350		      #endif
31351
31352int
31353main ()
31354{
31355 _expf(0);
31356  ;
31357  return 0;
31358}
31359_ACEOF
31360if ac_fn_cxx_try_compile "$LINENO"; then :
31361  glibcxx_cv_func__expf_use=yes
31362else
31363  glibcxx_cv_func__expf_use=no
31364fi
31365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31366      ac_ext=c
31367ac_cpp='$CPP $CPPFLAGS'
31368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31370ac_compiler_gnu=$ac_cv_c_compiler_gnu
31371
31372
31373fi
31374
31375  fi
31376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
31377$as_echo "$glibcxx_cv_func__expf_use" >&6; }
31378
31379    if test x$glibcxx_cv_func__expf_use = x"yes"; then
31380      for ac_func in _expf
31381do :
31382  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
31383if test "x$ac_cv_func__expf" = xyes; then :
31384  cat >>confdefs.h <<_ACEOF
31385#define HAVE__EXPF 1
31386_ACEOF
31387
31388fi
31389done
31390
31391    fi
31392  fi
31393
31394
31395
31396
31397
31398  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
31399$as_echo_n "checking for isnanf declaration... " >&6; }
31400  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31401    if ${glibcxx_cv_func_isnanf_use+:} false; then :
31402  $as_echo_n "(cached) " >&6
31403else
31404
31405
31406      ac_ext=cpp
31407ac_cpp='$CXXCPP $CPPFLAGS'
31408ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31411
31412      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31413/* end confdefs.h.  */
31414#include <math.h>
31415		      #ifdef HAVE_IEEEFP_H
31416		      #include <ieeefp.h>
31417		      #endif
31418
31419int
31420main ()
31421{
31422 isnanf(0);
31423  ;
31424  return 0;
31425}
31426_ACEOF
31427if ac_fn_cxx_try_compile "$LINENO"; then :
31428  glibcxx_cv_func_isnanf_use=yes
31429else
31430  glibcxx_cv_func_isnanf_use=no
31431fi
31432rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31433      ac_ext=c
31434ac_cpp='$CPP $CPPFLAGS'
31435ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31436ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31437ac_compiler_gnu=$ac_cv_c_compiler_gnu
31438
31439
31440fi
31441
31442  fi
31443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
31444$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
31445
31446  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31447    for ac_func in isnanf
31448do :
31449  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
31450if test "x$ac_cv_func_isnanf" = xyes; then :
31451  cat >>confdefs.h <<_ACEOF
31452#define HAVE_ISNANF 1
31453_ACEOF
31454
31455fi
31456done
31457
31458  else
31459
31460  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
31461$as_echo_n "checking for _isnanf declaration... " >&6; }
31462  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31463    if ${glibcxx_cv_func__isnanf_use+:} false; then :
31464  $as_echo_n "(cached) " >&6
31465else
31466
31467
31468      ac_ext=cpp
31469ac_cpp='$CXXCPP $CPPFLAGS'
31470ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31473
31474      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31475/* end confdefs.h.  */
31476#include <math.h>
31477		      #ifdef HAVE_IEEEFP_H
31478		      #include <ieeefp.h>
31479		      #endif
31480
31481int
31482main ()
31483{
31484 _isnanf(0);
31485  ;
31486  return 0;
31487}
31488_ACEOF
31489if ac_fn_cxx_try_compile "$LINENO"; then :
31490  glibcxx_cv_func__isnanf_use=yes
31491else
31492  glibcxx_cv_func__isnanf_use=no
31493fi
31494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31495      ac_ext=c
31496ac_cpp='$CPP $CPPFLAGS'
31497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31499ac_compiler_gnu=$ac_cv_c_compiler_gnu
31500
31501
31502fi
31503
31504  fi
31505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
31506$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
31507
31508    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31509      for ac_func in _isnanf
31510do :
31511  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
31512if test "x$ac_cv_func__isnanf" = xyes; then :
31513  cat >>confdefs.h <<_ACEOF
31514#define HAVE__ISNANF 1
31515_ACEOF
31516
31517fi
31518done
31519
31520    fi
31521  fi
31522
31523
31524
31525
31526
31527  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31528$as_echo_n "checking for isinff declaration... " >&6; }
31529  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31530    if ${glibcxx_cv_func_isinff_use+:} false; then :
31531  $as_echo_n "(cached) " >&6
31532else
31533
31534
31535      ac_ext=cpp
31536ac_cpp='$CXXCPP $CPPFLAGS'
31537ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31538ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31539ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31540
31541      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31542/* end confdefs.h.  */
31543#include <math.h>
31544		      #ifdef HAVE_IEEEFP_H
31545		      #include <ieeefp.h>
31546		      #endif
31547
31548int
31549main ()
31550{
31551 isinff(0);
31552  ;
31553  return 0;
31554}
31555_ACEOF
31556if ac_fn_cxx_try_compile "$LINENO"; then :
31557  glibcxx_cv_func_isinff_use=yes
31558else
31559  glibcxx_cv_func_isinff_use=no
31560fi
31561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31562      ac_ext=c
31563ac_cpp='$CPP $CPPFLAGS'
31564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31566ac_compiler_gnu=$ac_cv_c_compiler_gnu
31567
31568
31569fi
31570
31571  fi
31572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31573$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31574
31575  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31576    for ac_func in isinff
31577do :
31578  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31579if test "x$ac_cv_func_isinff" = xyes; then :
31580  cat >>confdefs.h <<_ACEOF
31581#define HAVE_ISINFF 1
31582_ACEOF
31583
31584fi
31585done
31586
31587  else
31588
31589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31590$as_echo_n "checking for _isinff declaration... " >&6; }
31591  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31592    if ${glibcxx_cv_func__isinff_use+:} false; then :
31593  $as_echo_n "(cached) " >&6
31594else
31595
31596
31597      ac_ext=cpp
31598ac_cpp='$CXXCPP $CPPFLAGS'
31599ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31600ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31601ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31602
31603      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31604/* end confdefs.h.  */
31605#include <math.h>
31606		      #ifdef HAVE_IEEEFP_H
31607		      #include <ieeefp.h>
31608		      #endif
31609
31610int
31611main ()
31612{
31613 _isinff(0);
31614  ;
31615  return 0;
31616}
31617_ACEOF
31618if ac_fn_cxx_try_compile "$LINENO"; then :
31619  glibcxx_cv_func__isinff_use=yes
31620else
31621  glibcxx_cv_func__isinff_use=no
31622fi
31623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31624      ac_ext=c
31625ac_cpp='$CPP $CPPFLAGS'
31626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31628ac_compiler_gnu=$ac_cv_c_compiler_gnu
31629
31630
31631fi
31632
31633  fi
31634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31635$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31636
31637    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31638      for ac_func in _isinff
31639do :
31640  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31641if test "x$ac_cv_func__isinff" = xyes; then :
31642  cat >>confdefs.h <<_ACEOF
31643#define HAVE__ISINFF 1
31644_ACEOF
31645
31646fi
31647done
31648
31649    fi
31650  fi
31651
31652
31653
31654
31655
31656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31657$as_echo_n "checking for atan2f declaration... " >&6; }
31658  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31659    if ${glibcxx_cv_func_atan2f_use+:} false; then :
31660  $as_echo_n "(cached) " >&6
31661else
31662
31663
31664      ac_ext=cpp
31665ac_cpp='$CXXCPP $CPPFLAGS'
31666ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31667ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31668ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31669
31670      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31671/* end confdefs.h.  */
31672#include <math.h>
31673int
31674main ()
31675{
31676 atan2f(0, 0);
31677  ;
31678  return 0;
31679}
31680_ACEOF
31681if ac_fn_cxx_try_compile "$LINENO"; then :
31682  glibcxx_cv_func_atan2f_use=yes
31683else
31684  glibcxx_cv_func_atan2f_use=no
31685fi
31686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31687      ac_ext=c
31688ac_cpp='$CPP $CPPFLAGS'
31689ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31690ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31691ac_compiler_gnu=$ac_cv_c_compiler_gnu
31692
31693
31694fi
31695
31696  fi
31697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31698$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31699
31700  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31701    for ac_func in atan2f
31702do :
31703  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31704if test "x$ac_cv_func_atan2f" = xyes; then :
31705  cat >>confdefs.h <<_ACEOF
31706#define HAVE_ATAN2F 1
31707_ACEOF
31708
31709fi
31710done
31711
31712  else
31713
31714  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31715$as_echo_n "checking for _atan2f declaration... " >&6; }
31716  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31717    if ${glibcxx_cv_func__atan2f_use+:} false; then :
31718  $as_echo_n "(cached) " >&6
31719else
31720
31721
31722      ac_ext=cpp
31723ac_cpp='$CXXCPP $CPPFLAGS'
31724ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31725ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31726ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31727
31728      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31729/* end confdefs.h.  */
31730#include <math.h>
31731int
31732main ()
31733{
31734 _atan2f(0, 0);
31735  ;
31736  return 0;
31737}
31738_ACEOF
31739if ac_fn_cxx_try_compile "$LINENO"; then :
31740  glibcxx_cv_func__atan2f_use=yes
31741else
31742  glibcxx_cv_func__atan2f_use=no
31743fi
31744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31745      ac_ext=c
31746ac_cpp='$CPP $CPPFLAGS'
31747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31749ac_compiler_gnu=$ac_cv_c_compiler_gnu
31750
31751
31752fi
31753
31754  fi
31755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31756$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31757
31758    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31759      for ac_func in _atan2f
31760do :
31761  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31762if test "x$ac_cv_func__atan2f" = xyes; then :
31763  cat >>confdefs.h <<_ACEOF
31764#define HAVE__ATAN2F 1
31765_ACEOF
31766
31767fi
31768done
31769
31770    fi
31771  fi
31772
31773
31774
31775
31776
31777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31778$as_echo_n "checking for fabsf declaration... " >&6; }
31779  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31780    if ${glibcxx_cv_func_fabsf_use+:} false; then :
31781  $as_echo_n "(cached) " >&6
31782else
31783
31784
31785      ac_ext=cpp
31786ac_cpp='$CXXCPP $CPPFLAGS'
31787ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31788ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31789ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31790
31791      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31792/* end confdefs.h.  */
31793#include <math.h>
31794		      #ifdef HAVE_IEEEFP_H
31795		      #include <ieeefp.h>
31796		      #endif
31797
31798int
31799main ()
31800{
31801 fabsf(0);
31802  ;
31803  return 0;
31804}
31805_ACEOF
31806if ac_fn_cxx_try_compile "$LINENO"; then :
31807  glibcxx_cv_func_fabsf_use=yes
31808else
31809  glibcxx_cv_func_fabsf_use=no
31810fi
31811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31812      ac_ext=c
31813ac_cpp='$CPP $CPPFLAGS'
31814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816ac_compiler_gnu=$ac_cv_c_compiler_gnu
31817
31818
31819fi
31820
31821  fi
31822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31823$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31824
31825  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31826    for ac_func in fabsf
31827do :
31828  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31829if test "x$ac_cv_func_fabsf" = xyes; then :
31830  cat >>confdefs.h <<_ACEOF
31831#define HAVE_FABSF 1
31832_ACEOF
31833
31834fi
31835done
31836
31837  else
31838
31839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31840$as_echo_n "checking for _fabsf declaration... " >&6; }
31841  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31842    if ${glibcxx_cv_func__fabsf_use+:} false; then :
31843  $as_echo_n "(cached) " >&6
31844else
31845
31846
31847      ac_ext=cpp
31848ac_cpp='$CXXCPP $CPPFLAGS'
31849ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31852
31853      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31854/* end confdefs.h.  */
31855#include <math.h>
31856		      #ifdef HAVE_IEEEFP_H
31857		      #include <ieeefp.h>
31858		      #endif
31859
31860int
31861main ()
31862{
31863 _fabsf(0);
31864  ;
31865  return 0;
31866}
31867_ACEOF
31868if ac_fn_cxx_try_compile "$LINENO"; then :
31869  glibcxx_cv_func__fabsf_use=yes
31870else
31871  glibcxx_cv_func__fabsf_use=no
31872fi
31873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31874      ac_ext=c
31875ac_cpp='$CPP $CPPFLAGS'
31876ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31877ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31878ac_compiler_gnu=$ac_cv_c_compiler_gnu
31879
31880
31881fi
31882
31883  fi
31884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31885$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31886
31887    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31888      for ac_func in _fabsf
31889do :
31890  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31891if test "x$ac_cv_func__fabsf" = xyes; then :
31892  cat >>confdefs.h <<_ACEOF
31893#define HAVE__FABSF 1
31894_ACEOF
31895
31896fi
31897done
31898
31899    fi
31900  fi
31901
31902
31903
31904
31905
31906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31907$as_echo_n "checking for fmodf declaration... " >&6; }
31908  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31909    if ${glibcxx_cv_func_fmodf_use+:} false; then :
31910  $as_echo_n "(cached) " >&6
31911else
31912
31913
31914      ac_ext=cpp
31915ac_cpp='$CXXCPP $CPPFLAGS'
31916ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31917ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31918ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31919
31920      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31921/* end confdefs.h.  */
31922#include <math.h>
31923int
31924main ()
31925{
31926 fmodf(0, 0);
31927  ;
31928  return 0;
31929}
31930_ACEOF
31931if ac_fn_cxx_try_compile "$LINENO"; then :
31932  glibcxx_cv_func_fmodf_use=yes
31933else
31934  glibcxx_cv_func_fmodf_use=no
31935fi
31936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31937      ac_ext=c
31938ac_cpp='$CPP $CPPFLAGS'
31939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31941ac_compiler_gnu=$ac_cv_c_compiler_gnu
31942
31943
31944fi
31945
31946  fi
31947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31948$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31949
31950  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31951    for ac_func in fmodf
31952do :
31953  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31954if test "x$ac_cv_func_fmodf" = xyes; then :
31955  cat >>confdefs.h <<_ACEOF
31956#define HAVE_FMODF 1
31957_ACEOF
31958
31959fi
31960done
31961
31962  else
31963
31964  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31965$as_echo_n "checking for _fmodf declaration... " >&6; }
31966  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31967    if ${glibcxx_cv_func__fmodf_use+:} false; then :
31968  $as_echo_n "(cached) " >&6
31969else
31970
31971
31972      ac_ext=cpp
31973ac_cpp='$CXXCPP $CPPFLAGS'
31974ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31975ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31976ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31977
31978      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31979/* end confdefs.h.  */
31980#include <math.h>
31981int
31982main ()
31983{
31984 _fmodf(0, 0);
31985  ;
31986  return 0;
31987}
31988_ACEOF
31989if ac_fn_cxx_try_compile "$LINENO"; then :
31990  glibcxx_cv_func__fmodf_use=yes
31991else
31992  glibcxx_cv_func__fmodf_use=no
31993fi
31994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31995      ac_ext=c
31996ac_cpp='$CPP $CPPFLAGS'
31997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31999ac_compiler_gnu=$ac_cv_c_compiler_gnu
32000
32001
32002fi
32003
32004  fi
32005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
32006$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
32007
32008    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32009      for ac_func in _fmodf
32010do :
32011  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
32012if test "x$ac_cv_func__fmodf" = xyes; then :
32013  cat >>confdefs.h <<_ACEOF
32014#define HAVE__FMODF 1
32015_ACEOF
32016
32017fi
32018done
32019
32020    fi
32021  fi
32022
32023
32024
32025
32026
32027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
32028$as_echo_n "checking for frexpf declaration... " >&6; }
32029  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32030    if ${glibcxx_cv_func_frexpf_use+:} false; then :
32031  $as_echo_n "(cached) " >&6
32032else
32033
32034
32035      ac_ext=cpp
32036ac_cpp='$CXXCPP $CPPFLAGS'
32037ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32038ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32039ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32040
32041      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32042/* end confdefs.h.  */
32043#include <math.h>
32044int
32045main ()
32046{
32047 frexpf(0, 0);
32048  ;
32049  return 0;
32050}
32051_ACEOF
32052if ac_fn_cxx_try_compile "$LINENO"; then :
32053  glibcxx_cv_func_frexpf_use=yes
32054else
32055  glibcxx_cv_func_frexpf_use=no
32056fi
32057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32058      ac_ext=c
32059ac_cpp='$CPP $CPPFLAGS'
32060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32062ac_compiler_gnu=$ac_cv_c_compiler_gnu
32063
32064
32065fi
32066
32067  fi
32068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
32069$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
32070
32071  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32072    for ac_func in frexpf
32073do :
32074  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
32075if test "x$ac_cv_func_frexpf" = xyes; then :
32076  cat >>confdefs.h <<_ACEOF
32077#define HAVE_FREXPF 1
32078_ACEOF
32079
32080fi
32081done
32082
32083  else
32084
32085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
32086$as_echo_n "checking for _frexpf declaration... " >&6; }
32087  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32088    if ${glibcxx_cv_func__frexpf_use+:} false; then :
32089  $as_echo_n "(cached) " >&6
32090else
32091
32092
32093      ac_ext=cpp
32094ac_cpp='$CXXCPP $CPPFLAGS'
32095ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32096ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32097ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32098
32099      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32100/* end confdefs.h.  */
32101#include <math.h>
32102int
32103main ()
32104{
32105 _frexpf(0, 0);
32106  ;
32107  return 0;
32108}
32109_ACEOF
32110if ac_fn_cxx_try_compile "$LINENO"; then :
32111  glibcxx_cv_func__frexpf_use=yes
32112else
32113  glibcxx_cv_func__frexpf_use=no
32114fi
32115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32116      ac_ext=c
32117ac_cpp='$CPP $CPPFLAGS'
32118ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32119ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32120ac_compiler_gnu=$ac_cv_c_compiler_gnu
32121
32122
32123fi
32124
32125  fi
32126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
32127$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
32128
32129    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32130      for ac_func in _frexpf
32131do :
32132  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
32133if test "x$ac_cv_func__frexpf" = xyes; then :
32134  cat >>confdefs.h <<_ACEOF
32135#define HAVE__FREXPF 1
32136_ACEOF
32137
32138fi
32139done
32140
32141    fi
32142  fi
32143
32144
32145
32146
32147
32148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
32149$as_echo_n "checking for hypotf declaration... " >&6; }
32150  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32151    if ${glibcxx_cv_func_hypotf_use+:} false; then :
32152  $as_echo_n "(cached) " >&6
32153else
32154
32155
32156      ac_ext=cpp
32157ac_cpp='$CXXCPP $CPPFLAGS'
32158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32161
32162      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32163/* end confdefs.h.  */
32164#include <math.h>
32165int
32166main ()
32167{
32168 hypotf(0, 0);
32169  ;
32170  return 0;
32171}
32172_ACEOF
32173if ac_fn_cxx_try_compile "$LINENO"; then :
32174  glibcxx_cv_func_hypotf_use=yes
32175else
32176  glibcxx_cv_func_hypotf_use=no
32177fi
32178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32179      ac_ext=c
32180ac_cpp='$CPP $CPPFLAGS'
32181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183ac_compiler_gnu=$ac_cv_c_compiler_gnu
32184
32185
32186fi
32187
32188  fi
32189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
32190$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
32191
32192  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
32193    for ac_func in hypotf
32194do :
32195  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
32196if test "x$ac_cv_func_hypotf" = xyes; then :
32197  cat >>confdefs.h <<_ACEOF
32198#define HAVE_HYPOTF 1
32199_ACEOF
32200
32201fi
32202done
32203
32204  else
32205
32206  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
32207$as_echo_n "checking for _hypotf declaration... " >&6; }
32208  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
32209    if ${glibcxx_cv_func__hypotf_use+:} false; then :
32210  $as_echo_n "(cached) " >&6
32211else
32212
32213
32214      ac_ext=cpp
32215ac_cpp='$CXXCPP $CPPFLAGS'
32216ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32217ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32218ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32219
32220      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32221/* end confdefs.h.  */
32222#include <math.h>
32223int
32224main ()
32225{
32226 _hypotf(0, 0);
32227  ;
32228  return 0;
32229}
32230_ACEOF
32231if ac_fn_cxx_try_compile "$LINENO"; then :
32232  glibcxx_cv_func__hypotf_use=yes
32233else
32234  glibcxx_cv_func__hypotf_use=no
32235fi
32236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32237      ac_ext=c
32238ac_cpp='$CPP $CPPFLAGS'
32239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241ac_compiler_gnu=$ac_cv_c_compiler_gnu
32242
32243
32244fi
32245
32246  fi
32247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
32248$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
32249
32250    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
32251      for ac_func in _hypotf
32252do :
32253  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
32254if test "x$ac_cv_func__hypotf" = xyes; then :
32255  cat >>confdefs.h <<_ACEOF
32256#define HAVE__HYPOTF 1
32257_ACEOF
32258
32259fi
32260done
32261
32262    fi
32263  fi
32264
32265
32266
32267
32268
32269  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
32270$as_echo_n "checking for ldexpf declaration... " >&6; }
32271  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
32272    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
32273  $as_echo_n "(cached) " >&6
32274else
32275
32276
32277      ac_ext=cpp
32278ac_cpp='$CXXCPP $CPPFLAGS'
32279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32282
32283      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32284/* end confdefs.h.  */
32285#include <math.h>
32286int
32287main ()
32288{
32289 ldexpf(0, 0);
32290  ;
32291  return 0;
32292}
32293_ACEOF
32294if ac_fn_cxx_try_compile "$LINENO"; then :
32295  glibcxx_cv_func_ldexpf_use=yes
32296else
32297  glibcxx_cv_func_ldexpf_use=no
32298fi
32299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32300      ac_ext=c
32301ac_cpp='$CPP $CPPFLAGS'
32302ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32303ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32304ac_compiler_gnu=$ac_cv_c_compiler_gnu
32305
32306
32307fi
32308
32309  fi
32310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
32311$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
32312
32313  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32314    for ac_func in ldexpf
32315do :
32316  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
32317if test "x$ac_cv_func_ldexpf" = xyes; then :
32318  cat >>confdefs.h <<_ACEOF
32319#define HAVE_LDEXPF 1
32320_ACEOF
32321
32322fi
32323done
32324
32325  else
32326
32327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
32328$as_echo_n "checking for _ldexpf declaration... " >&6; }
32329  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32330    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
32331  $as_echo_n "(cached) " >&6
32332else
32333
32334
32335      ac_ext=cpp
32336ac_cpp='$CXXCPP $CPPFLAGS'
32337ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32338ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32339ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32340
32341      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32342/* end confdefs.h.  */
32343#include <math.h>
32344int
32345main ()
32346{
32347 _ldexpf(0, 0);
32348  ;
32349  return 0;
32350}
32351_ACEOF
32352if ac_fn_cxx_try_compile "$LINENO"; then :
32353  glibcxx_cv_func__ldexpf_use=yes
32354else
32355  glibcxx_cv_func__ldexpf_use=no
32356fi
32357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32358      ac_ext=c
32359ac_cpp='$CPP $CPPFLAGS'
32360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32362ac_compiler_gnu=$ac_cv_c_compiler_gnu
32363
32364
32365fi
32366
32367  fi
32368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
32369$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
32370
32371    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32372      for ac_func in _ldexpf
32373do :
32374  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
32375if test "x$ac_cv_func__ldexpf" = xyes; then :
32376  cat >>confdefs.h <<_ACEOF
32377#define HAVE__LDEXPF 1
32378_ACEOF
32379
32380fi
32381done
32382
32383    fi
32384  fi
32385
32386
32387
32388
32389
32390  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
32391$as_echo_n "checking for logf declaration... " >&6; }
32392  if test x${glibcxx_cv_func_logf_use+set} != xset; then
32393    if ${glibcxx_cv_func_logf_use+:} false; then :
32394  $as_echo_n "(cached) " >&6
32395else
32396
32397
32398      ac_ext=cpp
32399ac_cpp='$CXXCPP $CPPFLAGS'
32400ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32401ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32402ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32403
32404      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32405/* end confdefs.h.  */
32406#include <math.h>
32407		      #ifdef HAVE_IEEEFP_H
32408		      #include <ieeefp.h>
32409		      #endif
32410
32411int
32412main ()
32413{
32414 logf(0);
32415  ;
32416  return 0;
32417}
32418_ACEOF
32419if ac_fn_cxx_try_compile "$LINENO"; then :
32420  glibcxx_cv_func_logf_use=yes
32421else
32422  glibcxx_cv_func_logf_use=no
32423fi
32424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32425      ac_ext=c
32426ac_cpp='$CPP $CPPFLAGS'
32427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32429ac_compiler_gnu=$ac_cv_c_compiler_gnu
32430
32431
32432fi
32433
32434  fi
32435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
32436$as_echo "$glibcxx_cv_func_logf_use" >&6; }
32437
32438  if test x$glibcxx_cv_func_logf_use = x"yes"; then
32439    for ac_func in logf
32440do :
32441  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
32442if test "x$ac_cv_func_logf" = xyes; then :
32443  cat >>confdefs.h <<_ACEOF
32444#define HAVE_LOGF 1
32445_ACEOF
32446
32447fi
32448done
32449
32450  else
32451
32452  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
32453$as_echo_n "checking for _logf declaration... " >&6; }
32454  if test x${glibcxx_cv_func__logf_use+set} != xset; then
32455    if ${glibcxx_cv_func__logf_use+:} false; then :
32456  $as_echo_n "(cached) " >&6
32457else
32458
32459
32460      ac_ext=cpp
32461ac_cpp='$CXXCPP $CPPFLAGS'
32462ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32463ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32464ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32465
32466      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32467/* end confdefs.h.  */
32468#include <math.h>
32469		      #ifdef HAVE_IEEEFP_H
32470		      #include <ieeefp.h>
32471		      #endif
32472
32473int
32474main ()
32475{
32476 _logf(0);
32477  ;
32478  return 0;
32479}
32480_ACEOF
32481if ac_fn_cxx_try_compile "$LINENO"; then :
32482  glibcxx_cv_func__logf_use=yes
32483else
32484  glibcxx_cv_func__logf_use=no
32485fi
32486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32487      ac_ext=c
32488ac_cpp='$CPP $CPPFLAGS'
32489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32491ac_compiler_gnu=$ac_cv_c_compiler_gnu
32492
32493
32494fi
32495
32496  fi
32497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
32498$as_echo "$glibcxx_cv_func__logf_use" >&6; }
32499
32500    if test x$glibcxx_cv_func__logf_use = x"yes"; then
32501      for ac_func in _logf
32502do :
32503  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
32504if test "x$ac_cv_func__logf" = xyes; then :
32505  cat >>confdefs.h <<_ACEOF
32506#define HAVE__LOGF 1
32507_ACEOF
32508
32509fi
32510done
32511
32512    fi
32513  fi
32514
32515
32516
32517
32518
32519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32520$as_echo_n "checking for log10f declaration... " >&6; }
32521  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32522    if ${glibcxx_cv_func_log10f_use+:} false; then :
32523  $as_echo_n "(cached) " >&6
32524else
32525
32526
32527      ac_ext=cpp
32528ac_cpp='$CXXCPP $CPPFLAGS'
32529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32532
32533      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32534/* end confdefs.h.  */
32535#include <math.h>
32536		      #ifdef HAVE_IEEEFP_H
32537		      #include <ieeefp.h>
32538		      #endif
32539
32540int
32541main ()
32542{
32543 log10f(0);
32544  ;
32545  return 0;
32546}
32547_ACEOF
32548if ac_fn_cxx_try_compile "$LINENO"; then :
32549  glibcxx_cv_func_log10f_use=yes
32550else
32551  glibcxx_cv_func_log10f_use=no
32552fi
32553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32554      ac_ext=c
32555ac_cpp='$CPP $CPPFLAGS'
32556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32558ac_compiler_gnu=$ac_cv_c_compiler_gnu
32559
32560
32561fi
32562
32563  fi
32564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32565$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32566
32567  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32568    for ac_func in log10f
32569do :
32570  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32571if test "x$ac_cv_func_log10f" = xyes; then :
32572  cat >>confdefs.h <<_ACEOF
32573#define HAVE_LOG10F 1
32574_ACEOF
32575
32576fi
32577done
32578
32579  else
32580
32581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32582$as_echo_n "checking for _log10f declaration... " >&6; }
32583  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32584    if ${glibcxx_cv_func__log10f_use+:} false; then :
32585  $as_echo_n "(cached) " >&6
32586else
32587
32588
32589      ac_ext=cpp
32590ac_cpp='$CXXCPP $CPPFLAGS'
32591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32594
32595      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32596/* end confdefs.h.  */
32597#include <math.h>
32598		      #ifdef HAVE_IEEEFP_H
32599		      #include <ieeefp.h>
32600		      #endif
32601
32602int
32603main ()
32604{
32605 _log10f(0);
32606  ;
32607  return 0;
32608}
32609_ACEOF
32610if ac_fn_cxx_try_compile "$LINENO"; then :
32611  glibcxx_cv_func__log10f_use=yes
32612else
32613  glibcxx_cv_func__log10f_use=no
32614fi
32615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32616      ac_ext=c
32617ac_cpp='$CPP $CPPFLAGS'
32618ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32619ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32620ac_compiler_gnu=$ac_cv_c_compiler_gnu
32621
32622
32623fi
32624
32625  fi
32626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32627$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32628
32629    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32630      for ac_func in _log10f
32631do :
32632  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32633if test "x$ac_cv_func__log10f" = xyes; then :
32634  cat >>confdefs.h <<_ACEOF
32635#define HAVE__LOG10F 1
32636_ACEOF
32637
32638fi
32639done
32640
32641    fi
32642  fi
32643
32644
32645
32646
32647
32648  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32649$as_echo_n "checking for modff declaration... " >&6; }
32650  if test x${glibcxx_cv_func_modff_use+set} != xset; then
32651    if ${glibcxx_cv_func_modff_use+:} false; then :
32652  $as_echo_n "(cached) " >&6
32653else
32654
32655
32656      ac_ext=cpp
32657ac_cpp='$CXXCPP $CPPFLAGS'
32658ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32659ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32660ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32661
32662      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32663/* end confdefs.h.  */
32664#include <math.h>
32665int
32666main ()
32667{
32668 modff(0, 0);
32669  ;
32670  return 0;
32671}
32672_ACEOF
32673if ac_fn_cxx_try_compile "$LINENO"; then :
32674  glibcxx_cv_func_modff_use=yes
32675else
32676  glibcxx_cv_func_modff_use=no
32677fi
32678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32679      ac_ext=c
32680ac_cpp='$CPP $CPPFLAGS'
32681ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32682ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32683ac_compiler_gnu=$ac_cv_c_compiler_gnu
32684
32685
32686fi
32687
32688  fi
32689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32690$as_echo "$glibcxx_cv_func_modff_use" >&6; }
32691
32692  if test x$glibcxx_cv_func_modff_use = x"yes"; then
32693    for ac_func in modff
32694do :
32695  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32696if test "x$ac_cv_func_modff" = xyes; then :
32697  cat >>confdefs.h <<_ACEOF
32698#define HAVE_MODFF 1
32699_ACEOF
32700
32701fi
32702done
32703
32704  else
32705
32706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32707$as_echo_n "checking for _modff declaration... " >&6; }
32708  if test x${glibcxx_cv_func__modff_use+set} != xset; then
32709    if ${glibcxx_cv_func__modff_use+:} false; then :
32710  $as_echo_n "(cached) " >&6
32711else
32712
32713
32714      ac_ext=cpp
32715ac_cpp='$CXXCPP $CPPFLAGS'
32716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32719
32720      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32721/* end confdefs.h.  */
32722#include <math.h>
32723int
32724main ()
32725{
32726 _modff(0, 0);
32727  ;
32728  return 0;
32729}
32730_ACEOF
32731if ac_fn_cxx_try_compile "$LINENO"; then :
32732  glibcxx_cv_func__modff_use=yes
32733else
32734  glibcxx_cv_func__modff_use=no
32735fi
32736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32737      ac_ext=c
32738ac_cpp='$CPP $CPPFLAGS'
32739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32741ac_compiler_gnu=$ac_cv_c_compiler_gnu
32742
32743
32744fi
32745
32746  fi
32747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32748$as_echo "$glibcxx_cv_func__modff_use" >&6; }
32749
32750    if test x$glibcxx_cv_func__modff_use = x"yes"; then
32751      for ac_func in _modff
32752do :
32753  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32754if test "x$ac_cv_func__modff" = xyes; then :
32755  cat >>confdefs.h <<_ACEOF
32756#define HAVE__MODFF 1
32757_ACEOF
32758
32759fi
32760done
32761
32762    fi
32763  fi
32764
32765
32766
32767
32768
32769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32770$as_echo_n "checking for modf declaration... " >&6; }
32771  if test x${glibcxx_cv_func_modf_use+set} != xset; then
32772    if ${glibcxx_cv_func_modf_use+:} false; then :
32773  $as_echo_n "(cached) " >&6
32774else
32775
32776
32777      ac_ext=cpp
32778ac_cpp='$CXXCPP $CPPFLAGS'
32779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32782
32783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32784/* end confdefs.h.  */
32785#include <math.h>
32786int
32787main ()
32788{
32789 modf(0, 0);
32790  ;
32791  return 0;
32792}
32793_ACEOF
32794if ac_fn_cxx_try_compile "$LINENO"; then :
32795  glibcxx_cv_func_modf_use=yes
32796else
32797  glibcxx_cv_func_modf_use=no
32798fi
32799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32800      ac_ext=c
32801ac_cpp='$CPP $CPPFLAGS'
32802ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32803ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32804ac_compiler_gnu=$ac_cv_c_compiler_gnu
32805
32806
32807fi
32808
32809  fi
32810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32811$as_echo "$glibcxx_cv_func_modf_use" >&6; }
32812
32813  if test x$glibcxx_cv_func_modf_use = x"yes"; then
32814    for ac_func in modf
32815do :
32816  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32817if test "x$ac_cv_func_modf" = xyes; then :
32818  cat >>confdefs.h <<_ACEOF
32819#define HAVE_MODF 1
32820_ACEOF
32821
32822fi
32823done
32824
32825  else
32826
32827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32828$as_echo_n "checking for _modf declaration... " >&6; }
32829  if test x${glibcxx_cv_func__modf_use+set} != xset; then
32830    if ${glibcxx_cv_func__modf_use+:} false; then :
32831  $as_echo_n "(cached) " >&6
32832else
32833
32834
32835      ac_ext=cpp
32836ac_cpp='$CXXCPP $CPPFLAGS'
32837ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32838ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32839ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32840
32841      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32842/* end confdefs.h.  */
32843#include <math.h>
32844int
32845main ()
32846{
32847 _modf(0, 0);
32848  ;
32849  return 0;
32850}
32851_ACEOF
32852if ac_fn_cxx_try_compile "$LINENO"; then :
32853  glibcxx_cv_func__modf_use=yes
32854else
32855  glibcxx_cv_func__modf_use=no
32856fi
32857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32858      ac_ext=c
32859ac_cpp='$CPP $CPPFLAGS'
32860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32862ac_compiler_gnu=$ac_cv_c_compiler_gnu
32863
32864
32865fi
32866
32867  fi
32868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32869$as_echo "$glibcxx_cv_func__modf_use" >&6; }
32870
32871    if test x$glibcxx_cv_func__modf_use = x"yes"; then
32872      for ac_func in _modf
32873do :
32874  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32875if test "x$ac_cv_func__modf" = xyes; then :
32876  cat >>confdefs.h <<_ACEOF
32877#define HAVE__MODF 1
32878_ACEOF
32879
32880fi
32881done
32882
32883    fi
32884  fi
32885
32886
32887
32888
32889
32890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32891$as_echo_n "checking for powf declaration... " >&6; }
32892  if test x${glibcxx_cv_func_powf_use+set} != xset; then
32893    if ${glibcxx_cv_func_powf_use+:} false; then :
32894  $as_echo_n "(cached) " >&6
32895else
32896
32897
32898      ac_ext=cpp
32899ac_cpp='$CXXCPP $CPPFLAGS'
32900ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32901ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32902ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32903
32904      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32905/* end confdefs.h.  */
32906#include <math.h>
32907int
32908main ()
32909{
32910 powf(0, 0);
32911  ;
32912  return 0;
32913}
32914_ACEOF
32915if ac_fn_cxx_try_compile "$LINENO"; then :
32916  glibcxx_cv_func_powf_use=yes
32917else
32918  glibcxx_cv_func_powf_use=no
32919fi
32920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32921      ac_ext=c
32922ac_cpp='$CPP $CPPFLAGS'
32923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32925ac_compiler_gnu=$ac_cv_c_compiler_gnu
32926
32927
32928fi
32929
32930  fi
32931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32932$as_echo "$glibcxx_cv_func_powf_use" >&6; }
32933
32934  if test x$glibcxx_cv_func_powf_use = x"yes"; then
32935    for ac_func in powf
32936do :
32937  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32938if test "x$ac_cv_func_powf" = xyes; then :
32939  cat >>confdefs.h <<_ACEOF
32940#define HAVE_POWF 1
32941_ACEOF
32942
32943fi
32944done
32945
32946  else
32947
32948  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32949$as_echo_n "checking for _powf declaration... " >&6; }
32950  if test x${glibcxx_cv_func__powf_use+set} != xset; then
32951    if ${glibcxx_cv_func__powf_use+:} false; then :
32952  $as_echo_n "(cached) " >&6
32953else
32954
32955
32956      ac_ext=cpp
32957ac_cpp='$CXXCPP $CPPFLAGS'
32958ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32959ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32960ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32961
32962      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32963/* end confdefs.h.  */
32964#include <math.h>
32965int
32966main ()
32967{
32968 _powf(0, 0);
32969  ;
32970  return 0;
32971}
32972_ACEOF
32973if ac_fn_cxx_try_compile "$LINENO"; then :
32974  glibcxx_cv_func__powf_use=yes
32975else
32976  glibcxx_cv_func__powf_use=no
32977fi
32978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32979      ac_ext=c
32980ac_cpp='$CPP $CPPFLAGS'
32981ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32982ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32983ac_compiler_gnu=$ac_cv_c_compiler_gnu
32984
32985
32986fi
32987
32988  fi
32989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32990$as_echo "$glibcxx_cv_func__powf_use" >&6; }
32991
32992    if test x$glibcxx_cv_func__powf_use = x"yes"; then
32993      for ac_func in _powf
32994do :
32995  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32996if test "x$ac_cv_func__powf" = xyes; then :
32997  cat >>confdefs.h <<_ACEOF
32998#define HAVE__POWF 1
32999_ACEOF
33000
33001fi
33002done
33003
33004    fi
33005  fi
33006
33007
33008
33009
33010
33011  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
33012$as_echo_n "checking for sqrtf declaration... " >&6; }
33013  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
33014    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
33015  $as_echo_n "(cached) " >&6
33016else
33017
33018
33019      ac_ext=cpp
33020ac_cpp='$CXXCPP $CPPFLAGS'
33021ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33022ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33023ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33024
33025      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33026/* end confdefs.h.  */
33027#include <math.h>
33028		      #ifdef HAVE_IEEEFP_H
33029		      #include <ieeefp.h>
33030		      #endif
33031
33032int
33033main ()
33034{
33035 sqrtf(0);
33036  ;
33037  return 0;
33038}
33039_ACEOF
33040if ac_fn_cxx_try_compile "$LINENO"; then :
33041  glibcxx_cv_func_sqrtf_use=yes
33042else
33043  glibcxx_cv_func_sqrtf_use=no
33044fi
33045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33046      ac_ext=c
33047ac_cpp='$CPP $CPPFLAGS'
33048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33050ac_compiler_gnu=$ac_cv_c_compiler_gnu
33051
33052
33053fi
33054
33055  fi
33056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
33057$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
33058
33059  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
33060    for ac_func in sqrtf
33061do :
33062  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
33063if test "x$ac_cv_func_sqrtf" = xyes; then :
33064  cat >>confdefs.h <<_ACEOF
33065#define HAVE_SQRTF 1
33066_ACEOF
33067
33068fi
33069done
33070
33071  else
33072
33073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
33074$as_echo_n "checking for _sqrtf declaration... " >&6; }
33075  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
33076    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
33077  $as_echo_n "(cached) " >&6
33078else
33079
33080
33081      ac_ext=cpp
33082ac_cpp='$CXXCPP $CPPFLAGS'
33083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33086
33087      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33088/* end confdefs.h.  */
33089#include <math.h>
33090		      #ifdef HAVE_IEEEFP_H
33091		      #include <ieeefp.h>
33092		      #endif
33093
33094int
33095main ()
33096{
33097 _sqrtf(0);
33098  ;
33099  return 0;
33100}
33101_ACEOF
33102if ac_fn_cxx_try_compile "$LINENO"; then :
33103  glibcxx_cv_func__sqrtf_use=yes
33104else
33105  glibcxx_cv_func__sqrtf_use=no
33106fi
33107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33108      ac_ext=c
33109ac_cpp='$CPP $CPPFLAGS'
33110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33112ac_compiler_gnu=$ac_cv_c_compiler_gnu
33113
33114
33115fi
33116
33117  fi
33118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
33119$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
33120
33121    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
33122      for ac_func in _sqrtf
33123do :
33124  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
33125if test "x$ac_cv_func__sqrtf" = xyes; then :
33126  cat >>confdefs.h <<_ACEOF
33127#define HAVE__SQRTF 1
33128_ACEOF
33129
33130fi
33131done
33132
33133    fi
33134  fi
33135
33136
33137
33138
33139
33140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
33141$as_echo_n "checking for sincosf declaration... " >&6; }
33142  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
33143    if ${glibcxx_cv_func_sincosf_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 sincosf(0, 0, 0);
33161  ;
33162  return 0;
33163}
33164_ACEOF
33165if ac_fn_cxx_try_compile "$LINENO"; then :
33166  glibcxx_cv_func_sincosf_use=yes
33167else
33168  glibcxx_cv_func_sincosf_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
33177
33178fi
33179
33180  fi
33181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
33182$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
33183
33184  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
33185    for ac_func in sincosf
33186do :
33187  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
33188if test "x$ac_cv_func_sincosf" = xyes; then :
33189  cat >>confdefs.h <<_ACEOF
33190#define HAVE_SINCOSF 1
33191_ACEOF
33192
33193fi
33194done
33195
33196  else
33197
33198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
33199$as_echo_n "checking for _sincosf declaration... " >&6; }
33200  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33201    if ${glibcxx_cv_func__sincosf_use+:} false; then :
33202  $as_echo_n "(cached) " >&6
33203else
33204
33205
33206      ac_ext=cpp
33207ac_cpp='$CXXCPP $CPPFLAGS'
33208ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33209ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33210ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33211
33212      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33213/* end confdefs.h.  */
33214#include <math.h>
33215int
33216main ()
33217{
33218 _sincosf(0, 0, 0);
33219  ;
33220  return 0;
33221}
33222_ACEOF
33223if ac_fn_cxx_try_compile "$LINENO"; then :
33224  glibcxx_cv_func__sincosf_use=yes
33225else
33226  glibcxx_cv_func__sincosf_use=no
33227fi
33228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33229      ac_ext=c
33230ac_cpp='$CPP $CPPFLAGS'
33231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233ac_compiler_gnu=$ac_cv_c_compiler_gnu
33234
33235
33236fi
33237
33238  fi
33239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
33240$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
33241
33242    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33243      for ac_func in _sincosf
33244do :
33245  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
33246if test "x$ac_cv_func__sincosf" = xyes; then :
33247  cat >>confdefs.h <<_ACEOF
33248#define HAVE__SINCOSF 1
33249_ACEOF
33250
33251fi
33252done
33253
33254    fi
33255  fi
33256
33257
33258
33259
33260
33261  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
33262$as_echo_n "checking for finitef declaration... " >&6; }
33263  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33264    if ${glibcxx_cv_func_finitef_use+:} false; then :
33265  $as_echo_n "(cached) " >&6
33266else
33267
33268
33269      ac_ext=cpp
33270ac_cpp='$CXXCPP $CPPFLAGS'
33271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33274
33275      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33276/* end confdefs.h.  */
33277#include <math.h>
33278		      #ifdef HAVE_IEEEFP_H
33279		      #include <ieeefp.h>
33280		      #endif
33281
33282int
33283main ()
33284{
33285 finitef(0);
33286  ;
33287  return 0;
33288}
33289_ACEOF
33290if ac_fn_cxx_try_compile "$LINENO"; then :
33291  glibcxx_cv_func_finitef_use=yes
33292else
33293  glibcxx_cv_func_finitef_use=no
33294fi
33295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33296      ac_ext=c
33297ac_cpp='$CPP $CPPFLAGS'
33298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33300ac_compiler_gnu=$ac_cv_c_compiler_gnu
33301
33302
33303fi
33304
33305  fi
33306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
33307$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
33308
33309  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33310    for ac_func in finitef
33311do :
33312  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
33313if test "x$ac_cv_func_finitef" = xyes; then :
33314  cat >>confdefs.h <<_ACEOF
33315#define HAVE_FINITEF 1
33316_ACEOF
33317
33318fi
33319done
33320
33321  else
33322
33323  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
33324$as_echo_n "checking for _finitef declaration... " >&6; }
33325  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33326    if ${glibcxx_cv_func__finitef_use+:} false; then :
33327  $as_echo_n "(cached) " >&6
33328else
33329
33330
33331      ac_ext=cpp
33332ac_cpp='$CXXCPP $CPPFLAGS'
33333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33336
33337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33338/* end confdefs.h.  */
33339#include <math.h>
33340		      #ifdef HAVE_IEEEFP_H
33341		      #include <ieeefp.h>
33342		      #endif
33343
33344int
33345main ()
33346{
33347 _finitef(0);
33348  ;
33349  return 0;
33350}
33351_ACEOF
33352if ac_fn_cxx_try_compile "$LINENO"; then :
33353  glibcxx_cv_func__finitef_use=yes
33354else
33355  glibcxx_cv_func__finitef_use=no
33356fi
33357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33358      ac_ext=c
33359ac_cpp='$CPP $CPPFLAGS'
33360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33362ac_compiler_gnu=$ac_cv_c_compiler_gnu
33363
33364
33365fi
33366
33367  fi
33368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
33369$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
33370
33371    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33372      for ac_func in _finitef
33373do :
33374  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
33375if test "x$ac_cv_func__finitef" = xyes; then :
33376  cat >>confdefs.h <<_ACEOF
33377#define HAVE__FINITEF 1
33378_ACEOF
33379
33380fi
33381done
33382
33383    fi
33384  fi
33385
33386
33387
33388
33389
33390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
33391$as_echo_n "checking for long double trig functions... " >&6; }
33392  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
33393  $as_echo_n "(cached) " >&6
33394else
33395
33396
33397    ac_ext=cpp
33398ac_cpp='$CXXCPP $CPPFLAGS'
33399ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33400ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33401ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33402
33403    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33404/* end confdefs.h.  */
33405#include <math.h>
33406int
33407main ()
33408{
33409acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33410  ;
33411  return 0;
33412}
33413_ACEOF
33414if ac_fn_cxx_try_compile "$LINENO"; then :
33415  glibcxx_cv_func_long_double_trig_use=yes
33416else
33417  glibcxx_cv_func_long_double_trig_use=no
33418fi
33419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33420    ac_ext=c
33421ac_cpp='$CPP $CPPFLAGS'
33422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33424ac_compiler_gnu=$ac_cv_c_compiler_gnu
33425
33426fi
33427
33428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
33429$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
33430  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33431    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33432do :
33433  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33434ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33435if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33436  cat >>confdefs.h <<_ACEOF
33437#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33438_ACEOF
33439
33440fi
33441done
33442
33443  else
33444    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
33445$as_echo_n "checking for _long double trig functions... " >&6; }
33446    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
33447  $as_echo_n "(cached) " >&6
33448else
33449
33450
33451      ac_ext=cpp
33452ac_cpp='$CXXCPP $CPPFLAGS'
33453ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33454ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33455ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33456
33457      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33458/* end confdefs.h.  */
33459#include <math.h>
33460int
33461main ()
33462{
33463_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33464  ;
33465  return 0;
33466}
33467_ACEOF
33468if ac_fn_cxx_try_compile "$LINENO"; then :
33469  glibcxx_cv_func__long_double_trig_use=yes
33470else
33471  glibcxx_cv_func__long_double_trig_use=no
33472fi
33473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33474      ac_ext=c
33475ac_cpp='$CPP $CPPFLAGS'
33476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33478ac_compiler_gnu=$ac_cv_c_compiler_gnu
33479
33480fi
33481
33482    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33483$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33484    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33485      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33486do :
33487  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33488ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33489if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33490  cat >>confdefs.h <<_ACEOF
33491#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33492_ACEOF
33493
33494fi
33495done
33496
33497    fi
33498  fi
33499
33500
33501
33502
33503
33504    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33505$as_echo_n "checking for long double round functions... " >&6; }
33506  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33507  $as_echo_n "(cached) " >&6
33508else
33509
33510
33511    ac_ext=cpp
33512ac_cpp='$CXXCPP $CPPFLAGS'
33513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33516
33517    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33518/* end confdefs.h.  */
33519#include <math.h>
33520int
33521main ()
33522{
33523ceill (0); floorl (0);
33524  ;
33525  return 0;
33526}
33527_ACEOF
33528if ac_fn_cxx_try_compile "$LINENO"; then :
33529  glibcxx_cv_func_long_double_round_use=yes
33530else
33531  glibcxx_cv_func_long_double_round_use=no
33532fi
33533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33534    ac_ext=c
33535ac_cpp='$CPP $CPPFLAGS'
33536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33538ac_compiler_gnu=$ac_cv_c_compiler_gnu
33539
33540fi
33541
33542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33543$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33544  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33545    for ac_func in ceill floorl
33546do :
33547  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33548ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33549if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33550  cat >>confdefs.h <<_ACEOF
33551#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33552_ACEOF
33553
33554fi
33555done
33556
33557  else
33558    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33559$as_echo_n "checking for _long double round functions... " >&6; }
33560    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33561  $as_echo_n "(cached) " >&6
33562else
33563
33564
33565      ac_ext=cpp
33566ac_cpp='$CXXCPP $CPPFLAGS'
33567ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33570
33571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33572/* end confdefs.h.  */
33573#include <math.h>
33574int
33575main ()
33576{
33577_ceill (0); _floorl (0);
33578  ;
33579  return 0;
33580}
33581_ACEOF
33582if ac_fn_cxx_try_compile "$LINENO"; then :
33583  glibcxx_cv_func__long_double_round_use=yes
33584else
33585  glibcxx_cv_func__long_double_round_use=no
33586fi
33587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33588      ac_ext=c
33589ac_cpp='$CPP $CPPFLAGS'
33590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33592ac_compiler_gnu=$ac_cv_c_compiler_gnu
33593
33594fi
33595
33596    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33597$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33598    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33599      for ac_func in _ceill _floorl
33600do :
33601  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33602ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33603if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33604  cat >>confdefs.h <<_ACEOF
33605#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33606_ACEOF
33607
33608fi
33609done
33610
33611    fi
33612  fi
33613
33614
33615
33616
33617
33618
33619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33620$as_echo_n "checking for isnanl declaration... " >&6; }
33621  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33622    if ${glibcxx_cv_func_isnanl_use+:} false; then :
33623  $as_echo_n "(cached) " >&6
33624else
33625
33626
33627      ac_ext=cpp
33628ac_cpp='$CXXCPP $CPPFLAGS'
33629ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33630ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33631ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33632
33633      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33634/* end confdefs.h.  */
33635#include <math.h>
33636		      #ifdef HAVE_IEEEFP_H
33637		      #include <ieeefp.h>
33638		      #endif
33639
33640int
33641main ()
33642{
33643 isnanl(0);
33644  ;
33645  return 0;
33646}
33647_ACEOF
33648if ac_fn_cxx_try_compile "$LINENO"; then :
33649  glibcxx_cv_func_isnanl_use=yes
33650else
33651  glibcxx_cv_func_isnanl_use=no
33652fi
33653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33654      ac_ext=c
33655ac_cpp='$CPP $CPPFLAGS'
33656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33658ac_compiler_gnu=$ac_cv_c_compiler_gnu
33659
33660
33661fi
33662
33663  fi
33664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33665$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33666
33667  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33668    for ac_func in isnanl
33669do :
33670  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33671if test "x$ac_cv_func_isnanl" = xyes; then :
33672  cat >>confdefs.h <<_ACEOF
33673#define HAVE_ISNANL 1
33674_ACEOF
33675
33676fi
33677done
33678
33679  else
33680
33681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33682$as_echo_n "checking for _isnanl declaration... " >&6; }
33683  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33684    if ${glibcxx_cv_func__isnanl_use+:} false; then :
33685  $as_echo_n "(cached) " >&6
33686else
33687
33688
33689      ac_ext=cpp
33690ac_cpp='$CXXCPP $CPPFLAGS'
33691ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33694
33695      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33696/* end confdefs.h.  */
33697#include <math.h>
33698		      #ifdef HAVE_IEEEFP_H
33699		      #include <ieeefp.h>
33700		      #endif
33701
33702int
33703main ()
33704{
33705 _isnanl(0);
33706  ;
33707  return 0;
33708}
33709_ACEOF
33710if ac_fn_cxx_try_compile "$LINENO"; then :
33711  glibcxx_cv_func__isnanl_use=yes
33712else
33713  glibcxx_cv_func__isnanl_use=no
33714fi
33715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33716      ac_ext=c
33717ac_cpp='$CPP $CPPFLAGS'
33718ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720ac_compiler_gnu=$ac_cv_c_compiler_gnu
33721
33722
33723fi
33724
33725  fi
33726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33727$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33728
33729    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33730      for ac_func in _isnanl
33731do :
33732  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33733if test "x$ac_cv_func__isnanl" = xyes; then :
33734  cat >>confdefs.h <<_ACEOF
33735#define HAVE__ISNANL 1
33736_ACEOF
33737
33738fi
33739done
33740
33741    fi
33742  fi
33743
33744
33745
33746
33747
33748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33749$as_echo_n "checking for isinfl declaration... " >&6; }
33750  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33751    if ${glibcxx_cv_func_isinfl_use+:} false; then :
33752  $as_echo_n "(cached) " >&6
33753else
33754
33755
33756      ac_ext=cpp
33757ac_cpp='$CXXCPP $CPPFLAGS'
33758ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33759ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33760ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33761
33762      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33763/* end confdefs.h.  */
33764#include <math.h>
33765		      #ifdef HAVE_IEEEFP_H
33766		      #include <ieeefp.h>
33767		      #endif
33768
33769int
33770main ()
33771{
33772 isinfl(0);
33773  ;
33774  return 0;
33775}
33776_ACEOF
33777if ac_fn_cxx_try_compile "$LINENO"; then :
33778  glibcxx_cv_func_isinfl_use=yes
33779else
33780  glibcxx_cv_func_isinfl_use=no
33781fi
33782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33783      ac_ext=c
33784ac_cpp='$CPP $CPPFLAGS'
33785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33787ac_compiler_gnu=$ac_cv_c_compiler_gnu
33788
33789
33790fi
33791
33792  fi
33793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33794$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33795
33796  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33797    for ac_func in isinfl
33798do :
33799  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33800if test "x$ac_cv_func_isinfl" = xyes; then :
33801  cat >>confdefs.h <<_ACEOF
33802#define HAVE_ISINFL 1
33803_ACEOF
33804
33805fi
33806done
33807
33808  else
33809
33810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33811$as_echo_n "checking for _isinfl declaration... " >&6; }
33812  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33813    if ${glibcxx_cv_func__isinfl_use+:} false; then :
33814  $as_echo_n "(cached) " >&6
33815else
33816
33817
33818      ac_ext=cpp
33819ac_cpp='$CXXCPP $CPPFLAGS'
33820ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33821ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33822ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33823
33824      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33825/* end confdefs.h.  */
33826#include <math.h>
33827		      #ifdef HAVE_IEEEFP_H
33828		      #include <ieeefp.h>
33829		      #endif
33830
33831int
33832main ()
33833{
33834 _isinfl(0);
33835  ;
33836  return 0;
33837}
33838_ACEOF
33839if ac_fn_cxx_try_compile "$LINENO"; then :
33840  glibcxx_cv_func__isinfl_use=yes
33841else
33842  glibcxx_cv_func__isinfl_use=no
33843fi
33844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33845      ac_ext=c
33846ac_cpp='$CPP $CPPFLAGS'
33847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849ac_compiler_gnu=$ac_cv_c_compiler_gnu
33850
33851
33852fi
33853
33854  fi
33855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33856$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33857
33858    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33859      for ac_func in _isinfl
33860do :
33861  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33862if test "x$ac_cv_func__isinfl" = xyes; then :
33863  cat >>confdefs.h <<_ACEOF
33864#define HAVE__ISINFL 1
33865_ACEOF
33866
33867fi
33868done
33869
33870    fi
33871  fi
33872
33873
33874
33875
33876
33877  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33878$as_echo_n "checking for atan2l declaration... " >&6; }
33879  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33880    if ${glibcxx_cv_func_atan2l_use+:} false; then :
33881  $as_echo_n "(cached) " >&6
33882else
33883
33884
33885      ac_ext=cpp
33886ac_cpp='$CXXCPP $CPPFLAGS'
33887ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33890
33891      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33892/* end confdefs.h.  */
33893#include <math.h>
33894int
33895main ()
33896{
33897 atan2l(0, 0);
33898  ;
33899  return 0;
33900}
33901_ACEOF
33902if ac_fn_cxx_try_compile "$LINENO"; then :
33903  glibcxx_cv_func_atan2l_use=yes
33904else
33905  glibcxx_cv_func_atan2l_use=no
33906fi
33907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33908      ac_ext=c
33909ac_cpp='$CPP $CPPFLAGS'
33910ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912ac_compiler_gnu=$ac_cv_c_compiler_gnu
33913
33914
33915fi
33916
33917  fi
33918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33919$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33920
33921  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33922    for ac_func in atan2l
33923do :
33924  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33925if test "x$ac_cv_func_atan2l" = xyes; then :
33926  cat >>confdefs.h <<_ACEOF
33927#define HAVE_ATAN2L 1
33928_ACEOF
33929
33930fi
33931done
33932
33933  else
33934
33935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33936$as_echo_n "checking for _atan2l declaration... " >&6; }
33937  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33938    if ${glibcxx_cv_func__atan2l_use+:} false; then :
33939  $as_echo_n "(cached) " >&6
33940else
33941
33942
33943      ac_ext=cpp
33944ac_cpp='$CXXCPP $CPPFLAGS'
33945ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33946ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33947ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33948
33949      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33950/* end confdefs.h.  */
33951#include <math.h>
33952int
33953main ()
33954{
33955 _atan2l(0, 0);
33956  ;
33957  return 0;
33958}
33959_ACEOF
33960if ac_fn_cxx_try_compile "$LINENO"; then :
33961  glibcxx_cv_func__atan2l_use=yes
33962else
33963  glibcxx_cv_func__atan2l_use=no
33964fi
33965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33966      ac_ext=c
33967ac_cpp='$CPP $CPPFLAGS'
33968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33970ac_compiler_gnu=$ac_cv_c_compiler_gnu
33971
33972
33973fi
33974
33975  fi
33976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33977$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33978
33979    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33980      for ac_func in _atan2l
33981do :
33982  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33983if test "x$ac_cv_func__atan2l" = xyes; then :
33984  cat >>confdefs.h <<_ACEOF
33985#define HAVE__ATAN2L 1
33986_ACEOF
33987
33988fi
33989done
33990
33991    fi
33992  fi
33993
33994
33995
33996
33997
33998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33999$as_echo_n "checking for expl declaration... " >&6; }
34000  if test x${glibcxx_cv_func_expl_use+set} != xset; then
34001    if ${glibcxx_cv_func_expl_use+:} false; then :
34002  $as_echo_n "(cached) " >&6
34003else
34004
34005
34006      ac_ext=cpp
34007ac_cpp='$CXXCPP $CPPFLAGS'
34008ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34009ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34010ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34011
34012      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34013/* end confdefs.h.  */
34014#include <math.h>
34015		      #ifdef HAVE_IEEEFP_H
34016		      #include <ieeefp.h>
34017		      #endif
34018
34019int
34020main ()
34021{
34022 expl(0);
34023  ;
34024  return 0;
34025}
34026_ACEOF
34027if ac_fn_cxx_try_compile "$LINENO"; then :
34028  glibcxx_cv_func_expl_use=yes
34029else
34030  glibcxx_cv_func_expl_use=no
34031fi
34032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34033      ac_ext=c
34034ac_cpp='$CPP $CPPFLAGS'
34035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34037ac_compiler_gnu=$ac_cv_c_compiler_gnu
34038
34039
34040fi
34041
34042  fi
34043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
34044$as_echo "$glibcxx_cv_func_expl_use" >&6; }
34045
34046  if test x$glibcxx_cv_func_expl_use = x"yes"; then
34047    for ac_func in expl
34048do :
34049  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
34050if test "x$ac_cv_func_expl" = xyes; then :
34051  cat >>confdefs.h <<_ACEOF
34052#define HAVE_EXPL 1
34053_ACEOF
34054
34055fi
34056done
34057
34058  else
34059
34060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
34061$as_echo_n "checking for _expl declaration... " >&6; }
34062  if test x${glibcxx_cv_func__expl_use+set} != xset; then
34063    if ${glibcxx_cv_func__expl_use+:} false; then :
34064  $as_echo_n "(cached) " >&6
34065else
34066
34067
34068      ac_ext=cpp
34069ac_cpp='$CXXCPP $CPPFLAGS'
34070ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34071ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34072ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34073
34074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34075/* end confdefs.h.  */
34076#include <math.h>
34077		      #ifdef HAVE_IEEEFP_H
34078		      #include <ieeefp.h>
34079		      #endif
34080
34081int
34082main ()
34083{
34084 _expl(0);
34085  ;
34086  return 0;
34087}
34088_ACEOF
34089if ac_fn_cxx_try_compile "$LINENO"; then :
34090  glibcxx_cv_func__expl_use=yes
34091else
34092  glibcxx_cv_func__expl_use=no
34093fi
34094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34095      ac_ext=c
34096ac_cpp='$CPP $CPPFLAGS'
34097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099ac_compiler_gnu=$ac_cv_c_compiler_gnu
34100
34101
34102fi
34103
34104  fi
34105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
34106$as_echo "$glibcxx_cv_func__expl_use" >&6; }
34107
34108    if test x$glibcxx_cv_func__expl_use = x"yes"; then
34109      for ac_func in _expl
34110do :
34111  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
34112if test "x$ac_cv_func__expl" = xyes; then :
34113  cat >>confdefs.h <<_ACEOF
34114#define HAVE__EXPL 1
34115_ACEOF
34116
34117fi
34118done
34119
34120    fi
34121  fi
34122
34123
34124
34125
34126
34127  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
34128$as_echo_n "checking for fabsl declaration... " >&6; }
34129  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
34130    if ${glibcxx_cv_func_fabsl_use+:} false; then :
34131  $as_echo_n "(cached) " >&6
34132else
34133
34134
34135      ac_ext=cpp
34136ac_cpp='$CXXCPP $CPPFLAGS'
34137ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34138ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34139ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34140
34141      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34142/* end confdefs.h.  */
34143#include <math.h>
34144		      #ifdef HAVE_IEEEFP_H
34145		      #include <ieeefp.h>
34146		      #endif
34147
34148int
34149main ()
34150{
34151 fabsl(0);
34152  ;
34153  return 0;
34154}
34155_ACEOF
34156if ac_fn_cxx_try_compile "$LINENO"; then :
34157  glibcxx_cv_func_fabsl_use=yes
34158else
34159  glibcxx_cv_func_fabsl_use=no
34160fi
34161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34162      ac_ext=c
34163ac_cpp='$CPP $CPPFLAGS'
34164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34166ac_compiler_gnu=$ac_cv_c_compiler_gnu
34167
34168
34169fi
34170
34171  fi
34172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
34173$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
34174
34175  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
34176    for ac_func in fabsl
34177do :
34178  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
34179if test "x$ac_cv_func_fabsl" = xyes; then :
34180  cat >>confdefs.h <<_ACEOF
34181#define HAVE_FABSL 1
34182_ACEOF
34183
34184fi
34185done
34186
34187  else
34188
34189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
34190$as_echo_n "checking for _fabsl declaration... " >&6; }
34191  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
34192    if ${glibcxx_cv_func__fabsl_use+:} false; then :
34193  $as_echo_n "(cached) " >&6
34194else
34195
34196
34197      ac_ext=cpp
34198ac_cpp='$CXXCPP $CPPFLAGS'
34199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34202
34203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34204/* end confdefs.h.  */
34205#include <math.h>
34206		      #ifdef HAVE_IEEEFP_H
34207		      #include <ieeefp.h>
34208		      #endif
34209
34210int
34211main ()
34212{
34213 _fabsl(0);
34214  ;
34215  return 0;
34216}
34217_ACEOF
34218if ac_fn_cxx_try_compile "$LINENO"; then :
34219  glibcxx_cv_func__fabsl_use=yes
34220else
34221  glibcxx_cv_func__fabsl_use=no
34222fi
34223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34224      ac_ext=c
34225ac_cpp='$CPP $CPPFLAGS'
34226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34228ac_compiler_gnu=$ac_cv_c_compiler_gnu
34229
34230
34231fi
34232
34233  fi
34234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
34235$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
34236
34237    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
34238      for ac_func in _fabsl
34239do :
34240  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
34241if test "x$ac_cv_func__fabsl" = xyes; then :
34242  cat >>confdefs.h <<_ACEOF
34243#define HAVE__FABSL 1
34244_ACEOF
34245
34246fi
34247done
34248
34249    fi
34250  fi
34251
34252
34253
34254
34255
34256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
34257$as_echo_n "checking for fmodl declaration... " >&6; }
34258  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
34259    if ${glibcxx_cv_func_fmodl_use+:} false; then :
34260  $as_echo_n "(cached) " >&6
34261else
34262
34263
34264      ac_ext=cpp
34265ac_cpp='$CXXCPP $CPPFLAGS'
34266ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34267ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34268ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34269
34270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34271/* end confdefs.h.  */
34272#include <math.h>
34273int
34274main ()
34275{
34276 fmodl(0, 0);
34277  ;
34278  return 0;
34279}
34280_ACEOF
34281if ac_fn_cxx_try_compile "$LINENO"; then :
34282  glibcxx_cv_func_fmodl_use=yes
34283else
34284  glibcxx_cv_func_fmodl_use=no
34285fi
34286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287      ac_ext=c
34288ac_cpp='$CPP $CPPFLAGS'
34289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291ac_compiler_gnu=$ac_cv_c_compiler_gnu
34292
34293
34294fi
34295
34296  fi
34297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
34298$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
34299
34300  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
34301    for ac_func in fmodl
34302do :
34303  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
34304if test "x$ac_cv_func_fmodl" = xyes; then :
34305  cat >>confdefs.h <<_ACEOF
34306#define HAVE_FMODL 1
34307_ACEOF
34308
34309fi
34310done
34311
34312  else
34313
34314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
34315$as_echo_n "checking for _fmodl declaration... " >&6; }
34316  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
34317    if ${glibcxx_cv_func__fmodl_use+:} false; then :
34318  $as_echo_n "(cached) " >&6
34319else
34320
34321
34322      ac_ext=cpp
34323ac_cpp='$CXXCPP $CPPFLAGS'
34324ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34325ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34326ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34327
34328      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34329/* end confdefs.h.  */
34330#include <math.h>
34331int
34332main ()
34333{
34334 _fmodl(0, 0);
34335  ;
34336  return 0;
34337}
34338_ACEOF
34339if ac_fn_cxx_try_compile "$LINENO"; then :
34340  glibcxx_cv_func__fmodl_use=yes
34341else
34342  glibcxx_cv_func__fmodl_use=no
34343fi
34344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34345      ac_ext=c
34346ac_cpp='$CPP $CPPFLAGS'
34347ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349ac_compiler_gnu=$ac_cv_c_compiler_gnu
34350
34351
34352fi
34353
34354  fi
34355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
34356$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
34357
34358    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
34359      for ac_func in _fmodl
34360do :
34361  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
34362if test "x$ac_cv_func__fmodl" = xyes; then :
34363  cat >>confdefs.h <<_ACEOF
34364#define HAVE__FMODL 1
34365_ACEOF
34366
34367fi
34368done
34369
34370    fi
34371  fi
34372
34373
34374
34375
34376
34377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
34378$as_echo_n "checking for frexpl declaration... " >&6; }
34379  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
34380    if ${glibcxx_cv_func_frexpl_use+:} false; then :
34381  $as_echo_n "(cached) " >&6
34382else
34383
34384
34385      ac_ext=cpp
34386ac_cpp='$CXXCPP $CPPFLAGS'
34387ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34390
34391      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34392/* end confdefs.h.  */
34393#include <math.h>
34394int
34395main ()
34396{
34397 frexpl(0, 0);
34398  ;
34399  return 0;
34400}
34401_ACEOF
34402if ac_fn_cxx_try_compile "$LINENO"; then :
34403  glibcxx_cv_func_frexpl_use=yes
34404else
34405  glibcxx_cv_func_frexpl_use=no
34406fi
34407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34408      ac_ext=c
34409ac_cpp='$CPP $CPPFLAGS'
34410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412ac_compiler_gnu=$ac_cv_c_compiler_gnu
34413
34414
34415fi
34416
34417  fi
34418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
34419$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
34420
34421  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
34422    for ac_func in frexpl
34423do :
34424  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
34425if test "x$ac_cv_func_frexpl" = xyes; then :
34426  cat >>confdefs.h <<_ACEOF
34427#define HAVE_FREXPL 1
34428_ACEOF
34429
34430fi
34431done
34432
34433  else
34434
34435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
34436$as_echo_n "checking for _frexpl declaration... " >&6; }
34437  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
34438    if ${glibcxx_cv_func__frexpl_use+:} false; then :
34439  $as_echo_n "(cached) " >&6
34440else
34441
34442
34443      ac_ext=cpp
34444ac_cpp='$CXXCPP $CPPFLAGS'
34445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34448
34449      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34450/* end confdefs.h.  */
34451#include <math.h>
34452int
34453main ()
34454{
34455 _frexpl(0, 0);
34456  ;
34457  return 0;
34458}
34459_ACEOF
34460if ac_fn_cxx_try_compile "$LINENO"; then :
34461  glibcxx_cv_func__frexpl_use=yes
34462else
34463  glibcxx_cv_func__frexpl_use=no
34464fi
34465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34466      ac_ext=c
34467ac_cpp='$CPP $CPPFLAGS'
34468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470ac_compiler_gnu=$ac_cv_c_compiler_gnu
34471
34472
34473fi
34474
34475  fi
34476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
34477$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34478
34479    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34480      for ac_func in _frexpl
34481do :
34482  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34483if test "x$ac_cv_func__frexpl" = xyes; then :
34484  cat >>confdefs.h <<_ACEOF
34485#define HAVE__FREXPL 1
34486_ACEOF
34487
34488fi
34489done
34490
34491    fi
34492  fi
34493
34494
34495
34496
34497
34498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34499$as_echo_n "checking for hypotl declaration... " >&6; }
34500  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34501    if ${glibcxx_cv_func_hypotl_use+:} false; then :
34502  $as_echo_n "(cached) " >&6
34503else
34504
34505
34506      ac_ext=cpp
34507ac_cpp='$CXXCPP $CPPFLAGS'
34508ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34511
34512      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34513/* end confdefs.h.  */
34514#include <math.h>
34515int
34516main ()
34517{
34518 hypotl(0, 0);
34519  ;
34520  return 0;
34521}
34522_ACEOF
34523if ac_fn_cxx_try_compile "$LINENO"; then :
34524  glibcxx_cv_func_hypotl_use=yes
34525else
34526  glibcxx_cv_func_hypotl_use=no
34527fi
34528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34529      ac_ext=c
34530ac_cpp='$CPP $CPPFLAGS'
34531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34533ac_compiler_gnu=$ac_cv_c_compiler_gnu
34534
34535
34536fi
34537
34538  fi
34539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34540$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34541
34542  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34543    for ac_func in hypotl
34544do :
34545  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34546if test "x$ac_cv_func_hypotl" = xyes; then :
34547  cat >>confdefs.h <<_ACEOF
34548#define HAVE_HYPOTL 1
34549_ACEOF
34550
34551fi
34552done
34553
34554  else
34555
34556  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34557$as_echo_n "checking for _hypotl declaration... " >&6; }
34558  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34559    if ${glibcxx_cv_func__hypotl_use+:} false; then :
34560  $as_echo_n "(cached) " >&6
34561else
34562
34563
34564      ac_ext=cpp
34565ac_cpp='$CXXCPP $CPPFLAGS'
34566ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34567ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34568ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34569
34570      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34571/* end confdefs.h.  */
34572#include <math.h>
34573int
34574main ()
34575{
34576 _hypotl(0, 0);
34577  ;
34578  return 0;
34579}
34580_ACEOF
34581if ac_fn_cxx_try_compile "$LINENO"; then :
34582  glibcxx_cv_func__hypotl_use=yes
34583else
34584  glibcxx_cv_func__hypotl_use=no
34585fi
34586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34587      ac_ext=c
34588ac_cpp='$CPP $CPPFLAGS'
34589ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34590ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34591ac_compiler_gnu=$ac_cv_c_compiler_gnu
34592
34593
34594fi
34595
34596  fi
34597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34598$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34599
34600    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34601      for ac_func in _hypotl
34602do :
34603  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34604if test "x$ac_cv_func__hypotl" = xyes; then :
34605  cat >>confdefs.h <<_ACEOF
34606#define HAVE__HYPOTL 1
34607_ACEOF
34608
34609fi
34610done
34611
34612    fi
34613  fi
34614
34615
34616
34617
34618
34619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34620$as_echo_n "checking for ldexpl declaration... " >&6; }
34621  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34622    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34623  $as_echo_n "(cached) " >&6
34624else
34625
34626
34627      ac_ext=cpp
34628ac_cpp='$CXXCPP $CPPFLAGS'
34629ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34632
34633      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34634/* end confdefs.h.  */
34635#include <math.h>
34636int
34637main ()
34638{
34639 ldexpl(0, 0);
34640  ;
34641  return 0;
34642}
34643_ACEOF
34644if ac_fn_cxx_try_compile "$LINENO"; then :
34645  glibcxx_cv_func_ldexpl_use=yes
34646else
34647  glibcxx_cv_func_ldexpl_use=no
34648fi
34649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650      ac_ext=c
34651ac_cpp='$CPP $CPPFLAGS'
34652ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654ac_compiler_gnu=$ac_cv_c_compiler_gnu
34655
34656
34657fi
34658
34659  fi
34660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34661$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34662
34663  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34664    for ac_func in ldexpl
34665do :
34666  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34667if test "x$ac_cv_func_ldexpl" = xyes; then :
34668  cat >>confdefs.h <<_ACEOF
34669#define HAVE_LDEXPL 1
34670_ACEOF
34671
34672fi
34673done
34674
34675  else
34676
34677  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34678$as_echo_n "checking for _ldexpl declaration... " >&6; }
34679  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34680    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34681  $as_echo_n "(cached) " >&6
34682else
34683
34684
34685      ac_ext=cpp
34686ac_cpp='$CXXCPP $CPPFLAGS'
34687ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34688ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34689ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34690
34691      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34692/* end confdefs.h.  */
34693#include <math.h>
34694int
34695main ()
34696{
34697 _ldexpl(0, 0);
34698  ;
34699  return 0;
34700}
34701_ACEOF
34702if ac_fn_cxx_try_compile "$LINENO"; then :
34703  glibcxx_cv_func__ldexpl_use=yes
34704else
34705  glibcxx_cv_func__ldexpl_use=no
34706fi
34707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34708      ac_ext=c
34709ac_cpp='$CPP $CPPFLAGS'
34710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713
34714
34715fi
34716
34717  fi
34718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34719$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34720
34721    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34722      for ac_func in _ldexpl
34723do :
34724  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34725if test "x$ac_cv_func__ldexpl" = xyes; then :
34726  cat >>confdefs.h <<_ACEOF
34727#define HAVE__LDEXPL 1
34728_ACEOF
34729
34730fi
34731done
34732
34733    fi
34734  fi
34735
34736
34737
34738
34739
34740  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34741$as_echo_n "checking for logl declaration... " >&6; }
34742  if test x${glibcxx_cv_func_logl_use+set} != xset; then
34743    if ${glibcxx_cv_func_logl_use+:} false; then :
34744  $as_echo_n "(cached) " >&6
34745else
34746
34747
34748      ac_ext=cpp
34749ac_cpp='$CXXCPP $CPPFLAGS'
34750ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34753
34754      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34755/* end confdefs.h.  */
34756#include <math.h>
34757		      #ifdef HAVE_IEEEFP_H
34758		      #include <ieeefp.h>
34759		      #endif
34760
34761int
34762main ()
34763{
34764 logl(0);
34765  ;
34766  return 0;
34767}
34768_ACEOF
34769if ac_fn_cxx_try_compile "$LINENO"; then :
34770  glibcxx_cv_func_logl_use=yes
34771else
34772  glibcxx_cv_func_logl_use=no
34773fi
34774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34775      ac_ext=c
34776ac_cpp='$CPP $CPPFLAGS'
34777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779ac_compiler_gnu=$ac_cv_c_compiler_gnu
34780
34781
34782fi
34783
34784  fi
34785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34786$as_echo "$glibcxx_cv_func_logl_use" >&6; }
34787
34788  if test x$glibcxx_cv_func_logl_use = x"yes"; then
34789    for ac_func in logl
34790do :
34791  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34792if test "x$ac_cv_func_logl" = xyes; then :
34793  cat >>confdefs.h <<_ACEOF
34794#define HAVE_LOGL 1
34795_ACEOF
34796
34797fi
34798done
34799
34800  else
34801
34802  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34803$as_echo_n "checking for _logl declaration... " >&6; }
34804  if test x${glibcxx_cv_func__logl_use+set} != xset; then
34805    if ${glibcxx_cv_func__logl_use+:} false; then :
34806  $as_echo_n "(cached) " >&6
34807else
34808
34809
34810      ac_ext=cpp
34811ac_cpp='$CXXCPP $CPPFLAGS'
34812ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34815
34816      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34817/* end confdefs.h.  */
34818#include <math.h>
34819		      #ifdef HAVE_IEEEFP_H
34820		      #include <ieeefp.h>
34821		      #endif
34822
34823int
34824main ()
34825{
34826 _logl(0);
34827  ;
34828  return 0;
34829}
34830_ACEOF
34831if ac_fn_cxx_try_compile "$LINENO"; then :
34832  glibcxx_cv_func__logl_use=yes
34833else
34834  glibcxx_cv_func__logl_use=no
34835fi
34836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34837      ac_ext=c
34838ac_cpp='$CPP $CPPFLAGS'
34839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841ac_compiler_gnu=$ac_cv_c_compiler_gnu
34842
34843
34844fi
34845
34846  fi
34847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34848$as_echo "$glibcxx_cv_func__logl_use" >&6; }
34849
34850    if test x$glibcxx_cv_func__logl_use = x"yes"; then
34851      for ac_func in _logl
34852do :
34853  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34854if test "x$ac_cv_func__logl" = xyes; then :
34855  cat >>confdefs.h <<_ACEOF
34856#define HAVE__LOGL 1
34857_ACEOF
34858
34859fi
34860done
34861
34862    fi
34863  fi
34864
34865
34866
34867
34868
34869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34870$as_echo_n "checking for log10l declaration... " >&6; }
34871  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34872    if ${glibcxx_cv_func_log10l_use+:} false; then :
34873  $as_echo_n "(cached) " >&6
34874else
34875
34876
34877      ac_ext=cpp
34878ac_cpp='$CXXCPP $CPPFLAGS'
34879ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882
34883      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884/* end confdefs.h.  */
34885#include <math.h>
34886		      #ifdef HAVE_IEEEFP_H
34887		      #include <ieeefp.h>
34888		      #endif
34889
34890int
34891main ()
34892{
34893 log10l(0);
34894  ;
34895  return 0;
34896}
34897_ACEOF
34898if ac_fn_cxx_try_compile "$LINENO"; then :
34899  glibcxx_cv_func_log10l_use=yes
34900else
34901  glibcxx_cv_func_log10l_use=no
34902fi
34903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34904      ac_ext=c
34905ac_cpp='$CPP $CPPFLAGS'
34906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34908ac_compiler_gnu=$ac_cv_c_compiler_gnu
34909
34910
34911fi
34912
34913  fi
34914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34915$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34916
34917  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34918    for ac_func in log10l
34919do :
34920  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34921if test "x$ac_cv_func_log10l" = xyes; then :
34922  cat >>confdefs.h <<_ACEOF
34923#define HAVE_LOG10L 1
34924_ACEOF
34925
34926fi
34927done
34928
34929  else
34930
34931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34932$as_echo_n "checking for _log10l declaration... " >&6; }
34933  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34934    if ${glibcxx_cv_func__log10l_use+:} false; then :
34935  $as_echo_n "(cached) " >&6
34936else
34937
34938
34939      ac_ext=cpp
34940ac_cpp='$CXXCPP $CPPFLAGS'
34941ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34942ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34943ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34944
34945      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34946/* end confdefs.h.  */
34947#include <math.h>
34948		      #ifdef HAVE_IEEEFP_H
34949		      #include <ieeefp.h>
34950		      #endif
34951
34952int
34953main ()
34954{
34955 _log10l(0);
34956  ;
34957  return 0;
34958}
34959_ACEOF
34960if ac_fn_cxx_try_compile "$LINENO"; then :
34961  glibcxx_cv_func__log10l_use=yes
34962else
34963  glibcxx_cv_func__log10l_use=no
34964fi
34965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34966      ac_ext=c
34967ac_cpp='$CPP $CPPFLAGS'
34968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970ac_compiler_gnu=$ac_cv_c_compiler_gnu
34971
34972
34973fi
34974
34975  fi
34976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34977$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34978
34979    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34980      for ac_func in _log10l
34981do :
34982  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34983if test "x$ac_cv_func__log10l" = xyes; then :
34984  cat >>confdefs.h <<_ACEOF
34985#define HAVE__LOG10L 1
34986_ACEOF
34987
34988fi
34989done
34990
34991    fi
34992  fi
34993
34994
34995
34996
34997
34998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34999$as_echo_n "checking for modfl declaration... " >&6; }
35000  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
35001    if ${glibcxx_cv_func_modfl_use+:} false; then :
35002  $as_echo_n "(cached) " >&6
35003else
35004
35005
35006      ac_ext=cpp
35007ac_cpp='$CXXCPP $CPPFLAGS'
35008ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35009ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35010ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35011
35012      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35013/* end confdefs.h.  */
35014#include <math.h>
35015int
35016main ()
35017{
35018 modfl(0, 0);
35019  ;
35020  return 0;
35021}
35022_ACEOF
35023if ac_fn_cxx_try_compile "$LINENO"; then :
35024  glibcxx_cv_func_modfl_use=yes
35025else
35026  glibcxx_cv_func_modfl_use=no
35027fi
35028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029      ac_ext=c
35030ac_cpp='$CPP $CPPFLAGS'
35031ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033ac_compiler_gnu=$ac_cv_c_compiler_gnu
35034
35035
35036fi
35037
35038  fi
35039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
35040$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
35041
35042  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
35043    for ac_func in modfl
35044do :
35045  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
35046if test "x$ac_cv_func_modfl" = xyes; then :
35047  cat >>confdefs.h <<_ACEOF
35048#define HAVE_MODFL 1
35049_ACEOF
35050
35051fi
35052done
35053
35054  else
35055
35056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
35057$as_echo_n "checking for _modfl declaration... " >&6; }
35058  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
35059    if ${glibcxx_cv_func__modfl_use+:} false; then :
35060  $as_echo_n "(cached) " >&6
35061else
35062
35063
35064      ac_ext=cpp
35065ac_cpp='$CXXCPP $CPPFLAGS'
35066ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35069
35070      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35071/* end confdefs.h.  */
35072#include <math.h>
35073int
35074main ()
35075{
35076 _modfl(0, 0);
35077  ;
35078  return 0;
35079}
35080_ACEOF
35081if ac_fn_cxx_try_compile "$LINENO"; then :
35082  glibcxx_cv_func__modfl_use=yes
35083else
35084  glibcxx_cv_func__modfl_use=no
35085fi
35086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35087      ac_ext=c
35088ac_cpp='$CPP $CPPFLAGS'
35089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092
35093
35094fi
35095
35096  fi
35097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
35098$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
35099
35100    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
35101      for ac_func in _modfl
35102do :
35103  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
35104if test "x$ac_cv_func__modfl" = xyes; then :
35105  cat >>confdefs.h <<_ACEOF
35106#define HAVE__MODFL 1
35107_ACEOF
35108
35109fi
35110done
35111
35112    fi
35113  fi
35114
35115
35116
35117
35118
35119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
35120$as_echo_n "checking for powl declaration... " >&6; }
35121  if test x${glibcxx_cv_func_powl_use+set} != xset; then
35122    if ${glibcxx_cv_func_powl_use+:} false; then :
35123  $as_echo_n "(cached) " >&6
35124else
35125
35126
35127      ac_ext=cpp
35128ac_cpp='$CXXCPP $CPPFLAGS'
35129ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35132
35133      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35134/* end confdefs.h.  */
35135#include <math.h>
35136int
35137main ()
35138{
35139 powl(0, 0);
35140  ;
35141  return 0;
35142}
35143_ACEOF
35144if ac_fn_cxx_try_compile "$LINENO"; then :
35145  glibcxx_cv_func_powl_use=yes
35146else
35147  glibcxx_cv_func_powl_use=no
35148fi
35149rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35150      ac_ext=c
35151ac_cpp='$CPP $CPPFLAGS'
35152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154ac_compiler_gnu=$ac_cv_c_compiler_gnu
35155
35156
35157fi
35158
35159  fi
35160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
35161$as_echo "$glibcxx_cv_func_powl_use" >&6; }
35162
35163  if test x$glibcxx_cv_func_powl_use = x"yes"; then
35164    for ac_func in powl
35165do :
35166  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
35167if test "x$ac_cv_func_powl" = xyes; then :
35168  cat >>confdefs.h <<_ACEOF
35169#define HAVE_POWL 1
35170_ACEOF
35171
35172fi
35173done
35174
35175  else
35176
35177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
35178$as_echo_n "checking for _powl declaration... " >&6; }
35179  if test x${glibcxx_cv_func__powl_use+set} != xset; then
35180    if ${glibcxx_cv_func__powl_use+:} false; then :
35181  $as_echo_n "(cached) " >&6
35182else
35183
35184
35185      ac_ext=cpp
35186ac_cpp='$CXXCPP $CPPFLAGS'
35187ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35188ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35189ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35190
35191      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35192/* end confdefs.h.  */
35193#include <math.h>
35194int
35195main ()
35196{
35197 _powl(0, 0);
35198  ;
35199  return 0;
35200}
35201_ACEOF
35202if ac_fn_cxx_try_compile "$LINENO"; then :
35203  glibcxx_cv_func__powl_use=yes
35204else
35205  glibcxx_cv_func__powl_use=no
35206fi
35207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35208      ac_ext=c
35209ac_cpp='$CPP $CPPFLAGS'
35210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212ac_compiler_gnu=$ac_cv_c_compiler_gnu
35213
35214
35215fi
35216
35217  fi
35218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
35219$as_echo "$glibcxx_cv_func__powl_use" >&6; }
35220
35221    if test x$glibcxx_cv_func__powl_use = x"yes"; then
35222      for ac_func in _powl
35223do :
35224  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
35225if test "x$ac_cv_func__powl" = xyes; then :
35226  cat >>confdefs.h <<_ACEOF
35227#define HAVE__POWL 1
35228_ACEOF
35229
35230fi
35231done
35232
35233    fi
35234  fi
35235
35236
35237
35238
35239
35240  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
35241$as_echo_n "checking for sqrtl declaration... " >&6; }
35242  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
35243    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
35244  $as_echo_n "(cached) " >&6
35245else
35246
35247
35248      ac_ext=cpp
35249ac_cpp='$CXXCPP $CPPFLAGS'
35250ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35253
35254      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35255/* end confdefs.h.  */
35256#include <math.h>
35257		      #ifdef HAVE_IEEEFP_H
35258		      #include <ieeefp.h>
35259		      #endif
35260
35261int
35262main ()
35263{
35264 sqrtl(0);
35265  ;
35266  return 0;
35267}
35268_ACEOF
35269if ac_fn_cxx_try_compile "$LINENO"; then :
35270  glibcxx_cv_func_sqrtl_use=yes
35271else
35272  glibcxx_cv_func_sqrtl_use=no
35273fi
35274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35275      ac_ext=c
35276ac_cpp='$CPP $CPPFLAGS'
35277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35279ac_compiler_gnu=$ac_cv_c_compiler_gnu
35280
35281
35282fi
35283
35284  fi
35285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
35286$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
35287
35288  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35289    for ac_func in sqrtl
35290do :
35291  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
35292if test "x$ac_cv_func_sqrtl" = xyes; then :
35293  cat >>confdefs.h <<_ACEOF
35294#define HAVE_SQRTL 1
35295_ACEOF
35296
35297fi
35298done
35299
35300  else
35301
35302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
35303$as_echo_n "checking for _sqrtl declaration... " >&6; }
35304  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35305    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
35306  $as_echo_n "(cached) " >&6
35307else
35308
35309
35310      ac_ext=cpp
35311ac_cpp='$CXXCPP $CPPFLAGS'
35312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35315
35316      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35317/* end confdefs.h.  */
35318#include <math.h>
35319		      #ifdef HAVE_IEEEFP_H
35320		      #include <ieeefp.h>
35321		      #endif
35322
35323int
35324main ()
35325{
35326 _sqrtl(0);
35327  ;
35328  return 0;
35329}
35330_ACEOF
35331if ac_fn_cxx_try_compile "$LINENO"; then :
35332  glibcxx_cv_func__sqrtl_use=yes
35333else
35334  glibcxx_cv_func__sqrtl_use=no
35335fi
35336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35337      ac_ext=c
35338ac_cpp='$CPP $CPPFLAGS'
35339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35341ac_compiler_gnu=$ac_cv_c_compiler_gnu
35342
35343
35344fi
35345
35346  fi
35347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
35348$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
35349
35350    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35351      for ac_func in _sqrtl
35352do :
35353  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
35354if test "x$ac_cv_func__sqrtl" = xyes; then :
35355  cat >>confdefs.h <<_ACEOF
35356#define HAVE__SQRTL 1
35357_ACEOF
35358
35359fi
35360done
35361
35362    fi
35363  fi
35364
35365
35366
35367
35368
35369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
35370$as_echo_n "checking for sincosl declaration... " >&6; }
35371  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35372    if ${glibcxx_cv_func_sincosl_use+:} false; then :
35373  $as_echo_n "(cached) " >&6
35374else
35375
35376
35377      ac_ext=cpp
35378ac_cpp='$CXXCPP $CPPFLAGS'
35379ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35380ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35381ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35382
35383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35384/* end confdefs.h.  */
35385#include <math.h>
35386int
35387main ()
35388{
35389 sincosl(0, 0, 0);
35390  ;
35391  return 0;
35392}
35393_ACEOF
35394if ac_fn_cxx_try_compile "$LINENO"; then :
35395  glibcxx_cv_func_sincosl_use=yes
35396else
35397  glibcxx_cv_func_sincosl_use=no
35398fi
35399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35400      ac_ext=c
35401ac_cpp='$CPP $CPPFLAGS'
35402ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35403ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35404ac_compiler_gnu=$ac_cv_c_compiler_gnu
35405
35406
35407fi
35408
35409  fi
35410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
35411$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
35412
35413  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35414    for ac_func in sincosl
35415do :
35416  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
35417if test "x$ac_cv_func_sincosl" = xyes; then :
35418  cat >>confdefs.h <<_ACEOF
35419#define HAVE_SINCOSL 1
35420_ACEOF
35421
35422fi
35423done
35424
35425  else
35426
35427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
35428$as_echo_n "checking for _sincosl declaration... " >&6; }
35429  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35430    if ${glibcxx_cv_func__sincosl_use+:} false; then :
35431  $as_echo_n "(cached) " >&6
35432else
35433
35434
35435      ac_ext=cpp
35436ac_cpp='$CXXCPP $CPPFLAGS'
35437ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35438ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35439ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35440
35441      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35442/* end confdefs.h.  */
35443#include <math.h>
35444int
35445main ()
35446{
35447 _sincosl(0, 0, 0);
35448  ;
35449  return 0;
35450}
35451_ACEOF
35452if ac_fn_cxx_try_compile "$LINENO"; then :
35453  glibcxx_cv_func__sincosl_use=yes
35454else
35455  glibcxx_cv_func__sincosl_use=no
35456fi
35457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35458      ac_ext=c
35459ac_cpp='$CPP $CPPFLAGS'
35460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462ac_compiler_gnu=$ac_cv_c_compiler_gnu
35463
35464
35465fi
35466
35467  fi
35468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
35469$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
35470
35471    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35472      for ac_func in _sincosl
35473do :
35474  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35475if test "x$ac_cv_func__sincosl" = xyes; then :
35476  cat >>confdefs.h <<_ACEOF
35477#define HAVE__SINCOSL 1
35478_ACEOF
35479
35480fi
35481done
35482
35483    fi
35484  fi
35485
35486
35487
35488
35489
35490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35491$as_echo_n "checking for finitel declaration... " >&6; }
35492  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35493    if ${glibcxx_cv_func_finitel_use+:} false; then :
35494  $as_echo_n "(cached) " >&6
35495else
35496
35497
35498      ac_ext=cpp
35499ac_cpp='$CXXCPP $CPPFLAGS'
35500ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35503
35504      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35505/* end confdefs.h.  */
35506#include <math.h>
35507		      #ifdef HAVE_IEEEFP_H
35508		      #include <ieeefp.h>
35509		      #endif
35510
35511int
35512main ()
35513{
35514 finitel(0);
35515  ;
35516  return 0;
35517}
35518_ACEOF
35519if ac_fn_cxx_try_compile "$LINENO"; then :
35520  glibcxx_cv_func_finitel_use=yes
35521else
35522  glibcxx_cv_func_finitel_use=no
35523fi
35524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35525      ac_ext=c
35526ac_cpp='$CPP $CPPFLAGS'
35527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529ac_compiler_gnu=$ac_cv_c_compiler_gnu
35530
35531
35532fi
35533
35534  fi
35535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35536$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35537
35538  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35539    for ac_func in finitel
35540do :
35541  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35542if test "x$ac_cv_func_finitel" = xyes; then :
35543  cat >>confdefs.h <<_ACEOF
35544#define HAVE_FINITEL 1
35545_ACEOF
35546
35547fi
35548done
35549
35550  else
35551
35552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35553$as_echo_n "checking for _finitel declaration... " >&6; }
35554  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35555    if ${glibcxx_cv_func__finitel_use+:} false; then :
35556  $as_echo_n "(cached) " >&6
35557else
35558
35559
35560      ac_ext=cpp
35561ac_cpp='$CXXCPP $CPPFLAGS'
35562ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35563ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35564ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35565
35566      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35567/* end confdefs.h.  */
35568#include <math.h>
35569		      #ifdef HAVE_IEEEFP_H
35570		      #include <ieeefp.h>
35571		      #endif
35572
35573int
35574main ()
35575{
35576 _finitel(0);
35577  ;
35578  return 0;
35579}
35580_ACEOF
35581if ac_fn_cxx_try_compile "$LINENO"; then :
35582  glibcxx_cv_func__finitel_use=yes
35583else
35584  glibcxx_cv_func__finitel_use=no
35585fi
35586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35587      ac_ext=c
35588ac_cpp='$CPP $CPPFLAGS'
35589ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591ac_compiler_gnu=$ac_cv_c_compiler_gnu
35592
35593
35594fi
35595
35596  fi
35597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35598$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35599
35600    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35601      for ac_func in _finitel
35602do :
35603  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35604if test "x$ac_cv_func__finitel" = xyes; then :
35605  cat >>confdefs.h <<_ACEOF
35606#define HAVE__FINITEL 1
35607_ACEOF
35608
35609fi
35610done
35611
35612    fi
35613  fi
35614
35615
35616
35617
35618  LIBS="$ac_save_LIBS"
35619  CXXFLAGS="$ac_save_CXXFLAGS"
35620
35621
35622  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35623  ac_save_CXXFLAGS="$CXXFLAGS"
35624  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35625
35626
35627  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35628$as_echo_n "checking for at_quick_exit declaration... " >&6; }
35629  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35630    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35631  $as_echo_n "(cached) " >&6
35632else
35633
35634
35635      ac_ext=cpp
35636ac_cpp='$CXXCPP $CPPFLAGS'
35637ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35640
35641      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35642/* end confdefs.h.  */
35643#include <stdlib.h>
35644int
35645main ()
35646{
35647 at_quick_exit(0);
35648  ;
35649  return 0;
35650}
35651_ACEOF
35652if ac_fn_cxx_try_compile "$LINENO"; then :
35653  glibcxx_cv_func_at_quick_exit_use=yes
35654else
35655  glibcxx_cv_func_at_quick_exit_use=no
35656fi
35657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35658      ac_ext=c
35659ac_cpp='$CPP $CPPFLAGS'
35660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35662ac_compiler_gnu=$ac_cv_c_compiler_gnu
35663
35664
35665fi
35666
35667  fi
35668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35669$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35670  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35671    for ac_func in at_quick_exit
35672do :
35673  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35674if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35675  cat >>confdefs.h <<_ACEOF
35676#define HAVE_AT_QUICK_EXIT 1
35677_ACEOF
35678
35679fi
35680done
35681
35682  fi
35683
35684
35685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35686$as_echo_n "checking for quick_exit declaration... " >&6; }
35687  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35688    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35689  $as_echo_n "(cached) " >&6
35690else
35691
35692
35693      ac_ext=cpp
35694ac_cpp='$CXXCPP $CPPFLAGS'
35695ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35696ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35697ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35698
35699      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35700/* end confdefs.h.  */
35701#include <stdlib.h>
35702int
35703main ()
35704{
35705 quick_exit(0);
35706  ;
35707  return 0;
35708}
35709_ACEOF
35710if ac_fn_cxx_try_compile "$LINENO"; then :
35711  glibcxx_cv_func_quick_exit_use=yes
35712else
35713  glibcxx_cv_func_quick_exit_use=no
35714fi
35715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35716      ac_ext=c
35717ac_cpp='$CPP $CPPFLAGS'
35718ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720ac_compiler_gnu=$ac_cv_c_compiler_gnu
35721
35722
35723fi
35724
35725  fi
35726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35727$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35728  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35729    for ac_func in quick_exit
35730do :
35731  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35732if test "x$ac_cv_func_quick_exit" = xyes; then :
35733  cat >>confdefs.h <<_ACEOF
35734#define HAVE_QUICK_EXIT 1
35735_ACEOF
35736
35737fi
35738done
35739
35740  fi
35741
35742
35743  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35744$as_echo_n "checking for strtold declaration... " >&6; }
35745  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35746    if ${glibcxx_cv_func_strtold_use+:} false; then :
35747  $as_echo_n "(cached) " >&6
35748else
35749
35750
35751      ac_ext=cpp
35752ac_cpp='$CXXCPP $CPPFLAGS'
35753ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35756
35757      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35758/* end confdefs.h.  */
35759#include <stdlib.h>
35760int
35761main ()
35762{
35763 strtold(0, 0);
35764  ;
35765  return 0;
35766}
35767_ACEOF
35768if ac_fn_cxx_try_compile "$LINENO"; then :
35769  glibcxx_cv_func_strtold_use=yes
35770else
35771  glibcxx_cv_func_strtold_use=no
35772fi
35773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35774      ac_ext=c
35775ac_cpp='$CPP $CPPFLAGS'
35776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35778ac_compiler_gnu=$ac_cv_c_compiler_gnu
35779
35780
35781fi
35782
35783  fi
35784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35785$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35786  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35787    for ac_func in strtold
35788do :
35789  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35790if test "x$ac_cv_func_strtold" = xyes; then :
35791  cat >>confdefs.h <<_ACEOF
35792#define HAVE_STRTOLD 1
35793_ACEOF
35794
35795fi
35796done
35797
35798  fi
35799
35800
35801
35802
35803  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35804$as_echo_n "checking for strtof declaration... " >&6; }
35805  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35806    if ${glibcxx_cv_func_strtof_use+:} false; then :
35807  $as_echo_n "(cached) " >&6
35808else
35809
35810
35811      ac_ext=cpp
35812ac_cpp='$CXXCPP $CPPFLAGS'
35813ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35816
35817      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35818/* end confdefs.h.  */
35819#include <stdlib.h>
35820int
35821main ()
35822{
35823 strtof(0, 0);
35824  ;
35825  return 0;
35826}
35827_ACEOF
35828if ac_fn_cxx_try_compile "$LINENO"; then :
35829  glibcxx_cv_func_strtof_use=yes
35830else
35831  glibcxx_cv_func_strtof_use=no
35832fi
35833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35834      ac_ext=c
35835ac_cpp='$CPP $CPPFLAGS'
35836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838ac_compiler_gnu=$ac_cv_c_compiler_gnu
35839
35840
35841fi
35842
35843  fi
35844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35845$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35846  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35847    for ac_func in strtof
35848do :
35849  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35850if test "x$ac_cv_func_strtof" = xyes; then :
35851  cat >>confdefs.h <<_ACEOF
35852#define HAVE_STRTOF 1
35853_ACEOF
35854
35855fi
35856done
35857
35858  fi
35859
35860
35861
35862
35863  CXXFLAGS="$ac_save_CXXFLAGS"
35864
35865
35866    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35867
35868    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35869
35870    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35871
35872    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35873
35874
35875    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35876
35877    $as_echo "#define HAVE_MODF 1" >>confdefs.h
35878
35879    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35880
35881    ;;
35882
35883  *-aix*)
35884
35885  # If we're not using GNU ld, then there's no point in even trying these
35886  # tests.  Check for that first.  We should have already tested for gld
35887  # by now (in libtool), but require it now just to be safe...
35888  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35889  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35890
35891
35892
35893  # The name set by libtool depends on the version of libtool.  Shame on us
35894  # for depending on an impl detail, but c'est la vie.  Older versions used
35895  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35896  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35897  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
35898  # set (hence we're using an older libtool), then set it.
35899  if test x${with_gnu_ld+set} != xset; then
35900    if test x${ac_cv_prog_gnu_ld+set} != xset; then
35901      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
35902      with_gnu_ld=no
35903    else
35904      with_gnu_ld=$ac_cv_prog_gnu_ld
35905    fi
35906  fi
35907
35908  # Start by getting the version number.  I think the libtool test already
35909  # does some of this, but throws away the result.
35910  glibcxx_ld_is_gold=no
35911  if test x"$with_gnu_ld" = x"yes"; then
35912    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35913$as_echo_n "checking for ld version... " >&6; }
35914
35915    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35916      glibcxx_ld_is_gold=yes
35917    fi
35918    ldver=`$LD --version 2>/dev/null |
35919	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35920
35921    glibcxx_gnu_ld_version=`echo $ldver | \
35922	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35923    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35924$as_echo "$glibcxx_gnu_ld_version" >&6; }
35925  fi
35926
35927  # Set --gc-sections.
35928  glibcxx_have_gc_sections=no
35929  if test "$glibcxx_ld_is_gold" = "yes"; then
35930    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35931      glibcxx_have_gc_sections=yes
35932    fi
35933  else
35934    glibcxx_gcsections_min_ld=21602
35935    if test x"$with_gnu_ld" = x"yes" &&
35936	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35937      glibcxx_have_gc_sections=yes
35938    fi
35939  fi
35940  if test "$glibcxx_have_gc_sections" = "yes"; then
35941    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
35942    # NB: This flag only works reliably after 2.16.1. Configure tests
35943    # for this are difficult, so hard wire a value that should work.
35944
35945    ac_test_CFLAGS="${CFLAGS+set}"
35946    ac_save_CFLAGS="$CFLAGS"
35947    CFLAGS='-Wl,--gc-sections'
35948
35949    # Check for -Wl,--gc-sections
35950    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35951$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35952    if test x$gcc_no_link = xyes; then
35953  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35954fi
35955cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35956/* end confdefs.h.  */
35957 int one(void) { return 1; }
35958     int two(void) { return 2; }
35959
35960int
35961main ()
35962{
35963 two();
35964  ;
35965  return 0;
35966}
35967_ACEOF
35968if ac_fn_c_try_link "$LINENO"; then :
35969  ac_gcsections=yes
35970else
35971  ac_gcsections=no
35972fi
35973rm -f core conftest.err conftest.$ac_objext \
35974    conftest$ac_exeext conftest.$ac_ext
35975    if test "$ac_gcsections" = "yes"; then
35976      rm -f conftest.c
35977      touch conftest.c
35978      if $CC -c conftest.c; then
35979	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35980	   grep "Warning: gc-sections option ignored" > /dev/null; then
35981	  ac_gcsections=no
35982	fi
35983      fi
35984      rm -f conftest.c conftest.o conftest
35985    fi
35986    if test "$ac_gcsections" = "yes"; then
35987      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35988    fi
35989    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35990$as_echo "$ac_gcsections" >&6; }
35991
35992    if test "$ac_test_CFLAGS" = set; then
35993      CFLAGS="$ac_save_CFLAGS"
35994    else
35995      # this is the suspicious part
35996      CFLAGS=''
35997    fi
35998  fi
35999
36000  # Set -z,relro.
36001  # Note this is only for shared objects.
36002  ac_ld_relro=no
36003  if test x"$with_gnu_ld" = x"yes"; then
36004    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
36005$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
36006    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
36007    if test -n "$cxx_z_relo"; then
36008      OPT_LDFLAGS="-Wl,-z,relro"
36009      ac_ld_relro=yes
36010    fi
36011    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
36012$as_echo "$ac_ld_relro" >&6; }
36013  fi
36014
36015  # Set linker optimization flags.
36016  if test x"$with_gnu_ld" = x"yes"; then
36017    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
36018  fi
36019
36020
36021
36022
36023
36024  ac_test_CXXFLAGS="${CXXFLAGS+set}"
36025  ac_save_CXXFLAGS="$CXXFLAGS"
36026  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
36027
36028    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
36029$as_echo_n "checking for sin in -lm... " >&6; }
36030if ${ac_cv_lib_m_sin+:} false; then :
36031  $as_echo_n "(cached) " >&6
36032else
36033  ac_check_lib_save_LIBS=$LIBS
36034LIBS="-lm  $LIBS"
36035if test x$gcc_no_link = xyes; then
36036  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
36037fi
36038cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36039/* end confdefs.h.  */
36040
36041/* Override any GCC internal prototype to avoid an error.
36042   Use char because int might match the return type of a GCC
36043   builtin and then its argument prototype would still apply.  */
36044#ifdef __cplusplus
36045extern "C"
36046#endif
36047char sin ();
36048int
36049main ()
36050{
36051return sin ();
36052  ;
36053  return 0;
36054}
36055_ACEOF
36056if ac_fn_c_try_link "$LINENO"; then :
36057  ac_cv_lib_m_sin=yes
36058else
36059  ac_cv_lib_m_sin=no
36060fi
36061rm -f core conftest.err conftest.$ac_objext \
36062    conftest$ac_exeext conftest.$ac_ext
36063LIBS=$ac_check_lib_save_LIBS
36064fi
36065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
36066$as_echo "$ac_cv_lib_m_sin" >&6; }
36067if test "x$ac_cv_lib_m_sin" = xyes; then :
36068  libm="-lm"
36069fi
36070
36071  ac_save_LIBS="$LIBS"
36072  LIBS="$LIBS $libm"
36073
36074
36075
36076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
36077$as_echo_n "checking for isinf declaration... " >&6; }
36078  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
36079    if ${glibcxx_cv_func_isinf_use+:} false; then :
36080  $as_echo_n "(cached) " >&6
36081else
36082
36083
36084      ac_ext=cpp
36085ac_cpp='$CXXCPP $CPPFLAGS'
36086ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36089
36090      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36091/* end confdefs.h.  */
36092#include <math.h>
36093		      #ifdef HAVE_IEEEFP_H
36094		      #include <ieeefp.h>
36095		      #endif
36096
36097int
36098main ()
36099{
36100 isinf(0);
36101  ;
36102  return 0;
36103}
36104_ACEOF
36105if ac_fn_cxx_try_compile "$LINENO"; then :
36106  glibcxx_cv_func_isinf_use=yes
36107else
36108  glibcxx_cv_func_isinf_use=no
36109fi
36110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36111      ac_ext=c
36112ac_cpp='$CPP $CPPFLAGS'
36113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115ac_compiler_gnu=$ac_cv_c_compiler_gnu
36116
36117
36118fi
36119
36120  fi
36121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
36122$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
36123
36124  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
36125    for ac_func in isinf
36126do :
36127  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
36128if test "x$ac_cv_func_isinf" = xyes; then :
36129  cat >>confdefs.h <<_ACEOF
36130#define HAVE_ISINF 1
36131_ACEOF
36132
36133fi
36134done
36135
36136  else
36137
36138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
36139$as_echo_n "checking for _isinf declaration... " >&6; }
36140  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
36141    if ${glibcxx_cv_func__isinf_use+:} false; then :
36142  $as_echo_n "(cached) " >&6
36143else
36144
36145
36146      ac_ext=cpp
36147ac_cpp='$CXXCPP $CPPFLAGS'
36148ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36149ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36150ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36151
36152      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36153/* end confdefs.h.  */
36154#include <math.h>
36155		      #ifdef HAVE_IEEEFP_H
36156		      #include <ieeefp.h>
36157		      #endif
36158
36159int
36160main ()
36161{
36162 _isinf(0);
36163  ;
36164  return 0;
36165}
36166_ACEOF
36167if ac_fn_cxx_try_compile "$LINENO"; then :
36168  glibcxx_cv_func__isinf_use=yes
36169else
36170  glibcxx_cv_func__isinf_use=no
36171fi
36172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36173      ac_ext=c
36174ac_cpp='$CPP $CPPFLAGS'
36175ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36176ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36177ac_compiler_gnu=$ac_cv_c_compiler_gnu
36178
36179
36180fi
36181
36182  fi
36183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
36184$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
36185
36186    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
36187      for ac_func in _isinf
36188do :
36189  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
36190if test "x$ac_cv_func__isinf" = xyes; then :
36191  cat >>confdefs.h <<_ACEOF
36192#define HAVE__ISINF 1
36193_ACEOF
36194
36195fi
36196done
36197
36198    fi
36199  fi
36200
36201
36202
36203
36204
36205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
36206$as_echo_n "checking for isnan declaration... " >&6; }
36207  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
36208    if ${glibcxx_cv_func_isnan_use+:} false; then :
36209  $as_echo_n "(cached) " >&6
36210else
36211
36212
36213      ac_ext=cpp
36214ac_cpp='$CXXCPP $CPPFLAGS'
36215ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36216ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36217ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36218
36219      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36220/* end confdefs.h.  */
36221#include <math.h>
36222		      #ifdef HAVE_IEEEFP_H
36223		      #include <ieeefp.h>
36224		      #endif
36225
36226int
36227main ()
36228{
36229 isnan(0);
36230  ;
36231  return 0;
36232}
36233_ACEOF
36234if ac_fn_cxx_try_compile "$LINENO"; then :
36235  glibcxx_cv_func_isnan_use=yes
36236else
36237  glibcxx_cv_func_isnan_use=no
36238fi
36239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240      ac_ext=c
36241ac_cpp='$CPP $CPPFLAGS'
36242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244ac_compiler_gnu=$ac_cv_c_compiler_gnu
36245
36246
36247fi
36248
36249  fi
36250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
36251$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
36252
36253  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
36254    for ac_func in isnan
36255do :
36256  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
36257if test "x$ac_cv_func_isnan" = xyes; then :
36258  cat >>confdefs.h <<_ACEOF
36259#define HAVE_ISNAN 1
36260_ACEOF
36261
36262fi
36263done
36264
36265  else
36266
36267  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
36268$as_echo_n "checking for _isnan declaration... " >&6; }
36269  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
36270    if ${glibcxx_cv_func__isnan_use+:} false; then :
36271  $as_echo_n "(cached) " >&6
36272else
36273
36274
36275      ac_ext=cpp
36276ac_cpp='$CXXCPP $CPPFLAGS'
36277ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36280
36281      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36282/* end confdefs.h.  */
36283#include <math.h>
36284		      #ifdef HAVE_IEEEFP_H
36285		      #include <ieeefp.h>
36286		      #endif
36287
36288int
36289main ()
36290{
36291 _isnan(0);
36292  ;
36293  return 0;
36294}
36295_ACEOF
36296if ac_fn_cxx_try_compile "$LINENO"; then :
36297  glibcxx_cv_func__isnan_use=yes
36298else
36299  glibcxx_cv_func__isnan_use=no
36300fi
36301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36302      ac_ext=c
36303ac_cpp='$CPP $CPPFLAGS'
36304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306ac_compiler_gnu=$ac_cv_c_compiler_gnu
36307
36308
36309fi
36310
36311  fi
36312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
36313$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
36314
36315    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
36316      for ac_func in _isnan
36317do :
36318  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
36319if test "x$ac_cv_func__isnan" = xyes; then :
36320  cat >>confdefs.h <<_ACEOF
36321#define HAVE__ISNAN 1
36322_ACEOF
36323
36324fi
36325done
36326
36327    fi
36328  fi
36329
36330
36331
36332
36333
36334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
36335$as_echo_n "checking for finite declaration... " >&6; }
36336  if test x${glibcxx_cv_func_finite_use+set} != xset; then
36337    if ${glibcxx_cv_func_finite_use+:} false; then :
36338  $as_echo_n "(cached) " >&6
36339else
36340
36341
36342      ac_ext=cpp
36343ac_cpp='$CXXCPP $CPPFLAGS'
36344ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36347
36348      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36349/* end confdefs.h.  */
36350#include <math.h>
36351		      #ifdef HAVE_IEEEFP_H
36352		      #include <ieeefp.h>
36353		      #endif
36354
36355int
36356main ()
36357{
36358 finite(0);
36359  ;
36360  return 0;
36361}
36362_ACEOF
36363if ac_fn_cxx_try_compile "$LINENO"; then :
36364  glibcxx_cv_func_finite_use=yes
36365else
36366  glibcxx_cv_func_finite_use=no
36367fi
36368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369      ac_ext=c
36370ac_cpp='$CPP $CPPFLAGS'
36371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373ac_compiler_gnu=$ac_cv_c_compiler_gnu
36374
36375
36376fi
36377
36378  fi
36379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
36380$as_echo "$glibcxx_cv_func_finite_use" >&6; }
36381
36382  if test x$glibcxx_cv_func_finite_use = x"yes"; then
36383    for ac_func in finite
36384do :
36385  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
36386if test "x$ac_cv_func_finite" = xyes; then :
36387  cat >>confdefs.h <<_ACEOF
36388#define HAVE_FINITE 1
36389_ACEOF
36390
36391fi
36392done
36393
36394  else
36395
36396  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
36397$as_echo_n "checking for _finite declaration... " >&6; }
36398  if test x${glibcxx_cv_func__finite_use+set} != xset; then
36399    if ${glibcxx_cv_func__finite_use+:} false; then :
36400  $as_echo_n "(cached) " >&6
36401else
36402
36403
36404      ac_ext=cpp
36405ac_cpp='$CXXCPP $CPPFLAGS'
36406ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36409
36410      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36411/* end confdefs.h.  */
36412#include <math.h>
36413		      #ifdef HAVE_IEEEFP_H
36414		      #include <ieeefp.h>
36415		      #endif
36416
36417int
36418main ()
36419{
36420 _finite(0);
36421  ;
36422  return 0;
36423}
36424_ACEOF
36425if ac_fn_cxx_try_compile "$LINENO"; then :
36426  glibcxx_cv_func__finite_use=yes
36427else
36428  glibcxx_cv_func__finite_use=no
36429fi
36430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36431      ac_ext=c
36432ac_cpp='$CPP $CPPFLAGS'
36433ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435ac_compiler_gnu=$ac_cv_c_compiler_gnu
36436
36437
36438fi
36439
36440  fi
36441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
36442$as_echo "$glibcxx_cv_func__finite_use" >&6; }
36443
36444    if test x$glibcxx_cv_func__finite_use = x"yes"; then
36445      for ac_func in _finite
36446do :
36447  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
36448if test "x$ac_cv_func__finite" = xyes; then :
36449  cat >>confdefs.h <<_ACEOF
36450#define HAVE__FINITE 1
36451_ACEOF
36452
36453fi
36454done
36455
36456    fi
36457  fi
36458
36459
36460
36461
36462
36463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36464$as_echo_n "checking for sincos declaration... " >&6; }
36465  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36466    if ${glibcxx_cv_func_sincos_use+:} false; then :
36467  $as_echo_n "(cached) " >&6
36468else
36469
36470
36471      ac_ext=cpp
36472ac_cpp='$CXXCPP $CPPFLAGS'
36473ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36476
36477      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36478/* end confdefs.h.  */
36479#include <math.h>
36480int
36481main ()
36482{
36483 sincos(0, 0, 0);
36484  ;
36485  return 0;
36486}
36487_ACEOF
36488if ac_fn_cxx_try_compile "$LINENO"; then :
36489  glibcxx_cv_func_sincos_use=yes
36490else
36491  glibcxx_cv_func_sincos_use=no
36492fi
36493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36494      ac_ext=c
36495ac_cpp='$CPP $CPPFLAGS'
36496ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36497ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36498ac_compiler_gnu=$ac_cv_c_compiler_gnu
36499
36500
36501fi
36502
36503  fi
36504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36505$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36506
36507  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36508    for ac_func in sincos
36509do :
36510  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36511if test "x$ac_cv_func_sincos" = xyes; then :
36512  cat >>confdefs.h <<_ACEOF
36513#define HAVE_SINCOS 1
36514_ACEOF
36515
36516fi
36517done
36518
36519  else
36520
36521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36522$as_echo_n "checking for _sincos declaration... " >&6; }
36523  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36524    if ${glibcxx_cv_func__sincos_use+:} false; then :
36525  $as_echo_n "(cached) " >&6
36526else
36527
36528
36529      ac_ext=cpp
36530ac_cpp='$CXXCPP $CPPFLAGS'
36531ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36534
36535      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36536/* end confdefs.h.  */
36537#include <math.h>
36538int
36539main ()
36540{
36541 _sincos(0, 0, 0);
36542  ;
36543  return 0;
36544}
36545_ACEOF
36546if ac_fn_cxx_try_compile "$LINENO"; then :
36547  glibcxx_cv_func__sincos_use=yes
36548else
36549  glibcxx_cv_func__sincos_use=no
36550fi
36551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36552      ac_ext=c
36553ac_cpp='$CPP $CPPFLAGS'
36554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556ac_compiler_gnu=$ac_cv_c_compiler_gnu
36557
36558
36559fi
36560
36561  fi
36562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36563$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36564
36565    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36566      for ac_func in _sincos
36567do :
36568  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36569if test "x$ac_cv_func__sincos" = xyes; then :
36570  cat >>confdefs.h <<_ACEOF
36571#define HAVE__SINCOS 1
36572_ACEOF
36573
36574fi
36575done
36576
36577    fi
36578  fi
36579
36580
36581
36582
36583
36584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36585$as_echo_n "checking for fpclass declaration... " >&6; }
36586  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36587    if ${glibcxx_cv_func_fpclass_use+:} false; then :
36588  $as_echo_n "(cached) " >&6
36589else
36590
36591
36592      ac_ext=cpp
36593ac_cpp='$CXXCPP $CPPFLAGS'
36594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36597
36598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36599/* end confdefs.h.  */
36600#include <math.h>
36601		      #ifdef HAVE_IEEEFP_H
36602		      #include <ieeefp.h>
36603		      #endif
36604
36605int
36606main ()
36607{
36608 fpclass(0);
36609  ;
36610  return 0;
36611}
36612_ACEOF
36613if ac_fn_cxx_try_compile "$LINENO"; then :
36614  glibcxx_cv_func_fpclass_use=yes
36615else
36616  glibcxx_cv_func_fpclass_use=no
36617fi
36618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36619      ac_ext=c
36620ac_cpp='$CPP $CPPFLAGS'
36621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623ac_compiler_gnu=$ac_cv_c_compiler_gnu
36624
36625
36626fi
36627
36628  fi
36629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36630$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36631
36632  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36633    for ac_func in fpclass
36634do :
36635  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36636if test "x$ac_cv_func_fpclass" = xyes; then :
36637  cat >>confdefs.h <<_ACEOF
36638#define HAVE_FPCLASS 1
36639_ACEOF
36640
36641fi
36642done
36643
36644  else
36645
36646  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36647$as_echo_n "checking for _fpclass declaration... " >&6; }
36648  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36649    if ${glibcxx_cv_func__fpclass_use+:} false; then :
36650  $as_echo_n "(cached) " >&6
36651else
36652
36653
36654      ac_ext=cpp
36655ac_cpp='$CXXCPP $CPPFLAGS'
36656ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36659
36660      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36661/* end confdefs.h.  */
36662#include <math.h>
36663		      #ifdef HAVE_IEEEFP_H
36664		      #include <ieeefp.h>
36665		      #endif
36666
36667int
36668main ()
36669{
36670 _fpclass(0);
36671  ;
36672  return 0;
36673}
36674_ACEOF
36675if ac_fn_cxx_try_compile "$LINENO"; then :
36676  glibcxx_cv_func__fpclass_use=yes
36677else
36678  glibcxx_cv_func__fpclass_use=no
36679fi
36680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36681      ac_ext=c
36682ac_cpp='$CPP $CPPFLAGS'
36683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36685ac_compiler_gnu=$ac_cv_c_compiler_gnu
36686
36687
36688fi
36689
36690  fi
36691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36692$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36693
36694    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36695      for ac_func in _fpclass
36696do :
36697  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36698if test "x$ac_cv_func__fpclass" = xyes; then :
36699  cat >>confdefs.h <<_ACEOF
36700#define HAVE__FPCLASS 1
36701_ACEOF
36702
36703fi
36704done
36705
36706    fi
36707  fi
36708
36709
36710
36711
36712
36713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36714$as_echo_n "checking for qfpclass declaration... " >&6; }
36715  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36716    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36717  $as_echo_n "(cached) " >&6
36718else
36719
36720
36721      ac_ext=cpp
36722ac_cpp='$CXXCPP $CPPFLAGS'
36723ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36724ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36725ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36726
36727      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36728/* end confdefs.h.  */
36729#include <math.h>
36730		      #ifdef HAVE_IEEEFP_H
36731		      #include <ieeefp.h>
36732		      #endif
36733
36734int
36735main ()
36736{
36737 qfpclass(0);
36738  ;
36739  return 0;
36740}
36741_ACEOF
36742if ac_fn_cxx_try_compile "$LINENO"; then :
36743  glibcxx_cv_func_qfpclass_use=yes
36744else
36745  glibcxx_cv_func_qfpclass_use=no
36746fi
36747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36748      ac_ext=c
36749ac_cpp='$CPP $CPPFLAGS'
36750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36752ac_compiler_gnu=$ac_cv_c_compiler_gnu
36753
36754
36755fi
36756
36757  fi
36758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36759$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36760
36761  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36762    for ac_func in qfpclass
36763do :
36764  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36765if test "x$ac_cv_func_qfpclass" = xyes; then :
36766  cat >>confdefs.h <<_ACEOF
36767#define HAVE_QFPCLASS 1
36768_ACEOF
36769
36770fi
36771done
36772
36773  else
36774
36775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36776$as_echo_n "checking for _qfpclass declaration... " >&6; }
36777  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36778    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36779  $as_echo_n "(cached) " >&6
36780else
36781
36782
36783      ac_ext=cpp
36784ac_cpp='$CXXCPP $CPPFLAGS'
36785ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36786ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36787ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36788
36789      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36790/* end confdefs.h.  */
36791#include <math.h>
36792		      #ifdef HAVE_IEEEFP_H
36793		      #include <ieeefp.h>
36794		      #endif
36795
36796int
36797main ()
36798{
36799 _qfpclass(0);
36800  ;
36801  return 0;
36802}
36803_ACEOF
36804if ac_fn_cxx_try_compile "$LINENO"; then :
36805  glibcxx_cv_func__qfpclass_use=yes
36806else
36807  glibcxx_cv_func__qfpclass_use=no
36808fi
36809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36810      ac_ext=c
36811ac_cpp='$CPP $CPPFLAGS'
36812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36814ac_compiler_gnu=$ac_cv_c_compiler_gnu
36815
36816
36817fi
36818
36819  fi
36820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36821$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36822
36823    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36824      for ac_func in _qfpclass
36825do :
36826  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36827if test "x$ac_cv_func__qfpclass" = xyes; then :
36828  cat >>confdefs.h <<_ACEOF
36829#define HAVE__QFPCLASS 1
36830_ACEOF
36831
36832fi
36833done
36834
36835    fi
36836  fi
36837
36838
36839
36840
36841
36842  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36843$as_echo_n "checking for hypot declaration... " >&6; }
36844  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36845    if ${glibcxx_cv_func_hypot_use+:} false; then :
36846  $as_echo_n "(cached) " >&6
36847else
36848
36849
36850      ac_ext=cpp
36851ac_cpp='$CXXCPP $CPPFLAGS'
36852ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36853ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36854ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36855
36856      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36857/* end confdefs.h.  */
36858#include <math.h>
36859int
36860main ()
36861{
36862 hypot(0, 0);
36863  ;
36864  return 0;
36865}
36866_ACEOF
36867if ac_fn_cxx_try_compile "$LINENO"; then :
36868  glibcxx_cv_func_hypot_use=yes
36869else
36870  glibcxx_cv_func_hypot_use=no
36871fi
36872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36873      ac_ext=c
36874ac_cpp='$CPP $CPPFLAGS'
36875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36877ac_compiler_gnu=$ac_cv_c_compiler_gnu
36878
36879
36880fi
36881
36882  fi
36883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36884$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36885
36886  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36887    for ac_func in hypot
36888do :
36889  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36890if test "x$ac_cv_func_hypot" = xyes; then :
36891  cat >>confdefs.h <<_ACEOF
36892#define HAVE_HYPOT 1
36893_ACEOF
36894
36895fi
36896done
36897
36898  else
36899
36900  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36901$as_echo_n "checking for _hypot declaration... " >&6; }
36902  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36903    if ${glibcxx_cv_func__hypot_use+:} false; then :
36904  $as_echo_n "(cached) " >&6
36905else
36906
36907
36908      ac_ext=cpp
36909ac_cpp='$CXXCPP $CPPFLAGS'
36910ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36911ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36912ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36913
36914      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36915/* end confdefs.h.  */
36916#include <math.h>
36917int
36918main ()
36919{
36920 _hypot(0, 0);
36921  ;
36922  return 0;
36923}
36924_ACEOF
36925if ac_fn_cxx_try_compile "$LINENO"; then :
36926  glibcxx_cv_func__hypot_use=yes
36927else
36928  glibcxx_cv_func__hypot_use=no
36929fi
36930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36931      ac_ext=c
36932ac_cpp='$CPP $CPPFLAGS'
36933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36935ac_compiler_gnu=$ac_cv_c_compiler_gnu
36936
36937
36938fi
36939
36940  fi
36941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36942$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36943
36944    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36945      for ac_func in _hypot
36946do :
36947  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36948if test "x$ac_cv_func__hypot" = xyes; then :
36949  cat >>confdefs.h <<_ACEOF
36950#define HAVE__HYPOT 1
36951_ACEOF
36952
36953fi
36954done
36955
36956    fi
36957  fi
36958
36959
36960
36961
36962
36963    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36964$as_echo_n "checking for float trig functions... " >&6; }
36965  if ${glibcxx_cv_func_float_trig_use+:} false; then :
36966  $as_echo_n "(cached) " >&6
36967else
36968
36969
36970    ac_ext=cpp
36971ac_cpp='$CXXCPP $CPPFLAGS'
36972ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36973ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36974ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36975
36976    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36977/* end confdefs.h.  */
36978#include <math.h>
36979int
36980main ()
36981{
36982acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36983  ;
36984  return 0;
36985}
36986_ACEOF
36987if ac_fn_cxx_try_compile "$LINENO"; then :
36988  glibcxx_cv_func_float_trig_use=yes
36989else
36990  glibcxx_cv_func_float_trig_use=no
36991fi
36992rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36993    ac_ext=c
36994ac_cpp='$CPP $CPPFLAGS'
36995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36997ac_compiler_gnu=$ac_cv_c_compiler_gnu
36998
36999fi
37000
37001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
37002$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
37003  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
37004    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
37005do :
37006  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37007ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37008if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37009  cat >>confdefs.h <<_ACEOF
37010#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37011_ACEOF
37012
37013fi
37014done
37015
37016  else
37017    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
37018$as_echo_n "checking for _float trig functions... " >&6; }
37019    if ${glibcxx_cv_func__float_trig_use+:} false; then :
37020  $as_echo_n "(cached) " >&6
37021else
37022
37023
37024      ac_ext=cpp
37025ac_cpp='$CXXCPP $CPPFLAGS'
37026ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37027ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37028ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37029
37030      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37031/* end confdefs.h.  */
37032#include <math.h>
37033int
37034main ()
37035{
37036_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
37037  ;
37038  return 0;
37039}
37040_ACEOF
37041if ac_fn_cxx_try_compile "$LINENO"; then :
37042  glibcxx_cv_func__float_trig_use=yes
37043else
37044  glibcxx_cv_func__float_trig_use=no
37045fi
37046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37047      ac_ext=c
37048ac_cpp='$CPP $CPPFLAGS'
37049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051ac_compiler_gnu=$ac_cv_c_compiler_gnu
37052
37053fi
37054
37055    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
37056$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
37057    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
37058      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
37059do :
37060  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37061ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37062if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37063  cat >>confdefs.h <<_ACEOF
37064#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37065_ACEOF
37066
37067fi
37068done
37069
37070    fi
37071  fi
37072
37073
37074
37075
37076
37077    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
37078$as_echo_n "checking for float round functions... " >&6; }
37079  if ${glibcxx_cv_func_float_round_use+:} false; then :
37080  $as_echo_n "(cached) " >&6
37081else
37082
37083
37084    ac_ext=cpp
37085ac_cpp='$CXXCPP $CPPFLAGS'
37086ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37087ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37088ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37089
37090    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37091/* end confdefs.h.  */
37092#include <math.h>
37093int
37094main ()
37095{
37096ceilf (0); floorf (0);
37097  ;
37098  return 0;
37099}
37100_ACEOF
37101if ac_fn_cxx_try_compile "$LINENO"; then :
37102  glibcxx_cv_func_float_round_use=yes
37103else
37104  glibcxx_cv_func_float_round_use=no
37105fi
37106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37107    ac_ext=c
37108ac_cpp='$CPP $CPPFLAGS'
37109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37111ac_compiler_gnu=$ac_cv_c_compiler_gnu
37112
37113fi
37114
37115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
37116$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
37117  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
37118    for ac_func in ceilf floorf
37119do :
37120  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37121ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37122if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37123  cat >>confdefs.h <<_ACEOF
37124#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37125_ACEOF
37126
37127fi
37128done
37129
37130  else
37131    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
37132$as_echo_n "checking for _float round functions... " >&6; }
37133    if ${glibcxx_cv_func__float_round_use+:} false; then :
37134  $as_echo_n "(cached) " >&6
37135else
37136
37137
37138      ac_ext=cpp
37139ac_cpp='$CXXCPP $CPPFLAGS'
37140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37143
37144      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37145/* end confdefs.h.  */
37146#include <math.h>
37147int
37148main ()
37149{
37150_ceilf (0); _floorf (0);
37151  ;
37152  return 0;
37153}
37154_ACEOF
37155if ac_fn_cxx_try_compile "$LINENO"; then :
37156  glibcxx_cv_func__float_round_use=yes
37157else
37158  glibcxx_cv_func__float_round_use=no
37159fi
37160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37161      ac_ext=c
37162ac_cpp='$CPP $CPPFLAGS'
37163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165ac_compiler_gnu=$ac_cv_c_compiler_gnu
37166
37167fi
37168
37169    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
37170$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
37171    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
37172      for ac_func in _ceilf _floorf
37173do :
37174  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37175ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37176if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37177  cat >>confdefs.h <<_ACEOF
37178#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37179_ACEOF
37180
37181fi
37182done
37183
37184    fi
37185  fi
37186
37187
37188
37189
37190
37191
37192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
37193$as_echo_n "checking for expf declaration... " >&6; }
37194  if test x${glibcxx_cv_func_expf_use+set} != xset; then
37195    if ${glibcxx_cv_func_expf_use+:} false; then :
37196  $as_echo_n "(cached) " >&6
37197else
37198
37199
37200      ac_ext=cpp
37201ac_cpp='$CXXCPP $CPPFLAGS'
37202ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37205
37206      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37207/* end confdefs.h.  */
37208#include <math.h>
37209		      #ifdef HAVE_IEEEFP_H
37210		      #include <ieeefp.h>
37211		      #endif
37212
37213int
37214main ()
37215{
37216 expf(0);
37217  ;
37218  return 0;
37219}
37220_ACEOF
37221if ac_fn_cxx_try_compile "$LINENO"; then :
37222  glibcxx_cv_func_expf_use=yes
37223else
37224  glibcxx_cv_func_expf_use=no
37225fi
37226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37227      ac_ext=c
37228ac_cpp='$CPP $CPPFLAGS'
37229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231ac_compiler_gnu=$ac_cv_c_compiler_gnu
37232
37233
37234fi
37235
37236  fi
37237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
37238$as_echo "$glibcxx_cv_func_expf_use" >&6; }
37239
37240  if test x$glibcxx_cv_func_expf_use = x"yes"; then
37241    for ac_func in expf
37242do :
37243  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
37244if test "x$ac_cv_func_expf" = xyes; then :
37245  cat >>confdefs.h <<_ACEOF
37246#define HAVE_EXPF 1
37247_ACEOF
37248
37249fi
37250done
37251
37252  else
37253
37254  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
37255$as_echo_n "checking for _expf declaration... " >&6; }
37256  if test x${glibcxx_cv_func__expf_use+set} != xset; then
37257    if ${glibcxx_cv_func__expf_use+:} false; then :
37258  $as_echo_n "(cached) " >&6
37259else
37260
37261
37262      ac_ext=cpp
37263ac_cpp='$CXXCPP $CPPFLAGS'
37264ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37265ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37266ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37267
37268      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37269/* end confdefs.h.  */
37270#include <math.h>
37271		      #ifdef HAVE_IEEEFP_H
37272		      #include <ieeefp.h>
37273		      #endif
37274
37275int
37276main ()
37277{
37278 _expf(0);
37279  ;
37280  return 0;
37281}
37282_ACEOF
37283if ac_fn_cxx_try_compile "$LINENO"; then :
37284  glibcxx_cv_func__expf_use=yes
37285else
37286  glibcxx_cv_func__expf_use=no
37287fi
37288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37289      ac_ext=c
37290ac_cpp='$CPP $CPPFLAGS'
37291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293ac_compiler_gnu=$ac_cv_c_compiler_gnu
37294
37295
37296fi
37297
37298  fi
37299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
37300$as_echo "$glibcxx_cv_func__expf_use" >&6; }
37301
37302    if test x$glibcxx_cv_func__expf_use = x"yes"; then
37303      for ac_func in _expf
37304do :
37305  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
37306if test "x$ac_cv_func__expf" = xyes; then :
37307  cat >>confdefs.h <<_ACEOF
37308#define HAVE__EXPF 1
37309_ACEOF
37310
37311fi
37312done
37313
37314    fi
37315  fi
37316
37317
37318
37319
37320
37321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
37322$as_echo_n "checking for isnanf declaration... " >&6; }
37323  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37324    if ${glibcxx_cv_func_isnanf_use+:} false; then :
37325  $as_echo_n "(cached) " >&6
37326else
37327
37328
37329      ac_ext=cpp
37330ac_cpp='$CXXCPP $CPPFLAGS'
37331ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37332ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37333ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37334
37335      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37336/* end confdefs.h.  */
37337#include <math.h>
37338		      #ifdef HAVE_IEEEFP_H
37339		      #include <ieeefp.h>
37340		      #endif
37341
37342int
37343main ()
37344{
37345 isnanf(0);
37346  ;
37347  return 0;
37348}
37349_ACEOF
37350if ac_fn_cxx_try_compile "$LINENO"; then :
37351  glibcxx_cv_func_isnanf_use=yes
37352else
37353  glibcxx_cv_func_isnanf_use=no
37354fi
37355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37356      ac_ext=c
37357ac_cpp='$CPP $CPPFLAGS'
37358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360ac_compiler_gnu=$ac_cv_c_compiler_gnu
37361
37362
37363fi
37364
37365  fi
37366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
37367$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
37368
37369  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37370    for ac_func in isnanf
37371do :
37372  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
37373if test "x$ac_cv_func_isnanf" = xyes; then :
37374  cat >>confdefs.h <<_ACEOF
37375#define HAVE_ISNANF 1
37376_ACEOF
37377
37378fi
37379done
37380
37381  else
37382
37383  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
37384$as_echo_n "checking for _isnanf declaration... " >&6; }
37385  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37386    if ${glibcxx_cv_func__isnanf_use+:} false; then :
37387  $as_echo_n "(cached) " >&6
37388else
37389
37390
37391      ac_ext=cpp
37392ac_cpp='$CXXCPP $CPPFLAGS'
37393ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37394ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37395ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37396
37397      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37398/* end confdefs.h.  */
37399#include <math.h>
37400		      #ifdef HAVE_IEEEFP_H
37401		      #include <ieeefp.h>
37402		      #endif
37403
37404int
37405main ()
37406{
37407 _isnanf(0);
37408  ;
37409  return 0;
37410}
37411_ACEOF
37412if ac_fn_cxx_try_compile "$LINENO"; then :
37413  glibcxx_cv_func__isnanf_use=yes
37414else
37415  glibcxx_cv_func__isnanf_use=no
37416fi
37417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37418      ac_ext=c
37419ac_cpp='$CPP $CPPFLAGS'
37420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422ac_compiler_gnu=$ac_cv_c_compiler_gnu
37423
37424
37425fi
37426
37427  fi
37428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
37429$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
37430
37431    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37432      for ac_func in _isnanf
37433do :
37434  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
37435if test "x$ac_cv_func__isnanf" = xyes; then :
37436  cat >>confdefs.h <<_ACEOF
37437#define HAVE__ISNANF 1
37438_ACEOF
37439
37440fi
37441done
37442
37443    fi
37444  fi
37445
37446
37447
37448
37449
37450  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
37451$as_echo_n "checking for isinff declaration... " >&6; }
37452  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37453    if ${glibcxx_cv_func_isinff_use+:} false; then :
37454  $as_echo_n "(cached) " >&6
37455else
37456
37457
37458      ac_ext=cpp
37459ac_cpp='$CXXCPP $CPPFLAGS'
37460ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37461ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37462ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37463
37464      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37465/* end confdefs.h.  */
37466#include <math.h>
37467		      #ifdef HAVE_IEEEFP_H
37468		      #include <ieeefp.h>
37469		      #endif
37470
37471int
37472main ()
37473{
37474 isinff(0);
37475  ;
37476  return 0;
37477}
37478_ACEOF
37479if ac_fn_cxx_try_compile "$LINENO"; then :
37480  glibcxx_cv_func_isinff_use=yes
37481else
37482  glibcxx_cv_func_isinff_use=no
37483fi
37484rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37485      ac_ext=c
37486ac_cpp='$CPP $CPPFLAGS'
37487ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37488ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37489ac_compiler_gnu=$ac_cv_c_compiler_gnu
37490
37491
37492fi
37493
37494  fi
37495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37496$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37497
37498  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37499    for ac_func in isinff
37500do :
37501  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37502if test "x$ac_cv_func_isinff" = xyes; then :
37503  cat >>confdefs.h <<_ACEOF
37504#define HAVE_ISINFF 1
37505_ACEOF
37506
37507fi
37508done
37509
37510  else
37511
37512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37513$as_echo_n "checking for _isinff declaration... " >&6; }
37514  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37515    if ${glibcxx_cv_func__isinff_use+:} false; then :
37516  $as_echo_n "(cached) " >&6
37517else
37518
37519
37520      ac_ext=cpp
37521ac_cpp='$CXXCPP $CPPFLAGS'
37522ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37523ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37524ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37525
37526      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37527/* end confdefs.h.  */
37528#include <math.h>
37529		      #ifdef HAVE_IEEEFP_H
37530		      #include <ieeefp.h>
37531		      #endif
37532
37533int
37534main ()
37535{
37536 _isinff(0);
37537  ;
37538  return 0;
37539}
37540_ACEOF
37541if ac_fn_cxx_try_compile "$LINENO"; then :
37542  glibcxx_cv_func__isinff_use=yes
37543else
37544  glibcxx_cv_func__isinff_use=no
37545fi
37546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37547      ac_ext=c
37548ac_cpp='$CPP $CPPFLAGS'
37549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37551ac_compiler_gnu=$ac_cv_c_compiler_gnu
37552
37553
37554fi
37555
37556  fi
37557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37558$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37559
37560    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37561      for ac_func in _isinff
37562do :
37563  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37564if test "x$ac_cv_func__isinff" = xyes; then :
37565  cat >>confdefs.h <<_ACEOF
37566#define HAVE__ISINFF 1
37567_ACEOF
37568
37569fi
37570done
37571
37572    fi
37573  fi
37574
37575
37576
37577
37578
37579  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37580$as_echo_n "checking for atan2f declaration... " >&6; }
37581  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37582    if ${glibcxx_cv_func_atan2f_use+:} false; then :
37583  $as_echo_n "(cached) " >&6
37584else
37585
37586
37587      ac_ext=cpp
37588ac_cpp='$CXXCPP $CPPFLAGS'
37589ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37590ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37591ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37592
37593      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37594/* end confdefs.h.  */
37595#include <math.h>
37596int
37597main ()
37598{
37599 atan2f(0, 0);
37600  ;
37601  return 0;
37602}
37603_ACEOF
37604if ac_fn_cxx_try_compile "$LINENO"; then :
37605  glibcxx_cv_func_atan2f_use=yes
37606else
37607  glibcxx_cv_func_atan2f_use=no
37608fi
37609rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37610      ac_ext=c
37611ac_cpp='$CPP $CPPFLAGS'
37612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37614ac_compiler_gnu=$ac_cv_c_compiler_gnu
37615
37616
37617fi
37618
37619  fi
37620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37621$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37622
37623  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37624    for ac_func in atan2f
37625do :
37626  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37627if test "x$ac_cv_func_atan2f" = xyes; then :
37628  cat >>confdefs.h <<_ACEOF
37629#define HAVE_ATAN2F 1
37630_ACEOF
37631
37632fi
37633done
37634
37635  else
37636
37637  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37638$as_echo_n "checking for _atan2f declaration... " >&6; }
37639  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37640    if ${glibcxx_cv_func__atan2f_use+:} false; then :
37641  $as_echo_n "(cached) " >&6
37642else
37643
37644
37645      ac_ext=cpp
37646ac_cpp='$CXXCPP $CPPFLAGS'
37647ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37648ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37649ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37650
37651      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37652/* end confdefs.h.  */
37653#include <math.h>
37654int
37655main ()
37656{
37657 _atan2f(0, 0);
37658  ;
37659  return 0;
37660}
37661_ACEOF
37662if ac_fn_cxx_try_compile "$LINENO"; then :
37663  glibcxx_cv_func__atan2f_use=yes
37664else
37665  glibcxx_cv_func__atan2f_use=no
37666fi
37667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37668      ac_ext=c
37669ac_cpp='$CPP $CPPFLAGS'
37670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37672ac_compiler_gnu=$ac_cv_c_compiler_gnu
37673
37674
37675fi
37676
37677  fi
37678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37679$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37680
37681    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37682      for ac_func in _atan2f
37683do :
37684  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37685if test "x$ac_cv_func__atan2f" = xyes; then :
37686  cat >>confdefs.h <<_ACEOF
37687#define HAVE__ATAN2F 1
37688_ACEOF
37689
37690fi
37691done
37692
37693    fi
37694  fi
37695
37696
37697
37698
37699
37700  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37701$as_echo_n "checking for fabsf declaration... " >&6; }
37702  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37703    if ${glibcxx_cv_func_fabsf_use+:} false; then :
37704  $as_echo_n "(cached) " >&6
37705else
37706
37707
37708      ac_ext=cpp
37709ac_cpp='$CXXCPP $CPPFLAGS'
37710ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37713
37714      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37715/* end confdefs.h.  */
37716#include <math.h>
37717		      #ifdef HAVE_IEEEFP_H
37718		      #include <ieeefp.h>
37719		      #endif
37720
37721int
37722main ()
37723{
37724 fabsf(0);
37725  ;
37726  return 0;
37727}
37728_ACEOF
37729if ac_fn_cxx_try_compile "$LINENO"; then :
37730  glibcxx_cv_func_fabsf_use=yes
37731else
37732  glibcxx_cv_func_fabsf_use=no
37733fi
37734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37735      ac_ext=c
37736ac_cpp='$CPP $CPPFLAGS'
37737ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739ac_compiler_gnu=$ac_cv_c_compiler_gnu
37740
37741
37742fi
37743
37744  fi
37745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37746$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37747
37748  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37749    for ac_func in fabsf
37750do :
37751  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37752if test "x$ac_cv_func_fabsf" = xyes; then :
37753  cat >>confdefs.h <<_ACEOF
37754#define HAVE_FABSF 1
37755_ACEOF
37756
37757fi
37758done
37759
37760  else
37761
37762  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37763$as_echo_n "checking for _fabsf declaration... " >&6; }
37764  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37765    if ${glibcxx_cv_func__fabsf_use+:} false; then :
37766  $as_echo_n "(cached) " >&6
37767else
37768
37769
37770      ac_ext=cpp
37771ac_cpp='$CXXCPP $CPPFLAGS'
37772ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37773ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37774ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37775
37776      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37777/* end confdefs.h.  */
37778#include <math.h>
37779		      #ifdef HAVE_IEEEFP_H
37780		      #include <ieeefp.h>
37781		      #endif
37782
37783int
37784main ()
37785{
37786 _fabsf(0);
37787  ;
37788  return 0;
37789}
37790_ACEOF
37791if ac_fn_cxx_try_compile "$LINENO"; then :
37792  glibcxx_cv_func__fabsf_use=yes
37793else
37794  glibcxx_cv_func__fabsf_use=no
37795fi
37796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37797      ac_ext=c
37798ac_cpp='$CPP $CPPFLAGS'
37799ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37800ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37801ac_compiler_gnu=$ac_cv_c_compiler_gnu
37802
37803
37804fi
37805
37806  fi
37807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37808$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37809
37810    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37811      for ac_func in _fabsf
37812do :
37813  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37814if test "x$ac_cv_func__fabsf" = xyes; then :
37815  cat >>confdefs.h <<_ACEOF
37816#define HAVE__FABSF 1
37817_ACEOF
37818
37819fi
37820done
37821
37822    fi
37823  fi
37824
37825
37826
37827
37828
37829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37830$as_echo_n "checking for fmodf declaration... " >&6; }
37831  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37832    if ${glibcxx_cv_func_fmodf_use+:} false; then :
37833  $as_echo_n "(cached) " >&6
37834else
37835
37836
37837      ac_ext=cpp
37838ac_cpp='$CXXCPP $CPPFLAGS'
37839ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37840ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37841ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37842
37843      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37844/* end confdefs.h.  */
37845#include <math.h>
37846int
37847main ()
37848{
37849 fmodf(0, 0);
37850  ;
37851  return 0;
37852}
37853_ACEOF
37854if ac_fn_cxx_try_compile "$LINENO"; then :
37855  glibcxx_cv_func_fmodf_use=yes
37856else
37857  glibcxx_cv_func_fmodf_use=no
37858fi
37859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37860      ac_ext=c
37861ac_cpp='$CPP $CPPFLAGS'
37862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37864ac_compiler_gnu=$ac_cv_c_compiler_gnu
37865
37866
37867fi
37868
37869  fi
37870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37871$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37872
37873  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37874    for ac_func in fmodf
37875do :
37876  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37877if test "x$ac_cv_func_fmodf" = xyes; then :
37878  cat >>confdefs.h <<_ACEOF
37879#define HAVE_FMODF 1
37880_ACEOF
37881
37882fi
37883done
37884
37885  else
37886
37887  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37888$as_echo_n "checking for _fmodf declaration... " >&6; }
37889  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37890    if ${glibcxx_cv_func__fmodf_use+:} false; then :
37891  $as_echo_n "(cached) " >&6
37892else
37893
37894
37895      ac_ext=cpp
37896ac_cpp='$CXXCPP $CPPFLAGS'
37897ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37898ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37899ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37900
37901      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37902/* end confdefs.h.  */
37903#include <math.h>
37904int
37905main ()
37906{
37907 _fmodf(0, 0);
37908  ;
37909  return 0;
37910}
37911_ACEOF
37912if ac_fn_cxx_try_compile "$LINENO"; then :
37913  glibcxx_cv_func__fmodf_use=yes
37914else
37915  glibcxx_cv_func__fmodf_use=no
37916fi
37917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37918      ac_ext=c
37919ac_cpp='$CPP $CPPFLAGS'
37920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37922ac_compiler_gnu=$ac_cv_c_compiler_gnu
37923
37924
37925fi
37926
37927  fi
37928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37929$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37930
37931    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37932      for ac_func in _fmodf
37933do :
37934  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37935if test "x$ac_cv_func__fmodf" = xyes; then :
37936  cat >>confdefs.h <<_ACEOF
37937#define HAVE__FMODF 1
37938_ACEOF
37939
37940fi
37941done
37942
37943    fi
37944  fi
37945
37946
37947
37948
37949
37950  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37951$as_echo_n "checking for frexpf declaration... " >&6; }
37952  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37953    if ${glibcxx_cv_func_frexpf_use+:} false; then :
37954  $as_echo_n "(cached) " >&6
37955else
37956
37957
37958      ac_ext=cpp
37959ac_cpp='$CXXCPP $CPPFLAGS'
37960ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37961ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37962ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37963
37964      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37965/* end confdefs.h.  */
37966#include <math.h>
37967int
37968main ()
37969{
37970 frexpf(0, 0);
37971  ;
37972  return 0;
37973}
37974_ACEOF
37975if ac_fn_cxx_try_compile "$LINENO"; then :
37976  glibcxx_cv_func_frexpf_use=yes
37977else
37978  glibcxx_cv_func_frexpf_use=no
37979fi
37980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37981      ac_ext=c
37982ac_cpp='$CPP $CPPFLAGS'
37983ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37984ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37985ac_compiler_gnu=$ac_cv_c_compiler_gnu
37986
37987
37988fi
37989
37990  fi
37991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37992$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37993
37994  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37995    for ac_func in frexpf
37996do :
37997  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37998if test "x$ac_cv_func_frexpf" = xyes; then :
37999  cat >>confdefs.h <<_ACEOF
38000#define HAVE_FREXPF 1
38001_ACEOF
38002
38003fi
38004done
38005
38006  else
38007
38008  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
38009$as_echo_n "checking for _frexpf declaration... " >&6; }
38010  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38011    if ${glibcxx_cv_func__frexpf_use+:} false; then :
38012  $as_echo_n "(cached) " >&6
38013else
38014
38015
38016      ac_ext=cpp
38017ac_cpp='$CXXCPP $CPPFLAGS'
38018ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38019ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38020ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38021
38022      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38023/* end confdefs.h.  */
38024#include <math.h>
38025int
38026main ()
38027{
38028 _frexpf(0, 0);
38029  ;
38030  return 0;
38031}
38032_ACEOF
38033if ac_fn_cxx_try_compile "$LINENO"; then :
38034  glibcxx_cv_func__frexpf_use=yes
38035else
38036  glibcxx_cv_func__frexpf_use=no
38037fi
38038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38039      ac_ext=c
38040ac_cpp='$CPP $CPPFLAGS'
38041ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38042ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38043ac_compiler_gnu=$ac_cv_c_compiler_gnu
38044
38045
38046fi
38047
38048  fi
38049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
38050$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
38051
38052    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38053      for ac_func in _frexpf
38054do :
38055  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
38056if test "x$ac_cv_func__frexpf" = xyes; then :
38057  cat >>confdefs.h <<_ACEOF
38058#define HAVE__FREXPF 1
38059_ACEOF
38060
38061fi
38062done
38063
38064    fi
38065  fi
38066
38067
38068
38069
38070
38071  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
38072$as_echo_n "checking for hypotf declaration... " >&6; }
38073  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38074    if ${glibcxx_cv_func_hypotf_use+:} false; then :
38075  $as_echo_n "(cached) " >&6
38076else
38077
38078
38079      ac_ext=cpp
38080ac_cpp='$CXXCPP $CPPFLAGS'
38081ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38084
38085      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38086/* end confdefs.h.  */
38087#include <math.h>
38088int
38089main ()
38090{
38091 hypotf(0, 0);
38092  ;
38093  return 0;
38094}
38095_ACEOF
38096if ac_fn_cxx_try_compile "$LINENO"; then :
38097  glibcxx_cv_func_hypotf_use=yes
38098else
38099  glibcxx_cv_func_hypotf_use=no
38100fi
38101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38102      ac_ext=c
38103ac_cpp='$CPP $CPPFLAGS'
38104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106ac_compiler_gnu=$ac_cv_c_compiler_gnu
38107
38108
38109fi
38110
38111  fi
38112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
38113$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
38114
38115  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38116    for ac_func in hypotf
38117do :
38118  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
38119if test "x$ac_cv_func_hypotf" = xyes; then :
38120  cat >>confdefs.h <<_ACEOF
38121#define HAVE_HYPOTF 1
38122_ACEOF
38123
38124fi
38125done
38126
38127  else
38128
38129  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
38130$as_echo_n "checking for _hypotf declaration... " >&6; }
38131  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
38132    if ${glibcxx_cv_func__hypotf_use+:} false; then :
38133  $as_echo_n "(cached) " >&6
38134else
38135
38136
38137      ac_ext=cpp
38138ac_cpp='$CXXCPP $CPPFLAGS'
38139ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38140ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38141ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38142
38143      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38144/* end confdefs.h.  */
38145#include <math.h>
38146int
38147main ()
38148{
38149 _hypotf(0, 0);
38150  ;
38151  return 0;
38152}
38153_ACEOF
38154if ac_fn_cxx_try_compile "$LINENO"; then :
38155  glibcxx_cv_func__hypotf_use=yes
38156else
38157  glibcxx_cv_func__hypotf_use=no
38158fi
38159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38160      ac_ext=c
38161ac_cpp='$CPP $CPPFLAGS'
38162ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38163ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38164ac_compiler_gnu=$ac_cv_c_compiler_gnu
38165
38166
38167fi
38168
38169  fi
38170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
38171$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
38172
38173    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
38174      for ac_func in _hypotf
38175do :
38176  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
38177if test "x$ac_cv_func__hypotf" = xyes; then :
38178  cat >>confdefs.h <<_ACEOF
38179#define HAVE__HYPOTF 1
38180_ACEOF
38181
38182fi
38183done
38184
38185    fi
38186  fi
38187
38188
38189
38190
38191
38192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
38193$as_echo_n "checking for ldexpf declaration... " >&6; }
38194  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38195    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
38196  $as_echo_n "(cached) " >&6
38197else
38198
38199
38200      ac_ext=cpp
38201ac_cpp='$CXXCPP $CPPFLAGS'
38202ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38203ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38204ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38205
38206      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38207/* end confdefs.h.  */
38208#include <math.h>
38209int
38210main ()
38211{
38212 ldexpf(0, 0);
38213  ;
38214  return 0;
38215}
38216_ACEOF
38217if ac_fn_cxx_try_compile "$LINENO"; then :
38218  glibcxx_cv_func_ldexpf_use=yes
38219else
38220  glibcxx_cv_func_ldexpf_use=no
38221fi
38222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38223      ac_ext=c
38224ac_cpp='$CPP $CPPFLAGS'
38225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227ac_compiler_gnu=$ac_cv_c_compiler_gnu
38228
38229
38230fi
38231
38232  fi
38233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
38234$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
38235
38236  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38237    for ac_func in ldexpf
38238do :
38239  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
38240if test "x$ac_cv_func_ldexpf" = xyes; then :
38241  cat >>confdefs.h <<_ACEOF
38242#define HAVE_LDEXPF 1
38243_ACEOF
38244
38245fi
38246done
38247
38248  else
38249
38250  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
38251$as_echo_n "checking for _ldexpf declaration... " >&6; }
38252  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38253    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
38254  $as_echo_n "(cached) " >&6
38255else
38256
38257
38258      ac_ext=cpp
38259ac_cpp='$CXXCPP $CPPFLAGS'
38260ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38261ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38262ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38263
38264      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38265/* end confdefs.h.  */
38266#include <math.h>
38267int
38268main ()
38269{
38270 _ldexpf(0, 0);
38271  ;
38272  return 0;
38273}
38274_ACEOF
38275if ac_fn_cxx_try_compile "$LINENO"; then :
38276  glibcxx_cv_func__ldexpf_use=yes
38277else
38278  glibcxx_cv_func__ldexpf_use=no
38279fi
38280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38281      ac_ext=c
38282ac_cpp='$CPP $CPPFLAGS'
38283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285ac_compiler_gnu=$ac_cv_c_compiler_gnu
38286
38287
38288fi
38289
38290  fi
38291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
38292$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
38293
38294    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38295      for ac_func in _ldexpf
38296do :
38297  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
38298if test "x$ac_cv_func__ldexpf" = xyes; then :
38299  cat >>confdefs.h <<_ACEOF
38300#define HAVE__LDEXPF 1
38301_ACEOF
38302
38303fi
38304done
38305
38306    fi
38307  fi
38308
38309
38310
38311
38312
38313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
38314$as_echo_n "checking for logf declaration... " >&6; }
38315  if test x${glibcxx_cv_func_logf_use+set} != xset; then
38316    if ${glibcxx_cv_func_logf_use+:} false; then :
38317  $as_echo_n "(cached) " >&6
38318else
38319
38320
38321      ac_ext=cpp
38322ac_cpp='$CXXCPP $CPPFLAGS'
38323ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38326
38327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38328/* end confdefs.h.  */
38329#include <math.h>
38330		      #ifdef HAVE_IEEEFP_H
38331		      #include <ieeefp.h>
38332		      #endif
38333
38334int
38335main ()
38336{
38337 logf(0);
38338  ;
38339  return 0;
38340}
38341_ACEOF
38342if ac_fn_cxx_try_compile "$LINENO"; then :
38343  glibcxx_cv_func_logf_use=yes
38344else
38345  glibcxx_cv_func_logf_use=no
38346fi
38347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38348      ac_ext=c
38349ac_cpp='$CPP $CPPFLAGS'
38350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38352ac_compiler_gnu=$ac_cv_c_compiler_gnu
38353
38354
38355fi
38356
38357  fi
38358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
38359$as_echo "$glibcxx_cv_func_logf_use" >&6; }
38360
38361  if test x$glibcxx_cv_func_logf_use = x"yes"; then
38362    for ac_func in logf
38363do :
38364  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
38365if test "x$ac_cv_func_logf" = xyes; then :
38366  cat >>confdefs.h <<_ACEOF
38367#define HAVE_LOGF 1
38368_ACEOF
38369
38370fi
38371done
38372
38373  else
38374
38375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
38376$as_echo_n "checking for _logf declaration... " >&6; }
38377  if test x${glibcxx_cv_func__logf_use+set} != xset; then
38378    if ${glibcxx_cv_func__logf_use+:} false; then :
38379  $as_echo_n "(cached) " >&6
38380else
38381
38382
38383      ac_ext=cpp
38384ac_cpp='$CXXCPP $CPPFLAGS'
38385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38388
38389      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38390/* end confdefs.h.  */
38391#include <math.h>
38392		      #ifdef HAVE_IEEEFP_H
38393		      #include <ieeefp.h>
38394		      #endif
38395
38396int
38397main ()
38398{
38399 _logf(0);
38400  ;
38401  return 0;
38402}
38403_ACEOF
38404if ac_fn_cxx_try_compile "$LINENO"; then :
38405  glibcxx_cv_func__logf_use=yes
38406else
38407  glibcxx_cv_func__logf_use=no
38408fi
38409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38410      ac_ext=c
38411ac_cpp='$CPP $CPPFLAGS'
38412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38414ac_compiler_gnu=$ac_cv_c_compiler_gnu
38415
38416
38417fi
38418
38419  fi
38420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
38421$as_echo "$glibcxx_cv_func__logf_use" >&6; }
38422
38423    if test x$glibcxx_cv_func__logf_use = x"yes"; then
38424      for ac_func in _logf
38425do :
38426  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
38427if test "x$ac_cv_func__logf" = xyes; then :
38428  cat >>confdefs.h <<_ACEOF
38429#define HAVE__LOGF 1
38430_ACEOF
38431
38432fi
38433done
38434
38435    fi
38436  fi
38437
38438
38439
38440
38441
38442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
38443$as_echo_n "checking for log10f declaration... " >&6; }
38444  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38445    if ${glibcxx_cv_func_log10f_use+:} false; then :
38446  $as_echo_n "(cached) " >&6
38447else
38448
38449
38450      ac_ext=cpp
38451ac_cpp='$CXXCPP $CPPFLAGS'
38452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38455
38456      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38457/* end confdefs.h.  */
38458#include <math.h>
38459		      #ifdef HAVE_IEEEFP_H
38460		      #include <ieeefp.h>
38461		      #endif
38462
38463int
38464main ()
38465{
38466 log10f(0);
38467  ;
38468  return 0;
38469}
38470_ACEOF
38471if ac_fn_cxx_try_compile "$LINENO"; then :
38472  glibcxx_cv_func_log10f_use=yes
38473else
38474  glibcxx_cv_func_log10f_use=no
38475fi
38476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38477      ac_ext=c
38478ac_cpp='$CPP $CPPFLAGS'
38479ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38480ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38481ac_compiler_gnu=$ac_cv_c_compiler_gnu
38482
38483
38484fi
38485
38486  fi
38487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38488$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38489
38490  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38491    for ac_func in log10f
38492do :
38493  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38494if test "x$ac_cv_func_log10f" = xyes; then :
38495  cat >>confdefs.h <<_ACEOF
38496#define HAVE_LOG10F 1
38497_ACEOF
38498
38499fi
38500done
38501
38502  else
38503
38504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38505$as_echo_n "checking for _log10f declaration... " >&6; }
38506  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38507    if ${glibcxx_cv_func__log10f_use+:} false; then :
38508  $as_echo_n "(cached) " >&6
38509else
38510
38511
38512      ac_ext=cpp
38513ac_cpp='$CXXCPP $CPPFLAGS'
38514ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38515ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38516ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38517
38518      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38519/* end confdefs.h.  */
38520#include <math.h>
38521		      #ifdef HAVE_IEEEFP_H
38522		      #include <ieeefp.h>
38523		      #endif
38524
38525int
38526main ()
38527{
38528 _log10f(0);
38529  ;
38530  return 0;
38531}
38532_ACEOF
38533if ac_fn_cxx_try_compile "$LINENO"; then :
38534  glibcxx_cv_func__log10f_use=yes
38535else
38536  glibcxx_cv_func__log10f_use=no
38537fi
38538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38539      ac_ext=c
38540ac_cpp='$CPP $CPPFLAGS'
38541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38543ac_compiler_gnu=$ac_cv_c_compiler_gnu
38544
38545
38546fi
38547
38548  fi
38549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38550$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38551
38552    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38553      for ac_func in _log10f
38554do :
38555  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38556if test "x$ac_cv_func__log10f" = xyes; then :
38557  cat >>confdefs.h <<_ACEOF
38558#define HAVE__LOG10F 1
38559_ACEOF
38560
38561fi
38562done
38563
38564    fi
38565  fi
38566
38567
38568
38569
38570
38571  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38572$as_echo_n "checking for modff declaration... " >&6; }
38573  if test x${glibcxx_cv_func_modff_use+set} != xset; then
38574    if ${glibcxx_cv_func_modff_use+:} false; then :
38575  $as_echo_n "(cached) " >&6
38576else
38577
38578
38579      ac_ext=cpp
38580ac_cpp='$CXXCPP $CPPFLAGS'
38581ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38584
38585      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38586/* end confdefs.h.  */
38587#include <math.h>
38588int
38589main ()
38590{
38591 modff(0, 0);
38592  ;
38593  return 0;
38594}
38595_ACEOF
38596if ac_fn_cxx_try_compile "$LINENO"; then :
38597  glibcxx_cv_func_modff_use=yes
38598else
38599  glibcxx_cv_func_modff_use=no
38600fi
38601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38602      ac_ext=c
38603ac_cpp='$CPP $CPPFLAGS'
38604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606ac_compiler_gnu=$ac_cv_c_compiler_gnu
38607
38608
38609fi
38610
38611  fi
38612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38613$as_echo "$glibcxx_cv_func_modff_use" >&6; }
38614
38615  if test x$glibcxx_cv_func_modff_use = x"yes"; then
38616    for ac_func in modff
38617do :
38618  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38619if test "x$ac_cv_func_modff" = xyes; then :
38620  cat >>confdefs.h <<_ACEOF
38621#define HAVE_MODFF 1
38622_ACEOF
38623
38624fi
38625done
38626
38627  else
38628
38629  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38630$as_echo_n "checking for _modff declaration... " >&6; }
38631  if test x${glibcxx_cv_func__modff_use+set} != xset; then
38632    if ${glibcxx_cv_func__modff_use+:} false; then :
38633  $as_echo_n "(cached) " >&6
38634else
38635
38636
38637      ac_ext=cpp
38638ac_cpp='$CXXCPP $CPPFLAGS'
38639ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38640ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38641ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38642
38643      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38644/* end confdefs.h.  */
38645#include <math.h>
38646int
38647main ()
38648{
38649 _modff(0, 0);
38650  ;
38651  return 0;
38652}
38653_ACEOF
38654if ac_fn_cxx_try_compile "$LINENO"; then :
38655  glibcxx_cv_func__modff_use=yes
38656else
38657  glibcxx_cv_func__modff_use=no
38658fi
38659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38660      ac_ext=c
38661ac_cpp='$CPP $CPPFLAGS'
38662ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38663ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38664ac_compiler_gnu=$ac_cv_c_compiler_gnu
38665
38666
38667fi
38668
38669  fi
38670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38671$as_echo "$glibcxx_cv_func__modff_use" >&6; }
38672
38673    if test x$glibcxx_cv_func__modff_use = x"yes"; then
38674      for ac_func in _modff
38675do :
38676  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38677if test "x$ac_cv_func__modff" = xyes; then :
38678  cat >>confdefs.h <<_ACEOF
38679#define HAVE__MODFF 1
38680_ACEOF
38681
38682fi
38683done
38684
38685    fi
38686  fi
38687
38688
38689
38690
38691
38692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38693$as_echo_n "checking for modf declaration... " >&6; }
38694  if test x${glibcxx_cv_func_modf_use+set} != xset; then
38695    if ${glibcxx_cv_func_modf_use+:} false; then :
38696  $as_echo_n "(cached) " >&6
38697else
38698
38699
38700      ac_ext=cpp
38701ac_cpp='$CXXCPP $CPPFLAGS'
38702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38705
38706      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38707/* end confdefs.h.  */
38708#include <math.h>
38709int
38710main ()
38711{
38712 modf(0, 0);
38713  ;
38714  return 0;
38715}
38716_ACEOF
38717if ac_fn_cxx_try_compile "$LINENO"; then :
38718  glibcxx_cv_func_modf_use=yes
38719else
38720  glibcxx_cv_func_modf_use=no
38721fi
38722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38723      ac_ext=c
38724ac_cpp='$CPP $CPPFLAGS'
38725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38727ac_compiler_gnu=$ac_cv_c_compiler_gnu
38728
38729
38730fi
38731
38732  fi
38733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38734$as_echo "$glibcxx_cv_func_modf_use" >&6; }
38735
38736  if test x$glibcxx_cv_func_modf_use = x"yes"; then
38737    for ac_func in modf
38738do :
38739  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38740if test "x$ac_cv_func_modf" = xyes; then :
38741  cat >>confdefs.h <<_ACEOF
38742#define HAVE_MODF 1
38743_ACEOF
38744
38745fi
38746done
38747
38748  else
38749
38750  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38751$as_echo_n "checking for _modf declaration... " >&6; }
38752  if test x${glibcxx_cv_func__modf_use+set} != xset; then
38753    if ${glibcxx_cv_func__modf_use+:} false; then :
38754  $as_echo_n "(cached) " >&6
38755else
38756
38757
38758      ac_ext=cpp
38759ac_cpp='$CXXCPP $CPPFLAGS'
38760ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38763
38764      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38765/* end confdefs.h.  */
38766#include <math.h>
38767int
38768main ()
38769{
38770 _modf(0, 0);
38771  ;
38772  return 0;
38773}
38774_ACEOF
38775if ac_fn_cxx_try_compile "$LINENO"; then :
38776  glibcxx_cv_func__modf_use=yes
38777else
38778  glibcxx_cv_func__modf_use=no
38779fi
38780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38781      ac_ext=c
38782ac_cpp='$CPP $CPPFLAGS'
38783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785ac_compiler_gnu=$ac_cv_c_compiler_gnu
38786
38787
38788fi
38789
38790  fi
38791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38792$as_echo "$glibcxx_cv_func__modf_use" >&6; }
38793
38794    if test x$glibcxx_cv_func__modf_use = x"yes"; then
38795      for ac_func in _modf
38796do :
38797  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38798if test "x$ac_cv_func__modf" = xyes; then :
38799  cat >>confdefs.h <<_ACEOF
38800#define HAVE__MODF 1
38801_ACEOF
38802
38803fi
38804done
38805
38806    fi
38807  fi
38808
38809
38810
38811
38812
38813  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38814$as_echo_n "checking for powf declaration... " >&6; }
38815  if test x${glibcxx_cv_func_powf_use+set} != xset; then
38816    if ${glibcxx_cv_func_powf_use+:} false; then :
38817  $as_echo_n "(cached) " >&6
38818else
38819
38820
38821      ac_ext=cpp
38822ac_cpp='$CXXCPP $CPPFLAGS'
38823ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38824ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38825ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38826
38827      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38828/* end confdefs.h.  */
38829#include <math.h>
38830int
38831main ()
38832{
38833 powf(0, 0);
38834  ;
38835  return 0;
38836}
38837_ACEOF
38838if ac_fn_cxx_try_compile "$LINENO"; then :
38839  glibcxx_cv_func_powf_use=yes
38840else
38841  glibcxx_cv_func_powf_use=no
38842fi
38843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38844      ac_ext=c
38845ac_cpp='$CPP $CPPFLAGS'
38846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38848ac_compiler_gnu=$ac_cv_c_compiler_gnu
38849
38850
38851fi
38852
38853  fi
38854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38855$as_echo "$glibcxx_cv_func_powf_use" >&6; }
38856
38857  if test x$glibcxx_cv_func_powf_use = x"yes"; then
38858    for ac_func in powf
38859do :
38860  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38861if test "x$ac_cv_func_powf" = xyes; then :
38862  cat >>confdefs.h <<_ACEOF
38863#define HAVE_POWF 1
38864_ACEOF
38865
38866fi
38867done
38868
38869  else
38870
38871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38872$as_echo_n "checking for _powf declaration... " >&6; }
38873  if test x${glibcxx_cv_func__powf_use+set} != xset; then
38874    if ${glibcxx_cv_func__powf_use+:} false; then :
38875  $as_echo_n "(cached) " >&6
38876else
38877
38878
38879      ac_ext=cpp
38880ac_cpp='$CXXCPP $CPPFLAGS'
38881ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38882ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38883ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38884
38885      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38886/* end confdefs.h.  */
38887#include <math.h>
38888int
38889main ()
38890{
38891 _powf(0, 0);
38892  ;
38893  return 0;
38894}
38895_ACEOF
38896if ac_fn_cxx_try_compile "$LINENO"; then :
38897  glibcxx_cv_func__powf_use=yes
38898else
38899  glibcxx_cv_func__powf_use=no
38900fi
38901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38902      ac_ext=c
38903ac_cpp='$CPP $CPPFLAGS'
38904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38906ac_compiler_gnu=$ac_cv_c_compiler_gnu
38907
38908
38909fi
38910
38911  fi
38912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38913$as_echo "$glibcxx_cv_func__powf_use" >&6; }
38914
38915    if test x$glibcxx_cv_func__powf_use = x"yes"; then
38916      for ac_func in _powf
38917do :
38918  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38919if test "x$ac_cv_func__powf" = xyes; then :
38920  cat >>confdefs.h <<_ACEOF
38921#define HAVE__POWF 1
38922_ACEOF
38923
38924fi
38925done
38926
38927    fi
38928  fi
38929
38930
38931
38932
38933
38934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38935$as_echo_n "checking for sqrtf declaration... " >&6; }
38936  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38937    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38938  $as_echo_n "(cached) " >&6
38939else
38940
38941
38942      ac_ext=cpp
38943ac_cpp='$CXXCPP $CPPFLAGS'
38944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38947
38948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38949/* end confdefs.h.  */
38950#include <math.h>
38951		      #ifdef HAVE_IEEEFP_H
38952		      #include <ieeefp.h>
38953		      #endif
38954
38955int
38956main ()
38957{
38958 sqrtf(0);
38959  ;
38960  return 0;
38961}
38962_ACEOF
38963if ac_fn_cxx_try_compile "$LINENO"; then :
38964  glibcxx_cv_func_sqrtf_use=yes
38965else
38966  glibcxx_cv_func_sqrtf_use=no
38967fi
38968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38969      ac_ext=c
38970ac_cpp='$CPP $CPPFLAGS'
38971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38973ac_compiler_gnu=$ac_cv_c_compiler_gnu
38974
38975
38976fi
38977
38978  fi
38979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38980$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38981
38982  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38983    for ac_func in sqrtf
38984do :
38985  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38986if test "x$ac_cv_func_sqrtf" = xyes; then :
38987  cat >>confdefs.h <<_ACEOF
38988#define HAVE_SQRTF 1
38989_ACEOF
38990
38991fi
38992done
38993
38994  else
38995
38996  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38997$as_echo_n "checking for _sqrtf declaration... " >&6; }
38998  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38999    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
39000  $as_echo_n "(cached) " >&6
39001else
39002
39003
39004      ac_ext=cpp
39005ac_cpp='$CXXCPP $CPPFLAGS'
39006ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39009
39010      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39011/* end confdefs.h.  */
39012#include <math.h>
39013		      #ifdef HAVE_IEEEFP_H
39014		      #include <ieeefp.h>
39015		      #endif
39016
39017int
39018main ()
39019{
39020 _sqrtf(0);
39021  ;
39022  return 0;
39023}
39024_ACEOF
39025if ac_fn_cxx_try_compile "$LINENO"; then :
39026  glibcxx_cv_func__sqrtf_use=yes
39027else
39028  glibcxx_cv_func__sqrtf_use=no
39029fi
39030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39031      ac_ext=c
39032ac_cpp='$CPP $CPPFLAGS'
39033ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39034ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39035ac_compiler_gnu=$ac_cv_c_compiler_gnu
39036
39037
39038fi
39039
39040  fi
39041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
39042$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
39043
39044    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39045      for ac_func in _sqrtf
39046do :
39047  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
39048if test "x$ac_cv_func__sqrtf" = xyes; then :
39049  cat >>confdefs.h <<_ACEOF
39050#define HAVE__SQRTF 1
39051_ACEOF
39052
39053fi
39054done
39055
39056    fi
39057  fi
39058
39059
39060
39061
39062
39063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
39064$as_echo_n "checking for sincosf declaration... " >&6; }
39065  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39066    if ${glibcxx_cv_func_sincosf_use+:} false; then :
39067  $as_echo_n "(cached) " >&6
39068else
39069
39070
39071      ac_ext=cpp
39072ac_cpp='$CXXCPP $CPPFLAGS'
39073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39076
39077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39078/* end confdefs.h.  */
39079#include <math.h>
39080int
39081main ()
39082{
39083 sincosf(0, 0, 0);
39084  ;
39085  return 0;
39086}
39087_ACEOF
39088if ac_fn_cxx_try_compile "$LINENO"; then :
39089  glibcxx_cv_func_sincosf_use=yes
39090else
39091  glibcxx_cv_func_sincosf_use=no
39092fi
39093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39094      ac_ext=c
39095ac_cpp='$CPP $CPPFLAGS'
39096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098ac_compiler_gnu=$ac_cv_c_compiler_gnu
39099
39100
39101fi
39102
39103  fi
39104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
39105$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
39106
39107  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39108    for ac_func in sincosf
39109do :
39110  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
39111if test "x$ac_cv_func_sincosf" = xyes; then :
39112  cat >>confdefs.h <<_ACEOF
39113#define HAVE_SINCOSF 1
39114_ACEOF
39115
39116fi
39117done
39118
39119  else
39120
39121  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
39122$as_echo_n "checking for _sincosf declaration... " >&6; }
39123  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39124    if ${glibcxx_cv_func__sincosf_use+:} false; then :
39125  $as_echo_n "(cached) " >&6
39126else
39127
39128
39129      ac_ext=cpp
39130ac_cpp='$CXXCPP $CPPFLAGS'
39131ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39132ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39133ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39134
39135      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39136/* end confdefs.h.  */
39137#include <math.h>
39138int
39139main ()
39140{
39141 _sincosf(0, 0, 0);
39142  ;
39143  return 0;
39144}
39145_ACEOF
39146if ac_fn_cxx_try_compile "$LINENO"; then :
39147  glibcxx_cv_func__sincosf_use=yes
39148else
39149  glibcxx_cv_func__sincosf_use=no
39150fi
39151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39152      ac_ext=c
39153ac_cpp='$CPP $CPPFLAGS'
39154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39156ac_compiler_gnu=$ac_cv_c_compiler_gnu
39157
39158
39159fi
39160
39161  fi
39162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
39163$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
39164
39165    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39166      for ac_func in _sincosf
39167do :
39168  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
39169if test "x$ac_cv_func__sincosf" = xyes; then :
39170  cat >>confdefs.h <<_ACEOF
39171#define HAVE__SINCOSF 1
39172_ACEOF
39173
39174fi
39175done
39176
39177    fi
39178  fi
39179
39180
39181
39182
39183
39184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
39185$as_echo_n "checking for finitef declaration... " >&6; }
39186  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39187    if ${glibcxx_cv_func_finitef_use+:} false; then :
39188  $as_echo_n "(cached) " >&6
39189else
39190
39191
39192      ac_ext=cpp
39193ac_cpp='$CXXCPP $CPPFLAGS'
39194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39197
39198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39199/* end confdefs.h.  */
39200#include <math.h>
39201		      #ifdef HAVE_IEEEFP_H
39202		      #include <ieeefp.h>
39203		      #endif
39204
39205int
39206main ()
39207{
39208 finitef(0);
39209  ;
39210  return 0;
39211}
39212_ACEOF
39213if ac_fn_cxx_try_compile "$LINENO"; then :
39214  glibcxx_cv_func_finitef_use=yes
39215else
39216  glibcxx_cv_func_finitef_use=no
39217fi
39218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39219      ac_ext=c
39220ac_cpp='$CPP $CPPFLAGS'
39221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39223ac_compiler_gnu=$ac_cv_c_compiler_gnu
39224
39225
39226fi
39227
39228  fi
39229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
39230$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
39231
39232  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39233    for ac_func in finitef
39234do :
39235  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
39236if test "x$ac_cv_func_finitef" = xyes; then :
39237  cat >>confdefs.h <<_ACEOF
39238#define HAVE_FINITEF 1
39239_ACEOF
39240
39241fi
39242done
39243
39244  else
39245
39246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
39247$as_echo_n "checking for _finitef declaration... " >&6; }
39248  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39249    if ${glibcxx_cv_func__finitef_use+:} false; then :
39250  $as_echo_n "(cached) " >&6
39251else
39252
39253
39254      ac_ext=cpp
39255ac_cpp='$CXXCPP $CPPFLAGS'
39256ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39259
39260      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39261/* end confdefs.h.  */
39262#include <math.h>
39263		      #ifdef HAVE_IEEEFP_H
39264		      #include <ieeefp.h>
39265		      #endif
39266
39267int
39268main ()
39269{
39270 _finitef(0);
39271  ;
39272  return 0;
39273}
39274_ACEOF
39275if ac_fn_cxx_try_compile "$LINENO"; then :
39276  glibcxx_cv_func__finitef_use=yes
39277else
39278  glibcxx_cv_func__finitef_use=no
39279fi
39280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39281      ac_ext=c
39282ac_cpp='$CPP $CPPFLAGS'
39283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39285ac_compiler_gnu=$ac_cv_c_compiler_gnu
39286
39287
39288fi
39289
39290  fi
39291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
39292$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
39293
39294    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39295      for ac_func in _finitef
39296do :
39297  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
39298if test "x$ac_cv_func__finitef" = xyes; then :
39299  cat >>confdefs.h <<_ACEOF
39300#define HAVE__FINITEF 1
39301_ACEOF
39302
39303fi
39304done
39305
39306    fi
39307  fi
39308
39309
39310
39311
39312
39313    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
39314$as_echo_n "checking for long double trig functions... " >&6; }
39315  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
39316  $as_echo_n "(cached) " >&6
39317else
39318
39319
39320    ac_ext=cpp
39321ac_cpp='$CXXCPP $CPPFLAGS'
39322ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39323ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39324ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39325
39326    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39327/* end confdefs.h.  */
39328#include <math.h>
39329int
39330main ()
39331{
39332acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
39333  ;
39334  return 0;
39335}
39336_ACEOF
39337if ac_fn_cxx_try_compile "$LINENO"; then :
39338  glibcxx_cv_func_long_double_trig_use=yes
39339else
39340  glibcxx_cv_func_long_double_trig_use=no
39341fi
39342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39343    ac_ext=c
39344ac_cpp='$CPP $CPPFLAGS'
39345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39347ac_compiler_gnu=$ac_cv_c_compiler_gnu
39348
39349fi
39350
39351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
39352$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
39353  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39354    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
39355do :
39356  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39357ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39358if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39359  cat >>confdefs.h <<_ACEOF
39360#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39361_ACEOF
39362
39363fi
39364done
39365
39366  else
39367    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
39368$as_echo_n "checking for _long double trig functions... " >&6; }
39369    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
39370  $as_echo_n "(cached) " >&6
39371else
39372
39373
39374      ac_ext=cpp
39375ac_cpp='$CXXCPP $CPPFLAGS'
39376ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39377ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39378ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39379
39380      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39381/* end confdefs.h.  */
39382#include <math.h>
39383int
39384main ()
39385{
39386_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
39387  ;
39388  return 0;
39389}
39390_ACEOF
39391if ac_fn_cxx_try_compile "$LINENO"; then :
39392  glibcxx_cv_func__long_double_trig_use=yes
39393else
39394  glibcxx_cv_func__long_double_trig_use=no
39395fi
39396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39397      ac_ext=c
39398ac_cpp='$CPP $CPPFLAGS'
39399ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39400ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39401ac_compiler_gnu=$ac_cv_c_compiler_gnu
39402
39403fi
39404
39405    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
39406$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
39407    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
39408      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
39409do :
39410  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39411ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39412if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39413  cat >>confdefs.h <<_ACEOF
39414#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39415_ACEOF
39416
39417fi
39418done
39419
39420    fi
39421  fi
39422
39423
39424
39425
39426
39427    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
39428$as_echo_n "checking for long double round functions... " >&6; }
39429  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
39430  $as_echo_n "(cached) " >&6
39431else
39432
39433
39434    ac_ext=cpp
39435ac_cpp='$CXXCPP $CPPFLAGS'
39436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39439
39440    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39441/* end confdefs.h.  */
39442#include <math.h>
39443int
39444main ()
39445{
39446ceill (0); floorl (0);
39447  ;
39448  return 0;
39449}
39450_ACEOF
39451if ac_fn_cxx_try_compile "$LINENO"; then :
39452  glibcxx_cv_func_long_double_round_use=yes
39453else
39454  glibcxx_cv_func_long_double_round_use=no
39455fi
39456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39457    ac_ext=c
39458ac_cpp='$CPP $CPPFLAGS'
39459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39461ac_compiler_gnu=$ac_cv_c_compiler_gnu
39462
39463fi
39464
39465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39466$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39467  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39468    for ac_func in ceill floorl
39469do :
39470  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39471ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39472if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39473  cat >>confdefs.h <<_ACEOF
39474#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39475_ACEOF
39476
39477fi
39478done
39479
39480  else
39481    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39482$as_echo_n "checking for _long double round functions... " >&6; }
39483    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39484  $as_echo_n "(cached) " >&6
39485else
39486
39487
39488      ac_ext=cpp
39489ac_cpp='$CXXCPP $CPPFLAGS'
39490ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39491ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39492ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39493
39494      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39495/* end confdefs.h.  */
39496#include <math.h>
39497int
39498main ()
39499{
39500_ceill (0); _floorl (0);
39501  ;
39502  return 0;
39503}
39504_ACEOF
39505if ac_fn_cxx_try_compile "$LINENO"; then :
39506  glibcxx_cv_func__long_double_round_use=yes
39507else
39508  glibcxx_cv_func__long_double_round_use=no
39509fi
39510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39511      ac_ext=c
39512ac_cpp='$CPP $CPPFLAGS'
39513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39515ac_compiler_gnu=$ac_cv_c_compiler_gnu
39516
39517fi
39518
39519    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39520$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39521    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39522      for ac_func in _ceill _floorl
39523do :
39524  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39525ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39526if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39527  cat >>confdefs.h <<_ACEOF
39528#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39529_ACEOF
39530
39531fi
39532done
39533
39534    fi
39535  fi
39536
39537
39538
39539
39540
39541
39542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39543$as_echo_n "checking for isnanl declaration... " >&6; }
39544  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39545    if ${glibcxx_cv_func_isnanl_use+:} false; then :
39546  $as_echo_n "(cached) " >&6
39547else
39548
39549
39550      ac_ext=cpp
39551ac_cpp='$CXXCPP $CPPFLAGS'
39552ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39553ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39554ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39555
39556      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39557/* end confdefs.h.  */
39558#include <math.h>
39559		      #ifdef HAVE_IEEEFP_H
39560		      #include <ieeefp.h>
39561		      #endif
39562
39563int
39564main ()
39565{
39566 isnanl(0);
39567  ;
39568  return 0;
39569}
39570_ACEOF
39571if ac_fn_cxx_try_compile "$LINENO"; then :
39572  glibcxx_cv_func_isnanl_use=yes
39573else
39574  glibcxx_cv_func_isnanl_use=no
39575fi
39576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39577      ac_ext=c
39578ac_cpp='$CPP $CPPFLAGS'
39579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39581ac_compiler_gnu=$ac_cv_c_compiler_gnu
39582
39583
39584fi
39585
39586  fi
39587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39588$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39589
39590  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39591    for ac_func in isnanl
39592do :
39593  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39594if test "x$ac_cv_func_isnanl" = xyes; then :
39595  cat >>confdefs.h <<_ACEOF
39596#define HAVE_ISNANL 1
39597_ACEOF
39598
39599fi
39600done
39601
39602  else
39603
39604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39605$as_echo_n "checking for _isnanl declaration... " >&6; }
39606  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39607    if ${glibcxx_cv_func__isnanl_use+:} false; then :
39608  $as_echo_n "(cached) " >&6
39609else
39610
39611
39612      ac_ext=cpp
39613ac_cpp='$CXXCPP $CPPFLAGS'
39614ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39615ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39616ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39617
39618      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39619/* end confdefs.h.  */
39620#include <math.h>
39621		      #ifdef HAVE_IEEEFP_H
39622		      #include <ieeefp.h>
39623		      #endif
39624
39625int
39626main ()
39627{
39628 _isnanl(0);
39629  ;
39630  return 0;
39631}
39632_ACEOF
39633if ac_fn_cxx_try_compile "$LINENO"; then :
39634  glibcxx_cv_func__isnanl_use=yes
39635else
39636  glibcxx_cv_func__isnanl_use=no
39637fi
39638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39639      ac_ext=c
39640ac_cpp='$CPP $CPPFLAGS'
39641ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39642ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39643ac_compiler_gnu=$ac_cv_c_compiler_gnu
39644
39645
39646fi
39647
39648  fi
39649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39650$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39651
39652    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39653      for ac_func in _isnanl
39654do :
39655  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39656if test "x$ac_cv_func__isnanl" = xyes; then :
39657  cat >>confdefs.h <<_ACEOF
39658#define HAVE__ISNANL 1
39659_ACEOF
39660
39661fi
39662done
39663
39664    fi
39665  fi
39666
39667
39668
39669
39670
39671  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39672$as_echo_n "checking for isinfl declaration... " >&6; }
39673  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39674    if ${glibcxx_cv_func_isinfl_use+:} false; then :
39675  $as_echo_n "(cached) " >&6
39676else
39677
39678
39679      ac_ext=cpp
39680ac_cpp='$CXXCPP $CPPFLAGS'
39681ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39682ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39683ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39684
39685      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39686/* end confdefs.h.  */
39687#include <math.h>
39688		      #ifdef HAVE_IEEEFP_H
39689		      #include <ieeefp.h>
39690		      #endif
39691
39692int
39693main ()
39694{
39695 isinfl(0);
39696  ;
39697  return 0;
39698}
39699_ACEOF
39700if ac_fn_cxx_try_compile "$LINENO"; then :
39701  glibcxx_cv_func_isinfl_use=yes
39702else
39703  glibcxx_cv_func_isinfl_use=no
39704fi
39705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39706      ac_ext=c
39707ac_cpp='$CPP $CPPFLAGS'
39708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39709ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39710ac_compiler_gnu=$ac_cv_c_compiler_gnu
39711
39712
39713fi
39714
39715  fi
39716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39717$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39718
39719  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39720    for ac_func in isinfl
39721do :
39722  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39723if test "x$ac_cv_func_isinfl" = xyes; then :
39724  cat >>confdefs.h <<_ACEOF
39725#define HAVE_ISINFL 1
39726_ACEOF
39727
39728fi
39729done
39730
39731  else
39732
39733  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39734$as_echo_n "checking for _isinfl declaration... " >&6; }
39735  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39736    if ${glibcxx_cv_func__isinfl_use+:} false; then :
39737  $as_echo_n "(cached) " >&6
39738else
39739
39740
39741      ac_ext=cpp
39742ac_cpp='$CXXCPP $CPPFLAGS'
39743ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39746
39747      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39748/* end confdefs.h.  */
39749#include <math.h>
39750		      #ifdef HAVE_IEEEFP_H
39751		      #include <ieeefp.h>
39752		      #endif
39753
39754int
39755main ()
39756{
39757 _isinfl(0);
39758  ;
39759  return 0;
39760}
39761_ACEOF
39762if ac_fn_cxx_try_compile "$LINENO"; then :
39763  glibcxx_cv_func__isinfl_use=yes
39764else
39765  glibcxx_cv_func__isinfl_use=no
39766fi
39767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39768      ac_ext=c
39769ac_cpp='$CPP $CPPFLAGS'
39770ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39771ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39772ac_compiler_gnu=$ac_cv_c_compiler_gnu
39773
39774
39775fi
39776
39777  fi
39778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39779$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39780
39781    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39782      for ac_func in _isinfl
39783do :
39784  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39785if test "x$ac_cv_func__isinfl" = xyes; then :
39786  cat >>confdefs.h <<_ACEOF
39787#define HAVE__ISINFL 1
39788_ACEOF
39789
39790fi
39791done
39792
39793    fi
39794  fi
39795
39796
39797
39798
39799
39800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39801$as_echo_n "checking for atan2l declaration... " >&6; }
39802  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39803    if ${glibcxx_cv_func_atan2l_use+:} false; then :
39804  $as_echo_n "(cached) " >&6
39805else
39806
39807
39808      ac_ext=cpp
39809ac_cpp='$CXXCPP $CPPFLAGS'
39810ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39811ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39812ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39813
39814      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39815/* end confdefs.h.  */
39816#include <math.h>
39817int
39818main ()
39819{
39820 atan2l(0, 0);
39821  ;
39822  return 0;
39823}
39824_ACEOF
39825if ac_fn_cxx_try_compile "$LINENO"; then :
39826  glibcxx_cv_func_atan2l_use=yes
39827else
39828  glibcxx_cv_func_atan2l_use=no
39829fi
39830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39831      ac_ext=c
39832ac_cpp='$CPP $CPPFLAGS'
39833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39835ac_compiler_gnu=$ac_cv_c_compiler_gnu
39836
39837
39838fi
39839
39840  fi
39841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39842$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39843
39844  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39845    for ac_func in atan2l
39846do :
39847  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39848if test "x$ac_cv_func_atan2l" = xyes; then :
39849  cat >>confdefs.h <<_ACEOF
39850#define HAVE_ATAN2L 1
39851_ACEOF
39852
39853fi
39854done
39855
39856  else
39857
39858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39859$as_echo_n "checking for _atan2l declaration... " >&6; }
39860  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39861    if ${glibcxx_cv_func__atan2l_use+:} false; then :
39862  $as_echo_n "(cached) " >&6
39863else
39864
39865
39866      ac_ext=cpp
39867ac_cpp='$CXXCPP $CPPFLAGS'
39868ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39869ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39870ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39871
39872      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39873/* end confdefs.h.  */
39874#include <math.h>
39875int
39876main ()
39877{
39878 _atan2l(0, 0);
39879  ;
39880  return 0;
39881}
39882_ACEOF
39883if ac_fn_cxx_try_compile "$LINENO"; then :
39884  glibcxx_cv_func__atan2l_use=yes
39885else
39886  glibcxx_cv_func__atan2l_use=no
39887fi
39888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39889      ac_ext=c
39890ac_cpp='$CPP $CPPFLAGS'
39891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39893ac_compiler_gnu=$ac_cv_c_compiler_gnu
39894
39895
39896fi
39897
39898  fi
39899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39900$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39901
39902    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39903      for ac_func in _atan2l
39904do :
39905  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39906if test "x$ac_cv_func__atan2l" = xyes; then :
39907  cat >>confdefs.h <<_ACEOF
39908#define HAVE__ATAN2L 1
39909_ACEOF
39910
39911fi
39912done
39913
39914    fi
39915  fi
39916
39917
39918
39919
39920
39921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39922$as_echo_n "checking for expl declaration... " >&6; }
39923  if test x${glibcxx_cv_func_expl_use+set} != xset; then
39924    if ${glibcxx_cv_func_expl_use+:} false; then :
39925  $as_echo_n "(cached) " >&6
39926else
39927
39928
39929      ac_ext=cpp
39930ac_cpp='$CXXCPP $CPPFLAGS'
39931ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39932ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39933ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39934
39935      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39936/* end confdefs.h.  */
39937#include <math.h>
39938		      #ifdef HAVE_IEEEFP_H
39939		      #include <ieeefp.h>
39940		      #endif
39941
39942int
39943main ()
39944{
39945 expl(0);
39946  ;
39947  return 0;
39948}
39949_ACEOF
39950if ac_fn_cxx_try_compile "$LINENO"; then :
39951  glibcxx_cv_func_expl_use=yes
39952else
39953  glibcxx_cv_func_expl_use=no
39954fi
39955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39956      ac_ext=c
39957ac_cpp='$CPP $CPPFLAGS'
39958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39960ac_compiler_gnu=$ac_cv_c_compiler_gnu
39961
39962
39963fi
39964
39965  fi
39966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39967$as_echo "$glibcxx_cv_func_expl_use" >&6; }
39968
39969  if test x$glibcxx_cv_func_expl_use = x"yes"; then
39970    for ac_func in expl
39971do :
39972  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39973if test "x$ac_cv_func_expl" = xyes; then :
39974  cat >>confdefs.h <<_ACEOF
39975#define HAVE_EXPL 1
39976_ACEOF
39977
39978fi
39979done
39980
39981  else
39982
39983  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39984$as_echo_n "checking for _expl declaration... " >&6; }
39985  if test x${glibcxx_cv_func__expl_use+set} != xset; then
39986    if ${glibcxx_cv_func__expl_use+:} false; then :
39987  $as_echo_n "(cached) " >&6
39988else
39989
39990
39991      ac_ext=cpp
39992ac_cpp='$CXXCPP $CPPFLAGS'
39993ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39994ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39995ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39996
39997      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39998/* end confdefs.h.  */
39999#include <math.h>
40000		      #ifdef HAVE_IEEEFP_H
40001		      #include <ieeefp.h>
40002		      #endif
40003
40004int
40005main ()
40006{
40007 _expl(0);
40008  ;
40009  return 0;
40010}
40011_ACEOF
40012if ac_fn_cxx_try_compile "$LINENO"; then :
40013  glibcxx_cv_func__expl_use=yes
40014else
40015  glibcxx_cv_func__expl_use=no
40016fi
40017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40018      ac_ext=c
40019ac_cpp='$CPP $CPPFLAGS'
40020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40022ac_compiler_gnu=$ac_cv_c_compiler_gnu
40023
40024
40025fi
40026
40027  fi
40028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
40029$as_echo "$glibcxx_cv_func__expl_use" >&6; }
40030
40031    if test x$glibcxx_cv_func__expl_use = x"yes"; then
40032      for ac_func in _expl
40033do :
40034  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
40035if test "x$ac_cv_func__expl" = xyes; then :
40036  cat >>confdefs.h <<_ACEOF
40037#define HAVE__EXPL 1
40038_ACEOF
40039
40040fi
40041done
40042
40043    fi
40044  fi
40045
40046
40047
40048
40049
40050  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
40051$as_echo_n "checking for fabsl declaration... " >&6; }
40052  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
40053    if ${glibcxx_cv_func_fabsl_use+:} false; then :
40054  $as_echo_n "(cached) " >&6
40055else
40056
40057
40058      ac_ext=cpp
40059ac_cpp='$CXXCPP $CPPFLAGS'
40060ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40061ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40062ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40063
40064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40065/* end confdefs.h.  */
40066#include <math.h>
40067		      #ifdef HAVE_IEEEFP_H
40068		      #include <ieeefp.h>
40069		      #endif
40070
40071int
40072main ()
40073{
40074 fabsl(0);
40075  ;
40076  return 0;
40077}
40078_ACEOF
40079if ac_fn_cxx_try_compile "$LINENO"; then :
40080  glibcxx_cv_func_fabsl_use=yes
40081else
40082  glibcxx_cv_func_fabsl_use=no
40083fi
40084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40085      ac_ext=c
40086ac_cpp='$CPP $CPPFLAGS'
40087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40089ac_compiler_gnu=$ac_cv_c_compiler_gnu
40090
40091
40092fi
40093
40094  fi
40095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
40096$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
40097
40098  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
40099    for ac_func in fabsl
40100do :
40101  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
40102if test "x$ac_cv_func_fabsl" = xyes; then :
40103  cat >>confdefs.h <<_ACEOF
40104#define HAVE_FABSL 1
40105_ACEOF
40106
40107fi
40108done
40109
40110  else
40111
40112  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
40113$as_echo_n "checking for _fabsl declaration... " >&6; }
40114  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
40115    if ${glibcxx_cv_func__fabsl_use+:} false; then :
40116  $as_echo_n "(cached) " >&6
40117else
40118
40119
40120      ac_ext=cpp
40121ac_cpp='$CXXCPP $CPPFLAGS'
40122ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40123ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40124ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40125
40126      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40127/* end confdefs.h.  */
40128#include <math.h>
40129		      #ifdef HAVE_IEEEFP_H
40130		      #include <ieeefp.h>
40131		      #endif
40132
40133int
40134main ()
40135{
40136 _fabsl(0);
40137  ;
40138  return 0;
40139}
40140_ACEOF
40141if ac_fn_cxx_try_compile "$LINENO"; then :
40142  glibcxx_cv_func__fabsl_use=yes
40143else
40144  glibcxx_cv_func__fabsl_use=no
40145fi
40146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40147      ac_ext=c
40148ac_cpp='$CPP $CPPFLAGS'
40149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40151ac_compiler_gnu=$ac_cv_c_compiler_gnu
40152
40153
40154fi
40155
40156  fi
40157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
40158$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
40159
40160    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
40161      for ac_func in _fabsl
40162do :
40163  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
40164if test "x$ac_cv_func__fabsl" = xyes; then :
40165  cat >>confdefs.h <<_ACEOF
40166#define HAVE__FABSL 1
40167_ACEOF
40168
40169fi
40170done
40171
40172    fi
40173  fi
40174
40175
40176
40177
40178
40179  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
40180$as_echo_n "checking for fmodl declaration... " >&6; }
40181  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
40182    if ${glibcxx_cv_func_fmodl_use+:} false; then :
40183  $as_echo_n "(cached) " >&6
40184else
40185
40186
40187      ac_ext=cpp
40188ac_cpp='$CXXCPP $CPPFLAGS'
40189ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40190ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40191ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40192
40193      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40194/* end confdefs.h.  */
40195#include <math.h>
40196int
40197main ()
40198{
40199 fmodl(0, 0);
40200  ;
40201  return 0;
40202}
40203_ACEOF
40204if ac_fn_cxx_try_compile "$LINENO"; then :
40205  glibcxx_cv_func_fmodl_use=yes
40206else
40207  glibcxx_cv_func_fmodl_use=no
40208fi
40209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40210      ac_ext=c
40211ac_cpp='$CPP $CPPFLAGS'
40212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40214ac_compiler_gnu=$ac_cv_c_compiler_gnu
40215
40216
40217fi
40218
40219  fi
40220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
40221$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
40222
40223  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
40224    for ac_func in fmodl
40225do :
40226  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
40227if test "x$ac_cv_func_fmodl" = xyes; then :
40228  cat >>confdefs.h <<_ACEOF
40229#define HAVE_FMODL 1
40230_ACEOF
40231
40232fi
40233done
40234
40235  else
40236
40237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
40238$as_echo_n "checking for _fmodl declaration... " >&6; }
40239  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
40240    if ${glibcxx_cv_func__fmodl_use+:} false; then :
40241  $as_echo_n "(cached) " >&6
40242else
40243
40244
40245      ac_ext=cpp
40246ac_cpp='$CXXCPP $CPPFLAGS'
40247ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40248ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40249ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40250
40251      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40252/* end confdefs.h.  */
40253#include <math.h>
40254int
40255main ()
40256{
40257 _fmodl(0, 0);
40258  ;
40259  return 0;
40260}
40261_ACEOF
40262if ac_fn_cxx_try_compile "$LINENO"; then :
40263  glibcxx_cv_func__fmodl_use=yes
40264else
40265  glibcxx_cv_func__fmodl_use=no
40266fi
40267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40268      ac_ext=c
40269ac_cpp='$CPP $CPPFLAGS'
40270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40272ac_compiler_gnu=$ac_cv_c_compiler_gnu
40273
40274
40275fi
40276
40277  fi
40278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
40279$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
40280
40281    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
40282      for ac_func in _fmodl
40283do :
40284  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
40285if test "x$ac_cv_func__fmodl" = xyes; then :
40286  cat >>confdefs.h <<_ACEOF
40287#define HAVE__FMODL 1
40288_ACEOF
40289
40290fi
40291done
40292
40293    fi
40294  fi
40295
40296
40297
40298
40299
40300  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
40301$as_echo_n "checking for frexpl declaration... " >&6; }
40302  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
40303    if ${glibcxx_cv_func_frexpl_use+:} false; then :
40304  $as_echo_n "(cached) " >&6
40305else
40306
40307
40308      ac_ext=cpp
40309ac_cpp='$CXXCPP $CPPFLAGS'
40310ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40313
40314      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40315/* end confdefs.h.  */
40316#include <math.h>
40317int
40318main ()
40319{
40320 frexpl(0, 0);
40321  ;
40322  return 0;
40323}
40324_ACEOF
40325if ac_fn_cxx_try_compile "$LINENO"; then :
40326  glibcxx_cv_func_frexpl_use=yes
40327else
40328  glibcxx_cv_func_frexpl_use=no
40329fi
40330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40331      ac_ext=c
40332ac_cpp='$CPP $CPPFLAGS'
40333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40335ac_compiler_gnu=$ac_cv_c_compiler_gnu
40336
40337
40338fi
40339
40340  fi
40341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
40342$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
40343
40344  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
40345    for ac_func in frexpl
40346do :
40347  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
40348if test "x$ac_cv_func_frexpl" = xyes; then :
40349  cat >>confdefs.h <<_ACEOF
40350#define HAVE_FREXPL 1
40351_ACEOF
40352
40353fi
40354done
40355
40356  else
40357
40358  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
40359$as_echo_n "checking for _frexpl declaration... " >&6; }
40360  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
40361    if ${glibcxx_cv_func__frexpl_use+:} false; then :
40362  $as_echo_n "(cached) " >&6
40363else
40364
40365
40366      ac_ext=cpp
40367ac_cpp='$CXXCPP $CPPFLAGS'
40368ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40371
40372      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40373/* end confdefs.h.  */
40374#include <math.h>
40375int
40376main ()
40377{
40378 _frexpl(0, 0);
40379  ;
40380  return 0;
40381}
40382_ACEOF
40383if ac_fn_cxx_try_compile "$LINENO"; then :
40384  glibcxx_cv_func__frexpl_use=yes
40385else
40386  glibcxx_cv_func__frexpl_use=no
40387fi
40388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40389      ac_ext=c
40390ac_cpp='$CPP $CPPFLAGS'
40391ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40392ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40393ac_compiler_gnu=$ac_cv_c_compiler_gnu
40394
40395
40396fi
40397
40398  fi
40399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
40400$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
40401
40402    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
40403      for ac_func in _frexpl
40404do :
40405  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
40406if test "x$ac_cv_func__frexpl" = xyes; then :
40407  cat >>confdefs.h <<_ACEOF
40408#define HAVE__FREXPL 1
40409_ACEOF
40410
40411fi
40412done
40413
40414    fi
40415  fi
40416
40417
40418
40419
40420
40421  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
40422$as_echo_n "checking for hypotl declaration... " >&6; }
40423  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
40424    if ${glibcxx_cv_func_hypotl_use+:} false; then :
40425  $as_echo_n "(cached) " >&6
40426else
40427
40428
40429      ac_ext=cpp
40430ac_cpp='$CXXCPP $CPPFLAGS'
40431ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40434
40435      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40436/* end confdefs.h.  */
40437#include <math.h>
40438int
40439main ()
40440{
40441 hypotl(0, 0);
40442  ;
40443  return 0;
40444}
40445_ACEOF
40446if ac_fn_cxx_try_compile "$LINENO"; then :
40447  glibcxx_cv_func_hypotl_use=yes
40448else
40449  glibcxx_cv_func_hypotl_use=no
40450fi
40451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40452      ac_ext=c
40453ac_cpp='$CPP $CPPFLAGS'
40454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456ac_compiler_gnu=$ac_cv_c_compiler_gnu
40457
40458
40459fi
40460
40461  fi
40462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40463$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40464
40465  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40466    for ac_func in hypotl
40467do :
40468  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40469if test "x$ac_cv_func_hypotl" = xyes; then :
40470  cat >>confdefs.h <<_ACEOF
40471#define HAVE_HYPOTL 1
40472_ACEOF
40473
40474fi
40475done
40476
40477  else
40478
40479  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40480$as_echo_n "checking for _hypotl declaration... " >&6; }
40481  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40482    if ${glibcxx_cv_func__hypotl_use+:} false; then :
40483  $as_echo_n "(cached) " >&6
40484else
40485
40486
40487      ac_ext=cpp
40488ac_cpp='$CXXCPP $CPPFLAGS'
40489ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40492
40493      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40494/* end confdefs.h.  */
40495#include <math.h>
40496int
40497main ()
40498{
40499 _hypotl(0, 0);
40500  ;
40501  return 0;
40502}
40503_ACEOF
40504if ac_fn_cxx_try_compile "$LINENO"; then :
40505  glibcxx_cv_func__hypotl_use=yes
40506else
40507  glibcxx_cv_func__hypotl_use=no
40508fi
40509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40510      ac_ext=c
40511ac_cpp='$CPP $CPPFLAGS'
40512ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514ac_compiler_gnu=$ac_cv_c_compiler_gnu
40515
40516
40517fi
40518
40519  fi
40520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40521$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40522
40523    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40524      for ac_func in _hypotl
40525do :
40526  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40527if test "x$ac_cv_func__hypotl" = xyes; then :
40528  cat >>confdefs.h <<_ACEOF
40529#define HAVE__HYPOTL 1
40530_ACEOF
40531
40532fi
40533done
40534
40535    fi
40536  fi
40537
40538
40539
40540
40541
40542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40543$as_echo_n "checking for ldexpl declaration... " >&6; }
40544  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40545    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40546  $as_echo_n "(cached) " >&6
40547else
40548
40549
40550      ac_ext=cpp
40551ac_cpp='$CXXCPP $CPPFLAGS'
40552ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40555
40556      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40557/* end confdefs.h.  */
40558#include <math.h>
40559int
40560main ()
40561{
40562 ldexpl(0, 0);
40563  ;
40564  return 0;
40565}
40566_ACEOF
40567if ac_fn_cxx_try_compile "$LINENO"; then :
40568  glibcxx_cv_func_ldexpl_use=yes
40569else
40570  glibcxx_cv_func_ldexpl_use=no
40571fi
40572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40573      ac_ext=c
40574ac_cpp='$CPP $CPPFLAGS'
40575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577ac_compiler_gnu=$ac_cv_c_compiler_gnu
40578
40579
40580fi
40581
40582  fi
40583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40584$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40585
40586  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40587    for ac_func in ldexpl
40588do :
40589  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40590if test "x$ac_cv_func_ldexpl" = xyes; then :
40591  cat >>confdefs.h <<_ACEOF
40592#define HAVE_LDEXPL 1
40593_ACEOF
40594
40595fi
40596done
40597
40598  else
40599
40600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40601$as_echo_n "checking for _ldexpl declaration... " >&6; }
40602  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40603    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40604  $as_echo_n "(cached) " >&6
40605else
40606
40607
40608      ac_ext=cpp
40609ac_cpp='$CXXCPP $CPPFLAGS'
40610ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40613
40614      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40615/* end confdefs.h.  */
40616#include <math.h>
40617int
40618main ()
40619{
40620 _ldexpl(0, 0);
40621  ;
40622  return 0;
40623}
40624_ACEOF
40625if ac_fn_cxx_try_compile "$LINENO"; then :
40626  glibcxx_cv_func__ldexpl_use=yes
40627else
40628  glibcxx_cv_func__ldexpl_use=no
40629fi
40630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40631      ac_ext=c
40632ac_cpp='$CPP $CPPFLAGS'
40633ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40634ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40635ac_compiler_gnu=$ac_cv_c_compiler_gnu
40636
40637
40638fi
40639
40640  fi
40641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40642$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40643
40644    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40645      for ac_func in _ldexpl
40646do :
40647  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40648if test "x$ac_cv_func__ldexpl" = xyes; then :
40649  cat >>confdefs.h <<_ACEOF
40650#define HAVE__LDEXPL 1
40651_ACEOF
40652
40653fi
40654done
40655
40656    fi
40657  fi
40658
40659
40660
40661
40662
40663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40664$as_echo_n "checking for logl declaration... " >&6; }
40665  if test x${glibcxx_cv_func_logl_use+set} != xset; then
40666    if ${glibcxx_cv_func_logl_use+:} false; then :
40667  $as_echo_n "(cached) " >&6
40668else
40669
40670
40671      ac_ext=cpp
40672ac_cpp='$CXXCPP $CPPFLAGS'
40673ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40674ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40675ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40676
40677      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40678/* end confdefs.h.  */
40679#include <math.h>
40680		      #ifdef HAVE_IEEEFP_H
40681		      #include <ieeefp.h>
40682		      #endif
40683
40684int
40685main ()
40686{
40687 logl(0);
40688  ;
40689  return 0;
40690}
40691_ACEOF
40692if ac_fn_cxx_try_compile "$LINENO"; then :
40693  glibcxx_cv_func_logl_use=yes
40694else
40695  glibcxx_cv_func_logl_use=no
40696fi
40697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40698      ac_ext=c
40699ac_cpp='$CPP $CPPFLAGS'
40700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40702ac_compiler_gnu=$ac_cv_c_compiler_gnu
40703
40704
40705fi
40706
40707  fi
40708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40709$as_echo "$glibcxx_cv_func_logl_use" >&6; }
40710
40711  if test x$glibcxx_cv_func_logl_use = x"yes"; then
40712    for ac_func in logl
40713do :
40714  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40715if test "x$ac_cv_func_logl" = xyes; then :
40716  cat >>confdefs.h <<_ACEOF
40717#define HAVE_LOGL 1
40718_ACEOF
40719
40720fi
40721done
40722
40723  else
40724
40725  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40726$as_echo_n "checking for _logl declaration... " >&6; }
40727  if test x${glibcxx_cv_func__logl_use+set} != xset; then
40728    if ${glibcxx_cv_func__logl_use+:} false; then :
40729  $as_echo_n "(cached) " >&6
40730else
40731
40732
40733      ac_ext=cpp
40734ac_cpp='$CXXCPP $CPPFLAGS'
40735ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40736ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40737ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40738
40739      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40740/* end confdefs.h.  */
40741#include <math.h>
40742		      #ifdef HAVE_IEEEFP_H
40743		      #include <ieeefp.h>
40744		      #endif
40745
40746int
40747main ()
40748{
40749 _logl(0);
40750  ;
40751  return 0;
40752}
40753_ACEOF
40754if ac_fn_cxx_try_compile "$LINENO"; then :
40755  glibcxx_cv_func__logl_use=yes
40756else
40757  glibcxx_cv_func__logl_use=no
40758fi
40759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40760      ac_ext=c
40761ac_cpp='$CPP $CPPFLAGS'
40762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40764ac_compiler_gnu=$ac_cv_c_compiler_gnu
40765
40766
40767fi
40768
40769  fi
40770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40771$as_echo "$glibcxx_cv_func__logl_use" >&6; }
40772
40773    if test x$glibcxx_cv_func__logl_use = x"yes"; then
40774      for ac_func in _logl
40775do :
40776  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40777if test "x$ac_cv_func__logl" = xyes; then :
40778  cat >>confdefs.h <<_ACEOF
40779#define HAVE__LOGL 1
40780_ACEOF
40781
40782fi
40783done
40784
40785    fi
40786  fi
40787
40788
40789
40790
40791
40792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40793$as_echo_n "checking for log10l declaration... " >&6; }
40794  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40795    if ${glibcxx_cv_func_log10l_use+:} false; then :
40796  $as_echo_n "(cached) " >&6
40797else
40798
40799
40800      ac_ext=cpp
40801ac_cpp='$CXXCPP $CPPFLAGS'
40802ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40803ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40804ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40805
40806      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40807/* end confdefs.h.  */
40808#include <math.h>
40809		      #ifdef HAVE_IEEEFP_H
40810		      #include <ieeefp.h>
40811		      #endif
40812
40813int
40814main ()
40815{
40816 log10l(0);
40817  ;
40818  return 0;
40819}
40820_ACEOF
40821if ac_fn_cxx_try_compile "$LINENO"; then :
40822  glibcxx_cv_func_log10l_use=yes
40823else
40824  glibcxx_cv_func_log10l_use=no
40825fi
40826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40827      ac_ext=c
40828ac_cpp='$CPP $CPPFLAGS'
40829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40831ac_compiler_gnu=$ac_cv_c_compiler_gnu
40832
40833
40834fi
40835
40836  fi
40837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40838$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40839
40840  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40841    for ac_func in log10l
40842do :
40843  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40844if test "x$ac_cv_func_log10l" = xyes; then :
40845  cat >>confdefs.h <<_ACEOF
40846#define HAVE_LOG10L 1
40847_ACEOF
40848
40849fi
40850done
40851
40852  else
40853
40854  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40855$as_echo_n "checking for _log10l declaration... " >&6; }
40856  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40857    if ${glibcxx_cv_func__log10l_use+:} false; then :
40858  $as_echo_n "(cached) " >&6
40859else
40860
40861
40862      ac_ext=cpp
40863ac_cpp='$CXXCPP $CPPFLAGS'
40864ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40865ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40866ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40867
40868      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40869/* end confdefs.h.  */
40870#include <math.h>
40871		      #ifdef HAVE_IEEEFP_H
40872		      #include <ieeefp.h>
40873		      #endif
40874
40875int
40876main ()
40877{
40878 _log10l(0);
40879  ;
40880  return 0;
40881}
40882_ACEOF
40883if ac_fn_cxx_try_compile "$LINENO"; then :
40884  glibcxx_cv_func__log10l_use=yes
40885else
40886  glibcxx_cv_func__log10l_use=no
40887fi
40888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40889      ac_ext=c
40890ac_cpp='$CPP $CPPFLAGS'
40891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893ac_compiler_gnu=$ac_cv_c_compiler_gnu
40894
40895
40896fi
40897
40898  fi
40899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40900$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40901
40902    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40903      for ac_func in _log10l
40904do :
40905  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40906if test "x$ac_cv_func__log10l" = xyes; then :
40907  cat >>confdefs.h <<_ACEOF
40908#define HAVE__LOG10L 1
40909_ACEOF
40910
40911fi
40912done
40913
40914    fi
40915  fi
40916
40917
40918
40919
40920
40921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40922$as_echo_n "checking for modfl declaration... " >&6; }
40923  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40924    if ${glibcxx_cv_func_modfl_use+:} false; then :
40925  $as_echo_n "(cached) " >&6
40926else
40927
40928
40929      ac_ext=cpp
40930ac_cpp='$CXXCPP $CPPFLAGS'
40931ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40932ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40933ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40934
40935      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40936/* end confdefs.h.  */
40937#include <math.h>
40938int
40939main ()
40940{
40941 modfl(0, 0);
40942  ;
40943  return 0;
40944}
40945_ACEOF
40946if ac_fn_cxx_try_compile "$LINENO"; then :
40947  glibcxx_cv_func_modfl_use=yes
40948else
40949  glibcxx_cv_func_modfl_use=no
40950fi
40951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40952      ac_ext=c
40953ac_cpp='$CPP $CPPFLAGS'
40954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40956ac_compiler_gnu=$ac_cv_c_compiler_gnu
40957
40958
40959fi
40960
40961  fi
40962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40963$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40964
40965  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40966    for ac_func in modfl
40967do :
40968  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40969if test "x$ac_cv_func_modfl" = xyes; then :
40970  cat >>confdefs.h <<_ACEOF
40971#define HAVE_MODFL 1
40972_ACEOF
40973
40974fi
40975done
40976
40977  else
40978
40979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40980$as_echo_n "checking for _modfl declaration... " >&6; }
40981  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40982    if ${glibcxx_cv_func__modfl_use+:} false; then :
40983  $as_echo_n "(cached) " >&6
40984else
40985
40986
40987      ac_ext=cpp
40988ac_cpp='$CXXCPP $CPPFLAGS'
40989ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40992
40993      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40994/* end confdefs.h.  */
40995#include <math.h>
40996int
40997main ()
40998{
40999 _modfl(0, 0);
41000  ;
41001  return 0;
41002}
41003_ACEOF
41004if ac_fn_cxx_try_compile "$LINENO"; then :
41005  glibcxx_cv_func__modfl_use=yes
41006else
41007  glibcxx_cv_func__modfl_use=no
41008fi
41009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41010      ac_ext=c
41011ac_cpp='$CPP $CPPFLAGS'
41012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014ac_compiler_gnu=$ac_cv_c_compiler_gnu
41015
41016
41017fi
41018
41019  fi
41020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
41021$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
41022
41023    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
41024      for ac_func in _modfl
41025do :
41026  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
41027if test "x$ac_cv_func__modfl" = xyes; then :
41028  cat >>confdefs.h <<_ACEOF
41029#define HAVE__MODFL 1
41030_ACEOF
41031
41032fi
41033done
41034
41035    fi
41036  fi
41037
41038
41039
41040
41041
41042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
41043$as_echo_n "checking for powl declaration... " >&6; }
41044  if test x${glibcxx_cv_func_powl_use+set} != xset; then
41045    if ${glibcxx_cv_func_powl_use+:} false; then :
41046  $as_echo_n "(cached) " >&6
41047else
41048
41049
41050      ac_ext=cpp
41051ac_cpp='$CXXCPP $CPPFLAGS'
41052ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41055
41056      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41057/* end confdefs.h.  */
41058#include <math.h>
41059int
41060main ()
41061{
41062 powl(0, 0);
41063  ;
41064  return 0;
41065}
41066_ACEOF
41067if ac_fn_cxx_try_compile "$LINENO"; then :
41068  glibcxx_cv_func_powl_use=yes
41069else
41070  glibcxx_cv_func_powl_use=no
41071fi
41072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41073      ac_ext=c
41074ac_cpp='$CPP $CPPFLAGS'
41075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41077ac_compiler_gnu=$ac_cv_c_compiler_gnu
41078
41079
41080fi
41081
41082  fi
41083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
41084$as_echo "$glibcxx_cv_func_powl_use" >&6; }
41085
41086  if test x$glibcxx_cv_func_powl_use = x"yes"; then
41087    for ac_func in powl
41088do :
41089  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
41090if test "x$ac_cv_func_powl" = xyes; then :
41091  cat >>confdefs.h <<_ACEOF
41092#define HAVE_POWL 1
41093_ACEOF
41094
41095fi
41096done
41097
41098  else
41099
41100  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
41101$as_echo_n "checking for _powl declaration... " >&6; }
41102  if test x${glibcxx_cv_func__powl_use+set} != xset; then
41103    if ${glibcxx_cv_func__powl_use+:} false; then :
41104  $as_echo_n "(cached) " >&6
41105else
41106
41107
41108      ac_ext=cpp
41109ac_cpp='$CXXCPP $CPPFLAGS'
41110ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41113
41114      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41115/* end confdefs.h.  */
41116#include <math.h>
41117int
41118main ()
41119{
41120 _powl(0, 0);
41121  ;
41122  return 0;
41123}
41124_ACEOF
41125if ac_fn_cxx_try_compile "$LINENO"; then :
41126  glibcxx_cv_func__powl_use=yes
41127else
41128  glibcxx_cv_func__powl_use=no
41129fi
41130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41131      ac_ext=c
41132ac_cpp='$CPP $CPPFLAGS'
41133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135ac_compiler_gnu=$ac_cv_c_compiler_gnu
41136
41137
41138fi
41139
41140  fi
41141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
41142$as_echo "$glibcxx_cv_func__powl_use" >&6; }
41143
41144    if test x$glibcxx_cv_func__powl_use = x"yes"; then
41145      for ac_func in _powl
41146do :
41147  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
41148if test "x$ac_cv_func__powl" = xyes; then :
41149  cat >>confdefs.h <<_ACEOF
41150#define HAVE__POWL 1
41151_ACEOF
41152
41153fi
41154done
41155
41156    fi
41157  fi
41158
41159
41160
41161
41162
41163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
41164$as_echo_n "checking for sqrtl declaration... " >&6; }
41165  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
41166    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
41167  $as_echo_n "(cached) " >&6
41168else
41169
41170
41171      ac_ext=cpp
41172ac_cpp='$CXXCPP $CPPFLAGS'
41173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41176
41177      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41178/* end confdefs.h.  */
41179#include <math.h>
41180		      #ifdef HAVE_IEEEFP_H
41181		      #include <ieeefp.h>
41182		      #endif
41183
41184int
41185main ()
41186{
41187 sqrtl(0);
41188  ;
41189  return 0;
41190}
41191_ACEOF
41192if ac_fn_cxx_try_compile "$LINENO"; then :
41193  glibcxx_cv_func_sqrtl_use=yes
41194else
41195  glibcxx_cv_func_sqrtl_use=no
41196fi
41197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41198      ac_ext=c
41199ac_cpp='$CPP $CPPFLAGS'
41200ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41201ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41202ac_compiler_gnu=$ac_cv_c_compiler_gnu
41203
41204
41205fi
41206
41207  fi
41208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
41209$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
41210
41211  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
41212    for ac_func in sqrtl
41213do :
41214  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
41215if test "x$ac_cv_func_sqrtl" = xyes; then :
41216  cat >>confdefs.h <<_ACEOF
41217#define HAVE_SQRTL 1
41218_ACEOF
41219
41220fi
41221done
41222
41223  else
41224
41225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
41226$as_echo_n "checking for _sqrtl declaration... " >&6; }
41227  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
41228    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
41229  $as_echo_n "(cached) " >&6
41230else
41231
41232
41233      ac_ext=cpp
41234ac_cpp='$CXXCPP $CPPFLAGS'
41235ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41236ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41237ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41238
41239      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41240/* end confdefs.h.  */
41241#include <math.h>
41242		      #ifdef HAVE_IEEEFP_H
41243		      #include <ieeefp.h>
41244		      #endif
41245
41246int
41247main ()
41248{
41249 _sqrtl(0);
41250  ;
41251  return 0;
41252}
41253_ACEOF
41254if ac_fn_cxx_try_compile "$LINENO"; then :
41255  glibcxx_cv_func__sqrtl_use=yes
41256else
41257  glibcxx_cv_func__sqrtl_use=no
41258fi
41259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41260      ac_ext=c
41261ac_cpp='$CPP $CPPFLAGS'
41262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41264ac_compiler_gnu=$ac_cv_c_compiler_gnu
41265
41266
41267fi
41268
41269  fi
41270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
41271$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
41272
41273    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41274      for ac_func in _sqrtl
41275do :
41276  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
41277if test "x$ac_cv_func__sqrtl" = xyes; then :
41278  cat >>confdefs.h <<_ACEOF
41279#define HAVE__SQRTL 1
41280_ACEOF
41281
41282fi
41283done
41284
41285    fi
41286  fi
41287
41288
41289
41290
41291
41292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
41293$as_echo_n "checking for sincosl declaration... " >&6; }
41294  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41295    if ${glibcxx_cv_func_sincosl_use+:} false; then :
41296  $as_echo_n "(cached) " >&6
41297else
41298
41299
41300      ac_ext=cpp
41301ac_cpp='$CXXCPP $CPPFLAGS'
41302ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41303ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41304ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41305
41306      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41307/* end confdefs.h.  */
41308#include <math.h>
41309int
41310main ()
41311{
41312 sincosl(0, 0, 0);
41313  ;
41314  return 0;
41315}
41316_ACEOF
41317if ac_fn_cxx_try_compile "$LINENO"; then :
41318  glibcxx_cv_func_sincosl_use=yes
41319else
41320  glibcxx_cv_func_sincosl_use=no
41321fi
41322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41323      ac_ext=c
41324ac_cpp='$CPP $CPPFLAGS'
41325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41327ac_compiler_gnu=$ac_cv_c_compiler_gnu
41328
41329
41330fi
41331
41332  fi
41333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
41334$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
41335
41336  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41337    for ac_func in sincosl
41338do :
41339  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
41340if test "x$ac_cv_func_sincosl" = xyes; then :
41341  cat >>confdefs.h <<_ACEOF
41342#define HAVE_SINCOSL 1
41343_ACEOF
41344
41345fi
41346done
41347
41348  else
41349
41350  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
41351$as_echo_n "checking for _sincosl declaration... " >&6; }
41352  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41353    if ${glibcxx_cv_func__sincosl_use+:} false; then :
41354  $as_echo_n "(cached) " >&6
41355else
41356
41357
41358      ac_ext=cpp
41359ac_cpp='$CXXCPP $CPPFLAGS'
41360ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41361ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41362ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41363
41364      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41365/* end confdefs.h.  */
41366#include <math.h>
41367int
41368main ()
41369{
41370 _sincosl(0, 0, 0);
41371  ;
41372  return 0;
41373}
41374_ACEOF
41375if ac_fn_cxx_try_compile "$LINENO"; then :
41376  glibcxx_cv_func__sincosl_use=yes
41377else
41378  glibcxx_cv_func__sincosl_use=no
41379fi
41380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41381      ac_ext=c
41382ac_cpp='$CPP $CPPFLAGS'
41383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41385ac_compiler_gnu=$ac_cv_c_compiler_gnu
41386
41387
41388fi
41389
41390  fi
41391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
41392$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
41393
41394    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41395      for ac_func in _sincosl
41396do :
41397  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
41398if test "x$ac_cv_func__sincosl" = xyes; then :
41399  cat >>confdefs.h <<_ACEOF
41400#define HAVE__SINCOSL 1
41401_ACEOF
41402
41403fi
41404done
41405
41406    fi
41407  fi
41408
41409
41410
41411
41412
41413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
41414$as_echo_n "checking for finitel declaration... " >&6; }
41415  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41416    if ${glibcxx_cv_func_finitel_use+:} false; then :
41417  $as_echo_n "(cached) " >&6
41418else
41419
41420
41421      ac_ext=cpp
41422ac_cpp='$CXXCPP $CPPFLAGS'
41423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41426
41427      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41428/* end confdefs.h.  */
41429#include <math.h>
41430		      #ifdef HAVE_IEEEFP_H
41431		      #include <ieeefp.h>
41432		      #endif
41433
41434int
41435main ()
41436{
41437 finitel(0);
41438  ;
41439  return 0;
41440}
41441_ACEOF
41442if ac_fn_cxx_try_compile "$LINENO"; then :
41443  glibcxx_cv_func_finitel_use=yes
41444else
41445  glibcxx_cv_func_finitel_use=no
41446fi
41447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41448      ac_ext=c
41449ac_cpp='$CPP $CPPFLAGS'
41450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41452ac_compiler_gnu=$ac_cv_c_compiler_gnu
41453
41454
41455fi
41456
41457  fi
41458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41459$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41460
41461  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41462    for ac_func in finitel
41463do :
41464  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41465if test "x$ac_cv_func_finitel" = xyes; then :
41466  cat >>confdefs.h <<_ACEOF
41467#define HAVE_FINITEL 1
41468_ACEOF
41469
41470fi
41471done
41472
41473  else
41474
41475  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41476$as_echo_n "checking for _finitel declaration... " >&6; }
41477  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41478    if ${glibcxx_cv_func__finitel_use+:} false; then :
41479  $as_echo_n "(cached) " >&6
41480else
41481
41482
41483      ac_ext=cpp
41484ac_cpp='$CXXCPP $CPPFLAGS'
41485ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41486ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41487ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41488
41489      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41490/* end confdefs.h.  */
41491#include <math.h>
41492		      #ifdef HAVE_IEEEFP_H
41493		      #include <ieeefp.h>
41494		      #endif
41495
41496int
41497main ()
41498{
41499 _finitel(0);
41500  ;
41501  return 0;
41502}
41503_ACEOF
41504if ac_fn_cxx_try_compile "$LINENO"; then :
41505  glibcxx_cv_func__finitel_use=yes
41506else
41507  glibcxx_cv_func__finitel_use=no
41508fi
41509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41510      ac_ext=c
41511ac_cpp='$CPP $CPPFLAGS'
41512ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41513ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41514ac_compiler_gnu=$ac_cv_c_compiler_gnu
41515
41516
41517fi
41518
41519  fi
41520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41521$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41522
41523    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41524      for ac_func in _finitel
41525do :
41526  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41527if test "x$ac_cv_func__finitel" = xyes; then :
41528  cat >>confdefs.h <<_ACEOF
41529#define HAVE__FINITEL 1
41530_ACEOF
41531
41532fi
41533done
41534
41535    fi
41536  fi
41537
41538
41539
41540
41541  LIBS="$ac_save_LIBS"
41542  CXXFLAGS="$ac_save_CXXFLAGS"
41543
41544
41545  ac_test_CXXFLAGS="${CXXFLAGS+set}"
41546  ac_save_CXXFLAGS="$CXXFLAGS"
41547  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41548
41549
41550  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41551$as_echo_n "checking for at_quick_exit declaration... " >&6; }
41552  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41553    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41554  $as_echo_n "(cached) " >&6
41555else
41556
41557
41558      ac_ext=cpp
41559ac_cpp='$CXXCPP $CPPFLAGS'
41560ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41561ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41562ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41563
41564      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41565/* end confdefs.h.  */
41566#include <stdlib.h>
41567int
41568main ()
41569{
41570 at_quick_exit(0);
41571  ;
41572  return 0;
41573}
41574_ACEOF
41575if ac_fn_cxx_try_compile "$LINENO"; then :
41576  glibcxx_cv_func_at_quick_exit_use=yes
41577else
41578  glibcxx_cv_func_at_quick_exit_use=no
41579fi
41580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41581      ac_ext=c
41582ac_cpp='$CPP $CPPFLAGS'
41583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41585ac_compiler_gnu=$ac_cv_c_compiler_gnu
41586
41587
41588fi
41589
41590  fi
41591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41592$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41593  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41594    for ac_func in at_quick_exit
41595do :
41596  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41597if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41598  cat >>confdefs.h <<_ACEOF
41599#define HAVE_AT_QUICK_EXIT 1
41600_ACEOF
41601
41602fi
41603done
41604
41605  fi
41606
41607
41608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41609$as_echo_n "checking for quick_exit declaration... " >&6; }
41610  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41611    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41612  $as_echo_n "(cached) " >&6
41613else
41614
41615
41616      ac_ext=cpp
41617ac_cpp='$CXXCPP $CPPFLAGS'
41618ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41619ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41620ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41621
41622      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41623/* end confdefs.h.  */
41624#include <stdlib.h>
41625int
41626main ()
41627{
41628 quick_exit(0);
41629  ;
41630  return 0;
41631}
41632_ACEOF
41633if ac_fn_cxx_try_compile "$LINENO"; then :
41634  glibcxx_cv_func_quick_exit_use=yes
41635else
41636  glibcxx_cv_func_quick_exit_use=no
41637fi
41638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41639      ac_ext=c
41640ac_cpp='$CPP $CPPFLAGS'
41641ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41642ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41643ac_compiler_gnu=$ac_cv_c_compiler_gnu
41644
41645
41646fi
41647
41648  fi
41649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41650$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41651  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41652    for ac_func in quick_exit
41653do :
41654  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41655if test "x$ac_cv_func_quick_exit" = xyes; then :
41656  cat >>confdefs.h <<_ACEOF
41657#define HAVE_QUICK_EXIT 1
41658_ACEOF
41659
41660fi
41661done
41662
41663  fi
41664
41665
41666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41667$as_echo_n "checking for strtold declaration... " >&6; }
41668  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41669    if ${glibcxx_cv_func_strtold_use+:} false; then :
41670  $as_echo_n "(cached) " >&6
41671else
41672
41673
41674      ac_ext=cpp
41675ac_cpp='$CXXCPP $CPPFLAGS'
41676ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41677ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41678ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41679
41680      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41681/* end confdefs.h.  */
41682#include <stdlib.h>
41683int
41684main ()
41685{
41686 strtold(0, 0);
41687  ;
41688  return 0;
41689}
41690_ACEOF
41691if ac_fn_cxx_try_compile "$LINENO"; then :
41692  glibcxx_cv_func_strtold_use=yes
41693else
41694  glibcxx_cv_func_strtold_use=no
41695fi
41696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41697      ac_ext=c
41698ac_cpp='$CPP $CPPFLAGS'
41699ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701ac_compiler_gnu=$ac_cv_c_compiler_gnu
41702
41703
41704fi
41705
41706  fi
41707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41708$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41709  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41710    for ac_func in strtold
41711do :
41712  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41713if test "x$ac_cv_func_strtold" = xyes; then :
41714  cat >>confdefs.h <<_ACEOF
41715#define HAVE_STRTOLD 1
41716_ACEOF
41717
41718fi
41719done
41720
41721  fi
41722
41723
41724
41725
41726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41727$as_echo_n "checking for strtof declaration... " >&6; }
41728  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41729    if ${glibcxx_cv_func_strtof_use+:} false; then :
41730  $as_echo_n "(cached) " >&6
41731else
41732
41733
41734      ac_ext=cpp
41735ac_cpp='$CXXCPP $CPPFLAGS'
41736ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41737ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41738ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41739
41740      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41741/* end confdefs.h.  */
41742#include <stdlib.h>
41743int
41744main ()
41745{
41746 strtof(0, 0);
41747  ;
41748  return 0;
41749}
41750_ACEOF
41751if ac_fn_cxx_try_compile "$LINENO"; then :
41752  glibcxx_cv_func_strtof_use=yes
41753else
41754  glibcxx_cv_func_strtof_use=no
41755fi
41756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41757      ac_ext=c
41758ac_cpp='$CPP $CPPFLAGS'
41759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41761ac_compiler_gnu=$ac_cv_c_compiler_gnu
41762
41763
41764fi
41765
41766  fi
41767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41768$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41769  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41770    for ac_func in strtof
41771do :
41772  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41773if test "x$ac_cv_func_strtof" = xyes; then :
41774  cat >>confdefs.h <<_ACEOF
41775#define HAVE_STRTOF 1
41776_ACEOF
41777
41778fi
41779done
41780
41781  fi
41782
41783
41784
41785
41786  CXXFLAGS="$ac_save_CXXFLAGS"
41787
41788    $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41789
41790    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41791
41792    # We don't yet support AIX's TLS ABI.
41793    #GCC_CHECK_TLS
41794
41795
41796
41797
41798
41799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41800$as_echo_n "checking for iconv... " >&6; }
41801if ${am_cv_func_iconv+:} false; then :
41802  $as_echo_n "(cached) " >&6
41803else
41804
41805    am_cv_func_iconv="no, consider installing GNU libiconv"
41806    am_cv_lib_iconv=no
41807                    am_save_CPPFLAGS="$CPPFLAGS"
41808    CPPFLAGS="$CPPFLAGS $INCICONV"
41809    if test x$gcc_no_link = xyes; then
41810  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41811fi
41812cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41813/* end confdefs.h.  */
41814#include <stdlib.h>
41815#include <iconv.h>
41816int
41817main ()
41818{
41819iconv_t cd = iconv_open("","");
41820       iconv(cd,NULL,NULL,NULL,NULL);
41821       iconv_close(cd);
41822  ;
41823  return 0;
41824}
41825_ACEOF
41826if ac_fn_c_try_link "$LINENO"; then :
41827  am_cv_func_iconv=yes
41828fi
41829rm -f core conftest.err conftest.$ac_objext \
41830    conftest$ac_exeext conftest.$ac_ext
41831    CPPFLAGS="$am_save_CPPFLAGS"
41832
41833    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41834      for _libs in .libs _libs; do
41835        am_save_CPPFLAGS="$CPPFLAGS"
41836        am_save_LIBS="$LIBS"
41837        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41838        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41839        if test x$gcc_no_link = xyes; then
41840  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41841fi
41842cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41843/* end confdefs.h.  */
41844#include <stdlib.h>
41845#include <iconv.h>
41846int
41847main ()
41848{
41849iconv_t cd = iconv_open("","");
41850           iconv(cd,NULL,NULL,NULL,NULL);
41851           iconv_close(cd);
41852  ;
41853  return 0;
41854}
41855_ACEOF
41856if ac_fn_c_try_link "$LINENO"; then :
41857  INCICONV="-I../libiconv/include"
41858          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41859          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41860          am_cv_lib_iconv=yes
41861          am_cv_func_iconv=yes
41862fi
41863rm -f core conftest.err conftest.$ac_objext \
41864    conftest$ac_exeext conftest.$ac_ext
41865        CPPFLAGS="$am_save_CPPFLAGS"
41866        LIBS="$am_save_LIBS"
41867        if test "$am_cv_func_iconv" = "yes"; then
41868          break
41869        fi
41870      done
41871    fi
41872
41873    if test "$am_cv_func_iconv" != yes; then
41874      am_save_CPPFLAGS="$CPPFLAGS"
41875      am_save_LIBS="$LIBS"
41876      CPPFLAGS="$CPPFLAGS $INCICONV"
41877      LIBS="$LIBS $LIBICONV"
41878      if test x$gcc_no_link = xyes; then
41879  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41880fi
41881cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41882/* end confdefs.h.  */
41883#include <stdlib.h>
41884#include <iconv.h>
41885int
41886main ()
41887{
41888iconv_t cd = iconv_open("","");
41889         iconv(cd,NULL,NULL,NULL,NULL);
41890         iconv_close(cd);
41891  ;
41892  return 0;
41893}
41894_ACEOF
41895if ac_fn_c_try_link "$LINENO"; then :
41896  am_cv_lib_iconv=yes
41897        am_cv_func_iconv=yes
41898fi
41899rm -f core conftest.err conftest.$ac_objext \
41900    conftest$ac_exeext conftest.$ac_ext
41901      CPPFLAGS="$am_save_CPPFLAGS"
41902      LIBS="$am_save_LIBS"
41903    fi
41904
41905fi
41906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41907$as_echo "$am_cv_func_iconv" >&6; }
41908  if test "$am_cv_func_iconv" = yes; then
41909
41910$as_echo "#define HAVE_ICONV 1" >>confdefs.h
41911
41912  fi
41913  if test "$am_cv_lib_iconv" = yes; then
41914
41915  for element in $INCICONV; do
41916    haveit=
41917    for x in $CPPFLAGS; do
41918
41919  acl_save_prefix="$prefix"
41920  prefix="$acl_final_prefix"
41921  acl_save_exec_prefix="$exec_prefix"
41922  exec_prefix="$acl_final_exec_prefix"
41923  eval x=\"$x\"
41924  exec_prefix="$acl_save_exec_prefix"
41925  prefix="$acl_save_prefix"
41926
41927      if test "X$x" = "X$element"; then
41928        haveit=yes
41929        break
41930      fi
41931    done
41932    if test -z "$haveit"; then
41933      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41934    fi
41935  done
41936
41937    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41938$as_echo_n "checking how to link with libiconv... " >&6; }
41939    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41940$as_echo "$LIBICONV" >&6; }
41941  else
41942    LIBICONV=
41943    LTLIBICONV=
41944  fi
41945
41946
41947
41948  if test "$am_cv_func_iconv" = yes; then
41949    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41950$as_echo_n "checking for iconv declaration... " >&6; }
41951    if ${am_cv_proto_iconv+:} false; then :
41952  $as_echo_n "(cached) " >&6
41953else
41954
41955      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41956/* end confdefs.h.  */
41957
41958#include <stdlib.h>
41959#include <iconv.h>
41960extern
41961#ifdef __cplusplus
41962"C"
41963#endif
41964#if defined(__STDC__) || defined(__cplusplus)
41965size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41966#else
41967size_t iconv();
41968#endif
41969
41970int
41971main ()
41972{
41973
41974  ;
41975  return 0;
41976}
41977_ACEOF
41978if ac_fn_c_try_compile "$LINENO"; then :
41979  am_cv_proto_iconv_arg1=""
41980else
41981  am_cv_proto_iconv_arg1="const"
41982fi
41983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41984      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);"
41985fi
41986
41987    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41988    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41989         }$am_cv_proto_iconv" >&5
41990$as_echo "${ac_t:-
41991         }$am_cv_proto_iconv" >&6; }
41992
41993cat >>confdefs.h <<_ACEOF
41994#define ICONV_CONST $am_cv_proto_iconv_arg1
41995_ACEOF
41996
41997  fi
41998
41999    ;;
42000
42001  *-darwin*)
42002    # Darwin versions vary, but the linker should work in a cross environment,
42003    # so we just check for all the features here.
42004    # Check for available headers.
42005
42006    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
42007
42008  ac_test_CXXFLAGS="${CXXFLAGS+set}"
42009  ac_save_CXXFLAGS="$CXXFLAGS"
42010  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42011
42012    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
42013$as_echo_n "checking for sin in -lm... " >&6; }
42014if ${ac_cv_lib_m_sin+:} false; then :
42015  $as_echo_n "(cached) " >&6
42016else
42017  ac_check_lib_save_LIBS=$LIBS
42018LIBS="-lm  $LIBS"
42019if test x$gcc_no_link = xyes; then
42020  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42021fi
42022cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42023/* end confdefs.h.  */
42024
42025/* Override any GCC internal prototype to avoid an error.
42026   Use char because int might match the return type of a GCC
42027   builtin and then its argument prototype would still apply.  */
42028#ifdef __cplusplus
42029extern "C"
42030#endif
42031char sin ();
42032int
42033main ()
42034{
42035return sin ();
42036  ;
42037  return 0;
42038}
42039_ACEOF
42040if ac_fn_c_try_link "$LINENO"; then :
42041  ac_cv_lib_m_sin=yes
42042else
42043  ac_cv_lib_m_sin=no
42044fi
42045rm -f core conftest.err conftest.$ac_objext \
42046    conftest$ac_exeext conftest.$ac_ext
42047LIBS=$ac_check_lib_save_LIBS
42048fi
42049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
42050$as_echo "$ac_cv_lib_m_sin" >&6; }
42051if test "x$ac_cv_lib_m_sin" = xyes; then :
42052  libm="-lm"
42053fi
42054
42055  ac_save_LIBS="$LIBS"
42056  LIBS="$LIBS $libm"
42057
42058
42059
42060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
42061$as_echo_n "checking for isinf declaration... " >&6; }
42062  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42063    if ${glibcxx_cv_func_isinf_use+:} false; then :
42064  $as_echo_n "(cached) " >&6
42065else
42066
42067
42068      ac_ext=cpp
42069ac_cpp='$CXXCPP $CPPFLAGS'
42070ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42071ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42072ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42073
42074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42075/* end confdefs.h.  */
42076#include <math.h>
42077		      #ifdef HAVE_IEEEFP_H
42078		      #include <ieeefp.h>
42079		      #endif
42080
42081int
42082main ()
42083{
42084 isinf(0);
42085  ;
42086  return 0;
42087}
42088_ACEOF
42089if ac_fn_cxx_try_compile "$LINENO"; then :
42090  glibcxx_cv_func_isinf_use=yes
42091else
42092  glibcxx_cv_func_isinf_use=no
42093fi
42094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42095      ac_ext=c
42096ac_cpp='$CPP $CPPFLAGS'
42097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42099ac_compiler_gnu=$ac_cv_c_compiler_gnu
42100
42101
42102fi
42103
42104  fi
42105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
42106$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
42107
42108  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42109    for ac_func in isinf
42110do :
42111  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
42112if test "x$ac_cv_func_isinf" = xyes; then :
42113  cat >>confdefs.h <<_ACEOF
42114#define HAVE_ISINF 1
42115_ACEOF
42116
42117fi
42118done
42119
42120  else
42121
42122  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
42123$as_echo_n "checking for _isinf declaration... " >&6; }
42124  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42125    if ${glibcxx_cv_func__isinf_use+:} false; then :
42126  $as_echo_n "(cached) " >&6
42127else
42128
42129
42130      ac_ext=cpp
42131ac_cpp='$CXXCPP $CPPFLAGS'
42132ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42133ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42134ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42135
42136      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42137/* end confdefs.h.  */
42138#include <math.h>
42139		      #ifdef HAVE_IEEEFP_H
42140		      #include <ieeefp.h>
42141		      #endif
42142
42143int
42144main ()
42145{
42146 _isinf(0);
42147  ;
42148  return 0;
42149}
42150_ACEOF
42151if ac_fn_cxx_try_compile "$LINENO"; then :
42152  glibcxx_cv_func__isinf_use=yes
42153else
42154  glibcxx_cv_func__isinf_use=no
42155fi
42156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42157      ac_ext=c
42158ac_cpp='$CPP $CPPFLAGS'
42159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161ac_compiler_gnu=$ac_cv_c_compiler_gnu
42162
42163
42164fi
42165
42166  fi
42167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
42168$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
42169
42170    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42171      for ac_func in _isinf
42172do :
42173  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
42174if test "x$ac_cv_func__isinf" = xyes; then :
42175  cat >>confdefs.h <<_ACEOF
42176#define HAVE__ISINF 1
42177_ACEOF
42178
42179fi
42180done
42181
42182    fi
42183  fi
42184
42185
42186
42187
42188
42189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
42190$as_echo_n "checking for isnan declaration... " >&6; }
42191  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42192    if ${glibcxx_cv_func_isnan_use+:} false; then :
42193  $as_echo_n "(cached) " >&6
42194else
42195
42196
42197      ac_ext=cpp
42198ac_cpp='$CXXCPP $CPPFLAGS'
42199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42202
42203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42204/* end confdefs.h.  */
42205#include <math.h>
42206		      #ifdef HAVE_IEEEFP_H
42207		      #include <ieeefp.h>
42208		      #endif
42209
42210int
42211main ()
42212{
42213 isnan(0);
42214  ;
42215  return 0;
42216}
42217_ACEOF
42218if ac_fn_cxx_try_compile "$LINENO"; then :
42219  glibcxx_cv_func_isnan_use=yes
42220else
42221  glibcxx_cv_func_isnan_use=no
42222fi
42223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42224      ac_ext=c
42225ac_cpp='$CPP $CPPFLAGS'
42226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228ac_compiler_gnu=$ac_cv_c_compiler_gnu
42229
42230
42231fi
42232
42233  fi
42234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
42235$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
42236
42237  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42238    for ac_func in isnan
42239do :
42240  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
42241if test "x$ac_cv_func_isnan" = xyes; then :
42242  cat >>confdefs.h <<_ACEOF
42243#define HAVE_ISNAN 1
42244_ACEOF
42245
42246fi
42247done
42248
42249  else
42250
42251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
42252$as_echo_n "checking for _isnan declaration... " >&6; }
42253  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42254    if ${glibcxx_cv_func__isnan_use+:} false; then :
42255  $as_echo_n "(cached) " >&6
42256else
42257
42258
42259      ac_ext=cpp
42260ac_cpp='$CXXCPP $CPPFLAGS'
42261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42264
42265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42266/* end confdefs.h.  */
42267#include <math.h>
42268		      #ifdef HAVE_IEEEFP_H
42269		      #include <ieeefp.h>
42270		      #endif
42271
42272int
42273main ()
42274{
42275 _isnan(0);
42276  ;
42277  return 0;
42278}
42279_ACEOF
42280if ac_fn_cxx_try_compile "$LINENO"; then :
42281  glibcxx_cv_func__isnan_use=yes
42282else
42283  glibcxx_cv_func__isnan_use=no
42284fi
42285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42286      ac_ext=c
42287ac_cpp='$CPP $CPPFLAGS'
42288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42290ac_compiler_gnu=$ac_cv_c_compiler_gnu
42291
42292
42293fi
42294
42295  fi
42296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
42297$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
42298
42299    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42300      for ac_func in _isnan
42301do :
42302  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
42303if test "x$ac_cv_func__isnan" = xyes; then :
42304  cat >>confdefs.h <<_ACEOF
42305#define HAVE__ISNAN 1
42306_ACEOF
42307
42308fi
42309done
42310
42311    fi
42312  fi
42313
42314
42315
42316
42317
42318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
42319$as_echo_n "checking for finite declaration... " >&6; }
42320  if test x${glibcxx_cv_func_finite_use+set} != xset; then
42321    if ${glibcxx_cv_func_finite_use+:} false; then :
42322  $as_echo_n "(cached) " >&6
42323else
42324
42325
42326      ac_ext=cpp
42327ac_cpp='$CXXCPP $CPPFLAGS'
42328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42329ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42331
42332      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42333/* end confdefs.h.  */
42334#include <math.h>
42335		      #ifdef HAVE_IEEEFP_H
42336		      #include <ieeefp.h>
42337		      #endif
42338
42339int
42340main ()
42341{
42342 finite(0);
42343  ;
42344  return 0;
42345}
42346_ACEOF
42347if ac_fn_cxx_try_compile "$LINENO"; then :
42348  glibcxx_cv_func_finite_use=yes
42349else
42350  glibcxx_cv_func_finite_use=no
42351fi
42352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42353      ac_ext=c
42354ac_cpp='$CPP $CPPFLAGS'
42355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42357ac_compiler_gnu=$ac_cv_c_compiler_gnu
42358
42359
42360fi
42361
42362  fi
42363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42364$as_echo "$glibcxx_cv_func_finite_use" >&6; }
42365
42366  if test x$glibcxx_cv_func_finite_use = x"yes"; then
42367    for ac_func in finite
42368do :
42369  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42370if test "x$ac_cv_func_finite" = xyes; then :
42371  cat >>confdefs.h <<_ACEOF
42372#define HAVE_FINITE 1
42373_ACEOF
42374
42375fi
42376done
42377
42378  else
42379
42380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42381$as_echo_n "checking for _finite declaration... " >&6; }
42382  if test x${glibcxx_cv_func__finite_use+set} != xset; then
42383    if ${glibcxx_cv_func__finite_use+:} false; then :
42384  $as_echo_n "(cached) " >&6
42385else
42386
42387
42388      ac_ext=cpp
42389ac_cpp='$CXXCPP $CPPFLAGS'
42390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42393
42394      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42395/* end confdefs.h.  */
42396#include <math.h>
42397		      #ifdef HAVE_IEEEFP_H
42398		      #include <ieeefp.h>
42399		      #endif
42400
42401int
42402main ()
42403{
42404 _finite(0);
42405  ;
42406  return 0;
42407}
42408_ACEOF
42409if ac_fn_cxx_try_compile "$LINENO"; then :
42410  glibcxx_cv_func__finite_use=yes
42411else
42412  glibcxx_cv_func__finite_use=no
42413fi
42414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42415      ac_ext=c
42416ac_cpp='$CPP $CPPFLAGS'
42417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42419ac_compiler_gnu=$ac_cv_c_compiler_gnu
42420
42421
42422fi
42423
42424  fi
42425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42426$as_echo "$glibcxx_cv_func__finite_use" >&6; }
42427
42428    if test x$glibcxx_cv_func__finite_use = x"yes"; then
42429      for ac_func in _finite
42430do :
42431  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42432if test "x$ac_cv_func__finite" = xyes; then :
42433  cat >>confdefs.h <<_ACEOF
42434#define HAVE__FINITE 1
42435_ACEOF
42436
42437fi
42438done
42439
42440    fi
42441  fi
42442
42443
42444
42445
42446
42447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42448$as_echo_n "checking for sincos declaration... " >&6; }
42449  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42450    if ${glibcxx_cv_func_sincos_use+:} false; then :
42451  $as_echo_n "(cached) " >&6
42452else
42453
42454
42455      ac_ext=cpp
42456ac_cpp='$CXXCPP $CPPFLAGS'
42457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42460
42461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42462/* end confdefs.h.  */
42463#include <math.h>
42464int
42465main ()
42466{
42467 sincos(0, 0, 0);
42468  ;
42469  return 0;
42470}
42471_ACEOF
42472if ac_fn_cxx_try_compile "$LINENO"; then :
42473  glibcxx_cv_func_sincos_use=yes
42474else
42475  glibcxx_cv_func_sincos_use=no
42476fi
42477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42478      ac_ext=c
42479ac_cpp='$CPP $CPPFLAGS'
42480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482ac_compiler_gnu=$ac_cv_c_compiler_gnu
42483
42484
42485fi
42486
42487  fi
42488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42489$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42490
42491  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42492    for ac_func in sincos
42493do :
42494  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42495if test "x$ac_cv_func_sincos" = xyes; then :
42496  cat >>confdefs.h <<_ACEOF
42497#define HAVE_SINCOS 1
42498_ACEOF
42499
42500fi
42501done
42502
42503  else
42504
42505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42506$as_echo_n "checking for _sincos declaration... " >&6; }
42507  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42508    if ${glibcxx_cv_func__sincos_use+:} false; then :
42509  $as_echo_n "(cached) " >&6
42510else
42511
42512
42513      ac_ext=cpp
42514ac_cpp='$CXXCPP $CPPFLAGS'
42515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42518
42519      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42520/* end confdefs.h.  */
42521#include <math.h>
42522int
42523main ()
42524{
42525 _sincos(0, 0, 0);
42526  ;
42527  return 0;
42528}
42529_ACEOF
42530if ac_fn_cxx_try_compile "$LINENO"; then :
42531  glibcxx_cv_func__sincos_use=yes
42532else
42533  glibcxx_cv_func__sincos_use=no
42534fi
42535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42536      ac_ext=c
42537ac_cpp='$CPP $CPPFLAGS'
42538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42540ac_compiler_gnu=$ac_cv_c_compiler_gnu
42541
42542
42543fi
42544
42545  fi
42546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42547$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42548
42549    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42550      for ac_func in _sincos
42551do :
42552  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42553if test "x$ac_cv_func__sincos" = xyes; then :
42554  cat >>confdefs.h <<_ACEOF
42555#define HAVE__SINCOS 1
42556_ACEOF
42557
42558fi
42559done
42560
42561    fi
42562  fi
42563
42564
42565
42566
42567
42568  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42569$as_echo_n "checking for fpclass declaration... " >&6; }
42570  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42571    if ${glibcxx_cv_func_fpclass_use+:} false; then :
42572  $as_echo_n "(cached) " >&6
42573else
42574
42575
42576      ac_ext=cpp
42577ac_cpp='$CXXCPP $CPPFLAGS'
42578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42581
42582      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42583/* end confdefs.h.  */
42584#include <math.h>
42585		      #ifdef HAVE_IEEEFP_H
42586		      #include <ieeefp.h>
42587		      #endif
42588
42589int
42590main ()
42591{
42592 fpclass(0);
42593  ;
42594  return 0;
42595}
42596_ACEOF
42597if ac_fn_cxx_try_compile "$LINENO"; then :
42598  glibcxx_cv_func_fpclass_use=yes
42599else
42600  glibcxx_cv_func_fpclass_use=no
42601fi
42602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42603      ac_ext=c
42604ac_cpp='$CPP $CPPFLAGS'
42605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42607ac_compiler_gnu=$ac_cv_c_compiler_gnu
42608
42609
42610fi
42611
42612  fi
42613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42614$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42615
42616  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42617    for ac_func in fpclass
42618do :
42619  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42620if test "x$ac_cv_func_fpclass" = xyes; then :
42621  cat >>confdefs.h <<_ACEOF
42622#define HAVE_FPCLASS 1
42623_ACEOF
42624
42625fi
42626done
42627
42628  else
42629
42630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42631$as_echo_n "checking for _fpclass declaration... " >&6; }
42632  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42633    if ${glibcxx_cv_func__fpclass_use+:} false; then :
42634  $as_echo_n "(cached) " >&6
42635else
42636
42637
42638      ac_ext=cpp
42639ac_cpp='$CXXCPP $CPPFLAGS'
42640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42643
42644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42645/* end confdefs.h.  */
42646#include <math.h>
42647		      #ifdef HAVE_IEEEFP_H
42648		      #include <ieeefp.h>
42649		      #endif
42650
42651int
42652main ()
42653{
42654 _fpclass(0);
42655  ;
42656  return 0;
42657}
42658_ACEOF
42659if ac_fn_cxx_try_compile "$LINENO"; then :
42660  glibcxx_cv_func__fpclass_use=yes
42661else
42662  glibcxx_cv_func__fpclass_use=no
42663fi
42664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42665      ac_ext=c
42666ac_cpp='$CPP $CPPFLAGS'
42667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42669ac_compiler_gnu=$ac_cv_c_compiler_gnu
42670
42671
42672fi
42673
42674  fi
42675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42676$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42677
42678    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42679      for ac_func in _fpclass
42680do :
42681  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42682if test "x$ac_cv_func__fpclass" = xyes; then :
42683  cat >>confdefs.h <<_ACEOF
42684#define HAVE__FPCLASS 1
42685_ACEOF
42686
42687fi
42688done
42689
42690    fi
42691  fi
42692
42693
42694
42695
42696
42697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42698$as_echo_n "checking for qfpclass declaration... " >&6; }
42699  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42700    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42701  $as_echo_n "(cached) " >&6
42702else
42703
42704
42705      ac_ext=cpp
42706ac_cpp='$CXXCPP $CPPFLAGS'
42707ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42708ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42709ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42710
42711      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42712/* end confdefs.h.  */
42713#include <math.h>
42714		      #ifdef HAVE_IEEEFP_H
42715		      #include <ieeefp.h>
42716		      #endif
42717
42718int
42719main ()
42720{
42721 qfpclass(0);
42722  ;
42723  return 0;
42724}
42725_ACEOF
42726if ac_fn_cxx_try_compile "$LINENO"; then :
42727  glibcxx_cv_func_qfpclass_use=yes
42728else
42729  glibcxx_cv_func_qfpclass_use=no
42730fi
42731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42732      ac_ext=c
42733ac_cpp='$CPP $CPPFLAGS'
42734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42736ac_compiler_gnu=$ac_cv_c_compiler_gnu
42737
42738
42739fi
42740
42741  fi
42742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42743$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42744
42745  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42746    for ac_func in qfpclass
42747do :
42748  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42749if test "x$ac_cv_func_qfpclass" = xyes; then :
42750  cat >>confdefs.h <<_ACEOF
42751#define HAVE_QFPCLASS 1
42752_ACEOF
42753
42754fi
42755done
42756
42757  else
42758
42759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42760$as_echo_n "checking for _qfpclass declaration... " >&6; }
42761  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42762    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42763  $as_echo_n "(cached) " >&6
42764else
42765
42766
42767      ac_ext=cpp
42768ac_cpp='$CXXCPP $CPPFLAGS'
42769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42772
42773      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42774/* end confdefs.h.  */
42775#include <math.h>
42776		      #ifdef HAVE_IEEEFP_H
42777		      #include <ieeefp.h>
42778		      #endif
42779
42780int
42781main ()
42782{
42783 _qfpclass(0);
42784  ;
42785  return 0;
42786}
42787_ACEOF
42788if ac_fn_cxx_try_compile "$LINENO"; then :
42789  glibcxx_cv_func__qfpclass_use=yes
42790else
42791  glibcxx_cv_func__qfpclass_use=no
42792fi
42793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42794      ac_ext=c
42795ac_cpp='$CPP $CPPFLAGS'
42796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798ac_compiler_gnu=$ac_cv_c_compiler_gnu
42799
42800
42801fi
42802
42803  fi
42804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42805$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42806
42807    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42808      for ac_func in _qfpclass
42809do :
42810  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42811if test "x$ac_cv_func__qfpclass" = xyes; then :
42812  cat >>confdefs.h <<_ACEOF
42813#define HAVE__QFPCLASS 1
42814_ACEOF
42815
42816fi
42817done
42818
42819    fi
42820  fi
42821
42822
42823
42824
42825
42826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42827$as_echo_n "checking for hypot declaration... " >&6; }
42828  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42829    if ${glibcxx_cv_func_hypot_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{
42846 hypot(0, 0);
42847  ;
42848  return 0;
42849}
42850_ACEOF
42851if ac_fn_cxx_try_compile "$LINENO"; then :
42852  glibcxx_cv_func_hypot_use=yes
42853else
42854  glibcxx_cv_func_hypot_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
42863
42864fi
42865
42866  fi
42867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42868$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42869
42870  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42871    for ac_func in hypot
42872do :
42873  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42874if test "x$ac_cv_func_hypot" = xyes; then :
42875  cat >>confdefs.h <<_ACEOF
42876#define HAVE_HYPOT 1
42877_ACEOF
42878
42879fi
42880done
42881
42882  else
42883
42884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42885$as_echo_n "checking for _hypot declaration... " >&6; }
42886  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42887    if ${glibcxx_cv_func__hypot_use+:} false; then :
42888  $as_echo_n "(cached) " >&6
42889else
42890
42891
42892      ac_ext=cpp
42893ac_cpp='$CXXCPP $CPPFLAGS'
42894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42897
42898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42899/* end confdefs.h.  */
42900#include <math.h>
42901int
42902main ()
42903{
42904 _hypot(0, 0);
42905  ;
42906  return 0;
42907}
42908_ACEOF
42909if ac_fn_cxx_try_compile "$LINENO"; then :
42910  glibcxx_cv_func__hypot_use=yes
42911else
42912  glibcxx_cv_func__hypot_use=no
42913fi
42914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42915      ac_ext=c
42916ac_cpp='$CPP $CPPFLAGS'
42917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42919ac_compiler_gnu=$ac_cv_c_compiler_gnu
42920
42921
42922fi
42923
42924  fi
42925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42926$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42927
42928    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42929      for ac_func in _hypot
42930do :
42931  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42932if test "x$ac_cv_func__hypot" = xyes; then :
42933  cat >>confdefs.h <<_ACEOF
42934#define HAVE__HYPOT 1
42935_ACEOF
42936
42937fi
42938done
42939
42940    fi
42941  fi
42942
42943
42944
42945
42946
42947    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42948$as_echo_n "checking for float trig functions... " >&6; }
42949  if ${glibcxx_cv_func_float_trig_use+:} false; then :
42950  $as_echo_n "(cached) " >&6
42951else
42952
42953
42954    ac_ext=cpp
42955ac_cpp='$CXXCPP $CPPFLAGS'
42956ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42957ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42958ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42959
42960    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42961/* end confdefs.h.  */
42962#include <math.h>
42963int
42964main ()
42965{
42966acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42967  ;
42968  return 0;
42969}
42970_ACEOF
42971if ac_fn_cxx_try_compile "$LINENO"; then :
42972  glibcxx_cv_func_float_trig_use=yes
42973else
42974  glibcxx_cv_func_float_trig_use=no
42975fi
42976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42977    ac_ext=c
42978ac_cpp='$CPP $CPPFLAGS'
42979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42981ac_compiler_gnu=$ac_cv_c_compiler_gnu
42982
42983fi
42984
42985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42986$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42987  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42988    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42989do :
42990  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42991ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42992if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42993  cat >>confdefs.h <<_ACEOF
42994#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42995_ACEOF
42996
42997fi
42998done
42999
43000  else
43001    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
43002$as_echo_n "checking for _float trig functions... " >&6; }
43003    if ${glibcxx_cv_func__float_trig_use+:} false; then :
43004  $as_echo_n "(cached) " >&6
43005else
43006
43007
43008      ac_ext=cpp
43009ac_cpp='$CXXCPP $CPPFLAGS'
43010ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43011ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43012ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43013
43014      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43015/* end confdefs.h.  */
43016#include <math.h>
43017int
43018main ()
43019{
43020_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
43021  ;
43022  return 0;
43023}
43024_ACEOF
43025if ac_fn_cxx_try_compile "$LINENO"; then :
43026  glibcxx_cv_func__float_trig_use=yes
43027else
43028  glibcxx_cv_func__float_trig_use=no
43029fi
43030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43031      ac_ext=c
43032ac_cpp='$CPP $CPPFLAGS'
43033ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43034ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43035ac_compiler_gnu=$ac_cv_c_compiler_gnu
43036
43037fi
43038
43039    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
43040$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
43041    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
43042      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
43043do :
43044  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43045ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43046if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43047  cat >>confdefs.h <<_ACEOF
43048#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43049_ACEOF
43050
43051fi
43052done
43053
43054    fi
43055  fi
43056
43057
43058
43059
43060
43061    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
43062$as_echo_n "checking for float round functions... " >&6; }
43063  if ${glibcxx_cv_func_float_round_use+:} false; then :
43064  $as_echo_n "(cached) " >&6
43065else
43066
43067
43068    ac_ext=cpp
43069ac_cpp='$CXXCPP $CPPFLAGS'
43070ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43071ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43072ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43073
43074    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43075/* end confdefs.h.  */
43076#include <math.h>
43077int
43078main ()
43079{
43080ceilf (0); floorf (0);
43081  ;
43082  return 0;
43083}
43084_ACEOF
43085if ac_fn_cxx_try_compile "$LINENO"; then :
43086  glibcxx_cv_func_float_round_use=yes
43087else
43088  glibcxx_cv_func_float_round_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
43097fi
43098
43099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
43100$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
43101  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
43102    for ac_func in ceilf floorf
43103do :
43104  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43105ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43106if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43107  cat >>confdefs.h <<_ACEOF
43108#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43109_ACEOF
43110
43111fi
43112done
43113
43114  else
43115    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
43116$as_echo_n "checking for _float round functions... " >&6; }
43117    if ${glibcxx_cv_func__float_round_use+:} false; then :
43118  $as_echo_n "(cached) " >&6
43119else
43120
43121
43122      ac_ext=cpp
43123ac_cpp='$CXXCPP $CPPFLAGS'
43124ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43125ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43126ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43127
43128      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43129/* end confdefs.h.  */
43130#include <math.h>
43131int
43132main ()
43133{
43134_ceilf (0); _floorf (0);
43135  ;
43136  return 0;
43137}
43138_ACEOF
43139if ac_fn_cxx_try_compile "$LINENO"; then :
43140  glibcxx_cv_func__float_round_use=yes
43141else
43142  glibcxx_cv_func__float_round_use=no
43143fi
43144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43145      ac_ext=c
43146ac_cpp='$CPP $CPPFLAGS'
43147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149ac_compiler_gnu=$ac_cv_c_compiler_gnu
43150
43151fi
43152
43153    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
43154$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
43155    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
43156      for ac_func in _ceilf _floorf
43157do :
43158  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43159ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43160if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43161  cat >>confdefs.h <<_ACEOF
43162#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43163_ACEOF
43164
43165fi
43166done
43167
43168    fi
43169  fi
43170
43171
43172
43173
43174
43175
43176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
43177$as_echo_n "checking for expf declaration... " >&6; }
43178  if test x${glibcxx_cv_func_expf_use+set} != xset; then
43179    if ${glibcxx_cv_func_expf_use+:} false; then :
43180  $as_echo_n "(cached) " >&6
43181else
43182
43183
43184      ac_ext=cpp
43185ac_cpp='$CXXCPP $CPPFLAGS'
43186ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43189
43190      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43191/* end confdefs.h.  */
43192#include <math.h>
43193		      #ifdef HAVE_IEEEFP_H
43194		      #include <ieeefp.h>
43195		      #endif
43196
43197int
43198main ()
43199{
43200 expf(0);
43201  ;
43202  return 0;
43203}
43204_ACEOF
43205if ac_fn_cxx_try_compile "$LINENO"; then :
43206  glibcxx_cv_func_expf_use=yes
43207else
43208  glibcxx_cv_func_expf_use=no
43209fi
43210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43211      ac_ext=c
43212ac_cpp='$CPP $CPPFLAGS'
43213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43215ac_compiler_gnu=$ac_cv_c_compiler_gnu
43216
43217
43218fi
43219
43220  fi
43221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
43222$as_echo "$glibcxx_cv_func_expf_use" >&6; }
43223
43224  if test x$glibcxx_cv_func_expf_use = x"yes"; then
43225    for ac_func in expf
43226do :
43227  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
43228if test "x$ac_cv_func_expf" = xyes; then :
43229  cat >>confdefs.h <<_ACEOF
43230#define HAVE_EXPF 1
43231_ACEOF
43232
43233fi
43234done
43235
43236  else
43237
43238  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
43239$as_echo_n "checking for _expf declaration... " >&6; }
43240  if test x${glibcxx_cv_func__expf_use+set} != xset; then
43241    if ${glibcxx_cv_func__expf_use+:} false; then :
43242  $as_echo_n "(cached) " >&6
43243else
43244
43245
43246      ac_ext=cpp
43247ac_cpp='$CXXCPP $CPPFLAGS'
43248ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43249ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43250ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43251
43252      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43253/* end confdefs.h.  */
43254#include <math.h>
43255		      #ifdef HAVE_IEEEFP_H
43256		      #include <ieeefp.h>
43257		      #endif
43258
43259int
43260main ()
43261{
43262 _expf(0);
43263  ;
43264  return 0;
43265}
43266_ACEOF
43267if ac_fn_cxx_try_compile "$LINENO"; then :
43268  glibcxx_cv_func__expf_use=yes
43269else
43270  glibcxx_cv_func__expf_use=no
43271fi
43272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43273      ac_ext=c
43274ac_cpp='$CPP $CPPFLAGS'
43275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43277ac_compiler_gnu=$ac_cv_c_compiler_gnu
43278
43279
43280fi
43281
43282  fi
43283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
43284$as_echo "$glibcxx_cv_func__expf_use" >&6; }
43285
43286    if test x$glibcxx_cv_func__expf_use = x"yes"; then
43287      for ac_func in _expf
43288do :
43289  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
43290if test "x$ac_cv_func__expf" = xyes; then :
43291  cat >>confdefs.h <<_ACEOF
43292#define HAVE__EXPF 1
43293_ACEOF
43294
43295fi
43296done
43297
43298    fi
43299  fi
43300
43301
43302
43303
43304
43305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
43306$as_echo_n "checking for isnanf declaration... " >&6; }
43307  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
43308    if ${glibcxx_cv_func_isnanf_use+:} false; then :
43309  $as_echo_n "(cached) " >&6
43310else
43311
43312
43313      ac_ext=cpp
43314ac_cpp='$CXXCPP $CPPFLAGS'
43315ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43316ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43317ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43318
43319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43320/* end confdefs.h.  */
43321#include <math.h>
43322		      #ifdef HAVE_IEEEFP_H
43323		      #include <ieeefp.h>
43324		      #endif
43325
43326int
43327main ()
43328{
43329 isnanf(0);
43330  ;
43331  return 0;
43332}
43333_ACEOF
43334if ac_fn_cxx_try_compile "$LINENO"; then :
43335  glibcxx_cv_func_isnanf_use=yes
43336else
43337  glibcxx_cv_func_isnanf_use=no
43338fi
43339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43340      ac_ext=c
43341ac_cpp='$CPP $CPPFLAGS'
43342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43344ac_compiler_gnu=$ac_cv_c_compiler_gnu
43345
43346
43347fi
43348
43349  fi
43350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43351$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43352
43353  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
43354    for ac_func in isnanf
43355do :
43356  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
43357if test "x$ac_cv_func_isnanf" = xyes; then :
43358  cat >>confdefs.h <<_ACEOF
43359#define HAVE_ISNANF 1
43360_ACEOF
43361
43362fi
43363done
43364
43365  else
43366
43367  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43368$as_echo_n "checking for _isnanf declaration... " >&6; }
43369  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43370    if ${glibcxx_cv_func__isnanf_use+:} false; then :
43371  $as_echo_n "(cached) " >&6
43372else
43373
43374
43375      ac_ext=cpp
43376ac_cpp='$CXXCPP $CPPFLAGS'
43377ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43378ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43379ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43380
43381      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43382/* end confdefs.h.  */
43383#include <math.h>
43384		      #ifdef HAVE_IEEEFP_H
43385		      #include <ieeefp.h>
43386		      #endif
43387
43388int
43389main ()
43390{
43391 _isnanf(0);
43392  ;
43393  return 0;
43394}
43395_ACEOF
43396if ac_fn_cxx_try_compile "$LINENO"; then :
43397  glibcxx_cv_func__isnanf_use=yes
43398else
43399  glibcxx_cv_func__isnanf_use=no
43400fi
43401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43402      ac_ext=c
43403ac_cpp='$CPP $CPPFLAGS'
43404ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406ac_compiler_gnu=$ac_cv_c_compiler_gnu
43407
43408
43409fi
43410
43411  fi
43412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43413$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43414
43415    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43416      for ac_func in _isnanf
43417do :
43418  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43419if test "x$ac_cv_func__isnanf" = xyes; then :
43420  cat >>confdefs.h <<_ACEOF
43421#define HAVE__ISNANF 1
43422_ACEOF
43423
43424fi
43425done
43426
43427    fi
43428  fi
43429
43430
43431
43432
43433
43434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43435$as_echo_n "checking for isinff declaration... " >&6; }
43436  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43437    if ${glibcxx_cv_func_isinff_use+:} false; then :
43438  $as_echo_n "(cached) " >&6
43439else
43440
43441
43442      ac_ext=cpp
43443ac_cpp='$CXXCPP $CPPFLAGS'
43444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43447
43448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43449/* end confdefs.h.  */
43450#include <math.h>
43451		      #ifdef HAVE_IEEEFP_H
43452		      #include <ieeefp.h>
43453		      #endif
43454
43455int
43456main ()
43457{
43458 isinff(0);
43459  ;
43460  return 0;
43461}
43462_ACEOF
43463if ac_fn_cxx_try_compile "$LINENO"; then :
43464  glibcxx_cv_func_isinff_use=yes
43465else
43466  glibcxx_cv_func_isinff_use=no
43467fi
43468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43469      ac_ext=c
43470ac_cpp='$CPP $CPPFLAGS'
43471ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43472ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43473ac_compiler_gnu=$ac_cv_c_compiler_gnu
43474
43475
43476fi
43477
43478  fi
43479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43480$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43481
43482  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43483    for ac_func in isinff
43484do :
43485  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43486if test "x$ac_cv_func_isinff" = xyes; then :
43487  cat >>confdefs.h <<_ACEOF
43488#define HAVE_ISINFF 1
43489_ACEOF
43490
43491fi
43492done
43493
43494  else
43495
43496  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43497$as_echo_n "checking for _isinff declaration... " >&6; }
43498  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43499    if ${glibcxx_cv_func__isinff_use+:} false; then :
43500  $as_echo_n "(cached) " >&6
43501else
43502
43503
43504      ac_ext=cpp
43505ac_cpp='$CXXCPP $CPPFLAGS'
43506ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43509
43510      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43511/* end confdefs.h.  */
43512#include <math.h>
43513		      #ifdef HAVE_IEEEFP_H
43514		      #include <ieeefp.h>
43515		      #endif
43516
43517int
43518main ()
43519{
43520 _isinff(0);
43521  ;
43522  return 0;
43523}
43524_ACEOF
43525if ac_fn_cxx_try_compile "$LINENO"; then :
43526  glibcxx_cv_func__isinff_use=yes
43527else
43528  glibcxx_cv_func__isinff_use=no
43529fi
43530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43531      ac_ext=c
43532ac_cpp='$CPP $CPPFLAGS'
43533ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535ac_compiler_gnu=$ac_cv_c_compiler_gnu
43536
43537
43538fi
43539
43540  fi
43541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43542$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43543
43544    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43545      for ac_func in _isinff
43546do :
43547  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43548if test "x$ac_cv_func__isinff" = xyes; then :
43549  cat >>confdefs.h <<_ACEOF
43550#define HAVE__ISINFF 1
43551_ACEOF
43552
43553fi
43554done
43555
43556    fi
43557  fi
43558
43559
43560
43561
43562
43563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43564$as_echo_n "checking for atan2f declaration... " >&6; }
43565  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43566    if ${glibcxx_cv_func_atan2f_use+:} false; then :
43567  $as_echo_n "(cached) " >&6
43568else
43569
43570
43571      ac_ext=cpp
43572ac_cpp='$CXXCPP $CPPFLAGS'
43573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43576
43577      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43578/* end confdefs.h.  */
43579#include <math.h>
43580int
43581main ()
43582{
43583 atan2f(0, 0);
43584  ;
43585  return 0;
43586}
43587_ACEOF
43588if ac_fn_cxx_try_compile "$LINENO"; then :
43589  glibcxx_cv_func_atan2f_use=yes
43590else
43591  glibcxx_cv_func_atan2f_use=no
43592fi
43593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43594      ac_ext=c
43595ac_cpp='$CPP $CPPFLAGS'
43596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598ac_compiler_gnu=$ac_cv_c_compiler_gnu
43599
43600
43601fi
43602
43603  fi
43604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43605$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43606
43607  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43608    for ac_func in atan2f
43609do :
43610  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43611if test "x$ac_cv_func_atan2f" = xyes; then :
43612  cat >>confdefs.h <<_ACEOF
43613#define HAVE_ATAN2F 1
43614_ACEOF
43615
43616fi
43617done
43618
43619  else
43620
43621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43622$as_echo_n "checking for _atan2f declaration... " >&6; }
43623  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43624    if ${glibcxx_cv_func__atan2f_use+:} false; then :
43625  $as_echo_n "(cached) " >&6
43626else
43627
43628
43629      ac_ext=cpp
43630ac_cpp='$CXXCPP $CPPFLAGS'
43631ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43634
43635      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43636/* end confdefs.h.  */
43637#include <math.h>
43638int
43639main ()
43640{
43641 _atan2f(0, 0);
43642  ;
43643  return 0;
43644}
43645_ACEOF
43646if ac_fn_cxx_try_compile "$LINENO"; then :
43647  glibcxx_cv_func__atan2f_use=yes
43648else
43649  glibcxx_cv_func__atan2f_use=no
43650fi
43651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43652      ac_ext=c
43653ac_cpp='$CPP $CPPFLAGS'
43654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656ac_compiler_gnu=$ac_cv_c_compiler_gnu
43657
43658
43659fi
43660
43661  fi
43662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43663$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43664
43665    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43666      for ac_func in _atan2f
43667do :
43668  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43669if test "x$ac_cv_func__atan2f" = xyes; then :
43670  cat >>confdefs.h <<_ACEOF
43671#define HAVE__ATAN2F 1
43672_ACEOF
43673
43674fi
43675done
43676
43677    fi
43678  fi
43679
43680
43681
43682
43683
43684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43685$as_echo_n "checking for fabsf declaration... " >&6; }
43686  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43687    if ${glibcxx_cv_func_fabsf_use+:} false; then :
43688  $as_echo_n "(cached) " >&6
43689else
43690
43691
43692      ac_ext=cpp
43693ac_cpp='$CXXCPP $CPPFLAGS'
43694ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43695ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43696ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43697
43698      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43699/* end confdefs.h.  */
43700#include <math.h>
43701		      #ifdef HAVE_IEEEFP_H
43702		      #include <ieeefp.h>
43703		      #endif
43704
43705int
43706main ()
43707{
43708 fabsf(0);
43709  ;
43710  return 0;
43711}
43712_ACEOF
43713if ac_fn_cxx_try_compile "$LINENO"; then :
43714  glibcxx_cv_func_fabsf_use=yes
43715else
43716  glibcxx_cv_func_fabsf_use=no
43717fi
43718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43719      ac_ext=c
43720ac_cpp='$CPP $CPPFLAGS'
43721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43723ac_compiler_gnu=$ac_cv_c_compiler_gnu
43724
43725
43726fi
43727
43728  fi
43729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43730$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43731
43732  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43733    for ac_func in fabsf
43734do :
43735  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43736if test "x$ac_cv_func_fabsf" = xyes; then :
43737  cat >>confdefs.h <<_ACEOF
43738#define HAVE_FABSF 1
43739_ACEOF
43740
43741fi
43742done
43743
43744  else
43745
43746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43747$as_echo_n "checking for _fabsf declaration... " >&6; }
43748  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43749    if ${glibcxx_cv_func__fabsf_use+:} false; then :
43750  $as_echo_n "(cached) " >&6
43751else
43752
43753
43754      ac_ext=cpp
43755ac_cpp='$CXXCPP $CPPFLAGS'
43756ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43759
43760      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43761/* end confdefs.h.  */
43762#include <math.h>
43763		      #ifdef HAVE_IEEEFP_H
43764		      #include <ieeefp.h>
43765		      #endif
43766
43767int
43768main ()
43769{
43770 _fabsf(0);
43771  ;
43772  return 0;
43773}
43774_ACEOF
43775if ac_fn_cxx_try_compile "$LINENO"; then :
43776  glibcxx_cv_func__fabsf_use=yes
43777else
43778  glibcxx_cv_func__fabsf_use=no
43779fi
43780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43781      ac_ext=c
43782ac_cpp='$CPP $CPPFLAGS'
43783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785ac_compiler_gnu=$ac_cv_c_compiler_gnu
43786
43787
43788fi
43789
43790  fi
43791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43792$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43793
43794    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43795      for ac_func in _fabsf
43796do :
43797  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43798if test "x$ac_cv_func__fabsf" = xyes; then :
43799  cat >>confdefs.h <<_ACEOF
43800#define HAVE__FABSF 1
43801_ACEOF
43802
43803fi
43804done
43805
43806    fi
43807  fi
43808
43809
43810
43811
43812
43813  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43814$as_echo_n "checking for fmodf declaration... " >&6; }
43815  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43816    if ${glibcxx_cv_func_fmodf_use+:} false; then :
43817  $as_echo_n "(cached) " >&6
43818else
43819
43820
43821      ac_ext=cpp
43822ac_cpp='$CXXCPP $CPPFLAGS'
43823ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43824ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43825ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43826
43827      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43828/* end confdefs.h.  */
43829#include <math.h>
43830int
43831main ()
43832{
43833 fmodf(0, 0);
43834  ;
43835  return 0;
43836}
43837_ACEOF
43838if ac_fn_cxx_try_compile "$LINENO"; then :
43839  glibcxx_cv_func_fmodf_use=yes
43840else
43841  glibcxx_cv_func_fmodf_use=no
43842fi
43843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43844      ac_ext=c
43845ac_cpp='$CPP $CPPFLAGS'
43846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848ac_compiler_gnu=$ac_cv_c_compiler_gnu
43849
43850
43851fi
43852
43853  fi
43854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43855$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43856
43857  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43858    for ac_func in fmodf
43859do :
43860  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43861if test "x$ac_cv_func_fmodf" = xyes; then :
43862  cat >>confdefs.h <<_ACEOF
43863#define HAVE_FMODF 1
43864_ACEOF
43865
43866fi
43867done
43868
43869  else
43870
43871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43872$as_echo_n "checking for _fmodf declaration... " >&6; }
43873  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43874    if ${glibcxx_cv_func__fmodf_use+:} false; then :
43875  $as_echo_n "(cached) " >&6
43876else
43877
43878
43879      ac_ext=cpp
43880ac_cpp='$CXXCPP $CPPFLAGS'
43881ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43884
43885      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43886/* end confdefs.h.  */
43887#include <math.h>
43888int
43889main ()
43890{
43891 _fmodf(0, 0);
43892  ;
43893  return 0;
43894}
43895_ACEOF
43896if ac_fn_cxx_try_compile "$LINENO"; then :
43897  glibcxx_cv_func__fmodf_use=yes
43898else
43899  glibcxx_cv_func__fmodf_use=no
43900fi
43901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43902      ac_ext=c
43903ac_cpp='$CPP $CPPFLAGS'
43904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906ac_compiler_gnu=$ac_cv_c_compiler_gnu
43907
43908
43909fi
43910
43911  fi
43912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43913$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43914
43915    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43916      for ac_func in _fmodf
43917do :
43918  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43919if test "x$ac_cv_func__fmodf" = xyes; then :
43920  cat >>confdefs.h <<_ACEOF
43921#define HAVE__FMODF 1
43922_ACEOF
43923
43924fi
43925done
43926
43927    fi
43928  fi
43929
43930
43931
43932
43933
43934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43935$as_echo_n "checking for frexpf declaration... " >&6; }
43936  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43937    if ${glibcxx_cv_func_frexpf_use+:} false; then :
43938  $as_echo_n "(cached) " >&6
43939else
43940
43941
43942      ac_ext=cpp
43943ac_cpp='$CXXCPP $CPPFLAGS'
43944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43947
43948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43949/* end confdefs.h.  */
43950#include <math.h>
43951int
43952main ()
43953{
43954 frexpf(0, 0);
43955  ;
43956  return 0;
43957}
43958_ACEOF
43959if ac_fn_cxx_try_compile "$LINENO"; then :
43960  glibcxx_cv_func_frexpf_use=yes
43961else
43962  glibcxx_cv_func_frexpf_use=no
43963fi
43964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43965      ac_ext=c
43966ac_cpp='$CPP $CPPFLAGS'
43967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43969ac_compiler_gnu=$ac_cv_c_compiler_gnu
43970
43971
43972fi
43973
43974  fi
43975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43976$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43977
43978  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43979    for ac_func in frexpf
43980do :
43981  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43982if test "x$ac_cv_func_frexpf" = xyes; then :
43983  cat >>confdefs.h <<_ACEOF
43984#define HAVE_FREXPF 1
43985_ACEOF
43986
43987fi
43988done
43989
43990  else
43991
43992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43993$as_echo_n "checking for _frexpf declaration... " >&6; }
43994  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43995    if ${glibcxx_cv_func__frexpf_use+:} false; then :
43996  $as_echo_n "(cached) " >&6
43997else
43998
43999
44000      ac_ext=cpp
44001ac_cpp='$CXXCPP $CPPFLAGS'
44002ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44003ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44005
44006      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44007/* end confdefs.h.  */
44008#include <math.h>
44009int
44010main ()
44011{
44012 _frexpf(0, 0);
44013  ;
44014  return 0;
44015}
44016_ACEOF
44017if ac_fn_cxx_try_compile "$LINENO"; then :
44018  glibcxx_cv_func__frexpf_use=yes
44019else
44020  glibcxx_cv_func__frexpf_use=no
44021fi
44022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44023      ac_ext=c
44024ac_cpp='$CPP $CPPFLAGS'
44025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027ac_compiler_gnu=$ac_cv_c_compiler_gnu
44028
44029
44030fi
44031
44032  fi
44033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
44034$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
44035
44036    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
44037      for ac_func in _frexpf
44038do :
44039  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
44040if test "x$ac_cv_func__frexpf" = xyes; then :
44041  cat >>confdefs.h <<_ACEOF
44042#define HAVE__FREXPF 1
44043_ACEOF
44044
44045fi
44046done
44047
44048    fi
44049  fi
44050
44051
44052
44053
44054
44055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
44056$as_echo_n "checking for hypotf declaration... " >&6; }
44057  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
44058    if ${glibcxx_cv_func_hypotf_use+:} false; then :
44059  $as_echo_n "(cached) " >&6
44060else
44061
44062
44063      ac_ext=cpp
44064ac_cpp='$CXXCPP $CPPFLAGS'
44065ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44066ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44067ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44068
44069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44070/* end confdefs.h.  */
44071#include <math.h>
44072int
44073main ()
44074{
44075 hypotf(0, 0);
44076  ;
44077  return 0;
44078}
44079_ACEOF
44080if ac_fn_cxx_try_compile "$LINENO"; then :
44081  glibcxx_cv_func_hypotf_use=yes
44082else
44083  glibcxx_cv_func_hypotf_use=no
44084fi
44085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44086      ac_ext=c
44087ac_cpp='$CPP $CPPFLAGS'
44088ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44089ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44090ac_compiler_gnu=$ac_cv_c_compiler_gnu
44091
44092
44093fi
44094
44095  fi
44096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
44097$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
44098
44099  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
44100    for ac_func in hypotf
44101do :
44102  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
44103if test "x$ac_cv_func_hypotf" = xyes; then :
44104  cat >>confdefs.h <<_ACEOF
44105#define HAVE_HYPOTF 1
44106_ACEOF
44107
44108fi
44109done
44110
44111  else
44112
44113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
44114$as_echo_n "checking for _hypotf declaration... " >&6; }
44115  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
44116    if ${glibcxx_cv_func__hypotf_use+:} false; then :
44117  $as_echo_n "(cached) " >&6
44118else
44119
44120
44121      ac_ext=cpp
44122ac_cpp='$CXXCPP $CPPFLAGS'
44123ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44124ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44125ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44126
44127      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44128/* end confdefs.h.  */
44129#include <math.h>
44130int
44131main ()
44132{
44133 _hypotf(0, 0);
44134  ;
44135  return 0;
44136}
44137_ACEOF
44138if ac_fn_cxx_try_compile "$LINENO"; then :
44139  glibcxx_cv_func__hypotf_use=yes
44140else
44141  glibcxx_cv_func__hypotf_use=no
44142fi
44143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44144      ac_ext=c
44145ac_cpp='$CPP $CPPFLAGS'
44146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44148ac_compiler_gnu=$ac_cv_c_compiler_gnu
44149
44150
44151fi
44152
44153  fi
44154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
44155$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
44156
44157    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
44158      for ac_func in _hypotf
44159do :
44160  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
44161if test "x$ac_cv_func__hypotf" = xyes; then :
44162  cat >>confdefs.h <<_ACEOF
44163#define HAVE__HYPOTF 1
44164_ACEOF
44165
44166fi
44167done
44168
44169    fi
44170  fi
44171
44172
44173
44174
44175
44176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
44177$as_echo_n "checking for ldexpf declaration... " >&6; }
44178  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
44179    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
44180  $as_echo_n "(cached) " >&6
44181else
44182
44183
44184      ac_ext=cpp
44185ac_cpp='$CXXCPP $CPPFLAGS'
44186ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44187ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44188ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44189
44190      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44191/* end confdefs.h.  */
44192#include <math.h>
44193int
44194main ()
44195{
44196 ldexpf(0, 0);
44197  ;
44198  return 0;
44199}
44200_ACEOF
44201if ac_fn_cxx_try_compile "$LINENO"; then :
44202  glibcxx_cv_func_ldexpf_use=yes
44203else
44204  glibcxx_cv_func_ldexpf_use=no
44205fi
44206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44207      ac_ext=c
44208ac_cpp='$CPP $CPPFLAGS'
44209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44211ac_compiler_gnu=$ac_cv_c_compiler_gnu
44212
44213
44214fi
44215
44216  fi
44217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
44218$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
44219
44220  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
44221    for ac_func in ldexpf
44222do :
44223  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
44224if test "x$ac_cv_func_ldexpf" = xyes; then :
44225  cat >>confdefs.h <<_ACEOF
44226#define HAVE_LDEXPF 1
44227_ACEOF
44228
44229fi
44230done
44231
44232  else
44233
44234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
44235$as_echo_n "checking for _ldexpf declaration... " >&6; }
44236  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
44237    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
44238  $as_echo_n "(cached) " >&6
44239else
44240
44241
44242      ac_ext=cpp
44243ac_cpp='$CXXCPP $CPPFLAGS'
44244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44247
44248      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44249/* end confdefs.h.  */
44250#include <math.h>
44251int
44252main ()
44253{
44254 _ldexpf(0, 0);
44255  ;
44256  return 0;
44257}
44258_ACEOF
44259if ac_fn_cxx_try_compile "$LINENO"; then :
44260  glibcxx_cv_func__ldexpf_use=yes
44261else
44262  glibcxx_cv_func__ldexpf_use=no
44263fi
44264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44265      ac_ext=c
44266ac_cpp='$CPP $CPPFLAGS'
44267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44269ac_compiler_gnu=$ac_cv_c_compiler_gnu
44270
44271
44272fi
44273
44274  fi
44275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
44276$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
44277
44278    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
44279      for ac_func in _ldexpf
44280do :
44281  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
44282if test "x$ac_cv_func__ldexpf" = xyes; then :
44283  cat >>confdefs.h <<_ACEOF
44284#define HAVE__LDEXPF 1
44285_ACEOF
44286
44287fi
44288done
44289
44290    fi
44291  fi
44292
44293
44294
44295
44296
44297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
44298$as_echo_n "checking for logf declaration... " >&6; }
44299  if test x${glibcxx_cv_func_logf_use+set} != xset; then
44300    if ${glibcxx_cv_func_logf_use+:} false; then :
44301  $as_echo_n "(cached) " >&6
44302else
44303
44304
44305      ac_ext=cpp
44306ac_cpp='$CXXCPP $CPPFLAGS'
44307ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44308ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44309ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44310
44311      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44312/* end confdefs.h.  */
44313#include <math.h>
44314		      #ifdef HAVE_IEEEFP_H
44315		      #include <ieeefp.h>
44316		      #endif
44317
44318int
44319main ()
44320{
44321 logf(0);
44322  ;
44323  return 0;
44324}
44325_ACEOF
44326if ac_fn_cxx_try_compile "$LINENO"; then :
44327  glibcxx_cv_func_logf_use=yes
44328else
44329  glibcxx_cv_func_logf_use=no
44330fi
44331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44332      ac_ext=c
44333ac_cpp='$CPP $CPPFLAGS'
44334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44336ac_compiler_gnu=$ac_cv_c_compiler_gnu
44337
44338
44339fi
44340
44341  fi
44342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
44343$as_echo "$glibcxx_cv_func_logf_use" >&6; }
44344
44345  if test x$glibcxx_cv_func_logf_use = x"yes"; then
44346    for ac_func in logf
44347do :
44348  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
44349if test "x$ac_cv_func_logf" = xyes; then :
44350  cat >>confdefs.h <<_ACEOF
44351#define HAVE_LOGF 1
44352_ACEOF
44353
44354fi
44355done
44356
44357  else
44358
44359  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
44360$as_echo_n "checking for _logf declaration... " >&6; }
44361  if test x${glibcxx_cv_func__logf_use+set} != xset; then
44362    if ${glibcxx_cv_func__logf_use+:} false; then :
44363  $as_echo_n "(cached) " >&6
44364else
44365
44366
44367      ac_ext=cpp
44368ac_cpp='$CXXCPP $CPPFLAGS'
44369ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44370ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44371ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44372
44373      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44374/* end confdefs.h.  */
44375#include <math.h>
44376		      #ifdef HAVE_IEEEFP_H
44377		      #include <ieeefp.h>
44378		      #endif
44379
44380int
44381main ()
44382{
44383 _logf(0);
44384  ;
44385  return 0;
44386}
44387_ACEOF
44388if ac_fn_cxx_try_compile "$LINENO"; then :
44389  glibcxx_cv_func__logf_use=yes
44390else
44391  glibcxx_cv_func__logf_use=no
44392fi
44393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44394      ac_ext=c
44395ac_cpp='$CPP $CPPFLAGS'
44396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398ac_compiler_gnu=$ac_cv_c_compiler_gnu
44399
44400
44401fi
44402
44403  fi
44404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44405$as_echo "$glibcxx_cv_func__logf_use" >&6; }
44406
44407    if test x$glibcxx_cv_func__logf_use = x"yes"; then
44408      for ac_func in _logf
44409do :
44410  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44411if test "x$ac_cv_func__logf" = xyes; then :
44412  cat >>confdefs.h <<_ACEOF
44413#define HAVE__LOGF 1
44414_ACEOF
44415
44416fi
44417done
44418
44419    fi
44420  fi
44421
44422
44423
44424
44425
44426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44427$as_echo_n "checking for log10f declaration... " >&6; }
44428  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44429    if ${glibcxx_cv_func_log10f_use+:} false; then :
44430  $as_echo_n "(cached) " >&6
44431else
44432
44433
44434      ac_ext=cpp
44435ac_cpp='$CXXCPP $CPPFLAGS'
44436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44439
44440      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44441/* end confdefs.h.  */
44442#include <math.h>
44443		      #ifdef HAVE_IEEEFP_H
44444		      #include <ieeefp.h>
44445		      #endif
44446
44447int
44448main ()
44449{
44450 log10f(0);
44451  ;
44452  return 0;
44453}
44454_ACEOF
44455if ac_fn_cxx_try_compile "$LINENO"; then :
44456  glibcxx_cv_func_log10f_use=yes
44457else
44458  glibcxx_cv_func_log10f_use=no
44459fi
44460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44461      ac_ext=c
44462ac_cpp='$CPP $CPPFLAGS'
44463ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44464ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44465ac_compiler_gnu=$ac_cv_c_compiler_gnu
44466
44467
44468fi
44469
44470  fi
44471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44472$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44473
44474  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44475    for ac_func in log10f
44476do :
44477  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44478if test "x$ac_cv_func_log10f" = xyes; then :
44479  cat >>confdefs.h <<_ACEOF
44480#define HAVE_LOG10F 1
44481_ACEOF
44482
44483fi
44484done
44485
44486  else
44487
44488  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44489$as_echo_n "checking for _log10f declaration... " >&6; }
44490  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44491    if ${glibcxx_cv_func__log10f_use+:} false; then :
44492  $as_echo_n "(cached) " >&6
44493else
44494
44495
44496      ac_ext=cpp
44497ac_cpp='$CXXCPP $CPPFLAGS'
44498ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44499ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44500ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44501
44502      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44503/* end confdefs.h.  */
44504#include <math.h>
44505		      #ifdef HAVE_IEEEFP_H
44506		      #include <ieeefp.h>
44507		      #endif
44508
44509int
44510main ()
44511{
44512 _log10f(0);
44513  ;
44514  return 0;
44515}
44516_ACEOF
44517if ac_fn_cxx_try_compile "$LINENO"; then :
44518  glibcxx_cv_func__log10f_use=yes
44519else
44520  glibcxx_cv_func__log10f_use=no
44521fi
44522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44523      ac_ext=c
44524ac_cpp='$CPP $CPPFLAGS'
44525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527ac_compiler_gnu=$ac_cv_c_compiler_gnu
44528
44529
44530fi
44531
44532  fi
44533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44534$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44535
44536    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44537      for ac_func in _log10f
44538do :
44539  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44540if test "x$ac_cv_func__log10f" = xyes; then :
44541  cat >>confdefs.h <<_ACEOF
44542#define HAVE__LOG10F 1
44543_ACEOF
44544
44545fi
44546done
44547
44548    fi
44549  fi
44550
44551
44552
44553
44554
44555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44556$as_echo_n "checking for modff declaration... " >&6; }
44557  if test x${glibcxx_cv_func_modff_use+set} != xset; then
44558    if ${glibcxx_cv_func_modff_use+:} false; then :
44559  $as_echo_n "(cached) " >&6
44560else
44561
44562
44563      ac_ext=cpp
44564ac_cpp='$CXXCPP $CPPFLAGS'
44565ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44566ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44567ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44568
44569      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44570/* end confdefs.h.  */
44571#include <math.h>
44572int
44573main ()
44574{
44575 modff(0, 0);
44576  ;
44577  return 0;
44578}
44579_ACEOF
44580if ac_fn_cxx_try_compile "$LINENO"; then :
44581  glibcxx_cv_func_modff_use=yes
44582else
44583  glibcxx_cv_func_modff_use=no
44584fi
44585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44586      ac_ext=c
44587ac_cpp='$CPP $CPPFLAGS'
44588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44590ac_compiler_gnu=$ac_cv_c_compiler_gnu
44591
44592
44593fi
44594
44595  fi
44596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44597$as_echo "$glibcxx_cv_func_modff_use" >&6; }
44598
44599  if test x$glibcxx_cv_func_modff_use = x"yes"; then
44600    for ac_func in modff
44601do :
44602  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44603if test "x$ac_cv_func_modff" = xyes; then :
44604  cat >>confdefs.h <<_ACEOF
44605#define HAVE_MODFF 1
44606_ACEOF
44607
44608fi
44609done
44610
44611  else
44612
44613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44614$as_echo_n "checking for _modff declaration... " >&6; }
44615  if test x${glibcxx_cv_func__modff_use+set} != xset; then
44616    if ${glibcxx_cv_func__modff_use+:} false; then :
44617  $as_echo_n "(cached) " >&6
44618else
44619
44620
44621      ac_ext=cpp
44622ac_cpp='$CXXCPP $CPPFLAGS'
44623ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44624ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44625ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44626
44627      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44628/* end confdefs.h.  */
44629#include <math.h>
44630int
44631main ()
44632{
44633 _modff(0, 0);
44634  ;
44635  return 0;
44636}
44637_ACEOF
44638if ac_fn_cxx_try_compile "$LINENO"; then :
44639  glibcxx_cv_func__modff_use=yes
44640else
44641  glibcxx_cv_func__modff_use=no
44642fi
44643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44644      ac_ext=c
44645ac_cpp='$CPP $CPPFLAGS'
44646ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44647ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44648ac_compiler_gnu=$ac_cv_c_compiler_gnu
44649
44650
44651fi
44652
44653  fi
44654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44655$as_echo "$glibcxx_cv_func__modff_use" >&6; }
44656
44657    if test x$glibcxx_cv_func__modff_use = x"yes"; then
44658      for ac_func in _modff
44659do :
44660  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44661if test "x$ac_cv_func__modff" = xyes; then :
44662  cat >>confdefs.h <<_ACEOF
44663#define HAVE__MODFF 1
44664_ACEOF
44665
44666fi
44667done
44668
44669    fi
44670  fi
44671
44672
44673
44674
44675
44676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44677$as_echo_n "checking for modf declaration... " >&6; }
44678  if test x${glibcxx_cv_func_modf_use+set} != xset; then
44679    if ${glibcxx_cv_func_modf_use+:} false; then :
44680  $as_echo_n "(cached) " >&6
44681else
44682
44683
44684      ac_ext=cpp
44685ac_cpp='$CXXCPP $CPPFLAGS'
44686ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44687ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44688ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44689
44690      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44691/* end confdefs.h.  */
44692#include <math.h>
44693int
44694main ()
44695{
44696 modf(0, 0);
44697  ;
44698  return 0;
44699}
44700_ACEOF
44701if ac_fn_cxx_try_compile "$LINENO"; then :
44702  glibcxx_cv_func_modf_use=yes
44703else
44704  glibcxx_cv_func_modf_use=no
44705fi
44706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44707      ac_ext=c
44708ac_cpp='$CPP $CPPFLAGS'
44709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44711ac_compiler_gnu=$ac_cv_c_compiler_gnu
44712
44713
44714fi
44715
44716  fi
44717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44718$as_echo "$glibcxx_cv_func_modf_use" >&6; }
44719
44720  if test x$glibcxx_cv_func_modf_use = x"yes"; then
44721    for ac_func in modf
44722do :
44723  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44724if test "x$ac_cv_func_modf" = xyes; then :
44725  cat >>confdefs.h <<_ACEOF
44726#define HAVE_MODF 1
44727_ACEOF
44728
44729fi
44730done
44731
44732  else
44733
44734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44735$as_echo_n "checking for _modf declaration... " >&6; }
44736  if test x${glibcxx_cv_func__modf_use+set} != xset; then
44737    if ${glibcxx_cv_func__modf_use+:} false; then :
44738  $as_echo_n "(cached) " >&6
44739else
44740
44741
44742      ac_ext=cpp
44743ac_cpp='$CXXCPP $CPPFLAGS'
44744ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44745ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44746ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44747
44748      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44749/* end confdefs.h.  */
44750#include <math.h>
44751int
44752main ()
44753{
44754 _modf(0, 0);
44755  ;
44756  return 0;
44757}
44758_ACEOF
44759if ac_fn_cxx_try_compile "$LINENO"; then :
44760  glibcxx_cv_func__modf_use=yes
44761else
44762  glibcxx_cv_func__modf_use=no
44763fi
44764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44765      ac_ext=c
44766ac_cpp='$CPP $CPPFLAGS'
44767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44769ac_compiler_gnu=$ac_cv_c_compiler_gnu
44770
44771
44772fi
44773
44774  fi
44775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44776$as_echo "$glibcxx_cv_func__modf_use" >&6; }
44777
44778    if test x$glibcxx_cv_func__modf_use = x"yes"; then
44779      for ac_func in _modf
44780do :
44781  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44782if test "x$ac_cv_func__modf" = xyes; then :
44783  cat >>confdefs.h <<_ACEOF
44784#define HAVE__MODF 1
44785_ACEOF
44786
44787fi
44788done
44789
44790    fi
44791  fi
44792
44793
44794
44795
44796
44797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44798$as_echo_n "checking for powf declaration... " >&6; }
44799  if test x${glibcxx_cv_func_powf_use+set} != xset; then
44800    if ${glibcxx_cv_func_powf_use+:} false; then :
44801  $as_echo_n "(cached) " >&6
44802else
44803
44804
44805      ac_ext=cpp
44806ac_cpp='$CXXCPP $CPPFLAGS'
44807ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44808ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44809ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44810
44811      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44812/* end confdefs.h.  */
44813#include <math.h>
44814int
44815main ()
44816{
44817 powf(0, 0);
44818  ;
44819  return 0;
44820}
44821_ACEOF
44822if ac_fn_cxx_try_compile "$LINENO"; then :
44823  glibcxx_cv_func_powf_use=yes
44824else
44825  glibcxx_cv_func_powf_use=no
44826fi
44827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44828      ac_ext=c
44829ac_cpp='$CPP $CPPFLAGS'
44830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44832ac_compiler_gnu=$ac_cv_c_compiler_gnu
44833
44834
44835fi
44836
44837  fi
44838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44839$as_echo "$glibcxx_cv_func_powf_use" >&6; }
44840
44841  if test x$glibcxx_cv_func_powf_use = x"yes"; then
44842    for ac_func in powf
44843do :
44844  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44845if test "x$ac_cv_func_powf" = xyes; then :
44846  cat >>confdefs.h <<_ACEOF
44847#define HAVE_POWF 1
44848_ACEOF
44849
44850fi
44851done
44852
44853  else
44854
44855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44856$as_echo_n "checking for _powf declaration... " >&6; }
44857  if test x${glibcxx_cv_func__powf_use+set} != xset; then
44858    if ${glibcxx_cv_func__powf_use+:} false; then :
44859  $as_echo_n "(cached) " >&6
44860else
44861
44862
44863      ac_ext=cpp
44864ac_cpp='$CXXCPP $CPPFLAGS'
44865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44868
44869      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44870/* end confdefs.h.  */
44871#include <math.h>
44872int
44873main ()
44874{
44875 _powf(0, 0);
44876  ;
44877  return 0;
44878}
44879_ACEOF
44880if ac_fn_cxx_try_compile "$LINENO"; then :
44881  glibcxx_cv_func__powf_use=yes
44882else
44883  glibcxx_cv_func__powf_use=no
44884fi
44885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44886      ac_ext=c
44887ac_cpp='$CPP $CPPFLAGS'
44888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44890ac_compiler_gnu=$ac_cv_c_compiler_gnu
44891
44892
44893fi
44894
44895  fi
44896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44897$as_echo "$glibcxx_cv_func__powf_use" >&6; }
44898
44899    if test x$glibcxx_cv_func__powf_use = x"yes"; then
44900      for ac_func in _powf
44901do :
44902  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44903if test "x$ac_cv_func__powf" = xyes; then :
44904  cat >>confdefs.h <<_ACEOF
44905#define HAVE__POWF 1
44906_ACEOF
44907
44908fi
44909done
44910
44911    fi
44912  fi
44913
44914
44915
44916
44917
44918  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44919$as_echo_n "checking for sqrtf declaration... " >&6; }
44920  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44921    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44922  $as_echo_n "(cached) " >&6
44923else
44924
44925
44926      ac_ext=cpp
44927ac_cpp='$CXXCPP $CPPFLAGS'
44928ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44929ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44930ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44931
44932      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44933/* end confdefs.h.  */
44934#include <math.h>
44935		      #ifdef HAVE_IEEEFP_H
44936		      #include <ieeefp.h>
44937		      #endif
44938
44939int
44940main ()
44941{
44942 sqrtf(0);
44943  ;
44944  return 0;
44945}
44946_ACEOF
44947if ac_fn_cxx_try_compile "$LINENO"; then :
44948  glibcxx_cv_func_sqrtf_use=yes
44949else
44950  glibcxx_cv_func_sqrtf_use=no
44951fi
44952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44953      ac_ext=c
44954ac_cpp='$CPP $CPPFLAGS'
44955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44957ac_compiler_gnu=$ac_cv_c_compiler_gnu
44958
44959
44960fi
44961
44962  fi
44963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44964$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44965
44966  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44967    for ac_func in sqrtf
44968do :
44969  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44970if test "x$ac_cv_func_sqrtf" = xyes; then :
44971  cat >>confdefs.h <<_ACEOF
44972#define HAVE_SQRTF 1
44973_ACEOF
44974
44975fi
44976done
44977
44978  else
44979
44980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44981$as_echo_n "checking for _sqrtf declaration... " >&6; }
44982  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44983    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44984  $as_echo_n "(cached) " >&6
44985else
44986
44987
44988      ac_ext=cpp
44989ac_cpp='$CXXCPP $CPPFLAGS'
44990ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44991ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44992ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44993
44994      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44995/* end confdefs.h.  */
44996#include <math.h>
44997		      #ifdef HAVE_IEEEFP_H
44998		      #include <ieeefp.h>
44999		      #endif
45000
45001int
45002main ()
45003{
45004 _sqrtf(0);
45005  ;
45006  return 0;
45007}
45008_ACEOF
45009if ac_fn_cxx_try_compile "$LINENO"; then :
45010  glibcxx_cv_func__sqrtf_use=yes
45011else
45012  glibcxx_cv_func__sqrtf_use=no
45013fi
45014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45015      ac_ext=c
45016ac_cpp='$CPP $CPPFLAGS'
45017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45019ac_compiler_gnu=$ac_cv_c_compiler_gnu
45020
45021
45022fi
45023
45024  fi
45025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
45026$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
45027
45028    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
45029      for ac_func in _sqrtf
45030do :
45031  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
45032if test "x$ac_cv_func__sqrtf" = xyes; then :
45033  cat >>confdefs.h <<_ACEOF
45034#define HAVE__SQRTF 1
45035_ACEOF
45036
45037fi
45038done
45039
45040    fi
45041  fi
45042
45043
45044
45045
45046
45047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
45048$as_echo_n "checking for sincosf declaration... " >&6; }
45049  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
45050    if ${glibcxx_cv_func_sincosf_use+:} false; then :
45051  $as_echo_n "(cached) " >&6
45052else
45053
45054
45055      ac_ext=cpp
45056ac_cpp='$CXXCPP $CPPFLAGS'
45057ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45058ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45059ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45060
45061      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45062/* end confdefs.h.  */
45063#include <math.h>
45064int
45065main ()
45066{
45067 sincosf(0, 0, 0);
45068  ;
45069  return 0;
45070}
45071_ACEOF
45072if ac_fn_cxx_try_compile "$LINENO"; then :
45073  glibcxx_cv_func_sincosf_use=yes
45074else
45075  glibcxx_cv_func_sincosf_use=no
45076fi
45077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45078      ac_ext=c
45079ac_cpp='$CPP $CPPFLAGS'
45080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45082ac_compiler_gnu=$ac_cv_c_compiler_gnu
45083
45084
45085fi
45086
45087  fi
45088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
45089$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
45090
45091  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
45092    for ac_func in sincosf
45093do :
45094  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
45095if test "x$ac_cv_func_sincosf" = xyes; then :
45096  cat >>confdefs.h <<_ACEOF
45097#define HAVE_SINCOSF 1
45098_ACEOF
45099
45100fi
45101done
45102
45103  else
45104
45105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
45106$as_echo_n "checking for _sincosf declaration... " >&6; }
45107  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
45108    if ${glibcxx_cv_func__sincosf_use+:} false; then :
45109  $as_echo_n "(cached) " >&6
45110else
45111
45112
45113      ac_ext=cpp
45114ac_cpp='$CXXCPP $CPPFLAGS'
45115ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45116ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45117ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45118
45119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45120/* end confdefs.h.  */
45121#include <math.h>
45122int
45123main ()
45124{
45125 _sincosf(0, 0, 0);
45126  ;
45127  return 0;
45128}
45129_ACEOF
45130if ac_fn_cxx_try_compile "$LINENO"; then :
45131  glibcxx_cv_func__sincosf_use=yes
45132else
45133  glibcxx_cv_func__sincosf_use=no
45134fi
45135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45136      ac_ext=c
45137ac_cpp='$CPP $CPPFLAGS'
45138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45140ac_compiler_gnu=$ac_cv_c_compiler_gnu
45141
45142
45143fi
45144
45145  fi
45146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
45147$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
45148
45149    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
45150      for ac_func in _sincosf
45151do :
45152  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
45153if test "x$ac_cv_func__sincosf" = xyes; then :
45154  cat >>confdefs.h <<_ACEOF
45155#define HAVE__SINCOSF 1
45156_ACEOF
45157
45158fi
45159done
45160
45161    fi
45162  fi
45163
45164
45165
45166
45167
45168  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
45169$as_echo_n "checking for finitef declaration... " >&6; }
45170  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
45171    if ${glibcxx_cv_func_finitef_use+:} false; then :
45172  $as_echo_n "(cached) " >&6
45173else
45174
45175
45176      ac_ext=cpp
45177ac_cpp='$CXXCPP $CPPFLAGS'
45178ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45179ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45180ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45181
45182      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45183/* end confdefs.h.  */
45184#include <math.h>
45185		      #ifdef HAVE_IEEEFP_H
45186		      #include <ieeefp.h>
45187		      #endif
45188
45189int
45190main ()
45191{
45192 finitef(0);
45193  ;
45194  return 0;
45195}
45196_ACEOF
45197if ac_fn_cxx_try_compile "$LINENO"; then :
45198  glibcxx_cv_func_finitef_use=yes
45199else
45200  glibcxx_cv_func_finitef_use=no
45201fi
45202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45203      ac_ext=c
45204ac_cpp='$CPP $CPPFLAGS'
45205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45207ac_compiler_gnu=$ac_cv_c_compiler_gnu
45208
45209
45210fi
45211
45212  fi
45213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
45214$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
45215
45216  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
45217    for ac_func in finitef
45218do :
45219  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
45220if test "x$ac_cv_func_finitef" = xyes; then :
45221  cat >>confdefs.h <<_ACEOF
45222#define HAVE_FINITEF 1
45223_ACEOF
45224
45225fi
45226done
45227
45228  else
45229
45230  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
45231$as_echo_n "checking for _finitef declaration... " >&6; }
45232  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
45233    if ${glibcxx_cv_func__finitef_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>
45247		      #ifdef HAVE_IEEEFP_H
45248		      #include <ieeefp.h>
45249		      #endif
45250
45251int
45252main ()
45253{
45254 _finitef(0);
45255  ;
45256  return 0;
45257}
45258_ACEOF
45259if ac_fn_cxx_try_compile "$LINENO"; then :
45260  glibcxx_cv_func__finitef_use=yes
45261else
45262  glibcxx_cv_func__finitef_use=no
45263fi
45264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45265      ac_ext=c
45266ac_cpp='$CPP $CPPFLAGS'
45267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45269ac_compiler_gnu=$ac_cv_c_compiler_gnu
45270
45271
45272fi
45273
45274  fi
45275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
45276$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
45277
45278    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
45279      for ac_func in _finitef
45280do :
45281  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
45282if test "x$ac_cv_func__finitef" = xyes; then :
45283  cat >>confdefs.h <<_ACEOF
45284#define HAVE__FINITEF 1
45285_ACEOF
45286
45287fi
45288done
45289
45290    fi
45291  fi
45292
45293
45294
45295
45296
45297    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
45298$as_echo_n "checking for long double trig functions... " >&6; }
45299  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
45300  $as_echo_n "(cached) " >&6
45301else
45302
45303
45304    ac_ext=cpp
45305ac_cpp='$CXXCPP $CPPFLAGS'
45306ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45307ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45308ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45309
45310    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45311/* end confdefs.h.  */
45312#include <math.h>
45313int
45314main ()
45315{
45316acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
45317  ;
45318  return 0;
45319}
45320_ACEOF
45321if ac_fn_cxx_try_compile "$LINENO"; then :
45322  glibcxx_cv_func_long_double_trig_use=yes
45323else
45324  glibcxx_cv_func_long_double_trig_use=no
45325fi
45326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45327    ac_ext=c
45328ac_cpp='$CPP $CPPFLAGS'
45329ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45330ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45331ac_compiler_gnu=$ac_cv_c_compiler_gnu
45332
45333fi
45334
45335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
45336$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
45337  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
45338    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
45339do :
45340  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45341ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45342if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45343  cat >>confdefs.h <<_ACEOF
45344#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45345_ACEOF
45346
45347fi
45348done
45349
45350  else
45351    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
45352$as_echo_n "checking for _long double trig functions... " >&6; }
45353    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
45354  $as_echo_n "(cached) " >&6
45355else
45356
45357
45358      ac_ext=cpp
45359ac_cpp='$CXXCPP $CPPFLAGS'
45360ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45361ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45362ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45363
45364      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45365/* end confdefs.h.  */
45366#include <math.h>
45367int
45368main ()
45369{
45370_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45371  ;
45372  return 0;
45373}
45374_ACEOF
45375if ac_fn_cxx_try_compile "$LINENO"; then :
45376  glibcxx_cv_func__long_double_trig_use=yes
45377else
45378  glibcxx_cv_func__long_double_trig_use=no
45379fi
45380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45381      ac_ext=c
45382ac_cpp='$CPP $CPPFLAGS'
45383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45385ac_compiler_gnu=$ac_cv_c_compiler_gnu
45386
45387fi
45388
45389    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45390$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45391    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45392      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45393do :
45394  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45395ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45396if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45397  cat >>confdefs.h <<_ACEOF
45398#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45399_ACEOF
45400
45401fi
45402done
45403
45404    fi
45405  fi
45406
45407
45408
45409
45410
45411    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45412$as_echo_n "checking for long double round functions... " >&6; }
45413  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45414  $as_echo_n "(cached) " >&6
45415else
45416
45417
45418    ac_ext=cpp
45419ac_cpp='$CXXCPP $CPPFLAGS'
45420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45421ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45422ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45423
45424    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45425/* end confdefs.h.  */
45426#include <math.h>
45427int
45428main ()
45429{
45430ceill (0); floorl (0);
45431  ;
45432  return 0;
45433}
45434_ACEOF
45435if ac_fn_cxx_try_compile "$LINENO"; then :
45436  glibcxx_cv_func_long_double_round_use=yes
45437else
45438  glibcxx_cv_func_long_double_round_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
45447fi
45448
45449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45450$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45451  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45452    for ac_func in ceill floorl
45453do :
45454  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45455ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45456if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45457  cat >>confdefs.h <<_ACEOF
45458#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45459_ACEOF
45460
45461fi
45462done
45463
45464  else
45465    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45466$as_echo_n "checking for _long double round functions... " >&6; }
45467    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45468  $as_echo_n "(cached) " >&6
45469else
45470
45471
45472      ac_ext=cpp
45473ac_cpp='$CXXCPP $CPPFLAGS'
45474ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45475ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45476ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45477
45478      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45479/* end confdefs.h.  */
45480#include <math.h>
45481int
45482main ()
45483{
45484_ceill (0); _floorl (0);
45485  ;
45486  return 0;
45487}
45488_ACEOF
45489if ac_fn_cxx_try_compile "$LINENO"; then :
45490  glibcxx_cv_func__long_double_round_use=yes
45491else
45492  glibcxx_cv_func__long_double_round_use=no
45493fi
45494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45495      ac_ext=c
45496ac_cpp='$CPP $CPPFLAGS'
45497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45499ac_compiler_gnu=$ac_cv_c_compiler_gnu
45500
45501fi
45502
45503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45504$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45505    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45506      for ac_func in _ceill _floorl
45507do :
45508  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45509ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45510if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45511  cat >>confdefs.h <<_ACEOF
45512#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45513_ACEOF
45514
45515fi
45516done
45517
45518    fi
45519  fi
45520
45521
45522
45523
45524
45525
45526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45527$as_echo_n "checking for isnanl declaration... " >&6; }
45528  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45529    if ${glibcxx_cv_func_isnanl_use+:} false; then :
45530  $as_echo_n "(cached) " >&6
45531else
45532
45533
45534      ac_ext=cpp
45535ac_cpp='$CXXCPP $CPPFLAGS'
45536ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45537ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45538ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45539
45540      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45541/* end confdefs.h.  */
45542#include <math.h>
45543		      #ifdef HAVE_IEEEFP_H
45544		      #include <ieeefp.h>
45545		      #endif
45546
45547int
45548main ()
45549{
45550 isnanl(0);
45551  ;
45552  return 0;
45553}
45554_ACEOF
45555if ac_fn_cxx_try_compile "$LINENO"; then :
45556  glibcxx_cv_func_isnanl_use=yes
45557else
45558  glibcxx_cv_func_isnanl_use=no
45559fi
45560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45561      ac_ext=c
45562ac_cpp='$CPP $CPPFLAGS'
45563ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565ac_compiler_gnu=$ac_cv_c_compiler_gnu
45566
45567
45568fi
45569
45570  fi
45571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45572$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45573
45574  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45575    for ac_func in isnanl
45576do :
45577  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45578if test "x$ac_cv_func_isnanl" = xyes; then :
45579  cat >>confdefs.h <<_ACEOF
45580#define HAVE_ISNANL 1
45581_ACEOF
45582
45583fi
45584done
45585
45586  else
45587
45588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45589$as_echo_n "checking for _isnanl declaration... " >&6; }
45590  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45591    if ${glibcxx_cv_func__isnanl_use+:} false; then :
45592  $as_echo_n "(cached) " >&6
45593else
45594
45595
45596      ac_ext=cpp
45597ac_cpp='$CXXCPP $CPPFLAGS'
45598ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45599ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45600ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45601
45602      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45603/* end confdefs.h.  */
45604#include <math.h>
45605		      #ifdef HAVE_IEEEFP_H
45606		      #include <ieeefp.h>
45607		      #endif
45608
45609int
45610main ()
45611{
45612 _isnanl(0);
45613  ;
45614  return 0;
45615}
45616_ACEOF
45617if ac_fn_cxx_try_compile "$LINENO"; then :
45618  glibcxx_cv_func__isnanl_use=yes
45619else
45620  glibcxx_cv_func__isnanl_use=no
45621fi
45622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45623      ac_ext=c
45624ac_cpp='$CPP $CPPFLAGS'
45625ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45626ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45627ac_compiler_gnu=$ac_cv_c_compiler_gnu
45628
45629
45630fi
45631
45632  fi
45633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45634$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45635
45636    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45637      for ac_func in _isnanl
45638do :
45639  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45640if test "x$ac_cv_func__isnanl" = xyes; then :
45641  cat >>confdefs.h <<_ACEOF
45642#define HAVE__ISNANL 1
45643_ACEOF
45644
45645fi
45646done
45647
45648    fi
45649  fi
45650
45651
45652
45653
45654
45655  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45656$as_echo_n "checking for isinfl declaration... " >&6; }
45657  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45658    if ${glibcxx_cv_func_isinfl_use+:} false; then :
45659  $as_echo_n "(cached) " >&6
45660else
45661
45662
45663      ac_ext=cpp
45664ac_cpp='$CXXCPP $CPPFLAGS'
45665ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45666ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45667ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45668
45669      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45670/* end confdefs.h.  */
45671#include <math.h>
45672		      #ifdef HAVE_IEEEFP_H
45673		      #include <ieeefp.h>
45674		      #endif
45675
45676int
45677main ()
45678{
45679 isinfl(0);
45680  ;
45681  return 0;
45682}
45683_ACEOF
45684if ac_fn_cxx_try_compile "$LINENO"; then :
45685  glibcxx_cv_func_isinfl_use=yes
45686else
45687  glibcxx_cv_func_isinfl_use=no
45688fi
45689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45690      ac_ext=c
45691ac_cpp='$CPP $CPPFLAGS'
45692ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45693ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45694ac_compiler_gnu=$ac_cv_c_compiler_gnu
45695
45696
45697fi
45698
45699  fi
45700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45701$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45702
45703  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45704    for ac_func in isinfl
45705do :
45706  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45707if test "x$ac_cv_func_isinfl" = xyes; then :
45708  cat >>confdefs.h <<_ACEOF
45709#define HAVE_ISINFL 1
45710_ACEOF
45711
45712fi
45713done
45714
45715  else
45716
45717  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45718$as_echo_n "checking for _isinfl declaration... " >&6; }
45719  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45720    if ${glibcxx_cv_func__isinfl_use+:} false; then :
45721  $as_echo_n "(cached) " >&6
45722else
45723
45724
45725      ac_ext=cpp
45726ac_cpp='$CXXCPP $CPPFLAGS'
45727ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45728ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45729ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45730
45731      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45732/* end confdefs.h.  */
45733#include <math.h>
45734		      #ifdef HAVE_IEEEFP_H
45735		      #include <ieeefp.h>
45736		      #endif
45737
45738int
45739main ()
45740{
45741 _isinfl(0);
45742  ;
45743  return 0;
45744}
45745_ACEOF
45746if ac_fn_cxx_try_compile "$LINENO"; then :
45747  glibcxx_cv_func__isinfl_use=yes
45748else
45749  glibcxx_cv_func__isinfl_use=no
45750fi
45751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45752      ac_ext=c
45753ac_cpp='$CPP $CPPFLAGS'
45754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45756ac_compiler_gnu=$ac_cv_c_compiler_gnu
45757
45758
45759fi
45760
45761  fi
45762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45763$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45764
45765    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45766      for ac_func in _isinfl
45767do :
45768  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45769if test "x$ac_cv_func__isinfl" = xyes; then :
45770  cat >>confdefs.h <<_ACEOF
45771#define HAVE__ISINFL 1
45772_ACEOF
45773
45774fi
45775done
45776
45777    fi
45778  fi
45779
45780
45781
45782
45783
45784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45785$as_echo_n "checking for atan2l declaration... " >&6; }
45786  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45787    if ${glibcxx_cv_func_atan2l_use+:} false; then :
45788  $as_echo_n "(cached) " >&6
45789else
45790
45791
45792      ac_ext=cpp
45793ac_cpp='$CXXCPP $CPPFLAGS'
45794ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45795ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45796ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45797
45798      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45799/* end confdefs.h.  */
45800#include <math.h>
45801int
45802main ()
45803{
45804 atan2l(0, 0);
45805  ;
45806  return 0;
45807}
45808_ACEOF
45809if ac_fn_cxx_try_compile "$LINENO"; then :
45810  glibcxx_cv_func_atan2l_use=yes
45811else
45812  glibcxx_cv_func_atan2l_use=no
45813fi
45814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45815      ac_ext=c
45816ac_cpp='$CPP $CPPFLAGS'
45817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45819ac_compiler_gnu=$ac_cv_c_compiler_gnu
45820
45821
45822fi
45823
45824  fi
45825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45826$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45827
45828  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45829    for ac_func in atan2l
45830do :
45831  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45832if test "x$ac_cv_func_atan2l" = xyes; then :
45833  cat >>confdefs.h <<_ACEOF
45834#define HAVE_ATAN2L 1
45835_ACEOF
45836
45837fi
45838done
45839
45840  else
45841
45842  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45843$as_echo_n "checking for _atan2l declaration... " >&6; }
45844  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45845    if ${glibcxx_cv_func__atan2l_use+:} false; then :
45846  $as_echo_n "(cached) " >&6
45847else
45848
45849
45850      ac_ext=cpp
45851ac_cpp='$CXXCPP $CPPFLAGS'
45852ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45853ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45854ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45855
45856      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45857/* end confdefs.h.  */
45858#include <math.h>
45859int
45860main ()
45861{
45862 _atan2l(0, 0);
45863  ;
45864  return 0;
45865}
45866_ACEOF
45867if ac_fn_cxx_try_compile "$LINENO"; then :
45868  glibcxx_cv_func__atan2l_use=yes
45869else
45870  glibcxx_cv_func__atan2l_use=no
45871fi
45872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45873      ac_ext=c
45874ac_cpp='$CPP $CPPFLAGS'
45875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45877ac_compiler_gnu=$ac_cv_c_compiler_gnu
45878
45879
45880fi
45881
45882  fi
45883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45884$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45885
45886    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45887      for ac_func in _atan2l
45888do :
45889  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45890if test "x$ac_cv_func__atan2l" = xyes; then :
45891  cat >>confdefs.h <<_ACEOF
45892#define HAVE__ATAN2L 1
45893_ACEOF
45894
45895fi
45896done
45897
45898    fi
45899  fi
45900
45901
45902
45903
45904
45905  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45906$as_echo_n "checking for expl declaration... " >&6; }
45907  if test x${glibcxx_cv_func_expl_use+set} != xset; then
45908    if ${glibcxx_cv_func_expl_use+:} false; then :
45909  $as_echo_n "(cached) " >&6
45910else
45911
45912
45913      ac_ext=cpp
45914ac_cpp='$CXXCPP $CPPFLAGS'
45915ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45916ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45917ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45918
45919      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45920/* end confdefs.h.  */
45921#include <math.h>
45922		      #ifdef HAVE_IEEEFP_H
45923		      #include <ieeefp.h>
45924		      #endif
45925
45926int
45927main ()
45928{
45929 expl(0);
45930  ;
45931  return 0;
45932}
45933_ACEOF
45934if ac_fn_cxx_try_compile "$LINENO"; then :
45935  glibcxx_cv_func_expl_use=yes
45936else
45937  glibcxx_cv_func_expl_use=no
45938fi
45939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45940      ac_ext=c
45941ac_cpp='$CPP $CPPFLAGS'
45942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45944ac_compiler_gnu=$ac_cv_c_compiler_gnu
45945
45946
45947fi
45948
45949  fi
45950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45951$as_echo "$glibcxx_cv_func_expl_use" >&6; }
45952
45953  if test x$glibcxx_cv_func_expl_use = x"yes"; then
45954    for ac_func in expl
45955do :
45956  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45957if test "x$ac_cv_func_expl" = xyes; then :
45958  cat >>confdefs.h <<_ACEOF
45959#define HAVE_EXPL 1
45960_ACEOF
45961
45962fi
45963done
45964
45965  else
45966
45967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45968$as_echo_n "checking for _expl declaration... " >&6; }
45969  if test x${glibcxx_cv_func__expl_use+set} != xset; then
45970    if ${glibcxx_cv_func__expl_use+:} false; then :
45971  $as_echo_n "(cached) " >&6
45972else
45973
45974
45975      ac_ext=cpp
45976ac_cpp='$CXXCPP $CPPFLAGS'
45977ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45978ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45979ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45980
45981      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45982/* end confdefs.h.  */
45983#include <math.h>
45984		      #ifdef HAVE_IEEEFP_H
45985		      #include <ieeefp.h>
45986		      #endif
45987
45988int
45989main ()
45990{
45991 _expl(0);
45992  ;
45993  return 0;
45994}
45995_ACEOF
45996if ac_fn_cxx_try_compile "$LINENO"; then :
45997  glibcxx_cv_func__expl_use=yes
45998else
45999  glibcxx_cv_func__expl_use=no
46000fi
46001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46002      ac_ext=c
46003ac_cpp='$CPP $CPPFLAGS'
46004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006ac_compiler_gnu=$ac_cv_c_compiler_gnu
46007
46008
46009fi
46010
46011  fi
46012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
46013$as_echo "$glibcxx_cv_func__expl_use" >&6; }
46014
46015    if test x$glibcxx_cv_func__expl_use = x"yes"; then
46016      for ac_func in _expl
46017do :
46018  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
46019if test "x$ac_cv_func__expl" = xyes; then :
46020  cat >>confdefs.h <<_ACEOF
46021#define HAVE__EXPL 1
46022_ACEOF
46023
46024fi
46025done
46026
46027    fi
46028  fi
46029
46030
46031
46032
46033
46034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
46035$as_echo_n "checking for fabsl declaration... " >&6; }
46036  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
46037    if ${glibcxx_cv_func_fabsl_use+:} false; then :
46038  $as_echo_n "(cached) " >&6
46039else
46040
46041
46042      ac_ext=cpp
46043ac_cpp='$CXXCPP $CPPFLAGS'
46044ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46045ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46046ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46047
46048      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46049/* end confdefs.h.  */
46050#include <math.h>
46051		      #ifdef HAVE_IEEEFP_H
46052		      #include <ieeefp.h>
46053		      #endif
46054
46055int
46056main ()
46057{
46058 fabsl(0);
46059  ;
46060  return 0;
46061}
46062_ACEOF
46063if ac_fn_cxx_try_compile "$LINENO"; then :
46064  glibcxx_cv_func_fabsl_use=yes
46065else
46066  glibcxx_cv_func_fabsl_use=no
46067fi
46068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46069      ac_ext=c
46070ac_cpp='$CPP $CPPFLAGS'
46071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46073ac_compiler_gnu=$ac_cv_c_compiler_gnu
46074
46075
46076fi
46077
46078  fi
46079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
46080$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
46081
46082  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
46083    for ac_func in fabsl
46084do :
46085  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
46086if test "x$ac_cv_func_fabsl" = xyes; then :
46087  cat >>confdefs.h <<_ACEOF
46088#define HAVE_FABSL 1
46089_ACEOF
46090
46091fi
46092done
46093
46094  else
46095
46096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
46097$as_echo_n "checking for _fabsl declaration... " >&6; }
46098  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46099    if ${glibcxx_cv_func__fabsl_use+:} false; then :
46100  $as_echo_n "(cached) " >&6
46101else
46102
46103
46104      ac_ext=cpp
46105ac_cpp='$CXXCPP $CPPFLAGS'
46106ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46109
46110      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46111/* end confdefs.h.  */
46112#include <math.h>
46113		      #ifdef HAVE_IEEEFP_H
46114		      #include <ieeefp.h>
46115		      #endif
46116
46117int
46118main ()
46119{
46120 _fabsl(0);
46121  ;
46122  return 0;
46123}
46124_ACEOF
46125if ac_fn_cxx_try_compile "$LINENO"; then :
46126  glibcxx_cv_func__fabsl_use=yes
46127else
46128  glibcxx_cv_func__fabsl_use=no
46129fi
46130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46131      ac_ext=c
46132ac_cpp='$CPP $CPPFLAGS'
46133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46135ac_compiler_gnu=$ac_cv_c_compiler_gnu
46136
46137
46138fi
46139
46140  fi
46141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
46142$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
46143
46144    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46145      for ac_func in _fabsl
46146do :
46147  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
46148if test "x$ac_cv_func__fabsl" = xyes; then :
46149  cat >>confdefs.h <<_ACEOF
46150#define HAVE__FABSL 1
46151_ACEOF
46152
46153fi
46154done
46155
46156    fi
46157  fi
46158
46159
46160
46161
46162
46163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
46164$as_echo_n "checking for fmodl declaration... " >&6; }
46165  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46166    if ${glibcxx_cv_func_fmodl_use+:} false; then :
46167  $as_echo_n "(cached) " >&6
46168else
46169
46170
46171      ac_ext=cpp
46172ac_cpp='$CXXCPP $CPPFLAGS'
46173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46176
46177      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46178/* end confdefs.h.  */
46179#include <math.h>
46180int
46181main ()
46182{
46183 fmodl(0, 0);
46184  ;
46185  return 0;
46186}
46187_ACEOF
46188if ac_fn_cxx_try_compile "$LINENO"; then :
46189  glibcxx_cv_func_fmodl_use=yes
46190else
46191  glibcxx_cv_func_fmodl_use=no
46192fi
46193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46194      ac_ext=c
46195ac_cpp='$CPP $CPPFLAGS'
46196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46198ac_compiler_gnu=$ac_cv_c_compiler_gnu
46199
46200
46201fi
46202
46203  fi
46204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
46205$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
46206
46207  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46208    for ac_func in fmodl
46209do :
46210  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
46211if test "x$ac_cv_func_fmodl" = xyes; then :
46212  cat >>confdefs.h <<_ACEOF
46213#define HAVE_FMODL 1
46214_ACEOF
46215
46216fi
46217done
46218
46219  else
46220
46221  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
46222$as_echo_n "checking for _fmodl declaration... " >&6; }
46223  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46224    if ${glibcxx_cv_func__fmodl_use+:} false; then :
46225  $as_echo_n "(cached) " >&6
46226else
46227
46228
46229      ac_ext=cpp
46230ac_cpp='$CXXCPP $CPPFLAGS'
46231ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46234
46235      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46236/* end confdefs.h.  */
46237#include <math.h>
46238int
46239main ()
46240{
46241 _fmodl(0, 0);
46242  ;
46243  return 0;
46244}
46245_ACEOF
46246if ac_fn_cxx_try_compile "$LINENO"; then :
46247  glibcxx_cv_func__fmodl_use=yes
46248else
46249  glibcxx_cv_func__fmodl_use=no
46250fi
46251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46252      ac_ext=c
46253ac_cpp='$CPP $CPPFLAGS'
46254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46256ac_compiler_gnu=$ac_cv_c_compiler_gnu
46257
46258
46259fi
46260
46261  fi
46262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
46263$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
46264
46265    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46266      for ac_func in _fmodl
46267do :
46268  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
46269if test "x$ac_cv_func__fmodl" = xyes; then :
46270  cat >>confdefs.h <<_ACEOF
46271#define HAVE__FMODL 1
46272_ACEOF
46273
46274fi
46275done
46276
46277    fi
46278  fi
46279
46280
46281
46282
46283
46284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
46285$as_echo_n "checking for frexpl declaration... " >&6; }
46286  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46287    if ${glibcxx_cv_func_frexpl_use+:} false; then :
46288  $as_echo_n "(cached) " >&6
46289else
46290
46291
46292      ac_ext=cpp
46293ac_cpp='$CXXCPP $CPPFLAGS'
46294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46297
46298      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46299/* end confdefs.h.  */
46300#include <math.h>
46301int
46302main ()
46303{
46304 frexpl(0, 0);
46305  ;
46306  return 0;
46307}
46308_ACEOF
46309if ac_fn_cxx_try_compile "$LINENO"; then :
46310  glibcxx_cv_func_frexpl_use=yes
46311else
46312  glibcxx_cv_func_frexpl_use=no
46313fi
46314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46315      ac_ext=c
46316ac_cpp='$CPP $CPPFLAGS'
46317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46319ac_compiler_gnu=$ac_cv_c_compiler_gnu
46320
46321
46322fi
46323
46324  fi
46325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
46326$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
46327
46328  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46329    for ac_func in frexpl
46330do :
46331  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
46332if test "x$ac_cv_func_frexpl" = xyes; then :
46333  cat >>confdefs.h <<_ACEOF
46334#define HAVE_FREXPL 1
46335_ACEOF
46336
46337fi
46338done
46339
46340  else
46341
46342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
46343$as_echo_n "checking for _frexpl declaration... " >&6; }
46344  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46345    if ${glibcxx_cv_func__frexpl_use+:} false; then :
46346  $as_echo_n "(cached) " >&6
46347else
46348
46349
46350      ac_ext=cpp
46351ac_cpp='$CXXCPP $CPPFLAGS'
46352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46355
46356      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46357/* end confdefs.h.  */
46358#include <math.h>
46359int
46360main ()
46361{
46362 _frexpl(0, 0);
46363  ;
46364  return 0;
46365}
46366_ACEOF
46367if ac_fn_cxx_try_compile "$LINENO"; then :
46368  glibcxx_cv_func__frexpl_use=yes
46369else
46370  glibcxx_cv_func__frexpl_use=no
46371fi
46372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46373      ac_ext=c
46374ac_cpp='$CPP $CPPFLAGS'
46375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377ac_compiler_gnu=$ac_cv_c_compiler_gnu
46378
46379
46380fi
46381
46382  fi
46383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46384$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46385
46386    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46387      for ac_func in _frexpl
46388do :
46389  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46390if test "x$ac_cv_func__frexpl" = xyes; then :
46391  cat >>confdefs.h <<_ACEOF
46392#define HAVE__FREXPL 1
46393_ACEOF
46394
46395fi
46396done
46397
46398    fi
46399  fi
46400
46401
46402
46403
46404
46405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46406$as_echo_n "checking for hypotl declaration... " >&6; }
46407  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46408    if ${glibcxx_cv_func_hypotl_use+:} false; then :
46409  $as_echo_n "(cached) " >&6
46410else
46411
46412
46413      ac_ext=cpp
46414ac_cpp='$CXXCPP $CPPFLAGS'
46415ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46418
46419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46420/* end confdefs.h.  */
46421#include <math.h>
46422int
46423main ()
46424{
46425 hypotl(0, 0);
46426  ;
46427  return 0;
46428}
46429_ACEOF
46430if ac_fn_cxx_try_compile "$LINENO"; then :
46431  glibcxx_cv_func_hypotl_use=yes
46432else
46433  glibcxx_cv_func_hypotl_use=no
46434fi
46435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46436      ac_ext=c
46437ac_cpp='$CPP $CPPFLAGS'
46438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46440ac_compiler_gnu=$ac_cv_c_compiler_gnu
46441
46442
46443fi
46444
46445  fi
46446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46447$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46448
46449  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46450    for ac_func in hypotl
46451do :
46452  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46453if test "x$ac_cv_func_hypotl" = xyes; then :
46454  cat >>confdefs.h <<_ACEOF
46455#define HAVE_HYPOTL 1
46456_ACEOF
46457
46458fi
46459done
46460
46461  else
46462
46463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46464$as_echo_n "checking for _hypotl declaration... " >&6; }
46465  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46466    if ${glibcxx_cv_func__hypotl_use+:} false; then :
46467  $as_echo_n "(cached) " >&6
46468else
46469
46470
46471      ac_ext=cpp
46472ac_cpp='$CXXCPP $CPPFLAGS'
46473ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46476
46477      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46478/* end confdefs.h.  */
46479#include <math.h>
46480int
46481main ()
46482{
46483 _hypotl(0, 0);
46484  ;
46485  return 0;
46486}
46487_ACEOF
46488if ac_fn_cxx_try_compile "$LINENO"; then :
46489  glibcxx_cv_func__hypotl_use=yes
46490else
46491  glibcxx_cv_func__hypotl_use=no
46492fi
46493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46494      ac_ext=c
46495ac_cpp='$CPP $CPPFLAGS'
46496ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46497ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46498ac_compiler_gnu=$ac_cv_c_compiler_gnu
46499
46500
46501fi
46502
46503  fi
46504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46505$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46506
46507    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46508      for ac_func in _hypotl
46509do :
46510  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46511if test "x$ac_cv_func__hypotl" = xyes; then :
46512  cat >>confdefs.h <<_ACEOF
46513#define HAVE__HYPOTL 1
46514_ACEOF
46515
46516fi
46517done
46518
46519    fi
46520  fi
46521
46522
46523
46524
46525
46526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46527$as_echo_n "checking for ldexpl declaration... " >&6; }
46528  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46529    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46530  $as_echo_n "(cached) " >&6
46531else
46532
46533
46534      ac_ext=cpp
46535ac_cpp='$CXXCPP $CPPFLAGS'
46536ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46537ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46538ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46539
46540      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46541/* end confdefs.h.  */
46542#include <math.h>
46543int
46544main ()
46545{
46546 ldexpl(0, 0);
46547  ;
46548  return 0;
46549}
46550_ACEOF
46551if ac_fn_cxx_try_compile "$LINENO"; then :
46552  glibcxx_cv_func_ldexpl_use=yes
46553else
46554  glibcxx_cv_func_ldexpl_use=no
46555fi
46556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46557      ac_ext=c
46558ac_cpp='$CPP $CPPFLAGS'
46559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46561ac_compiler_gnu=$ac_cv_c_compiler_gnu
46562
46563
46564fi
46565
46566  fi
46567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46568$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46569
46570  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46571    for ac_func in ldexpl
46572do :
46573  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46574if test "x$ac_cv_func_ldexpl" = xyes; then :
46575  cat >>confdefs.h <<_ACEOF
46576#define HAVE_LDEXPL 1
46577_ACEOF
46578
46579fi
46580done
46581
46582  else
46583
46584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46585$as_echo_n "checking for _ldexpl declaration... " >&6; }
46586  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46587    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46588  $as_echo_n "(cached) " >&6
46589else
46590
46591
46592      ac_ext=cpp
46593ac_cpp='$CXXCPP $CPPFLAGS'
46594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46597
46598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46599/* end confdefs.h.  */
46600#include <math.h>
46601int
46602main ()
46603{
46604 _ldexpl(0, 0);
46605  ;
46606  return 0;
46607}
46608_ACEOF
46609if ac_fn_cxx_try_compile "$LINENO"; then :
46610  glibcxx_cv_func__ldexpl_use=yes
46611else
46612  glibcxx_cv_func__ldexpl_use=no
46613fi
46614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46615      ac_ext=c
46616ac_cpp='$CPP $CPPFLAGS'
46617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46619ac_compiler_gnu=$ac_cv_c_compiler_gnu
46620
46621
46622fi
46623
46624  fi
46625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46626$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46627
46628    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46629      for ac_func in _ldexpl
46630do :
46631  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46632if test "x$ac_cv_func__ldexpl" = xyes; then :
46633  cat >>confdefs.h <<_ACEOF
46634#define HAVE__LDEXPL 1
46635_ACEOF
46636
46637fi
46638done
46639
46640    fi
46641  fi
46642
46643
46644
46645
46646
46647  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46648$as_echo_n "checking for logl declaration... " >&6; }
46649  if test x${glibcxx_cv_func_logl_use+set} != xset; then
46650    if ${glibcxx_cv_func_logl_use+:} false; then :
46651  $as_echo_n "(cached) " >&6
46652else
46653
46654
46655      ac_ext=cpp
46656ac_cpp='$CXXCPP $CPPFLAGS'
46657ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46658ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46659ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46660
46661      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46662/* end confdefs.h.  */
46663#include <math.h>
46664		      #ifdef HAVE_IEEEFP_H
46665		      #include <ieeefp.h>
46666		      #endif
46667
46668int
46669main ()
46670{
46671 logl(0);
46672  ;
46673  return 0;
46674}
46675_ACEOF
46676if ac_fn_cxx_try_compile "$LINENO"; then :
46677  glibcxx_cv_func_logl_use=yes
46678else
46679  glibcxx_cv_func_logl_use=no
46680fi
46681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46682      ac_ext=c
46683ac_cpp='$CPP $CPPFLAGS'
46684ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46685ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46686ac_compiler_gnu=$ac_cv_c_compiler_gnu
46687
46688
46689fi
46690
46691  fi
46692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46693$as_echo "$glibcxx_cv_func_logl_use" >&6; }
46694
46695  if test x$glibcxx_cv_func_logl_use = x"yes"; then
46696    for ac_func in logl
46697do :
46698  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46699if test "x$ac_cv_func_logl" = xyes; then :
46700  cat >>confdefs.h <<_ACEOF
46701#define HAVE_LOGL 1
46702_ACEOF
46703
46704fi
46705done
46706
46707  else
46708
46709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46710$as_echo_n "checking for _logl declaration... " >&6; }
46711  if test x${glibcxx_cv_func__logl_use+set} != xset; then
46712    if ${glibcxx_cv_func__logl_use+:} false; then :
46713  $as_echo_n "(cached) " >&6
46714else
46715
46716
46717      ac_ext=cpp
46718ac_cpp='$CXXCPP $CPPFLAGS'
46719ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46720ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46721ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46722
46723      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46724/* end confdefs.h.  */
46725#include <math.h>
46726		      #ifdef HAVE_IEEEFP_H
46727		      #include <ieeefp.h>
46728		      #endif
46729
46730int
46731main ()
46732{
46733 _logl(0);
46734  ;
46735  return 0;
46736}
46737_ACEOF
46738if ac_fn_cxx_try_compile "$LINENO"; then :
46739  glibcxx_cv_func__logl_use=yes
46740else
46741  glibcxx_cv_func__logl_use=no
46742fi
46743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46744      ac_ext=c
46745ac_cpp='$CPP $CPPFLAGS'
46746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748ac_compiler_gnu=$ac_cv_c_compiler_gnu
46749
46750
46751fi
46752
46753  fi
46754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46755$as_echo "$glibcxx_cv_func__logl_use" >&6; }
46756
46757    if test x$glibcxx_cv_func__logl_use = x"yes"; then
46758      for ac_func in _logl
46759do :
46760  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46761if test "x$ac_cv_func__logl" = xyes; then :
46762  cat >>confdefs.h <<_ACEOF
46763#define HAVE__LOGL 1
46764_ACEOF
46765
46766fi
46767done
46768
46769    fi
46770  fi
46771
46772
46773
46774
46775
46776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46777$as_echo_n "checking for log10l declaration... " >&6; }
46778  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46779    if ${glibcxx_cv_func_log10l_use+:} false; then :
46780  $as_echo_n "(cached) " >&6
46781else
46782
46783
46784      ac_ext=cpp
46785ac_cpp='$CXXCPP $CPPFLAGS'
46786ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46789
46790      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46791/* end confdefs.h.  */
46792#include <math.h>
46793		      #ifdef HAVE_IEEEFP_H
46794		      #include <ieeefp.h>
46795		      #endif
46796
46797int
46798main ()
46799{
46800 log10l(0);
46801  ;
46802  return 0;
46803}
46804_ACEOF
46805if ac_fn_cxx_try_compile "$LINENO"; then :
46806  glibcxx_cv_func_log10l_use=yes
46807else
46808  glibcxx_cv_func_log10l_use=no
46809fi
46810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46811      ac_ext=c
46812ac_cpp='$CPP $CPPFLAGS'
46813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46815ac_compiler_gnu=$ac_cv_c_compiler_gnu
46816
46817
46818fi
46819
46820  fi
46821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46822$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46823
46824  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46825    for ac_func in log10l
46826do :
46827  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46828if test "x$ac_cv_func_log10l" = xyes; then :
46829  cat >>confdefs.h <<_ACEOF
46830#define HAVE_LOG10L 1
46831_ACEOF
46832
46833fi
46834done
46835
46836  else
46837
46838  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46839$as_echo_n "checking for _log10l declaration... " >&6; }
46840  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46841    if ${glibcxx_cv_func__log10l_use+:} false; then :
46842  $as_echo_n "(cached) " >&6
46843else
46844
46845
46846      ac_ext=cpp
46847ac_cpp='$CXXCPP $CPPFLAGS'
46848ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46849ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46850ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46851
46852      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46853/* end confdefs.h.  */
46854#include <math.h>
46855		      #ifdef HAVE_IEEEFP_H
46856		      #include <ieeefp.h>
46857		      #endif
46858
46859int
46860main ()
46861{
46862 _log10l(0);
46863  ;
46864  return 0;
46865}
46866_ACEOF
46867if ac_fn_cxx_try_compile "$LINENO"; then :
46868  glibcxx_cv_func__log10l_use=yes
46869else
46870  glibcxx_cv_func__log10l_use=no
46871fi
46872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46873      ac_ext=c
46874ac_cpp='$CPP $CPPFLAGS'
46875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877ac_compiler_gnu=$ac_cv_c_compiler_gnu
46878
46879
46880fi
46881
46882  fi
46883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46884$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46885
46886    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46887      for ac_func in _log10l
46888do :
46889  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46890if test "x$ac_cv_func__log10l" = xyes; then :
46891  cat >>confdefs.h <<_ACEOF
46892#define HAVE__LOG10L 1
46893_ACEOF
46894
46895fi
46896done
46897
46898    fi
46899  fi
46900
46901
46902
46903
46904
46905  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46906$as_echo_n "checking for modfl declaration... " >&6; }
46907  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46908    if ${glibcxx_cv_func_modfl_use+:} false; then :
46909  $as_echo_n "(cached) " >&6
46910else
46911
46912
46913      ac_ext=cpp
46914ac_cpp='$CXXCPP $CPPFLAGS'
46915ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46916ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46917ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46918
46919      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46920/* end confdefs.h.  */
46921#include <math.h>
46922int
46923main ()
46924{
46925 modfl(0, 0);
46926  ;
46927  return 0;
46928}
46929_ACEOF
46930if ac_fn_cxx_try_compile "$LINENO"; then :
46931  glibcxx_cv_func_modfl_use=yes
46932else
46933  glibcxx_cv_func_modfl_use=no
46934fi
46935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46936      ac_ext=c
46937ac_cpp='$CPP $CPPFLAGS'
46938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46940ac_compiler_gnu=$ac_cv_c_compiler_gnu
46941
46942
46943fi
46944
46945  fi
46946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46947$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46948
46949  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46950    for ac_func in modfl
46951do :
46952  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46953if test "x$ac_cv_func_modfl" = xyes; then :
46954  cat >>confdefs.h <<_ACEOF
46955#define HAVE_MODFL 1
46956_ACEOF
46957
46958fi
46959done
46960
46961  else
46962
46963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46964$as_echo_n "checking for _modfl declaration... " >&6; }
46965  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46966    if ${glibcxx_cv_func__modfl_use+:} false; then :
46967  $as_echo_n "(cached) " >&6
46968else
46969
46970
46971      ac_ext=cpp
46972ac_cpp='$CXXCPP $CPPFLAGS'
46973ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46974ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46975ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46976
46977      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46978/* end confdefs.h.  */
46979#include <math.h>
46980int
46981main ()
46982{
46983 _modfl(0, 0);
46984  ;
46985  return 0;
46986}
46987_ACEOF
46988if ac_fn_cxx_try_compile "$LINENO"; then :
46989  glibcxx_cv_func__modfl_use=yes
46990else
46991  glibcxx_cv_func__modfl_use=no
46992fi
46993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46994      ac_ext=c
46995ac_cpp='$CPP $CPPFLAGS'
46996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998ac_compiler_gnu=$ac_cv_c_compiler_gnu
46999
47000
47001fi
47002
47003  fi
47004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
47005$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
47006
47007    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47008      for ac_func in _modfl
47009do :
47010  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
47011if test "x$ac_cv_func__modfl" = xyes; then :
47012  cat >>confdefs.h <<_ACEOF
47013#define HAVE__MODFL 1
47014_ACEOF
47015
47016fi
47017done
47018
47019    fi
47020  fi
47021
47022
47023
47024
47025
47026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
47027$as_echo_n "checking for powl declaration... " >&6; }
47028  if test x${glibcxx_cv_func_powl_use+set} != xset; then
47029    if ${glibcxx_cv_func_powl_use+:} false; then :
47030  $as_echo_n "(cached) " >&6
47031else
47032
47033
47034      ac_ext=cpp
47035ac_cpp='$CXXCPP $CPPFLAGS'
47036ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47037ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47038ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47039
47040      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47041/* end confdefs.h.  */
47042#include <math.h>
47043int
47044main ()
47045{
47046 powl(0, 0);
47047  ;
47048  return 0;
47049}
47050_ACEOF
47051if ac_fn_cxx_try_compile "$LINENO"; then :
47052  glibcxx_cv_func_powl_use=yes
47053else
47054  glibcxx_cv_func_powl_use=no
47055fi
47056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47057      ac_ext=c
47058ac_cpp='$CPP $CPPFLAGS'
47059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062
47063
47064fi
47065
47066  fi
47067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
47068$as_echo "$glibcxx_cv_func_powl_use" >&6; }
47069
47070  if test x$glibcxx_cv_func_powl_use = x"yes"; then
47071    for ac_func in powl
47072do :
47073  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
47074if test "x$ac_cv_func_powl" = xyes; then :
47075  cat >>confdefs.h <<_ACEOF
47076#define HAVE_POWL 1
47077_ACEOF
47078
47079fi
47080done
47081
47082  else
47083
47084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
47085$as_echo_n "checking for _powl declaration... " >&6; }
47086  if test x${glibcxx_cv_func__powl_use+set} != xset; then
47087    if ${glibcxx_cv_func__powl_use+:} false; then :
47088  $as_echo_n "(cached) " >&6
47089else
47090
47091
47092      ac_ext=cpp
47093ac_cpp='$CXXCPP $CPPFLAGS'
47094ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47097
47098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47099/* end confdefs.h.  */
47100#include <math.h>
47101int
47102main ()
47103{
47104 _powl(0, 0);
47105  ;
47106  return 0;
47107}
47108_ACEOF
47109if ac_fn_cxx_try_compile "$LINENO"; then :
47110  glibcxx_cv_func__powl_use=yes
47111else
47112  glibcxx_cv_func__powl_use=no
47113fi
47114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47115      ac_ext=c
47116ac_cpp='$CPP $CPPFLAGS'
47117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47119ac_compiler_gnu=$ac_cv_c_compiler_gnu
47120
47121
47122fi
47123
47124  fi
47125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
47126$as_echo "$glibcxx_cv_func__powl_use" >&6; }
47127
47128    if test x$glibcxx_cv_func__powl_use = x"yes"; then
47129      for ac_func in _powl
47130do :
47131  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
47132if test "x$ac_cv_func__powl" = xyes; then :
47133  cat >>confdefs.h <<_ACEOF
47134#define HAVE__POWL 1
47135_ACEOF
47136
47137fi
47138done
47139
47140    fi
47141  fi
47142
47143
47144
47145
47146
47147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
47148$as_echo_n "checking for sqrtl declaration... " >&6; }
47149  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47150    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
47151  $as_echo_n "(cached) " >&6
47152else
47153
47154
47155      ac_ext=cpp
47156ac_cpp='$CXXCPP $CPPFLAGS'
47157ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47158ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47159ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47160
47161      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47162/* end confdefs.h.  */
47163#include <math.h>
47164		      #ifdef HAVE_IEEEFP_H
47165		      #include <ieeefp.h>
47166		      #endif
47167
47168int
47169main ()
47170{
47171 sqrtl(0);
47172  ;
47173  return 0;
47174}
47175_ACEOF
47176if ac_fn_cxx_try_compile "$LINENO"; then :
47177  glibcxx_cv_func_sqrtl_use=yes
47178else
47179  glibcxx_cv_func_sqrtl_use=no
47180fi
47181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47182      ac_ext=c
47183ac_cpp='$CPP $CPPFLAGS'
47184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186ac_compiler_gnu=$ac_cv_c_compiler_gnu
47187
47188
47189fi
47190
47191  fi
47192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
47193$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
47194
47195  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47196    for ac_func in sqrtl
47197do :
47198  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
47199if test "x$ac_cv_func_sqrtl" = xyes; then :
47200  cat >>confdefs.h <<_ACEOF
47201#define HAVE_SQRTL 1
47202_ACEOF
47203
47204fi
47205done
47206
47207  else
47208
47209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
47210$as_echo_n "checking for _sqrtl declaration... " >&6; }
47211  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47212    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
47213  $as_echo_n "(cached) " >&6
47214else
47215
47216
47217      ac_ext=cpp
47218ac_cpp='$CXXCPP $CPPFLAGS'
47219ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47220ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47221ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47222
47223      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47224/* end confdefs.h.  */
47225#include <math.h>
47226		      #ifdef HAVE_IEEEFP_H
47227		      #include <ieeefp.h>
47228		      #endif
47229
47230int
47231main ()
47232{
47233 _sqrtl(0);
47234  ;
47235  return 0;
47236}
47237_ACEOF
47238if ac_fn_cxx_try_compile "$LINENO"; then :
47239  glibcxx_cv_func__sqrtl_use=yes
47240else
47241  glibcxx_cv_func__sqrtl_use=no
47242fi
47243rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47244      ac_ext=c
47245ac_cpp='$CPP $CPPFLAGS'
47246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47248ac_compiler_gnu=$ac_cv_c_compiler_gnu
47249
47250
47251fi
47252
47253  fi
47254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
47255$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
47256
47257    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47258      for ac_func in _sqrtl
47259do :
47260  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
47261if test "x$ac_cv_func__sqrtl" = xyes; then :
47262  cat >>confdefs.h <<_ACEOF
47263#define HAVE__SQRTL 1
47264_ACEOF
47265
47266fi
47267done
47268
47269    fi
47270  fi
47271
47272
47273
47274
47275
47276  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
47277$as_echo_n "checking for sincosl declaration... " >&6; }
47278  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47279    if ${glibcxx_cv_func_sincosl_use+:} false; then :
47280  $as_echo_n "(cached) " >&6
47281else
47282
47283
47284      ac_ext=cpp
47285ac_cpp='$CXXCPP $CPPFLAGS'
47286ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47287ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47288ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47289
47290      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47291/* end confdefs.h.  */
47292#include <math.h>
47293int
47294main ()
47295{
47296 sincosl(0, 0, 0);
47297  ;
47298  return 0;
47299}
47300_ACEOF
47301if ac_fn_cxx_try_compile "$LINENO"; then :
47302  glibcxx_cv_func_sincosl_use=yes
47303else
47304  glibcxx_cv_func_sincosl_use=no
47305fi
47306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47307      ac_ext=c
47308ac_cpp='$CPP $CPPFLAGS'
47309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311ac_compiler_gnu=$ac_cv_c_compiler_gnu
47312
47313
47314fi
47315
47316  fi
47317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
47318$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
47319
47320  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47321    for ac_func in sincosl
47322do :
47323  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
47324if test "x$ac_cv_func_sincosl" = xyes; then :
47325  cat >>confdefs.h <<_ACEOF
47326#define HAVE_SINCOSL 1
47327_ACEOF
47328
47329fi
47330done
47331
47332  else
47333
47334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
47335$as_echo_n "checking for _sincosl declaration... " >&6; }
47336  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47337    if ${glibcxx_cv_func__sincosl_use+:} false; then :
47338  $as_echo_n "(cached) " >&6
47339else
47340
47341
47342      ac_ext=cpp
47343ac_cpp='$CXXCPP $CPPFLAGS'
47344ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47345ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47346ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47347
47348      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47349/* end confdefs.h.  */
47350#include <math.h>
47351int
47352main ()
47353{
47354 _sincosl(0, 0, 0);
47355  ;
47356  return 0;
47357}
47358_ACEOF
47359if ac_fn_cxx_try_compile "$LINENO"; then :
47360  glibcxx_cv_func__sincosl_use=yes
47361else
47362  glibcxx_cv_func__sincosl_use=no
47363fi
47364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47365      ac_ext=c
47366ac_cpp='$CPP $CPPFLAGS'
47367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47369ac_compiler_gnu=$ac_cv_c_compiler_gnu
47370
47371
47372fi
47373
47374  fi
47375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47376$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47377
47378    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47379      for ac_func in _sincosl
47380do :
47381  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47382if test "x$ac_cv_func__sincosl" = xyes; then :
47383  cat >>confdefs.h <<_ACEOF
47384#define HAVE__SINCOSL 1
47385_ACEOF
47386
47387fi
47388done
47389
47390    fi
47391  fi
47392
47393
47394
47395
47396
47397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47398$as_echo_n "checking for finitel declaration... " >&6; }
47399  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47400    if ${glibcxx_cv_func_finitel_use+:} false; then :
47401  $as_echo_n "(cached) " >&6
47402else
47403
47404
47405      ac_ext=cpp
47406ac_cpp='$CXXCPP $CPPFLAGS'
47407ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47410
47411      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47412/* end confdefs.h.  */
47413#include <math.h>
47414		      #ifdef HAVE_IEEEFP_H
47415		      #include <ieeefp.h>
47416		      #endif
47417
47418int
47419main ()
47420{
47421 finitel(0);
47422  ;
47423  return 0;
47424}
47425_ACEOF
47426if ac_fn_cxx_try_compile "$LINENO"; then :
47427  glibcxx_cv_func_finitel_use=yes
47428else
47429  glibcxx_cv_func_finitel_use=no
47430fi
47431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47432      ac_ext=c
47433ac_cpp='$CPP $CPPFLAGS'
47434ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47435ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47436ac_compiler_gnu=$ac_cv_c_compiler_gnu
47437
47438
47439fi
47440
47441  fi
47442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47443$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47444
47445  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47446    for ac_func in finitel
47447do :
47448  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47449if test "x$ac_cv_func_finitel" = xyes; then :
47450  cat >>confdefs.h <<_ACEOF
47451#define HAVE_FINITEL 1
47452_ACEOF
47453
47454fi
47455done
47456
47457  else
47458
47459  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47460$as_echo_n "checking for _finitel declaration... " >&6; }
47461  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47462    if ${glibcxx_cv_func__finitel_use+:} false; then :
47463  $as_echo_n "(cached) " >&6
47464else
47465
47466
47467      ac_ext=cpp
47468ac_cpp='$CXXCPP $CPPFLAGS'
47469ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47470ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47471ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47472
47473      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47474/* end confdefs.h.  */
47475#include <math.h>
47476		      #ifdef HAVE_IEEEFP_H
47477		      #include <ieeefp.h>
47478		      #endif
47479
47480int
47481main ()
47482{
47483 _finitel(0);
47484  ;
47485  return 0;
47486}
47487_ACEOF
47488if ac_fn_cxx_try_compile "$LINENO"; then :
47489  glibcxx_cv_func__finitel_use=yes
47490else
47491  glibcxx_cv_func__finitel_use=no
47492fi
47493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47494      ac_ext=c
47495ac_cpp='$CPP $CPPFLAGS'
47496ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498ac_compiler_gnu=$ac_cv_c_compiler_gnu
47499
47500
47501fi
47502
47503  fi
47504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47505$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47506
47507    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47508      for ac_func in _finitel
47509do :
47510  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47511if test "x$ac_cv_func__finitel" = xyes; then :
47512  cat >>confdefs.h <<_ACEOF
47513#define HAVE__FINITEL 1
47514_ACEOF
47515
47516fi
47517done
47518
47519    fi
47520  fi
47521
47522
47523
47524
47525  LIBS="$ac_save_LIBS"
47526  CXXFLAGS="$ac_save_CXXFLAGS"
47527
47528
47529  ac_test_CXXFLAGS="${CXXFLAGS+set}"
47530  ac_save_CXXFLAGS="$CXXFLAGS"
47531  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47532
47533
47534  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47535$as_echo_n "checking for at_quick_exit declaration... " >&6; }
47536  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47537    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47538  $as_echo_n "(cached) " >&6
47539else
47540
47541
47542      ac_ext=cpp
47543ac_cpp='$CXXCPP $CPPFLAGS'
47544ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47547
47548      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47549/* end confdefs.h.  */
47550#include <stdlib.h>
47551int
47552main ()
47553{
47554 at_quick_exit(0);
47555  ;
47556  return 0;
47557}
47558_ACEOF
47559if ac_fn_cxx_try_compile "$LINENO"; then :
47560  glibcxx_cv_func_at_quick_exit_use=yes
47561else
47562  glibcxx_cv_func_at_quick_exit_use=no
47563fi
47564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47565      ac_ext=c
47566ac_cpp='$CPP $CPPFLAGS'
47567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47569ac_compiler_gnu=$ac_cv_c_compiler_gnu
47570
47571
47572fi
47573
47574  fi
47575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47576$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47577  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47578    for ac_func in at_quick_exit
47579do :
47580  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47581if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47582  cat >>confdefs.h <<_ACEOF
47583#define HAVE_AT_QUICK_EXIT 1
47584_ACEOF
47585
47586fi
47587done
47588
47589  fi
47590
47591
47592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47593$as_echo_n "checking for quick_exit declaration... " >&6; }
47594  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47595    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47596  $as_echo_n "(cached) " >&6
47597else
47598
47599
47600      ac_ext=cpp
47601ac_cpp='$CXXCPP $CPPFLAGS'
47602ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47605
47606      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47607/* end confdefs.h.  */
47608#include <stdlib.h>
47609int
47610main ()
47611{
47612 quick_exit(0);
47613  ;
47614  return 0;
47615}
47616_ACEOF
47617if ac_fn_cxx_try_compile "$LINENO"; then :
47618  glibcxx_cv_func_quick_exit_use=yes
47619else
47620  glibcxx_cv_func_quick_exit_use=no
47621fi
47622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47623      ac_ext=c
47624ac_cpp='$CPP $CPPFLAGS'
47625ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627ac_compiler_gnu=$ac_cv_c_compiler_gnu
47628
47629
47630fi
47631
47632  fi
47633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47634$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47635  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47636    for ac_func in quick_exit
47637do :
47638  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47639if test "x$ac_cv_func_quick_exit" = xyes; then :
47640  cat >>confdefs.h <<_ACEOF
47641#define HAVE_QUICK_EXIT 1
47642_ACEOF
47643
47644fi
47645done
47646
47647  fi
47648
47649
47650  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47651$as_echo_n "checking for strtold declaration... " >&6; }
47652  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47653    if ${glibcxx_cv_func_strtold_use+:} false; then :
47654  $as_echo_n "(cached) " >&6
47655else
47656
47657
47658      ac_ext=cpp
47659ac_cpp='$CXXCPP $CPPFLAGS'
47660ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47663
47664      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47665/* end confdefs.h.  */
47666#include <stdlib.h>
47667int
47668main ()
47669{
47670 strtold(0, 0);
47671  ;
47672  return 0;
47673}
47674_ACEOF
47675if ac_fn_cxx_try_compile "$LINENO"; then :
47676  glibcxx_cv_func_strtold_use=yes
47677else
47678  glibcxx_cv_func_strtold_use=no
47679fi
47680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47681      ac_ext=c
47682ac_cpp='$CPP $CPPFLAGS'
47683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47685ac_compiler_gnu=$ac_cv_c_compiler_gnu
47686
47687
47688fi
47689
47690  fi
47691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47692$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47693  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47694    for ac_func in strtold
47695do :
47696  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47697if test "x$ac_cv_func_strtold" = xyes; then :
47698  cat >>confdefs.h <<_ACEOF
47699#define HAVE_STRTOLD 1
47700_ACEOF
47701
47702fi
47703done
47704
47705  fi
47706
47707
47708
47709
47710  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47711$as_echo_n "checking for strtof declaration... " >&6; }
47712  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47713    if ${glibcxx_cv_func_strtof_use+:} false; then :
47714  $as_echo_n "(cached) " >&6
47715else
47716
47717
47718      ac_ext=cpp
47719ac_cpp='$CXXCPP $CPPFLAGS'
47720ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47721ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47722ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47723
47724      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47725/* end confdefs.h.  */
47726#include <stdlib.h>
47727int
47728main ()
47729{
47730 strtof(0, 0);
47731  ;
47732  return 0;
47733}
47734_ACEOF
47735if ac_fn_cxx_try_compile "$LINENO"; then :
47736  glibcxx_cv_func_strtof_use=yes
47737else
47738  glibcxx_cv_func_strtof_use=no
47739fi
47740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47741      ac_ext=c
47742ac_cpp='$CPP $CPPFLAGS'
47743ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47744ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47745ac_compiler_gnu=$ac_cv_c_compiler_gnu
47746
47747
47748fi
47749
47750  fi
47751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47752$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47753  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47754    for ac_func in strtof
47755do :
47756  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47757if test "x$ac_cv_func_strtof" = xyes; then :
47758  cat >>confdefs.h <<_ACEOF
47759#define HAVE_STRTOF 1
47760_ACEOF
47761
47762fi
47763done
47764
47765  fi
47766
47767
47768
47769
47770  CXXFLAGS="$ac_save_CXXFLAGS"
47771
47772    ;;
47773
47774  *djgpp)
47775    # GLIBCXX_CHECK_MATH_SUPPORT
47776    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47777
47778    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47779
47780    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47781
47782    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47783
47784    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47785
47786    ;;
47787
47788  *-freebsd*)
47789    SECTION_FLAGS='-ffunction-sections -fdata-sections'
47790
47791
47792  # If we're not using GNU ld, then there's no point in even trying these
47793  # tests.  Check for that first.  We should have already tested for gld
47794  # by now (in libtool), but require it now just to be safe...
47795  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47796  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47797
47798
47799
47800  # The name set by libtool depends on the version of libtool.  Shame on us
47801  # for depending on an impl detail, but c'est la vie.  Older versions used
47802  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47803  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47804  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47805  # set (hence we're using an older libtool), then set it.
47806  if test x${with_gnu_ld+set} != xset; then
47807    if test x${ac_cv_prog_gnu_ld+set} != xset; then
47808      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47809      with_gnu_ld=no
47810    else
47811      with_gnu_ld=$ac_cv_prog_gnu_ld
47812    fi
47813  fi
47814
47815  # Start by getting the version number.  I think the libtool test already
47816  # does some of this, but throws away the result.
47817  glibcxx_ld_is_gold=no
47818  if test x"$with_gnu_ld" = x"yes"; then
47819    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47820$as_echo_n "checking for ld version... " >&6; }
47821
47822    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47823      glibcxx_ld_is_gold=yes
47824    fi
47825    ldver=`$LD --version 2>/dev/null |
47826	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47827
47828    glibcxx_gnu_ld_version=`echo $ldver | \
47829	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47830    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47831$as_echo "$glibcxx_gnu_ld_version" >&6; }
47832  fi
47833
47834  # Set --gc-sections.
47835  glibcxx_have_gc_sections=no
47836  if test "$glibcxx_ld_is_gold" = "yes"; then
47837    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47838      glibcxx_have_gc_sections=yes
47839    fi
47840  else
47841    glibcxx_gcsections_min_ld=21602
47842    if test x"$with_gnu_ld" = x"yes" &&
47843	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47844      glibcxx_have_gc_sections=yes
47845    fi
47846  fi
47847  if test "$glibcxx_have_gc_sections" = "yes"; then
47848    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
47849    # NB: This flag only works reliably after 2.16.1. Configure tests
47850    # for this are difficult, so hard wire a value that should work.
47851
47852    ac_test_CFLAGS="${CFLAGS+set}"
47853    ac_save_CFLAGS="$CFLAGS"
47854    CFLAGS='-Wl,--gc-sections'
47855
47856    # Check for -Wl,--gc-sections
47857    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47858$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47859    if test x$gcc_no_link = xyes; then
47860  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47861fi
47862cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47863/* end confdefs.h.  */
47864 int one(void) { return 1; }
47865     int two(void) { return 2; }
47866
47867int
47868main ()
47869{
47870 two();
47871  ;
47872  return 0;
47873}
47874_ACEOF
47875if ac_fn_c_try_link "$LINENO"; then :
47876  ac_gcsections=yes
47877else
47878  ac_gcsections=no
47879fi
47880rm -f core conftest.err conftest.$ac_objext \
47881    conftest$ac_exeext conftest.$ac_ext
47882    if test "$ac_gcsections" = "yes"; then
47883      rm -f conftest.c
47884      touch conftest.c
47885      if $CC -c conftest.c; then
47886	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47887	   grep "Warning: gc-sections option ignored" > /dev/null; then
47888	  ac_gcsections=no
47889	fi
47890      fi
47891      rm -f conftest.c conftest.o conftest
47892    fi
47893    if test "$ac_gcsections" = "yes"; then
47894      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47895    fi
47896    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47897$as_echo "$ac_gcsections" >&6; }
47898
47899    if test "$ac_test_CFLAGS" = set; then
47900      CFLAGS="$ac_save_CFLAGS"
47901    else
47902      # this is the suspicious part
47903      CFLAGS=''
47904    fi
47905  fi
47906
47907  # Set -z,relro.
47908  # Note this is only for shared objects.
47909  ac_ld_relro=no
47910  if test x"$with_gnu_ld" = x"yes"; then
47911    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47912$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47913    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47914    if test -n "$cxx_z_relo"; then
47915      OPT_LDFLAGS="-Wl,-z,relro"
47916      ac_ld_relro=yes
47917    fi
47918    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47919$as_echo "$ac_ld_relro" >&6; }
47920  fi
47921
47922  # Set linker optimization flags.
47923  if test x"$with_gnu_ld" = x"yes"; then
47924    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47925  fi
47926
47927
47928
47929
47930    $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47931
47932    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47933
47934    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47935
47936    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47937
47938    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47939
47940    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47941
47942    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47943
47944    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47945
47946    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47947
47948
47949    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47950
47951    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47952
47953    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47954
47955    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47956
47957    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47958
47959    $as_echo "#define HAVE_COSF 1" >>confdefs.h
47960
47961    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47962
47963    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47964
47965    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47966
47967    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47968
47969    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47970
47971    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47972
47973    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47974
47975    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47976
47977    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47978
47979    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47980
47981    $as_echo "#define HAVE_POWF 1" >>confdefs.h
47982
47983    $as_echo "#define HAVE_SINF 1" >>confdefs.h
47984
47985    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47986
47987    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47988
47989    $as_echo "#define HAVE_TANF 1" >>confdefs.h
47990
47991    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47992
47993    if test x"long_double_math_on_this_cpu" = x"yes"; then
47994      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47995
47996      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47997
47998      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47999
48000    fi
48001    for ac_func in __cxa_thread_atexit
48002do :
48003  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
48004if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
48005  cat >>confdefs.h <<_ACEOF
48006#define HAVE___CXA_THREAD_ATEXIT 1
48007_ACEOF
48008
48009fi
48010done
48011
48012    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
48013do :
48014  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48015ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48016if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48017  cat >>confdefs.h <<_ACEOF
48018#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48019_ACEOF
48020
48021fi
48022done
48023
48024    for ac_func in timespec_get
48025do :
48026  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
48027if test "x$ac_cv_func_timespec_get" = xyes; then :
48028  cat >>confdefs.h <<_ACEOF
48029#define HAVE_TIMESPEC_GET 1
48030_ACEOF
48031
48032fi
48033done
48034
48035    for ac_func in sockatmark
48036do :
48037  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
48038if test "x$ac_cv_func_sockatmark" = xyes; then :
48039  cat >>confdefs.h <<_ACEOF
48040#define HAVE_SOCKATMARK 1
48041_ACEOF
48042
48043fi
48044done
48045
48046    ;;
48047
48048  *-fuchsia*)
48049    SECTION_FLAGS='-ffunction-sections -fdata-sections'
48050
48051    ;;
48052
48053  *-hpux*)
48054    SECTION_FLAGS='-ffunction-sections -fdata-sections'
48055
48056
48057  # If we're not using GNU ld, then there's no point in even trying these
48058  # tests.  Check for that first.  We should have already tested for gld
48059  # by now (in libtool), but require it now just to be safe...
48060  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48061  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48062
48063
48064
48065  # The name set by libtool depends on the version of libtool.  Shame on us
48066  # for depending on an impl detail, but c'est la vie.  Older versions used
48067  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48068  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48069  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
48070  # set (hence we're using an older libtool), then set it.
48071  if test x${with_gnu_ld+set} != xset; then
48072    if test x${ac_cv_prog_gnu_ld+set} != xset; then
48073      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
48074      with_gnu_ld=no
48075    else
48076      with_gnu_ld=$ac_cv_prog_gnu_ld
48077    fi
48078  fi
48079
48080  # Start by getting the version number.  I think the libtool test already
48081  # does some of this, but throws away the result.
48082  glibcxx_ld_is_gold=no
48083  if test x"$with_gnu_ld" = x"yes"; then
48084    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48085$as_echo_n "checking for ld version... " >&6; }
48086
48087    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48088      glibcxx_ld_is_gold=yes
48089    fi
48090    ldver=`$LD --version 2>/dev/null |
48091	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48092
48093    glibcxx_gnu_ld_version=`echo $ldver | \
48094	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48095    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48096$as_echo "$glibcxx_gnu_ld_version" >&6; }
48097  fi
48098
48099  # Set --gc-sections.
48100  glibcxx_have_gc_sections=no
48101  if test "$glibcxx_ld_is_gold" = "yes"; then
48102    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48103      glibcxx_have_gc_sections=yes
48104    fi
48105  else
48106    glibcxx_gcsections_min_ld=21602
48107    if test x"$with_gnu_ld" = x"yes" &&
48108	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48109      glibcxx_have_gc_sections=yes
48110    fi
48111  fi
48112  if test "$glibcxx_have_gc_sections" = "yes"; then
48113    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
48114    # NB: This flag only works reliably after 2.16.1. Configure tests
48115    # for this are difficult, so hard wire a value that should work.
48116
48117    ac_test_CFLAGS="${CFLAGS+set}"
48118    ac_save_CFLAGS="$CFLAGS"
48119    CFLAGS='-Wl,--gc-sections'
48120
48121    # Check for -Wl,--gc-sections
48122    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48123$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48124    if test x$gcc_no_link = xyes; then
48125  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48126fi
48127cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48128/* end confdefs.h.  */
48129 int one(void) { return 1; }
48130     int two(void) { return 2; }
48131
48132int
48133main ()
48134{
48135 two();
48136  ;
48137  return 0;
48138}
48139_ACEOF
48140if ac_fn_c_try_link "$LINENO"; then :
48141  ac_gcsections=yes
48142else
48143  ac_gcsections=no
48144fi
48145rm -f core conftest.err conftest.$ac_objext \
48146    conftest$ac_exeext conftest.$ac_ext
48147    if test "$ac_gcsections" = "yes"; then
48148      rm -f conftest.c
48149      touch conftest.c
48150      if $CC -c conftest.c; then
48151	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48152	   grep "Warning: gc-sections option ignored" > /dev/null; then
48153	  ac_gcsections=no
48154	fi
48155      fi
48156      rm -f conftest.c conftest.o conftest
48157    fi
48158    if test "$ac_gcsections" = "yes"; then
48159      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48160    fi
48161    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48162$as_echo "$ac_gcsections" >&6; }
48163
48164    if test "$ac_test_CFLAGS" = set; then
48165      CFLAGS="$ac_save_CFLAGS"
48166    else
48167      # this is the suspicious part
48168      CFLAGS=''
48169    fi
48170  fi
48171
48172  # Set -z,relro.
48173  # Note this is only for shared objects.
48174  ac_ld_relro=no
48175  if test x"$with_gnu_ld" = x"yes"; then
48176    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48177$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48178    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48179    if test -n "$cxx_z_relo"; then
48180      OPT_LDFLAGS="-Wl,-z,relro"
48181      ac_ld_relro=yes
48182    fi
48183    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48184$as_echo "$ac_ld_relro" >&6; }
48185  fi
48186
48187  # Set linker optimization flags.
48188  if test x"$with_gnu_ld" = x"yes"; then
48189    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48190  fi
48191
48192
48193
48194
48195
48196    # GLIBCXX_CHECK_MATH_SUPPORT
48197    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48198
48199    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48200
48201    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
48202
48203    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
48204
48205    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
48206
48207    $as_echo "#define HAVE_COSF 1" >>confdefs.h
48208
48209    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
48210
48211    $as_echo "#define HAVE_SINF 1" >>confdefs.h
48212
48213    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48214
48215    $as_echo "#define HAVE_TANF 1" >>confdefs.h
48216
48217    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48218
48219    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
48220
48221    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
48222
48223    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
48224
48225    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48226
48227    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48228
48229    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48230
48231    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48232
48233    $as_echo "#define HAVE_MODF 1" >>confdefs.h
48234
48235    $as_echo "#define HAVE_POWF 1" >>confdefs.h
48236
48237    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48238
48239
48240    # GLIBCXX_CHECK_STDLIB_SUPPORT
48241    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
48242
48243
48244
48245
48246   # Check whether --enable-tls was given.
48247if test "${enable_tls+set}" = set; then :
48248  enableval=$enable_tls;
48249      case "$enableval" in
48250       yes|no) ;;
48251       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
48252      esac
48253
48254else
48255  enable_tls=yes
48256fi
48257
48258
48259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
48260$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
48261if ${gcc_cv_have_tls+:} false; then :
48262  $as_echo_n "(cached) " >&6
48263else
48264
48265    if test "$cross_compiling" = yes; then :
48266                if test x$gcc_no_link = xyes; then
48267  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48268fi
48269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48270/* end confdefs.h.  */
48271__thread int a; int b; int main() { return a = b; }
48272_ACEOF
48273if ac_fn_c_try_link "$LINENO"; then :
48274  chktls_save_LDFLAGS="$LDFLAGS"
48275	  	  	  case $host in
48276	    *-*-linux* | -*-uclinuxfdpic*)
48277	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
48278	      ;;
48279	  esac
48280	  chktls_save_CFLAGS="$CFLAGS"
48281	  CFLAGS="-fPIC $CFLAGS"
48282	  	  if test x$gcc_no_link = xyes; then
48283  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48284fi
48285cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48286/* end confdefs.h.  */
48287int f() { return 0; }
48288_ACEOF
48289if ac_fn_c_try_link "$LINENO"; then :
48290  if test x$gcc_no_link = xyes; then
48291  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48292fi
48293cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48294/* end confdefs.h.  */
48295__thread int a; int b; int f() { return a = b; }
48296_ACEOF
48297if ac_fn_c_try_link "$LINENO"; then :
48298  gcc_cv_have_tls=yes
48299else
48300  gcc_cv_have_tls=no
48301fi
48302rm -f core conftest.err conftest.$ac_objext \
48303    conftest$ac_exeext conftest.$ac_ext
48304else
48305  gcc_cv_have_tls=yes
48306fi
48307rm -f core conftest.err conftest.$ac_objext \
48308    conftest$ac_exeext conftest.$ac_ext
48309	  CFLAGS="$chktls_save_CFLAGS"
48310	  LDFLAGS="$chktls_save_LDFLAGS"
48311else
48312  gcc_cv_have_tls=no
48313fi
48314rm -f core conftest.err conftest.$ac_objext \
48315    conftest$ac_exeext conftest.$ac_ext
48316
48317
48318else
48319  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48320/* end confdefs.h.  */
48321__thread int a; int b; int main() { return a = b; }
48322_ACEOF
48323if ac_fn_c_try_run "$LINENO"; then :
48324                      chktls_save_LDFLAGS="$LDFLAGS"
48325      LDFLAGS="-static $LDFLAGS"
48326      if test x$gcc_no_link = xyes; then
48327  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48328fi
48329cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48330/* end confdefs.h.  */
48331int main() { return 0; }
48332_ACEOF
48333if ac_fn_c_try_link "$LINENO"; then :
48334  if test "$cross_compiling" = yes; then :
48335  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48336$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48337as_fn_error $? "cannot run test program while cross compiling
48338See \`config.log' for more details" "$LINENO" 5; }
48339else
48340  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48341/* end confdefs.h.  */
48342__thread int a; int b; int main() { return a = b; }
48343_ACEOF
48344if ac_fn_c_try_run "$LINENO"; then :
48345  gcc_cv_have_tls=yes
48346else
48347  gcc_cv_have_tls=no
48348fi
48349rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48350  conftest.$ac_objext conftest.beam conftest.$ac_ext
48351fi
48352
48353else
48354  gcc_cv_have_tls=yes
48355fi
48356rm -f core conftest.err conftest.$ac_objext \
48357    conftest$ac_exeext conftest.$ac_ext
48358      LDFLAGS="$chktls_save_LDFLAGS"
48359      if test $gcc_cv_have_tls = yes; then
48360						chktls_save_CFLAGS="$CFLAGS"
48361	thread_CFLAGS=failed
48362	for flag in '' '-pthread' '-lpthread'; do
48363	  CFLAGS="$flag $chktls_save_CFLAGS"
48364	  if test x$gcc_no_link = xyes; then
48365  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48366fi
48367cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48368/* end confdefs.h.  */
48369#include <pthread.h>
48370		void *g(void *d) { return NULL; }
48371int
48372main ()
48373{
48374pthread_t t; pthread_create(&t,NULL,g,NULL);
48375  ;
48376  return 0;
48377}
48378_ACEOF
48379if ac_fn_c_try_link "$LINENO"; then :
48380  thread_CFLAGS="$flag"
48381fi
48382rm -f core conftest.err conftest.$ac_objext \
48383    conftest$ac_exeext conftest.$ac_ext
48384	  if test "X$thread_CFLAGS" != Xfailed; then
48385	    break
48386	  fi
48387	done
48388	CFLAGS="$chktls_save_CFLAGS"
48389	if test "X$thread_CFLAGS" != Xfailed; then
48390	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
48391 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
48392  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48394as_fn_error $? "cannot run test program while cross compiling
48395See \`config.log' for more details" "$LINENO" 5; }
48396else
48397  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48398/* end confdefs.h.  */
48399#include <pthread.h>
48400		__thread int a;
48401		static int *volatile a_in_other_thread;
48402		static void *
48403		thread_func (void *arg)
48404		{
48405		  a_in_other_thread = &a;
48406		  return (void *)0;
48407		}
48408int
48409main ()
48410{
48411pthread_t thread;
48412		void *thread_retval;
48413		int *volatile a_in_main_thread;
48414		a_in_main_thread = &a;
48415		if (pthread_create (&thread, (pthread_attr_t *)0,
48416				    thread_func, (void *)0))
48417		  return 0;
48418		if (pthread_join (thread, &thread_retval))
48419		  return 0;
48420		return (a_in_other_thread == a_in_main_thread);
48421  ;
48422  return 0;
48423}
48424_ACEOF
48425if ac_fn_c_try_run "$LINENO"; then :
48426  gcc_cv_have_tls=yes
48427else
48428  gcc_cv_have_tls=no
48429fi
48430rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48431  conftest.$ac_objext conftest.beam conftest.$ac_ext
48432fi
48433
48434	  CFLAGS="$chktls_save_CFLAGS"
48435	fi
48436      fi
48437else
48438  gcc_cv_have_tls=no
48439fi
48440rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48441  conftest.$ac_objext conftest.beam conftest.$ac_ext
48442fi
48443
48444fi
48445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
48446$as_echo "$gcc_cv_have_tls" >&6; }
48447  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
48448
48449$as_echo "#define HAVE_TLS 1" >>confdefs.h
48450
48451  fi
48452    case "$target" in
48453      *-hpux10*)
48454	$as_echo "#define HAVE_ISINF 1" >>confdefs.h
48455
48456	$as_echo "#define HAVE_ISINFF 1" >>confdefs.h
48457
48458	$as_echo "#define HAVE_ISNANF 1" >>confdefs.h
48459
48460	$as_echo "#define HAVE_FINITE 1" >>confdefs.h
48461
48462	$as_echo "#define HAVE_FINITEF 1" >>confdefs.h
48463
48464	;;
48465    esac
48466    ;;
48467  *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
48468
48469  # All these tests are for C++; save the language and the compiler flags.
48470  # The CXXFLAGS thing is suspicious, but based on similar bits previously
48471  # found in GLIBCXX_CONFIGURE.
48472
48473  ac_ext=cpp
48474ac_cpp='$CXXCPP $CPPFLAGS'
48475ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48476ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48477ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48478
48479  ac_test_CXXFLAGS="${CXXFLAGS+set}"
48480  ac_save_CXXFLAGS="$CXXFLAGS"
48481
48482  # Check for -ffunction-sections -fdata-sections
48483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48484$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48485  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48487/* end confdefs.h.  */
48488int foo; void bar() { };
48489int
48490main ()
48491{
48492
48493  ;
48494  return 0;
48495}
48496_ACEOF
48497if ac_fn_cxx_try_compile "$LINENO"; then :
48498  ac_fdsections=yes
48499else
48500  ac_fdsections=no
48501fi
48502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48503  if test "$ac_test_CXXFLAGS" = set; then
48504    CXXFLAGS="$ac_save_CXXFLAGS"
48505  else
48506    # this is the suspicious part
48507    CXXFLAGS=''
48508  fi
48509  if test x"$ac_fdsections" = x"yes"; then
48510    SECTION_FLAGS='-ffunction-sections -fdata-sections'
48511  fi
48512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48513$as_echo "$ac_fdsections" >&6; }
48514
48515  ac_ext=c
48516ac_cpp='$CPP $CPPFLAGS'
48517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48519ac_compiler_gnu=$ac_cv_c_compiler_gnu
48520
48521
48522
48523
48524  # If we're not using GNU ld, then there's no point in even trying these
48525  # tests.  Check for that first.  We should have already tested for gld
48526  # by now (in libtool), but require it now just to be safe...
48527  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48528  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48529
48530
48531
48532  # The name set by libtool depends on the version of libtool.  Shame on us
48533  # for depending on an impl detail, but c'est la vie.  Older versions used
48534  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48535  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48536  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
48537  # set (hence we're using an older libtool), then set it.
48538  if test x${with_gnu_ld+set} != xset; then
48539    if test x${ac_cv_prog_gnu_ld+set} != xset; then
48540      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
48541      with_gnu_ld=no
48542    else
48543      with_gnu_ld=$ac_cv_prog_gnu_ld
48544    fi
48545  fi
48546
48547  # Start by getting the version number.  I think the libtool test already
48548  # does some of this, but throws away the result.
48549  glibcxx_ld_is_gold=no
48550  if test x"$with_gnu_ld" = x"yes"; then
48551    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48552$as_echo_n "checking for ld version... " >&6; }
48553
48554    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48555      glibcxx_ld_is_gold=yes
48556    fi
48557    ldver=`$LD --version 2>/dev/null |
48558	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48559
48560    glibcxx_gnu_ld_version=`echo $ldver | \
48561	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48562    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48563$as_echo "$glibcxx_gnu_ld_version" >&6; }
48564  fi
48565
48566  # Set --gc-sections.
48567  glibcxx_have_gc_sections=no
48568  if test "$glibcxx_ld_is_gold" = "yes"; then
48569    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48570      glibcxx_have_gc_sections=yes
48571    fi
48572  else
48573    glibcxx_gcsections_min_ld=21602
48574    if test x"$with_gnu_ld" = x"yes" &&
48575	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48576      glibcxx_have_gc_sections=yes
48577    fi
48578  fi
48579  if test "$glibcxx_have_gc_sections" = "yes"; then
48580    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
48581    # NB: This flag only works reliably after 2.16.1. Configure tests
48582    # for this are difficult, so hard wire a value that should work.
48583
48584    ac_test_CFLAGS="${CFLAGS+set}"
48585    ac_save_CFLAGS="$CFLAGS"
48586    CFLAGS='-Wl,--gc-sections'
48587
48588    # Check for -Wl,--gc-sections
48589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48590$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48591    if test x$gcc_no_link = xyes; then
48592  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48593fi
48594cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48595/* end confdefs.h.  */
48596 int one(void) { return 1; }
48597     int two(void) { return 2; }
48598
48599int
48600main ()
48601{
48602 two();
48603  ;
48604  return 0;
48605}
48606_ACEOF
48607if ac_fn_c_try_link "$LINENO"; then :
48608  ac_gcsections=yes
48609else
48610  ac_gcsections=no
48611fi
48612rm -f core conftest.err conftest.$ac_objext \
48613    conftest$ac_exeext conftest.$ac_ext
48614    if test "$ac_gcsections" = "yes"; then
48615      rm -f conftest.c
48616      touch conftest.c
48617      if $CC -c conftest.c; then
48618	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48619	   grep "Warning: gc-sections option ignored" > /dev/null; then
48620	  ac_gcsections=no
48621	fi
48622      fi
48623      rm -f conftest.c conftest.o conftest
48624    fi
48625    if test "$ac_gcsections" = "yes"; then
48626      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48627    fi
48628    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48629$as_echo "$ac_gcsections" >&6; }
48630
48631    if test "$ac_test_CFLAGS" = set; then
48632      CFLAGS="$ac_save_CFLAGS"
48633    else
48634      # this is the suspicious part
48635      CFLAGS=''
48636    fi
48637  fi
48638
48639  # Set -z,relro.
48640  # Note this is only for shared objects.
48641  ac_ld_relro=no
48642  if test x"$with_gnu_ld" = x"yes"; then
48643    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48644$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48645    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48646    if test -n "$cxx_z_relo"; then
48647      OPT_LDFLAGS="-Wl,-z,relro"
48648      ac_ld_relro=yes
48649    fi
48650    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48651$as_echo "$ac_ld_relro" >&6; }
48652  fi
48653
48654  # Set linker optimization flags.
48655  if test x"$with_gnu_ld" = x"yes"; then
48656    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48657  fi
48658
48659
48660
48661
48662
48663  ac_test_CXXFLAGS="${CXXFLAGS+set}"
48664  ac_save_CXXFLAGS="$CXXFLAGS"
48665  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48666
48667    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48668$as_echo_n "checking for sin in -lm... " >&6; }
48669if ${ac_cv_lib_m_sin+:} false; then :
48670  $as_echo_n "(cached) " >&6
48671else
48672  ac_check_lib_save_LIBS=$LIBS
48673LIBS="-lm  $LIBS"
48674if test x$gcc_no_link = xyes; then
48675  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48676fi
48677cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48678/* end confdefs.h.  */
48679
48680/* Override any GCC internal prototype to avoid an error.
48681   Use char because int might match the return type of a GCC
48682   builtin and then its argument prototype would still apply.  */
48683#ifdef __cplusplus
48684extern "C"
48685#endif
48686char sin ();
48687int
48688main ()
48689{
48690return sin ();
48691  ;
48692  return 0;
48693}
48694_ACEOF
48695if ac_fn_c_try_link "$LINENO"; then :
48696  ac_cv_lib_m_sin=yes
48697else
48698  ac_cv_lib_m_sin=no
48699fi
48700rm -f core conftest.err conftest.$ac_objext \
48701    conftest$ac_exeext conftest.$ac_ext
48702LIBS=$ac_check_lib_save_LIBS
48703fi
48704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48705$as_echo "$ac_cv_lib_m_sin" >&6; }
48706if test "x$ac_cv_lib_m_sin" = xyes; then :
48707  libm="-lm"
48708fi
48709
48710  ac_save_LIBS="$LIBS"
48711  LIBS="$LIBS $libm"
48712
48713
48714
48715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48716$as_echo_n "checking for isinf declaration... " >&6; }
48717  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48718    if ${glibcxx_cv_func_isinf_use+:} false; then :
48719  $as_echo_n "(cached) " >&6
48720else
48721
48722
48723      ac_ext=cpp
48724ac_cpp='$CXXCPP $CPPFLAGS'
48725ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48726ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48727ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48728
48729      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48730/* end confdefs.h.  */
48731#include <math.h>
48732		      #ifdef HAVE_IEEEFP_H
48733		      #include <ieeefp.h>
48734		      #endif
48735
48736int
48737main ()
48738{
48739 isinf(0);
48740  ;
48741  return 0;
48742}
48743_ACEOF
48744if ac_fn_cxx_try_compile "$LINENO"; then :
48745  glibcxx_cv_func_isinf_use=yes
48746else
48747  glibcxx_cv_func_isinf_use=no
48748fi
48749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48750      ac_ext=c
48751ac_cpp='$CPP $CPPFLAGS'
48752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48754ac_compiler_gnu=$ac_cv_c_compiler_gnu
48755
48756
48757fi
48758
48759  fi
48760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48761$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48762
48763  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48764    for ac_func in isinf
48765do :
48766  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48767if test "x$ac_cv_func_isinf" = xyes; then :
48768  cat >>confdefs.h <<_ACEOF
48769#define HAVE_ISINF 1
48770_ACEOF
48771
48772fi
48773done
48774
48775  else
48776
48777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48778$as_echo_n "checking for _isinf declaration... " >&6; }
48779  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48780    if ${glibcxx_cv_func__isinf_use+:} false; then :
48781  $as_echo_n "(cached) " >&6
48782else
48783
48784
48785      ac_ext=cpp
48786ac_cpp='$CXXCPP $CPPFLAGS'
48787ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48790
48791      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48792/* end confdefs.h.  */
48793#include <math.h>
48794		      #ifdef HAVE_IEEEFP_H
48795		      #include <ieeefp.h>
48796		      #endif
48797
48798int
48799main ()
48800{
48801 _isinf(0);
48802  ;
48803  return 0;
48804}
48805_ACEOF
48806if ac_fn_cxx_try_compile "$LINENO"; then :
48807  glibcxx_cv_func__isinf_use=yes
48808else
48809  glibcxx_cv_func__isinf_use=no
48810fi
48811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48812      ac_ext=c
48813ac_cpp='$CPP $CPPFLAGS'
48814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48816ac_compiler_gnu=$ac_cv_c_compiler_gnu
48817
48818
48819fi
48820
48821  fi
48822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48823$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48824
48825    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48826      for ac_func in _isinf
48827do :
48828  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48829if test "x$ac_cv_func__isinf" = xyes; then :
48830  cat >>confdefs.h <<_ACEOF
48831#define HAVE__ISINF 1
48832_ACEOF
48833
48834fi
48835done
48836
48837    fi
48838  fi
48839
48840
48841
48842
48843
48844  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48845$as_echo_n "checking for isnan declaration... " >&6; }
48846  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48847    if ${glibcxx_cv_func_isnan_use+:} false; then :
48848  $as_echo_n "(cached) " >&6
48849else
48850
48851
48852      ac_ext=cpp
48853ac_cpp='$CXXCPP $CPPFLAGS'
48854ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48855ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48856ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48857
48858      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48859/* end confdefs.h.  */
48860#include <math.h>
48861		      #ifdef HAVE_IEEEFP_H
48862		      #include <ieeefp.h>
48863		      #endif
48864
48865int
48866main ()
48867{
48868 isnan(0);
48869  ;
48870  return 0;
48871}
48872_ACEOF
48873if ac_fn_cxx_try_compile "$LINENO"; then :
48874  glibcxx_cv_func_isnan_use=yes
48875else
48876  glibcxx_cv_func_isnan_use=no
48877fi
48878rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48879      ac_ext=c
48880ac_cpp='$CPP $CPPFLAGS'
48881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48883ac_compiler_gnu=$ac_cv_c_compiler_gnu
48884
48885
48886fi
48887
48888  fi
48889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48890$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48891
48892  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48893    for ac_func in isnan
48894do :
48895  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48896if test "x$ac_cv_func_isnan" = xyes; then :
48897  cat >>confdefs.h <<_ACEOF
48898#define HAVE_ISNAN 1
48899_ACEOF
48900
48901fi
48902done
48903
48904  else
48905
48906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48907$as_echo_n "checking for _isnan declaration... " >&6; }
48908  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48909    if ${glibcxx_cv_func__isnan_use+:} false; then :
48910  $as_echo_n "(cached) " >&6
48911else
48912
48913
48914      ac_ext=cpp
48915ac_cpp='$CXXCPP $CPPFLAGS'
48916ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48917ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48918ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48919
48920      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48921/* end confdefs.h.  */
48922#include <math.h>
48923		      #ifdef HAVE_IEEEFP_H
48924		      #include <ieeefp.h>
48925		      #endif
48926
48927int
48928main ()
48929{
48930 _isnan(0);
48931  ;
48932  return 0;
48933}
48934_ACEOF
48935if ac_fn_cxx_try_compile "$LINENO"; then :
48936  glibcxx_cv_func__isnan_use=yes
48937else
48938  glibcxx_cv_func__isnan_use=no
48939fi
48940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48941      ac_ext=c
48942ac_cpp='$CPP $CPPFLAGS'
48943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48945ac_compiler_gnu=$ac_cv_c_compiler_gnu
48946
48947
48948fi
48949
48950  fi
48951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48952$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48953
48954    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48955      for ac_func in _isnan
48956do :
48957  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48958if test "x$ac_cv_func__isnan" = xyes; then :
48959  cat >>confdefs.h <<_ACEOF
48960#define HAVE__ISNAN 1
48961_ACEOF
48962
48963fi
48964done
48965
48966    fi
48967  fi
48968
48969
48970
48971
48972
48973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48974$as_echo_n "checking for finite declaration... " >&6; }
48975  if test x${glibcxx_cv_func_finite_use+set} != xset; then
48976    if ${glibcxx_cv_func_finite_use+:} false; then :
48977  $as_echo_n "(cached) " >&6
48978else
48979
48980
48981      ac_ext=cpp
48982ac_cpp='$CXXCPP $CPPFLAGS'
48983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48986
48987      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48988/* end confdefs.h.  */
48989#include <math.h>
48990		      #ifdef HAVE_IEEEFP_H
48991		      #include <ieeefp.h>
48992		      #endif
48993
48994int
48995main ()
48996{
48997 finite(0);
48998  ;
48999  return 0;
49000}
49001_ACEOF
49002if ac_fn_cxx_try_compile "$LINENO"; then :
49003  glibcxx_cv_func_finite_use=yes
49004else
49005  glibcxx_cv_func_finite_use=no
49006fi
49007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49008      ac_ext=c
49009ac_cpp='$CPP $CPPFLAGS'
49010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49012ac_compiler_gnu=$ac_cv_c_compiler_gnu
49013
49014
49015fi
49016
49017  fi
49018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
49019$as_echo "$glibcxx_cv_func_finite_use" >&6; }
49020
49021  if test x$glibcxx_cv_func_finite_use = x"yes"; then
49022    for ac_func in finite
49023do :
49024  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
49025if test "x$ac_cv_func_finite" = xyes; then :
49026  cat >>confdefs.h <<_ACEOF
49027#define HAVE_FINITE 1
49028_ACEOF
49029
49030fi
49031done
49032
49033  else
49034
49035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
49036$as_echo_n "checking for _finite declaration... " >&6; }
49037  if test x${glibcxx_cv_func__finite_use+set} != xset; then
49038    if ${glibcxx_cv_func__finite_use+:} false; then :
49039  $as_echo_n "(cached) " >&6
49040else
49041
49042
49043      ac_ext=cpp
49044ac_cpp='$CXXCPP $CPPFLAGS'
49045ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49048
49049      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49050/* end confdefs.h.  */
49051#include <math.h>
49052		      #ifdef HAVE_IEEEFP_H
49053		      #include <ieeefp.h>
49054		      #endif
49055
49056int
49057main ()
49058{
49059 _finite(0);
49060  ;
49061  return 0;
49062}
49063_ACEOF
49064if ac_fn_cxx_try_compile "$LINENO"; then :
49065  glibcxx_cv_func__finite_use=yes
49066else
49067  glibcxx_cv_func__finite_use=no
49068fi
49069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49070      ac_ext=c
49071ac_cpp='$CPP $CPPFLAGS'
49072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49074ac_compiler_gnu=$ac_cv_c_compiler_gnu
49075
49076
49077fi
49078
49079  fi
49080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
49081$as_echo "$glibcxx_cv_func__finite_use" >&6; }
49082
49083    if test x$glibcxx_cv_func__finite_use = x"yes"; then
49084      for ac_func in _finite
49085do :
49086  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
49087if test "x$ac_cv_func__finite" = xyes; then :
49088  cat >>confdefs.h <<_ACEOF
49089#define HAVE__FINITE 1
49090_ACEOF
49091
49092fi
49093done
49094
49095    fi
49096  fi
49097
49098
49099
49100
49101
49102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
49103$as_echo_n "checking for sincos declaration... " >&6; }
49104  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
49105    if ${glibcxx_cv_func_sincos_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>
49119int
49120main ()
49121{
49122 sincos(0, 0, 0);
49123  ;
49124  return 0;
49125}
49126_ACEOF
49127if ac_fn_cxx_try_compile "$LINENO"; then :
49128  glibcxx_cv_func_sincos_use=yes
49129else
49130  glibcxx_cv_func_sincos_use=no
49131fi
49132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49133      ac_ext=c
49134ac_cpp='$CPP $CPPFLAGS'
49135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137ac_compiler_gnu=$ac_cv_c_compiler_gnu
49138
49139
49140fi
49141
49142  fi
49143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
49144$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
49145
49146  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
49147    for ac_func in sincos
49148do :
49149  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
49150if test "x$ac_cv_func_sincos" = xyes; then :
49151  cat >>confdefs.h <<_ACEOF
49152#define HAVE_SINCOS 1
49153_ACEOF
49154
49155fi
49156done
49157
49158  else
49159
49160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
49161$as_echo_n "checking for _sincos declaration... " >&6; }
49162  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
49163    if ${glibcxx_cv_func__sincos_use+:} false; then :
49164  $as_echo_n "(cached) " >&6
49165else
49166
49167
49168      ac_ext=cpp
49169ac_cpp='$CXXCPP $CPPFLAGS'
49170ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49173
49174      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49175/* end confdefs.h.  */
49176#include <math.h>
49177int
49178main ()
49179{
49180 _sincos(0, 0, 0);
49181  ;
49182  return 0;
49183}
49184_ACEOF
49185if ac_fn_cxx_try_compile "$LINENO"; then :
49186  glibcxx_cv_func__sincos_use=yes
49187else
49188  glibcxx_cv_func__sincos_use=no
49189fi
49190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49191      ac_ext=c
49192ac_cpp='$CPP $CPPFLAGS'
49193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49195ac_compiler_gnu=$ac_cv_c_compiler_gnu
49196
49197
49198fi
49199
49200  fi
49201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
49202$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
49203
49204    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
49205      for ac_func in _sincos
49206do :
49207  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
49208if test "x$ac_cv_func__sincos" = xyes; then :
49209  cat >>confdefs.h <<_ACEOF
49210#define HAVE__SINCOS 1
49211_ACEOF
49212
49213fi
49214done
49215
49216    fi
49217  fi
49218
49219
49220
49221
49222
49223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
49224$as_echo_n "checking for fpclass declaration... " >&6; }
49225  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
49226    if ${glibcxx_cv_func_fpclass_use+:} false; then :
49227  $as_echo_n "(cached) " >&6
49228else
49229
49230
49231      ac_ext=cpp
49232ac_cpp='$CXXCPP $CPPFLAGS'
49233ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49236
49237      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49238/* end confdefs.h.  */
49239#include <math.h>
49240		      #ifdef HAVE_IEEEFP_H
49241		      #include <ieeefp.h>
49242		      #endif
49243
49244int
49245main ()
49246{
49247 fpclass(0);
49248  ;
49249  return 0;
49250}
49251_ACEOF
49252if ac_fn_cxx_try_compile "$LINENO"; then :
49253  glibcxx_cv_func_fpclass_use=yes
49254else
49255  glibcxx_cv_func_fpclass_use=no
49256fi
49257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49258      ac_ext=c
49259ac_cpp='$CPP $CPPFLAGS'
49260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262ac_compiler_gnu=$ac_cv_c_compiler_gnu
49263
49264
49265fi
49266
49267  fi
49268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
49269$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
49270
49271  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
49272    for ac_func in fpclass
49273do :
49274  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
49275if test "x$ac_cv_func_fpclass" = xyes; then :
49276  cat >>confdefs.h <<_ACEOF
49277#define HAVE_FPCLASS 1
49278_ACEOF
49279
49280fi
49281done
49282
49283  else
49284
49285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
49286$as_echo_n "checking for _fpclass declaration... " >&6; }
49287  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
49288    if ${glibcxx_cv_func__fpclass_use+:} false; then :
49289  $as_echo_n "(cached) " >&6
49290else
49291
49292
49293      ac_ext=cpp
49294ac_cpp='$CXXCPP $CPPFLAGS'
49295ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49298
49299      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49300/* end confdefs.h.  */
49301#include <math.h>
49302		      #ifdef HAVE_IEEEFP_H
49303		      #include <ieeefp.h>
49304		      #endif
49305
49306int
49307main ()
49308{
49309 _fpclass(0);
49310  ;
49311  return 0;
49312}
49313_ACEOF
49314if ac_fn_cxx_try_compile "$LINENO"; then :
49315  glibcxx_cv_func__fpclass_use=yes
49316else
49317  glibcxx_cv_func__fpclass_use=no
49318fi
49319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49320      ac_ext=c
49321ac_cpp='$CPP $CPPFLAGS'
49322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49324ac_compiler_gnu=$ac_cv_c_compiler_gnu
49325
49326
49327fi
49328
49329  fi
49330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
49331$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
49332
49333    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
49334      for ac_func in _fpclass
49335do :
49336  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
49337if test "x$ac_cv_func__fpclass" = xyes; then :
49338  cat >>confdefs.h <<_ACEOF
49339#define HAVE__FPCLASS 1
49340_ACEOF
49341
49342fi
49343done
49344
49345    fi
49346  fi
49347
49348
49349
49350
49351
49352  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
49353$as_echo_n "checking for qfpclass declaration... " >&6; }
49354  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
49355    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
49356  $as_echo_n "(cached) " >&6
49357else
49358
49359
49360      ac_ext=cpp
49361ac_cpp='$CXXCPP $CPPFLAGS'
49362ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49365
49366      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49367/* end confdefs.h.  */
49368#include <math.h>
49369		      #ifdef HAVE_IEEEFP_H
49370		      #include <ieeefp.h>
49371		      #endif
49372
49373int
49374main ()
49375{
49376 qfpclass(0);
49377  ;
49378  return 0;
49379}
49380_ACEOF
49381if ac_fn_cxx_try_compile "$LINENO"; then :
49382  glibcxx_cv_func_qfpclass_use=yes
49383else
49384  glibcxx_cv_func_qfpclass_use=no
49385fi
49386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49387      ac_ext=c
49388ac_cpp='$CPP $CPPFLAGS'
49389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49391ac_compiler_gnu=$ac_cv_c_compiler_gnu
49392
49393
49394fi
49395
49396  fi
49397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
49398$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
49399
49400  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
49401    for ac_func in qfpclass
49402do :
49403  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
49404if test "x$ac_cv_func_qfpclass" = xyes; then :
49405  cat >>confdefs.h <<_ACEOF
49406#define HAVE_QFPCLASS 1
49407_ACEOF
49408
49409fi
49410done
49411
49412  else
49413
49414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
49415$as_echo_n "checking for _qfpclass declaration... " >&6; }
49416  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49417    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
49418  $as_echo_n "(cached) " >&6
49419else
49420
49421
49422      ac_ext=cpp
49423ac_cpp='$CXXCPP $CPPFLAGS'
49424ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49427
49428      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49429/* end confdefs.h.  */
49430#include <math.h>
49431		      #ifdef HAVE_IEEEFP_H
49432		      #include <ieeefp.h>
49433		      #endif
49434
49435int
49436main ()
49437{
49438 _qfpclass(0);
49439  ;
49440  return 0;
49441}
49442_ACEOF
49443if ac_fn_cxx_try_compile "$LINENO"; then :
49444  glibcxx_cv_func__qfpclass_use=yes
49445else
49446  glibcxx_cv_func__qfpclass_use=no
49447fi
49448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49449      ac_ext=c
49450ac_cpp='$CPP $CPPFLAGS'
49451ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453ac_compiler_gnu=$ac_cv_c_compiler_gnu
49454
49455
49456fi
49457
49458  fi
49459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
49460$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
49461
49462    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49463      for ac_func in _qfpclass
49464do :
49465  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
49466if test "x$ac_cv_func__qfpclass" = xyes; then :
49467  cat >>confdefs.h <<_ACEOF
49468#define HAVE__QFPCLASS 1
49469_ACEOF
49470
49471fi
49472done
49473
49474    fi
49475  fi
49476
49477
49478
49479
49480
49481  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49482$as_echo_n "checking for hypot declaration... " >&6; }
49483  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49484    if ${glibcxx_cv_func_hypot_use+:} false; then :
49485  $as_echo_n "(cached) " >&6
49486else
49487
49488
49489      ac_ext=cpp
49490ac_cpp='$CXXCPP $CPPFLAGS'
49491ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49492ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49493ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49494
49495      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49496/* end confdefs.h.  */
49497#include <math.h>
49498int
49499main ()
49500{
49501 hypot(0, 0);
49502  ;
49503  return 0;
49504}
49505_ACEOF
49506if ac_fn_cxx_try_compile "$LINENO"; then :
49507  glibcxx_cv_func_hypot_use=yes
49508else
49509  glibcxx_cv_func_hypot_use=no
49510fi
49511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49512      ac_ext=c
49513ac_cpp='$CPP $CPPFLAGS'
49514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516ac_compiler_gnu=$ac_cv_c_compiler_gnu
49517
49518
49519fi
49520
49521  fi
49522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49523$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49524
49525  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49526    for ac_func in hypot
49527do :
49528  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49529if test "x$ac_cv_func_hypot" = xyes; then :
49530  cat >>confdefs.h <<_ACEOF
49531#define HAVE_HYPOT 1
49532_ACEOF
49533
49534fi
49535done
49536
49537  else
49538
49539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49540$as_echo_n "checking for _hypot declaration... " >&6; }
49541  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49542    if ${glibcxx_cv_func__hypot_use+:} false; then :
49543  $as_echo_n "(cached) " >&6
49544else
49545
49546
49547      ac_ext=cpp
49548ac_cpp='$CXXCPP $CPPFLAGS'
49549ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49552
49553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49554/* end confdefs.h.  */
49555#include <math.h>
49556int
49557main ()
49558{
49559 _hypot(0, 0);
49560  ;
49561  return 0;
49562}
49563_ACEOF
49564if ac_fn_cxx_try_compile "$LINENO"; then :
49565  glibcxx_cv_func__hypot_use=yes
49566else
49567  glibcxx_cv_func__hypot_use=no
49568fi
49569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49570      ac_ext=c
49571ac_cpp='$CPP $CPPFLAGS'
49572ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49573ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49574ac_compiler_gnu=$ac_cv_c_compiler_gnu
49575
49576
49577fi
49578
49579  fi
49580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49581$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49582
49583    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49584      for ac_func in _hypot
49585do :
49586  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49587if test "x$ac_cv_func__hypot" = xyes; then :
49588  cat >>confdefs.h <<_ACEOF
49589#define HAVE__HYPOT 1
49590_ACEOF
49591
49592fi
49593done
49594
49595    fi
49596  fi
49597
49598
49599
49600
49601
49602    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49603$as_echo_n "checking for float trig functions... " >&6; }
49604  if ${glibcxx_cv_func_float_trig_use+:} false; then :
49605  $as_echo_n "(cached) " >&6
49606else
49607
49608
49609    ac_ext=cpp
49610ac_cpp='$CXXCPP $CPPFLAGS'
49611ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49612ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49613ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49614
49615    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49616/* end confdefs.h.  */
49617#include <math.h>
49618int
49619main ()
49620{
49621acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49622  ;
49623  return 0;
49624}
49625_ACEOF
49626if ac_fn_cxx_try_compile "$LINENO"; then :
49627  glibcxx_cv_func_float_trig_use=yes
49628else
49629  glibcxx_cv_func_float_trig_use=no
49630fi
49631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49632    ac_ext=c
49633ac_cpp='$CPP $CPPFLAGS'
49634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636ac_compiler_gnu=$ac_cv_c_compiler_gnu
49637
49638fi
49639
49640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49641$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49642  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49643    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49644do :
49645  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49646ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49647if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49648  cat >>confdefs.h <<_ACEOF
49649#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49650_ACEOF
49651
49652fi
49653done
49654
49655  else
49656    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49657$as_echo_n "checking for _float trig functions... " >&6; }
49658    if ${glibcxx_cv_func__float_trig_use+:} false; then :
49659  $as_echo_n "(cached) " >&6
49660else
49661
49662
49663      ac_ext=cpp
49664ac_cpp='$CXXCPP $CPPFLAGS'
49665ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49666ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49667ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49668
49669      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49670/* end confdefs.h.  */
49671#include <math.h>
49672int
49673main ()
49674{
49675_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49676  ;
49677  return 0;
49678}
49679_ACEOF
49680if ac_fn_cxx_try_compile "$LINENO"; then :
49681  glibcxx_cv_func__float_trig_use=yes
49682else
49683  glibcxx_cv_func__float_trig_use=no
49684fi
49685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49686      ac_ext=c
49687ac_cpp='$CPP $CPPFLAGS'
49688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49690ac_compiler_gnu=$ac_cv_c_compiler_gnu
49691
49692fi
49693
49694    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49695$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49696    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49697      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49698do :
49699  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49700ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49701if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49702  cat >>confdefs.h <<_ACEOF
49703#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49704_ACEOF
49705
49706fi
49707done
49708
49709    fi
49710  fi
49711
49712
49713
49714
49715
49716    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49717$as_echo_n "checking for float round functions... " >&6; }
49718  if ${glibcxx_cv_func_float_round_use+:} false; then :
49719  $as_echo_n "(cached) " >&6
49720else
49721
49722
49723    ac_ext=cpp
49724ac_cpp='$CXXCPP $CPPFLAGS'
49725ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49726ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49727ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49728
49729    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49730/* end confdefs.h.  */
49731#include <math.h>
49732int
49733main ()
49734{
49735ceilf (0); floorf (0);
49736  ;
49737  return 0;
49738}
49739_ACEOF
49740if ac_fn_cxx_try_compile "$LINENO"; then :
49741  glibcxx_cv_func_float_round_use=yes
49742else
49743  glibcxx_cv_func_float_round_use=no
49744fi
49745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49746    ac_ext=c
49747ac_cpp='$CPP $CPPFLAGS'
49748ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49749ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49750ac_compiler_gnu=$ac_cv_c_compiler_gnu
49751
49752fi
49753
49754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49755$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49756  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49757    for ac_func in ceilf floorf
49758do :
49759  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49760ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49761if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49762  cat >>confdefs.h <<_ACEOF
49763#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49764_ACEOF
49765
49766fi
49767done
49768
49769  else
49770    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49771$as_echo_n "checking for _float round functions... " >&6; }
49772    if ${glibcxx_cv_func__float_round_use+:} false; then :
49773  $as_echo_n "(cached) " >&6
49774else
49775
49776
49777      ac_ext=cpp
49778ac_cpp='$CXXCPP $CPPFLAGS'
49779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49782
49783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49784/* end confdefs.h.  */
49785#include <math.h>
49786int
49787main ()
49788{
49789_ceilf (0); _floorf (0);
49790  ;
49791  return 0;
49792}
49793_ACEOF
49794if ac_fn_cxx_try_compile "$LINENO"; then :
49795  glibcxx_cv_func__float_round_use=yes
49796else
49797  glibcxx_cv_func__float_round_use=no
49798fi
49799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49800      ac_ext=c
49801ac_cpp='$CPP $CPPFLAGS'
49802ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49803ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49804ac_compiler_gnu=$ac_cv_c_compiler_gnu
49805
49806fi
49807
49808    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49809$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49810    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49811      for ac_func in _ceilf _floorf
49812do :
49813  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49814ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49815if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49816  cat >>confdefs.h <<_ACEOF
49817#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49818_ACEOF
49819
49820fi
49821done
49822
49823    fi
49824  fi
49825
49826
49827
49828
49829
49830
49831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49832$as_echo_n "checking for expf declaration... " >&6; }
49833  if test x${glibcxx_cv_func_expf_use+set} != xset; then
49834    if ${glibcxx_cv_func_expf_use+:} false; then :
49835  $as_echo_n "(cached) " >&6
49836else
49837
49838
49839      ac_ext=cpp
49840ac_cpp='$CXXCPP $CPPFLAGS'
49841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49842ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49844
49845      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49846/* end confdefs.h.  */
49847#include <math.h>
49848		      #ifdef HAVE_IEEEFP_H
49849		      #include <ieeefp.h>
49850		      #endif
49851
49852int
49853main ()
49854{
49855 expf(0);
49856  ;
49857  return 0;
49858}
49859_ACEOF
49860if ac_fn_cxx_try_compile "$LINENO"; then :
49861  glibcxx_cv_func_expf_use=yes
49862else
49863  glibcxx_cv_func_expf_use=no
49864fi
49865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49866      ac_ext=c
49867ac_cpp='$CPP $CPPFLAGS'
49868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49870ac_compiler_gnu=$ac_cv_c_compiler_gnu
49871
49872
49873fi
49874
49875  fi
49876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49877$as_echo "$glibcxx_cv_func_expf_use" >&6; }
49878
49879  if test x$glibcxx_cv_func_expf_use = x"yes"; then
49880    for ac_func in expf
49881do :
49882  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49883if test "x$ac_cv_func_expf" = xyes; then :
49884  cat >>confdefs.h <<_ACEOF
49885#define HAVE_EXPF 1
49886_ACEOF
49887
49888fi
49889done
49890
49891  else
49892
49893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49894$as_echo_n "checking for _expf declaration... " >&6; }
49895  if test x${glibcxx_cv_func__expf_use+set} != xset; then
49896    if ${glibcxx_cv_func__expf_use+:} false; then :
49897  $as_echo_n "(cached) " >&6
49898else
49899
49900
49901      ac_ext=cpp
49902ac_cpp='$CXXCPP $CPPFLAGS'
49903ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49904ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49905ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49906
49907      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49908/* end confdefs.h.  */
49909#include <math.h>
49910		      #ifdef HAVE_IEEEFP_H
49911		      #include <ieeefp.h>
49912		      #endif
49913
49914int
49915main ()
49916{
49917 _expf(0);
49918  ;
49919  return 0;
49920}
49921_ACEOF
49922if ac_fn_cxx_try_compile "$LINENO"; then :
49923  glibcxx_cv_func__expf_use=yes
49924else
49925  glibcxx_cv_func__expf_use=no
49926fi
49927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49928      ac_ext=c
49929ac_cpp='$CPP $CPPFLAGS'
49930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49932ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933
49934
49935fi
49936
49937  fi
49938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49939$as_echo "$glibcxx_cv_func__expf_use" >&6; }
49940
49941    if test x$glibcxx_cv_func__expf_use = x"yes"; then
49942      for ac_func in _expf
49943do :
49944  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49945if test "x$ac_cv_func__expf" = xyes; then :
49946  cat >>confdefs.h <<_ACEOF
49947#define HAVE__EXPF 1
49948_ACEOF
49949
49950fi
49951done
49952
49953    fi
49954  fi
49955
49956
49957
49958
49959
49960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49961$as_echo_n "checking for isnanf declaration... " >&6; }
49962  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49963    if ${glibcxx_cv_func_isnanf_use+:} false; then :
49964  $as_echo_n "(cached) " >&6
49965else
49966
49967
49968      ac_ext=cpp
49969ac_cpp='$CXXCPP $CPPFLAGS'
49970ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49971ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49972ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49973
49974      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49975/* end confdefs.h.  */
49976#include <math.h>
49977		      #ifdef HAVE_IEEEFP_H
49978		      #include <ieeefp.h>
49979		      #endif
49980
49981int
49982main ()
49983{
49984 isnanf(0);
49985  ;
49986  return 0;
49987}
49988_ACEOF
49989if ac_fn_cxx_try_compile "$LINENO"; then :
49990  glibcxx_cv_func_isnanf_use=yes
49991else
49992  glibcxx_cv_func_isnanf_use=no
49993fi
49994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49995      ac_ext=c
49996ac_cpp='$CPP $CPPFLAGS'
49997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999ac_compiler_gnu=$ac_cv_c_compiler_gnu
50000
50001
50002fi
50003
50004  fi
50005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
50006$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
50007
50008  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
50009    for ac_func in isnanf
50010do :
50011  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
50012if test "x$ac_cv_func_isnanf" = xyes; then :
50013  cat >>confdefs.h <<_ACEOF
50014#define HAVE_ISNANF 1
50015_ACEOF
50016
50017fi
50018done
50019
50020  else
50021
50022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
50023$as_echo_n "checking for _isnanf declaration... " >&6; }
50024  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
50025    if ${glibcxx_cv_func__isnanf_use+:} false; then :
50026  $as_echo_n "(cached) " >&6
50027else
50028
50029
50030      ac_ext=cpp
50031ac_cpp='$CXXCPP $CPPFLAGS'
50032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50035
50036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50037/* end confdefs.h.  */
50038#include <math.h>
50039		      #ifdef HAVE_IEEEFP_H
50040		      #include <ieeefp.h>
50041		      #endif
50042
50043int
50044main ()
50045{
50046 _isnanf(0);
50047  ;
50048  return 0;
50049}
50050_ACEOF
50051if ac_fn_cxx_try_compile "$LINENO"; then :
50052  glibcxx_cv_func__isnanf_use=yes
50053else
50054  glibcxx_cv_func__isnanf_use=no
50055fi
50056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50057      ac_ext=c
50058ac_cpp='$CPP $CPPFLAGS'
50059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061ac_compiler_gnu=$ac_cv_c_compiler_gnu
50062
50063
50064fi
50065
50066  fi
50067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
50068$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
50069
50070    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
50071      for ac_func in _isnanf
50072do :
50073  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
50074if test "x$ac_cv_func__isnanf" = xyes; then :
50075  cat >>confdefs.h <<_ACEOF
50076#define HAVE__ISNANF 1
50077_ACEOF
50078
50079fi
50080done
50081
50082    fi
50083  fi
50084
50085
50086
50087
50088
50089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
50090$as_echo_n "checking for isinff declaration... " >&6; }
50091  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
50092    if ${glibcxx_cv_func_isinff_use+:} false; then :
50093  $as_echo_n "(cached) " >&6
50094else
50095
50096
50097      ac_ext=cpp
50098ac_cpp='$CXXCPP $CPPFLAGS'
50099ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50100ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50101ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50102
50103      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50104/* end confdefs.h.  */
50105#include <math.h>
50106		      #ifdef HAVE_IEEEFP_H
50107		      #include <ieeefp.h>
50108		      #endif
50109
50110int
50111main ()
50112{
50113 isinff(0);
50114  ;
50115  return 0;
50116}
50117_ACEOF
50118if ac_fn_cxx_try_compile "$LINENO"; then :
50119  glibcxx_cv_func_isinff_use=yes
50120else
50121  glibcxx_cv_func_isinff_use=no
50122fi
50123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50124      ac_ext=c
50125ac_cpp='$CPP $CPPFLAGS'
50126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50128ac_compiler_gnu=$ac_cv_c_compiler_gnu
50129
50130
50131fi
50132
50133  fi
50134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
50135$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
50136
50137  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
50138    for ac_func in isinff
50139do :
50140  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
50141if test "x$ac_cv_func_isinff" = xyes; then :
50142  cat >>confdefs.h <<_ACEOF
50143#define HAVE_ISINFF 1
50144_ACEOF
50145
50146fi
50147done
50148
50149  else
50150
50151  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
50152$as_echo_n "checking for _isinff declaration... " >&6; }
50153  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
50154    if ${glibcxx_cv_func__isinff_use+:} false; then :
50155  $as_echo_n "(cached) " >&6
50156else
50157
50158
50159      ac_ext=cpp
50160ac_cpp='$CXXCPP $CPPFLAGS'
50161ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50162ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50163ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50164
50165      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50166/* end confdefs.h.  */
50167#include <math.h>
50168		      #ifdef HAVE_IEEEFP_H
50169		      #include <ieeefp.h>
50170		      #endif
50171
50172int
50173main ()
50174{
50175 _isinff(0);
50176  ;
50177  return 0;
50178}
50179_ACEOF
50180if ac_fn_cxx_try_compile "$LINENO"; then :
50181  glibcxx_cv_func__isinff_use=yes
50182else
50183  glibcxx_cv_func__isinff_use=no
50184fi
50185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50186      ac_ext=c
50187ac_cpp='$CPP $CPPFLAGS'
50188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190ac_compiler_gnu=$ac_cv_c_compiler_gnu
50191
50192
50193fi
50194
50195  fi
50196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
50197$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
50198
50199    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
50200      for ac_func in _isinff
50201do :
50202  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
50203if test "x$ac_cv_func__isinff" = xyes; then :
50204  cat >>confdefs.h <<_ACEOF
50205#define HAVE__ISINFF 1
50206_ACEOF
50207
50208fi
50209done
50210
50211    fi
50212  fi
50213
50214
50215
50216
50217
50218  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
50219$as_echo_n "checking for atan2f declaration... " >&6; }
50220  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
50221    if ${glibcxx_cv_func_atan2f_use+:} false; then :
50222  $as_echo_n "(cached) " >&6
50223else
50224
50225
50226      ac_ext=cpp
50227ac_cpp='$CXXCPP $CPPFLAGS'
50228ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50231
50232      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50233/* end confdefs.h.  */
50234#include <math.h>
50235int
50236main ()
50237{
50238 atan2f(0, 0);
50239  ;
50240  return 0;
50241}
50242_ACEOF
50243if ac_fn_cxx_try_compile "$LINENO"; then :
50244  glibcxx_cv_func_atan2f_use=yes
50245else
50246  glibcxx_cv_func_atan2f_use=no
50247fi
50248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50249      ac_ext=c
50250ac_cpp='$CPP $CPPFLAGS'
50251ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50252ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50253ac_compiler_gnu=$ac_cv_c_compiler_gnu
50254
50255
50256fi
50257
50258  fi
50259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
50260$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
50261
50262  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
50263    for ac_func in atan2f
50264do :
50265  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
50266if test "x$ac_cv_func_atan2f" = xyes; then :
50267  cat >>confdefs.h <<_ACEOF
50268#define HAVE_ATAN2F 1
50269_ACEOF
50270
50271fi
50272done
50273
50274  else
50275
50276  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
50277$as_echo_n "checking for _atan2f declaration... " >&6; }
50278  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
50279    if ${glibcxx_cv_func__atan2f_use+:} false; then :
50280  $as_echo_n "(cached) " >&6
50281else
50282
50283
50284      ac_ext=cpp
50285ac_cpp='$CXXCPP $CPPFLAGS'
50286ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50289
50290      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50291/* end confdefs.h.  */
50292#include <math.h>
50293int
50294main ()
50295{
50296 _atan2f(0, 0);
50297  ;
50298  return 0;
50299}
50300_ACEOF
50301if ac_fn_cxx_try_compile "$LINENO"; then :
50302  glibcxx_cv_func__atan2f_use=yes
50303else
50304  glibcxx_cv_func__atan2f_use=no
50305fi
50306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50307      ac_ext=c
50308ac_cpp='$CPP $CPPFLAGS'
50309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50311ac_compiler_gnu=$ac_cv_c_compiler_gnu
50312
50313
50314fi
50315
50316  fi
50317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
50318$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
50319
50320    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
50321      for ac_func in _atan2f
50322do :
50323  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
50324if test "x$ac_cv_func__atan2f" = xyes; then :
50325  cat >>confdefs.h <<_ACEOF
50326#define HAVE__ATAN2F 1
50327_ACEOF
50328
50329fi
50330done
50331
50332    fi
50333  fi
50334
50335
50336
50337
50338
50339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
50340$as_echo_n "checking for fabsf declaration... " >&6; }
50341  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
50342    if ${glibcxx_cv_func_fabsf_use+:} false; then :
50343  $as_echo_n "(cached) " >&6
50344else
50345
50346
50347      ac_ext=cpp
50348ac_cpp='$CXXCPP $CPPFLAGS'
50349ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50350ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50351ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50352
50353      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50354/* end confdefs.h.  */
50355#include <math.h>
50356		      #ifdef HAVE_IEEEFP_H
50357		      #include <ieeefp.h>
50358		      #endif
50359
50360int
50361main ()
50362{
50363 fabsf(0);
50364  ;
50365  return 0;
50366}
50367_ACEOF
50368if ac_fn_cxx_try_compile "$LINENO"; then :
50369  glibcxx_cv_func_fabsf_use=yes
50370else
50371  glibcxx_cv_func_fabsf_use=no
50372fi
50373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50374      ac_ext=c
50375ac_cpp='$CPP $CPPFLAGS'
50376ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378ac_compiler_gnu=$ac_cv_c_compiler_gnu
50379
50380
50381fi
50382
50383  fi
50384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
50385$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
50386
50387  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
50388    for ac_func in fabsf
50389do :
50390  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
50391if test "x$ac_cv_func_fabsf" = xyes; then :
50392  cat >>confdefs.h <<_ACEOF
50393#define HAVE_FABSF 1
50394_ACEOF
50395
50396fi
50397done
50398
50399  else
50400
50401  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
50402$as_echo_n "checking for _fabsf declaration... " >&6; }
50403  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
50404    if ${glibcxx_cv_func__fabsf_use+:} false; then :
50405  $as_echo_n "(cached) " >&6
50406else
50407
50408
50409      ac_ext=cpp
50410ac_cpp='$CXXCPP $CPPFLAGS'
50411ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50412ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50413ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50414
50415      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50416/* end confdefs.h.  */
50417#include <math.h>
50418		      #ifdef HAVE_IEEEFP_H
50419		      #include <ieeefp.h>
50420		      #endif
50421
50422int
50423main ()
50424{
50425 _fabsf(0);
50426  ;
50427  return 0;
50428}
50429_ACEOF
50430if ac_fn_cxx_try_compile "$LINENO"; then :
50431  glibcxx_cv_func__fabsf_use=yes
50432else
50433  glibcxx_cv_func__fabsf_use=no
50434fi
50435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50436      ac_ext=c
50437ac_cpp='$CPP $CPPFLAGS'
50438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50440ac_compiler_gnu=$ac_cv_c_compiler_gnu
50441
50442
50443fi
50444
50445  fi
50446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
50447$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
50448
50449    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50450      for ac_func in _fabsf
50451do :
50452  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
50453if test "x$ac_cv_func__fabsf" = xyes; then :
50454  cat >>confdefs.h <<_ACEOF
50455#define HAVE__FABSF 1
50456_ACEOF
50457
50458fi
50459done
50460
50461    fi
50462  fi
50463
50464
50465
50466
50467
50468  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50469$as_echo_n "checking for fmodf declaration... " >&6; }
50470  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50471    if ${glibcxx_cv_func_fmodf_use+:} false; then :
50472  $as_echo_n "(cached) " >&6
50473else
50474
50475
50476      ac_ext=cpp
50477ac_cpp='$CXXCPP $CPPFLAGS'
50478ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50479ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50480ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50481
50482      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50483/* end confdefs.h.  */
50484#include <math.h>
50485int
50486main ()
50487{
50488 fmodf(0, 0);
50489  ;
50490  return 0;
50491}
50492_ACEOF
50493if ac_fn_cxx_try_compile "$LINENO"; then :
50494  glibcxx_cv_func_fmodf_use=yes
50495else
50496  glibcxx_cv_func_fmodf_use=no
50497fi
50498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50499      ac_ext=c
50500ac_cpp='$CPP $CPPFLAGS'
50501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50503ac_compiler_gnu=$ac_cv_c_compiler_gnu
50504
50505
50506fi
50507
50508  fi
50509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50510$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50511
50512  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50513    for ac_func in fmodf
50514do :
50515  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50516if test "x$ac_cv_func_fmodf" = xyes; then :
50517  cat >>confdefs.h <<_ACEOF
50518#define HAVE_FMODF 1
50519_ACEOF
50520
50521fi
50522done
50523
50524  else
50525
50526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50527$as_echo_n "checking for _fmodf declaration... " >&6; }
50528  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50529    if ${glibcxx_cv_func__fmodf_use+:} false; then :
50530  $as_echo_n "(cached) " >&6
50531else
50532
50533
50534      ac_ext=cpp
50535ac_cpp='$CXXCPP $CPPFLAGS'
50536ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50539
50540      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50541/* end confdefs.h.  */
50542#include <math.h>
50543int
50544main ()
50545{
50546 _fmodf(0, 0);
50547  ;
50548  return 0;
50549}
50550_ACEOF
50551if ac_fn_cxx_try_compile "$LINENO"; then :
50552  glibcxx_cv_func__fmodf_use=yes
50553else
50554  glibcxx_cv_func__fmodf_use=no
50555fi
50556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50557      ac_ext=c
50558ac_cpp='$CPP $CPPFLAGS'
50559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50561ac_compiler_gnu=$ac_cv_c_compiler_gnu
50562
50563
50564fi
50565
50566  fi
50567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50568$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50569
50570    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50571      for ac_func in _fmodf
50572do :
50573  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50574if test "x$ac_cv_func__fmodf" = xyes; then :
50575  cat >>confdefs.h <<_ACEOF
50576#define HAVE__FMODF 1
50577_ACEOF
50578
50579fi
50580done
50581
50582    fi
50583  fi
50584
50585
50586
50587
50588
50589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50590$as_echo_n "checking for frexpf declaration... " >&6; }
50591  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50592    if ${glibcxx_cv_func_frexpf_use+:} false; then :
50593  $as_echo_n "(cached) " >&6
50594else
50595
50596
50597      ac_ext=cpp
50598ac_cpp='$CXXCPP $CPPFLAGS'
50599ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50602
50603      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50604/* end confdefs.h.  */
50605#include <math.h>
50606int
50607main ()
50608{
50609 frexpf(0, 0);
50610  ;
50611  return 0;
50612}
50613_ACEOF
50614if ac_fn_cxx_try_compile "$LINENO"; then :
50615  glibcxx_cv_func_frexpf_use=yes
50616else
50617  glibcxx_cv_func_frexpf_use=no
50618fi
50619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50620      ac_ext=c
50621ac_cpp='$CPP $CPPFLAGS'
50622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50624ac_compiler_gnu=$ac_cv_c_compiler_gnu
50625
50626
50627fi
50628
50629  fi
50630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50631$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50632
50633  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50634    for ac_func in frexpf
50635do :
50636  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50637if test "x$ac_cv_func_frexpf" = xyes; then :
50638  cat >>confdefs.h <<_ACEOF
50639#define HAVE_FREXPF 1
50640_ACEOF
50641
50642fi
50643done
50644
50645  else
50646
50647  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50648$as_echo_n "checking for _frexpf declaration... " >&6; }
50649  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50650    if ${glibcxx_cv_func__frexpf_use+:} false; then :
50651  $as_echo_n "(cached) " >&6
50652else
50653
50654
50655      ac_ext=cpp
50656ac_cpp='$CXXCPP $CPPFLAGS'
50657ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50660
50661      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50662/* end confdefs.h.  */
50663#include <math.h>
50664int
50665main ()
50666{
50667 _frexpf(0, 0);
50668  ;
50669  return 0;
50670}
50671_ACEOF
50672if ac_fn_cxx_try_compile "$LINENO"; then :
50673  glibcxx_cv_func__frexpf_use=yes
50674else
50675  glibcxx_cv_func__frexpf_use=no
50676fi
50677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50678      ac_ext=c
50679ac_cpp='$CPP $CPPFLAGS'
50680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50682ac_compiler_gnu=$ac_cv_c_compiler_gnu
50683
50684
50685fi
50686
50687  fi
50688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50689$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50690
50691    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50692      for ac_func in _frexpf
50693do :
50694  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50695if test "x$ac_cv_func__frexpf" = xyes; then :
50696  cat >>confdefs.h <<_ACEOF
50697#define HAVE__FREXPF 1
50698_ACEOF
50699
50700fi
50701done
50702
50703    fi
50704  fi
50705
50706
50707
50708
50709
50710  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50711$as_echo_n "checking for hypotf declaration... " >&6; }
50712  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50713    if ${glibcxx_cv_func_hypotf_use+:} false; then :
50714  $as_echo_n "(cached) " >&6
50715else
50716
50717
50718      ac_ext=cpp
50719ac_cpp='$CXXCPP $CPPFLAGS'
50720ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50723
50724      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50725/* end confdefs.h.  */
50726#include <math.h>
50727int
50728main ()
50729{
50730 hypotf(0, 0);
50731  ;
50732  return 0;
50733}
50734_ACEOF
50735if ac_fn_cxx_try_compile "$LINENO"; then :
50736  glibcxx_cv_func_hypotf_use=yes
50737else
50738  glibcxx_cv_func_hypotf_use=no
50739fi
50740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50741      ac_ext=c
50742ac_cpp='$CPP $CPPFLAGS'
50743ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50744ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50745ac_compiler_gnu=$ac_cv_c_compiler_gnu
50746
50747
50748fi
50749
50750  fi
50751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50752$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50753
50754  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50755    for ac_func in hypotf
50756do :
50757  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50758if test "x$ac_cv_func_hypotf" = xyes; then :
50759  cat >>confdefs.h <<_ACEOF
50760#define HAVE_HYPOTF 1
50761_ACEOF
50762
50763fi
50764done
50765
50766  else
50767
50768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50769$as_echo_n "checking for _hypotf declaration... " >&6; }
50770  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50771    if ${glibcxx_cv_func__hypotf_use+:} false; then :
50772  $as_echo_n "(cached) " >&6
50773else
50774
50775
50776      ac_ext=cpp
50777ac_cpp='$CXXCPP $CPPFLAGS'
50778ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50781
50782      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50783/* end confdefs.h.  */
50784#include <math.h>
50785int
50786main ()
50787{
50788 _hypotf(0, 0);
50789  ;
50790  return 0;
50791}
50792_ACEOF
50793if ac_fn_cxx_try_compile "$LINENO"; then :
50794  glibcxx_cv_func__hypotf_use=yes
50795else
50796  glibcxx_cv_func__hypotf_use=no
50797fi
50798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50799      ac_ext=c
50800ac_cpp='$CPP $CPPFLAGS'
50801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50803ac_compiler_gnu=$ac_cv_c_compiler_gnu
50804
50805
50806fi
50807
50808  fi
50809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50810$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50811
50812    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50813      for ac_func in _hypotf
50814do :
50815  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50816if test "x$ac_cv_func__hypotf" = xyes; then :
50817  cat >>confdefs.h <<_ACEOF
50818#define HAVE__HYPOTF 1
50819_ACEOF
50820
50821fi
50822done
50823
50824    fi
50825  fi
50826
50827
50828
50829
50830
50831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50832$as_echo_n "checking for ldexpf declaration... " >&6; }
50833  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50834    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50835  $as_echo_n "(cached) " >&6
50836else
50837
50838
50839      ac_ext=cpp
50840ac_cpp='$CXXCPP $CPPFLAGS'
50841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50844
50845      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50846/* end confdefs.h.  */
50847#include <math.h>
50848int
50849main ()
50850{
50851 ldexpf(0, 0);
50852  ;
50853  return 0;
50854}
50855_ACEOF
50856if ac_fn_cxx_try_compile "$LINENO"; then :
50857  glibcxx_cv_func_ldexpf_use=yes
50858else
50859  glibcxx_cv_func_ldexpf_use=no
50860fi
50861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50862      ac_ext=c
50863ac_cpp='$CPP $CPPFLAGS'
50864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50866ac_compiler_gnu=$ac_cv_c_compiler_gnu
50867
50868
50869fi
50870
50871  fi
50872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50873$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50874
50875  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50876    for ac_func in ldexpf
50877do :
50878  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50879if test "x$ac_cv_func_ldexpf" = xyes; then :
50880  cat >>confdefs.h <<_ACEOF
50881#define HAVE_LDEXPF 1
50882_ACEOF
50883
50884fi
50885done
50886
50887  else
50888
50889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50890$as_echo_n "checking for _ldexpf declaration... " >&6; }
50891  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50892    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50893  $as_echo_n "(cached) " >&6
50894else
50895
50896
50897      ac_ext=cpp
50898ac_cpp='$CXXCPP $CPPFLAGS'
50899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50902
50903      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50904/* end confdefs.h.  */
50905#include <math.h>
50906int
50907main ()
50908{
50909 _ldexpf(0, 0);
50910  ;
50911  return 0;
50912}
50913_ACEOF
50914if ac_fn_cxx_try_compile "$LINENO"; then :
50915  glibcxx_cv_func__ldexpf_use=yes
50916else
50917  glibcxx_cv_func__ldexpf_use=no
50918fi
50919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50920      ac_ext=c
50921ac_cpp='$CPP $CPPFLAGS'
50922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50924ac_compiler_gnu=$ac_cv_c_compiler_gnu
50925
50926
50927fi
50928
50929  fi
50930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50931$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50932
50933    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50934      for ac_func in _ldexpf
50935do :
50936  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50937if test "x$ac_cv_func__ldexpf" = xyes; then :
50938  cat >>confdefs.h <<_ACEOF
50939#define HAVE__LDEXPF 1
50940_ACEOF
50941
50942fi
50943done
50944
50945    fi
50946  fi
50947
50948
50949
50950
50951
50952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50953$as_echo_n "checking for logf declaration... " >&6; }
50954  if test x${glibcxx_cv_func_logf_use+set} != xset; then
50955    if ${glibcxx_cv_func_logf_use+:} false; then :
50956  $as_echo_n "(cached) " >&6
50957else
50958
50959
50960      ac_ext=cpp
50961ac_cpp='$CXXCPP $CPPFLAGS'
50962ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50963ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50964ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50965
50966      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50967/* end confdefs.h.  */
50968#include <math.h>
50969		      #ifdef HAVE_IEEEFP_H
50970		      #include <ieeefp.h>
50971		      #endif
50972
50973int
50974main ()
50975{
50976 logf(0);
50977  ;
50978  return 0;
50979}
50980_ACEOF
50981if ac_fn_cxx_try_compile "$LINENO"; then :
50982  glibcxx_cv_func_logf_use=yes
50983else
50984  glibcxx_cv_func_logf_use=no
50985fi
50986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50987      ac_ext=c
50988ac_cpp='$CPP $CPPFLAGS'
50989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991ac_compiler_gnu=$ac_cv_c_compiler_gnu
50992
50993
50994fi
50995
50996  fi
50997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50998$as_echo "$glibcxx_cv_func_logf_use" >&6; }
50999
51000  if test x$glibcxx_cv_func_logf_use = x"yes"; then
51001    for ac_func in logf
51002do :
51003  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
51004if test "x$ac_cv_func_logf" = xyes; then :
51005  cat >>confdefs.h <<_ACEOF
51006#define HAVE_LOGF 1
51007_ACEOF
51008
51009fi
51010done
51011
51012  else
51013
51014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
51015$as_echo_n "checking for _logf declaration... " >&6; }
51016  if test x${glibcxx_cv_func__logf_use+set} != xset; then
51017    if ${glibcxx_cv_func__logf_use+:} false; then :
51018  $as_echo_n "(cached) " >&6
51019else
51020
51021
51022      ac_ext=cpp
51023ac_cpp='$CXXCPP $CPPFLAGS'
51024ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51025ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51026ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51027
51028      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51029/* end confdefs.h.  */
51030#include <math.h>
51031		      #ifdef HAVE_IEEEFP_H
51032		      #include <ieeefp.h>
51033		      #endif
51034
51035int
51036main ()
51037{
51038 _logf(0);
51039  ;
51040  return 0;
51041}
51042_ACEOF
51043if ac_fn_cxx_try_compile "$LINENO"; then :
51044  glibcxx_cv_func__logf_use=yes
51045else
51046  glibcxx_cv_func__logf_use=no
51047fi
51048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51049      ac_ext=c
51050ac_cpp='$CPP $CPPFLAGS'
51051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51053ac_compiler_gnu=$ac_cv_c_compiler_gnu
51054
51055
51056fi
51057
51058  fi
51059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
51060$as_echo "$glibcxx_cv_func__logf_use" >&6; }
51061
51062    if test x$glibcxx_cv_func__logf_use = x"yes"; then
51063      for ac_func in _logf
51064do :
51065  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
51066if test "x$ac_cv_func__logf" = xyes; then :
51067  cat >>confdefs.h <<_ACEOF
51068#define HAVE__LOGF 1
51069_ACEOF
51070
51071fi
51072done
51073
51074    fi
51075  fi
51076
51077
51078
51079
51080
51081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
51082$as_echo_n "checking for log10f declaration... " >&6; }
51083  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51084    if ${glibcxx_cv_func_log10f_use+:} false; then :
51085  $as_echo_n "(cached) " >&6
51086else
51087
51088
51089      ac_ext=cpp
51090ac_cpp='$CXXCPP $CPPFLAGS'
51091ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51094
51095      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51096/* end confdefs.h.  */
51097#include <math.h>
51098		      #ifdef HAVE_IEEEFP_H
51099		      #include <ieeefp.h>
51100		      #endif
51101
51102int
51103main ()
51104{
51105 log10f(0);
51106  ;
51107  return 0;
51108}
51109_ACEOF
51110if ac_fn_cxx_try_compile "$LINENO"; then :
51111  glibcxx_cv_func_log10f_use=yes
51112else
51113  glibcxx_cv_func_log10f_use=no
51114fi
51115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51116      ac_ext=c
51117ac_cpp='$CPP $CPPFLAGS'
51118ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51119ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51120ac_compiler_gnu=$ac_cv_c_compiler_gnu
51121
51122
51123fi
51124
51125  fi
51126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
51127$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
51128
51129  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51130    for ac_func in log10f
51131do :
51132  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
51133if test "x$ac_cv_func_log10f" = xyes; then :
51134  cat >>confdefs.h <<_ACEOF
51135#define HAVE_LOG10F 1
51136_ACEOF
51137
51138fi
51139done
51140
51141  else
51142
51143  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
51144$as_echo_n "checking for _log10f declaration... " >&6; }
51145  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51146    if ${glibcxx_cv_func__log10f_use+:} false; then :
51147  $as_echo_n "(cached) " >&6
51148else
51149
51150
51151      ac_ext=cpp
51152ac_cpp='$CXXCPP $CPPFLAGS'
51153ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51156
51157      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51158/* end confdefs.h.  */
51159#include <math.h>
51160		      #ifdef HAVE_IEEEFP_H
51161		      #include <ieeefp.h>
51162		      #endif
51163
51164int
51165main ()
51166{
51167 _log10f(0);
51168  ;
51169  return 0;
51170}
51171_ACEOF
51172if ac_fn_cxx_try_compile "$LINENO"; then :
51173  glibcxx_cv_func__log10f_use=yes
51174else
51175  glibcxx_cv_func__log10f_use=no
51176fi
51177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51178      ac_ext=c
51179ac_cpp='$CPP $CPPFLAGS'
51180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51182ac_compiler_gnu=$ac_cv_c_compiler_gnu
51183
51184
51185fi
51186
51187  fi
51188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
51189$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
51190
51191    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51192      for ac_func in _log10f
51193do :
51194  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
51195if test "x$ac_cv_func__log10f" = xyes; then :
51196  cat >>confdefs.h <<_ACEOF
51197#define HAVE__LOG10F 1
51198_ACEOF
51199
51200fi
51201done
51202
51203    fi
51204  fi
51205
51206
51207
51208
51209
51210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
51211$as_echo_n "checking for modff declaration... " >&6; }
51212  if test x${glibcxx_cv_func_modff_use+set} != xset; then
51213    if ${glibcxx_cv_func_modff_use+:} false; then :
51214  $as_echo_n "(cached) " >&6
51215else
51216
51217
51218      ac_ext=cpp
51219ac_cpp='$CXXCPP $CPPFLAGS'
51220ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51221ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51222ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51223
51224      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51225/* end confdefs.h.  */
51226#include <math.h>
51227int
51228main ()
51229{
51230 modff(0, 0);
51231  ;
51232  return 0;
51233}
51234_ACEOF
51235if ac_fn_cxx_try_compile "$LINENO"; then :
51236  glibcxx_cv_func_modff_use=yes
51237else
51238  glibcxx_cv_func_modff_use=no
51239fi
51240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51241      ac_ext=c
51242ac_cpp='$CPP $CPPFLAGS'
51243ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51244ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51245ac_compiler_gnu=$ac_cv_c_compiler_gnu
51246
51247
51248fi
51249
51250  fi
51251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
51252$as_echo "$glibcxx_cv_func_modff_use" >&6; }
51253
51254  if test x$glibcxx_cv_func_modff_use = x"yes"; then
51255    for ac_func in modff
51256do :
51257  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
51258if test "x$ac_cv_func_modff" = xyes; then :
51259  cat >>confdefs.h <<_ACEOF
51260#define HAVE_MODFF 1
51261_ACEOF
51262
51263fi
51264done
51265
51266  else
51267
51268  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
51269$as_echo_n "checking for _modff declaration... " >&6; }
51270  if test x${glibcxx_cv_func__modff_use+set} != xset; then
51271    if ${glibcxx_cv_func__modff_use+:} false; then :
51272  $as_echo_n "(cached) " >&6
51273else
51274
51275
51276      ac_ext=cpp
51277ac_cpp='$CXXCPP $CPPFLAGS'
51278ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51279ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51280ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51281
51282      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51283/* end confdefs.h.  */
51284#include <math.h>
51285int
51286main ()
51287{
51288 _modff(0, 0);
51289  ;
51290  return 0;
51291}
51292_ACEOF
51293if ac_fn_cxx_try_compile "$LINENO"; then :
51294  glibcxx_cv_func__modff_use=yes
51295else
51296  glibcxx_cv_func__modff_use=no
51297fi
51298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51299      ac_ext=c
51300ac_cpp='$CPP $CPPFLAGS'
51301ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51302ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51303ac_compiler_gnu=$ac_cv_c_compiler_gnu
51304
51305
51306fi
51307
51308  fi
51309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
51310$as_echo "$glibcxx_cv_func__modff_use" >&6; }
51311
51312    if test x$glibcxx_cv_func__modff_use = x"yes"; then
51313      for ac_func in _modff
51314do :
51315  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
51316if test "x$ac_cv_func__modff" = xyes; then :
51317  cat >>confdefs.h <<_ACEOF
51318#define HAVE__MODFF 1
51319_ACEOF
51320
51321fi
51322done
51323
51324    fi
51325  fi
51326
51327
51328
51329
51330
51331  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
51332$as_echo_n "checking for modf declaration... " >&6; }
51333  if test x${glibcxx_cv_func_modf_use+set} != xset; then
51334    if ${glibcxx_cv_func_modf_use+:} false; then :
51335  $as_echo_n "(cached) " >&6
51336else
51337
51338
51339      ac_ext=cpp
51340ac_cpp='$CXXCPP $CPPFLAGS'
51341ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51342ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51343ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51344
51345      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51346/* end confdefs.h.  */
51347#include <math.h>
51348int
51349main ()
51350{
51351 modf(0, 0);
51352  ;
51353  return 0;
51354}
51355_ACEOF
51356if ac_fn_cxx_try_compile "$LINENO"; then :
51357  glibcxx_cv_func_modf_use=yes
51358else
51359  glibcxx_cv_func_modf_use=no
51360fi
51361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51362      ac_ext=c
51363ac_cpp='$CPP $CPPFLAGS'
51364ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51365ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51366ac_compiler_gnu=$ac_cv_c_compiler_gnu
51367
51368
51369fi
51370
51371  fi
51372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
51373$as_echo "$glibcxx_cv_func_modf_use" >&6; }
51374
51375  if test x$glibcxx_cv_func_modf_use = x"yes"; then
51376    for ac_func in modf
51377do :
51378  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
51379if test "x$ac_cv_func_modf" = xyes; then :
51380  cat >>confdefs.h <<_ACEOF
51381#define HAVE_MODF 1
51382_ACEOF
51383
51384fi
51385done
51386
51387  else
51388
51389  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
51390$as_echo_n "checking for _modf declaration... " >&6; }
51391  if test x${glibcxx_cv_func__modf_use+set} != xset; then
51392    if ${glibcxx_cv_func__modf_use+:} false; then :
51393  $as_echo_n "(cached) " >&6
51394else
51395
51396
51397      ac_ext=cpp
51398ac_cpp='$CXXCPP $CPPFLAGS'
51399ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51400ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51401ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51402
51403      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51404/* end confdefs.h.  */
51405#include <math.h>
51406int
51407main ()
51408{
51409 _modf(0, 0);
51410  ;
51411  return 0;
51412}
51413_ACEOF
51414if ac_fn_cxx_try_compile "$LINENO"; then :
51415  glibcxx_cv_func__modf_use=yes
51416else
51417  glibcxx_cv_func__modf_use=no
51418fi
51419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51420      ac_ext=c
51421ac_cpp='$CPP $CPPFLAGS'
51422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51424ac_compiler_gnu=$ac_cv_c_compiler_gnu
51425
51426
51427fi
51428
51429  fi
51430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
51431$as_echo "$glibcxx_cv_func__modf_use" >&6; }
51432
51433    if test x$glibcxx_cv_func__modf_use = x"yes"; then
51434      for ac_func in _modf
51435do :
51436  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
51437if test "x$ac_cv_func__modf" = xyes; then :
51438  cat >>confdefs.h <<_ACEOF
51439#define HAVE__MODF 1
51440_ACEOF
51441
51442fi
51443done
51444
51445    fi
51446  fi
51447
51448
51449
51450
51451
51452  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
51453$as_echo_n "checking for powf declaration... " >&6; }
51454  if test x${glibcxx_cv_func_powf_use+set} != xset; then
51455    if ${glibcxx_cv_func_powf_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>
51469int
51470main ()
51471{
51472 powf(0, 0);
51473  ;
51474  return 0;
51475}
51476_ACEOF
51477if ac_fn_cxx_try_compile "$LINENO"; then :
51478  glibcxx_cv_func_powf_use=yes
51479else
51480  glibcxx_cv_func_powf_use=no
51481fi
51482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51483      ac_ext=c
51484ac_cpp='$CPP $CPPFLAGS'
51485ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51486ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51487ac_compiler_gnu=$ac_cv_c_compiler_gnu
51488
51489
51490fi
51491
51492  fi
51493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51494$as_echo "$glibcxx_cv_func_powf_use" >&6; }
51495
51496  if test x$glibcxx_cv_func_powf_use = x"yes"; then
51497    for ac_func in powf
51498do :
51499  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51500if test "x$ac_cv_func_powf" = xyes; then :
51501  cat >>confdefs.h <<_ACEOF
51502#define HAVE_POWF 1
51503_ACEOF
51504
51505fi
51506done
51507
51508  else
51509
51510  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51511$as_echo_n "checking for _powf declaration... " >&6; }
51512  if test x${glibcxx_cv_func__powf_use+set} != xset; then
51513    if ${glibcxx_cv_func__powf_use+:} false; then :
51514  $as_echo_n "(cached) " >&6
51515else
51516
51517
51518      ac_ext=cpp
51519ac_cpp='$CXXCPP $CPPFLAGS'
51520ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51521ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51522ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51523
51524      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51525/* end confdefs.h.  */
51526#include <math.h>
51527int
51528main ()
51529{
51530 _powf(0, 0);
51531  ;
51532  return 0;
51533}
51534_ACEOF
51535if ac_fn_cxx_try_compile "$LINENO"; then :
51536  glibcxx_cv_func__powf_use=yes
51537else
51538  glibcxx_cv_func__powf_use=no
51539fi
51540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51541      ac_ext=c
51542ac_cpp='$CPP $CPPFLAGS'
51543ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51544ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51545ac_compiler_gnu=$ac_cv_c_compiler_gnu
51546
51547
51548fi
51549
51550  fi
51551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51552$as_echo "$glibcxx_cv_func__powf_use" >&6; }
51553
51554    if test x$glibcxx_cv_func__powf_use = x"yes"; then
51555      for ac_func in _powf
51556do :
51557  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51558if test "x$ac_cv_func__powf" = xyes; then :
51559  cat >>confdefs.h <<_ACEOF
51560#define HAVE__POWF 1
51561_ACEOF
51562
51563fi
51564done
51565
51566    fi
51567  fi
51568
51569
51570
51571
51572
51573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51574$as_echo_n "checking for sqrtf declaration... " >&6; }
51575  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51576    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51577  $as_echo_n "(cached) " >&6
51578else
51579
51580
51581      ac_ext=cpp
51582ac_cpp='$CXXCPP $CPPFLAGS'
51583ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51584ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51585ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51586
51587      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51588/* end confdefs.h.  */
51589#include <math.h>
51590		      #ifdef HAVE_IEEEFP_H
51591		      #include <ieeefp.h>
51592		      #endif
51593
51594int
51595main ()
51596{
51597 sqrtf(0);
51598  ;
51599  return 0;
51600}
51601_ACEOF
51602if ac_fn_cxx_try_compile "$LINENO"; then :
51603  glibcxx_cv_func_sqrtf_use=yes
51604else
51605  glibcxx_cv_func_sqrtf_use=no
51606fi
51607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51608      ac_ext=c
51609ac_cpp='$CPP $CPPFLAGS'
51610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51612ac_compiler_gnu=$ac_cv_c_compiler_gnu
51613
51614
51615fi
51616
51617  fi
51618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51619$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51620
51621  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51622    for ac_func in sqrtf
51623do :
51624  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51625if test "x$ac_cv_func_sqrtf" = xyes; then :
51626  cat >>confdefs.h <<_ACEOF
51627#define HAVE_SQRTF 1
51628_ACEOF
51629
51630fi
51631done
51632
51633  else
51634
51635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51636$as_echo_n "checking for _sqrtf declaration... " >&6; }
51637  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51638    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51639  $as_echo_n "(cached) " >&6
51640else
51641
51642
51643      ac_ext=cpp
51644ac_cpp='$CXXCPP $CPPFLAGS'
51645ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51646ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51647ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51648
51649      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51650/* end confdefs.h.  */
51651#include <math.h>
51652		      #ifdef HAVE_IEEEFP_H
51653		      #include <ieeefp.h>
51654		      #endif
51655
51656int
51657main ()
51658{
51659 _sqrtf(0);
51660  ;
51661  return 0;
51662}
51663_ACEOF
51664if ac_fn_cxx_try_compile "$LINENO"; then :
51665  glibcxx_cv_func__sqrtf_use=yes
51666else
51667  glibcxx_cv_func__sqrtf_use=no
51668fi
51669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51670      ac_ext=c
51671ac_cpp='$CPP $CPPFLAGS'
51672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51674ac_compiler_gnu=$ac_cv_c_compiler_gnu
51675
51676
51677fi
51678
51679  fi
51680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51681$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51682
51683    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51684      for ac_func in _sqrtf
51685do :
51686  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51687if test "x$ac_cv_func__sqrtf" = xyes; then :
51688  cat >>confdefs.h <<_ACEOF
51689#define HAVE__SQRTF 1
51690_ACEOF
51691
51692fi
51693done
51694
51695    fi
51696  fi
51697
51698
51699
51700
51701
51702  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51703$as_echo_n "checking for sincosf declaration... " >&6; }
51704  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51705    if ${glibcxx_cv_func_sincosf_use+:} false; then :
51706  $as_echo_n "(cached) " >&6
51707else
51708
51709
51710      ac_ext=cpp
51711ac_cpp='$CXXCPP $CPPFLAGS'
51712ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51715
51716      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51717/* end confdefs.h.  */
51718#include <math.h>
51719int
51720main ()
51721{
51722 sincosf(0, 0, 0);
51723  ;
51724  return 0;
51725}
51726_ACEOF
51727if ac_fn_cxx_try_compile "$LINENO"; then :
51728  glibcxx_cv_func_sincosf_use=yes
51729else
51730  glibcxx_cv_func_sincosf_use=no
51731fi
51732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51733      ac_ext=c
51734ac_cpp='$CPP $CPPFLAGS'
51735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51737ac_compiler_gnu=$ac_cv_c_compiler_gnu
51738
51739
51740fi
51741
51742  fi
51743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51744$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51745
51746  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51747    for ac_func in sincosf
51748do :
51749  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51750if test "x$ac_cv_func_sincosf" = xyes; then :
51751  cat >>confdefs.h <<_ACEOF
51752#define HAVE_SINCOSF 1
51753_ACEOF
51754
51755fi
51756done
51757
51758  else
51759
51760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51761$as_echo_n "checking for _sincosf declaration... " >&6; }
51762  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51763    if ${glibcxx_cv_func__sincosf_use+:} false; then :
51764  $as_echo_n "(cached) " >&6
51765else
51766
51767
51768      ac_ext=cpp
51769ac_cpp='$CXXCPP $CPPFLAGS'
51770ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51771ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51772ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51773
51774      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51775/* end confdefs.h.  */
51776#include <math.h>
51777int
51778main ()
51779{
51780 _sincosf(0, 0, 0);
51781  ;
51782  return 0;
51783}
51784_ACEOF
51785if ac_fn_cxx_try_compile "$LINENO"; then :
51786  glibcxx_cv_func__sincosf_use=yes
51787else
51788  glibcxx_cv_func__sincosf_use=no
51789fi
51790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51791      ac_ext=c
51792ac_cpp='$CPP $CPPFLAGS'
51793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51795ac_compiler_gnu=$ac_cv_c_compiler_gnu
51796
51797
51798fi
51799
51800  fi
51801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51802$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51803
51804    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51805      for ac_func in _sincosf
51806do :
51807  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51808if test "x$ac_cv_func__sincosf" = xyes; then :
51809  cat >>confdefs.h <<_ACEOF
51810#define HAVE__SINCOSF 1
51811_ACEOF
51812
51813fi
51814done
51815
51816    fi
51817  fi
51818
51819
51820
51821
51822
51823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51824$as_echo_n "checking for finitef declaration... " >&6; }
51825  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51826    if ${glibcxx_cv_func_finitef_use+:} false; then :
51827  $as_echo_n "(cached) " >&6
51828else
51829
51830
51831      ac_ext=cpp
51832ac_cpp='$CXXCPP $CPPFLAGS'
51833ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51834ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51835ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51836
51837      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51838/* end confdefs.h.  */
51839#include <math.h>
51840		      #ifdef HAVE_IEEEFP_H
51841		      #include <ieeefp.h>
51842		      #endif
51843
51844int
51845main ()
51846{
51847 finitef(0);
51848  ;
51849  return 0;
51850}
51851_ACEOF
51852if ac_fn_cxx_try_compile "$LINENO"; then :
51853  glibcxx_cv_func_finitef_use=yes
51854else
51855  glibcxx_cv_func_finitef_use=no
51856fi
51857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51858      ac_ext=c
51859ac_cpp='$CPP $CPPFLAGS'
51860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51862ac_compiler_gnu=$ac_cv_c_compiler_gnu
51863
51864
51865fi
51866
51867  fi
51868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51869$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51870
51871  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51872    for ac_func in finitef
51873do :
51874  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51875if test "x$ac_cv_func_finitef" = xyes; then :
51876  cat >>confdefs.h <<_ACEOF
51877#define HAVE_FINITEF 1
51878_ACEOF
51879
51880fi
51881done
51882
51883  else
51884
51885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51886$as_echo_n "checking for _finitef declaration... " >&6; }
51887  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51888    if ${glibcxx_cv_func__finitef_use+:} false; then :
51889  $as_echo_n "(cached) " >&6
51890else
51891
51892
51893      ac_ext=cpp
51894ac_cpp='$CXXCPP $CPPFLAGS'
51895ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51898
51899      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51900/* end confdefs.h.  */
51901#include <math.h>
51902		      #ifdef HAVE_IEEEFP_H
51903		      #include <ieeefp.h>
51904		      #endif
51905
51906int
51907main ()
51908{
51909 _finitef(0);
51910  ;
51911  return 0;
51912}
51913_ACEOF
51914if ac_fn_cxx_try_compile "$LINENO"; then :
51915  glibcxx_cv_func__finitef_use=yes
51916else
51917  glibcxx_cv_func__finitef_use=no
51918fi
51919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51920      ac_ext=c
51921ac_cpp='$CPP $CPPFLAGS'
51922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51924ac_compiler_gnu=$ac_cv_c_compiler_gnu
51925
51926
51927fi
51928
51929  fi
51930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51931$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51932
51933    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51934      for ac_func in _finitef
51935do :
51936  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51937if test "x$ac_cv_func__finitef" = xyes; then :
51938  cat >>confdefs.h <<_ACEOF
51939#define HAVE__FINITEF 1
51940_ACEOF
51941
51942fi
51943done
51944
51945    fi
51946  fi
51947
51948
51949
51950
51951
51952    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51953$as_echo_n "checking for long double trig functions... " >&6; }
51954  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51955  $as_echo_n "(cached) " >&6
51956else
51957
51958
51959    ac_ext=cpp
51960ac_cpp='$CXXCPP $CPPFLAGS'
51961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51964
51965    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51966/* end confdefs.h.  */
51967#include <math.h>
51968int
51969main ()
51970{
51971acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51972  ;
51973  return 0;
51974}
51975_ACEOF
51976if ac_fn_cxx_try_compile "$LINENO"; then :
51977  glibcxx_cv_func_long_double_trig_use=yes
51978else
51979  glibcxx_cv_func_long_double_trig_use=no
51980fi
51981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51982    ac_ext=c
51983ac_cpp='$CPP $CPPFLAGS'
51984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51986ac_compiler_gnu=$ac_cv_c_compiler_gnu
51987
51988fi
51989
51990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51991$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51992  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51993    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51994do :
51995  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51996ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51997if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51998  cat >>confdefs.h <<_ACEOF
51999#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52000_ACEOF
52001
52002fi
52003done
52004
52005  else
52006    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
52007$as_echo_n "checking for _long double trig functions... " >&6; }
52008    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
52009  $as_echo_n "(cached) " >&6
52010else
52011
52012
52013      ac_ext=cpp
52014ac_cpp='$CXXCPP $CPPFLAGS'
52015ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52016ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52017ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52018
52019      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52020/* end confdefs.h.  */
52021#include <math.h>
52022int
52023main ()
52024{
52025_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52026  ;
52027  return 0;
52028}
52029_ACEOF
52030if ac_fn_cxx_try_compile "$LINENO"; then :
52031  glibcxx_cv_func__long_double_trig_use=yes
52032else
52033  glibcxx_cv_func__long_double_trig_use=no
52034fi
52035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52036      ac_ext=c
52037ac_cpp='$CPP $CPPFLAGS'
52038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52040ac_compiler_gnu=$ac_cv_c_compiler_gnu
52041
52042fi
52043
52044    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
52045$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
52046    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52047      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52048do :
52049  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52050ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52051if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52052  cat >>confdefs.h <<_ACEOF
52053#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52054_ACEOF
52055
52056fi
52057done
52058
52059    fi
52060  fi
52061
52062
52063
52064
52065
52066    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
52067$as_echo_n "checking for long double round functions... " >&6; }
52068  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
52069  $as_echo_n "(cached) " >&6
52070else
52071
52072
52073    ac_ext=cpp
52074ac_cpp='$CXXCPP $CPPFLAGS'
52075ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52076ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52077ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52078
52079    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52080/* end confdefs.h.  */
52081#include <math.h>
52082int
52083main ()
52084{
52085ceill (0); floorl (0);
52086  ;
52087  return 0;
52088}
52089_ACEOF
52090if ac_fn_cxx_try_compile "$LINENO"; then :
52091  glibcxx_cv_func_long_double_round_use=yes
52092else
52093  glibcxx_cv_func_long_double_round_use=no
52094fi
52095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52096    ac_ext=c
52097ac_cpp='$CPP $CPPFLAGS'
52098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52100ac_compiler_gnu=$ac_cv_c_compiler_gnu
52101
52102fi
52103
52104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
52105$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
52106  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52107    for ac_func in ceill floorl
52108do :
52109  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52110ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52111if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52112  cat >>confdefs.h <<_ACEOF
52113#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52114_ACEOF
52115
52116fi
52117done
52118
52119  else
52120    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
52121$as_echo_n "checking for _long double round functions... " >&6; }
52122    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
52123  $as_echo_n "(cached) " >&6
52124else
52125
52126
52127      ac_ext=cpp
52128ac_cpp='$CXXCPP $CPPFLAGS'
52129ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52130ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52131ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52132
52133      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52134/* end confdefs.h.  */
52135#include <math.h>
52136int
52137main ()
52138{
52139_ceill (0); _floorl (0);
52140  ;
52141  return 0;
52142}
52143_ACEOF
52144if ac_fn_cxx_try_compile "$LINENO"; then :
52145  glibcxx_cv_func__long_double_round_use=yes
52146else
52147  glibcxx_cv_func__long_double_round_use=no
52148fi
52149rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52150      ac_ext=c
52151ac_cpp='$CPP $CPPFLAGS'
52152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52154ac_compiler_gnu=$ac_cv_c_compiler_gnu
52155
52156fi
52157
52158    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
52159$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
52160    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52161      for ac_func in _ceill _floorl
52162do :
52163  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52164ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52165if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52166  cat >>confdefs.h <<_ACEOF
52167#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52168_ACEOF
52169
52170fi
52171done
52172
52173    fi
52174  fi
52175
52176
52177
52178
52179
52180
52181  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
52182$as_echo_n "checking for isnanl declaration... " >&6; }
52183  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52184    if ${glibcxx_cv_func_isnanl_use+:} false; then :
52185  $as_echo_n "(cached) " >&6
52186else
52187
52188
52189      ac_ext=cpp
52190ac_cpp='$CXXCPP $CPPFLAGS'
52191ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52192ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52193ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52194
52195      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52196/* end confdefs.h.  */
52197#include <math.h>
52198		      #ifdef HAVE_IEEEFP_H
52199		      #include <ieeefp.h>
52200		      #endif
52201
52202int
52203main ()
52204{
52205 isnanl(0);
52206  ;
52207  return 0;
52208}
52209_ACEOF
52210if ac_fn_cxx_try_compile "$LINENO"; then :
52211  glibcxx_cv_func_isnanl_use=yes
52212else
52213  glibcxx_cv_func_isnanl_use=no
52214fi
52215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52216      ac_ext=c
52217ac_cpp='$CPP $CPPFLAGS'
52218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52220ac_compiler_gnu=$ac_cv_c_compiler_gnu
52221
52222
52223fi
52224
52225  fi
52226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
52227$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
52228
52229  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52230    for ac_func in isnanl
52231do :
52232  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
52233if test "x$ac_cv_func_isnanl" = xyes; then :
52234  cat >>confdefs.h <<_ACEOF
52235#define HAVE_ISNANL 1
52236_ACEOF
52237
52238fi
52239done
52240
52241  else
52242
52243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
52244$as_echo_n "checking for _isnanl declaration... " >&6; }
52245  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52246    if ${glibcxx_cv_func__isnanl_use+:} false; then :
52247  $as_echo_n "(cached) " >&6
52248else
52249
52250
52251      ac_ext=cpp
52252ac_cpp='$CXXCPP $CPPFLAGS'
52253ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52254ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52255ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52256
52257      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52258/* end confdefs.h.  */
52259#include <math.h>
52260		      #ifdef HAVE_IEEEFP_H
52261		      #include <ieeefp.h>
52262		      #endif
52263
52264int
52265main ()
52266{
52267 _isnanl(0);
52268  ;
52269  return 0;
52270}
52271_ACEOF
52272if ac_fn_cxx_try_compile "$LINENO"; then :
52273  glibcxx_cv_func__isnanl_use=yes
52274else
52275  glibcxx_cv_func__isnanl_use=no
52276fi
52277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52278      ac_ext=c
52279ac_cpp='$CPP $CPPFLAGS'
52280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52282ac_compiler_gnu=$ac_cv_c_compiler_gnu
52283
52284
52285fi
52286
52287  fi
52288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
52289$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
52290
52291    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52292      for ac_func in _isnanl
52293do :
52294  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
52295if test "x$ac_cv_func__isnanl" = xyes; then :
52296  cat >>confdefs.h <<_ACEOF
52297#define HAVE__ISNANL 1
52298_ACEOF
52299
52300fi
52301done
52302
52303    fi
52304  fi
52305
52306
52307
52308
52309
52310  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
52311$as_echo_n "checking for isinfl declaration... " >&6; }
52312  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
52313    if ${glibcxx_cv_func_isinfl_use+:} false; then :
52314  $as_echo_n "(cached) " >&6
52315else
52316
52317
52318      ac_ext=cpp
52319ac_cpp='$CXXCPP $CPPFLAGS'
52320ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52321ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52322ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52323
52324      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52325/* end confdefs.h.  */
52326#include <math.h>
52327		      #ifdef HAVE_IEEEFP_H
52328		      #include <ieeefp.h>
52329		      #endif
52330
52331int
52332main ()
52333{
52334 isinfl(0);
52335  ;
52336  return 0;
52337}
52338_ACEOF
52339if ac_fn_cxx_try_compile "$LINENO"; then :
52340  glibcxx_cv_func_isinfl_use=yes
52341else
52342  glibcxx_cv_func_isinfl_use=no
52343fi
52344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52345      ac_ext=c
52346ac_cpp='$CPP $CPPFLAGS'
52347ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52349ac_compiler_gnu=$ac_cv_c_compiler_gnu
52350
52351
52352fi
52353
52354  fi
52355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
52356$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
52357
52358  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
52359    for ac_func in isinfl
52360do :
52361  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
52362if test "x$ac_cv_func_isinfl" = xyes; then :
52363  cat >>confdefs.h <<_ACEOF
52364#define HAVE_ISINFL 1
52365_ACEOF
52366
52367fi
52368done
52369
52370  else
52371
52372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
52373$as_echo_n "checking for _isinfl declaration... " >&6; }
52374  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
52375    if ${glibcxx_cv_func__isinfl_use+:} false; then :
52376  $as_echo_n "(cached) " >&6
52377else
52378
52379
52380      ac_ext=cpp
52381ac_cpp='$CXXCPP $CPPFLAGS'
52382ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52383ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52384ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52385
52386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52387/* end confdefs.h.  */
52388#include <math.h>
52389		      #ifdef HAVE_IEEEFP_H
52390		      #include <ieeefp.h>
52391		      #endif
52392
52393int
52394main ()
52395{
52396 _isinfl(0);
52397  ;
52398  return 0;
52399}
52400_ACEOF
52401if ac_fn_cxx_try_compile "$LINENO"; then :
52402  glibcxx_cv_func__isinfl_use=yes
52403else
52404  glibcxx_cv_func__isinfl_use=no
52405fi
52406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52407      ac_ext=c
52408ac_cpp='$CPP $CPPFLAGS'
52409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52411ac_compiler_gnu=$ac_cv_c_compiler_gnu
52412
52413
52414fi
52415
52416  fi
52417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
52418$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
52419
52420    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
52421      for ac_func in _isinfl
52422do :
52423  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
52424if test "x$ac_cv_func__isinfl" = xyes; then :
52425  cat >>confdefs.h <<_ACEOF
52426#define HAVE__ISINFL 1
52427_ACEOF
52428
52429fi
52430done
52431
52432    fi
52433  fi
52434
52435
52436
52437
52438
52439  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
52440$as_echo_n "checking for atan2l declaration... " >&6; }
52441  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
52442    if ${glibcxx_cv_func_atan2l_use+:} false; then :
52443  $as_echo_n "(cached) " >&6
52444else
52445
52446
52447      ac_ext=cpp
52448ac_cpp='$CXXCPP $CPPFLAGS'
52449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52452
52453      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52454/* end confdefs.h.  */
52455#include <math.h>
52456int
52457main ()
52458{
52459 atan2l(0, 0);
52460  ;
52461  return 0;
52462}
52463_ACEOF
52464if ac_fn_cxx_try_compile "$LINENO"; then :
52465  glibcxx_cv_func_atan2l_use=yes
52466else
52467  glibcxx_cv_func_atan2l_use=no
52468fi
52469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52470      ac_ext=c
52471ac_cpp='$CPP $CPPFLAGS'
52472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52474ac_compiler_gnu=$ac_cv_c_compiler_gnu
52475
52476
52477fi
52478
52479  fi
52480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52481$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52482
52483  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52484    for ac_func in atan2l
52485do :
52486  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52487if test "x$ac_cv_func_atan2l" = xyes; then :
52488  cat >>confdefs.h <<_ACEOF
52489#define HAVE_ATAN2L 1
52490_ACEOF
52491
52492fi
52493done
52494
52495  else
52496
52497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52498$as_echo_n "checking for _atan2l declaration... " >&6; }
52499  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52500    if ${glibcxx_cv_func__atan2l_use+:} false; then :
52501  $as_echo_n "(cached) " >&6
52502else
52503
52504
52505      ac_ext=cpp
52506ac_cpp='$CXXCPP $CPPFLAGS'
52507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52510
52511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52512/* end confdefs.h.  */
52513#include <math.h>
52514int
52515main ()
52516{
52517 _atan2l(0, 0);
52518  ;
52519  return 0;
52520}
52521_ACEOF
52522if ac_fn_cxx_try_compile "$LINENO"; then :
52523  glibcxx_cv_func__atan2l_use=yes
52524else
52525  glibcxx_cv_func__atan2l_use=no
52526fi
52527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52528      ac_ext=c
52529ac_cpp='$CPP $CPPFLAGS'
52530ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52531ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52532ac_compiler_gnu=$ac_cv_c_compiler_gnu
52533
52534
52535fi
52536
52537  fi
52538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52539$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52540
52541    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52542      for ac_func in _atan2l
52543do :
52544  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52545if test "x$ac_cv_func__atan2l" = xyes; then :
52546  cat >>confdefs.h <<_ACEOF
52547#define HAVE__ATAN2L 1
52548_ACEOF
52549
52550fi
52551done
52552
52553    fi
52554  fi
52555
52556
52557
52558
52559
52560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52561$as_echo_n "checking for expl declaration... " >&6; }
52562  if test x${glibcxx_cv_func_expl_use+set} != xset; then
52563    if ${glibcxx_cv_func_expl_use+:} false; then :
52564  $as_echo_n "(cached) " >&6
52565else
52566
52567
52568      ac_ext=cpp
52569ac_cpp='$CXXCPP $CPPFLAGS'
52570ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52571ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52572ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52573
52574      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52575/* end confdefs.h.  */
52576#include <math.h>
52577		      #ifdef HAVE_IEEEFP_H
52578		      #include <ieeefp.h>
52579		      #endif
52580
52581int
52582main ()
52583{
52584 expl(0);
52585  ;
52586  return 0;
52587}
52588_ACEOF
52589if ac_fn_cxx_try_compile "$LINENO"; then :
52590  glibcxx_cv_func_expl_use=yes
52591else
52592  glibcxx_cv_func_expl_use=no
52593fi
52594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52595      ac_ext=c
52596ac_cpp='$CPP $CPPFLAGS'
52597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52599ac_compiler_gnu=$ac_cv_c_compiler_gnu
52600
52601
52602fi
52603
52604  fi
52605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52606$as_echo "$glibcxx_cv_func_expl_use" >&6; }
52607
52608  if test x$glibcxx_cv_func_expl_use = x"yes"; then
52609    for ac_func in expl
52610do :
52611  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52612if test "x$ac_cv_func_expl" = xyes; then :
52613  cat >>confdefs.h <<_ACEOF
52614#define HAVE_EXPL 1
52615_ACEOF
52616
52617fi
52618done
52619
52620  else
52621
52622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52623$as_echo_n "checking for _expl declaration... " >&6; }
52624  if test x${glibcxx_cv_func__expl_use+set} != xset; then
52625    if ${glibcxx_cv_func__expl_use+:} false; then :
52626  $as_echo_n "(cached) " >&6
52627else
52628
52629
52630      ac_ext=cpp
52631ac_cpp='$CXXCPP $CPPFLAGS'
52632ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52633ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52634ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52635
52636      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52637/* end confdefs.h.  */
52638#include <math.h>
52639		      #ifdef HAVE_IEEEFP_H
52640		      #include <ieeefp.h>
52641		      #endif
52642
52643int
52644main ()
52645{
52646 _expl(0);
52647  ;
52648  return 0;
52649}
52650_ACEOF
52651if ac_fn_cxx_try_compile "$LINENO"; then :
52652  glibcxx_cv_func__expl_use=yes
52653else
52654  glibcxx_cv_func__expl_use=no
52655fi
52656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52657      ac_ext=c
52658ac_cpp='$CPP $CPPFLAGS'
52659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52661ac_compiler_gnu=$ac_cv_c_compiler_gnu
52662
52663
52664fi
52665
52666  fi
52667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52668$as_echo "$glibcxx_cv_func__expl_use" >&6; }
52669
52670    if test x$glibcxx_cv_func__expl_use = x"yes"; then
52671      for ac_func in _expl
52672do :
52673  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52674if test "x$ac_cv_func__expl" = xyes; then :
52675  cat >>confdefs.h <<_ACEOF
52676#define HAVE__EXPL 1
52677_ACEOF
52678
52679fi
52680done
52681
52682    fi
52683  fi
52684
52685
52686
52687
52688
52689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52690$as_echo_n "checking for fabsl declaration... " >&6; }
52691  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52692    if ${glibcxx_cv_func_fabsl_use+:} false; then :
52693  $as_echo_n "(cached) " >&6
52694else
52695
52696
52697      ac_ext=cpp
52698ac_cpp='$CXXCPP $CPPFLAGS'
52699ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52700ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52701ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52702
52703      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52704/* end confdefs.h.  */
52705#include <math.h>
52706		      #ifdef HAVE_IEEEFP_H
52707		      #include <ieeefp.h>
52708		      #endif
52709
52710int
52711main ()
52712{
52713 fabsl(0);
52714  ;
52715  return 0;
52716}
52717_ACEOF
52718if ac_fn_cxx_try_compile "$LINENO"; then :
52719  glibcxx_cv_func_fabsl_use=yes
52720else
52721  glibcxx_cv_func_fabsl_use=no
52722fi
52723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52724      ac_ext=c
52725ac_cpp='$CPP $CPPFLAGS'
52726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52728ac_compiler_gnu=$ac_cv_c_compiler_gnu
52729
52730
52731fi
52732
52733  fi
52734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52735$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52736
52737  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52738    for ac_func in fabsl
52739do :
52740  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52741if test "x$ac_cv_func_fabsl" = xyes; then :
52742  cat >>confdefs.h <<_ACEOF
52743#define HAVE_FABSL 1
52744_ACEOF
52745
52746fi
52747done
52748
52749  else
52750
52751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52752$as_echo_n "checking for _fabsl declaration... " >&6; }
52753  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52754    if ${glibcxx_cv_func__fabsl_use+:} false; then :
52755  $as_echo_n "(cached) " >&6
52756else
52757
52758
52759      ac_ext=cpp
52760ac_cpp='$CXXCPP $CPPFLAGS'
52761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52764
52765      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52766/* end confdefs.h.  */
52767#include <math.h>
52768		      #ifdef HAVE_IEEEFP_H
52769		      #include <ieeefp.h>
52770		      #endif
52771
52772int
52773main ()
52774{
52775 _fabsl(0);
52776  ;
52777  return 0;
52778}
52779_ACEOF
52780if ac_fn_cxx_try_compile "$LINENO"; then :
52781  glibcxx_cv_func__fabsl_use=yes
52782else
52783  glibcxx_cv_func__fabsl_use=no
52784fi
52785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52786      ac_ext=c
52787ac_cpp='$CPP $CPPFLAGS'
52788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52790ac_compiler_gnu=$ac_cv_c_compiler_gnu
52791
52792
52793fi
52794
52795  fi
52796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52797$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52798
52799    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52800      for ac_func in _fabsl
52801do :
52802  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52803if test "x$ac_cv_func__fabsl" = xyes; then :
52804  cat >>confdefs.h <<_ACEOF
52805#define HAVE__FABSL 1
52806_ACEOF
52807
52808fi
52809done
52810
52811    fi
52812  fi
52813
52814
52815
52816
52817
52818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52819$as_echo_n "checking for fmodl declaration... " >&6; }
52820  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52821    if ${glibcxx_cv_func_fmodl_use+:} false; then :
52822  $as_echo_n "(cached) " >&6
52823else
52824
52825
52826      ac_ext=cpp
52827ac_cpp='$CXXCPP $CPPFLAGS'
52828ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52829ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52830ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52831
52832      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52833/* end confdefs.h.  */
52834#include <math.h>
52835int
52836main ()
52837{
52838 fmodl(0, 0);
52839  ;
52840  return 0;
52841}
52842_ACEOF
52843if ac_fn_cxx_try_compile "$LINENO"; then :
52844  glibcxx_cv_func_fmodl_use=yes
52845else
52846  glibcxx_cv_func_fmodl_use=no
52847fi
52848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52849      ac_ext=c
52850ac_cpp='$CPP $CPPFLAGS'
52851ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52852ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52853ac_compiler_gnu=$ac_cv_c_compiler_gnu
52854
52855
52856fi
52857
52858  fi
52859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52860$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52861
52862  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52863    for ac_func in fmodl
52864do :
52865  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52866if test "x$ac_cv_func_fmodl" = xyes; then :
52867  cat >>confdefs.h <<_ACEOF
52868#define HAVE_FMODL 1
52869_ACEOF
52870
52871fi
52872done
52873
52874  else
52875
52876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52877$as_echo_n "checking for _fmodl declaration... " >&6; }
52878  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52879    if ${glibcxx_cv_func__fmodl_use+:} false; then :
52880  $as_echo_n "(cached) " >&6
52881else
52882
52883
52884      ac_ext=cpp
52885ac_cpp='$CXXCPP $CPPFLAGS'
52886ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52887ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52888ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52889
52890      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52891/* end confdefs.h.  */
52892#include <math.h>
52893int
52894main ()
52895{
52896 _fmodl(0, 0);
52897  ;
52898  return 0;
52899}
52900_ACEOF
52901if ac_fn_cxx_try_compile "$LINENO"; then :
52902  glibcxx_cv_func__fmodl_use=yes
52903else
52904  glibcxx_cv_func__fmodl_use=no
52905fi
52906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52907      ac_ext=c
52908ac_cpp='$CPP $CPPFLAGS'
52909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52911ac_compiler_gnu=$ac_cv_c_compiler_gnu
52912
52913
52914fi
52915
52916  fi
52917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52918$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52919
52920    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52921      for ac_func in _fmodl
52922do :
52923  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52924if test "x$ac_cv_func__fmodl" = xyes; then :
52925  cat >>confdefs.h <<_ACEOF
52926#define HAVE__FMODL 1
52927_ACEOF
52928
52929fi
52930done
52931
52932    fi
52933  fi
52934
52935
52936
52937
52938
52939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52940$as_echo_n "checking for frexpl declaration... " >&6; }
52941  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52942    if ${glibcxx_cv_func_frexpl_use+:} false; then :
52943  $as_echo_n "(cached) " >&6
52944else
52945
52946
52947      ac_ext=cpp
52948ac_cpp='$CXXCPP $CPPFLAGS'
52949ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52952
52953      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52954/* end confdefs.h.  */
52955#include <math.h>
52956int
52957main ()
52958{
52959 frexpl(0, 0);
52960  ;
52961  return 0;
52962}
52963_ACEOF
52964if ac_fn_cxx_try_compile "$LINENO"; then :
52965  glibcxx_cv_func_frexpl_use=yes
52966else
52967  glibcxx_cv_func_frexpl_use=no
52968fi
52969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52970      ac_ext=c
52971ac_cpp='$CPP $CPPFLAGS'
52972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52974ac_compiler_gnu=$ac_cv_c_compiler_gnu
52975
52976
52977fi
52978
52979  fi
52980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52981$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52982
52983  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52984    for ac_func in frexpl
52985do :
52986  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52987if test "x$ac_cv_func_frexpl" = xyes; then :
52988  cat >>confdefs.h <<_ACEOF
52989#define HAVE_FREXPL 1
52990_ACEOF
52991
52992fi
52993done
52994
52995  else
52996
52997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52998$as_echo_n "checking for _frexpl declaration... " >&6; }
52999  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
53000    if ${glibcxx_cv_func__frexpl_use+:} false; then :
53001  $as_echo_n "(cached) " >&6
53002else
53003
53004
53005      ac_ext=cpp
53006ac_cpp='$CXXCPP $CPPFLAGS'
53007ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53008ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53009ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53010
53011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53012/* end confdefs.h.  */
53013#include <math.h>
53014int
53015main ()
53016{
53017 _frexpl(0, 0);
53018  ;
53019  return 0;
53020}
53021_ACEOF
53022if ac_fn_cxx_try_compile "$LINENO"; then :
53023  glibcxx_cv_func__frexpl_use=yes
53024else
53025  glibcxx_cv_func__frexpl_use=no
53026fi
53027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53028      ac_ext=c
53029ac_cpp='$CPP $CPPFLAGS'
53030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53032ac_compiler_gnu=$ac_cv_c_compiler_gnu
53033
53034
53035fi
53036
53037  fi
53038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
53039$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
53040
53041    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
53042      for ac_func in _frexpl
53043do :
53044  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
53045if test "x$ac_cv_func__frexpl" = xyes; then :
53046  cat >>confdefs.h <<_ACEOF
53047#define HAVE__FREXPL 1
53048_ACEOF
53049
53050fi
53051done
53052
53053    fi
53054  fi
53055
53056
53057
53058
53059
53060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
53061$as_echo_n "checking for hypotl declaration... " >&6; }
53062  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
53063    if ${glibcxx_cv_func_hypotl_use+:} false; then :
53064  $as_echo_n "(cached) " >&6
53065else
53066
53067
53068      ac_ext=cpp
53069ac_cpp='$CXXCPP $CPPFLAGS'
53070ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53073
53074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53075/* end confdefs.h.  */
53076#include <math.h>
53077int
53078main ()
53079{
53080 hypotl(0, 0);
53081  ;
53082  return 0;
53083}
53084_ACEOF
53085if ac_fn_cxx_try_compile "$LINENO"; then :
53086  glibcxx_cv_func_hypotl_use=yes
53087else
53088  glibcxx_cv_func_hypotl_use=no
53089fi
53090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53091      ac_ext=c
53092ac_cpp='$CPP $CPPFLAGS'
53093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53095ac_compiler_gnu=$ac_cv_c_compiler_gnu
53096
53097
53098fi
53099
53100  fi
53101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
53102$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
53103
53104  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
53105    for ac_func in hypotl
53106do :
53107  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
53108if test "x$ac_cv_func_hypotl" = xyes; then :
53109  cat >>confdefs.h <<_ACEOF
53110#define HAVE_HYPOTL 1
53111_ACEOF
53112
53113fi
53114done
53115
53116  else
53117
53118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
53119$as_echo_n "checking for _hypotl declaration... " >&6; }
53120  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
53121    if ${glibcxx_cv_func__hypotl_use+:} false; then :
53122  $as_echo_n "(cached) " >&6
53123else
53124
53125
53126      ac_ext=cpp
53127ac_cpp='$CXXCPP $CPPFLAGS'
53128ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53129ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53130ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53131
53132      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53133/* end confdefs.h.  */
53134#include <math.h>
53135int
53136main ()
53137{
53138 _hypotl(0, 0);
53139  ;
53140  return 0;
53141}
53142_ACEOF
53143if ac_fn_cxx_try_compile "$LINENO"; then :
53144  glibcxx_cv_func__hypotl_use=yes
53145else
53146  glibcxx_cv_func__hypotl_use=no
53147fi
53148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53149      ac_ext=c
53150ac_cpp='$CPP $CPPFLAGS'
53151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53153ac_compiler_gnu=$ac_cv_c_compiler_gnu
53154
53155
53156fi
53157
53158  fi
53159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
53160$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
53161
53162    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
53163      for ac_func in _hypotl
53164do :
53165  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
53166if test "x$ac_cv_func__hypotl" = xyes; then :
53167  cat >>confdefs.h <<_ACEOF
53168#define HAVE__HYPOTL 1
53169_ACEOF
53170
53171fi
53172done
53173
53174    fi
53175  fi
53176
53177
53178
53179
53180
53181  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
53182$as_echo_n "checking for ldexpl declaration... " >&6; }
53183  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
53184    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
53185  $as_echo_n "(cached) " >&6
53186else
53187
53188
53189      ac_ext=cpp
53190ac_cpp='$CXXCPP $CPPFLAGS'
53191ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53192ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53193ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53194
53195      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53196/* end confdefs.h.  */
53197#include <math.h>
53198int
53199main ()
53200{
53201 ldexpl(0, 0);
53202  ;
53203  return 0;
53204}
53205_ACEOF
53206if ac_fn_cxx_try_compile "$LINENO"; then :
53207  glibcxx_cv_func_ldexpl_use=yes
53208else
53209  glibcxx_cv_func_ldexpl_use=no
53210fi
53211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53212      ac_ext=c
53213ac_cpp='$CPP $CPPFLAGS'
53214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216ac_compiler_gnu=$ac_cv_c_compiler_gnu
53217
53218
53219fi
53220
53221  fi
53222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
53223$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
53224
53225  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
53226    for ac_func in ldexpl
53227do :
53228  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
53229if test "x$ac_cv_func_ldexpl" = xyes; then :
53230  cat >>confdefs.h <<_ACEOF
53231#define HAVE_LDEXPL 1
53232_ACEOF
53233
53234fi
53235done
53236
53237  else
53238
53239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
53240$as_echo_n "checking for _ldexpl declaration... " >&6; }
53241  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
53242    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
53243  $as_echo_n "(cached) " >&6
53244else
53245
53246
53247      ac_ext=cpp
53248ac_cpp='$CXXCPP $CPPFLAGS'
53249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53252
53253      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53254/* end confdefs.h.  */
53255#include <math.h>
53256int
53257main ()
53258{
53259 _ldexpl(0, 0);
53260  ;
53261  return 0;
53262}
53263_ACEOF
53264if ac_fn_cxx_try_compile "$LINENO"; then :
53265  glibcxx_cv_func__ldexpl_use=yes
53266else
53267  glibcxx_cv_func__ldexpl_use=no
53268fi
53269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53270      ac_ext=c
53271ac_cpp='$CPP $CPPFLAGS'
53272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53274ac_compiler_gnu=$ac_cv_c_compiler_gnu
53275
53276
53277fi
53278
53279  fi
53280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
53281$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
53282
53283    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
53284      for ac_func in _ldexpl
53285do :
53286  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
53287if test "x$ac_cv_func__ldexpl" = xyes; then :
53288  cat >>confdefs.h <<_ACEOF
53289#define HAVE__LDEXPL 1
53290_ACEOF
53291
53292fi
53293done
53294
53295    fi
53296  fi
53297
53298
53299
53300
53301
53302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
53303$as_echo_n "checking for logl declaration... " >&6; }
53304  if test x${glibcxx_cv_func_logl_use+set} != xset; then
53305    if ${glibcxx_cv_func_logl_use+:} false; then :
53306  $as_echo_n "(cached) " >&6
53307else
53308
53309
53310      ac_ext=cpp
53311ac_cpp='$CXXCPP $CPPFLAGS'
53312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53315
53316      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53317/* end confdefs.h.  */
53318#include <math.h>
53319		      #ifdef HAVE_IEEEFP_H
53320		      #include <ieeefp.h>
53321		      #endif
53322
53323int
53324main ()
53325{
53326 logl(0);
53327  ;
53328  return 0;
53329}
53330_ACEOF
53331if ac_fn_cxx_try_compile "$LINENO"; then :
53332  glibcxx_cv_func_logl_use=yes
53333else
53334  glibcxx_cv_func_logl_use=no
53335fi
53336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53337      ac_ext=c
53338ac_cpp='$CPP $CPPFLAGS'
53339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53341ac_compiler_gnu=$ac_cv_c_compiler_gnu
53342
53343
53344fi
53345
53346  fi
53347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
53348$as_echo "$glibcxx_cv_func_logl_use" >&6; }
53349
53350  if test x$glibcxx_cv_func_logl_use = x"yes"; then
53351    for ac_func in logl
53352do :
53353  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
53354if test "x$ac_cv_func_logl" = xyes; then :
53355  cat >>confdefs.h <<_ACEOF
53356#define HAVE_LOGL 1
53357_ACEOF
53358
53359fi
53360done
53361
53362  else
53363
53364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
53365$as_echo_n "checking for _logl declaration... " >&6; }
53366  if test x${glibcxx_cv_func__logl_use+set} != xset; then
53367    if ${glibcxx_cv_func__logl_use+:} false; then :
53368  $as_echo_n "(cached) " >&6
53369else
53370
53371
53372      ac_ext=cpp
53373ac_cpp='$CXXCPP $CPPFLAGS'
53374ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53375ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53376ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53377
53378      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53379/* end confdefs.h.  */
53380#include <math.h>
53381		      #ifdef HAVE_IEEEFP_H
53382		      #include <ieeefp.h>
53383		      #endif
53384
53385int
53386main ()
53387{
53388 _logl(0);
53389  ;
53390  return 0;
53391}
53392_ACEOF
53393if ac_fn_cxx_try_compile "$LINENO"; then :
53394  glibcxx_cv_func__logl_use=yes
53395else
53396  glibcxx_cv_func__logl_use=no
53397fi
53398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53399      ac_ext=c
53400ac_cpp='$CPP $CPPFLAGS'
53401ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53402ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53403ac_compiler_gnu=$ac_cv_c_compiler_gnu
53404
53405
53406fi
53407
53408  fi
53409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
53410$as_echo "$glibcxx_cv_func__logl_use" >&6; }
53411
53412    if test x$glibcxx_cv_func__logl_use = x"yes"; then
53413      for ac_func in _logl
53414do :
53415  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
53416if test "x$ac_cv_func__logl" = xyes; then :
53417  cat >>confdefs.h <<_ACEOF
53418#define HAVE__LOGL 1
53419_ACEOF
53420
53421fi
53422done
53423
53424    fi
53425  fi
53426
53427
53428
53429
53430
53431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
53432$as_echo_n "checking for log10l declaration... " >&6; }
53433  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
53434    if ${glibcxx_cv_func_log10l_use+:} false; then :
53435  $as_echo_n "(cached) " >&6
53436else
53437
53438
53439      ac_ext=cpp
53440ac_cpp='$CXXCPP $CPPFLAGS'
53441ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53444
53445      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53446/* end confdefs.h.  */
53447#include <math.h>
53448		      #ifdef HAVE_IEEEFP_H
53449		      #include <ieeefp.h>
53450		      #endif
53451
53452int
53453main ()
53454{
53455 log10l(0);
53456  ;
53457  return 0;
53458}
53459_ACEOF
53460if ac_fn_cxx_try_compile "$LINENO"; then :
53461  glibcxx_cv_func_log10l_use=yes
53462else
53463  glibcxx_cv_func_log10l_use=no
53464fi
53465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53466      ac_ext=c
53467ac_cpp='$CPP $CPPFLAGS'
53468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53470ac_compiler_gnu=$ac_cv_c_compiler_gnu
53471
53472
53473fi
53474
53475  fi
53476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
53477$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53478
53479  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53480    for ac_func in log10l
53481do :
53482  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53483if test "x$ac_cv_func_log10l" = xyes; then :
53484  cat >>confdefs.h <<_ACEOF
53485#define HAVE_LOG10L 1
53486_ACEOF
53487
53488fi
53489done
53490
53491  else
53492
53493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53494$as_echo_n "checking for _log10l declaration... " >&6; }
53495  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53496    if ${glibcxx_cv_func__log10l_use+:} false; then :
53497  $as_echo_n "(cached) " >&6
53498else
53499
53500
53501      ac_ext=cpp
53502ac_cpp='$CXXCPP $CPPFLAGS'
53503ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53506
53507      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53508/* end confdefs.h.  */
53509#include <math.h>
53510		      #ifdef HAVE_IEEEFP_H
53511		      #include <ieeefp.h>
53512		      #endif
53513
53514int
53515main ()
53516{
53517 _log10l(0);
53518  ;
53519  return 0;
53520}
53521_ACEOF
53522if ac_fn_cxx_try_compile "$LINENO"; then :
53523  glibcxx_cv_func__log10l_use=yes
53524else
53525  glibcxx_cv_func__log10l_use=no
53526fi
53527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53528      ac_ext=c
53529ac_cpp='$CPP $CPPFLAGS'
53530ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53531ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53532ac_compiler_gnu=$ac_cv_c_compiler_gnu
53533
53534
53535fi
53536
53537  fi
53538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53539$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53540
53541    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53542      for ac_func in _log10l
53543do :
53544  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53545if test "x$ac_cv_func__log10l" = xyes; then :
53546  cat >>confdefs.h <<_ACEOF
53547#define HAVE__LOG10L 1
53548_ACEOF
53549
53550fi
53551done
53552
53553    fi
53554  fi
53555
53556
53557
53558
53559
53560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53561$as_echo_n "checking for modfl declaration... " >&6; }
53562  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53563    if ${glibcxx_cv_func_modfl_use+:} false; then :
53564  $as_echo_n "(cached) " >&6
53565else
53566
53567
53568      ac_ext=cpp
53569ac_cpp='$CXXCPP $CPPFLAGS'
53570ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53573
53574      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53575/* end confdefs.h.  */
53576#include <math.h>
53577int
53578main ()
53579{
53580 modfl(0, 0);
53581  ;
53582  return 0;
53583}
53584_ACEOF
53585if ac_fn_cxx_try_compile "$LINENO"; then :
53586  glibcxx_cv_func_modfl_use=yes
53587else
53588  glibcxx_cv_func_modfl_use=no
53589fi
53590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53591      ac_ext=c
53592ac_cpp='$CPP $CPPFLAGS'
53593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595ac_compiler_gnu=$ac_cv_c_compiler_gnu
53596
53597
53598fi
53599
53600  fi
53601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53602$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53603
53604  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53605    for ac_func in modfl
53606do :
53607  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53608if test "x$ac_cv_func_modfl" = xyes; then :
53609  cat >>confdefs.h <<_ACEOF
53610#define HAVE_MODFL 1
53611_ACEOF
53612
53613fi
53614done
53615
53616  else
53617
53618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53619$as_echo_n "checking for _modfl declaration... " >&6; }
53620  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53621    if ${glibcxx_cv_func__modfl_use+:} false; then :
53622  $as_echo_n "(cached) " >&6
53623else
53624
53625
53626      ac_ext=cpp
53627ac_cpp='$CXXCPP $CPPFLAGS'
53628ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53629ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53630ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53631
53632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53633/* end confdefs.h.  */
53634#include <math.h>
53635int
53636main ()
53637{
53638 _modfl(0, 0);
53639  ;
53640  return 0;
53641}
53642_ACEOF
53643if ac_fn_cxx_try_compile "$LINENO"; then :
53644  glibcxx_cv_func__modfl_use=yes
53645else
53646  glibcxx_cv_func__modfl_use=no
53647fi
53648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53649      ac_ext=c
53650ac_cpp='$CPP $CPPFLAGS'
53651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53653ac_compiler_gnu=$ac_cv_c_compiler_gnu
53654
53655
53656fi
53657
53658  fi
53659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53660$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53661
53662    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53663      for ac_func in _modfl
53664do :
53665  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53666if test "x$ac_cv_func__modfl" = xyes; then :
53667  cat >>confdefs.h <<_ACEOF
53668#define HAVE__MODFL 1
53669_ACEOF
53670
53671fi
53672done
53673
53674    fi
53675  fi
53676
53677
53678
53679
53680
53681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53682$as_echo_n "checking for powl declaration... " >&6; }
53683  if test x${glibcxx_cv_func_powl_use+set} != xset; then
53684    if ${glibcxx_cv_func_powl_use+:} false; then :
53685  $as_echo_n "(cached) " >&6
53686else
53687
53688
53689      ac_ext=cpp
53690ac_cpp='$CXXCPP $CPPFLAGS'
53691ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53694
53695      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53696/* end confdefs.h.  */
53697#include <math.h>
53698int
53699main ()
53700{
53701 powl(0, 0);
53702  ;
53703  return 0;
53704}
53705_ACEOF
53706if ac_fn_cxx_try_compile "$LINENO"; then :
53707  glibcxx_cv_func_powl_use=yes
53708else
53709  glibcxx_cv_func_powl_use=no
53710fi
53711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53712      ac_ext=c
53713ac_cpp='$CPP $CPPFLAGS'
53714ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53715ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53716ac_compiler_gnu=$ac_cv_c_compiler_gnu
53717
53718
53719fi
53720
53721  fi
53722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53723$as_echo "$glibcxx_cv_func_powl_use" >&6; }
53724
53725  if test x$glibcxx_cv_func_powl_use = x"yes"; then
53726    for ac_func in powl
53727do :
53728  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53729if test "x$ac_cv_func_powl" = xyes; then :
53730  cat >>confdefs.h <<_ACEOF
53731#define HAVE_POWL 1
53732_ACEOF
53733
53734fi
53735done
53736
53737  else
53738
53739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53740$as_echo_n "checking for _powl declaration... " >&6; }
53741  if test x${glibcxx_cv_func__powl_use+set} != xset; then
53742    if ${glibcxx_cv_func__powl_use+:} false; then :
53743  $as_echo_n "(cached) " >&6
53744else
53745
53746
53747      ac_ext=cpp
53748ac_cpp='$CXXCPP $CPPFLAGS'
53749ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53750ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53751ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53752
53753      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53754/* end confdefs.h.  */
53755#include <math.h>
53756int
53757main ()
53758{
53759 _powl(0, 0);
53760  ;
53761  return 0;
53762}
53763_ACEOF
53764if ac_fn_cxx_try_compile "$LINENO"; then :
53765  glibcxx_cv_func__powl_use=yes
53766else
53767  glibcxx_cv_func__powl_use=no
53768fi
53769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53770      ac_ext=c
53771ac_cpp='$CPP $CPPFLAGS'
53772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53774ac_compiler_gnu=$ac_cv_c_compiler_gnu
53775
53776
53777fi
53778
53779  fi
53780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53781$as_echo "$glibcxx_cv_func__powl_use" >&6; }
53782
53783    if test x$glibcxx_cv_func__powl_use = x"yes"; then
53784      for ac_func in _powl
53785do :
53786  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53787if test "x$ac_cv_func__powl" = xyes; then :
53788  cat >>confdefs.h <<_ACEOF
53789#define HAVE__POWL 1
53790_ACEOF
53791
53792fi
53793done
53794
53795    fi
53796  fi
53797
53798
53799
53800
53801
53802  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53803$as_echo_n "checking for sqrtl declaration... " >&6; }
53804  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53805    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53806  $as_echo_n "(cached) " >&6
53807else
53808
53809
53810      ac_ext=cpp
53811ac_cpp='$CXXCPP $CPPFLAGS'
53812ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53815
53816      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53817/* end confdefs.h.  */
53818#include <math.h>
53819		      #ifdef HAVE_IEEEFP_H
53820		      #include <ieeefp.h>
53821		      #endif
53822
53823int
53824main ()
53825{
53826 sqrtl(0);
53827  ;
53828  return 0;
53829}
53830_ACEOF
53831if ac_fn_cxx_try_compile "$LINENO"; then :
53832  glibcxx_cv_func_sqrtl_use=yes
53833else
53834  glibcxx_cv_func_sqrtl_use=no
53835fi
53836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53837      ac_ext=c
53838ac_cpp='$CPP $CPPFLAGS'
53839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53841ac_compiler_gnu=$ac_cv_c_compiler_gnu
53842
53843
53844fi
53845
53846  fi
53847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53848$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53849
53850  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53851    for ac_func in sqrtl
53852do :
53853  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53854if test "x$ac_cv_func_sqrtl" = xyes; then :
53855  cat >>confdefs.h <<_ACEOF
53856#define HAVE_SQRTL 1
53857_ACEOF
53858
53859fi
53860done
53861
53862  else
53863
53864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53865$as_echo_n "checking for _sqrtl declaration... " >&6; }
53866  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53867    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53868  $as_echo_n "(cached) " >&6
53869else
53870
53871
53872      ac_ext=cpp
53873ac_cpp='$CXXCPP $CPPFLAGS'
53874ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53875ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53876ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53877
53878      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53879/* end confdefs.h.  */
53880#include <math.h>
53881		      #ifdef HAVE_IEEEFP_H
53882		      #include <ieeefp.h>
53883		      #endif
53884
53885int
53886main ()
53887{
53888 _sqrtl(0);
53889  ;
53890  return 0;
53891}
53892_ACEOF
53893if ac_fn_cxx_try_compile "$LINENO"; then :
53894  glibcxx_cv_func__sqrtl_use=yes
53895else
53896  glibcxx_cv_func__sqrtl_use=no
53897fi
53898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53899      ac_ext=c
53900ac_cpp='$CPP $CPPFLAGS'
53901ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53902ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53903ac_compiler_gnu=$ac_cv_c_compiler_gnu
53904
53905
53906fi
53907
53908  fi
53909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53910$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53911
53912    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53913      for ac_func in _sqrtl
53914do :
53915  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53916if test "x$ac_cv_func__sqrtl" = xyes; then :
53917  cat >>confdefs.h <<_ACEOF
53918#define HAVE__SQRTL 1
53919_ACEOF
53920
53921fi
53922done
53923
53924    fi
53925  fi
53926
53927
53928
53929
53930
53931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53932$as_echo_n "checking for sincosl declaration... " >&6; }
53933  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53934    if ${glibcxx_cv_func_sincosl_use+:} false; then :
53935  $as_echo_n "(cached) " >&6
53936else
53937
53938
53939      ac_ext=cpp
53940ac_cpp='$CXXCPP $CPPFLAGS'
53941ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53944
53945      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53946/* end confdefs.h.  */
53947#include <math.h>
53948int
53949main ()
53950{
53951 sincosl(0, 0, 0);
53952  ;
53953  return 0;
53954}
53955_ACEOF
53956if ac_fn_cxx_try_compile "$LINENO"; then :
53957  glibcxx_cv_func_sincosl_use=yes
53958else
53959  glibcxx_cv_func_sincosl_use=no
53960fi
53961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53962      ac_ext=c
53963ac_cpp='$CPP $CPPFLAGS'
53964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53966ac_compiler_gnu=$ac_cv_c_compiler_gnu
53967
53968
53969fi
53970
53971  fi
53972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53973$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53974
53975  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53976    for ac_func in sincosl
53977do :
53978  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53979if test "x$ac_cv_func_sincosl" = xyes; then :
53980  cat >>confdefs.h <<_ACEOF
53981#define HAVE_SINCOSL 1
53982_ACEOF
53983
53984fi
53985done
53986
53987  else
53988
53989  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53990$as_echo_n "checking for _sincosl declaration... " >&6; }
53991  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53992    if ${glibcxx_cv_func__sincosl_use+:} false; then :
53993  $as_echo_n "(cached) " >&6
53994else
53995
53996
53997      ac_ext=cpp
53998ac_cpp='$CXXCPP $CPPFLAGS'
53999ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54000ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54001ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54002
54003      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54004/* end confdefs.h.  */
54005#include <math.h>
54006int
54007main ()
54008{
54009 _sincosl(0, 0, 0);
54010  ;
54011  return 0;
54012}
54013_ACEOF
54014if ac_fn_cxx_try_compile "$LINENO"; then :
54015  glibcxx_cv_func__sincosl_use=yes
54016else
54017  glibcxx_cv_func__sincosl_use=no
54018fi
54019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54020      ac_ext=c
54021ac_cpp='$CPP $CPPFLAGS'
54022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54024ac_compiler_gnu=$ac_cv_c_compiler_gnu
54025
54026
54027fi
54028
54029  fi
54030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
54031$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
54032
54033    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
54034      for ac_func in _sincosl
54035do :
54036  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
54037if test "x$ac_cv_func__sincosl" = xyes; then :
54038  cat >>confdefs.h <<_ACEOF
54039#define HAVE__SINCOSL 1
54040_ACEOF
54041
54042fi
54043done
54044
54045    fi
54046  fi
54047
54048
54049
54050
54051
54052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
54053$as_echo_n "checking for finitel declaration... " >&6; }
54054  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
54055    if ${glibcxx_cv_func_finitel_use+:} false; then :
54056  $as_echo_n "(cached) " >&6
54057else
54058
54059
54060      ac_ext=cpp
54061ac_cpp='$CXXCPP $CPPFLAGS'
54062ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54063ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54064ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54065
54066      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54067/* end confdefs.h.  */
54068#include <math.h>
54069		      #ifdef HAVE_IEEEFP_H
54070		      #include <ieeefp.h>
54071		      #endif
54072
54073int
54074main ()
54075{
54076 finitel(0);
54077  ;
54078  return 0;
54079}
54080_ACEOF
54081if ac_fn_cxx_try_compile "$LINENO"; then :
54082  glibcxx_cv_func_finitel_use=yes
54083else
54084  glibcxx_cv_func_finitel_use=no
54085fi
54086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54087      ac_ext=c
54088ac_cpp='$CPP $CPPFLAGS'
54089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54091ac_compiler_gnu=$ac_cv_c_compiler_gnu
54092
54093
54094fi
54095
54096  fi
54097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
54098$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
54099
54100  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
54101    for ac_func in finitel
54102do :
54103  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
54104if test "x$ac_cv_func_finitel" = xyes; then :
54105  cat >>confdefs.h <<_ACEOF
54106#define HAVE_FINITEL 1
54107_ACEOF
54108
54109fi
54110done
54111
54112  else
54113
54114  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
54115$as_echo_n "checking for _finitel declaration... " >&6; }
54116  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
54117    if ${glibcxx_cv_func__finitel_use+:} false; then :
54118  $as_echo_n "(cached) " >&6
54119else
54120
54121
54122      ac_ext=cpp
54123ac_cpp='$CXXCPP $CPPFLAGS'
54124ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54125ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54126ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54127
54128      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54129/* end confdefs.h.  */
54130#include <math.h>
54131		      #ifdef HAVE_IEEEFP_H
54132		      #include <ieeefp.h>
54133		      #endif
54134
54135int
54136main ()
54137{
54138 _finitel(0);
54139  ;
54140  return 0;
54141}
54142_ACEOF
54143if ac_fn_cxx_try_compile "$LINENO"; then :
54144  glibcxx_cv_func__finitel_use=yes
54145else
54146  glibcxx_cv_func__finitel_use=no
54147fi
54148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54149      ac_ext=c
54150ac_cpp='$CPP $CPPFLAGS'
54151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54153ac_compiler_gnu=$ac_cv_c_compiler_gnu
54154
54155
54156fi
54157
54158  fi
54159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
54160$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
54161
54162    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
54163      for ac_func in _finitel
54164do :
54165  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
54166if test "x$ac_cv_func__finitel" = xyes; then :
54167  cat >>confdefs.h <<_ACEOF
54168#define HAVE__FINITEL 1
54169_ACEOF
54170
54171fi
54172done
54173
54174    fi
54175  fi
54176
54177
54178
54179
54180  LIBS="$ac_save_LIBS"
54181  CXXFLAGS="$ac_save_CXXFLAGS"
54182
54183
54184  ac_test_CXXFLAGS="${CXXFLAGS+set}"
54185  ac_save_CXXFLAGS="$CXXFLAGS"
54186  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54187
54188
54189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
54190$as_echo_n "checking for at_quick_exit declaration... " >&6; }
54191  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
54192    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
54193  $as_echo_n "(cached) " >&6
54194else
54195
54196
54197      ac_ext=cpp
54198ac_cpp='$CXXCPP $CPPFLAGS'
54199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54202
54203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54204/* end confdefs.h.  */
54205#include <stdlib.h>
54206int
54207main ()
54208{
54209 at_quick_exit(0);
54210  ;
54211  return 0;
54212}
54213_ACEOF
54214if ac_fn_cxx_try_compile "$LINENO"; then :
54215  glibcxx_cv_func_at_quick_exit_use=yes
54216else
54217  glibcxx_cv_func_at_quick_exit_use=no
54218fi
54219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54220      ac_ext=c
54221ac_cpp='$CPP $CPPFLAGS'
54222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54224ac_compiler_gnu=$ac_cv_c_compiler_gnu
54225
54226
54227fi
54228
54229  fi
54230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
54231$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
54232  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
54233    for ac_func in at_quick_exit
54234do :
54235  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
54236if test "x$ac_cv_func_at_quick_exit" = xyes; then :
54237  cat >>confdefs.h <<_ACEOF
54238#define HAVE_AT_QUICK_EXIT 1
54239_ACEOF
54240
54241fi
54242done
54243
54244  fi
54245
54246
54247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
54248$as_echo_n "checking for quick_exit declaration... " >&6; }
54249  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
54250    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
54251  $as_echo_n "(cached) " >&6
54252else
54253
54254
54255      ac_ext=cpp
54256ac_cpp='$CXXCPP $CPPFLAGS'
54257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54260
54261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54262/* end confdefs.h.  */
54263#include <stdlib.h>
54264int
54265main ()
54266{
54267 quick_exit(0);
54268  ;
54269  return 0;
54270}
54271_ACEOF
54272if ac_fn_cxx_try_compile "$LINENO"; then :
54273  glibcxx_cv_func_quick_exit_use=yes
54274else
54275  glibcxx_cv_func_quick_exit_use=no
54276fi
54277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54278      ac_ext=c
54279ac_cpp='$CPP $CPPFLAGS'
54280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54282ac_compiler_gnu=$ac_cv_c_compiler_gnu
54283
54284
54285fi
54286
54287  fi
54288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
54289$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
54290  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
54291    for ac_func in quick_exit
54292do :
54293  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
54294if test "x$ac_cv_func_quick_exit" = xyes; then :
54295  cat >>confdefs.h <<_ACEOF
54296#define HAVE_QUICK_EXIT 1
54297_ACEOF
54298
54299fi
54300done
54301
54302  fi
54303
54304
54305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
54306$as_echo_n "checking for strtold declaration... " >&6; }
54307  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
54308    if ${glibcxx_cv_func_strtold_use+:} false; then :
54309  $as_echo_n "(cached) " >&6
54310else
54311
54312
54313      ac_ext=cpp
54314ac_cpp='$CXXCPP $CPPFLAGS'
54315ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54318
54319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54320/* end confdefs.h.  */
54321#include <stdlib.h>
54322int
54323main ()
54324{
54325 strtold(0, 0);
54326  ;
54327  return 0;
54328}
54329_ACEOF
54330if ac_fn_cxx_try_compile "$LINENO"; then :
54331  glibcxx_cv_func_strtold_use=yes
54332else
54333  glibcxx_cv_func_strtold_use=no
54334fi
54335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54336      ac_ext=c
54337ac_cpp='$CPP $CPPFLAGS'
54338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54340ac_compiler_gnu=$ac_cv_c_compiler_gnu
54341
54342
54343fi
54344
54345  fi
54346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
54347$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
54348  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
54349    for ac_func in strtold
54350do :
54351  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
54352if test "x$ac_cv_func_strtold" = xyes; then :
54353  cat >>confdefs.h <<_ACEOF
54354#define HAVE_STRTOLD 1
54355_ACEOF
54356
54357fi
54358done
54359
54360  fi
54361
54362
54363
54364
54365  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
54366$as_echo_n "checking for strtof declaration... " >&6; }
54367  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
54368    if ${glibcxx_cv_func_strtof_use+:} false; then :
54369  $as_echo_n "(cached) " >&6
54370else
54371
54372
54373      ac_ext=cpp
54374ac_cpp='$CXXCPP $CPPFLAGS'
54375ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54376ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54377ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54378
54379      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54380/* end confdefs.h.  */
54381#include <stdlib.h>
54382int
54383main ()
54384{
54385 strtof(0, 0);
54386  ;
54387  return 0;
54388}
54389_ACEOF
54390if ac_fn_cxx_try_compile "$LINENO"; then :
54391  glibcxx_cv_func_strtof_use=yes
54392else
54393  glibcxx_cv_func_strtof_use=no
54394fi
54395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54396      ac_ext=c
54397ac_cpp='$CPP $CPPFLAGS'
54398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54400ac_compiler_gnu=$ac_cv_c_compiler_gnu
54401
54402
54403fi
54404
54405  fi
54406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
54407$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
54408  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
54409    for ac_func in strtof
54410do :
54411  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
54412if test "x$ac_cv_func_strtof" = xyes; then :
54413  cat >>confdefs.h <<_ACEOF
54414#define HAVE_STRTOF 1
54415_ACEOF
54416
54417fi
54418done
54419
54420  fi
54421
54422
54423
54424
54425  CXXFLAGS="$ac_save_CXXFLAGS"
54426
54427    $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
54428
54429    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
54430
54431
54432
54433   # Check whether --enable-tls was given.
54434if test "${enable_tls+set}" = set; then :
54435  enableval=$enable_tls;
54436      case "$enableval" in
54437       yes|no) ;;
54438       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
54439      esac
54440
54441else
54442  enable_tls=yes
54443fi
54444
54445
54446  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
54447$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
54448if ${gcc_cv_have_tls+:} false; then :
54449  $as_echo_n "(cached) " >&6
54450else
54451
54452    if test "$cross_compiling" = yes; then :
54453                if test x$gcc_no_link = xyes; then
54454  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54455fi
54456cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54457/* end confdefs.h.  */
54458__thread int a; int b; int main() { return a = b; }
54459_ACEOF
54460if ac_fn_c_try_link "$LINENO"; then :
54461  chktls_save_LDFLAGS="$LDFLAGS"
54462	  	  	  case $host in
54463	    *-*-linux* | -*-uclinuxfdpic*)
54464	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54465	      ;;
54466	  esac
54467	  chktls_save_CFLAGS="$CFLAGS"
54468	  CFLAGS="-fPIC $CFLAGS"
54469	  	  if test x$gcc_no_link = xyes; then
54470  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54471fi
54472cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54473/* end confdefs.h.  */
54474int f() { return 0; }
54475_ACEOF
54476if ac_fn_c_try_link "$LINENO"; then :
54477  if test x$gcc_no_link = xyes; then
54478  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54479fi
54480cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54481/* end confdefs.h.  */
54482__thread int a; int b; int f() { return a = b; }
54483_ACEOF
54484if ac_fn_c_try_link "$LINENO"; then :
54485  gcc_cv_have_tls=yes
54486else
54487  gcc_cv_have_tls=no
54488fi
54489rm -f core conftest.err conftest.$ac_objext \
54490    conftest$ac_exeext conftest.$ac_ext
54491else
54492  gcc_cv_have_tls=yes
54493fi
54494rm -f core conftest.err conftest.$ac_objext \
54495    conftest$ac_exeext conftest.$ac_ext
54496	  CFLAGS="$chktls_save_CFLAGS"
54497	  LDFLAGS="$chktls_save_LDFLAGS"
54498else
54499  gcc_cv_have_tls=no
54500fi
54501rm -f core conftest.err conftest.$ac_objext \
54502    conftest$ac_exeext conftest.$ac_ext
54503
54504
54505else
54506  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54507/* end confdefs.h.  */
54508__thread int a; int b; int main() { return a = b; }
54509_ACEOF
54510if ac_fn_c_try_run "$LINENO"; then :
54511                      chktls_save_LDFLAGS="$LDFLAGS"
54512      LDFLAGS="-static $LDFLAGS"
54513      if test x$gcc_no_link = xyes; then
54514  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54515fi
54516cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54517/* end confdefs.h.  */
54518int main() { return 0; }
54519_ACEOF
54520if ac_fn_c_try_link "$LINENO"; then :
54521  if test "$cross_compiling" = yes; then :
54522  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54523$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54524as_fn_error $? "cannot run test program while cross compiling
54525See \`config.log' for more details" "$LINENO" 5; }
54526else
54527  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54528/* end confdefs.h.  */
54529__thread int a; int b; int main() { return a = b; }
54530_ACEOF
54531if ac_fn_c_try_run "$LINENO"; then :
54532  gcc_cv_have_tls=yes
54533else
54534  gcc_cv_have_tls=no
54535fi
54536rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54537  conftest.$ac_objext conftest.beam conftest.$ac_ext
54538fi
54539
54540else
54541  gcc_cv_have_tls=yes
54542fi
54543rm -f core conftest.err conftest.$ac_objext \
54544    conftest$ac_exeext conftest.$ac_ext
54545      LDFLAGS="$chktls_save_LDFLAGS"
54546      if test $gcc_cv_have_tls = yes; then
54547						chktls_save_CFLAGS="$CFLAGS"
54548	thread_CFLAGS=failed
54549	for flag in '' '-pthread' '-lpthread'; do
54550	  CFLAGS="$flag $chktls_save_CFLAGS"
54551	  if test x$gcc_no_link = xyes; then
54552  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54553fi
54554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54555/* end confdefs.h.  */
54556#include <pthread.h>
54557		void *g(void *d) { return NULL; }
54558int
54559main ()
54560{
54561pthread_t t; pthread_create(&t,NULL,g,NULL);
54562  ;
54563  return 0;
54564}
54565_ACEOF
54566if ac_fn_c_try_link "$LINENO"; then :
54567  thread_CFLAGS="$flag"
54568fi
54569rm -f core conftest.err conftest.$ac_objext \
54570    conftest$ac_exeext conftest.$ac_ext
54571	  if test "X$thread_CFLAGS" != Xfailed; then
54572	    break
54573	  fi
54574	done
54575	CFLAGS="$chktls_save_CFLAGS"
54576	if test "X$thread_CFLAGS" != Xfailed; then
54577	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54578 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
54579  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54580$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54581as_fn_error $? "cannot run test program while cross compiling
54582See \`config.log' for more details" "$LINENO" 5; }
54583else
54584  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54585/* end confdefs.h.  */
54586#include <pthread.h>
54587		__thread int a;
54588		static int *volatile a_in_other_thread;
54589		static void *
54590		thread_func (void *arg)
54591		{
54592		  a_in_other_thread = &a;
54593		  return (void *)0;
54594		}
54595int
54596main ()
54597{
54598pthread_t thread;
54599		void *thread_retval;
54600		int *volatile a_in_main_thread;
54601		a_in_main_thread = &a;
54602		if (pthread_create (&thread, (pthread_attr_t *)0,
54603				    thread_func, (void *)0))
54604		  return 0;
54605		if (pthread_join (thread, &thread_retval))
54606		  return 0;
54607		return (a_in_other_thread == a_in_main_thread);
54608  ;
54609  return 0;
54610}
54611_ACEOF
54612if ac_fn_c_try_run "$LINENO"; then :
54613  gcc_cv_have_tls=yes
54614else
54615  gcc_cv_have_tls=no
54616fi
54617rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54618  conftest.$ac_objext conftest.beam conftest.$ac_ext
54619fi
54620
54621	  CFLAGS="$chktls_save_CFLAGS"
54622	fi
54623      fi
54624else
54625  gcc_cv_have_tls=no
54626fi
54627rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54628  conftest.$ac_objext conftest.beam conftest.$ac_ext
54629fi
54630
54631fi
54632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54633$as_echo "$gcc_cv_have_tls" >&6; }
54634  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54635
54636$as_echo "#define HAVE_TLS 1" >>confdefs.h
54637
54638  fi
54639    for ac_func in __cxa_thread_atexit_impl
54640do :
54641  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54642if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54643  cat >>confdefs.h <<_ACEOF
54644#define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54645_ACEOF
54646
54647fi
54648done
54649
54650    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54651do :
54652  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54653ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54654if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54655  cat >>confdefs.h <<_ACEOF
54656#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54657_ACEOF
54658
54659fi
54660done
54661
54662    for ac_func in timespec_get
54663do :
54664  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54665if test "x$ac_cv_func_timespec_get" = xyes; then :
54666  cat >>confdefs.h <<_ACEOF
54667#define HAVE_TIMESPEC_GET 1
54668_ACEOF
54669
54670fi
54671done
54672
54673    for ac_func in sockatmark
54674do :
54675  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54676if test "x$ac_cv_func_sockatmark" = xyes; then :
54677  cat >>confdefs.h <<_ACEOF
54678#define HAVE_SOCKATMARK 1
54679_ACEOF
54680
54681fi
54682done
54683
54684
54685
54686
54687
54688
54689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54690$as_echo_n "checking for iconv... " >&6; }
54691if ${am_cv_func_iconv+:} false; then :
54692  $as_echo_n "(cached) " >&6
54693else
54694
54695    am_cv_func_iconv="no, consider installing GNU libiconv"
54696    am_cv_lib_iconv=no
54697                    am_save_CPPFLAGS="$CPPFLAGS"
54698    CPPFLAGS="$CPPFLAGS $INCICONV"
54699    if test x$gcc_no_link = xyes; then
54700  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54701fi
54702cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54703/* end confdefs.h.  */
54704#include <stdlib.h>
54705#include <iconv.h>
54706int
54707main ()
54708{
54709iconv_t cd = iconv_open("","");
54710       iconv(cd,NULL,NULL,NULL,NULL);
54711       iconv_close(cd);
54712  ;
54713  return 0;
54714}
54715_ACEOF
54716if ac_fn_c_try_link "$LINENO"; then :
54717  am_cv_func_iconv=yes
54718fi
54719rm -f core conftest.err conftest.$ac_objext \
54720    conftest$ac_exeext conftest.$ac_ext
54721    CPPFLAGS="$am_save_CPPFLAGS"
54722
54723    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54724      for _libs in .libs _libs; do
54725        am_save_CPPFLAGS="$CPPFLAGS"
54726        am_save_LIBS="$LIBS"
54727        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54728        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54729        if test x$gcc_no_link = xyes; then
54730  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54731fi
54732cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54733/* end confdefs.h.  */
54734#include <stdlib.h>
54735#include <iconv.h>
54736int
54737main ()
54738{
54739iconv_t cd = iconv_open("","");
54740           iconv(cd,NULL,NULL,NULL,NULL);
54741           iconv_close(cd);
54742  ;
54743  return 0;
54744}
54745_ACEOF
54746if ac_fn_c_try_link "$LINENO"; then :
54747  INCICONV="-I../libiconv/include"
54748          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54749          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54750          am_cv_lib_iconv=yes
54751          am_cv_func_iconv=yes
54752fi
54753rm -f core conftest.err conftest.$ac_objext \
54754    conftest$ac_exeext conftest.$ac_ext
54755        CPPFLAGS="$am_save_CPPFLAGS"
54756        LIBS="$am_save_LIBS"
54757        if test "$am_cv_func_iconv" = "yes"; then
54758          break
54759        fi
54760      done
54761    fi
54762
54763    if test "$am_cv_func_iconv" != yes; then
54764      am_save_CPPFLAGS="$CPPFLAGS"
54765      am_save_LIBS="$LIBS"
54766      CPPFLAGS="$CPPFLAGS $INCICONV"
54767      LIBS="$LIBS $LIBICONV"
54768      if test x$gcc_no_link = xyes; then
54769  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54770fi
54771cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54772/* end confdefs.h.  */
54773#include <stdlib.h>
54774#include <iconv.h>
54775int
54776main ()
54777{
54778iconv_t cd = iconv_open("","");
54779         iconv(cd,NULL,NULL,NULL,NULL);
54780         iconv_close(cd);
54781  ;
54782  return 0;
54783}
54784_ACEOF
54785if ac_fn_c_try_link "$LINENO"; then :
54786  am_cv_lib_iconv=yes
54787        am_cv_func_iconv=yes
54788fi
54789rm -f core conftest.err conftest.$ac_objext \
54790    conftest$ac_exeext conftest.$ac_ext
54791      CPPFLAGS="$am_save_CPPFLAGS"
54792      LIBS="$am_save_LIBS"
54793    fi
54794
54795fi
54796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54797$as_echo "$am_cv_func_iconv" >&6; }
54798  if test "$am_cv_func_iconv" = yes; then
54799
54800$as_echo "#define HAVE_ICONV 1" >>confdefs.h
54801
54802  fi
54803  if test "$am_cv_lib_iconv" = yes; then
54804
54805  for element in $INCICONV; do
54806    haveit=
54807    for x in $CPPFLAGS; do
54808
54809  acl_save_prefix="$prefix"
54810  prefix="$acl_final_prefix"
54811  acl_save_exec_prefix="$exec_prefix"
54812  exec_prefix="$acl_final_exec_prefix"
54813  eval x=\"$x\"
54814  exec_prefix="$acl_save_exec_prefix"
54815  prefix="$acl_save_prefix"
54816
54817      if test "X$x" = "X$element"; then
54818        haveit=yes
54819        break
54820      fi
54821    done
54822    if test -z "$haveit"; then
54823      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54824    fi
54825  done
54826
54827    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54828$as_echo_n "checking how to link with libiconv... " >&6; }
54829    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54830$as_echo "$LIBICONV" >&6; }
54831  else
54832    LIBICONV=
54833    LTLIBICONV=
54834  fi
54835
54836
54837
54838  if test "$am_cv_func_iconv" = yes; then
54839    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54840$as_echo_n "checking for iconv declaration... " >&6; }
54841    if ${am_cv_proto_iconv+:} false; then :
54842  $as_echo_n "(cached) " >&6
54843else
54844
54845      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54846/* end confdefs.h.  */
54847
54848#include <stdlib.h>
54849#include <iconv.h>
54850extern
54851#ifdef __cplusplus
54852"C"
54853#endif
54854#if defined(__STDC__) || defined(__cplusplus)
54855size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54856#else
54857size_t iconv();
54858#endif
54859
54860int
54861main ()
54862{
54863
54864  ;
54865  return 0;
54866}
54867_ACEOF
54868if ac_fn_c_try_compile "$LINENO"; then :
54869  am_cv_proto_iconv_arg1=""
54870else
54871  am_cv_proto_iconv_arg1="const"
54872fi
54873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54874      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);"
54875fi
54876
54877    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54878    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54879         }$am_cv_proto_iconv" >&5
54880$as_echo "${ac_t:-
54881         }$am_cv_proto_iconv" >&6; }
54882
54883cat >>confdefs.h <<_ACEOF
54884#define ICONV_CONST $am_cv_proto_iconv_arg1
54885_ACEOF
54886
54887  fi
54888
54889    ;;
54890  *-mingw32*)
54891
54892  # If we're not using GNU ld, then there's no point in even trying these
54893  # tests.  Check for that first.  We should have already tested for gld
54894  # by now (in libtool), but require it now just to be safe...
54895  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54896  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54897
54898
54899
54900  # The name set by libtool depends on the version of libtool.  Shame on us
54901  # for depending on an impl detail, but c'est la vie.  Older versions used
54902  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54903  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54904  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54905  # set (hence we're using an older libtool), then set it.
54906  if test x${with_gnu_ld+set} != xset; then
54907    if test x${ac_cv_prog_gnu_ld+set} != xset; then
54908      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54909      with_gnu_ld=no
54910    else
54911      with_gnu_ld=$ac_cv_prog_gnu_ld
54912    fi
54913  fi
54914
54915  # Start by getting the version number.  I think the libtool test already
54916  # does some of this, but throws away the result.
54917  glibcxx_ld_is_gold=no
54918  if test x"$with_gnu_ld" = x"yes"; then
54919    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54920$as_echo_n "checking for ld version... " >&6; }
54921
54922    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54923      glibcxx_ld_is_gold=yes
54924    fi
54925    ldver=`$LD --version 2>/dev/null |
54926	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54927
54928    glibcxx_gnu_ld_version=`echo $ldver | \
54929	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54930    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54931$as_echo "$glibcxx_gnu_ld_version" >&6; }
54932  fi
54933
54934  # Set --gc-sections.
54935  glibcxx_have_gc_sections=no
54936  if test "$glibcxx_ld_is_gold" = "yes"; then
54937    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54938      glibcxx_have_gc_sections=yes
54939    fi
54940  else
54941    glibcxx_gcsections_min_ld=21602
54942    if test x"$with_gnu_ld" = x"yes" &&
54943	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54944      glibcxx_have_gc_sections=yes
54945    fi
54946  fi
54947  if test "$glibcxx_have_gc_sections" = "yes"; then
54948    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54949    # NB: This flag only works reliably after 2.16.1. Configure tests
54950    # for this are difficult, so hard wire a value that should work.
54951
54952    ac_test_CFLAGS="${CFLAGS+set}"
54953    ac_save_CFLAGS="$CFLAGS"
54954    CFLAGS='-Wl,--gc-sections'
54955
54956    # Check for -Wl,--gc-sections
54957    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54958$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54959    if test x$gcc_no_link = xyes; then
54960  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54961fi
54962cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54963/* end confdefs.h.  */
54964 int one(void) { return 1; }
54965     int two(void) { return 2; }
54966
54967int
54968main ()
54969{
54970 two();
54971  ;
54972  return 0;
54973}
54974_ACEOF
54975if ac_fn_c_try_link "$LINENO"; then :
54976  ac_gcsections=yes
54977else
54978  ac_gcsections=no
54979fi
54980rm -f core conftest.err conftest.$ac_objext \
54981    conftest$ac_exeext conftest.$ac_ext
54982    if test "$ac_gcsections" = "yes"; then
54983      rm -f conftest.c
54984      touch conftest.c
54985      if $CC -c conftest.c; then
54986	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54987	   grep "Warning: gc-sections option ignored" > /dev/null; then
54988	  ac_gcsections=no
54989	fi
54990      fi
54991      rm -f conftest.c conftest.o conftest
54992    fi
54993    if test "$ac_gcsections" = "yes"; then
54994      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54995    fi
54996    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54997$as_echo "$ac_gcsections" >&6; }
54998
54999    if test "$ac_test_CFLAGS" = set; then
55000      CFLAGS="$ac_save_CFLAGS"
55001    else
55002      # this is the suspicious part
55003      CFLAGS=''
55004    fi
55005  fi
55006
55007  # Set -z,relro.
55008  # Note this is only for shared objects.
55009  ac_ld_relro=no
55010  if test x"$with_gnu_ld" = x"yes"; then
55011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
55012$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
55013    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
55014    if test -n "$cxx_z_relo"; then
55015      OPT_LDFLAGS="-Wl,-z,relro"
55016      ac_ld_relro=yes
55017    fi
55018    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
55019$as_echo "$ac_ld_relro" >&6; }
55020  fi
55021
55022  # Set linker optimization flags.
55023  if test x"$with_gnu_ld" = x"yes"; then
55024    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55025  fi
55026
55027
55028
55029
55030
55031  ac_test_CXXFLAGS="${CXXFLAGS+set}"
55032  ac_save_CXXFLAGS="$CXXFLAGS"
55033  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55034
55035    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
55036$as_echo_n "checking for sin in -lm... " >&6; }
55037if ${ac_cv_lib_m_sin+:} false; then :
55038  $as_echo_n "(cached) " >&6
55039else
55040  ac_check_lib_save_LIBS=$LIBS
55041LIBS="-lm  $LIBS"
55042if test x$gcc_no_link = xyes; then
55043  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55044fi
55045cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55046/* end confdefs.h.  */
55047
55048/* Override any GCC internal prototype to avoid an error.
55049   Use char because int might match the return type of a GCC
55050   builtin and then its argument prototype would still apply.  */
55051#ifdef __cplusplus
55052extern "C"
55053#endif
55054char sin ();
55055int
55056main ()
55057{
55058return sin ();
55059  ;
55060  return 0;
55061}
55062_ACEOF
55063if ac_fn_c_try_link "$LINENO"; then :
55064  ac_cv_lib_m_sin=yes
55065else
55066  ac_cv_lib_m_sin=no
55067fi
55068rm -f core conftest.err conftest.$ac_objext \
55069    conftest$ac_exeext conftest.$ac_ext
55070LIBS=$ac_check_lib_save_LIBS
55071fi
55072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
55073$as_echo "$ac_cv_lib_m_sin" >&6; }
55074if test "x$ac_cv_lib_m_sin" = xyes; then :
55075  libm="-lm"
55076fi
55077
55078  ac_save_LIBS="$LIBS"
55079  LIBS="$LIBS $libm"
55080
55081
55082
55083  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
55084$as_echo_n "checking for isinf declaration... " >&6; }
55085  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
55086    if ${glibcxx_cv_func_isinf_use+:} false; then :
55087  $as_echo_n "(cached) " >&6
55088else
55089
55090
55091      ac_ext=cpp
55092ac_cpp='$CXXCPP $CPPFLAGS'
55093ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55094ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55095ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55096
55097      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55098/* end confdefs.h.  */
55099#include <math.h>
55100		      #ifdef HAVE_IEEEFP_H
55101		      #include <ieeefp.h>
55102		      #endif
55103
55104int
55105main ()
55106{
55107 isinf(0);
55108  ;
55109  return 0;
55110}
55111_ACEOF
55112if ac_fn_cxx_try_compile "$LINENO"; then :
55113  glibcxx_cv_func_isinf_use=yes
55114else
55115  glibcxx_cv_func_isinf_use=no
55116fi
55117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55118      ac_ext=c
55119ac_cpp='$CPP $CPPFLAGS'
55120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122ac_compiler_gnu=$ac_cv_c_compiler_gnu
55123
55124
55125fi
55126
55127  fi
55128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
55129$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
55130
55131  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
55132    for ac_func in isinf
55133do :
55134  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
55135if test "x$ac_cv_func_isinf" = xyes; then :
55136  cat >>confdefs.h <<_ACEOF
55137#define HAVE_ISINF 1
55138_ACEOF
55139
55140fi
55141done
55142
55143  else
55144
55145  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
55146$as_echo_n "checking for _isinf declaration... " >&6; }
55147  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
55148    if ${glibcxx_cv_func__isinf_use+:} false; then :
55149  $as_echo_n "(cached) " >&6
55150else
55151
55152
55153      ac_ext=cpp
55154ac_cpp='$CXXCPP $CPPFLAGS'
55155ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55156ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55157ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55158
55159      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55160/* end confdefs.h.  */
55161#include <math.h>
55162		      #ifdef HAVE_IEEEFP_H
55163		      #include <ieeefp.h>
55164		      #endif
55165
55166int
55167main ()
55168{
55169 _isinf(0);
55170  ;
55171  return 0;
55172}
55173_ACEOF
55174if ac_fn_cxx_try_compile "$LINENO"; then :
55175  glibcxx_cv_func__isinf_use=yes
55176else
55177  glibcxx_cv_func__isinf_use=no
55178fi
55179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55180      ac_ext=c
55181ac_cpp='$CPP $CPPFLAGS'
55182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184ac_compiler_gnu=$ac_cv_c_compiler_gnu
55185
55186
55187fi
55188
55189  fi
55190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
55191$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
55192
55193    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
55194      for ac_func in _isinf
55195do :
55196  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
55197if test "x$ac_cv_func__isinf" = xyes; then :
55198  cat >>confdefs.h <<_ACEOF
55199#define HAVE__ISINF 1
55200_ACEOF
55201
55202fi
55203done
55204
55205    fi
55206  fi
55207
55208
55209
55210
55211
55212  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
55213$as_echo_n "checking for isnan declaration... " >&6; }
55214  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55215    if ${glibcxx_cv_func_isnan_use+:} false; then :
55216  $as_echo_n "(cached) " >&6
55217else
55218
55219
55220      ac_ext=cpp
55221ac_cpp='$CXXCPP $CPPFLAGS'
55222ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55225
55226      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227/* end confdefs.h.  */
55228#include <math.h>
55229		      #ifdef HAVE_IEEEFP_H
55230		      #include <ieeefp.h>
55231		      #endif
55232
55233int
55234main ()
55235{
55236 isnan(0);
55237  ;
55238  return 0;
55239}
55240_ACEOF
55241if ac_fn_cxx_try_compile "$LINENO"; then :
55242  glibcxx_cv_func_isnan_use=yes
55243else
55244  glibcxx_cv_func_isnan_use=no
55245fi
55246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55247      ac_ext=c
55248ac_cpp='$CPP $CPPFLAGS'
55249ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251ac_compiler_gnu=$ac_cv_c_compiler_gnu
55252
55253
55254fi
55255
55256  fi
55257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
55258$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
55259
55260  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55261    for ac_func in isnan
55262do :
55263  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
55264if test "x$ac_cv_func_isnan" = xyes; then :
55265  cat >>confdefs.h <<_ACEOF
55266#define HAVE_ISNAN 1
55267_ACEOF
55268
55269fi
55270done
55271
55272  else
55273
55274  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
55275$as_echo_n "checking for _isnan declaration... " >&6; }
55276  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55277    if ${glibcxx_cv_func__isnan_use+:} false; then :
55278  $as_echo_n "(cached) " >&6
55279else
55280
55281
55282      ac_ext=cpp
55283ac_cpp='$CXXCPP $CPPFLAGS'
55284ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55285ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55286ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55287
55288      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55289/* end confdefs.h.  */
55290#include <math.h>
55291		      #ifdef HAVE_IEEEFP_H
55292		      #include <ieeefp.h>
55293		      #endif
55294
55295int
55296main ()
55297{
55298 _isnan(0);
55299  ;
55300  return 0;
55301}
55302_ACEOF
55303if ac_fn_cxx_try_compile "$LINENO"; then :
55304  glibcxx_cv_func__isnan_use=yes
55305else
55306  glibcxx_cv_func__isnan_use=no
55307fi
55308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55309      ac_ext=c
55310ac_cpp='$CPP $CPPFLAGS'
55311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313ac_compiler_gnu=$ac_cv_c_compiler_gnu
55314
55315
55316fi
55317
55318  fi
55319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
55320$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
55321
55322    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55323      for ac_func in _isnan
55324do :
55325  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
55326if test "x$ac_cv_func__isnan" = xyes; then :
55327  cat >>confdefs.h <<_ACEOF
55328#define HAVE__ISNAN 1
55329_ACEOF
55330
55331fi
55332done
55333
55334    fi
55335  fi
55336
55337
55338
55339
55340
55341  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
55342$as_echo_n "checking for finite declaration... " >&6; }
55343  if test x${glibcxx_cv_func_finite_use+set} != xset; then
55344    if ${glibcxx_cv_func_finite_use+:} false; then :
55345  $as_echo_n "(cached) " >&6
55346else
55347
55348
55349      ac_ext=cpp
55350ac_cpp='$CXXCPP $CPPFLAGS'
55351ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55352ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55353ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55354
55355      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55356/* end confdefs.h.  */
55357#include <math.h>
55358		      #ifdef HAVE_IEEEFP_H
55359		      #include <ieeefp.h>
55360		      #endif
55361
55362int
55363main ()
55364{
55365 finite(0);
55366  ;
55367  return 0;
55368}
55369_ACEOF
55370if ac_fn_cxx_try_compile "$LINENO"; then :
55371  glibcxx_cv_func_finite_use=yes
55372else
55373  glibcxx_cv_func_finite_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_finite_use" >&5
55387$as_echo "$glibcxx_cv_func_finite_use" >&6; }
55388
55389  if test x$glibcxx_cv_func_finite_use = x"yes"; then
55390    for ac_func in finite
55391do :
55392  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
55393if test "x$ac_cv_func_finite" = xyes; then :
55394  cat >>confdefs.h <<_ACEOF
55395#define HAVE_FINITE 1
55396_ACEOF
55397
55398fi
55399done
55400
55401  else
55402
55403  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
55404$as_echo_n "checking for _finite declaration... " >&6; }
55405  if test x${glibcxx_cv_func__finite_use+set} != xset; then
55406    if ${glibcxx_cv_func__finite_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>
55420		      #ifdef HAVE_IEEEFP_H
55421		      #include <ieeefp.h>
55422		      #endif
55423
55424int
55425main ()
55426{
55427 _finite(0);
55428  ;
55429  return 0;
55430}
55431_ACEOF
55432if ac_fn_cxx_try_compile "$LINENO"; then :
55433  glibcxx_cv_func__finite_use=yes
55434else
55435  glibcxx_cv_func__finite_use=no
55436fi
55437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55438      ac_ext=c
55439ac_cpp='$CPP $CPPFLAGS'
55440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55442ac_compiler_gnu=$ac_cv_c_compiler_gnu
55443
55444
55445fi
55446
55447  fi
55448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55449$as_echo "$glibcxx_cv_func__finite_use" >&6; }
55450
55451    if test x$glibcxx_cv_func__finite_use = x"yes"; then
55452      for ac_func in _finite
55453do :
55454  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55455if test "x$ac_cv_func__finite" = xyes; then :
55456  cat >>confdefs.h <<_ACEOF
55457#define HAVE__FINITE 1
55458_ACEOF
55459
55460fi
55461done
55462
55463    fi
55464  fi
55465
55466
55467
55468
55469
55470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55471$as_echo_n "checking for sincos declaration... " >&6; }
55472  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55473    if ${glibcxx_cv_func_sincos_use+:} false; then :
55474  $as_echo_n "(cached) " >&6
55475else
55476
55477
55478      ac_ext=cpp
55479ac_cpp='$CXXCPP $CPPFLAGS'
55480ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55481ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55482ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55483
55484      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55485/* end confdefs.h.  */
55486#include <math.h>
55487int
55488main ()
55489{
55490 sincos(0, 0, 0);
55491  ;
55492  return 0;
55493}
55494_ACEOF
55495if ac_fn_cxx_try_compile "$LINENO"; then :
55496  glibcxx_cv_func_sincos_use=yes
55497else
55498  glibcxx_cv_func_sincos_use=no
55499fi
55500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55501      ac_ext=c
55502ac_cpp='$CPP $CPPFLAGS'
55503ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505ac_compiler_gnu=$ac_cv_c_compiler_gnu
55506
55507
55508fi
55509
55510  fi
55511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55512$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55513
55514  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55515    for ac_func in sincos
55516do :
55517  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55518if test "x$ac_cv_func_sincos" = xyes; then :
55519  cat >>confdefs.h <<_ACEOF
55520#define HAVE_SINCOS 1
55521_ACEOF
55522
55523fi
55524done
55525
55526  else
55527
55528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55529$as_echo_n "checking for _sincos declaration... " >&6; }
55530  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55531    if ${glibcxx_cv_func__sincos_use+:} false; then :
55532  $as_echo_n "(cached) " >&6
55533else
55534
55535
55536      ac_ext=cpp
55537ac_cpp='$CXXCPP $CPPFLAGS'
55538ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55539ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55540ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55541
55542      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55543/* end confdefs.h.  */
55544#include <math.h>
55545int
55546main ()
55547{
55548 _sincos(0, 0, 0);
55549  ;
55550  return 0;
55551}
55552_ACEOF
55553if ac_fn_cxx_try_compile "$LINENO"; then :
55554  glibcxx_cv_func__sincos_use=yes
55555else
55556  glibcxx_cv_func__sincos_use=no
55557fi
55558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55559      ac_ext=c
55560ac_cpp='$CPP $CPPFLAGS'
55561ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55562ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55563ac_compiler_gnu=$ac_cv_c_compiler_gnu
55564
55565
55566fi
55567
55568  fi
55569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55570$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55571
55572    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55573      for ac_func in _sincos
55574do :
55575  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55576if test "x$ac_cv_func__sincos" = xyes; then :
55577  cat >>confdefs.h <<_ACEOF
55578#define HAVE__SINCOS 1
55579_ACEOF
55580
55581fi
55582done
55583
55584    fi
55585  fi
55586
55587
55588
55589
55590
55591  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55592$as_echo_n "checking for fpclass declaration... " >&6; }
55593  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55594    if ${glibcxx_cv_func_fpclass_use+:} false; then :
55595  $as_echo_n "(cached) " >&6
55596else
55597
55598
55599      ac_ext=cpp
55600ac_cpp='$CXXCPP $CPPFLAGS'
55601ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55602ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55603ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55604
55605      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55606/* end confdefs.h.  */
55607#include <math.h>
55608		      #ifdef HAVE_IEEEFP_H
55609		      #include <ieeefp.h>
55610		      #endif
55611
55612int
55613main ()
55614{
55615 fpclass(0);
55616  ;
55617  return 0;
55618}
55619_ACEOF
55620if ac_fn_cxx_try_compile "$LINENO"; then :
55621  glibcxx_cv_func_fpclass_use=yes
55622else
55623  glibcxx_cv_func_fpclass_use=no
55624fi
55625rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55626      ac_ext=c
55627ac_cpp='$CPP $CPPFLAGS'
55628ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630ac_compiler_gnu=$ac_cv_c_compiler_gnu
55631
55632
55633fi
55634
55635  fi
55636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55637$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55638
55639  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55640    for ac_func in fpclass
55641do :
55642  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55643if test "x$ac_cv_func_fpclass" = xyes; then :
55644  cat >>confdefs.h <<_ACEOF
55645#define HAVE_FPCLASS 1
55646_ACEOF
55647
55648fi
55649done
55650
55651  else
55652
55653  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55654$as_echo_n "checking for _fpclass declaration... " >&6; }
55655  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55656    if ${glibcxx_cv_func__fpclass_use+:} false; then :
55657  $as_echo_n "(cached) " >&6
55658else
55659
55660
55661      ac_ext=cpp
55662ac_cpp='$CXXCPP $CPPFLAGS'
55663ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55664ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55665ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55666
55667      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55668/* end confdefs.h.  */
55669#include <math.h>
55670		      #ifdef HAVE_IEEEFP_H
55671		      #include <ieeefp.h>
55672		      #endif
55673
55674int
55675main ()
55676{
55677 _fpclass(0);
55678  ;
55679  return 0;
55680}
55681_ACEOF
55682if ac_fn_cxx_try_compile "$LINENO"; then :
55683  glibcxx_cv_func__fpclass_use=yes
55684else
55685  glibcxx_cv_func__fpclass_use=no
55686fi
55687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55688      ac_ext=c
55689ac_cpp='$CPP $CPPFLAGS'
55690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55692ac_compiler_gnu=$ac_cv_c_compiler_gnu
55693
55694
55695fi
55696
55697  fi
55698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55699$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55700
55701    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55702      for ac_func in _fpclass
55703do :
55704  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55705if test "x$ac_cv_func__fpclass" = xyes; then :
55706  cat >>confdefs.h <<_ACEOF
55707#define HAVE__FPCLASS 1
55708_ACEOF
55709
55710fi
55711done
55712
55713    fi
55714  fi
55715
55716
55717
55718
55719
55720  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55721$as_echo_n "checking for qfpclass declaration... " >&6; }
55722  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55723    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55724  $as_echo_n "(cached) " >&6
55725else
55726
55727
55728      ac_ext=cpp
55729ac_cpp='$CXXCPP $CPPFLAGS'
55730ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55731ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55732ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55733
55734      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55735/* end confdefs.h.  */
55736#include <math.h>
55737		      #ifdef HAVE_IEEEFP_H
55738		      #include <ieeefp.h>
55739		      #endif
55740
55741int
55742main ()
55743{
55744 qfpclass(0);
55745  ;
55746  return 0;
55747}
55748_ACEOF
55749if ac_fn_cxx_try_compile "$LINENO"; then :
55750  glibcxx_cv_func_qfpclass_use=yes
55751else
55752  glibcxx_cv_func_qfpclass_use=no
55753fi
55754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55755      ac_ext=c
55756ac_cpp='$CPP $CPPFLAGS'
55757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55759ac_compiler_gnu=$ac_cv_c_compiler_gnu
55760
55761
55762fi
55763
55764  fi
55765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55766$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55767
55768  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55769    for ac_func in qfpclass
55770do :
55771  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55772if test "x$ac_cv_func_qfpclass" = xyes; then :
55773  cat >>confdefs.h <<_ACEOF
55774#define HAVE_QFPCLASS 1
55775_ACEOF
55776
55777fi
55778done
55779
55780  else
55781
55782  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55783$as_echo_n "checking for _qfpclass declaration... " >&6; }
55784  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55785    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55786  $as_echo_n "(cached) " >&6
55787else
55788
55789
55790      ac_ext=cpp
55791ac_cpp='$CXXCPP $CPPFLAGS'
55792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55795
55796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55797/* end confdefs.h.  */
55798#include <math.h>
55799		      #ifdef HAVE_IEEEFP_H
55800		      #include <ieeefp.h>
55801		      #endif
55802
55803int
55804main ()
55805{
55806 _qfpclass(0);
55807  ;
55808  return 0;
55809}
55810_ACEOF
55811if ac_fn_cxx_try_compile "$LINENO"; then :
55812  glibcxx_cv_func__qfpclass_use=yes
55813else
55814  glibcxx_cv_func__qfpclass_use=no
55815fi
55816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55817      ac_ext=c
55818ac_cpp='$CPP $CPPFLAGS'
55819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55821ac_compiler_gnu=$ac_cv_c_compiler_gnu
55822
55823
55824fi
55825
55826  fi
55827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55828$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55829
55830    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55831      for ac_func in _qfpclass
55832do :
55833  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55834if test "x$ac_cv_func__qfpclass" = xyes; then :
55835  cat >>confdefs.h <<_ACEOF
55836#define HAVE__QFPCLASS 1
55837_ACEOF
55838
55839fi
55840done
55841
55842    fi
55843  fi
55844
55845
55846
55847
55848
55849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55850$as_echo_n "checking for hypot declaration... " >&6; }
55851  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55852    if ${glibcxx_cv_func_hypot_use+:} false; then :
55853  $as_echo_n "(cached) " >&6
55854else
55855
55856
55857      ac_ext=cpp
55858ac_cpp='$CXXCPP $CPPFLAGS'
55859ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55860ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55861ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55862
55863      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55864/* end confdefs.h.  */
55865#include <math.h>
55866int
55867main ()
55868{
55869 hypot(0, 0);
55870  ;
55871  return 0;
55872}
55873_ACEOF
55874if ac_fn_cxx_try_compile "$LINENO"; then :
55875  glibcxx_cv_func_hypot_use=yes
55876else
55877  glibcxx_cv_func_hypot_use=no
55878fi
55879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55880      ac_ext=c
55881ac_cpp='$CPP $CPPFLAGS'
55882ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55883ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55884ac_compiler_gnu=$ac_cv_c_compiler_gnu
55885
55886
55887fi
55888
55889  fi
55890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55891$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55892
55893  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55894    for ac_func in hypot
55895do :
55896  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55897if test "x$ac_cv_func_hypot" = xyes; then :
55898  cat >>confdefs.h <<_ACEOF
55899#define HAVE_HYPOT 1
55900_ACEOF
55901
55902fi
55903done
55904
55905  else
55906
55907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55908$as_echo_n "checking for _hypot declaration... " >&6; }
55909  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55910    if ${glibcxx_cv_func__hypot_use+:} false; then :
55911  $as_echo_n "(cached) " >&6
55912else
55913
55914
55915      ac_ext=cpp
55916ac_cpp='$CXXCPP $CPPFLAGS'
55917ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55918ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55919ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55920
55921      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55922/* end confdefs.h.  */
55923#include <math.h>
55924int
55925main ()
55926{
55927 _hypot(0, 0);
55928  ;
55929  return 0;
55930}
55931_ACEOF
55932if ac_fn_cxx_try_compile "$LINENO"; then :
55933  glibcxx_cv_func__hypot_use=yes
55934else
55935  glibcxx_cv_func__hypot_use=no
55936fi
55937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55938      ac_ext=c
55939ac_cpp='$CPP $CPPFLAGS'
55940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55942ac_compiler_gnu=$ac_cv_c_compiler_gnu
55943
55944
55945fi
55946
55947  fi
55948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55949$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55950
55951    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55952      for ac_func in _hypot
55953do :
55954  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55955if test "x$ac_cv_func__hypot" = xyes; then :
55956  cat >>confdefs.h <<_ACEOF
55957#define HAVE__HYPOT 1
55958_ACEOF
55959
55960fi
55961done
55962
55963    fi
55964  fi
55965
55966
55967
55968
55969
55970    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55971$as_echo_n "checking for float trig functions... " >&6; }
55972  if ${glibcxx_cv_func_float_trig_use+:} false; then :
55973  $as_echo_n "(cached) " >&6
55974else
55975
55976
55977    ac_ext=cpp
55978ac_cpp='$CXXCPP $CPPFLAGS'
55979ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55980ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55981ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55982
55983    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55984/* end confdefs.h.  */
55985#include <math.h>
55986int
55987main ()
55988{
55989acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55990  ;
55991  return 0;
55992}
55993_ACEOF
55994if ac_fn_cxx_try_compile "$LINENO"; then :
55995  glibcxx_cv_func_float_trig_use=yes
55996else
55997  glibcxx_cv_func_float_trig_use=no
55998fi
55999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56000    ac_ext=c
56001ac_cpp='$CPP $CPPFLAGS'
56002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56004ac_compiler_gnu=$ac_cv_c_compiler_gnu
56005
56006fi
56007
56008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
56009$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
56010  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56011    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56012do :
56013  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56014ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56015if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56016  cat >>confdefs.h <<_ACEOF
56017#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56018_ACEOF
56019
56020fi
56021done
56022
56023  else
56024    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
56025$as_echo_n "checking for _float trig functions... " >&6; }
56026    if ${glibcxx_cv_func__float_trig_use+:} false; then :
56027  $as_echo_n "(cached) " >&6
56028else
56029
56030
56031      ac_ext=cpp
56032ac_cpp='$CXXCPP $CPPFLAGS'
56033ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56034ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56035ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56036
56037      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56038/* end confdefs.h.  */
56039#include <math.h>
56040int
56041main ()
56042{
56043_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56044  ;
56045  return 0;
56046}
56047_ACEOF
56048if ac_fn_cxx_try_compile "$LINENO"; then :
56049  glibcxx_cv_func__float_trig_use=yes
56050else
56051  glibcxx_cv_func__float_trig_use=no
56052fi
56053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56054      ac_ext=c
56055ac_cpp='$CPP $CPPFLAGS'
56056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058ac_compiler_gnu=$ac_cv_c_compiler_gnu
56059
56060fi
56061
56062    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
56063$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
56064    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56065      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56066do :
56067  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56068ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56069if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56070  cat >>confdefs.h <<_ACEOF
56071#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56072_ACEOF
56073
56074fi
56075done
56076
56077    fi
56078  fi
56079
56080
56081
56082
56083
56084    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
56085$as_echo_n "checking for float round functions... " >&6; }
56086  if ${glibcxx_cv_func_float_round_use+:} false; then :
56087  $as_echo_n "(cached) " >&6
56088else
56089
56090
56091    ac_ext=cpp
56092ac_cpp='$CXXCPP $CPPFLAGS'
56093ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56094ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56095ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56096
56097    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56098/* end confdefs.h.  */
56099#include <math.h>
56100int
56101main ()
56102{
56103ceilf (0); floorf (0);
56104  ;
56105  return 0;
56106}
56107_ACEOF
56108if ac_fn_cxx_try_compile "$LINENO"; then :
56109  glibcxx_cv_func_float_round_use=yes
56110else
56111  glibcxx_cv_func_float_round_use=no
56112fi
56113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56114    ac_ext=c
56115ac_cpp='$CPP $CPPFLAGS'
56116ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56117ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56118ac_compiler_gnu=$ac_cv_c_compiler_gnu
56119
56120fi
56121
56122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
56123$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
56124  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56125    for ac_func in ceilf floorf
56126do :
56127  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56128ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56129if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56130  cat >>confdefs.h <<_ACEOF
56131#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56132_ACEOF
56133
56134fi
56135done
56136
56137  else
56138    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
56139$as_echo_n "checking for _float round functions... " >&6; }
56140    if ${glibcxx_cv_func__float_round_use+:} false; then :
56141  $as_echo_n "(cached) " >&6
56142else
56143
56144
56145      ac_ext=cpp
56146ac_cpp='$CXXCPP $CPPFLAGS'
56147ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56150
56151      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56152/* end confdefs.h.  */
56153#include <math.h>
56154int
56155main ()
56156{
56157_ceilf (0); _floorf (0);
56158  ;
56159  return 0;
56160}
56161_ACEOF
56162if ac_fn_cxx_try_compile "$LINENO"; then :
56163  glibcxx_cv_func__float_round_use=yes
56164else
56165  glibcxx_cv_func__float_round_use=no
56166fi
56167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56168      ac_ext=c
56169ac_cpp='$CPP $CPPFLAGS'
56170ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56171ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56172ac_compiler_gnu=$ac_cv_c_compiler_gnu
56173
56174fi
56175
56176    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
56177$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
56178    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56179      for ac_func in _ceilf _floorf
56180do :
56181  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56182ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56183if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56184  cat >>confdefs.h <<_ACEOF
56185#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56186_ACEOF
56187
56188fi
56189done
56190
56191    fi
56192  fi
56193
56194
56195
56196
56197
56198
56199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
56200$as_echo_n "checking for expf declaration... " >&6; }
56201  if test x${glibcxx_cv_func_expf_use+set} != xset; then
56202    if ${glibcxx_cv_func_expf_use+:} false; then :
56203  $as_echo_n "(cached) " >&6
56204else
56205
56206
56207      ac_ext=cpp
56208ac_cpp='$CXXCPP $CPPFLAGS'
56209ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56210ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56211ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56212
56213      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56214/* end confdefs.h.  */
56215#include <math.h>
56216		      #ifdef HAVE_IEEEFP_H
56217		      #include <ieeefp.h>
56218		      #endif
56219
56220int
56221main ()
56222{
56223 expf(0);
56224  ;
56225  return 0;
56226}
56227_ACEOF
56228if ac_fn_cxx_try_compile "$LINENO"; then :
56229  glibcxx_cv_func_expf_use=yes
56230else
56231  glibcxx_cv_func_expf_use=no
56232fi
56233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56234      ac_ext=c
56235ac_cpp='$CPP $CPPFLAGS'
56236ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238ac_compiler_gnu=$ac_cv_c_compiler_gnu
56239
56240
56241fi
56242
56243  fi
56244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
56245$as_echo "$glibcxx_cv_func_expf_use" >&6; }
56246
56247  if test x$glibcxx_cv_func_expf_use = x"yes"; then
56248    for ac_func in expf
56249do :
56250  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
56251if test "x$ac_cv_func_expf" = xyes; then :
56252  cat >>confdefs.h <<_ACEOF
56253#define HAVE_EXPF 1
56254_ACEOF
56255
56256fi
56257done
56258
56259  else
56260
56261  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
56262$as_echo_n "checking for _expf declaration... " >&6; }
56263  if test x${glibcxx_cv_func__expf_use+set} != xset; then
56264    if ${glibcxx_cv_func__expf_use+:} false; then :
56265  $as_echo_n "(cached) " >&6
56266else
56267
56268
56269      ac_ext=cpp
56270ac_cpp='$CXXCPP $CPPFLAGS'
56271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56274
56275      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56276/* end confdefs.h.  */
56277#include <math.h>
56278		      #ifdef HAVE_IEEEFP_H
56279		      #include <ieeefp.h>
56280		      #endif
56281
56282int
56283main ()
56284{
56285 _expf(0);
56286  ;
56287  return 0;
56288}
56289_ACEOF
56290if ac_fn_cxx_try_compile "$LINENO"; then :
56291  glibcxx_cv_func__expf_use=yes
56292else
56293  glibcxx_cv_func__expf_use=no
56294fi
56295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56296      ac_ext=c
56297ac_cpp='$CPP $CPPFLAGS'
56298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56300ac_compiler_gnu=$ac_cv_c_compiler_gnu
56301
56302
56303fi
56304
56305  fi
56306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
56307$as_echo "$glibcxx_cv_func__expf_use" >&6; }
56308
56309    if test x$glibcxx_cv_func__expf_use = x"yes"; then
56310      for ac_func in _expf
56311do :
56312  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
56313if test "x$ac_cv_func__expf" = xyes; then :
56314  cat >>confdefs.h <<_ACEOF
56315#define HAVE__EXPF 1
56316_ACEOF
56317
56318fi
56319done
56320
56321    fi
56322  fi
56323
56324
56325
56326
56327
56328  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
56329$as_echo_n "checking for isnanf declaration... " >&6; }
56330  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
56331    if ${glibcxx_cv_func_isnanf_use+:} false; then :
56332  $as_echo_n "(cached) " >&6
56333else
56334
56335
56336      ac_ext=cpp
56337ac_cpp='$CXXCPP $CPPFLAGS'
56338ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56341
56342      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343/* end confdefs.h.  */
56344#include <math.h>
56345		      #ifdef HAVE_IEEEFP_H
56346		      #include <ieeefp.h>
56347		      #endif
56348
56349int
56350main ()
56351{
56352 isnanf(0);
56353  ;
56354  return 0;
56355}
56356_ACEOF
56357if ac_fn_cxx_try_compile "$LINENO"; then :
56358  glibcxx_cv_func_isnanf_use=yes
56359else
56360  glibcxx_cv_func_isnanf_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_isnanf_use" >&5
56374$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
56375
56376  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
56377    for ac_func in isnanf
56378do :
56379  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
56380if test "x$ac_cv_func_isnanf" = xyes; then :
56381  cat >>confdefs.h <<_ACEOF
56382#define HAVE_ISNANF 1
56383_ACEOF
56384
56385fi
56386done
56387
56388  else
56389
56390  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
56391$as_echo_n "checking for _isnanf declaration... " >&6; }
56392  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
56393    if ${glibcxx_cv_func__isnanf_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>
56407		      #ifdef HAVE_IEEEFP_H
56408		      #include <ieeefp.h>
56409		      #endif
56410
56411int
56412main ()
56413{
56414 _isnanf(0);
56415  ;
56416  return 0;
56417}
56418_ACEOF
56419if ac_fn_cxx_try_compile "$LINENO"; then :
56420  glibcxx_cv_func__isnanf_use=yes
56421else
56422  glibcxx_cv_func__isnanf_use=no
56423fi
56424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56425      ac_ext=c
56426ac_cpp='$CPP $CPPFLAGS'
56427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429ac_compiler_gnu=$ac_cv_c_compiler_gnu
56430
56431
56432fi
56433
56434  fi
56435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
56436$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
56437
56438    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
56439      for ac_func in _isnanf
56440do :
56441  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
56442if test "x$ac_cv_func__isnanf" = xyes; then :
56443  cat >>confdefs.h <<_ACEOF
56444#define HAVE__ISNANF 1
56445_ACEOF
56446
56447fi
56448done
56449
56450    fi
56451  fi
56452
56453
56454
56455
56456
56457  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56458$as_echo_n "checking for isinff declaration... " >&6; }
56459  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56460    if ${glibcxx_cv_func_isinff_use+:} false; then :
56461  $as_echo_n "(cached) " >&6
56462else
56463
56464
56465      ac_ext=cpp
56466ac_cpp='$CXXCPP $CPPFLAGS'
56467ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56468ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56469ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56470
56471      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56472/* end confdefs.h.  */
56473#include <math.h>
56474		      #ifdef HAVE_IEEEFP_H
56475		      #include <ieeefp.h>
56476		      #endif
56477
56478int
56479main ()
56480{
56481 isinff(0);
56482  ;
56483  return 0;
56484}
56485_ACEOF
56486if ac_fn_cxx_try_compile "$LINENO"; then :
56487  glibcxx_cv_func_isinff_use=yes
56488else
56489  glibcxx_cv_func_isinff_use=no
56490fi
56491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56492      ac_ext=c
56493ac_cpp='$CPP $CPPFLAGS'
56494ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56495ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56496ac_compiler_gnu=$ac_cv_c_compiler_gnu
56497
56498
56499fi
56500
56501  fi
56502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56503$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56504
56505  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56506    for ac_func in isinff
56507do :
56508  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56509if test "x$ac_cv_func_isinff" = xyes; then :
56510  cat >>confdefs.h <<_ACEOF
56511#define HAVE_ISINFF 1
56512_ACEOF
56513
56514fi
56515done
56516
56517  else
56518
56519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56520$as_echo_n "checking for _isinff declaration... " >&6; }
56521  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56522    if ${glibcxx_cv_func__isinff_use+:} false; then :
56523  $as_echo_n "(cached) " >&6
56524else
56525
56526
56527      ac_ext=cpp
56528ac_cpp='$CXXCPP $CPPFLAGS'
56529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56532
56533      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56534/* end confdefs.h.  */
56535#include <math.h>
56536		      #ifdef HAVE_IEEEFP_H
56537		      #include <ieeefp.h>
56538		      #endif
56539
56540int
56541main ()
56542{
56543 _isinff(0);
56544  ;
56545  return 0;
56546}
56547_ACEOF
56548if ac_fn_cxx_try_compile "$LINENO"; then :
56549  glibcxx_cv_func__isinff_use=yes
56550else
56551  glibcxx_cv_func__isinff_use=no
56552fi
56553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56554      ac_ext=c
56555ac_cpp='$CPP $CPPFLAGS'
56556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56558ac_compiler_gnu=$ac_cv_c_compiler_gnu
56559
56560
56561fi
56562
56563  fi
56564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56565$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56566
56567    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56568      for ac_func in _isinff
56569do :
56570  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56571if test "x$ac_cv_func__isinff" = xyes; then :
56572  cat >>confdefs.h <<_ACEOF
56573#define HAVE__ISINFF 1
56574_ACEOF
56575
56576fi
56577done
56578
56579    fi
56580  fi
56581
56582
56583
56584
56585
56586  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56587$as_echo_n "checking for atan2f declaration... " >&6; }
56588  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56589    if ${glibcxx_cv_func_atan2f_use+:} false; then :
56590  $as_echo_n "(cached) " >&6
56591else
56592
56593
56594      ac_ext=cpp
56595ac_cpp='$CXXCPP $CPPFLAGS'
56596ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56597ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56598ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56599
56600      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56601/* end confdefs.h.  */
56602#include <math.h>
56603int
56604main ()
56605{
56606 atan2f(0, 0);
56607  ;
56608  return 0;
56609}
56610_ACEOF
56611if ac_fn_cxx_try_compile "$LINENO"; then :
56612  glibcxx_cv_func_atan2f_use=yes
56613else
56614  glibcxx_cv_func_atan2f_use=no
56615fi
56616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56617      ac_ext=c
56618ac_cpp='$CPP $CPPFLAGS'
56619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56621ac_compiler_gnu=$ac_cv_c_compiler_gnu
56622
56623
56624fi
56625
56626  fi
56627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56628$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56629
56630  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56631    for ac_func in atan2f
56632do :
56633  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56634if test "x$ac_cv_func_atan2f" = xyes; then :
56635  cat >>confdefs.h <<_ACEOF
56636#define HAVE_ATAN2F 1
56637_ACEOF
56638
56639fi
56640done
56641
56642  else
56643
56644  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56645$as_echo_n "checking for _atan2f declaration... " >&6; }
56646  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56647    if ${glibcxx_cv_func__atan2f_use+:} false; then :
56648  $as_echo_n "(cached) " >&6
56649else
56650
56651
56652      ac_ext=cpp
56653ac_cpp='$CXXCPP $CPPFLAGS'
56654ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56655ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56656ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56657
56658      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56659/* end confdefs.h.  */
56660#include <math.h>
56661int
56662main ()
56663{
56664 _atan2f(0, 0);
56665  ;
56666  return 0;
56667}
56668_ACEOF
56669if ac_fn_cxx_try_compile "$LINENO"; then :
56670  glibcxx_cv_func__atan2f_use=yes
56671else
56672  glibcxx_cv_func__atan2f_use=no
56673fi
56674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56675      ac_ext=c
56676ac_cpp='$CPP $CPPFLAGS'
56677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56679ac_compiler_gnu=$ac_cv_c_compiler_gnu
56680
56681
56682fi
56683
56684  fi
56685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56686$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56687
56688    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56689      for ac_func in _atan2f
56690do :
56691  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56692if test "x$ac_cv_func__atan2f" = xyes; then :
56693  cat >>confdefs.h <<_ACEOF
56694#define HAVE__ATAN2F 1
56695_ACEOF
56696
56697fi
56698done
56699
56700    fi
56701  fi
56702
56703
56704
56705
56706
56707  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56708$as_echo_n "checking for fabsf declaration... " >&6; }
56709  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56710    if ${glibcxx_cv_func_fabsf_use+:} false; then :
56711  $as_echo_n "(cached) " >&6
56712else
56713
56714
56715      ac_ext=cpp
56716ac_cpp='$CXXCPP $CPPFLAGS'
56717ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56720
56721      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56722/* end confdefs.h.  */
56723#include <math.h>
56724		      #ifdef HAVE_IEEEFP_H
56725		      #include <ieeefp.h>
56726		      #endif
56727
56728int
56729main ()
56730{
56731 fabsf(0);
56732  ;
56733  return 0;
56734}
56735_ACEOF
56736if ac_fn_cxx_try_compile "$LINENO"; then :
56737  glibcxx_cv_func_fabsf_use=yes
56738else
56739  glibcxx_cv_func_fabsf_use=no
56740fi
56741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56742      ac_ext=c
56743ac_cpp='$CPP $CPPFLAGS'
56744ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746ac_compiler_gnu=$ac_cv_c_compiler_gnu
56747
56748
56749fi
56750
56751  fi
56752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56753$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56754
56755  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56756    for ac_func in fabsf
56757do :
56758  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56759if test "x$ac_cv_func_fabsf" = xyes; then :
56760  cat >>confdefs.h <<_ACEOF
56761#define HAVE_FABSF 1
56762_ACEOF
56763
56764fi
56765done
56766
56767  else
56768
56769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56770$as_echo_n "checking for _fabsf declaration... " >&6; }
56771  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56772    if ${glibcxx_cv_func__fabsf_use+:} false; then :
56773  $as_echo_n "(cached) " >&6
56774else
56775
56776
56777      ac_ext=cpp
56778ac_cpp='$CXXCPP $CPPFLAGS'
56779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56782
56783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56784/* end confdefs.h.  */
56785#include <math.h>
56786		      #ifdef HAVE_IEEEFP_H
56787		      #include <ieeefp.h>
56788		      #endif
56789
56790int
56791main ()
56792{
56793 _fabsf(0);
56794  ;
56795  return 0;
56796}
56797_ACEOF
56798if ac_fn_cxx_try_compile "$LINENO"; then :
56799  glibcxx_cv_func__fabsf_use=yes
56800else
56801  glibcxx_cv_func__fabsf_use=no
56802fi
56803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56804      ac_ext=c
56805ac_cpp='$CPP $CPPFLAGS'
56806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56808ac_compiler_gnu=$ac_cv_c_compiler_gnu
56809
56810
56811fi
56812
56813  fi
56814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56815$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56816
56817    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56818      for ac_func in _fabsf
56819do :
56820  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56821if test "x$ac_cv_func__fabsf" = xyes; then :
56822  cat >>confdefs.h <<_ACEOF
56823#define HAVE__FABSF 1
56824_ACEOF
56825
56826fi
56827done
56828
56829    fi
56830  fi
56831
56832
56833
56834
56835
56836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56837$as_echo_n "checking for fmodf declaration... " >&6; }
56838  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56839    if ${glibcxx_cv_func_fmodf_use+:} false; then :
56840  $as_echo_n "(cached) " >&6
56841else
56842
56843
56844      ac_ext=cpp
56845ac_cpp='$CXXCPP $CPPFLAGS'
56846ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56847ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56848ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56849
56850      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56851/* end confdefs.h.  */
56852#include <math.h>
56853int
56854main ()
56855{
56856 fmodf(0, 0);
56857  ;
56858  return 0;
56859}
56860_ACEOF
56861if ac_fn_cxx_try_compile "$LINENO"; then :
56862  glibcxx_cv_func_fmodf_use=yes
56863else
56864  glibcxx_cv_func_fmodf_use=no
56865fi
56866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56867      ac_ext=c
56868ac_cpp='$CPP $CPPFLAGS'
56869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56871ac_compiler_gnu=$ac_cv_c_compiler_gnu
56872
56873
56874fi
56875
56876  fi
56877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56878$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56879
56880  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56881    for ac_func in fmodf
56882do :
56883  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56884if test "x$ac_cv_func_fmodf" = xyes; then :
56885  cat >>confdefs.h <<_ACEOF
56886#define HAVE_FMODF 1
56887_ACEOF
56888
56889fi
56890done
56891
56892  else
56893
56894  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56895$as_echo_n "checking for _fmodf declaration... " >&6; }
56896  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56897    if ${glibcxx_cv_func__fmodf_use+:} false; then :
56898  $as_echo_n "(cached) " >&6
56899else
56900
56901
56902      ac_ext=cpp
56903ac_cpp='$CXXCPP $CPPFLAGS'
56904ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56907
56908      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56909/* end confdefs.h.  */
56910#include <math.h>
56911int
56912main ()
56913{
56914 _fmodf(0, 0);
56915  ;
56916  return 0;
56917}
56918_ACEOF
56919if ac_fn_cxx_try_compile "$LINENO"; then :
56920  glibcxx_cv_func__fmodf_use=yes
56921else
56922  glibcxx_cv_func__fmodf_use=no
56923fi
56924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56925      ac_ext=c
56926ac_cpp='$CPP $CPPFLAGS'
56927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929ac_compiler_gnu=$ac_cv_c_compiler_gnu
56930
56931
56932fi
56933
56934  fi
56935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56936$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56937
56938    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56939      for ac_func in _fmodf
56940do :
56941  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56942if test "x$ac_cv_func__fmodf" = xyes; then :
56943  cat >>confdefs.h <<_ACEOF
56944#define HAVE__FMODF 1
56945_ACEOF
56946
56947fi
56948done
56949
56950    fi
56951  fi
56952
56953
56954
56955
56956
56957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56958$as_echo_n "checking for frexpf declaration... " >&6; }
56959  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56960    if ${glibcxx_cv_func_frexpf_use+:} false; then :
56961  $as_echo_n "(cached) " >&6
56962else
56963
56964
56965      ac_ext=cpp
56966ac_cpp='$CXXCPP $CPPFLAGS'
56967ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56968ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56969ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56970
56971      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56972/* end confdefs.h.  */
56973#include <math.h>
56974int
56975main ()
56976{
56977 frexpf(0, 0);
56978  ;
56979  return 0;
56980}
56981_ACEOF
56982if ac_fn_cxx_try_compile "$LINENO"; then :
56983  glibcxx_cv_func_frexpf_use=yes
56984else
56985  glibcxx_cv_func_frexpf_use=no
56986fi
56987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56988      ac_ext=c
56989ac_cpp='$CPP $CPPFLAGS'
56990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992ac_compiler_gnu=$ac_cv_c_compiler_gnu
56993
56994
56995fi
56996
56997  fi
56998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56999$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
57000
57001  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
57002    for ac_func in frexpf
57003do :
57004  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
57005if test "x$ac_cv_func_frexpf" = xyes; then :
57006  cat >>confdefs.h <<_ACEOF
57007#define HAVE_FREXPF 1
57008_ACEOF
57009
57010fi
57011done
57012
57013  else
57014
57015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
57016$as_echo_n "checking for _frexpf declaration... " >&6; }
57017  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
57018    if ${glibcxx_cv_func__frexpf_use+:} false; then :
57019  $as_echo_n "(cached) " >&6
57020else
57021
57022
57023      ac_ext=cpp
57024ac_cpp='$CXXCPP $CPPFLAGS'
57025ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57026ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57027ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57028
57029      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57030/* end confdefs.h.  */
57031#include <math.h>
57032int
57033main ()
57034{
57035 _frexpf(0, 0);
57036  ;
57037  return 0;
57038}
57039_ACEOF
57040if ac_fn_cxx_try_compile "$LINENO"; then :
57041  glibcxx_cv_func__frexpf_use=yes
57042else
57043  glibcxx_cv_func__frexpf_use=no
57044fi
57045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57046      ac_ext=c
57047ac_cpp='$CPP $CPPFLAGS'
57048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57050ac_compiler_gnu=$ac_cv_c_compiler_gnu
57051
57052
57053fi
57054
57055  fi
57056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
57057$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
57058
57059    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
57060      for ac_func in _frexpf
57061do :
57062  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
57063if test "x$ac_cv_func__frexpf" = xyes; then :
57064  cat >>confdefs.h <<_ACEOF
57065#define HAVE__FREXPF 1
57066_ACEOF
57067
57068fi
57069done
57070
57071    fi
57072  fi
57073
57074
57075
57076
57077
57078  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
57079$as_echo_n "checking for hypotf declaration... " >&6; }
57080  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
57081    if ${glibcxx_cv_func_hypotf_use+:} false; then :
57082  $as_echo_n "(cached) " >&6
57083else
57084
57085
57086      ac_ext=cpp
57087ac_cpp='$CXXCPP $CPPFLAGS'
57088ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57089ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57090ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57091
57092      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57093/* end confdefs.h.  */
57094#include <math.h>
57095int
57096main ()
57097{
57098 hypotf(0, 0);
57099  ;
57100  return 0;
57101}
57102_ACEOF
57103if ac_fn_cxx_try_compile "$LINENO"; then :
57104  glibcxx_cv_func_hypotf_use=yes
57105else
57106  glibcxx_cv_func_hypotf_use=no
57107fi
57108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57109      ac_ext=c
57110ac_cpp='$CPP $CPPFLAGS'
57111ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57112ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57113ac_compiler_gnu=$ac_cv_c_compiler_gnu
57114
57115
57116fi
57117
57118  fi
57119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
57120$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
57121
57122  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57123    for ac_func in hypotf
57124do :
57125  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
57126if test "x$ac_cv_func_hypotf" = xyes; then :
57127  cat >>confdefs.h <<_ACEOF
57128#define HAVE_HYPOTF 1
57129_ACEOF
57130
57131fi
57132done
57133
57134  else
57135
57136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
57137$as_echo_n "checking for _hypotf declaration... " >&6; }
57138  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
57139    if ${glibcxx_cv_func__hypotf_use+:} false; then :
57140  $as_echo_n "(cached) " >&6
57141else
57142
57143
57144      ac_ext=cpp
57145ac_cpp='$CXXCPP $CPPFLAGS'
57146ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57147ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57148ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57149
57150      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57151/* end confdefs.h.  */
57152#include <math.h>
57153int
57154main ()
57155{
57156 _hypotf(0, 0);
57157  ;
57158  return 0;
57159}
57160_ACEOF
57161if ac_fn_cxx_try_compile "$LINENO"; then :
57162  glibcxx_cv_func__hypotf_use=yes
57163else
57164  glibcxx_cv_func__hypotf_use=no
57165fi
57166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57167      ac_ext=c
57168ac_cpp='$CPP $CPPFLAGS'
57169ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171ac_compiler_gnu=$ac_cv_c_compiler_gnu
57172
57173
57174fi
57175
57176  fi
57177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
57178$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
57179
57180    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
57181      for ac_func in _hypotf
57182do :
57183  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
57184if test "x$ac_cv_func__hypotf" = xyes; then :
57185  cat >>confdefs.h <<_ACEOF
57186#define HAVE__HYPOTF 1
57187_ACEOF
57188
57189fi
57190done
57191
57192    fi
57193  fi
57194
57195
57196
57197
57198
57199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
57200$as_echo_n "checking for ldexpf declaration... " >&6; }
57201  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
57202    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
57203  $as_echo_n "(cached) " >&6
57204else
57205
57206
57207      ac_ext=cpp
57208ac_cpp='$CXXCPP $CPPFLAGS'
57209ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57212
57213      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214/* end confdefs.h.  */
57215#include <math.h>
57216int
57217main ()
57218{
57219 ldexpf(0, 0);
57220  ;
57221  return 0;
57222}
57223_ACEOF
57224if ac_fn_cxx_try_compile "$LINENO"; then :
57225  glibcxx_cv_func_ldexpf_use=yes
57226else
57227  glibcxx_cv_func_ldexpf_use=no
57228fi
57229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57230      ac_ext=c
57231ac_cpp='$CPP $CPPFLAGS'
57232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234ac_compiler_gnu=$ac_cv_c_compiler_gnu
57235
57236
57237fi
57238
57239  fi
57240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
57241$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
57242
57243  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
57244    for ac_func in ldexpf
57245do :
57246  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
57247if test "x$ac_cv_func_ldexpf" = xyes; then :
57248  cat >>confdefs.h <<_ACEOF
57249#define HAVE_LDEXPF 1
57250_ACEOF
57251
57252fi
57253done
57254
57255  else
57256
57257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
57258$as_echo_n "checking for _ldexpf declaration... " >&6; }
57259  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
57260    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
57261  $as_echo_n "(cached) " >&6
57262else
57263
57264
57265      ac_ext=cpp
57266ac_cpp='$CXXCPP $CPPFLAGS'
57267ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57270
57271      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57272/* end confdefs.h.  */
57273#include <math.h>
57274int
57275main ()
57276{
57277 _ldexpf(0, 0);
57278  ;
57279  return 0;
57280}
57281_ACEOF
57282if ac_fn_cxx_try_compile "$LINENO"; then :
57283  glibcxx_cv_func__ldexpf_use=yes
57284else
57285  glibcxx_cv_func__ldexpf_use=no
57286fi
57287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57288      ac_ext=c
57289ac_cpp='$CPP $CPPFLAGS'
57290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292ac_compiler_gnu=$ac_cv_c_compiler_gnu
57293
57294
57295fi
57296
57297  fi
57298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
57299$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
57300
57301    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
57302      for ac_func in _ldexpf
57303do :
57304  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
57305if test "x$ac_cv_func__ldexpf" = xyes; then :
57306  cat >>confdefs.h <<_ACEOF
57307#define HAVE__LDEXPF 1
57308_ACEOF
57309
57310fi
57311done
57312
57313    fi
57314  fi
57315
57316
57317
57318
57319
57320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
57321$as_echo_n "checking for logf declaration... " >&6; }
57322  if test x${glibcxx_cv_func_logf_use+set} != xset; then
57323    if ${glibcxx_cv_func_logf_use+:} false; then :
57324  $as_echo_n "(cached) " >&6
57325else
57326
57327
57328      ac_ext=cpp
57329ac_cpp='$CXXCPP $CPPFLAGS'
57330ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57333
57334      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57335/* end confdefs.h.  */
57336#include <math.h>
57337		      #ifdef HAVE_IEEEFP_H
57338		      #include <ieeefp.h>
57339		      #endif
57340
57341int
57342main ()
57343{
57344 logf(0);
57345  ;
57346  return 0;
57347}
57348_ACEOF
57349if ac_fn_cxx_try_compile "$LINENO"; then :
57350  glibcxx_cv_func_logf_use=yes
57351else
57352  glibcxx_cv_func_logf_use=no
57353fi
57354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355      ac_ext=c
57356ac_cpp='$CPP $CPPFLAGS'
57357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359ac_compiler_gnu=$ac_cv_c_compiler_gnu
57360
57361
57362fi
57363
57364  fi
57365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
57366$as_echo "$glibcxx_cv_func_logf_use" >&6; }
57367
57368  if test x$glibcxx_cv_func_logf_use = x"yes"; then
57369    for ac_func in logf
57370do :
57371  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
57372if test "x$ac_cv_func_logf" = xyes; then :
57373  cat >>confdefs.h <<_ACEOF
57374#define HAVE_LOGF 1
57375_ACEOF
57376
57377fi
57378done
57379
57380  else
57381
57382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
57383$as_echo_n "checking for _logf declaration... " >&6; }
57384  if test x${glibcxx_cv_func__logf_use+set} != xset; then
57385    if ${glibcxx_cv_func__logf_use+:} false; then :
57386  $as_echo_n "(cached) " >&6
57387else
57388
57389
57390      ac_ext=cpp
57391ac_cpp='$CXXCPP $CPPFLAGS'
57392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57395
57396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57397/* end confdefs.h.  */
57398#include <math.h>
57399		      #ifdef HAVE_IEEEFP_H
57400		      #include <ieeefp.h>
57401		      #endif
57402
57403int
57404main ()
57405{
57406 _logf(0);
57407  ;
57408  return 0;
57409}
57410_ACEOF
57411if ac_fn_cxx_try_compile "$LINENO"; then :
57412  glibcxx_cv_func__logf_use=yes
57413else
57414  glibcxx_cv_func__logf_use=no
57415fi
57416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57417      ac_ext=c
57418ac_cpp='$CPP $CPPFLAGS'
57419ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57420ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57421ac_compiler_gnu=$ac_cv_c_compiler_gnu
57422
57423
57424fi
57425
57426  fi
57427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
57428$as_echo "$glibcxx_cv_func__logf_use" >&6; }
57429
57430    if test x$glibcxx_cv_func__logf_use = x"yes"; then
57431      for ac_func in _logf
57432do :
57433  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
57434if test "x$ac_cv_func__logf" = xyes; then :
57435  cat >>confdefs.h <<_ACEOF
57436#define HAVE__LOGF 1
57437_ACEOF
57438
57439fi
57440done
57441
57442    fi
57443  fi
57444
57445
57446
57447
57448
57449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57450$as_echo_n "checking for log10f declaration... " >&6; }
57451  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57452    if ${glibcxx_cv_func_log10f_use+:} false; then :
57453  $as_echo_n "(cached) " >&6
57454else
57455
57456
57457      ac_ext=cpp
57458ac_cpp='$CXXCPP $CPPFLAGS'
57459ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57460ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57461ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57462
57463      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57464/* end confdefs.h.  */
57465#include <math.h>
57466		      #ifdef HAVE_IEEEFP_H
57467		      #include <ieeefp.h>
57468		      #endif
57469
57470int
57471main ()
57472{
57473 log10f(0);
57474  ;
57475  return 0;
57476}
57477_ACEOF
57478if ac_fn_cxx_try_compile "$LINENO"; then :
57479  glibcxx_cv_func_log10f_use=yes
57480else
57481  glibcxx_cv_func_log10f_use=no
57482fi
57483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57484      ac_ext=c
57485ac_cpp='$CPP $CPPFLAGS'
57486ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57488ac_compiler_gnu=$ac_cv_c_compiler_gnu
57489
57490
57491fi
57492
57493  fi
57494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57495$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57496
57497  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57498    for ac_func in log10f
57499do :
57500  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57501if test "x$ac_cv_func_log10f" = xyes; then :
57502  cat >>confdefs.h <<_ACEOF
57503#define HAVE_LOG10F 1
57504_ACEOF
57505
57506fi
57507done
57508
57509  else
57510
57511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57512$as_echo_n "checking for _log10f declaration... " >&6; }
57513  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57514    if ${glibcxx_cv_func__log10f_use+:} false; then :
57515  $as_echo_n "(cached) " >&6
57516else
57517
57518
57519      ac_ext=cpp
57520ac_cpp='$CXXCPP $CPPFLAGS'
57521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57524
57525      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57526/* end confdefs.h.  */
57527#include <math.h>
57528		      #ifdef HAVE_IEEEFP_H
57529		      #include <ieeefp.h>
57530		      #endif
57531
57532int
57533main ()
57534{
57535 _log10f(0);
57536  ;
57537  return 0;
57538}
57539_ACEOF
57540if ac_fn_cxx_try_compile "$LINENO"; then :
57541  glibcxx_cv_func__log10f_use=yes
57542else
57543  glibcxx_cv_func__log10f_use=no
57544fi
57545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57546      ac_ext=c
57547ac_cpp='$CPP $CPPFLAGS'
57548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57550ac_compiler_gnu=$ac_cv_c_compiler_gnu
57551
57552
57553fi
57554
57555  fi
57556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57557$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57558
57559    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57560      for ac_func in _log10f
57561do :
57562  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57563if test "x$ac_cv_func__log10f" = xyes; then :
57564  cat >>confdefs.h <<_ACEOF
57565#define HAVE__LOG10F 1
57566_ACEOF
57567
57568fi
57569done
57570
57571    fi
57572  fi
57573
57574
57575
57576
57577
57578  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57579$as_echo_n "checking for modff declaration... " >&6; }
57580  if test x${glibcxx_cv_func_modff_use+set} != xset; then
57581    if ${glibcxx_cv_func_modff_use+:} false; then :
57582  $as_echo_n "(cached) " >&6
57583else
57584
57585
57586      ac_ext=cpp
57587ac_cpp='$CXXCPP $CPPFLAGS'
57588ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57589ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57590ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57591
57592      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57593/* end confdefs.h.  */
57594#include <math.h>
57595int
57596main ()
57597{
57598 modff(0, 0);
57599  ;
57600  return 0;
57601}
57602_ACEOF
57603if ac_fn_cxx_try_compile "$LINENO"; then :
57604  glibcxx_cv_func_modff_use=yes
57605else
57606  glibcxx_cv_func_modff_use=no
57607fi
57608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57609      ac_ext=c
57610ac_cpp='$CPP $CPPFLAGS'
57611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57613ac_compiler_gnu=$ac_cv_c_compiler_gnu
57614
57615
57616fi
57617
57618  fi
57619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57620$as_echo "$glibcxx_cv_func_modff_use" >&6; }
57621
57622  if test x$glibcxx_cv_func_modff_use = x"yes"; then
57623    for ac_func in modff
57624do :
57625  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57626if test "x$ac_cv_func_modff" = xyes; then :
57627  cat >>confdefs.h <<_ACEOF
57628#define HAVE_MODFF 1
57629_ACEOF
57630
57631fi
57632done
57633
57634  else
57635
57636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57637$as_echo_n "checking for _modff declaration... " >&6; }
57638  if test x${glibcxx_cv_func__modff_use+set} != xset; then
57639    if ${glibcxx_cv_func__modff_use+:} false; then :
57640  $as_echo_n "(cached) " >&6
57641else
57642
57643
57644      ac_ext=cpp
57645ac_cpp='$CXXCPP $CPPFLAGS'
57646ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57649
57650      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57651/* end confdefs.h.  */
57652#include <math.h>
57653int
57654main ()
57655{
57656 _modff(0, 0);
57657  ;
57658  return 0;
57659}
57660_ACEOF
57661if ac_fn_cxx_try_compile "$LINENO"; then :
57662  glibcxx_cv_func__modff_use=yes
57663else
57664  glibcxx_cv_func__modff_use=no
57665fi
57666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57667      ac_ext=c
57668ac_cpp='$CPP $CPPFLAGS'
57669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57671ac_compiler_gnu=$ac_cv_c_compiler_gnu
57672
57673
57674fi
57675
57676  fi
57677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57678$as_echo "$glibcxx_cv_func__modff_use" >&6; }
57679
57680    if test x$glibcxx_cv_func__modff_use = x"yes"; then
57681      for ac_func in _modff
57682do :
57683  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57684if test "x$ac_cv_func__modff" = xyes; then :
57685  cat >>confdefs.h <<_ACEOF
57686#define HAVE__MODFF 1
57687_ACEOF
57688
57689fi
57690done
57691
57692    fi
57693  fi
57694
57695
57696
57697
57698
57699  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57700$as_echo_n "checking for modf declaration... " >&6; }
57701  if test x${glibcxx_cv_func_modf_use+set} != xset; then
57702    if ${glibcxx_cv_func_modf_use+:} false; then :
57703  $as_echo_n "(cached) " >&6
57704else
57705
57706
57707      ac_ext=cpp
57708ac_cpp='$CXXCPP $CPPFLAGS'
57709ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57710ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57711ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57712
57713      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57714/* end confdefs.h.  */
57715#include <math.h>
57716int
57717main ()
57718{
57719 modf(0, 0);
57720  ;
57721  return 0;
57722}
57723_ACEOF
57724if ac_fn_cxx_try_compile "$LINENO"; then :
57725  glibcxx_cv_func_modf_use=yes
57726else
57727  glibcxx_cv_func_modf_use=no
57728fi
57729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57730      ac_ext=c
57731ac_cpp='$CPP $CPPFLAGS'
57732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734ac_compiler_gnu=$ac_cv_c_compiler_gnu
57735
57736
57737fi
57738
57739  fi
57740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57741$as_echo "$glibcxx_cv_func_modf_use" >&6; }
57742
57743  if test x$glibcxx_cv_func_modf_use = x"yes"; then
57744    for ac_func in modf
57745do :
57746  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57747if test "x$ac_cv_func_modf" = xyes; then :
57748  cat >>confdefs.h <<_ACEOF
57749#define HAVE_MODF 1
57750_ACEOF
57751
57752fi
57753done
57754
57755  else
57756
57757  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57758$as_echo_n "checking for _modf declaration... " >&6; }
57759  if test x${glibcxx_cv_func__modf_use+set} != xset; then
57760    if ${glibcxx_cv_func__modf_use+:} false; then :
57761  $as_echo_n "(cached) " >&6
57762else
57763
57764
57765      ac_ext=cpp
57766ac_cpp='$CXXCPP $CPPFLAGS'
57767ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57770
57771      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57772/* end confdefs.h.  */
57773#include <math.h>
57774int
57775main ()
57776{
57777 _modf(0, 0);
57778  ;
57779  return 0;
57780}
57781_ACEOF
57782if ac_fn_cxx_try_compile "$LINENO"; then :
57783  glibcxx_cv_func__modf_use=yes
57784else
57785  glibcxx_cv_func__modf_use=no
57786fi
57787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57788      ac_ext=c
57789ac_cpp='$CPP $CPPFLAGS'
57790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57792ac_compiler_gnu=$ac_cv_c_compiler_gnu
57793
57794
57795fi
57796
57797  fi
57798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57799$as_echo "$glibcxx_cv_func__modf_use" >&6; }
57800
57801    if test x$glibcxx_cv_func__modf_use = x"yes"; then
57802      for ac_func in _modf
57803do :
57804  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57805if test "x$ac_cv_func__modf" = xyes; then :
57806  cat >>confdefs.h <<_ACEOF
57807#define HAVE__MODF 1
57808_ACEOF
57809
57810fi
57811done
57812
57813    fi
57814  fi
57815
57816
57817
57818
57819
57820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57821$as_echo_n "checking for powf declaration... " >&6; }
57822  if test x${glibcxx_cv_func_powf_use+set} != xset; then
57823    if ${glibcxx_cv_func_powf_use+:} false; then :
57824  $as_echo_n "(cached) " >&6
57825else
57826
57827
57828      ac_ext=cpp
57829ac_cpp='$CXXCPP $CPPFLAGS'
57830ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57831ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57832ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57833
57834      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57835/* end confdefs.h.  */
57836#include <math.h>
57837int
57838main ()
57839{
57840 powf(0, 0);
57841  ;
57842  return 0;
57843}
57844_ACEOF
57845if ac_fn_cxx_try_compile "$LINENO"; then :
57846  glibcxx_cv_func_powf_use=yes
57847else
57848  glibcxx_cv_func_powf_use=no
57849fi
57850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57851      ac_ext=c
57852ac_cpp='$CPP $CPPFLAGS'
57853ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855ac_compiler_gnu=$ac_cv_c_compiler_gnu
57856
57857
57858fi
57859
57860  fi
57861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57862$as_echo "$glibcxx_cv_func_powf_use" >&6; }
57863
57864  if test x$glibcxx_cv_func_powf_use = x"yes"; then
57865    for ac_func in powf
57866do :
57867  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57868if test "x$ac_cv_func_powf" = xyes; then :
57869  cat >>confdefs.h <<_ACEOF
57870#define HAVE_POWF 1
57871_ACEOF
57872
57873fi
57874done
57875
57876  else
57877
57878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57879$as_echo_n "checking for _powf declaration... " >&6; }
57880  if test x${glibcxx_cv_func__powf_use+set} != xset; then
57881    if ${glibcxx_cv_func__powf_use+:} false; then :
57882  $as_echo_n "(cached) " >&6
57883else
57884
57885
57886      ac_ext=cpp
57887ac_cpp='$CXXCPP $CPPFLAGS'
57888ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57889ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57890ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57891
57892      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57893/* end confdefs.h.  */
57894#include <math.h>
57895int
57896main ()
57897{
57898 _powf(0, 0);
57899  ;
57900  return 0;
57901}
57902_ACEOF
57903if ac_fn_cxx_try_compile "$LINENO"; then :
57904  glibcxx_cv_func__powf_use=yes
57905else
57906  glibcxx_cv_func__powf_use=no
57907fi
57908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57909      ac_ext=c
57910ac_cpp='$CPP $CPPFLAGS'
57911ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57912ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57913ac_compiler_gnu=$ac_cv_c_compiler_gnu
57914
57915
57916fi
57917
57918  fi
57919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57920$as_echo "$glibcxx_cv_func__powf_use" >&6; }
57921
57922    if test x$glibcxx_cv_func__powf_use = x"yes"; then
57923      for ac_func in _powf
57924do :
57925  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57926if test "x$ac_cv_func__powf" = xyes; then :
57927  cat >>confdefs.h <<_ACEOF
57928#define HAVE__POWF 1
57929_ACEOF
57930
57931fi
57932done
57933
57934    fi
57935  fi
57936
57937
57938
57939
57940
57941  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57942$as_echo_n "checking for sqrtf declaration... " >&6; }
57943  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57944    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57945  $as_echo_n "(cached) " >&6
57946else
57947
57948
57949      ac_ext=cpp
57950ac_cpp='$CXXCPP $CPPFLAGS'
57951ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57952ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57953ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57954
57955      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57956/* end confdefs.h.  */
57957#include <math.h>
57958		      #ifdef HAVE_IEEEFP_H
57959		      #include <ieeefp.h>
57960		      #endif
57961
57962int
57963main ()
57964{
57965 sqrtf(0);
57966  ;
57967  return 0;
57968}
57969_ACEOF
57970if ac_fn_cxx_try_compile "$LINENO"; then :
57971  glibcxx_cv_func_sqrtf_use=yes
57972else
57973  glibcxx_cv_func_sqrtf_use=no
57974fi
57975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57976      ac_ext=c
57977ac_cpp='$CPP $CPPFLAGS'
57978ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57979ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57980ac_compiler_gnu=$ac_cv_c_compiler_gnu
57981
57982
57983fi
57984
57985  fi
57986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57987$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57988
57989  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57990    for ac_func in sqrtf
57991do :
57992  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57993if test "x$ac_cv_func_sqrtf" = xyes; then :
57994  cat >>confdefs.h <<_ACEOF
57995#define HAVE_SQRTF 1
57996_ACEOF
57997
57998fi
57999done
58000
58001  else
58002
58003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
58004$as_echo_n "checking for _sqrtf declaration... " >&6; }
58005  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
58006    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
58007  $as_echo_n "(cached) " >&6
58008else
58009
58010
58011      ac_ext=cpp
58012ac_cpp='$CXXCPP $CPPFLAGS'
58013ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58014ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58015ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58016
58017      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58018/* end confdefs.h.  */
58019#include <math.h>
58020		      #ifdef HAVE_IEEEFP_H
58021		      #include <ieeefp.h>
58022		      #endif
58023
58024int
58025main ()
58026{
58027 _sqrtf(0);
58028  ;
58029  return 0;
58030}
58031_ACEOF
58032if ac_fn_cxx_try_compile "$LINENO"; then :
58033  glibcxx_cv_func__sqrtf_use=yes
58034else
58035  glibcxx_cv_func__sqrtf_use=no
58036fi
58037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58038      ac_ext=c
58039ac_cpp='$CPP $CPPFLAGS'
58040ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58041ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58042ac_compiler_gnu=$ac_cv_c_compiler_gnu
58043
58044
58045fi
58046
58047  fi
58048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
58049$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
58050
58051    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
58052      for ac_func in _sqrtf
58053do :
58054  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
58055if test "x$ac_cv_func__sqrtf" = xyes; then :
58056  cat >>confdefs.h <<_ACEOF
58057#define HAVE__SQRTF 1
58058_ACEOF
58059
58060fi
58061done
58062
58063    fi
58064  fi
58065
58066
58067
58068
58069
58070  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
58071$as_echo_n "checking for sincosf declaration... " >&6; }
58072  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
58073    if ${glibcxx_cv_func_sincosf_use+:} false; then :
58074  $as_echo_n "(cached) " >&6
58075else
58076
58077
58078      ac_ext=cpp
58079ac_cpp='$CXXCPP $CPPFLAGS'
58080ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58081ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58082ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58083
58084      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58085/* end confdefs.h.  */
58086#include <math.h>
58087int
58088main ()
58089{
58090 sincosf(0, 0, 0);
58091  ;
58092  return 0;
58093}
58094_ACEOF
58095if ac_fn_cxx_try_compile "$LINENO"; then :
58096  glibcxx_cv_func_sincosf_use=yes
58097else
58098  glibcxx_cv_func_sincosf_use=no
58099fi
58100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58101      ac_ext=c
58102ac_cpp='$CPP $CPPFLAGS'
58103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105ac_compiler_gnu=$ac_cv_c_compiler_gnu
58106
58107
58108fi
58109
58110  fi
58111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
58112$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
58113
58114  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
58115    for ac_func in sincosf
58116do :
58117  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
58118if test "x$ac_cv_func_sincosf" = xyes; then :
58119  cat >>confdefs.h <<_ACEOF
58120#define HAVE_SINCOSF 1
58121_ACEOF
58122
58123fi
58124done
58125
58126  else
58127
58128  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
58129$as_echo_n "checking for _sincosf declaration... " >&6; }
58130  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
58131    if ${glibcxx_cv_func__sincosf_use+:} false; then :
58132  $as_echo_n "(cached) " >&6
58133else
58134
58135
58136      ac_ext=cpp
58137ac_cpp='$CXXCPP $CPPFLAGS'
58138ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58139ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58140ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58141
58142      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58143/* end confdefs.h.  */
58144#include <math.h>
58145int
58146main ()
58147{
58148 _sincosf(0, 0, 0);
58149  ;
58150  return 0;
58151}
58152_ACEOF
58153if ac_fn_cxx_try_compile "$LINENO"; then :
58154  glibcxx_cv_func__sincosf_use=yes
58155else
58156  glibcxx_cv_func__sincosf_use=no
58157fi
58158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58159      ac_ext=c
58160ac_cpp='$CPP $CPPFLAGS'
58161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58163ac_compiler_gnu=$ac_cv_c_compiler_gnu
58164
58165
58166fi
58167
58168  fi
58169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
58170$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
58171
58172    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
58173      for ac_func in _sincosf
58174do :
58175  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
58176if test "x$ac_cv_func__sincosf" = xyes; then :
58177  cat >>confdefs.h <<_ACEOF
58178#define HAVE__SINCOSF 1
58179_ACEOF
58180
58181fi
58182done
58183
58184    fi
58185  fi
58186
58187
58188
58189
58190
58191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
58192$as_echo_n "checking for finitef declaration... " >&6; }
58193  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
58194    if ${glibcxx_cv_func_finitef_use+:} false; then :
58195  $as_echo_n "(cached) " >&6
58196else
58197
58198
58199      ac_ext=cpp
58200ac_cpp='$CXXCPP $CPPFLAGS'
58201ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58202ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58203ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58204
58205      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58206/* end confdefs.h.  */
58207#include <math.h>
58208		      #ifdef HAVE_IEEEFP_H
58209		      #include <ieeefp.h>
58210		      #endif
58211
58212int
58213main ()
58214{
58215 finitef(0);
58216  ;
58217  return 0;
58218}
58219_ACEOF
58220if ac_fn_cxx_try_compile "$LINENO"; then :
58221  glibcxx_cv_func_finitef_use=yes
58222else
58223  glibcxx_cv_func_finitef_use=no
58224fi
58225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58226      ac_ext=c
58227ac_cpp='$CPP $CPPFLAGS'
58228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58230ac_compiler_gnu=$ac_cv_c_compiler_gnu
58231
58232
58233fi
58234
58235  fi
58236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
58237$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
58238
58239  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
58240    for ac_func in finitef
58241do :
58242  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
58243if test "x$ac_cv_func_finitef" = xyes; then :
58244  cat >>confdefs.h <<_ACEOF
58245#define HAVE_FINITEF 1
58246_ACEOF
58247
58248fi
58249done
58250
58251  else
58252
58253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
58254$as_echo_n "checking for _finitef declaration... " >&6; }
58255  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
58256    if ${glibcxx_cv_func__finitef_use+:} false; then :
58257  $as_echo_n "(cached) " >&6
58258else
58259
58260
58261      ac_ext=cpp
58262ac_cpp='$CXXCPP $CPPFLAGS'
58263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58266
58267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58268/* end confdefs.h.  */
58269#include <math.h>
58270		      #ifdef HAVE_IEEEFP_H
58271		      #include <ieeefp.h>
58272		      #endif
58273
58274int
58275main ()
58276{
58277 _finitef(0);
58278  ;
58279  return 0;
58280}
58281_ACEOF
58282if ac_fn_cxx_try_compile "$LINENO"; then :
58283  glibcxx_cv_func__finitef_use=yes
58284else
58285  glibcxx_cv_func__finitef_use=no
58286fi
58287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58288      ac_ext=c
58289ac_cpp='$CPP $CPPFLAGS'
58290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58292ac_compiler_gnu=$ac_cv_c_compiler_gnu
58293
58294
58295fi
58296
58297  fi
58298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
58299$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
58300
58301    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
58302      for ac_func in _finitef
58303do :
58304  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
58305if test "x$ac_cv_func__finitef" = xyes; then :
58306  cat >>confdefs.h <<_ACEOF
58307#define HAVE__FINITEF 1
58308_ACEOF
58309
58310fi
58311done
58312
58313    fi
58314  fi
58315
58316
58317
58318
58319
58320    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
58321$as_echo_n "checking for long double trig functions... " >&6; }
58322  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
58323  $as_echo_n "(cached) " >&6
58324else
58325
58326
58327    ac_ext=cpp
58328ac_cpp='$CXXCPP $CPPFLAGS'
58329ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58330ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58331ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58332
58333    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58334/* end confdefs.h.  */
58335#include <math.h>
58336int
58337main ()
58338{
58339acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
58340  ;
58341  return 0;
58342}
58343_ACEOF
58344if ac_fn_cxx_try_compile "$LINENO"; then :
58345  glibcxx_cv_func_long_double_trig_use=yes
58346else
58347  glibcxx_cv_func_long_double_trig_use=no
58348fi
58349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58350    ac_ext=c
58351ac_cpp='$CPP $CPPFLAGS'
58352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58354ac_compiler_gnu=$ac_cv_c_compiler_gnu
58355
58356fi
58357
58358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
58359$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
58360  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
58361    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
58362do :
58363  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58364ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58365if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58366  cat >>confdefs.h <<_ACEOF
58367#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58368_ACEOF
58369
58370fi
58371done
58372
58373  else
58374    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
58375$as_echo_n "checking for _long double trig functions... " >&6; }
58376    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
58377  $as_echo_n "(cached) " >&6
58378else
58379
58380
58381      ac_ext=cpp
58382ac_cpp='$CXXCPP $CPPFLAGS'
58383ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58386
58387      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388/* end confdefs.h.  */
58389#include <math.h>
58390int
58391main ()
58392{
58393_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
58394  ;
58395  return 0;
58396}
58397_ACEOF
58398if ac_fn_cxx_try_compile "$LINENO"; then :
58399  glibcxx_cv_func__long_double_trig_use=yes
58400else
58401  glibcxx_cv_func__long_double_trig_use=no
58402fi
58403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58404      ac_ext=c
58405ac_cpp='$CPP $CPPFLAGS'
58406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408ac_compiler_gnu=$ac_cv_c_compiler_gnu
58409
58410fi
58411
58412    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
58413$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
58414    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
58415      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
58416do :
58417  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58418ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58419if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58420  cat >>confdefs.h <<_ACEOF
58421#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58422_ACEOF
58423
58424fi
58425done
58426
58427    fi
58428  fi
58429
58430
58431
58432
58433
58434    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
58435$as_echo_n "checking for long double round functions... " >&6; }
58436  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
58437  $as_echo_n "(cached) " >&6
58438else
58439
58440
58441    ac_ext=cpp
58442ac_cpp='$CXXCPP $CPPFLAGS'
58443ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58444ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58445ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58446
58447    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58448/* end confdefs.h.  */
58449#include <math.h>
58450int
58451main ()
58452{
58453ceill (0); floorl (0);
58454  ;
58455  return 0;
58456}
58457_ACEOF
58458if ac_fn_cxx_try_compile "$LINENO"; then :
58459  glibcxx_cv_func_long_double_round_use=yes
58460else
58461  glibcxx_cv_func_long_double_round_use=no
58462fi
58463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58464    ac_ext=c
58465ac_cpp='$CPP $CPPFLAGS'
58466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58468ac_compiler_gnu=$ac_cv_c_compiler_gnu
58469
58470fi
58471
58472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58473$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58474  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58475    for ac_func in ceill floorl
58476do :
58477  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58478ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58479if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58480  cat >>confdefs.h <<_ACEOF
58481#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58482_ACEOF
58483
58484fi
58485done
58486
58487  else
58488    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58489$as_echo_n "checking for _long double round functions... " >&6; }
58490    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58491  $as_echo_n "(cached) " >&6
58492else
58493
58494
58495      ac_ext=cpp
58496ac_cpp='$CXXCPP $CPPFLAGS'
58497ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58498ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58499ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58500
58501      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58502/* end confdefs.h.  */
58503#include <math.h>
58504int
58505main ()
58506{
58507_ceill (0); _floorl (0);
58508  ;
58509  return 0;
58510}
58511_ACEOF
58512if ac_fn_cxx_try_compile "$LINENO"; then :
58513  glibcxx_cv_func__long_double_round_use=yes
58514else
58515  glibcxx_cv_func__long_double_round_use=no
58516fi
58517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58518      ac_ext=c
58519ac_cpp='$CPP $CPPFLAGS'
58520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58522ac_compiler_gnu=$ac_cv_c_compiler_gnu
58523
58524fi
58525
58526    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58527$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58528    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58529      for ac_func in _ceill _floorl
58530do :
58531  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58532ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58533if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58534  cat >>confdefs.h <<_ACEOF
58535#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58536_ACEOF
58537
58538fi
58539done
58540
58541    fi
58542  fi
58543
58544
58545
58546
58547
58548
58549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58550$as_echo_n "checking for isnanl declaration... " >&6; }
58551  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58552    if ${glibcxx_cv_func_isnanl_use+:} false; then :
58553  $as_echo_n "(cached) " >&6
58554else
58555
58556
58557      ac_ext=cpp
58558ac_cpp='$CXXCPP $CPPFLAGS'
58559ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58560ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58561ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58562
58563      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58564/* end confdefs.h.  */
58565#include <math.h>
58566		      #ifdef HAVE_IEEEFP_H
58567		      #include <ieeefp.h>
58568		      #endif
58569
58570int
58571main ()
58572{
58573 isnanl(0);
58574  ;
58575  return 0;
58576}
58577_ACEOF
58578if ac_fn_cxx_try_compile "$LINENO"; then :
58579  glibcxx_cv_func_isnanl_use=yes
58580else
58581  glibcxx_cv_func_isnanl_use=no
58582fi
58583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58584      ac_ext=c
58585ac_cpp='$CPP $CPPFLAGS'
58586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58588ac_compiler_gnu=$ac_cv_c_compiler_gnu
58589
58590
58591fi
58592
58593  fi
58594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58595$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58596
58597  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58598    for ac_func in isnanl
58599do :
58600  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58601if test "x$ac_cv_func_isnanl" = xyes; then :
58602  cat >>confdefs.h <<_ACEOF
58603#define HAVE_ISNANL 1
58604_ACEOF
58605
58606fi
58607done
58608
58609  else
58610
58611  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58612$as_echo_n "checking for _isnanl declaration... " >&6; }
58613  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58614    if ${glibcxx_cv_func__isnanl_use+:} false; then :
58615  $as_echo_n "(cached) " >&6
58616else
58617
58618
58619      ac_ext=cpp
58620ac_cpp='$CXXCPP $CPPFLAGS'
58621ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58622ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58623ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58624
58625      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58626/* end confdefs.h.  */
58627#include <math.h>
58628		      #ifdef HAVE_IEEEFP_H
58629		      #include <ieeefp.h>
58630		      #endif
58631
58632int
58633main ()
58634{
58635 _isnanl(0);
58636  ;
58637  return 0;
58638}
58639_ACEOF
58640if ac_fn_cxx_try_compile "$LINENO"; then :
58641  glibcxx_cv_func__isnanl_use=yes
58642else
58643  glibcxx_cv_func__isnanl_use=no
58644fi
58645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58646      ac_ext=c
58647ac_cpp='$CPP $CPPFLAGS'
58648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58650ac_compiler_gnu=$ac_cv_c_compiler_gnu
58651
58652
58653fi
58654
58655  fi
58656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58657$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58658
58659    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58660      for ac_func in _isnanl
58661do :
58662  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58663if test "x$ac_cv_func__isnanl" = xyes; then :
58664  cat >>confdefs.h <<_ACEOF
58665#define HAVE__ISNANL 1
58666_ACEOF
58667
58668fi
58669done
58670
58671    fi
58672  fi
58673
58674
58675
58676
58677
58678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58679$as_echo_n "checking for isinfl declaration... " >&6; }
58680  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58681    if ${glibcxx_cv_func_isinfl_use+:} false; then :
58682  $as_echo_n "(cached) " >&6
58683else
58684
58685
58686      ac_ext=cpp
58687ac_cpp='$CXXCPP $CPPFLAGS'
58688ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58689ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58690ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58691
58692      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58693/* end confdefs.h.  */
58694#include <math.h>
58695		      #ifdef HAVE_IEEEFP_H
58696		      #include <ieeefp.h>
58697		      #endif
58698
58699int
58700main ()
58701{
58702 isinfl(0);
58703  ;
58704  return 0;
58705}
58706_ACEOF
58707if ac_fn_cxx_try_compile "$LINENO"; then :
58708  glibcxx_cv_func_isinfl_use=yes
58709else
58710  glibcxx_cv_func_isinfl_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_isinfl_use" >&5
58724$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58725
58726  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58727    for ac_func in isinfl
58728do :
58729  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58730if test "x$ac_cv_func_isinfl" = xyes; then :
58731  cat >>confdefs.h <<_ACEOF
58732#define HAVE_ISINFL 1
58733_ACEOF
58734
58735fi
58736done
58737
58738  else
58739
58740  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58741$as_echo_n "checking for _isinfl declaration... " >&6; }
58742  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58743    if ${glibcxx_cv_func__isinfl_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>
58757		      #ifdef HAVE_IEEEFP_H
58758		      #include <ieeefp.h>
58759		      #endif
58760
58761int
58762main ()
58763{
58764 _isinfl(0);
58765  ;
58766  return 0;
58767}
58768_ACEOF
58769if ac_fn_cxx_try_compile "$LINENO"; then :
58770  glibcxx_cv_func__isinfl_use=yes
58771else
58772  glibcxx_cv_func__isinfl_use=no
58773fi
58774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58775      ac_ext=c
58776ac_cpp='$CPP $CPPFLAGS'
58777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58779ac_compiler_gnu=$ac_cv_c_compiler_gnu
58780
58781
58782fi
58783
58784  fi
58785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58786$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58787
58788    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58789      for ac_func in _isinfl
58790do :
58791  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58792if test "x$ac_cv_func__isinfl" = xyes; then :
58793  cat >>confdefs.h <<_ACEOF
58794#define HAVE__ISINFL 1
58795_ACEOF
58796
58797fi
58798done
58799
58800    fi
58801  fi
58802
58803
58804
58805
58806
58807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58808$as_echo_n "checking for atan2l declaration... " >&6; }
58809  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58810    if ${glibcxx_cv_func_atan2l_use+:} false; then :
58811  $as_echo_n "(cached) " >&6
58812else
58813
58814
58815      ac_ext=cpp
58816ac_cpp='$CXXCPP $CPPFLAGS'
58817ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58818ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58819ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58820
58821      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58822/* end confdefs.h.  */
58823#include <math.h>
58824int
58825main ()
58826{
58827 atan2l(0, 0);
58828  ;
58829  return 0;
58830}
58831_ACEOF
58832if ac_fn_cxx_try_compile "$LINENO"; then :
58833  glibcxx_cv_func_atan2l_use=yes
58834else
58835  glibcxx_cv_func_atan2l_use=no
58836fi
58837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58838      ac_ext=c
58839ac_cpp='$CPP $CPPFLAGS'
58840ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58841ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58842ac_compiler_gnu=$ac_cv_c_compiler_gnu
58843
58844
58845fi
58846
58847  fi
58848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58849$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58850
58851  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58852    for ac_func in atan2l
58853do :
58854  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58855if test "x$ac_cv_func_atan2l" = xyes; then :
58856  cat >>confdefs.h <<_ACEOF
58857#define HAVE_ATAN2L 1
58858_ACEOF
58859
58860fi
58861done
58862
58863  else
58864
58865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58866$as_echo_n "checking for _atan2l declaration... " >&6; }
58867  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58868    if ${glibcxx_cv_func__atan2l_use+:} false; then :
58869  $as_echo_n "(cached) " >&6
58870else
58871
58872
58873      ac_ext=cpp
58874ac_cpp='$CXXCPP $CPPFLAGS'
58875ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58876ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58877ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58878
58879      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58880/* end confdefs.h.  */
58881#include <math.h>
58882int
58883main ()
58884{
58885 _atan2l(0, 0);
58886  ;
58887  return 0;
58888}
58889_ACEOF
58890if ac_fn_cxx_try_compile "$LINENO"; then :
58891  glibcxx_cv_func__atan2l_use=yes
58892else
58893  glibcxx_cv_func__atan2l_use=no
58894fi
58895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58896      ac_ext=c
58897ac_cpp='$CPP $CPPFLAGS'
58898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58900ac_compiler_gnu=$ac_cv_c_compiler_gnu
58901
58902
58903fi
58904
58905  fi
58906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58907$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58908
58909    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58910      for ac_func in _atan2l
58911do :
58912  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58913if test "x$ac_cv_func__atan2l" = xyes; then :
58914  cat >>confdefs.h <<_ACEOF
58915#define HAVE__ATAN2L 1
58916_ACEOF
58917
58918fi
58919done
58920
58921    fi
58922  fi
58923
58924
58925
58926
58927
58928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58929$as_echo_n "checking for expl declaration... " >&6; }
58930  if test x${glibcxx_cv_func_expl_use+set} != xset; then
58931    if ${glibcxx_cv_func_expl_use+:} false; then :
58932  $as_echo_n "(cached) " >&6
58933else
58934
58935
58936      ac_ext=cpp
58937ac_cpp='$CXXCPP $CPPFLAGS'
58938ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58939ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58940ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58941
58942      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58943/* end confdefs.h.  */
58944#include <math.h>
58945		      #ifdef HAVE_IEEEFP_H
58946		      #include <ieeefp.h>
58947		      #endif
58948
58949int
58950main ()
58951{
58952 expl(0);
58953  ;
58954  return 0;
58955}
58956_ACEOF
58957if ac_fn_cxx_try_compile "$LINENO"; then :
58958  glibcxx_cv_func_expl_use=yes
58959else
58960  glibcxx_cv_func_expl_use=no
58961fi
58962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58963      ac_ext=c
58964ac_cpp='$CPP $CPPFLAGS'
58965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58967ac_compiler_gnu=$ac_cv_c_compiler_gnu
58968
58969
58970fi
58971
58972  fi
58973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58974$as_echo "$glibcxx_cv_func_expl_use" >&6; }
58975
58976  if test x$glibcxx_cv_func_expl_use = x"yes"; then
58977    for ac_func in expl
58978do :
58979  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58980if test "x$ac_cv_func_expl" = xyes; then :
58981  cat >>confdefs.h <<_ACEOF
58982#define HAVE_EXPL 1
58983_ACEOF
58984
58985fi
58986done
58987
58988  else
58989
58990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58991$as_echo_n "checking for _expl declaration... " >&6; }
58992  if test x${glibcxx_cv_func__expl_use+set} != xset; then
58993    if ${glibcxx_cv_func__expl_use+:} false; then :
58994  $as_echo_n "(cached) " >&6
58995else
58996
58997
58998      ac_ext=cpp
58999ac_cpp='$CXXCPP $CPPFLAGS'
59000ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59001ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59002ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59003
59004      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59005/* end confdefs.h.  */
59006#include <math.h>
59007		      #ifdef HAVE_IEEEFP_H
59008		      #include <ieeefp.h>
59009		      #endif
59010
59011int
59012main ()
59013{
59014 _expl(0);
59015  ;
59016  return 0;
59017}
59018_ACEOF
59019if ac_fn_cxx_try_compile "$LINENO"; then :
59020  glibcxx_cv_func__expl_use=yes
59021else
59022  glibcxx_cv_func__expl_use=no
59023fi
59024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59025      ac_ext=c
59026ac_cpp='$CPP $CPPFLAGS'
59027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029ac_compiler_gnu=$ac_cv_c_compiler_gnu
59030
59031
59032fi
59033
59034  fi
59035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
59036$as_echo "$glibcxx_cv_func__expl_use" >&6; }
59037
59038    if test x$glibcxx_cv_func__expl_use = x"yes"; then
59039      for ac_func in _expl
59040do :
59041  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
59042if test "x$ac_cv_func__expl" = xyes; then :
59043  cat >>confdefs.h <<_ACEOF
59044#define HAVE__EXPL 1
59045_ACEOF
59046
59047fi
59048done
59049
59050    fi
59051  fi
59052
59053
59054
59055
59056
59057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
59058$as_echo_n "checking for fabsl declaration... " >&6; }
59059  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
59060    if ${glibcxx_cv_func_fabsl_use+:} false; then :
59061  $as_echo_n "(cached) " >&6
59062else
59063
59064
59065      ac_ext=cpp
59066ac_cpp='$CXXCPP $CPPFLAGS'
59067ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59068ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59069ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59070
59071      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59072/* end confdefs.h.  */
59073#include <math.h>
59074		      #ifdef HAVE_IEEEFP_H
59075		      #include <ieeefp.h>
59076		      #endif
59077
59078int
59079main ()
59080{
59081 fabsl(0);
59082  ;
59083  return 0;
59084}
59085_ACEOF
59086if ac_fn_cxx_try_compile "$LINENO"; then :
59087  glibcxx_cv_func_fabsl_use=yes
59088else
59089  glibcxx_cv_func_fabsl_use=no
59090fi
59091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59092      ac_ext=c
59093ac_cpp='$CPP $CPPFLAGS'
59094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59096ac_compiler_gnu=$ac_cv_c_compiler_gnu
59097
59098
59099fi
59100
59101  fi
59102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
59103$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
59104
59105  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
59106    for ac_func in fabsl
59107do :
59108  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
59109if test "x$ac_cv_func_fabsl" = xyes; then :
59110  cat >>confdefs.h <<_ACEOF
59111#define HAVE_FABSL 1
59112_ACEOF
59113
59114fi
59115done
59116
59117  else
59118
59119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
59120$as_echo_n "checking for _fabsl declaration... " >&6; }
59121  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
59122    if ${glibcxx_cv_func__fabsl_use+:} false; then :
59123  $as_echo_n "(cached) " >&6
59124else
59125
59126
59127      ac_ext=cpp
59128ac_cpp='$CXXCPP $CPPFLAGS'
59129ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59130ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59131ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59132
59133      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59134/* end confdefs.h.  */
59135#include <math.h>
59136		      #ifdef HAVE_IEEEFP_H
59137		      #include <ieeefp.h>
59138		      #endif
59139
59140int
59141main ()
59142{
59143 _fabsl(0);
59144  ;
59145  return 0;
59146}
59147_ACEOF
59148if ac_fn_cxx_try_compile "$LINENO"; then :
59149  glibcxx_cv_func__fabsl_use=yes
59150else
59151  glibcxx_cv_func__fabsl_use=no
59152fi
59153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59154      ac_ext=c
59155ac_cpp='$CPP $CPPFLAGS'
59156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59158ac_compiler_gnu=$ac_cv_c_compiler_gnu
59159
59160
59161fi
59162
59163  fi
59164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
59165$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
59166
59167    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
59168      for ac_func in _fabsl
59169do :
59170  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
59171if test "x$ac_cv_func__fabsl" = xyes; then :
59172  cat >>confdefs.h <<_ACEOF
59173#define HAVE__FABSL 1
59174_ACEOF
59175
59176fi
59177done
59178
59179    fi
59180  fi
59181
59182
59183
59184
59185
59186  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
59187$as_echo_n "checking for fmodl declaration... " >&6; }
59188  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
59189    if ${glibcxx_cv_func_fmodl_use+:} false; then :
59190  $as_echo_n "(cached) " >&6
59191else
59192
59193
59194      ac_ext=cpp
59195ac_cpp='$CXXCPP $CPPFLAGS'
59196ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59197ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59198ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59199
59200      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59201/* end confdefs.h.  */
59202#include <math.h>
59203int
59204main ()
59205{
59206 fmodl(0, 0);
59207  ;
59208  return 0;
59209}
59210_ACEOF
59211if ac_fn_cxx_try_compile "$LINENO"; then :
59212  glibcxx_cv_func_fmodl_use=yes
59213else
59214  glibcxx_cv_func_fmodl_use=no
59215fi
59216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59217      ac_ext=c
59218ac_cpp='$CPP $CPPFLAGS'
59219ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59220ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59221ac_compiler_gnu=$ac_cv_c_compiler_gnu
59222
59223
59224fi
59225
59226  fi
59227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
59228$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
59229
59230  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
59231    for ac_func in fmodl
59232do :
59233  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
59234if test "x$ac_cv_func_fmodl" = xyes; then :
59235  cat >>confdefs.h <<_ACEOF
59236#define HAVE_FMODL 1
59237_ACEOF
59238
59239fi
59240done
59241
59242  else
59243
59244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
59245$as_echo_n "checking for _fmodl declaration... " >&6; }
59246  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
59247    if ${glibcxx_cv_func__fmodl_use+:} false; then :
59248  $as_echo_n "(cached) " >&6
59249else
59250
59251
59252      ac_ext=cpp
59253ac_cpp='$CXXCPP $CPPFLAGS'
59254ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59255ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59256ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59257
59258      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59259/* end confdefs.h.  */
59260#include <math.h>
59261int
59262main ()
59263{
59264 _fmodl(0, 0);
59265  ;
59266  return 0;
59267}
59268_ACEOF
59269if ac_fn_cxx_try_compile "$LINENO"; then :
59270  glibcxx_cv_func__fmodl_use=yes
59271else
59272  glibcxx_cv_func__fmodl_use=no
59273fi
59274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59275      ac_ext=c
59276ac_cpp='$CPP $CPPFLAGS'
59277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59279ac_compiler_gnu=$ac_cv_c_compiler_gnu
59280
59281
59282fi
59283
59284  fi
59285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
59286$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
59287
59288    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
59289      for ac_func in _fmodl
59290do :
59291  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
59292if test "x$ac_cv_func__fmodl" = xyes; then :
59293  cat >>confdefs.h <<_ACEOF
59294#define HAVE__FMODL 1
59295_ACEOF
59296
59297fi
59298done
59299
59300    fi
59301  fi
59302
59303
59304
59305
59306
59307  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
59308$as_echo_n "checking for frexpl declaration... " >&6; }
59309  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
59310    if ${glibcxx_cv_func_frexpl_use+:} false; then :
59311  $as_echo_n "(cached) " >&6
59312else
59313
59314
59315      ac_ext=cpp
59316ac_cpp='$CXXCPP $CPPFLAGS'
59317ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59320
59321      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59322/* end confdefs.h.  */
59323#include <math.h>
59324int
59325main ()
59326{
59327 frexpl(0, 0);
59328  ;
59329  return 0;
59330}
59331_ACEOF
59332if ac_fn_cxx_try_compile "$LINENO"; then :
59333  glibcxx_cv_func_frexpl_use=yes
59334else
59335  glibcxx_cv_func_frexpl_use=no
59336fi
59337rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59338      ac_ext=c
59339ac_cpp='$CPP $CPPFLAGS'
59340ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342ac_compiler_gnu=$ac_cv_c_compiler_gnu
59343
59344
59345fi
59346
59347  fi
59348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
59349$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
59350
59351  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
59352    for ac_func in frexpl
59353do :
59354  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
59355if test "x$ac_cv_func_frexpl" = xyes; then :
59356  cat >>confdefs.h <<_ACEOF
59357#define HAVE_FREXPL 1
59358_ACEOF
59359
59360fi
59361done
59362
59363  else
59364
59365  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
59366$as_echo_n "checking for _frexpl declaration... " >&6; }
59367  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
59368    if ${glibcxx_cv_func__frexpl_use+:} false; then :
59369  $as_echo_n "(cached) " >&6
59370else
59371
59372
59373      ac_ext=cpp
59374ac_cpp='$CXXCPP $CPPFLAGS'
59375ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59378
59379      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59380/* end confdefs.h.  */
59381#include <math.h>
59382int
59383main ()
59384{
59385 _frexpl(0, 0);
59386  ;
59387  return 0;
59388}
59389_ACEOF
59390if ac_fn_cxx_try_compile "$LINENO"; then :
59391  glibcxx_cv_func__frexpl_use=yes
59392else
59393  glibcxx_cv_func__frexpl_use=no
59394fi
59395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59396      ac_ext=c
59397ac_cpp='$CPP $CPPFLAGS'
59398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59400ac_compiler_gnu=$ac_cv_c_compiler_gnu
59401
59402
59403fi
59404
59405  fi
59406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
59407$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
59408
59409    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
59410      for ac_func in _frexpl
59411do :
59412  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
59413if test "x$ac_cv_func__frexpl" = xyes; then :
59414  cat >>confdefs.h <<_ACEOF
59415#define HAVE__FREXPL 1
59416_ACEOF
59417
59418fi
59419done
59420
59421    fi
59422  fi
59423
59424
59425
59426
59427
59428  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
59429$as_echo_n "checking for hypotl declaration... " >&6; }
59430  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
59431    if ${glibcxx_cv_func_hypotl_use+:} false; then :
59432  $as_echo_n "(cached) " >&6
59433else
59434
59435
59436      ac_ext=cpp
59437ac_cpp='$CXXCPP $CPPFLAGS'
59438ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59439ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59440ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59441
59442      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59443/* end confdefs.h.  */
59444#include <math.h>
59445int
59446main ()
59447{
59448 hypotl(0, 0);
59449  ;
59450  return 0;
59451}
59452_ACEOF
59453if ac_fn_cxx_try_compile "$LINENO"; then :
59454  glibcxx_cv_func_hypotl_use=yes
59455else
59456  glibcxx_cv_func_hypotl_use=no
59457fi
59458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59459      ac_ext=c
59460ac_cpp='$CPP $CPPFLAGS'
59461ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463ac_compiler_gnu=$ac_cv_c_compiler_gnu
59464
59465
59466fi
59467
59468  fi
59469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59470$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59471
59472  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59473    for ac_func in hypotl
59474do :
59475  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59476if test "x$ac_cv_func_hypotl" = xyes; then :
59477  cat >>confdefs.h <<_ACEOF
59478#define HAVE_HYPOTL 1
59479_ACEOF
59480
59481fi
59482done
59483
59484  else
59485
59486  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59487$as_echo_n "checking for _hypotl declaration... " >&6; }
59488  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59489    if ${glibcxx_cv_func__hypotl_use+:} false; then :
59490  $as_echo_n "(cached) " >&6
59491else
59492
59493
59494      ac_ext=cpp
59495ac_cpp='$CXXCPP $CPPFLAGS'
59496ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59497ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59498ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59499
59500      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59501/* end confdefs.h.  */
59502#include <math.h>
59503int
59504main ()
59505{
59506 _hypotl(0, 0);
59507  ;
59508  return 0;
59509}
59510_ACEOF
59511if ac_fn_cxx_try_compile "$LINENO"; then :
59512  glibcxx_cv_func__hypotl_use=yes
59513else
59514  glibcxx_cv_func__hypotl_use=no
59515fi
59516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59517      ac_ext=c
59518ac_cpp='$CPP $CPPFLAGS'
59519ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521ac_compiler_gnu=$ac_cv_c_compiler_gnu
59522
59523
59524fi
59525
59526  fi
59527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59528$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59529
59530    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59531      for ac_func in _hypotl
59532do :
59533  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59534if test "x$ac_cv_func__hypotl" = xyes; then :
59535  cat >>confdefs.h <<_ACEOF
59536#define HAVE__HYPOTL 1
59537_ACEOF
59538
59539fi
59540done
59541
59542    fi
59543  fi
59544
59545
59546
59547
59548
59549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59550$as_echo_n "checking for ldexpl declaration... " >&6; }
59551  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59552    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59553  $as_echo_n "(cached) " >&6
59554else
59555
59556
59557      ac_ext=cpp
59558ac_cpp='$CXXCPP $CPPFLAGS'
59559ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59560ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59561ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59562
59563      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59564/* end confdefs.h.  */
59565#include <math.h>
59566int
59567main ()
59568{
59569 ldexpl(0, 0);
59570  ;
59571  return 0;
59572}
59573_ACEOF
59574if ac_fn_cxx_try_compile "$LINENO"; then :
59575  glibcxx_cv_func_ldexpl_use=yes
59576else
59577  glibcxx_cv_func_ldexpl_use=no
59578fi
59579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59580      ac_ext=c
59581ac_cpp='$CPP $CPPFLAGS'
59582ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59583ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59584ac_compiler_gnu=$ac_cv_c_compiler_gnu
59585
59586
59587fi
59588
59589  fi
59590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59591$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59592
59593  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59594    for ac_func in ldexpl
59595do :
59596  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59597if test "x$ac_cv_func_ldexpl" = xyes; then :
59598  cat >>confdefs.h <<_ACEOF
59599#define HAVE_LDEXPL 1
59600_ACEOF
59601
59602fi
59603done
59604
59605  else
59606
59607  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59608$as_echo_n "checking for _ldexpl declaration... " >&6; }
59609  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59610    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59611  $as_echo_n "(cached) " >&6
59612else
59613
59614
59615      ac_ext=cpp
59616ac_cpp='$CXXCPP $CPPFLAGS'
59617ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59618ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59619ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59620
59621      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59622/* end confdefs.h.  */
59623#include <math.h>
59624int
59625main ()
59626{
59627 _ldexpl(0, 0);
59628  ;
59629  return 0;
59630}
59631_ACEOF
59632if ac_fn_cxx_try_compile "$LINENO"; then :
59633  glibcxx_cv_func__ldexpl_use=yes
59634else
59635  glibcxx_cv_func__ldexpl_use=no
59636fi
59637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59638      ac_ext=c
59639ac_cpp='$CPP $CPPFLAGS'
59640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59642ac_compiler_gnu=$ac_cv_c_compiler_gnu
59643
59644
59645fi
59646
59647  fi
59648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59649$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59650
59651    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59652      for ac_func in _ldexpl
59653do :
59654  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59655if test "x$ac_cv_func__ldexpl" = xyes; then :
59656  cat >>confdefs.h <<_ACEOF
59657#define HAVE__LDEXPL 1
59658_ACEOF
59659
59660fi
59661done
59662
59663    fi
59664  fi
59665
59666
59667
59668
59669
59670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59671$as_echo_n "checking for logl declaration... " >&6; }
59672  if test x${glibcxx_cv_func_logl_use+set} != xset; then
59673    if ${glibcxx_cv_func_logl_use+:} false; then :
59674  $as_echo_n "(cached) " >&6
59675else
59676
59677
59678      ac_ext=cpp
59679ac_cpp='$CXXCPP $CPPFLAGS'
59680ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59681ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59682ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59683
59684      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59685/* end confdefs.h.  */
59686#include <math.h>
59687		      #ifdef HAVE_IEEEFP_H
59688		      #include <ieeefp.h>
59689		      #endif
59690
59691int
59692main ()
59693{
59694 logl(0);
59695  ;
59696  return 0;
59697}
59698_ACEOF
59699if ac_fn_cxx_try_compile "$LINENO"; then :
59700  glibcxx_cv_func_logl_use=yes
59701else
59702  glibcxx_cv_func_logl_use=no
59703fi
59704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59705      ac_ext=c
59706ac_cpp='$CPP $CPPFLAGS'
59707ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59708ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59709ac_compiler_gnu=$ac_cv_c_compiler_gnu
59710
59711
59712fi
59713
59714  fi
59715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59716$as_echo "$glibcxx_cv_func_logl_use" >&6; }
59717
59718  if test x$glibcxx_cv_func_logl_use = x"yes"; then
59719    for ac_func in logl
59720do :
59721  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59722if test "x$ac_cv_func_logl" = xyes; then :
59723  cat >>confdefs.h <<_ACEOF
59724#define HAVE_LOGL 1
59725_ACEOF
59726
59727fi
59728done
59729
59730  else
59731
59732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59733$as_echo_n "checking for _logl declaration... " >&6; }
59734  if test x${glibcxx_cv_func__logl_use+set} != xset; then
59735    if ${glibcxx_cv_func__logl_use+:} false; then :
59736  $as_echo_n "(cached) " >&6
59737else
59738
59739
59740      ac_ext=cpp
59741ac_cpp='$CXXCPP $CPPFLAGS'
59742ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59743ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59744ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59745
59746      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59747/* end confdefs.h.  */
59748#include <math.h>
59749		      #ifdef HAVE_IEEEFP_H
59750		      #include <ieeefp.h>
59751		      #endif
59752
59753int
59754main ()
59755{
59756 _logl(0);
59757  ;
59758  return 0;
59759}
59760_ACEOF
59761if ac_fn_cxx_try_compile "$LINENO"; then :
59762  glibcxx_cv_func__logl_use=yes
59763else
59764  glibcxx_cv_func__logl_use=no
59765fi
59766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59767      ac_ext=c
59768ac_cpp='$CPP $CPPFLAGS'
59769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59771ac_compiler_gnu=$ac_cv_c_compiler_gnu
59772
59773
59774fi
59775
59776  fi
59777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59778$as_echo "$glibcxx_cv_func__logl_use" >&6; }
59779
59780    if test x$glibcxx_cv_func__logl_use = x"yes"; then
59781      for ac_func in _logl
59782do :
59783  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59784if test "x$ac_cv_func__logl" = xyes; then :
59785  cat >>confdefs.h <<_ACEOF
59786#define HAVE__LOGL 1
59787_ACEOF
59788
59789fi
59790done
59791
59792    fi
59793  fi
59794
59795
59796
59797
59798
59799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59800$as_echo_n "checking for log10l declaration... " >&6; }
59801  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59802    if ${glibcxx_cv_func_log10l_use+:} false; then :
59803  $as_echo_n "(cached) " >&6
59804else
59805
59806
59807      ac_ext=cpp
59808ac_cpp='$CXXCPP $CPPFLAGS'
59809ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59810ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59811ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59812
59813      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59814/* end confdefs.h.  */
59815#include <math.h>
59816		      #ifdef HAVE_IEEEFP_H
59817		      #include <ieeefp.h>
59818		      #endif
59819
59820int
59821main ()
59822{
59823 log10l(0);
59824  ;
59825  return 0;
59826}
59827_ACEOF
59828if ac_fn_cxx_try_compile "$LINENO"; then :
59829  glibcxx_cv_func_log10l_use=yes
59830else
59831  glibcxx_cv_func_log10l_use=no
59832fi
59833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59834      ac_ext=c
59835ac_cpp='$CPP $CPPFLAGS'
59836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59838ac_compiler_gnu=$ac_cv_c_compiler_gnu
59839
59840
59841fi
59842
59843  fi
59844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59845$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59846
59847  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59848    for ac_func in log10l
59849do :
59850  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59851if test "x$ac_cv_func_log10l" = xyes; then :
59852  cat >>confdefs.h <<_ACEOF
59853#define HAVE_LOG10L 1
59854_ACEOF
59855
59856fi
59857done
59858
59859  else
59860
59861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59862$as_echo_n "checking for _log10l declaration... " >&6; }
59863  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59864    if ${glibcxx_cv_func__log10l_use+:} false; then :
59865  $as_echo_n "(cached) " >&6
59866else
59867
59868
59869      ac_ext=cpp
59870ac_cpp='$CXXCPP $CPPFLAGS'
59871ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59872ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59873ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59874
59875      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59876/* end confdefs.h.  */
59877#include <math.h>
59878		      #ifdef HAVE_IEEEFP_H
59879		      #include <ieeefp.h>
59880		      #endif
59881
59882int
59883main ()
59884{
59885 _log10l(0);
59886  ;
59887  return 0;
59888}
59889_ACEOF
59890if ac_fn_cxx_try_compile "$LINENO"; then :
59891  glibcxx_cv_func__log10l_use=yes
59892else
59893  glibcxx_cv_func__log10l_use=no
59894fi
59895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59896      ac_ext=c
59897ac_cpp='$CPP $CPPFLAGS'
59898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59900ac_compiler_gnu=$ac_cv_c_compiler_gnu
59901
59902
59903fi
59904
59905  fi
59906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59907$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59908
59909    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59910      for ac_func in _log10l
59911do :
59912  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59913if test "x$ac_cv_func__log10l" = xyes; then :
59914  cat >>confdefs.h <<_ACEOF
59915#define HAVE__LOG10L 1
59916_ACEOF
59917
59918fi
59919done
59920
59921    fi
59922  fi
59923
59924
59925
59926
59927
59928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59929$as_echo_n "checking for modfl declaration... " >&6; }
59930  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59931    if ${glibcxx_cv_func_modfl_use+:} false; then :
59932  $as_echo_n "(cached) " >&6
59933else
59934
59935
59936      ac_ext=cpp
59937ac_cpp='$CXXCPP $CPPFLAGS'
59938ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59939ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59940ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59941
59942      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59943/* end confdefs.h.  */
59944#include <math.h>
59945int
59946main ()
59947{
59948 modfl(0, 0);
59949  ;
59950  return 0;
59951}
59952_ACEOF
59953if ac_fn_cxx_try_compile "$LINENO"; then :
59954  glibcxx_cv_func_modfl_use=yes
59955else
59956  glibcxx_cv_func_modfl_use=no
59957fi
59958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59959      ac_ext=c
59960ac_cpp='$CPP $CPPFLAGS'
59961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963ac_compiler_gnu=$ac_cv_c_compiler_gnu
59964
59965
59966fi
59967
59968  fi
59969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59970$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59971
59972  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59973    for ac_func in modfl
59974do :
59975  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59976if test "x$ac_cv_func_modfl" = xyes; then :
59977  cat >>confdefs.h <<_ACEOF
59978#define HAVE_MODFL 1
59979_ACEOF
59980
59981fi
59982done
59983
59984  else
59985
59986  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59987$as_echo_n "checking for _modfl declaration... " >&6; }
59988  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59989    if ${glibcxx_cv_func__modfl_use+:} false; then :
59990  $as_echo_n "(cached) " >&6
59991else
59992
59993
59994      ac_ext=cpp
59995ac_cpp='$CXXCPP $CPPFLAGS'
59996ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59999
60000      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60001/* end confdefs.h.  */
60002#include <math.h>
60003int
60004main ()
60005{
60006 _modfl(0, 0);
60007  ;
60008  return 0;
60009}
60010_ACEOF
60011if ac_fn_cxx_try_compile "$LINENO"; then :
60012  glibcxx_cv_func__modfl_use=yes
60013else
60014  glibcxx_cv_func__modfl_use=no
60015fi
60016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60017      ac_ext=c
60018ac_cpp='$CPP $CPPFLAGS'
60019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60021ac_compiler_gnu=$ac_cv_c_compiler_gnu
60022
60023
60024fi
60025
60026  fi
60027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
60028$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
60029
60030    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
60031      for ac_func in _modfl
60032do :
60033  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
60034if test "x$ac_cv_func__modfl" = xyes; then :
60035  cat >>confdefs.h <<_ACEOF
60036#define HAVE__MODFL 1
60037_ACEOF
60038
60039fi
60040done
60041
60042    fi
60043  fi
60044
60045
60046
60047
60048
60049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
60050$as_echo_n "checking for powl declaration... " >&6; }
60051  if test x${glibcxx_cv_func_powl_use+set} != xset; then
60052    if ${glibcxx_cv_func_powl_use+:} false; then :
60053  $as_echo_n "(cached) " >&6
60054else
60055
60056
60057      ac_ext=cpp
60058ac_cpp='$CXXCPP $CPPFLAGS'
60059ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60060ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60061ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60062
60063      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60064/* end confdefs.h.  */
60065#include <math.h>
60066int
60067main ()
60068{
60069 powl(0, 0);
60070  ;
60071  return 0;
60072}
60073_ACEOF
60074if ac_fn_cxx_try_compile "$LINENO"; then :
60075  glibcxx_cv_func_powl_use=yes
60076else
60077  glibcxx_cv_func_powl_use=no
60078fi
60079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60080      ac_ext=c
60081ac_cpp='$CPP $CPPFLAGS'
60082ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60083ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60084ac_compiler_gnu=$ac_cv_c_compiler_gnu
60085
60086
60087fi
60088
60089  fi
60090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
60091$as_echo "$glibcxx_cv_func_powl_use" >&6; }
60092
60093  if test x$glibcxx_cv_func_powl_use = x"yes"; then
60094    for ac_func in powl
60095do :
60096  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
60097if test "x$ac_cv_func_powl" = xyes; then :
60098  cat >>confdefs.h <<_ACEOF
60099#define HAVE_POWL 1
60100_ACEOF
60101
60102fi
60103done
60104
60105  else
60106
60107  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
60108$as_echo_n "checking for _powl declaration... " >&6; }
60109  if test x${glibcxx_cv_func__powl_use+set} != xset; then
60110    if ${glibcxx_cv_func__powl_use+:} false; then :
60111  $as_echo_n "(cached) " >&6
60112else
60113
60114
60115      ac_ext=cpp
60116ac_cpp='$CXXCPP $CPPFLAGS'
60117ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60118ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60119ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60120
60121      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60122/* end confdefs.h.  */
60123#include <math.h>
60124int
60125main ()
60126{
60127 _powl(0, 0);
60128  ;
60129  return 0;
60130}
60131_ACEOF
60132if ac_fn_cxx_try_compile "$LINENO"; then :
60133  glibcxx_cv_func__powl_use=yes
60134else
60135  glibcxx_cv_func__powl_use=no
60136fi
60137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60138      ac_ext=c
60139ac_cpp='$CPP $CPPFLAGS'
60140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60142ac_compiler_gnu=$ac_cv_c_compiler_gnu
60143
60144
60145fi
60146
60147  fi
60148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
60149$as_echo "$glibcxx_cv_func__powl_use" >&6; }
60150
60151    if test x$glibcxx_cv_func__powl_use = x"yes"; then
60152      for ac_func in _powl
60153do :
60154  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
60155if test "x$ac_cv_func__powl" = xyes; then :
60156  cat >>confdefs.h <<_ACEOF
60157#define HAVE__POWL 1
60158_ACEOF
60159
60160fi
60161done
60162
60163    fi
60164  fi
60165
60166
60167
60168
60169
60170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
60171$as_echo_n "checking for sqrtl declaration... " >&6; }
60172  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60173    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
60174  $as_echo_n "(cached) " >&6
60175else
60176
60177
60178      ac_ext=cpp
60179ac_cpp='$CXXCPP $CPPFLAGS'
60180ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60181ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60182ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60183
60184      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60185/* end confdefs.h.  */
60186#include <math.h>
60187		      #ifdef HAVE_IEEEFP_H
60188		      #include <ieeefp.h>
60189		      #endif
60190
60191int
60192main ()
60193{
60194 sqrtl(0);
60195  ;
60196  return 0;
60197}
60198_ACEOF
60199if ac_fn_cxx_try_compile "$LINENO"; then :
60200  glibcxx_cv_func_sqrtl_use=yes
60201else
60202  glibcxx_cv_func_sqrtl_use=no
60203fi
60204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60205      ac_ext=c
60206ac_cpp='$CPP $CPPFLAGS'
60207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60209ac_compiler_gnu=$ac_cv_c_compiler_gnu
60210
60211
60212fi
60213
60214  fi
60215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
60216$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
60217
60218  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60219    for ac_func in sqrtl
60220do :
60221  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
60222if test "x$ac_cv_func_sqrtl" = xyes; then :
60223  cat >>confdefs.h <<_ACEOF
60224#define HAVE_SQRTL 1
60225_ACEOF
60226
60227fi
60228done
60229
60230  else
60231
60232  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
60233$as_echo_n "checking for _sqrtl declaration... " >&6; }
60234  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60235    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
60236  $as_echo_n "(cached) " >&6
60237else
60238
60239
60240      ac_ext=cpp
60241ac_cpp='$CXXCPP $CPPFLAGS'
60242ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60243ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60244ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60245
60246      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60247/* end confdefs.h.  */
60248#include <math.h>
60249		      #ifdef HAVE_IEEEFP_H
60250		      #include <ieeefp.h>
60251		      #endif
60252
60253int
60254main ()
60255{
60256 _sqrtl(0);
60257  ;
60258  return 0;
60259}
60260_ACEOF
60261if ac_fn_cxx_try_compile "$LINENO"; then :
60262  glibcxx_cv_func__sqrtl_use=yes
60263else
60264  glibcxx_cv_func__sqrtl_use=no
60265fi
60266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60267      ac_ext=c
60268ac_cpp='$CPP $CPPFLAGS'
60269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60271ac_compiler_gnu=$ac_cv_c_compiler_gnu
60272
60273
60274fi
60275
60276  fi
60277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
60278$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
60279
60280    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60281      for ac_func in _sqrtl
60282do :
60283  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
60284if test "x$ac_cv_func__sqrtl" = xyes; then :
60285  cat >>confdefs.h <<_ACEOF
60286#define HAVE__SQRTL 1
60287_ACEOF
60288
60289fi
60290done
60291
60292    fi
60293  fi
60294
60295
60296
60297
60298
60299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
60300$as_echo_n "checking for sincosl declaration... " >&6; }
60301  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60302    if ${glibcxx_cv_func_sincosl_use+:} false; then :
60303  $as_echo_n "(cached) " >&6
60304else
60305
60306
60307      ac_ext=cpp
60308ac_cpp='$CXXCPP $CPPFLAGS'
60309ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60310ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60311ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60312
60313      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60314/* end confdefs.h.  */
60315#include <math.h>
60316int
60317main ()
60318{
60319 sincosl(0, 0, 0);
60320  ;
60321  return 0;
60322}
60323_ACEOF
60324if ac_fn_cxx_try_compile "$LINENO"; then :
60325  glibcxx_cv_func_sincosl_use=yes
60326else
60327  glibcxx_cv_func_sincosl_use=no
60328fi
60329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60330      ac_ext=c
60331ac_cpp='$CPP $CPPFLAGS'
60332ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60333ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60334ac_compiler_gnu=$ac_cv_c_compiler_gnu
60335
60336
60337fi
60338
60339  fi
60340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
60341$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
60342
60343  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60344    for ac_func in sincosl
60345do :
60346  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
60347if test "x$ac_cv_func_sincosl" = xyes; then :
60348  cat >>confdefs.h <<_ACEOF
60349#define HAVE_SINCOSL 1
60350_ACEOF
60351
60352fi
60353done
60354
60355  else
60356
60357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
60358$as_echo_n "checking for _sincosl declaration... " >&6; }
60359  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60360    if ${glibcxx_cv_func__sincosl_use+:} false; then :
60361  $as_echo_n "(cached) " >&6
60362else
60363
60364
60365      ac_ext=cpp
60366ac_cpp='$CXXCPP $CPPFLAGS'
60367ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60368ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60369ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60370
60371      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60372/* end confdefs.h.  */
60373#include <math.h>
60374int
60375main ()
60376{
60377 _sincosl(0, 0, 0);
60378  ;
60379  return 0;
60380}
60381_ACEOF
60382if ac_fn_cxx_try_compile "$LINENO"; then :
60383  glibcxx_cv_func__sincosl_use=yes
60384else
60385  glibcxx_cv_func__sincosl_use=no
60386fi
60387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60388      ac_ext=c
60389ac_cpp='$CPP $CPPFLAGS'
60390ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60391ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60392ac_compiler_gnu=$ac_cv_c_compiler_gnu
60393
60394
60395fi
60396
60397  fi
60398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
60399$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
60400
60401    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60402      for ac_func in _sincosl
60403do :
60404  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
60405if test "x$ac_cv_func__sincosl" = xyes; then :
60406  cat >>confdefs.h <<_ACEOF
60407#define HAVE__SINCOSL 1
60408_ACEOF
60409
60410fi
60411done
60412
60413    fi
60414  fi
60415
60416
60417
60418
60419
60420  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
60421$as_echo_n "checking for finitel declaration... " >&6; }
60422  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60423    if ${glibcxx_cv_func_finitel_use+:} false; then :
60424  $as_echo_n "(cached) " >&6
60425else
60426
60427
60428      ac_ext=cpp
60429ac_cpp='$CXXCPP $CPPFLAGS'
60430ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60431ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60432ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60433
60434      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60435/* end confdefs.h.  */
60436#include <math.h>
60437		      #ifdef HAVE_IEEEFP_H
60438		      #include <ieeefp.h>
60439		      #endif
60440
60441int
60442main ()
60443{
60444 finitel(0);
60445  ;
60446  return 0;
60447}
60448_ACEOF
60449if ac_fn_cxx_try_compile "$LINENO"; then :
60450  glibcxx_cv_func_finitel_use=yes
60451else
60452  glibcxx_cv_func_finitel_use=no
60453fi
60454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60455      ac_ext=c
60456ac_cpp='$CPP $CPPFLAGS'
60457ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60458ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60459ac_compiler_gnu=$ac_cv_c_compiler_gnu
60460
60461
60462fi
60463
60464  fi
60465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60466$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60467
60468  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60469    for ac_func in finitel
60470do :
60471  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60472if test "x$ac_cv_func_finitel" = xyes; then :
60473  cat >>confdefs.h <<_ACEOF
60474#define HAVE_FINITEL 1
60475_ACEOF
60476
60477fi
60478done
60479
60480  else
60481
60482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60483$as_echo_n "checking for _finitel declaration... " >&6; }
60484  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60485    if ${glibcxx_cv_func__finitel_use+:} false; then :
60486  $as_echo_n "(cached) " >&6
60487else
60488
60489
60490      ac_ext=cpp
60491ac_cpp='$CXXCPP $CPPFLAGS'
60492ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60493ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60494ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60495
60496      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60497/* end confdefs.h.  */
60498#include <math.h>
60499		      #ifdef HAVE_IEEEFP_H
60500		      #include <ieeefp.h>
60501		      #endif
60502
60503int
60504main ()
60505{
60506 _finitel(0);
60507  ;
60508  return 0;
60509}
60510_ACEOF
60511if ac_fn_cxx_try_compile "$LINENO"; then :
60512  glibcxx_cv_func__finitel_use=yes
60513else
60514  glibcxx_cv_func__finitel_use=no
60515fi
60516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60517      ac_ext=c
60518ac_cpp='$CPP $CPPFLAGS'
60519ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60520ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60521ac_compiler_gnu=$ac_cv_c_compiler_gnu
60522
60523
60524fi
60525
60526  fi
60527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60528$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60529
60530    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60531      for ac_func in _finitel
60532do :
60533  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60534if test "x$ac_cv_func__finitel" = xyes; then :
60535  cat >>confdefs.h <<_ACEOF
60536#define HAVE__FINITEL 1
60537_ACEOF
60538
60539fi
60540done
60541
60542    fi
60543  fi
60544
60545
60546
60547
60548  LIBS="$ac_save_LIBS"
60549  CXXFLAGS="$ac_save_CXXFLAGS"
60550
60551
60552  ac_test_CXXFLAGS="${CXXFLAGS+set}"
60553  ac_save_CXXFLAGS="$CXXFLAGS"
60554  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60555
60556
60557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60558$as_echo_n "checking for at_quick_exit declaration... " >&6; }
60559  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60560    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60561  $as_echo_n "(cached) " >&6
60562else
60563
60564
60565      ac_ext=cpp
60566ac_cpp='$CXXCPP $CPPFLAGS'
60567ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60568ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60569ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60570
60571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60572/* end confdefs.h.  */
60573#include <stdlib.h>
60574int
60575main ()
60576{
60577 at_quick_exit(0);
60578  ;
60579  return 0;
60580}
60581_ACEOF
60582if ac_fn_cxx_try_compile "$LINENO"; then :
60583  glibcxx_cv_func_at_quick_exit_use=yes
60584else
60585  glibcxx_cv_func_at_quick_exit_use=no
60586fi
60587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60588      ac_ext=c
60589ac_cpp='$CPP $CPPFLAGS'
60590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60592ac_compiler_gnu=$ac_cv_c_compiler_gnu
60593
60594
60595fi
60596
60597  fi
60598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60599$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60600  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60601    for ac_func in at_quick_exit
60602do :
60603  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60604if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60605  cat >>confdefs.h <<_ACEOF
60606#define HAVE_AT_QUICK_EXIT 1
60607_ACEOF
60608
60609fi
60610done
60611
60612  fi
60613
60614
60615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60616$as_echo_n "checking for quick_exit declaration... " >&6; }
60617  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60618    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60619  $as_echo_n "(cached) " >&6
60620else
60621
60622
60623      ac_ext=cpp
60624ac_cpp='$CXXCPP $CPPFLAGS'
60625ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60626ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60627ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60628
60629      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60630/* end confdefs.h.  */
60631#include <stdlib.h>
60632int
60633main ()
60634{
60635 quick_exit(0);
60636  ;
60637  return 0;
60638}
60639_ACEOF
60640if ac_fn_cxx_try_compile "$LINENO"; then :
60641  glibcxx_cv_func_quick_exit_use=yes
60642else
60643  glibcxx_cv_func_quick_exit_use=no
60644fi
60645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60646      ac_ext=c
60647ac_cpp='$CPP $CPPFLAGS'
60648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60650ac_compiler_gnu=$ac_cv_c_compiler_gnu
60651
60652
60653fi
60654
60655  fi
60656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60657$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60658  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60659    for ac_func in quick_exit
60660do :
60661  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60662if test "x$ac_cv_func_quick_exit" = xyes; then :
60663  cat >>confdefs.h <<_ACEOF
60664#define HAVE_QUICK_EXIT 1
60665_ACEOF
60666
60667fi
60668done
60669
60670  fi
60671
60672
60673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60674$as_echo_n "checking for strtold declaration... " >&6; }
60675  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60676    if ${glibcxx_cv_func_strtold_use+:} false; then :
60677  $as_echo_n "(cached) " >&6
60678else
60679
60680
60681      ac_ext=cpp
60682ac_cpp='$CXXCPP $CPPFLAGS'
60683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60686
60687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60688/* end confdefs.h.  */
60689#include <stdlib.h>
60690int
60691main ()
60692{
60693 strtold(0, 0);
60694  ;
60695  return 0;
60696}
60697_ACEOF
60698if ac_fn_cxx_try_compile "$LINENO"; then :
60699  glibcxx_cv_func_strtold_use=yes
60700else
60701  glibcxx_cv_func_strtold_use=no
60702fi
60703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60704      ac_ext=c
60705ac_cpp='$CPP $CPPFLAGS'
60706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60708ac_compiler_gnu=$ac_cv_c_compiler_gnu
60709
60710
60711fi
60712
60713  fi
60714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60715$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60716  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60717    for ac_func in strtold
60718do :
60719  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60720if test "x$ac_cv_func_strtold" = xyes; then :
60721  cat >>confdefs.h <<_ACEOF
60722#define HAVE_STRTOLD 1
60723_ACEOF
60724
60725fi
60726done
60727
60728  fi
60729
60730
60731
60732
60733  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60734$as_echo_n "checking for strtof declaration... " >&6; }
60735  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60736    if ${glibcxx_cv_func_strtof_use+:} false; then :
60737  $as_echo_n "(cached) " >&6
60738else
60739
60740
60741      ac_ext=cpp
60742ac_cpp='$CXXCPP $CPPFLAGS'
60743ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60744ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60745ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60746
60747      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60748/* end confdefs.h.  */
60749#include <stdlib.h>
60750int
60751main ()
60752{
60753 strtof(0, 0);
60754  ;
60755  return 0;
60756}
60757_ACEOF
60758if ac_fn_cxx_try_compile "$LINENO"; then :
60759  glibcxx_cv_func_strtof_use=yes
60760else
60761  glibcxx_cv_func_strtof_use=no
60762fi
60763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60764      ac_ext=c
60765ac_cpp='$CPP $CPPFLAGS'
60766ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60767ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60768ac_compiler_gnu=$ac_cv_c_compiler_gnu
60769
60770
60771fi
60772
60773  fi
60774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60775$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60776  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60777    for ac_func in strtof
60778do :
60779  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60780if test "x$ac_cv_func_strtof" = xyes; then :
60781  cat >>confdefs.h <<_ACEOF
60782#define HAVE_STRTOF 1
60783_ACEOF
60784
60785fi
60786done
60787
60788  fi
60789
60790
60791
60792
60793  CXXFLAGS="$ac_save_CXXFLAGS"
60794
60795    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60796do :
60797  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60798ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60799if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60800  cat >>confdefs.h <<_ACEOF
60801#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60802_ACEOF
60803
60804fi
60805done
60806
60807    for ac_func in _wfopen
60808do :
60809  ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60810if test "x$ac_cv_func__wfopen" = xyes; then :
60811  cat >>confdefs.h <<_ACEOF
60812#define HAVE__WFOPEN 1
60813_ACEOF
60814
60815fi
60816done
60817
60818    ;;
60819  *-netbsd* | *-openbsd*)
60820    SECTION_FLAGS='-ffunction-sections -fdata-sections'
60821
60822
60823  # If we're not using GNU ld, then there's no point in even trying these
60824  # tests.  Check for that first.  We should have already tested for gld
60825  # by now (in libtool), but require it now just to be safe...
60826  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60827  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60828
60829
60830
60831  # The name set by libtool depends on the version of libtool.  Shame on us
60832  # for depending on an impl detail, but c'est la vie.  Older versions used
60833  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60834  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60835  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60836  # set (hence we're using an older libtool), then set it.
60837  if test x${with_gnu_ld+set} != xset; then
60838    if test x${ac_cv_prog_gnu_ld+set} != xset; then
60839      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60840      with_gnu_ld=no
60841    else
60842      with_gnu_ld=$ac_cv_prog_gnu_ld
60843    fi
60844  fi
60845
60846  # Start by getting the version number.  I think the libtool test already
60847  # does some of this, but throws away the result.
60848  glibcxx_ld_is_gold=no
60849  if test x"$with_gnu_ld" = x"yes"; then
60850    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60851$as_echo_n "checking for ld version... " >&6; }
60852
60853    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60854      glibcxx_ld_is_gold=yes
60855    fi
60856    ldver=`$LD --version 2>/dev/null |
60857	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60858
60859    glibcxx_gnu_ld_version=`echo $ldver | \
60860	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60861    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60862$as_echo "$glibcxx_gnu_ld_version" >&6; }
60863  fi
60864
60865  # Set --gc-sections.
60866  glibcxx_have_gc_sections=no
60867  if test "$glibcxx_ld_is_gold" = "yes"; then
60868    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60869      glibcxx_have_gc_sections=yes
60870    fi
60871  else
60872    glibcxx_gcsections_min_ld=21602
60873    if test x"$with_gnu_ld" = x"yes" &&
60874	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60875      glibcxx_have_gc_sections=yes
60876    fi
60877  fi
60878  if test "$glibcxx_have_gc_sections" = "yes"; then
60879    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60880    # NB: This flag only works reliably after 2.16.1. Configure tests
60881    # for this are difficult, so hard wire a value that should work.
60882
60883    ac_test_CFLAGS="${CFLAGS+set}"
60884    ac_save_CFLAGS="$CFLAGS"
60885    CFLAGS='-Wl,--gc-sections'
60886
60887    # Check for -Wl,--gc-sections
60888    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60889$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60890    if test x$gcc_no_link = xyes; then
60891  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60892fi
60893cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60894/* end confdefs.h.  */
60895 int one(void) { return 1; }
60896     int two(void) { return 2; }
60897
60898int
60899main ()
60900{
60901 two();
60902  ;
60903  return 0;
60904}
60905_ACEOF
60906if ac_fn_c_try_link "$LINENO"; then :
60907  ac_gcsections=yes
60908else
60909  ac_gcsections=no
60910fi
60911rm -f core conftest.err conftest.$ac_objext \
60912    conftest$ac_exeext conftest.$ac_ext
60913    if test "$ac_gcsections" = "yes"; then
60914      rm -f conftest.c
60915      touch conftest.c
60916      if $CC -c conftest.c; then
60917	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60918	   grep "Warning: gc-sections option ignored" > /dev/null; then
60919	  ac_gcsections=no
60920	fi
60921      fi
60922      rm -f conftest.c conftest.o conftest
60923    fi
60924    if test "$ac_gcsections" = "yes"; then
60925      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60926    fi
60927    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60928$as_echo "$ac_gcsections" >&6; }
60929
60930    if test "$ac_test_CFLAGS" = set; then
60931      CFLAGS="$ac_save_CFLAGS"
60932    else
60933      # this is the suspicious part
60934      CFLAGS=''
60935    fi
60936  fi
60937
60938  # Set -z,relro.
60939  # Note this is only for shared objects.
60940  ac_ld_relro=no
60941  if test x"$with_gnu_ld" = x"yes"; then
60942    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60943$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60944    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60945    if test -n "$cxx_z_relo"; then
60946      OPT_LDFLAGS="-Wl,-z,relro"
60947      ac_ld_relro=yes
60948    fi
60949    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60950$as_echo "$ac_ld_relro" >&6; }
60951  fi
60952
60953  # Set linker optimization flags.
60954  if test x"$with_gnu_ld" = x"yes"; then
60955    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60956  fi
60957
60958
60959
60960
60961    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60962
60963    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60964
60965    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60966
60967    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60968
60969    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60970
60971    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60972
60973    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60974
60975    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60976
60977    if test x"long_double_math_on_this_cpu" = x"yes"; then
60978      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60979
60980      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60981
60982      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60983
60984    fi
60985    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60986do :
60987  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60988ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60989if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60990  cat >>confdefs.h <<_ACEOF
60991#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60992_ACEOF
60993
60994fi
60995done
60996
60997    for ac_func in timespec_get
60998do :
60999  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
61000if test "x$ac_cv_func_timespec_get" = xyes; then :
61001  cat >>confdefs.h <<_ACEOF
61002#define HAVE_TIMESPEC_GET 1
61003_ACEOF
61004
61005fi
61006done
61007
61008    for ac_func in sockatmark
61009do :
61010  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
61011if test "x$ac_cv_func_sockatmark" = xyes; then :
61012  cat >>confdefs.h <<_ACEOF
61013#define HAVE_SOCKATMARK 1
61014_ACEOF
61015
61016fi
61017done
61018
61019    ;;
61020  *-qnx6.1* | *-qnx6.2*)
61021    SECTION_FLAGS='-ffunction-sections -fdata-sections'
61022
61023
61024  # If we're not using GNU ld, then there's no point in even trying these
61025  # tests.  Check for that first.  We should have already tested for gld
61026  # by now (in libtool), but require it now just to be safe...
61027  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61028  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61029
61030
61031
61032  # The name set by libtool depends on the version of libtool.  Shame on us
61033  # for depending on an impl detail, but c'est la vie.  Older versions used
61034  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61035  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61036  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
61037  # set (hence we're using an older libtool), then set it.
61038  if test x${with_gnu_ld+set} != xset; then
61039    if test x${ac_cv_prog_gnu_ld+set} != xset; then
61040      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
61041      with_gnu_ld=no
61042    else
61043      with_gnu_ld=$ac_cv_prog_gnu_ld
61044    fi
61045  fi
61046
61047  # Start by getting the version number.  I think the libtool test already
61048  # does some of this, but throws away the result.
61049  glibcxx_ld_is_gold=no
61050  if test x"$with_gnu_ld" = x"yes"; then
61051    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61052$as_echo_n "checking for ld version... " >&6; }
61053
61054    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61055      glibcxx_ld_is_gold=yes
61056    fi
61057    ldver=`$LD --version 2>/dev/null |
61058	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61059
61060    glibcxx_gnu_ld_version=`echo $ldver | \
61061	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61062    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61063$as_echo "$glibcxx_gnu_ld_version" >&6; }
61064  fi
61065
61066  # Set --gc-sections.
61067  glibcxx_have_gc_sections=no
61068  if test "$glibcxx_ld_is_gold" = "yes"; then
61069    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61070      glibcxx_have_gc_sections=yes
61071    fi
61072  else
61073    glibcxx_gcsections_min_ld=21602
61074    if test x"$with_gnu_ld" = x"yes" &&
61075	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61076      glibcxx_have_gc_sections=yes
61077    fi
61078  fi
61079  if test "$glibcxx_have_gc_sections" = "yes"; then
61080    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
61081    # NB: This flag only works reliably after 2.16.1. Configure tests
61082    # for this are difficult, so hard wire a value that should work.
61083
61084    ac_test_CFLAGS="${CFLAGS+set}"
61085    ac_save_CFLAGS="$CFLAGS"
61086    CFLAGS='-Wl,--gc-sections'
61087
61088    # Check for -Wl,--gc-sections
61089    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61090$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61091    if test x$gcc_no_link = xyes; then
61092  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61093fi
61094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61095/* end confdefs.h.  */
61096 int one(void) { return 1; }
61097     int two(void) { return 2; }
61098
61099int
61100main ()
61101{
61102 two();
61103  ;
61104  return 0;
61105}
61106_ACEOF
61107if ac_fn_c_try_link "$LINENO"; then :
61108  ac_gcsections=yes
61109else
61110  ac_gcsections=no
61111fi
61112rm -f core conftest.err conftest.$ac_objext \
61113    conftest$ac_exeext conftest.$ac_ext
61114    if test "$ac_gcsections" = "yes"; then
61115      rm -f conftest.c
61116      touch conftest.c
61117      if $CC -c conftest.c; then
61118	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61119	   grep "Warning: gc-sections option ignored" > /dev/null; then
61120	  ac_gcsections=no
61121	fi
61122      fi
61123      rm -f conftest.c conftest.o conftest
61124    fi
61125    if test "$ac_gcsections" = "yes"; then
61126      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61127    fi
61128    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61129$as_echo "$ac_gcsections" >&6; }
61130
61131    if test "$ac_test_CFLAGS" = set; then
61132      CFLAGS="$ac_save_CFLAGS"
61133    else
61134      # this is the suspicious part
61135      CFLAGS=''
61136    fi
61137  fi
61138
61139  # Set -z,relro.
61140  # Note this is only for shared objects.
61141  ac_ld_relro=no
61142  if test x"$with_gnu_ld" = x"yes"; then
61143    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61144$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61145    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61146    if test -n "$cxx_z_relo"; then
61147      OPT_LDFLAGS="-Wl,-z,relro"
61148      ac_ld_relro=yes
61149    fi
61150    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61151$as_echo "$ac_ld_relro" >&6; }
61152  fi
61153
61154  # Set linker optimization flags.
61155  if test x"$with_gnu_ld" = x"yes"; then
61156    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61157  fi
61158
61159
61160
61161
61162    $as_echo "#define HAVE_COSF 1" >>confdefs.h
61163
61164    $as_echo "#define HAVE_COSL 1" >>confdefs.h
61165
61166    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
61167
61168    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
61169
61170    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
61171
61172    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
61173
61174    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
61175
61176    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
61177
61178    $as_echo "#define HAVE_SINF 1" >>confdefs.h
61179
61180    $as_echo "#define HAVE_SINL 1" >>confdefs.h
61181
61182    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
61183
61184    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
61185
61186    ;;
61187  *-rtems*)
61188
61189  # All these tests are for C++; save the language and the compiler flags.
61190  # The CXXFLAGS thing is suspicious, but based on similar bits previously
61191  # found in GLIBCXX_CONFIGURE.
61192
61193  ac_ext=cpp
61194ac_cpp='$CXXCPP $CPPFLAGS'
61195ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61196ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61197ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61198
61199  ac_test_CXXFLAGS="${CXXFLAGS+set}"
61200  ac_save_CXXFLAGS="$CXXFLAGS"
61201
61202  # Check for -ffunction-sections -fdata-sections
61203  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
61204$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
61205  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
61206  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61207/* end confdefs.h.  */
61208int foo; void bar() { };
61209int
61210main ()
61211{
61212
61213  ;
61214  return 0;
61215}
61216_ACEOF
61217if ac_fn_cxx_try_compile "$LINENO"; then :
61218  ac_fdsections=yes
61219else
61220  ac_fdsections=no
61221fi
61222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61223  if test "$ac_test_CXXFLAGS" = set; then
61224    CXXFLAGS="$ac_save_CXXFLAGS"
61225  else
61226    # this is the suspicious part
61227    CXXFLAGS=''
61228  fi
61229  if test x"$ac_fdsections" = x"yes"; then
61230    SECTION_FLAGS='-ffunction-sections -fdata-sections'
61231  fi
61232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
61233$as_echo "$ac_fdsections" >&6; }
61234
61235  ac_ext=c
61236ac_cpp='$CPP $CPPFLAGS'
61237ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61238ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61239ac_compiler_gnu=$ac_cv_c_compiler_gnu
61240
61241
61242
61243
61244  # If we're not using GNU ld, then there's no point in even trying these
61245  # tests.  Check for that first.  We should have already tested for gld
61246  # by now (in libtool), but require it now just to be safe...
61247  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61248  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61249
61250
61251
61252  # The name set by libtool depends on the version of libtool.  Shame on us
61253  # for depending on an impl detail, but c'est la vie.  Older versions used
61254  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61255  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61256  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
61257  # set (hence we're using an older libtool), then set it.
61258  if test x${with_gnu_ld+set} != xset; then
61259    if test x${ac_cv_prog_gnu_ld+set} != xset; then
61260      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
61261      with_gnu_ld=no
61262    else
61263      with_gnu_ld=$ac_cv_prog_gnu_ld
61264    fi
61265  fi
61266
61267  # Start by getting the version number.  I think the libtool test already
61268  # does some of this, but throws away the result.
61269  glibcxx_ld_is_gold=no
61270  if test x"$with_gnu_ld" = x"yes"; then
61271    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61272$as_echo_n "checking for ld version... " >&6; }
61273
61274    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61275      glibcxx_ld_is_gold=yes
61276    fi
61277    ldver=`$LD --version 2>/dev/null |
61278	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61279
61280    glibcxx_gnu_ld_version=`echo $ldver | \
61281	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61282    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61283$as_echo "$glibcxx_gnu_ld_version" >&6; }
61284  fi
61285
61286  # Set --gc-sections.
61287  glibcxx_have_gc_sections=no
61288  if test "$glibcxx_ld_is_gold" = "yes"; then
61289    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61290      glibcxx_have_gc_sections=yes
61291    fi
61292  else
61293    glibcxx_gcsections_min_ld=21602
61294    if test x"$with_gnu_ld" = x"yes" &&
61295	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61296      glibcxx_have_gc_sections=yes
61297    fi
61298  fi
61299  if test "$glibcxx_have_gc_sections" = "yes"; then
61300    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
61301    # NB: This flag only works reliably after 2.16.1. Configure tests
61302    # for this are difficult, so hard wire a value that should work.
61303
61304    ac_test_CFLAGS="${CFLAGS+set}"
61305    ac_save_CFLAGS="$CFLAGS"
61306    CFLAGS='-Wl,--gc-sections'
61307
61308    # Check for -Wl,--gc-sections
61309    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61310$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61311    if test x$gcc_no_link = xyes; then
61312  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61313fi
61314cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61315/* end confdefs.h.  */
61316 int one(void) { return 1; }
61317     int two(void) { return 2; }
61318
61319int
61320main ()
61321{
61322 two();
61323  ;
61324  return 0;
61325}
61326_ACEOF
61327if ac_fn_c_try_link "$LINENO"; then :
61328  ac_gcsections=yes
61329else
61330  ac_gcsections=no
61331fi
61332rm -f core conftest.err conftest.$ac_objext \
61333    conftest$ac_exeext conftest.$ac_ext
61334    if test "$ac_gcsections" = "yes"; then
61335      rm -f conftest.c
61336      touch conftest.c
61337      if $CC -c conftest.c; then
61338	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61339	   grep "Warning: gc-sections option ignored" > /dev/null; then
61340	  ac_gcsections=no
61341	fi
61342      fi
61343      rm -f conftest.c conftest.o conftest
61344    fi
61345    if test "$ac_gcsections" = "yes"; then
61346      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61347    fi
61348    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61349$as_echo "$ac_gcsections" >&6; }
61350
61351    if test "$ac_test_CFLAGS" = set; then
61352      CFLAGS="$ac_save_CFLAGS"
61353    else
61354      # this is the suspicious part
61355      CFLAGS=''
61356    fi
61357  fi
61358
61359  # Set -z,relro.
61360  # Note this is only for shared objects.
61361  ac_ld_relro=no
61362  if test x"$with_gnu_ld" = x"yes"; then
61363    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61364$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61365    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61366    if test -n "$cxx_z_relo"; then
61367      OPT_LDFLAGS="-Wl,-z,relro"
61368      ac_ld_relro=yes
61369    fi
61370    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61371$as_echo "$ac_ld_relro" >&6; }
61372  fi
61373
61374  # Set linker optimization flags.
61375  if test x"$with_gnu_ld" = x"yes"; then
61376    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61377  fi
61378
61379
61380
61381
61382
61383  ac_test_CXXFLAGS="${CXXFLAGS+set}"
61384  ac_save_CXXFLAGS="$CXXFLAGS"
61385  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61386
61387    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61388$as_echo_n "checking for sin in -lm... " >&6; }
61389if ${ac_cv_lib_m_sin+:} false; then :
61390  $as_echo_n "(cached) " >&6
61391else
61392  ac_check_lib_save_LIBS=$LIBS
61393LIBS="-lm  $LIBS"
61394if test x$gcc_no_link = xyes; then
61395  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61396fi
61397cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61398/* end confdefs.h.  */
61399
61400/* Override any GCC internal prototype to avoid an error.
61401   Use char because int might match the return type of a GCC
61402   builtin and then its argument prototype would still apply.  */
61403#ifdef __cplusplus
61404extern "C"
61405#endif
61406char sin ();
61407int
61408main ()
61409{
61410return sin ();
61411  ;
61412  return 0;
61413}
61414_ACEOF
61415if ac_fn_c_try_link "$LINENO"; then :
61416  ac_cv_lib_m_sin=yes
61417else
61418  ac_cv_lib_m_sin=no
61419fi
61420rm -f core conftest.err conftest.$ac_objext \
61421    conftest$ac_exeext conftest.$ac_ext
61422LIBS=$ac_check_lib_save_LIBS
61423fi
61424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61425$as_echo "$ac_cv_lib_m_sin" >&6; }
61426if test "x$ac_cv_lib_m_sin" = xyes; then :
61427  libm="-lm"
61428fi
61429
61430  ac_save_LIBS="$LIBS"
61431  LIBS="$LIBS $libm"
61432
61433
61434
61435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61436$as_echo_n "checking for isinf declaration... " >&6; }
61437  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61438    if ${glibcxx_cv_func_isinf_use+:} false; then :
61439  $as_echo_n "(cached) " >&6
61440else
61441
61442
61443      ac_ext=cpp
61444ac_cpp='$CXXCPP $CPPFLAGS'
61445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61448
61449      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61450/* end confdefs.h.  */
61451#include <math.h>
61452		      #ifdef HAVE_IEEEFP_H
61453		      #include <ieeefp.h>
61454		      #endif
61455
61456int
61457main ()
61458{
61459 isinf(0);
61460  ;
61461  return 0;
61462}
61463_ACEOF
61464if ac_fn_cxx_try_compile "$LINENO"; then :
61465  glibcxx_cv_func_isinf_use=yes
61466else
61467  glibcxx_cv_func_isinf_use=no
61468fi
61469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61470      ac_ext=c
61471ac_cpp='$CPP $CPPFLAGS'
61472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61474ac_compiler_gnu=$ac_cv_c_compiler_gnu
61475
61476
61477fi
61478
61479  fi
61480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61481$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61482
61483  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61484    for ac_func in isinf
61485do :
61486  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61487if test "x$ac_cv_func_isinf" = xyes; then :
61488  cat >>confdefs.h <<_ACEOF
61489#define HAVE_ISINF 1
61490_ACEOF
61491
61492fi
61493done
61494
61495  else
61496
61497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61498$as_echo_n "checking for _isinf declaration... " >&6; }
61499  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61500    if ${glibcxx_cv_func__isinf_use+:} false; then :
61501  $as_echo_n "(cached) " >&6
61502else
61503
61504
61505      ac_ext=cpp
61506ac_cpp='$CXXCPP $CPPFLAGS'
61507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61510
61511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61512/* end confdefs.h.  */
61513#include <math.h>
61514		      #ifdef HAVE_IEEEFP_H
61515		      #include <ieeefp.h>
61516		      #endif
61517
61518int
61519main ()
61520{
61521 _isinf(0);
61522  ;
61523  return 0;
61524}
61525_ACEOF
61526if ac_fn_cxx_try_compile "$LINENO"; then :
61527  glibcxx_cv_func__isinf_use=yes
61528else
61529  glibcxx_cv_func__isinf_use=no
61530fi
61531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61532      ac_ext=c
61533ac_cpp='$CPP $CPPFLAGS'
61534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61536ac_compiler_gnu=$ac_cv_c_compiler_gnu
61537
61538
61539fi
61540
61541  fi
61542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61543$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61544
61545    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61546      for ac_func in _isinf
61547do :
61548  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61549if test "x$ac_cv_func__isinf" = xyes; then :
61550  cat >>confdefs.h <<_ACEOF
61551#define HAVE__ISINF 1
61552_ACEOF
61553
61554fi
61555done
61556
61557    fi
61558  fi
61559
61560
61561
61562
61563
61564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61565$as_echo_n "checking for isnan declaration... " >&6; }
61566  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61567    if ${glibcxx_cv_func_isnan_use+:} false; then :
61568  $as_echo_n "(cached) " >&6
61569else
61570
61571
61572      ac_ext=cpp
61573ac_cpp='$CXXCPP $CPPFLAGS'
61574ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61575ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61576ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61577
61578      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61579/* end confdefs.h.  */
61580#include <math.h>
61581		      #ifdef HAVE_IEEEFP_H
61582		      #include <ieeefp.h>
61583		      #endif
61584
61585int
61586main ()
61587{
61588 isnan(0);
61589  ;
61590  return 0;
61591}
61592_ACEOF
61593if ac_fn_cxx_try_compile "$LINENO"; then :
61594  glibcxx_cv_func_isnan_use=yes
61595else
61596  glibcxx_cv_func_isnan_use=no
61597fi
61598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61599      ac_ext=c
61600ac_cpp='$CPP $CPPFLAGS'
61601ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61602ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61603ac_compiler_gnu=$ac_cv_c_compiler_gnu
61604
61605
61606fi
61607
61608  fi
61609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61610$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61611
61612  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61613    for ac_func in isnan
61614do :
61615  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61616if test "x$ac_cv_func_isnan" = xyes; then :
61617  cat >>confdefs.h <<_ACEOF
61618#define HAVE_ISNAN 1
61619_ACEOF
61620
61621fi
61622done
61623
61624  else
61625
61626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61627$as_echo_n "checking for _isnan declaration... " >&6; }
61628  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61629    if ${glibcxx_cv_func__isnan_use+:} false; then :
61630  $as_echo_n "(cached) " >&6
61631else
61632
61633
61634      ac_ext=cpp
61635ac_cpp='$CXXCPP $CPPFLAGS'
61636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61639
61640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61641/* end confdefs.h.  */
61642#include <math.h>
61643		      #ifdef HAVE_IEEEFP_H
61644		      #include <ieeefp.h>
61645		      #endif
61646
61647int
61648main ()
61649{
61650 _isnan(0);
61651  ;
61652  return 0;
61653}
61654_ACEOF
61655if ac_fn_cxx_try_compile "$LINENO"; then :
61656  glibcxx_cv_func__isnan_use=yes
61657else
61658  glibcxx_cv_func__isnan_use=no
61659fi
61660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61661      ac_ext=c
61662ac_cpp='$CPP $CPPFLAGS'
61663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61665ac_compiler_gnu=$ac_cv_c_compiler_gnu
61666
61667
61668fi
61669
61670  fi
61671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61672$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61673
61674    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61675      for ac_func in _isnan
61676do :
61677  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61678if test "x$ac_cv_func__isnan" = xyes; then :
61679  cat >>confdefs.h <<_ACEOF
61680#define HAVE__ISNAN 1
61681_ACEOF
61682
61683fi
61684done
61685
61686    fi
61687  fi
61688
61689
61690
61691
61692
61693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61694$as_echo_n "checking for finite declaration... " >&6; }
61695  if test x${glibcxx_cv_func_finite_use+set} != xset; then
61696    if ${glibcxx_cv_func_finite_use+:} false; then :
61697  $as_echo_n "(cached) " >&6
61698else
61699
61700
61701      ac_ext=cpp
61702ac_cpp='$CXXCPP $CPPFLAGS'
61703ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61704ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61705ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61706
61707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61708/* end confdefs.h.  */
61709#include <math.h>
61710		      #ifdef HAVE_IEEEFP_H
61711		      #include <ieeefp.h>
61712		      #endif
61713
61714int
61715main ()
61716{
61717 finite(0);
61718  ;
61719  return 0;
61720}
61721_ACEOF
61722if ac_fn_cxx_try_compile "$LINENO"; then :
61723  glibcxx_cv_func_finite_use=yes
61724else
61725  glibcxx_cv_func_finite_use=no
61726fi
61727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61728      ac_ext=c
61729ac_cpp='$CPP $CPPFLAGS'
61730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61732ac_compiler_gnu=$ac_cv_c_compiler_gnu
61733
61734
61735fi
61736
61737  fi
61738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61739$as_echo "$glibcxx_cv_func_finite_use" >&6; }
61740
61741  if test x$glibcxx_cv_func_finite_use = x"yes"; then
61742    for ac_func in finite
61743do :
61744  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61745if test "x$ac_cv_func_finite" = xyes; then :
61746  cat >>confdefs.h <<_ACEOF
61747#define HAVE_FINITE 1
61748_ACEOF
61749
61750fi
61751done
61752
61753  else
61754
61755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61756$as_echo_n "checking for _finite declaration... " >&6; }
61757  if test x${glibcxx_cv_func__finite_use+set} != xset; then
61758    if ${glibcxx_cv_func__finite_use+:} false; then :
61759  $as_echo_n "(cached) " >&6
61760else
61761
61762
61763      ac_ext=cpp
61764ac_cpp='$CXXCPP $CPPFLAGS'
61765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61768
61769      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61770/* end confdefs.h.  */
61771#include <math.h>
61772		      #ifdef HAVE_IEEEFP_H
61773		      #include <ieeefp.h>
61774		      #endif
61775
61776int
61777main ()
61778{
61779 _finite(0);
61780  ;
61781  return 0;
61782}
61783_ACEOF
61784if ac_fn_cxx_try_compile "$LINENO"; then :
61785  glibcxx_cv_func__finite_use=yes
61786else
61787  glibcxx_cv_func__finite_use=no
61788fi
61789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61790      ac_ext=c
61791ac_cpp='$CPP $CPPFLAGS'
61792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61794ac_compiler_gnu=$ac_cv_c_compiler_gnu
61795
61796
61797fi
61798
61799  fi
61800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61801$as_echo "$glibcxx_cv_func__finite_use" >&6; }
61802
61803    if test x$glibcxx_cv_func__finite_use = x"yes"; then
61804      for ac_func in _finite
61805do :
61806  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61807if test "x$ac_cv_func__finite" = xyes; then :
61808  cat >>confdefs.h <<_ACEOF
61809#define HAVE__FINITE 1
61810_ACEOF
61811
61812fi
61813done
61814
61815    fi
61816  fi
61817
61818
61819
61820
61821
61822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61823$as_echo_n "checking for sincos declaration... " >&6; }
61824  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61825    if ${glibcxx_cv_func_sincos_use+:} false; then :
61826  $as_echo_n "(cached) " >&6
61827else
61828
61829
61830      ac_ext=cpp
61831ac_cpp='$CXXCPP $CPPFLAGS'
61832ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61833ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61834ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61835
61836      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61837/* end confdefs.h.  */
61838#include <math.h>
61839int
61840main ()
61841{
61842 sincos(0, 0, 0);
61843  ;
61844  return 0;
61845}
61846_ACEOF
61847if ac_fn_cxx_try_compile "$LINENO"; then :
61848  glibcxx_cv_func_sincos_use=yes
61849else
61850  glibcxx_cv_func_sincos_use=no
61851fi
61852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61853      ac_ext=c
61854ac_cpp='$CPP $CPPFLAGS'
61855ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61856ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61857ac_compiler_gnu=$ac_cv_c_compiler_gnu
61858
61859
61860fi
61861
61862  fi
61863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61864$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61865
61866  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61867    for ac_func in sincos
61868do :
61869  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61870if test "x$ac_cv_func_sincos" = xyes; then :
61871  cat >>confdefs.h <<_ACEOF
61872#define HAVE_SINCOS 1
61873_ACEOF
61874
61875fi
61876done
61877
61878  else
61879
61880  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61881$as_echo_n "checking for _sincos declaration... " >&6; }
61882  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61883    if ${glibcxx_cv_func__sincos_use+:} false; then :
61884  $as_echo_n "(cached) " >&6
61885else
61886
61887
61888      ac_ext=cpp
61889ac_cpp='$CXXCPP $CPPFLAGS'
61890ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61891ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61892ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61893
61894      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61895/* end confdefs.h.  */
61896#include <math.h>
61897int
61898main ()
61899{
61900 _sincos(0, 0, 0);
61901  ;
61902  return 0;
61903}
61904_ACEOF
61905if ac_fn_cxx_try_compile "$LINENO"; then :
61906  glibcxx_cv_func__sincos_use=yes
61907else
61908  glibcxx_cv_func__sincos_use=no
61909fi
61910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61911      ac_ext=c
61912ac_cpp='$CPP $CPPFLAGS'
61913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61915ac_compiler_gnu=$ac_cv_c_compiler_gnu
61916
61917
61918fi
61919
61920  fi
61921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61922$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61923
61924    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61925      for ac_func in _sincos
61926do :
61927  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61928if test "x$ac_cv_func__sincos" = xyes; then :
61929  cat >>confdefs.h <<_ACEOF
61930#define HAVE__SINCOS 1
61931_ACEOF
61932
61933fi
61934done
61935
61936    fi
61937  fi
61938
61939
61940
61941
61942
61943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61944$as_echo_n "checking for fpclass declaration... " >&6; }
61945  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61946    if ${glibcxx_cv_func_fpclass_use+:} false; then :
61947  $as_echo_n "(cached) " >&6
61948else
61949
61950
61951      ac_ext=cpp
61952ac_cpp='$CXXCPP $CPPFLAGS'
61953ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61954ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61955ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61956
61957      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61958/* end confdefs.h.  */
61959#include <math.h>
61960		      #ifdef HAVE_IEEEFP_H
61961		      #include <ieeefp.h>
61962		      #endif
61963
61964int
61965main ()
61966{
61967 fpclass(0);
61968  ;
61969  return 0;
61970}
61971_ACEOF
61972if ac_fn_cxx_try_compile "$LINENO"; then :
61973  glibcxx_cv_func_fpclass_use=yes
61974else
61975  glibcxx_cv_func_fpclass_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
61984
61985fi
61986
61987  fi
61988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61989$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61990
61991  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61992    for ac_func in fpclass
61993do :
61994  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61995if test "x$ac_cv_func_fpclass" = xyes; then :
61996  cat >>confdefs.h <<_ACEOF
61997#define HAVE_FPCLASS 1
61998_ACEOF
61999
62000fi
62001done
62002
62003  else
62004
62005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
62006$as_echo_n "checking for _fpclass declaration... " >&6; }
62007  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
62008    if ${glibcxx_cv_func__fpclass_use+:} false; then :
62009  $as_echo_n "(cached) " >&6
62010else
62011
62012
62013      ac_ext=cpp
62014ac_cpp='$CXXCPP $CPPFLAGS'
62015ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62016ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62017ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62018
62019      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62020/* end confdefs.h.  */
62021#include <math.h>
62022		      #ifdef HAVE_IEEEFP_H
62023		      #include <ieeefp.h>
62024		      #endif
62025
62026int
62027main ()
62028{
62029 _fpclass(0);
62030  ;
62031  return 0;
62032}
62033_ACEOF
62034if ac_fn_cxx_try_compile "$LINENO"; then :
62035  glibcxx_cv_func__fpclass_use=yes
62036else
62037  glibcxx_cv_func__fpclass_use=no
62038fi
62039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62040      ac_ext=c
62041ac_cpp='$CPP $CPPFLAGS'
62042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62044ac_compiler_gnu=$ac_cv_c_compiler_gnu
62045
62046
62047fi
62048
62049  fi
62050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
62051$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
62052
62053    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
62054      for ac_func in _fpclass
62055do :
62056  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
62057if test "x$ac_cv_func__fpclass" = xyes; then :
62058  cat >>confdefs.h <<_ACEOF
62059#define HAVE__FPCLASS 1
62060_ACEOF
62061
62062fi
62063done
62064
62065    fi
62066  fi
62067
62068
62069
62070
62071
62072  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
62073$as_echo_n "checking for qfpclass declaration... " >&6; }
62074  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
62075    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
62076  $as_echo_n "(cached) " >&6
62077else
62078
62079
62080      ac_ext=cpp
62081ac_cpp='$CXXCPP $CPPFLAGS'
62082ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62083ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62084ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62085
62086      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62087/* end confdefs.h.  */
62088#include <math.h>
62089		      #ifdef HAVE_IEEEFP_H
62090		      #include <ieeefp.h>
62091		      #endif
62092
62093int
62094main ()
62095{
62096 qfpclass(0);
62097  ;
62098  return 0;
62099}
62100_ACEOF
62101if ac_fn_cxx_try_compile "$LINENO"; then :
62102  glibcxx_cv_func_qfpclass_use=yes
62103else
62104  glibcxx_cv_func_qfpclass_use=no
62105fi
62106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62107      ac_ext=c
62108ac_cpp='$CPP $CPPFLAGS'
62109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62111ac_compiler_gnu=$ac_cv_c_compiler_gnu
62112
62113
62114fi
62115
62116  fi
62117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
62118$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
62119
62120  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
62121    for ac_func in qfpclass
62122do :
62123  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
62124if test "x$ac_cv_func_qfpclass" = xyes; then :
62125  cat >>confdefs.h <<_ACEOF
62126#define HAVE_QFPCLASS 1
62127_ACEOF
62128
62129fi
62130done
62131
62132  else
62133
62134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
62135$as_echo_n "checking for _qfpclass declaration... " >&6; }
62136  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
62137    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
62138  $as_echo_n "(cached) " >&6
62139else
62140
62141
62142      ac_ext=cpp
62143ac_cpp='$CXXCPP $CPPFLAGS'
62144ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62145ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62146ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62147
62148      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62149/* end confdefs.h.  */
62150#include <math.h>
62151		      #ifdef HAVE_IEEEFP_H
62152		      #include <ieeefp.h>
62153		      #endif
62154
62155int
62156main ()
62157{
62158 _qfpclass(0);
62159  ;
62160  return 0;
62161}
62162_ACEOF
62163if ac_fn_cxx_try_compile "$LINENO"; then :
62164  glibcxx_cv_func__qfpclass_use=yes
62165else
62166  glibcxx_cv_func__qfpclass_use=no
62167fi
62168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62169      ac_ext=c
62170ac_cpp='$CPP $CPPFLAGS'
62171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62173ac_compiler_gnu=$ac_cv_c_compiler_gnu
62174
62175
62176fi
62177
62178  fi
62179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
62180$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
62181
62182    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
62183      for ac_func in _qfpclass
62184do :
62185  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
62186if test "x$ac_cv_func__qfpclass" = xyes; then :
62187  cat >>confdefs.h <<_ACEOF
62188#define HAVE__QFPCLASS 1
62189_ACEOF
62190
62191fi
62192done
62193
62194    fi
62195  fi
62196
62197
62198
62199
62200
62201  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
62202$as_echo_n "checking for hypot declaration... " >&6; }
62203  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
62204    if ${glibcxx_cv_func_hypot_use+:} false; then :
62205  $as_echo_n "(cached) " >&6
62206else
62207
62208
62209      ac_ext=cpp
62210ac_cpp='$CXXCPP $CPPFLAGS'
62211ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62212ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62213ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62214
62215      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62216/* end confdefs.h.  */
62217#include <math.h>
62218int
62219main ()
62220{
62221 hypot(0, 0);
62222  ;
62223  return 0;
62224}
62225_ACEOF
62226if ac_fn_cxx_try_compile "$LINENO"; then :
62227  glibcxx_cv_func_hypot_use=yes
62228else
62229  glibcxx_cv_func_hypot_use=no
62230fi
62231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62232      ac_ext=c
62233ac_cpp='$CPP $CPPFLAGS'
62234ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62235ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62236ac_compiler_gnu=$ac_cv_c_compiler_gnu
62237
62238
62239fi
62240
62241  fi
62242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
62243$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
62244
62245  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
62246    for ac_func in hypot
62247do :
62248  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
62249if test "x$ac_cv_func_hypot" = xyes; then :
62250  cat >>confdefs.h <<_ACEOF
62251#define HAVE_HYPOT 1
62252_ACEOF
62253
62254fi
62255done
62256
62257  else
62258
62259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62260$as_echo_n "checking for _hypot declaration... " >&6; }
62261  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62262    if ${glibcxx_cv_func__hypot_use+:} false; then :
62263  $as_echo_n "(cached) " >&6
62264else
62265
62266
62267      ac_ext=cpp
62268ac_cpp='$CXXCPP $CPPFLAGS'
62269ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62270ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62271ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62272
62273      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62274/* end confdefs.h.  */
62275#include <math.h>
62276int
62277main ()
62278{
62279 _hypot(0, 0);
62280  ;
62281  return 0;
62282}
62283_ACEOF
62284if ac_fn_cxx_try_compile "$LINENO"; then :
62285  glibcxx_cv_func__hypot_use=yes
62286else
62287  glibcxx_cv_func__hypot_use=no
62288fi
62289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62290      ac_ext=c
62291ac_cpp='$CPP $CPPFLAGS'
62292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62294ac_compiler_gnu=$ac_cv_c_compiler_gnu
62295
62296
62297fi
62298
62299  fi
62300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62301$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62302
62303    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62304      for ac_func in _hypot
62305do :
62306  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62307if test "x$ac_cv_func__hypot" = xyes; then :
62308  cat >>confdefs.h <<_ACEOF
62309#define HAVE__HYPOT 1
62310_ACEOF
62311
62312fi
62313done
62314
62315    fi
62316  fi
62317
62318
62319
62320
62321
62322    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62323$as_echo_n "checking for float trig functions... " >&6; }
62324  if ${glibcxx_cv_func_float_trig_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>
62338int
62339main ()
62340{
62341acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62342  ;
62343  return 0;
62344}
62345_ACEOF
62346if ac_fn_cxx_try_compile "$LINENO"; then :
62347  glibcxx_cv_func_float_trig_use=yes
62348else
62349  glibcxx_cv_func_float_trig_use=no
62350fi
62351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62352    ac_ext=c
62353ac_cpp='$CPP $CPPFLAGS'
62354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62356ac_compiler_gnu=$ac_cv_c_compiler_gnu
62357
62358fi
62359
62360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62361$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62362  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62363    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62364do :
62365  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62366ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62367if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62368  cat >>confdefs.h <<_ACEOF
62369#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62370_ACEOF
62371
62372fi
62373done
62374
62375  else
62376    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62377$as_echo_n "checking for _float trig functions... " >&6; }
62378    if ${glibcxx_cv_func__float_trig_use+:} false; then :
62379  $as_echo_n "(cached) " >&6
62380else
62381
62382
62383      ac_ext=cpp
62384ac_cpp='$CXXCPP $CPPFLAGS'
62385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62388
62389      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62390/* end confdefs.h.  */
62391#include <math.h>
62392int
62393main ()
62394{
62395_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62396  ;
62397  return 0;
62398}
62399_ACEOF
62400if ac_fn_cxx_try_compile "$LINENO"; then :
62401  glibcxx_cv_func__float_trig_use=yes
62402else
62403  glibcxx_cv_func__float_trig_use=no
62404fi
62405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62406      ac_ext=c
62407ac_cpp='$CPP $CPPFLAGS'
62408ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62409ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62410ac_compiler_gnu=$ac_cv_c_compiler_gnu
62411
62412fi
62413
62414    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62415$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62416    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62417      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62418do :
62419  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62420ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62421if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62422  cat >>confdefs.h <<_ACEOF
62423#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62424_ACEOF
62425
62426fi
62427done
62428
62429    fi
62430  fi
62431
62432
62433
62434
62435
62436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62437$as_echo_n "checking for float round functions... " >&6; }
62438  if ${glibcxx_cv_func_float_round_use+:} false; then :
62439  $as_echo_n "(cached) " >&6
62440else
62441
62442
62443    ac_ext=cpp
62444ac_cpp='$CXXCPP $CPPFLAGS'
62445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62448
62449    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62450/* end confdefs.h.  */
62451#include <math.h>
62452int
62453main ()
62454{
62455ceilf (0); floorf (0);
62456  ;
62457  return 0;
62458}
62459_ACEOF
62460if ac_fn_cxx_try_compile "$LINENO"; then :
62461  glibcxx_cv_func_float_round_use=yes
62462else
62463  glibcxx_cv_func_float_round_use=no
62464fi
62465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62466    ac_ext=c
62467ac_cpp='$CPP $CPPFLAGS'
62468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62470ac_compiler_gnu=$ac_cv_c_compiler_gnu
62471
62472fi
62473
62474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62475$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62476  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62477    for ac_func in ceilf floorf
62478do :
62479  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62480ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62481if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62482  cat >>confdefs.h <<_ACEOF
62483#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62484_ACEOF
62485
62486fi
62487done
62488
62489  else
62490    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62491$as_echo_n "checking for _float round functions... " >&6; }
62492    if ${glibcxx_cv_func__float_round_use+:} false; then :
62493  $as_echo_n "(cached) " >&6
62494else
62495
62496
62497      ac_ext=cpp
62498ac_cpp='$CXXCPP $CPPFLAGS'
62499ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62500ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62501ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62502
62503      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62504/* end confdefs.h.  */
62505#include <math.h>
62506int
62507main ()
62508{
62509_ceilf (0); _floorf (0);
62510  ;
62511  return 0;
62512}
62513_ACEOF
62514if ac_fn_cxx_try_compile "$LINENO"; then :
62515  glibcxx_cv_func__float_round_use=yes
62516else
62517  glibcxx_cv_func__float_round_use=no
62518fi
62519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62520      ac_ext=c
62521ac_cpp='$CPP $CPPFLAGS'
62522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524ac_compiler_gnu=$ac_cv_c_compiler_gnu
62525
62526fi
62527
62528    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62529$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62530    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62531      for ac_func in _ceilf _floorf
62532do :
62533  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62534ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62535if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62536  cat >>confdefs.h <<_ACEOF
62537#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62538_ACEOF
62539
62540fi
62541done
62542
62543    fi
62544  fi
62545
62546
62547
62548
62549
62550
62551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62552$as_echo_n "checking for expf declaration... " >&6; }
62553  if test x${glibcxx_cv_func_expf_use+set} != xset; then
62554    if ${glibcxx_cv_func_expf_use+:} false; then :
62555  $as_echo_n "(cached) " >&6
62556else
62557
62558
62559      ac_ext=cpp
62560ac_cpp='$CXXCPP $CPPFLAGS'
62561ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62562ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62563ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62564
62565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62566/* end confdefs.h.  */
62567#include <math.h>
62568		      #ifdef HAVE_IEEEFP_H
62569		      #include <ieeefp.h>
62570		      #endif
62571
62572int
62573main ()
62574{
62575 expf(0);
62576  ;
62577  return 0;
62578}
62579_ACEOF
62580if ac_fn_cxx_try_compile "$LINENO"; then :
62581  glibcxx_cv_func_expf_use=yes
62582else
62583  glibcxx_cv_func_expf_use=no
62584fi
62585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62586      ac_ext=c
62587ac_cpp='$CPP $CPPFLAGS'
62588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62590ac_compiler_gnu=$ac_cv_c_compiler_gnu
62591
62592
62593fi
62594
62595  fi
62596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62597$as_echo "$glibcxx_cv_func_expf_use" >&6; }
62598
62599  if test x$glibcxx_cv_func_expf_use = x"yes"; then
62600    for ac_func in expf
62601do :
62602  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62603if test "x$ac_cv_func_expf" = xyes; then :
62604  cat >>confdefs.h <<_ACEOF
62605#define HAVE_EXPF 1
62606_ACEOF
62607
62608fi
62609done
62610
62611  else
62612
62613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62614$as_echo_n "checking for _expf declaration... " >&6; }
62615  if test x${glibcxx_cv_func__expf_use+set} != xset; then
62616    if ${glibcxx_cv_func__expf_use+:} false; then :
62617  $as_echo_n "(cached) " >&6
62618else
62619
62620
62621      ac_ext=cpp
62622ac_cpp='$CXXCPP $CPPFLAGS'
62623ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62624ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62625ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62626
62627      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62628/* end confdefs.h.  */
62629#include <math.h>
62630		      #ifdef HAVE_IEEEFP_H
62631		      #include <ieeefp.h>
62632		      #endif
62633
62634int
62635main ()
62636{
62637 _expf(0);
62638  ;
62639  return 0;
62640}
62641_ACEOF
62642if ac_fn_cxx_try_compile "$LINENO"; then :
62643  glibcxx_cv_func__expf_use=yes
62644else
62645  glibcxx_cv_func__expf_use=no
62646fi
62647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62648      ac_ext=c
62649ac_cpp='$CPP $CPPFLAGS'
62650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62652ac_compiler_gnu=$ac_cv_c_compiler_gnu
62653
62654
62655fi
62656
62657  fi
62658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62659$as_echo "$glibcxx_cv_func__expf_use" >&6; }
62660
62661    if test x$glibcxx_cv_func__expf_use = x"yes"; then
62662      for ac_func in _expf
62663do :
62664  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62665if test "x$ac_cv_func__expf" = xyes; then :
62666  cat >>confdefs.h <<_ACEOF
62667#define HAVE__EXPF 1
62668_ACEOF
62669
62670fi
62671done
62672
62673    fi
62674  fi
62675
62676
62677
62678
62679
62680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62681$as_echo_n "checking for isnanf declaration... " >&6; }
62682  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62683    if ${glibcxx_cv_func_isnanf_use+:} false; then :
62684  $as_echo_n "(cached) " >&6
62685else
62686
62687
62688      ac_ext=cpp
62689ac_cpp='$CXXCPP $CPPFLAGS'
62690ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62691ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62692ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62693
62694      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62695/* end confdefs.h.  */
62696#include <math.h>
62697		      #ifdef HAVE_IEEEFP_H
62698		      #include <ieeefp.h>
62699		      #endif
62700
62701int
62702main ()
62703{
62704 isnanf(0);
62705  ;
62706  return 0;
62707}
62708_ACEOF
62709if ac_fn_cxx_try_compile "$LINENO"; then :
62710  glibcxx_cv_func_isnanf_use=yes
62711else
62712  glibcxx_cv_func_isnanf_use=no
62713fi
62714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62715      ac_ext=c
62716ac_cpp='$CPP $CPPFLAGS'
62717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62719ac_compiler_gnu=$ac_cv_c_compiler_gnu
62720
62721
62722fi
62723
62724  fi
62725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62726$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62727
62728  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62729    for ac_func in isnanf
62730do :
62731  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62732if test "x$ac_cv_func_isnanf" = xyes; then :
62733  cat >>confdefs.h <<_ACEOF
62734#define HAVE_ISNANF 1
62735_ACEOF
62736
62737fi
62738done
62739
62740  else
62741
62742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62743$as_echo_n "checking for _isnanf declaration... " >&6; }
62744  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62745    if ${glibcxx_cv_func__isnanf_use+:} false; then :
62746  $as_echo_n "(cached) " >&6
62747else
62748
62749
62750      ac_ext=cpp
62751ac_cpp='$CXXCPP $CPPFLAGS'
62752ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62753ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62754ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62755
62756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62757/* end confdefs.h.  */
62758#include <math.h>
62759		      #ifdef HAVE_IEEEFP_H
62760		      #include <ieeefp.h>
62761		      #endif
62762
62763int
62764main ()
62765{
62766 _isnanf(0);
62767  ;
62768  return 0;
62769}
62770_ACEOF
62771if ac_fn_cxx_try_compile "$LINENO"; then :
62772  glibcxx_cv_func__isnanf_use=yes
62773else
62774  glibcxx_cv_func__isnanf_use=no
62775fi
62776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62777      ac_ext=c
62778ac_cpp='$CPP $CPPFLAGS'
62779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62781ac_compiler_gnu=$ac_cv_c_compiler_gnu
62782
62783
62784fi
62785
62786  fi
62787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62788$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62789
62790    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62791      for ac_func in _isnanf
62792do :
62793  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62794if test "x$ac_cv_func__isnanf" = xyes; then :
62795  cat >>confdefs.h <<_ACEOF
62796#define HAVE__ISNANF 1
62797_ACEOF
62798
62799fi
62800done
62801
62802    fi
62803  fi
62804
62805
62806
62807
62808
62809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62810$as_echo_n "checking for isinff declaration... " >&6; }
62811  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62812    if ${glibcxx_cv_func_isinff_use+:} false; then :
62813  $as_echo_n "(cached) " >&6
62814else
62815
62816
62817      ac_ext=cpp
62818ac_cpp='$CXXCPP $CPPFLAGS'
62819ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62820ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62821ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62822
62823      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62824/* end confdefs.h.  */
62825#include <math.h>
62826		      #ifdef HAVE_IEEEFP_H
62827		      #include <ieeefp.h>
62828		      #endif
62829
62830int
62831main ()
62832{
62833 isinff(0);
62834  ;
62835  return 0;
62836}
62837_ACEOF
62838if ac_fn_cxx_try_compile "$LINENO"; then :
62839  glibcxx_cv_func_isinff_use=yes
62840else
62841  glibcxx_cv_func_isinff_use=no
62842fi
62843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62844      ac_ext=c
62845ac_cpp='$CPP $CPPFLAGS'
62846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62848ac_compiler_gnu=$ac_cv_c_compiler_gnu
62849
62850
62851fi
62852
62853  fi
62854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62855$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62856
62857  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62858    for ac_func in isinff
62859do :
62860  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62861if test "x$ac_cv_func_isinff" = xyes; then :
62862  cat >>confdefs.h <<_ACEOF
62863#define HAVE_ISINFF 1
62864_ACEOF
62865
62866fi
62867done
62868
62869  else
62870
62871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62872$as_echo_n "checking for _isinff declaration... " >&6; }
62873  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62874    if ${glibcxx_cv_func__isinff_use+:} false; then :
62875  $as_echo_n "(cached) " >&6
62876else
62877
62878
62879      ac_ext=cpp
62880ac_cpp='$CXXCPP $CPPFLAGS'
62881ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62882ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62883ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62884
62885      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62886/* end confdefs.h.  */
62887#include <math.h>
62888		      #ifdef HAVE_IEEEFP_H
62889		      #include <ieeefp.h>
62890		      #endif
62891
62892int
62893main ()
62894{
62895 _isinff(0);
62896  ;
62897  return 0;
62898}
62899_ACEOF
62900if ac_fn_cxx_try_compile "$LINENO"; then :
62901  glibcxx_cv_func__isinff_use=yes
62902else
62903  glibcxx_cv_func__isinff_use=no
62904fi
62905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62906      ac_ext=c
62907ac_cpp='$CPP $CPPFLAGS'
62908ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910ac_compiler_gnu=$ac_cv_c_compiler_gnu
62911
62912
62913fi
62914
62915  fi
62916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62917$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62918
62919    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62920      for ac_func in _isinff
62921do :
62922  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62923if test "x$ac_cv_func__isinff" = xyes; then :
62924  cat >>confdefs.h <<_ACEOF
62925#define HAVE__ISINFF 1
62926_ACEOF
62927
62928fi
62929done
62930
62931    fi
62932  fi
62933
62934
62935
62936
62937
62938  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62939$as_echo_n "checking for atan2f declaration... " >&6; }
62940  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62941    if ${glibcxx_cv_func_atan2f_use+:} false; then :
62942  $as_echo_n "(cached) " >&6
62943else
62944
62945
62946      ac_ext=cpp
62947ac_cpp='$CXXCPP $CPPFLAGS'
62948ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62949ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62950ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62951
62952      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62953/* end confdefs.h.  */
62954#include <math.h>
62955int
62956main ()
62957{
62958 atan2f(0, 0);
62959  ;
62960  return 0;
62961}
62962_ACEOF
62963if ac_fn_cxx_try_compile "$LINENO"; then :
62964  glibcxx_cv_func_atan2f_use=yes
62965else
62966  glibcxx_cv_func_atan2f_use=no
62967fi
62968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62969      ac_ext=c
62970ac_cpp='$CPP $CPPFLAGS'
62971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62973ac_compiler_gnu=$ac_cv_c_compiler_gnu
62974
62975
62976fi
62977
62978  fi
62979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62980$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62981
62982  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62983    for ac_func in atan2f
62984do :
62985  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62986if test "x$ac_cv_func_atan2f" = xyes; then :
62987  cat >>confdefs.h <<_ACEOF
62988#define HAVE_ATAN2F 1
62989_ACEOF
62990
62991fi
62992done
62993
62994  else
62995
62996  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62997$as_echo_n "checking for _atan2f declaration... " >&6; }
62998  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62999    if ${glibcxx_cv_func__atan2f_use+:} false; then :
63000  $as_echo_n "(cached) " >&6
63001else
63002
63003
63004      ac_ext=cpp
63005ac_cpp='$CXXCPP $CPPFLAGS'
63006ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63007ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63008ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63009
63010      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63011/* end confdefs.h.  */
63012#include <math.h>
63013int
63014main ()
63015{
63016 _atan2f(0, 0);
63017  ;
63018  return 0;
63019}
63020_ACEOF
63021if ac_fn_cxx_try_compile "$LINENO"; then :
63022  glibcxx_cv_func__atan2f_use=yes
63023else
63024  glibcxx_cv_func__atan2f_use=no
63025fi
63026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63027      ac_ext=c
63028ac_cpp='$CPP $CPPFLAGS'
63029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63030ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63031ac_compiler_gnu=$ac_cv_c_compiler_gnu
63032
63033
63034fi
63035
63036  fi
63037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
63038$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
63039
63040    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
63041      for ac_func in _atan2f
63042do :
63043  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
63044if test "x$ac_cv_func__atan2f" = xyes; then :
63045  cat >>confdefs.h <<_ACEOF
63046#define HAVE__ATAN2F 1
63047_ACEOF
63048
63049fi
63050done
63051
63052    fi
63053  fi
63054
63055
63056
63057
63058
63059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
63060$as_echo_n "checking for fabsf declaration... " >&6; }
63061  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
63062    if ${glibcxx_cv_func_fabsf_use+:} false; then :
63063  $as_echo_n "(cached) " >&6
63064else
63065
63066
63067      ac_ext=cpp
63068ac_cpp='$CXXCPP $CPPFLAGS'
63069ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63070ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63071ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63072
63073      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63074/* end confdefs.h.  */
63075#include <math.h>
63076		      #ifdef HAVE_IEEEFP_H
63077		      #include <ieeefp.h>
63078		      #endif
63079
63080int
63081main ()
63082{
63083 fabsf(0);
63084  ;
63085  return 0;
63086}
63087_ACEOF
63088if ac_fn_cxx_try_compile "$LINENO"; then :
63089  glibcxx_cv_func_fabsf_use=yes
63090else
63091  glibcxx_cv_func_fabsf_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_fabsf_use" >&5
63105$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
63106
63107  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
63108    for ac_func in fabsf
63109do :
63110  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
63111if test "x$ac_cv_func_fabsf" = xyes; then :
63112  cat >>confdefs.h <<_ACEOF
63113#define HAVE_FABSF 1
63114_ACEOF
63115
63116fi
63117done
63118
63119  else
63120
63121  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
63122$as_echo_n "checking for _fabsf declaration... " >&6; }
63123  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
63124    if ${glibcxx_cv_func__fabsf_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>
63138		      #ifdef HAVE_IEEEFP_H
63139		      #include <ieeefp.h>
63140		      #endif
63141
63142int
63143main ()
63144{
63145 _fabsf(0);
63146  ;
63147  return 0;
63148}
63149_ACEOF
63150if ac_fn_cxx_try_compile "$LINENO"; then :
63151  glibcxx_cv_func__fabsf_use=yes
63152else
63153  glibcxx_cv_func__fabsf_use=no
63154fi
63155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63156      ac_ext=c
63157ac_cpp='$CPP $CPPFLAGS'
63158ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63159ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63160ac_compiler_gnu=$ac_cv_c_compiler_gnu
63161
63162
63163fi
63164
63165  fi
63166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
63167$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
63168
63169    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
63170      for ac_func in _fabsf
63171do :
63172  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
63173if test "x$ac_cv_func__fabsf" = xyes; then :
63174  cat >>confdefs.h <<_ACEOF
63175#define HAVE__FABSF 1
63176_ACEOF
63177
63178fi
63179done
63180
63181    fi
63182  fi
63183
63184
63185
63186
63187
63188  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
63189$as_echo_n "checking for fmodf declaration... " >&6; }
63190  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
63191    if ${glibcxx_cv_func_fmodf_use+:} false; then :
63192  $as_echo_n "(cached) " >&6
63193else
63194
63195
63196      ac_ext=cpp
63197ac_cpp='$CXXCPP $CPPFLAGS'
63198ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63199ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63200ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63201
63202      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63203/* end confdefs.h.  */
63204#include <math.h>
63205int
63206main ()
63207{
63208 fmodf(0, 0);
63209  ;
63210  return 0;
63211}
63212_ACEOF
63213if ac_fn_cxx_try_compile "$LINENO"; then :
63214  glibcxx_cv_func_fmodf_use=yes
63215else
63216  glibcxx_cv_func_fmodf_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_fmodf_use" >&5
63230$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
63231
63232  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
63233    for ac_func in fmodf
63234do :
63235  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
63236if test "x$ac_cv_func_fmodf" = xyes; then :
63237  cat >>confdefs.h <<_ACEOF
63238#define HAVE_FMODF 1
63239_ACEOF
63240
63241fi
63242done
63243
63244  else
63245
63246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
63247$as_echo_n "checking for _fmodf declaration... " >&6; }
63248  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
63249    if ${glibcxx_cv_func__fmodf_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>
63263int
63264main ()
63265{
63266 _fmodf(0, 0);
63267  ;
63268  return 0;
63269}
63270_ACEOF
63271if ac_fn_cxx_try_compile "$LINENO"; then :
63272  glibcxx_cv_func__fmodf_use=yes
63273else
63274  glibcxx_cv_func__fmodf_use=no
63275fi
63276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63277      ac_ext=c
63278ac_cpp='$CPP $CPPFLAGS'
63279ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63280ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63281ac_compiler_gnu=$ac_cv_c_compiler_gnu
63282
63283
63284fi
63285
63286  fi
63287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63288$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63289
63290    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63291      for ac_func in _fmodf
63292do :
63293  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63294if test "x$ac_cv_func__fmodf" = xyes; then :
63295  cat >>confdefs.h <<_ACEOF
63296#define HAVE__FMODF 1
63297_ACEOF
63298
63299fi
63300done
63301
63302    fi
63303  fi
63304
63305
63306
63307
63308
63309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63310$as_echo_n "checking for frexpf declaration... " >&6; }
63311  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63312    if ${glibcxx_cv_func_frexpf_use+:} false; then :
63313  $as_echo_n "(cached) " >&6
63314else
63315
63316
63317      ac_ext=cpp
63318ac_cpp='$CXXCPP $CPPFLAGS'
63319ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63320ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63321ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63322
63323      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63324/* end confdefs.h.  */
63325#include <math.h>
63326int
63327main ()
63328{
63329 frexpf(0, 0);
63330  ;
63331  return 0;
63332}
63333_ACEOF
63334if ac_fn_cxx_try_compile "$LINENO"; then :
63335  glibcxx_cv_func_frexpf_use=yes
63336else
63337  glibcxx_cv_func_frexpf_use=no
63338fi
63339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63340      ac_ext=c
63341ac_cpp='$CPP $CPPFLAGS'
63342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63344ac_compiler_gnu=$ac_cv_c_compiler_gnu
63345
63346
63347fi
63348
63349  fi
63350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63351$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63352
63353  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63354    for ac_func in frexpf
63355do :
63356  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63357if test "x$ac_cv_func_frexpf" = xyes; then :
63358  cat >>confdefs.h <<_ACEOF
63359#define HAVE_FREXPF 1
63360_ACEOF
63361
63362fi
63363done
63364
63365  else
63366
63367  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63368$as_echo_n "checking for _frexpf declaration... " >&6; }
63369  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63370    if ${glibcxx_cv_func__frexpf_use+:} false; then :
63371  $as_echo_n "(cached) " >&6
63372else
63373
63374
63375      ac_ext=cpp
63376ac_cpp='$CXXCPP $CPPFLAGS'
63377ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63378ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63379ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63380
63381      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63382/* end confdefs.h.  */
63383#include <math.h>
63384int
63385main ()
63386{
63387 _frexpf(0, 0);
63388  ;
63389  return 0;
63390}
63391_ACEOF
63392if ac_fn_cxx_try_compile "$LINENO"; then :
63393  glibcxx_cv_func__frexpf_use=yes
63394else
63395  glibcxx_cv_func__frexpf_use=no
63396fi
63397rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63398      ac_ext=c
63399ac_cpp='$CPP $CPPFLAGS'
63400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63402ac_compiler_gnu=$ac_cv_c_compiler_gnu
63403
63404
63405fi
63406
63407  fi
63408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63409$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63410
63411    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63412      for ac_func in _frexpf
63413do :
63414  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63415if test "x$ac_cv_func__frexpf" = xyes; then :
63416  cat >>confdefs.h <<_ACEOF
63417#define HAVE__FREXPF 1
63418_ACEOF
63419
63420fi
63421done
63422
63423    fi
63424  fi
63425
63426
63427
63428
63429
63430  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63431$as_echo_n "checking for hypotf declaration... " >&6; }
63432  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63433    if ${glibcxx_cv_func_hypotf_use+:} false; then :
63434  $as_echo_n "(cached) " >&6
63435else
63436
63437
63438      ac_ext=cpp
63439ac_cpp='$CXXCPP $CPPFLAGS'
63440ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63441ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63442ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63443
63444      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63445/* end confdefs.h.  */
63446#include <math.h>
63447int
63448main ()
63449{
63450 hypotf(0, 0);
63451  ;
63452  return 0;
63453}
63454_ACEOF
63455if ac_fn_cxx_try_compile "$LINENO"; then :
63456  glibcxx_cv_func_hypotf_use=yes
63457else
63458  glibcxx_cv_func_hypotf_use=no
63459fi
63460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63461      ac_ext=c
63462ac_cpp='$CPP $CPPFLAGS'
63463ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63464ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63465ac_compiler_gnu=$ac_cv_c_compiler_gnu
63466
63467
63468fi
63469
63470  fi
63471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63472$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63473
63474  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63475    for ac_func in hypotf
63476do :
63477  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63478if test "x$ac_cv_func_hypotf" = xyes; then :
63479  cat >>confdefs.h <<_ACEOF
63480#define HAVE_HYPOTF 1
63481_ACEOF
63482
63483fi
63484done
63485
63486  else
63487
63488  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63489$as_echo_n "checking for _hypotf declaration... " >&6; }
63490  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63491    if ${glibcxx_cv_func__hypotf_use+:} false; then :
63492  $as_echo_n "(cached) " >&6
63493else
63494
63495
63496      ac_ext=cpp
63497ac_cpp='$CXXCPP $CPPFLAGS'
63498ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63499ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63500ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63501
63502      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63503/* end confdefs.h.  */
63504#include <math.h>
63505int
63506main ()
63507{
63508 _hypotf(0, 0);
63509  ;
63510  return 0;
63511}
63512_ACEOF
63513if ac_fn_cxx_try_compile "$LINENO"; then :
63514  glibcxx_cv_func__hypotf_use=yes
63515else
63516  glibcxx_cv_func__hypotf_use=no
63517fi
63518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63519      ac_ext=c
63520ac_cpp='$CPP $CPPFLAGS'
63521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63523ac_compiler_gnu=$ac_cv_c_compiler_gnu
63524
63525
63526fi
63527
63528  fi
63529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63530$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63531
63532    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63533      for ac_func in _hypotf
63534do :
63535  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63536if test "x$ac_cv_func__hypotf" = xyes; then :
63537  cat >>confdefs.h <<_ACEOF
63538#define HAVE__HYPOTF 1
63539_ACEOF
63540
63541fi
63542done
63543
63544    fi
63545  fi
63546
63547
63548
63549
63550
63551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63552$as_echo_n "checking for ldexpf declaration... " >&6; }
63553  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63554    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63555  $as_echo_n "(cached) " >&6
63556else
63557
63558
63559      ac_ext=cpp
63560ac_cpp='$CXXCPP $CPPFLAGS'
63561ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63562ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63563ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63564
63565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63566/* end confdefs.h.  */
63567#include <math.h>
63568int
63569main ()
63570{
63571 ldexpf(0, 0);
63572  ;
63573  return 0;
63574}
63575_ACEOF
63576if ac_fn_cxx_try_compile "$LINENO"; then :
63577  glibcxx_cv_func_ldexpf_use=yes
63578else
63579  glibcxx_cv_func_ldexpf_use=no
63580fi
63581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63582      ac_ext=c
63583ac_cpp='$CPP $CPPFLAGS'
63584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63586ac_compiler_gnu=$ac_cv_c_compiler_gnu
63587
63588
63589fi
63590
63591  fi
63592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63593$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63594
63595  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63596    for ac_func in ldexpf
63597do :
63598  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63599if test "x$ac_cv_func_ldexpf" = xyes; then :
63600  cat >>confdefs.h <<_ACEOF
63601#define HAVE_LDEXPF 1
63602_ACEOF
63603
63604fi
63605done
63606
63607  else
63608
63609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63610$as_echo_n "checking for _ldexpf declaration... " >&6; }
63611  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63612    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63613  $as_echo_n "(cached) " >&6
63614else
63615
63616
63617      ac_ext=cpp
63618ac_cpp='$CXXCPP $CPPFLAGS'
63619ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63620ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63621ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63622
63623      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63624/* end confdefs.h.  */
63625#include <math.h>
63626int
63627main ()
63628{
63629 _ldexpf(0, 0);
63630  ;
63631  return 0;
63632}
63633_ACEOF
63634if ac_fn_cxx_try_compile "$LINENO"; then :
63635  glibcxx_cv_func__ldexpf_use=yes
63636else
63637  glibcxx_cv_func__ldexpf_use=no
63638fi
63639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63640      ac_ext=c
63641ac_cpp='$CPP $CPPFLAGS'
63642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63644ac_compiler_gnu=$ac_cv_c_compiler_gnu
63645
63646
63647fi
63648
63649  fi
63650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63651$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63652
63653    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63654      for ac_func in _ldexpf
63655do :
63656  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63657if test "x$ac_cv_func__ldexpf" = xyes; then :
63658  cat >>confdefs.h <<_ACEOF
63659#define HAVE__LDEXPF 1
63660_ACEOF
63661
63662fi
63663done
63664
63665    fi
63666  fi
63667
63668
63669
63670
63671
63672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63673$as_echo_n "checking for logf declaration... " >&6; }
63674  if test x${glibcxx_cv_func_logf_use+set} != xset; then
63675    if ${glibcxx_cv_func_logf_use+:} false; then :
63676  $as_echo_n "(cached) " >&6
63677else
63678
63679
63680      ac_ext=cpp
63681ac_cpp='$CXXCPP $CPPFLAGS'
63682ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63683ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63684ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63685
63686      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63687/* end confdefs.h.  */
63688#include <math.h>
63689		      #ifdef HAVE_IEEEFP_H
63690		      #include <ieeefp.h>
63691		      #endif
63692
63693int
63694main ()
63695{
63696 logf(0);
63697  ;
63698  return 0;
63699}
63700_ACEOF
63701if ac_fn_cxx_try_compile "$LINENO"; then :
63702  glibcxx_cv_func_logf_use=yes
63703else
63704  glibcxx_cv_func_logf_use=no
63705fi
63706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63707      ac_ext=c
63708ac_cpp='$CPP $CPPFLAGS'
63709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63711ac_compiler_gnu=$ac_cv_c_compiler_gnu
63712
63713
63714fi
63715
63716  fi
63717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63718$as_echo "$glibcxx_cv_func_logf_use" >&6; }
63719
63720  if test x$glibcxx_cv_func_logf_use = x"yes"; then
63721    for ac_func in logf
63722do :
63723  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63724if test "x$ac_cv_func_logf" = xyes; then :
63725  cat >>confdefs.h <<_ACEOF
63726#define HAVE_LOGF 1
63727_ACEOF
63728
63729fi
63730done
63731
63732  else
63733
63734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63735$as_echo_n "checking for _logf declaration... " >&6; }
63736  if test x${glibcxx_cv_func__logf_use+set} != xset; then
63737    if ${glibcxx_cv_func__logf_use+:} false; then :
63738  $as_echo_n "(cached) " >&6
63739else
63740
63741
63742      ac_ext=cpp
63743ac_cpp='$CXXCPP $CPPFLAGS'
63744ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63745ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63746ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63747
63748      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63749/* end confdefs.h.  */
63750#include <math.h>
63751		      #ifdef HAVE_IEEEFP_H
63752		      #include <ieeefp.h>
63753		      #endif
63754
63755int
63756main ()
63757{
63758 _logf(0);
63759  ;
63760  return 0;
63761}
63762_ACEOF
63763if ac_fn_cxx_try_compile "$LINENO"; then :
63764  glibcxx_cv_func__logf_use=yes
63765else
63766  glibcxx_cv_func__logf_use=no
63767fi
63768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63769      ac_ext=c
63770ac_cpp='$CPP $CPPFLAGS'
63771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63773ac_compiler_gnu=$ac_cv_c_compiler_gnu
63774
63775
63776fi
63777
63778  fi
63779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63780$as_echo "$glibcxx_cv_func__logf_use" >&6; }
63781
63782    if test x$glibcxx_cv_func__logf_use = x"yes"; then
63783      for ac_func in _logf
63784do :
63785  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63786if test "x$ac_cv_func__logf" = xyes; then :
63787  cat >>confdefs.h <<_ACEOF
63788#define HAVE__LOGF 1
63789_ACEOF
63790
63791fi
63792done
63793
63794    fi
63795  fi
63796
63797
63798
63799
63800
63801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63802$as_echo_n "checking for log10f declaration... " >&6; }
63803  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63804    if ${glibcxx_cv_func_log10f_use+:} false; then :
63805  $as_echo_n "(cached) " >&6
63806else
63807
63808
63809      ac_ext=cpp
63810ac_cpp='$CXXCPP $CPPFLAGS'
63811ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63812ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63813ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63814
63815      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63816/* end confdefs.h.  */
63817#include <math.h>
63818		      #ifdef HAVE_IEEEFP_H
63819		      #include <ieeefp.h>
63820		      #endif
63821
63822int
63823main ()
63824{
63825 log10f(0);
63826  ;
63827  return 0;
63828}
63829_ACEOF
63830if ac_fn_cxx_try_compile "$LINENO"; then :
63831  glibcxx_cv_func_log10f_use=yes
63832else
63833  glibcxx_cv_func_log10f_use=no
63834fi
63835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63836      ac_ext=c
63837ac_cpp='$CPP $CPPFLAGS'
63838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63840ac_compiler_gnu=$ac_cv_c_compiler_gnu
63841
63842
63843fi
63844
63845  fi
63846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63847$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63848
63849  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63850    for ac_func in log10f
63851do :
63852  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63853if test "x$ac_cv_func_log10f" = xyes; then :
63854  cat >>confdefs.h <<_ACEOF
63855#define HAVE_LOG10F 1
63856_ACEOF
63857
63858fi
63859done
63860
63861  else
63862
63863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63864$as_echo_n "checking for _log10f declaration... " >&6; }
63865  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63866    if ${glibcxx_cv_func__log10f_use+:} false; then :
63867  $as_echo_n "(cached) " >&6
63868else
63869
63870
63871      ac_ext=cpp
63872ac_cpp='$CXXCPP $CPPFLAGS'
63873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63876
63877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63878/* end confdefs.h.  */
63879#include <math.h>
63880		      #ifdef HAVE_IEEEFP_H
63881		      #include <ieeefp.h>
63882		      #endif
63883
63884int
63885main ()
63886{
63887 _log10f(0);
63888  ;
63889  return 0;
63890}
63891_ACEOF
63892if ac_fn_cxx_try_compile "$LINENO"; then :
63893  glibcxx_cv_func__log10f_use=yes
63894else
63895  glibcxx_cv_func__log10f_use=no
63896fi
63897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63898      ac_ext=c
63899ac_cpp='$CPP $CPPFLAGS'
63900ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63901ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63902ac_compiler_gnu=$ac_cv_c_compiler_gnu
63903
63904
63905fi
63906
63907  fi
63908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63909$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63910
63911    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63912      for ac_func in _log10f
63913do :
63914  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63915if test "x$ac_cv_func__log10f" = xyes; then :
63916  cat >>confdefs.h <<_ACEOF
63917#define HAVE__LOG10F 1
63918_ACEOF
63919
63920fi
63921done
63922
63923    fi
63924  fi
63925
63926
63927
63928
63929
63930  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63931$as_echo_n "checking for modff declaration... " >&6; }
63932  if test x${glibcxx_cv_func_modff_use+set} != xset; then
63933    if ${glibcxx_cv_func_modff_use+:} false; then :
63934  $as_echo_n "(cached) " >&6
63935else
63936
63937
63938      ac_ext=cpp
63939ac_cpp='$CXXCPP $CPPFLAGS'
63940ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63941ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63942ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63943
63944      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63945/* end confdefs.h.  */
63946#include <math.h>
63947int
63948main ()
63949{
63950 modff(0, 0);
63951  ;
63952  return 0;
63953}
63954_ACEOF
63955if ac_fn_cxx_try_compile "$LINENO"; then :
63956  glibcxx_cv_func_modff_use=yes
63957else
63958  glibcxx_cv_func_modff_use=no
63959fi
63960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63961      ac_ext=c
63962ac_cpp='$CPP $CPPFLAGS'
63963ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63964ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63965ac_compiler_gnu=$ac_cv_c_compiler_gnu
63966
63967
63968fi
63969
63970  fi
63971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63972$as_echo "$glibcxx_cv_func_modff_use" >&6; }
63973
63974  if test x$glibcxx_cv_func_modff_use = x"yes"; then
63975    for ac_func in modff
63976do :
63977  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63978if test "x$ac_cv_func_modff" = xyes; then :
63979  cat >>confdefs.h <<_ACEOF
63980#define HAVE_MODFF 1
63981_ACEOF
63982
63983fi
63984done
63985
63986  else
63987
63988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63989$as_echo_n "checking for _modff declaration... " >&6; }
63990  if test x${glibcxx_cv_func__modff_use+set} != xset; then
63991    if ${glibcxx_cv_func__modff_use+:} false; then :
63992  $as_echo_n "(cached) " >&6
63993else
63994
63995
63996      ac_ext=cpp
63997ac_cpp='$CXXCPP $CPPFLAGS'
63998ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63999ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64000ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64001
64002      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64003/* end confdefs.h.  */
64004#include <math.h>
64005int
64006main ()
64007{
64008 _modff(0, 0);
64009  ;
64010  return 0;
64011}
64012_ACEOF
64013if ac_fn_cxx_try_compile "$LINENO"; then :
64014  glibcxx_cv_func__modff_use=yes
64015else
64016  glibcxx_cv_func__modff_use=no
64017fi
64018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64019      ac_ext=c
64020ac_cpp='$CPP $CPPFLAGS'
64021ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64022ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64023ac_compiler_gnu=$ac_cv_c_compiler_gnu
64024
64025
64026fi
64027
64028  fi
64029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
64030$as_echo "$glibcxx_cv_func__modff_use" >&6; }
64031
64032    if test x$glibcxx_cv_func__modff_use = x"yes"; then
64033      for ac_func in _modff
64034do :
64035  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
64036if test "x$ac_cv_func__modff" = xyes; then :
64037  cat >>confdefs.h <<_ACEOF
64038#define HAVE__MODFF 1
64039_ACEOF
64040
64041fi
64042done
64043
64044    fi
64045  fi
64046
64047
64048
64049
64050
64051  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
64052$as_echo_n "checking for modf declaration... " >&6; }
64053  if test x${glibcxx_cv_func_modf_use+set} != xset; then
64054    if ${glibcxx_cv_func_modf_use+:} false; then :
64055  $as_echo_n "(cached) " >&6
64056else
64057
64058
64059      ac_ext=cpp
64060ac_cpp='$CXXCPP $CPPFLAGS'
64061ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64062ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64063ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64064
64065      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64066/* end confdefs.h.  */
64067#include <math.h>
64068int
64069main ()
64070{
64071 modf(0, 0);
64072  ;
64073  return 0;
64074}
64075_ACEOF
64076if ac_fn_cxx_try_compile "$LINENO"; then :
64077  glibcxx_cv_func_modf_use=yes
64078else
64079  glibcxx_cv_func_modf_use=no
64080fi
64081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64082      ac_ext=c
64083ac_cpp='$CPP $CPPFLAGS'
64084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64086ac_compiler_gnu=$ac_cv_c_compiler_gnu
64087
64088
64089fi
64090
64091  fi
64092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
64093$as_echo "$glibcxx_cv_func_modf_use" >&6; }
64094
64095  if test x$glibcxx_cv_func_modf_use = x"yes"; then
64096    for ac_func in modf
64097do :
64098  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
64099if test "x$ac_cv_func_modf" = xyes; then :
64100  cat >>confdefs.h <<_ACEOF
64101#define HAVE_MODF 1
64102_ACEOF
64103
64104fi
64105done
64106
64107  else
64108
64109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
64110$as_echo_n "checking for _modf declaration... " >&6; }
64111  if test x${glibcxx_cv_func__modf_use+set} != xset; then
64112    if ${glibcxx_cv_func__modf_use+:} false; then :
64113  $as_echo_n "(cached) " >&6
64114else
64115
64116
64117      ac_ext=cpp
64118ac_cpp='$CXXCPP $CPPFLAGS'
64119ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64120ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64121ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64122
64123      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64124/* end confdefs.h.  */
64125#include <math.h>
64126int
64127main ()
64128{
64129 _modf(0, 0);
64130  ;
64131  return 0;
64132}
64133_ACEOF
64134if ac_fn_cxx_try_compile "$LINENO"; then :
64135  glibcxx_cv_func__modf_use=yes
64136else
64137  glibcxx_cv_func__modf_use=no
64138fi
64139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64140      ac_ext=c
64141ac_cpp='$CPP $CPPFLAGS'
64142ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64143ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64144ac_compiler_gnu=$ac_cv_c_compiler_gnu
64145
64146
64147fi
64148
64149  fi
64150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
64151$as_echo "$glibcxx_cv_func__modf_use" >&6; }
64152
64153    if test x$glibcxx_cv_func__modf_use = x"yes"; then
64154      for ac_func in _modf
64155do :
64156  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
64157if test "x$ac_cv_func__modf" = xyes; then :
64158  cat >>confdefs.h <<_ACEOF
64159#define HAVE__MODF 1
64160_ACEOF
64161
64162fi
64163done
64164
64165    fi
64166  fi
64167
64168
64169
64170
64171
64172  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
64173$as_echo_n "checking for powf declaration... " >&6; }
64174  if test x${glibcxx_cv_func_powf_use+set} != xset; then
64175    if ${glibcxx_cv_func_powf_use+:} false; then :
64176  $as_echo_n "(cached) " >&6
64177else
64178
64179
64180      ac_ext=cpp
64181ac_cpp='$CXXCPP $CPPFLAGS'
64182ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64183ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64184ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64185
64186      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64187/* end confdefs.h.  */
64188#include <math.h>
64189int
64190main ()
64191{
64192 powf(0, 0);
64193  ;
64194  return 0;
64195}
64196_ACEOF
64197if ac_fn_cxx_try_compile "$LINENO"; then :
64198  glibcxx_cv_func_powf_use=yes
64199else
64200  glibcxx_cv_func_powf_use=no
64201fi
64202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64203      ac_ext=c
64204ac_cpp='$CPP $CPPFLAGS'
64205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64207ac_compiler_gnu=$ac_cv_c_compiler_gnu
64208
64209
64210fi
64211
64212  fi
64213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
64214$as_echo "$glibcxx_cv_func_powf_use" >&6; }
64215
64216  if test x$glibcxx_cv_func_powf_use = x"yes"; then
64217    for ac_func in powf
64218do :
64219  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
64220if test "x$ac_cv_func_powf" = xyes; then :
64221  cat >>confdefs.h <<_ACEOF
64222#define HAVE_POWF 1
64223_ACEOF
64224
64225fi
64226done
64227
64228  else
64229
64230  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
64231$as_echo_n "checking for _powf declaration... " >&6; }
64232  if test x${glibcxx_cv_func__powf_use+set} != xset; then
64233    if ${glibcxx_cv_func__powf_use+:} false; then :
64234  $as_echo_n "(cached) " >&6
64235else
64236
64237
64238      ac_ext=cpp
64239ac_cpp='$CXXCPP $CPPFLAGS'
64240ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64241ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64242ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64243
64244      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64245/* end confdefs.h.  */
64246#include <math.h>
64247int
64248main ()
64249{
64250 _powf(0, 0);
64251  ;
64252  return 0;
64253}
64254_ACEOF
64255if ac_fn_cxx_try_compile "$LINENO"; then :
64256  glibcxx_cv_func__powf_use=yes
64257else
64258  glibcxx_cv_func__powf_use=no
64259fi
64260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64261      ac_ext=c
64262ac_cpp='$CPP $CPPFLAGS'
64263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64265ac_compiler_gnu=$ac_cv_c_compiler_gnu
64266
64267
64268fi
64269
64270  fi
64271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64272$as_echo "$glibcxx_cv_func__powf_use" >&6; }
64273
64274    if test x$glibcxx_cv_func__powf_use = x"yes"; then
64275      for ac_func in _powf
64276do :
64277  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64278if test "x$ac_cv_func__powf" = xyes; then :
64279  cat >>confdefs.h <<_ACEOF
64280#define HAVE__POWF 1
64281_ACEOF
64282
64283fi
64284done
64285
64286    fi
64287  fi
64288
64289
64290
64291
64292
64293  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64294$as_echo_n "checking for sqrtf declaration... " >&6; }
64295  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64296    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64297  $as_echo_n "(cached) " >&6
64298else
64299
64300
64301      ac_ext=cpp
64302ac_cpp='$CXXCPP $CPPFLAGS'
64303ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64304ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64305ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64306
64307      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64308/* end confdefs.h.  */
64309#include <math.h>
64310		      #ifdef HAVE_IEEEFP_H
64311		      #include <ieeefp.h>
64312		      #endif
64313
64314int
64315main ()
64316{
64317 sqrtf(0);
64318  ;
64319  return 0;
64320}
64321_ACEOF
64322if ac_fn_cxx_try_compile "$LINENO"; then :
64323  glibcxx_cv_func_sqrtf_use=yes
64324else
64325  glibcxx_cv_func_sqrtf_use=no
64326fi
64327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64328      ac_ext=c
64329ac_cpp='$CPP $CPPFLAGS'
64330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64332ac_compiler_gnu=$ac_cv_c_compiler_gnu
64333
64334
64335fi
64336
64337  fi
64338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64339$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64340
64341  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64342    for ac_func in sqrtf
64343do :
64344  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64345if test "x$ac_cv_func_sqrtf" = xyes; then :
64346  cat >>confdefs.h <<_ACEOF
64347#define HAVE_SQRTF 1
64348_ACEOF
64349
64350fi
64351done
64352
64353  else
64354
64355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64356$as_echo_n "checking for _sqrtf declaration... " >&6; }
64357  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64358    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64359  $as_echo_n "(cached) " >&6
64360else
64361
64362
64363      ac_ext=cpp
64364ac_cpp='$CXXCPP $CPPFLAGS'
64365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64368
64369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64370/* end confdefs.h.  */
64371#include <math.h>
64372		      #ifdef HAVE_IEEEFP_H
64373		      #include <ieeefp.h>
64374		      #endif
64375
64376int
64377main ()
64378{
64379 _sqrtf(0);
64380  ;
64381  return 0;
64382}
64383_ACEOF
64384if ac_fn_cxx_try_compile "$LINENO"; then :
64385  glibcxx_cv_func__sqrtf_use=yes
64386else
64387  glibcxx_cv_func__sqrtf_use=no
64388fi
64389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64390      ac_ext=c
64391ac_cpp='$CPP $CPPFLAGS'
64392ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64393ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64394ac_compiler_gnu=$ac_cv_c_compiler_gnu
64395
64396
64397fi
64398
64399  fi
64400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64401$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64402
64403    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64404      for ac_func in _sqrtf
64405do :
64406  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64407if test "x$ac_cv_func__sqrtf" = xyes; then :
64408  cat >>confdefs.h <<_ACEOF
64409#define HAVE__SQRTF 1
64410_ACEOF
64411
64412fi
64413done
64414
64415    fi
64416  fi
64417
64418
64419
64420
64421
64422  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64423$as_echo_n "checking for sincosf declaration... " >&6; }
64424  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64425    if ${glibcxx_cv_func_sincosf_use+:} false; then :
64426  $as_echo_n "(cached) " >&6
64427else
64428
64429
64430      ac_ext=cpp
64431ac_cpp='$CXXCPP $CPPFLAGS'
64432ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64433ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64434ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64435
64436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64437/* end confdefs.h.  */
64438#include <math.h>
64439int
64440main ()
64441{
64442 sincosf(0, 0, 0);
64443  ;
64444  return 0;
64445}
64446_ACEOF
64447if ac_fn_cxx_try_compile "$LINENO"; then :
64448  glibcxx_cv_func_sincosf_use=yes
64449else
64450  glibcxx_cv_func_sincosf_use=no
64451fi
64452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64453      ac_ext=c
64454ac_cpp='$CPP $CPPFLAGS'
64455ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64456ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64457ac_compiler_gnu=$ac_cv_c_compiler_gnu
64458
64459
64460fi
64461
64462  fi
64463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64464$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64465
64466  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64467    for ac_func in sincosf
64468do :
64469  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64470if test "x$ac_cv_func_sincosf" = xyes; then :
64471  cat >>confdefs.h <<_ACEOF
64472#define HAVE_SINCOSF 1
64473_ACEOF
64474
64475fi
64476done
64477
64478  else
64479
64480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64481$as_echo_n "checking for _sincosf declaration... " >&6; }
64482  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64483    if ${glibcxx_cv_func__sincosf_use+:} false; then :
64484  $as_echo_n "(cached) " >&6
64485else
64486
64487
64488      ac_ext=cpp
64489ac_cpp='$CXXCPP $CPPFLAGS'
64490ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64491ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64492ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64493
64494      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64495/* end confdefs.h.  */
64496#include <math.h>
64497int
64498main ()
64499{
64500 _sincosf(0, 0, 0);
64501  ;
64502  return 0;
64503}
64504_ACEOF
64505if ac_fn_cxx_try_compile "$LINENO"; then :
64506  glibcxx_cv_func__sincosf_use=yes
64507else
64508  glibcxx_cv_func__sincosf_use=no
64509fi
64510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64511      ac_ext=c
64512ac_cpp='$CPP $CPPFLAGS'
64513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64515ac_compiler_gnu=$ac_cv_c_compiler_gnu
64516
64517
64518fi
64519
64520  fi
64521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64522$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64523
64524    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64525      for ac_func in _sincosf
64526do :
64527  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64528if test "x$ac_cv_func__sincosf" = xyes; then :
64529  cat >>confdefs.h <<_ACEOF
64530#define HAVE__SINCOSF 1
64531_ACEOF
64532
64533fi
64534done
64535
64536    fi
64537  fi
64538
64539
64540
64541
64542
64543  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64544$as_echo_n "checking for finitef declaration... " >&6; }
64545  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64546    if ${glibcxx_cv_func_finitef_use+:} false; then :
64547  $as_echo_n "(cached) " >&6
64548else
64549
64550
64551      ac_ext=cpp
64552ac_cpp='$CXXCPP $CPPFLAGS'
64553ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64554ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64555ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64556
64557      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64558/* end confdefs.h.  */
64559#include <math.h>
64560		      #ifdef HAVE_IEEEFP_H
64561		      #include <ieeefp.h>
64562		      #endif
64563
64564int
64565main ()
64566{
64567 finitef(0);
64568  ;
64569  return 0;
64570}
64571_ACEOF
64572if ac_fn_cxx_try_compile "$LINENO"; then :
64573  glibcxx_cv_func_finitef_use=yes
64574else
64575  glibcxx_cv_func_finitef_use=no
64576fi
64577rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64578      ac_ext=c
64579ac_cpp='$CPP $CPPFLAGS'
64580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64582ac_compiler_gnu=$ac_cv_c_compiler_gnu
64583
64584
64585fi
64586
64587  fi
64588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64589$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64590
64591  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64592    for ac_func in finitef
64593do :
64594  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64595if test "x$ac_cv_func_finitef" = xyes; then :
64596  cat >>confdefs.h <<_ACEOF
64597#define HAVE_FINITEF 1
64598_ACEOF
64599
64600fi
64601done
64602
64603  else
64604
64605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64606$as_echo_n "checking for _finitef declaration... " >&6; }
64607  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64608    if ${glibcxx_cv_func__finitef_use+:} false; then :
64609  $as_echo_n "(cached) " >&6
64610else
64611
64612
64613      ac_ext=cpp
64614ac_cpp='$CXXCPP $CPPFLAGS'
64615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64618
64619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64620/* end confdefs.h.  */
64621#include <math.h>
64622		      #ifdef HAVE_IEEEFP_H
64623		      #include <ieeefp.h>
64624		      #endif
64625
64626int
64627main ()
64628{
64629 _finitef(0);
64630  ;
64631  return 0;
64632}
64633_ACEOF
64634if ac_fn_cxx_try_compile "$LINENO"; then :
64635  glibcxx_cv_func__finitef_use=yes
64636else
64637  glibcxx_cv_func__finitef_use=no
64638fi
64639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64640      ac_ext=c
64641ac_cpp='$CPP $CPPFLAGS'
64642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64644ac_compiler_gnu=$ac_cv_c_compiler_gnu
64645
64646
64647fi
64648
64649  fi
64650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64651$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64652
64653    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64654      for ac_func in _finitef
64655do :
64656  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64657if test "x$ac_cv_func__finitef" = xyes; then :
64658  cat >>confdefs.h <<_ACEOF
64659#define HAVE__FINITEF 1
64660_ACEOF
64661
64662fi
64663done
64664
64665    fi
64666  fi
64667
64668
64669
64670
64671
64672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64673$as_echo_n "checking for long double trig functions... " >&6; }
64674  if ${glibcxx_cv_func_long_double_trig_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{
64691acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64692  ;
64693  return 0;
64694}
64695_ACEOF
64696if ac_fn_cxx_try_compile "$LINENO"; then :
64697  glibcxx_cv_func_long_double_trig_use=yes
64698else
64699  glibcxx_cv_func_long_double_trig_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
64708fi
64709
64710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64711$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64712  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64713    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64714do :
64715  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64716ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64717if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64718  cat >>confdefs.h <<_ACEOF
64719#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64720_ACEOF
64721
64722fi
64723done
64724
64725  else
64726    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64727$as_echo_n "checking for _long double trig functions... " >&6; }
64728    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64729  $as_echo_n "(cached) " >&6
64730else
64731
64732
64733      ac_ext=cpp
64734ac_cpp='$CXXCPP $CPPFLAGS'
64735ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64736ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64737ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64738
64739      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64740/* end confdefs.h.  */
64741#include <math.h>
64742int
64743main ()
64744{
64745_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64746  ;
64747  return 0;
64748}
64749_ACEOF
64750if ac_fn_cxx_try_compile "$LINENO"; then :
64751  glibcxx_cv_func__long_double_trig_use=yes
64752else
64753  glibcxx_cv_func__long_double_trig_use=no
64754fi
64755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64756      ac_ext=c
64757ac_cpp='$CPP $CPPFLAGS'
64758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64760ac_compiler_gnu=$ac_cv_c_compiler_gnu
64761
64762fi
64763
64764    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64765$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64766    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64767      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64768do :
64769  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64770ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64771if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64772  cat >>confdefs.h <<_ACEOF
64773#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64774_ACEOF
64775
64776fi
64777done
64778
64779    fi
64780  fi
64781
64782
64783
64784
64785
64786    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64787$as_echo_n "checking for long double round functions... " >&6; }
64788  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64789  $as_echo_n "(cached) " >&6
64790else
64791
64792
64793    ac_ext=cpp
64794ac_cpp='$CXXCPP $CPPFLAGS'
64795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64798
64799    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64800/* end confdefs.h.  */
64801#include <math.h>
64802int
64803main ()
64804{
64805ceill (0); floorl (0);
64806  ;
64807  return 0;
64808}
64809_ACEOF
64810if ac_fn_cxx_try_compile "$LINENO"; then :
64811  glibcxx_cv_func_long_double_round_use=yes
64812else
64813  glibcxx_cv_func_long_double_round_use=no
64814fi
64815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64816    ac_ext=c
64817ac_cpp='$CPP $CPPFLAGS'
64818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64820ac_compiler_gnu=$ac_cv_c_compiler_gnu
64821
64822fi
64823
64824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64825$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64826  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64827    for ac_func in ceill floorl
64828do :
64829  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64830ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64831if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64832  cat >>confdefs.h <<_ACEOF
64833#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64834_ACEOF
64835
64836fi
64837done
64838
64839  else
64840    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64841$as_echo_n "checking for _long double round functions... " >&6; }
64842    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64843  $as_echo_n "(cached) " >&6
64844else
64845
64846
64847      ac_ext=cpp
64848ac_cpp='$CXXCPP $CPPFLAGS'
64849ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64850ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64851ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64852
64853      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64854/* end confdefs.h.  */
64855#include <math.h>
64856int
64857main ()
64858{
64859_ceill (0); _floorl (0);
64860  ;
64861  return 0;
64862}
64863_ACEOF
64864if ac_fn_cxx_try_compile "$LINENO"; then :
64865  glibcxx_cv_func__long_double_round_use=yes
64866else
64867  glibcxx_cv_func__long_double_round_use=no
64868fi
64869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64870      ac_ext=c
64871ac_cpp='$CPP $CPPFLAGS'
64872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64874ac_compiler_gnu=$ac_cv_c_compiler_gnu
64875
64876fi
64877
64878    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64879$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64880    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64881      for ac_func in _ceill _floorl
64882do :
64883  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64884ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64885if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64886  cat >>confdefs.h <<_ACEOF
64887#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64888_ACEOF
64889
64890fi
64891done
64892
64893    fi
64894  fi
64895
64896
64897
64898
64899
64900
64901  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64902$as_echo_n "checking for isnanl declaration... " >&6; }
64903  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64904    if ${glibcxx_cv_func_isnanl_use+:} false; then :
64905  $as_echo_n "(cached) " >&6
64906else
64907
64908
64909      ac_ext=cpp
64910ac_cpp='$CXXCPP $CPPFLAGS'
64911ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64912ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64913ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64914
64915      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64916/* end confdefs.h.  */
64917#include <math.h>
64918		      #ifdef HAVE_IEEEFP_H
64919		      #include <ieeefp.h>
64920		      #endif
64921
64922int
64923main ()
64924{
64925 isnanl(0);
64926  ;
64927  return 0;
64928}
64929_ACEOF
64930if ac_fn_cxx_try_compile "$LINENO"; then :
64931  glibcxx_cv_func_isnanl_use=yes
64932else
64933  glibcxx_cv_func_isnanl_use=no
64934fi
64935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64936      ac_ext=c
64937ac_cpp='$CPP $CPPFLAGS'
64938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64940ac_compiler_gnu=$ac_cv_c_compiler_gnu
64941
64942
64943fi
64944
64945  fi
64946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64947$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64948
64949  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64950    for ac_func in isnanl
64951do :
64952  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64953if test "x$ac_cv_func_isnanl" = xyes; then :
64954  cat >>confdefs.h <<_ACEOF
64955#define HAVE_ISNANL 1
64956_ACEOF
64957
64958fi
64959done
64960
64961  else
64962
64963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64964$as_echo_n "checking for _isnanl declaration... " >&6; }
64965  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64966    if ${glibcxx_cv_func__isnanl_use+:} false; then :
64967  $as_echo_n "(cached) " >&6
64968else
64969
64970
64971      ac_ext=cpp
64972ac_cpp='$CXXCPP $CPPFLAGS'
64973ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64974ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64975ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64976
64977      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64978/* end confdefs.h.  */
64979#include <math.h>
64980		      #ifdef HAVE_IEEEFP_H
64981		      #include <ieeefp.h>
64982		      #endif
64983
64984int
64985main ()
64986{
64987 _isnanl(0);
64988  ;
64989  return 0;
64990}
64991_ACEOF
64992if ac_fn_cxx_try_compile "$LINENO"; then :
64993  glibcxx_cv_func__isnanl_use=yes
64994else
64995  glibcxx_cv_func__isnanl_use=no
64996fi
64997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64998      ac_ext=c
64999ac_cpp='$CPP $CPPFLAGS'
65000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65002ac_compiler_gnu=$ac_cv_c_compiler_gnu
65003
65004
65005fi
65006
65007  fi
65008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
65009$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
65010
65011    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65012      for ac_func in _isnanl
65013do :
65014  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
65015if test "x$ac_cv_func__isnanl" = xyes; then :
65016  cat >>confdefs.h <<_ACEOF
65017#define HAVE__ISNANL 1
65018_ACEOF
65019
65020fi
65021done
65022
65023    fi
65024  fi
65025
65026
65027
65028
65029
65030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
65031$as_echo_n "checking for isinfl declaration... " >&6; }
65032  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65033    if ${glibcxx_cv_func_isinfl_use+:} false; then :
65034  $as_echo_n "(cached) " >&6
65035else
65036
65037
65038      ac_ext=cpp
65039ac_cpp='$CXXCPP $CPPFLAGS'
65040ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65041ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65042ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65043
65044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65045/* end confdefs.h.  */
65046#include <math.h>
65047		      #ifdef HAVE_IEEEFP_H
65048		      #include <ieeefp.h>
65049		      #endif
65050
65051int
65052main ()
65053{
65054 isinfl(0);
65055  ;
65056  return 0;
65057}
65058_ACEOF
65059if ac_fn_cxx_try_compile "$LINENO"; then :
65060  glibcxx_cv_func_isinfl_use=yes
65061else
65062  glibcxx_cv_func_isinfl_use=no
65063fi
65064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65065      ac_ext=c
65066ac_cpp='$CPP $CPPFLAGS'
65067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65069ac_compiler_gnu=$ac_cv_c_compiler_gnu
65070
65071
65072fi
65073
65074  fi
65075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
65076$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
65077
65078  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65079    for ac_func in isinfl
65080do :
65081  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
65082if test "x$ac_cv_func_isinfl" = xyes; then :
65083  cat >>confdefs.h <<_ACEOF
65084#define HAVE_ISINFL 1
65085_ACEOF
65086
65087fi
65088done
65089
65090  else
65091
65092  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
65093$as_echo_n "checking for _isinfl declaration... " >&6; }
65094  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65095    if ${glibcxx_cv_func__isinfl_use+:} false; then :
65096  $as_echo_n "(cached) " >&6
65097else
65098
65099
65100      ac_ext=cpp
65101ac_cpp='$CXXCPP $CPPFLAGS'
65102ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65103ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65104ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65105
65106      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65107/* end confdefs.h.  */
65108#include <math.h>
65109		      #ifdef HAVE_IEEEFP_H
65110		      #include <ieeefp.h>
65111		      #endif
65112
65113int
65114main ()
65115{
65116 _isinfl(0);
65117  ;
65118  return 0;
65119}
65120_ACEOF
65121if ac_fn_cxx_try_compile "$LINENO"; then :
65122  glibcxx_cv_func__isinfl_use=yes
65123else
65124  glibcxx_cv_func__isinfl_use=no
65125fi
65126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65127      ac_ext=c
65128ac_cpp='$CPP $CPPFLAGS'
65129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65131ac_compiler_gnu=$ac_cv_c_compiler_gnu
65132
65133
65134fi
65135
65136  fi
65137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
65138$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
65139
65140    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65141      for ac_func in _isinfl
65142do :
65143  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
65144if test "x$ac_cv_func__isinfl" = xyes; then :
65145  cat >>confdefs.h <<_ACEOF
65146#define HAVE__ISINFL 1
65147_ACEOF
65148
65149fi
65150done
65151
65152    fi
65153  fi
65154
65155
65156
65157
65158
65159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
65160$as_echo_n "checking for atan2l declaration... " >&6; }
65161  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65162    if ${glibcxx_cv_func_atan2l_use+:} false; then :
65163  $as_echo_n "(cached) " >&6
65164else
65165
65166
65167      ac_ext=cpp
65168ac_cpp='$CXXCPP $CPPFLAGS'
65169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65172
65173      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65174/* end confdefs.h.  */
65175#include <math.h>
65176int
65177main ()
65178{
65179 atan2l(0, 0);
65180  ;
65181  return 0;
65182}
65183_ACEOF
65184if ac_fn_cxx_try_compile "$LINENO"; then :
65185  glibcxx_cv_func_atan2l_use=yes
65186else
65187  glibcxx_cv_func_atan2l_use=no
65188fi
65189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65190      ac_ext=c
65191ac_cpp='$CPP $CPPFLAGS'
65192ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65193ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65194ac_compiler_gnu=$ac_cv_c_compiler_gnu
65195
65196
65197fi
65198
65199  fi
65200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
65201$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
65202
65203  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65204    for ac_func in atan2l
65205do :
65206  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
65207if test "x$ac_cv_func_atan2l" = xyes; then :
65208  cat >>confdefs.h <<_ACEOF
65209#define HAVE_ATAN2L 1
65210_ACEOF
65211
65212fi
65213done
65214
65215  else
65216
65217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
65218$as_echo_n "checking for _atan2l declaration... " >&6; }
65219  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65220    if ${glibcxx_cv_func__atan2l_use+:} false; then :
65221  $as_echo_n "(cached) " >&6
65222else
65223
65224
65225      ac_ext=cpp
65226ac_cpp='$CXXCPP $CPPFLAGS'
65227ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65228ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65229ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65230
65231      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65232/* end confdefs.h.  */
65233#include <math.h>
65234int
65235main ()
65236{
65237 _atan2l(0, 0);
65238  ;
65239  return 0;
65240}
65241_ACEOF
65242if ac_fn_cxx_try_compile "$LINENO"; then :
65243  glibcxx_cv_func__atan2l_use=yes
65244else
65245  glibcxx_cv_func__atan2l_use=no
65246fi
65247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65248      ac_ext=c
65249ac_cpp='$CPP $CPPFLAGS'
65250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65252ac_compiler_gnu=$ac_cv_c_compiler_gnu
65253
65254
65255fi
65256
65257  fi
65258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65259$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65260
65261    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65262      for ac_func in _atan2l
65263do :
65264  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65265if test "x$ac_cv_func__atan2l" = xyes; then :
65266  cat >>confdefs.h <<_ACEOF
65267#define HAVE__ATAN2L 1
65268_ACEOF
65269
65270fi
65271done
65272
65273    fi
65274  fi
65275
65276
65277
65278
65279
65280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65281$as_echo_n "checking for expl declaration... " >&6; }
65282  if test x${glibcxx_cv_func_expl_use+set} != xset; then
65283    if ${glibcxx_cv_func_expl_use+:} false; then :
65284  $as_echo_n "(cached) " >&6
65285else
65286
65287
65288      ac_ext=cpp
65289ac_cpp='$CXXCPP $CPPFLAGS'
65290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65293
65294      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65295/* end confdefs.h.  */
65296#include <math.h>
65297		      #ifdef HAVE_IEEEFP_H
65298		      #include <ieeefp.h>
65299		      #endif
65300
65301int
65302main ()
65303{
65304 expl(0);
65305  ;
65306  return 0;
65307}
65308_ACEOF
65309if ac_fn_cxx_try_compile "$LINENO"; then :
65310  glibcxx_cv_func_expl_use=yes
65311else
65312  glibcxx_cv_func_expl_use=no
65313fi
65314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65315      ac_ext=c
65316ac_cpp='$CPP $CPPFLAGS'
65317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65319ac_compiler_gnu=$ac_cv_c_compiler_gnu
65320
65321
65322fi
65323
65324  fi
65325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65326$as_echo "$glibcxx_cv_func_expl_use" >&6; }
65327
65328  if test x$glibcxx_cv_func_expl_use = x"yes"; then
65329    for ac_func in expl
65330do :
65331  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65332if test "x$ac_cv_func_expl" = xyes; then :
65333  cat >>confdefs.h <<_ACEOF
65334#define HAVE_EXPL 1
65335_ACEOF
65336
65337fi
65338done
65339
65340  else
65341
65342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65343$as_echo_n "checking for _expl declaration... " >&6; }
65344  if test x${glibcxx_cv_func__expl_use+set} != xset; then
65345    if ${glibcxx_cv_func__expl_use+:} false; then :
65346  $as_echo_n "(cached) " >&6
65347else
65348
65349
65350      ac_ext=cpp
65351ac_cpp='$CXXCPP $CPPFLAGS'
65352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65355
65356      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65357/* end confdefs.h.  */
65358#include <math.h>
65359		      #ifdef HAVE_IEEEFP_H
65360		      #include <ieeefp.h>
65361		      #endif
65362
65363int
65364main ()
65365{
65366 _expl(0);
65367  ;
65368  return 0;
65369}
65370_ACEOF
65371if ac_fn_cxx_try_compile "$LINENO"; then :
65372  glibcxx_cv_func__expl_use=yes
65373else
65374  glibcxx_cv_func__expl_use=no
65375fi
65376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65377      ac_ext=c
65378ac_cpp='$CPP $CPPFLAGS'
65379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65381ac_compiler_gnu=$ac_cv_c_compiler_gnu
65382
65383
65384fi
65385
65386  fi
65387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65388$as_echo "$glibcxx_cv_func__expl_use" >&6; }
65389
65390    if test x$glibcxx_cv_func__expl_use = x"yes"; then
65391      for ac_func in _expl
65392do :
65393  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65394if test "x$ac_cv_func__expl" = xyes; then :
65395  cat >>confdefs.h <<_ACEOF
65396#define HAVE__EXPL 1
65397_ACEOF
65398
65399fi
65400done
65401
65402    fi
65403  fi
65404
65405
65406
65407
65408
65409  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65410$as_echo_n "checking for fabsl declaration... " >&6; }
65411  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65412    if ${glibcxx_cv_func_fabsl_use+:} false; then :
65413  $as_echo_n "(cached) " >&6
65414else
65415
65416
65417      ac_ext=cpp
65418ac_cpp='$CXXCPP $CPPFLAGS'
65419ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65420ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65421ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65422
65423      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65424/* end confdefs.h.  */
65425#include <math.h>
65426		      #ifdef HAVE_IEEEFP_H
65427		      #include <ieeefp.h>
65428		      #endif
65429
65430int
65431main ()
65432{
65433 fabsl(0);
65434  ;
65435  return 0;
65436}
65437_ACEOF
65438if ac_fn_cxx_try_compile "$LINENO"; then :
65439  glibcxx_cv_func_fabsl_use=yes
65440else
65441  glibcxx_cv_func_fabsl_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_fabsl_use" >&5
65455$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65456
65457  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65458    for ac_func in fabsl
65459do :
65460  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65461if test "x$ac_cv_func_fabsl" = xyes; then :
65462  cat >>confdefs.h <<_ACEOF
65463#define HAVE_FABSL 1
65464_ACEOF
65465
65466fi
65467done
65468
65469  else
65470
65471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65472$as_echo_n "checking for _fabsl declaration... " >&6; }
65473  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65474    if ${glibcxx_cv_func__fabsl_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>
65488		      #ifdef HAVE_IEEEFP_H
65489		      #include <ieeefp.h>
65490		      #endif
65491
65492int
65493main ()
65494{
65495 _fabsl(0);
65496  ;
65497  return 0;
65498}
65499_ACEOF
65500if ac_fn_cxx_try_compile "$LINENO"; then :
65501  glibcxx_cv_func__fabsl_use=yes
65502else
65503  glibcxx_cv_func__fabsl_use=no
65504fi
65505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65506      ac_ext=c
65507ac_cpp='$CPP $CPPFLAGS'
65508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65510ac_compiler_gnu=$ac_cv_c_compiler_gnu
65511
65512
65513fi
65514
65515  fi
65516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65517$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65518
65519    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65520      for ac_func in _fabsl
65521do :
65522  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65523if test "x$ac_cv_func__fabsl" = xyes; then :
65524  cat >>confdefs.h <<_ACEOF
65525#define HAVE__FABSL 1
65526_ACEOF
65527
65528fi
65529done
65530
65531    fi
65532  fi
65533
65534
65535
65536
65537
65538  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65539$as_echo_n "checking for fmodl declaration... " >&6; }
65540  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65541    if ${glibcxx_cv_func_fmodl_use+:} false; then :
65542  $as_echo_n "(cached) " >&6
65543else
65544
65545
65546      ac_ext=cpp
65547ac_cpp='$CXXCPP $CPPFLAGS'
65548ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65549ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65550ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65551
65552      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65553/* end confdefs.h.  */
65554#include <math.h>
65555int
65556main ()
65557{
65558 fmodl(0, 0);
65559  ;
65560  return 0;
65561}
65562_ACEOF
65563if ac_fn_cxx_try_compile "$LINENO"; then :
65564  glibcxx_cv_func_fmodl_use=yes
65565else
65566  glibcxx_cv_func_fmodl_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_fmodl_use" >&5
65580$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65581
65582  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65583    for ac_func in fmodl
65584do :
65585  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65586if test "x$ac_cv_func_fmodl" = xyes; then :
65587  cat >>confdefs.h <<_ACEOF
65588#define HAVE_FMODL 1
65589_ACEOF
65590
65591fi
65592done
65593
65594  else
65595
65596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65597$as_echo_n "checking for _fmodl declaration... " >&6; }
65598  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65599    if ${glibcxx_cv_func__fmodl_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>
65613int
65614main ()
65615{
65616 _fmodl(0, 0);
65617  ;
65618  return 0;
65619}
65620_ACEOF
65621if ac_fn_cxx_try_compile "$LINENO"; then :
65622  glibcxx_cv_func__fmodl_use=yes
65623else
65624  glibcxx_cv_func__fmodl_use=no
65625fi
65626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65627      ac_ext=c
65628ac_cpp='$CPP $CPPFLAGS'
65629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65631ac_compiler_gnu=$ac_cv_c_compiler_gnu
65632
65633
65634fi
65635
65636  fi
65637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65638$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65639
65640    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65641      for ac_func in _fmodl
65642do :
65643  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65644if test "x$ac_cv_func__fmodl" = xyes; then :
65645  cat >>confdefs.h <<_ACEOF
65646#define HAVE__FMODL 1
65647_ACEOF
65648
65649fi
65650done
65651
65652    fi
65653  fi
65654
65655
65656
65657
65658
65659  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65660$as_echo_n "checking for frexpl declaration... " >&6; }
65661  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65662    if ${glibcxx_cv_func_frexpl_use+:} false; then :
65663  $as_echo_n "(cached) " >&6
65664else
65665
65666
65667      ac_ext=cpp
65668ac_cpp='$CXXCPP $CPPFLAGS'
65669ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65670ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65671ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65672
65673      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65674/* end confdefs.h.  */
65675#include <math.h>
65676int
65677main ()
65678{
65679 frexpl(0, 0);
65680  ;
65681  return 0;
65682}
65683_ACEOF
65684if ac_fn_cxx_try_compile "$LINENO"; then :
65685  glibcxx_cv_func_frexpl_use=yes
65686else
65687  glibcxx_cv_func_frexpl_use=no
65688fi
65689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65690      ac_ext=c
65691ac_cpp='$CPP $CPPFLAGS'
65692ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694ac_compiler_gnu=$ac_cv_c_compiler_gnu
65695
65696
65697fi
65698
65699  fi
65700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65701$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65702
65703  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65704    for ac_func in frexpl
65705do :
65706  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65707if test "x$ac_cv_func_frexpl" = xyes; then :
65708  cat >>confdefs.h <<_ACEOF
65709#define HAVE_FREXPL 1
65710_ACEOF
65711
65712fi
65713done
65714
65715  else
65716
65717  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65718$as_echo_n "checking for _frexpl declaration... " >&6; }
65719  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65720    if ${glibcxx_cv_func__frexpl_use+:} false; then :
65721  $as_echo_n "(cached) " >&6
65722else
65723
65724
65725      ac_ext=cpp
65726ac_cpp='$CXXCPP $CPPFLAGS'
65727ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65728ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65729ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65730
65731      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65732/* end confdefs.h.  */
65733#include <math.h>
65734int
65735main ()
65736{
65737 _frexpl(0, 0);
65738  ;
65739  return 0;
65740}
65741_ACEOF
65742if ac_fn_cxx_try_compile "$LINENO"; then :
65743  glibcxx_cv_func__frexpl_use=yes
65744else
65745  glibcxx_cv_func__frexpl_use=no
65746fi
65747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65748      ac_ext=c
65749ac_cpp='$CPP $CPPFLAGS'
65750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65752ac_compiler_gnu=$ac_cv_c_compiler_gnu
65753
65754
65755fi
65756
65757  fi
65758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65759$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65760
65761    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65762      for ac_func in _frexpl
65763do :
65764  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65765if test "x$ac_cv_func__frexpl" = xyes; then :
65766  cat >>confdefs.h <<_ACEOF
65767#define HAVE__FREXPL 1
65768_ACEOF
65769
65770fi
65771done
65772
65773    fi
65774  fi
65775
65776
65777
65778
65779
65780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65781$as_echo_n "checking for hypotl declaration... " >&6; }
65782  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65783    if ${glibcxx_cv_func_hypotl_use+:} false; then :
65784  $as_echo_n "(cached) " >&6
65785else
65786
65787
65788      ac_ext=cpp
65789ac_cpp='$CXXCPP $CPPFLAGS'
65790ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65791ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65792ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65793
65794      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65795/* end confdefs.h.  */
65796#include <math.h>
65797int
65798main ()
65799{
65800 hypotl(0, 0);
65801  ;
65802  return 0;
65803}
65804_ACEOF
65805if ac_fn_cxx_try_compile "$LINENO"; then :
65806  glibcxx_cv_func_hypotl_use=yes
65807else
65808  glibcxx_cv_func_hypotl_use=no
65809fi
65810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65811      ac_ext=c
65812ac_cpp='$CPP $CPPFLAGS'
65813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65815ac_compiler_gnu=$ac_cv_c_compiler_gnu
65816
65817
65818fi
65819
65820  fi
65821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65822$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65823
65824  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65825    for ac_func in hypotl
65826do :
65827  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65828if test "x$ac_cv_func_hypotl" = xyes; then :
65829  cat >>confdefs.h <<_ACEOF
65830#define HAVE_HYPOTL 1
65831_ACEOF
65832
65833fi
65834done
65835
65836  else
65837
65838  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65839$as_echo_n "checking for _hypotl declaration... " >&6; }
65840  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65841    if ${glibcxx_cv_func__hypotl_use+:} false; then :
65842  $as_echo_n "(cached) " >&6
65843else
65844
65845
65846      ac_ext=cpp
65847ac_cpp='$CXXCPP $CPPFLAGS'
65848ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65849ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65850ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65851
65852      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65853/* end confdefs.h.  */
65854#include <math.h>
65855int
65856main ()
65857{
65858 _hypotl(0, 0);
65859  ;
65860  return 0;
65861}
65862_ACEOF
65863if ac_fn_cxx_try_compile "$LINENO"; then :
65864  glibcxx_cv_func__hypotl_use=yes
65865else
65866  glibcxx_cv_func__hypotl_use=no
65867fi
65868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65869      ac_ext=c
65870ac_cpp='$CPP $CPPFLAGS'
65871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65873ac_compiler_gnu=$ac_cv_c_compiler_gnu
65874
65875
65876fi
65877
65878  fi
65879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65880$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65881
65882    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65883      for ac_func in _hypotl
65884do :
65885  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65886if test "x$ac_cv_func__hypotl" = xyes; then :
65887  cat >>confdefs.h <<_ACEOF
65888#define HAVE__HYPOTL 1
65889_ACEOF
65890
65891fi
65892done
65893
65894    fi
65895  fi
65896
65897
65898
65899
65900
65901  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65902$as_echo_n "checking for ldexpl declaration... " >&6; }
65903  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65904    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65905  $as_echo_n "(cached) " >&6
65906else
65907
65908
65909      ac_ext=cpp
65910ac_cpp='$CXXCPP $CPPFLAGS'
65911ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65912ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65913ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65914
65915      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65916/* end confdefs.h.  */
65917#include <math.h>
65918int
65919main ()
65920{
65921 ldexpl(0, 0);
65922  ;
65923  return 0;
65924}
65925_ACEOF
65926if ac_fn_cxx_try_compile "$LINENO"; then :
65927  glibcxx_cv_func_ldexpl_use=yes
65928else
65929  glibcxx_cv_func_ldexpl_use=no
65930fi
65931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65932      ac_ext=c
65933ac_cpp='$CPP $CPPFLAGS'
65934ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65935ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65936ac_compiler_gnu=$ac_cv_c_compiler_gnu
65937
65938
65939fi
65940
65941  fi
65942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65943$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65944
65945  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65946    for ac_func in ldexpl
65947do :
65948  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65949if test "x$ac_cv_func_ldexpl" = xyes; then :
65950  cat >>confdefs.h <<_ACEOF
65951#define HAVE_LDEXPL 1
65952_ACEOF
65953
65954fi
65955done
65956
65957  else
65958
65959  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65960$as_echo_n "checking for _ldexpl declaration... " >&6; }
65961  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65962    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65963  $as_echo_n "(cached) " >&6
65964else
65965
65966
65967      ac_ext=cpp
65968ac_cpp='$CXXCPP $CPPFLAGS'
65969ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65970ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65971ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65972
65973      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65974/* end confdefs.h.  */
65975#include <math.h>
65976int
65977main ()
65978{
65979 _ldexpl(0, 0);
65980  ;
65981  return 0;
65982}
65983_ACEOF
65984if ac_fn_cxx_try_compile "$LINENO"; then :
65985  glibcxx_cv_func__ldexpl_use=yes
65986else
65987  glibcxx_cv_func__ldexpl_use=no
65988fi
65989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65990      ac_ext=c
65991ac_cpp='$CPP $CPPFLAGS'
65992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65994ac_compiler_gnu=$ac_cv_c_compiler_gnu
65995
65996
65997fi
65998
65999  fi
66000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
66001$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
66002
66003    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
66004      for ac_func in _ldexpl
66005do :
66006  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
66007if test "x$ac_cv_func__ldexpl" = xyes; then :
66008  cat >>confdefs.h <<_ACEOF
66009#define HAVE__LDEXPL 1
66010_ACEOF
66011
66012fi
66013done
66014
66015    fi
66016  fi
66017
66018
66019
66020
66021
66022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
66023$as_echo_n "checking for logl declaration... " >&6; }
66024  if test x${glibcxx_cv_func_logl_use+set} != xset; then
66025    if ${glibcxx_cv_func_logl_use+:} false; then :
66026  $as_echo_n "(cached) " >&6
66027else
66028
66029
66030      ac_ext=cpp
66031ac_cpp='$CXXCPP $CPPFLAGS'
66032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66035
66036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66037/* end confdefs.h.  */
66038#include <math.h>
66039		      #ifdef HAVE_IEEEFP_H
66040		      #include <ieeefp.h>
66041		      #endif
66042
66043int
66044main ()
66045{
66046 logl(0);
66047  ;
66048  return 0;
66049}
66050_ACEOF
66051if ac_fn_cxx_try_compile "$LINENO"; then :
66052  glibcxx_cv_func_logl_use=yes
66053else
66054  glibcxx_cv_func_logl_use=no
66055fi
66056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66057      ac_ext=c
66058ac_cpp='$CPP $CPPFLAGS'
66059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061ac_compiler_gnu=$ac_cv_c_compiler_gnu
66062
66063
66064fi
66065
66066  fi
66067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
66068$as_echo "$glibcxx_cv_func_logl_use" >&6; }
66069
66070  if test x$glibcxx_cv_func_logl_use = x"yes"; then
66071    for ac_func in logl
66072do :
66073  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
66074if test "x$ac_cv_func_logl" = xyes; then :
66075  cat >>confdefs.h <<_ACEOF
66076#define HAVE_LOGL 1
66077_ACEOF
66078
66079fi
66080done
66081
66082  else
66083
66084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
66085$as_echo_n "checking for _logl declaration... " >&6; }
66086  if test x${glibcxx_cv_func__logl_use+set} != xset; then
66087    if ${glibcxx_cv_func__logl_use+:} false; then :
66088  $as_echo_n "(cached) " >&6
66089else
66090
66091
66092      ac_ext=cpp
66093ac_cpp='$CXXCPP $CPPFLAGS'
66094ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66097
66098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66099/* end confdefs.h.  */
66100#include <math.h>
66101		      #ifdef HAVE_IEEEFP_H
66102		      #include <ieeefp.h>
66103		      #endif
66104
66105int
66106main ()
66107{
66108 _logl(0);
66109  ;
66110  return 0;
66111}
66112_ACEOF
66113if ac_fn_cxx_try_compile "$LINENO"; then :
66114  glibcxx_cv_func__logl_use=yes
66115else
66116  glibcxx_cv_func__logl_use=no
66117fi
66118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66119      ac_ext=c
66120ac_cpp='$CPP $CPPFLAGS'
66121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66123ac_compiler_gnu=$ac_cv_c_compiler_gnu
66124
66125
66126fi
66127
66128  fi
66129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
66130$as_echo "$glibcxx_cv_func__logl_use" >&6; }
66131
66132    if test x$glibcxx_cv_func__logl_use = x"yes"; then
66133      for ac_func in _logl
66134do :
66135  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
66136if test "x$ac_cv_func__logl" = xyes; then :
66137  cat >>confdefs.h <<_ACEOF
66138#define HAVE__LOGL 1
66139_ACEOF
66140
66141fi
66142done
66143
66144    fi
66145  fi
66146
66147
66148
66149
66150
66151  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
66152$as_echo_n "checking for log10l declaration... " >&6; }
66153  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
66154    if ${glibcxx_cv_func_log10l_use+:} false; then :
66155  $as_echo_n "(cached) " >&6
66156else
66157
66158
66159      ac_ext=cpp
66160ac_cpp='$CXXCPP $CPPFLAGS'
66161ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66162ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66163ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66164
66165      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66166/* end confdefs.h.  */
66167#include <math.h>
66168		      #ifdef HAVE_IEEEFP_H
66169		      #include <ieeefp.h>
66170		      #endif
66171
66172int
66173main ()
66174{
66175 log10l(0);
66176  ;
66177  return 0;
66178}
66179_ACEOF
66180if ac_fn_cxx_try_compile "$LINENO"; then :
66181  glibcxx_cv_func_log10l_use=yes
66182else
66183  glibcxx_cv_func_log10l_use=no
66184fi
66185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66186      ac_ext=c
66187ac_cpp='$CPP $CPPFLAGS'
66188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66190ac_compiler_gnu=$ac_cv_c_compiler_gnu
66191
66192
66193fi
66194
66195  fi
66196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
66197$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
66198
66199  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
66200    for ac_func in log10l
66201do :
66202  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
66203if test "x$ac_cv_func_log10l" = xyes; then :
66204  cat >>confdefs.h <<_ACEOF
66205#define HAVE_LOG10L 1
66206_ACEOF
66207
66208fi
66209done
66210
66211  else
66212
66213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
66214$as_echo_n "checking for _log10l declaration... " >&6; }
66215  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
66216    if ${glibcxx_cv_func__log10l_use+:} false; then :
66217  $as_echo_n "(cached) " >&6
66218else
66219
66220
66221      ac_ext=cpp
66222ac_cpp='$CXXCPP $CPPFLAGS'
66223ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66224ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66225ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66226
66227      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66228/* end confdefs.h.  */
66229#include <math.h>
66230		      #ifdef HAVE_IEEEFP_H
66231		      #include <ieeefp.h>
66232		      #endif
66233
66234int
66235main ()
66236{
66237 _log10l(0);
66238  ;
66239  return 0;
66240}
66241_ACEOF
66242if ac_fn_cxx_try_compile "$LINENO"; then :
66243  glibcxx_cv_func__log10l_use=yes
66244else
66245  glibcxx_cv_func__log10l_use=no
66246fi
66247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66248      ac_ext=c
66249ac_cpp='$CPP $CPPFLAGS'
66250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66252ac_compiler_gnu=$ac_cv_c_compiler_gnu
66253
66254
66255fi
66256
66257  fi
66258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66259$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66260
66261    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66262      for ac_func in _log10l
66263do :
66264  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66265if test "x$ac_cv_func__log10l" = xyes; then :
66266  cat >>confdefs.h <<_ACEOF
66267#define HAVE__LOG10L 1
66268_ACEOF
66269
66270fi
66271done
66272
66273    fi
66274  fi
66275
66276
66277
66278
66279
66280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66281$as_echo_n "checking for modfl declaration... " >&6; }
66282  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66283    if ${glibcxx_cv_func_modfl_use+:} false; then :
66284  $as_echo_n "(cached) " >&6
66285else
66286
66287
66288      ac_ext=cpp
66289ac_cpp='$CXXCPP $CPPFLAGS'
66290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66293
66294      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66295/* end confdefs.h.  */
66296#include <math.h>
66297int
66298main ()
66299{
66300 modfl(0, 0);
66301  ;
66302  return 0;
66303}
66304_ACEOF
66305if ac_fn_cxx_try_compile "$LINENO"; then :
66306  glibcxx_cv_func_modfl_use=yes
66307else
66308  glibcxx_cv_func_modfl_use=no
66309fi
66310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66311      ac_ext=c
66312ac_cpp='$CPP $CPPFLAGS'
66313ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66314ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66315ac_compiler_gnu=$ac_cv_c_compiler_gnu
66316
66317
66318fi
66319
66320  fi
66321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66322$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66323
66324  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66325    for ac_func in modfl
66326do :
66327  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66328if test "x$ac_cv_func_modfl" = xyes; then :
66329  cat >>confdefs.h <<_ACEOF
66330#define HAVE_MODFL 1
66331_ACEOF
66332
66333fi
66334done
66335
66336  else
66337
66338  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66339$as_echo_n "checking for _modfl declaration... " >&6; }
66340  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66341    if ${glibcxx_cv_func__modfl_use+:} false; then :
66342  $as_echo_n "(cached) " >&6
66343else
66344
66345
66346      ac_ext=cpp
66347ac_cpp='$CXXCPP $CPPFLAGS'
66348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66351
66352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66353/* end confdefs.h.  */
66354#include <math.h>
66355int
66356main ()
66357{
66358 _modfl(0, 0);
66359  ;
66360  return 0;
66361}
66362_ACEOF
66363if ac_fn_cxx_try_compile "$LINENO"; then :
66364  glibcxx_cv_func__modfl_use=yes
66365else
66366  glibcxx_cv_func__modfl_use=no
66367fi
66368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66369      ac_ext=c
66370ac_cpp='$CPP $CPPFLAGS'
66371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66373ac_compiler_gnu=$ac_cv_c_compiler_gnu
66374
66375
66376fi
66377
66378  fi
66379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66380$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66381
66382    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66383      for ac_func in _modfl
66384do :
66385  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66386if test "x$ac_cv_func__modfl" = xyes; then :
66387  cat >>confdefs.h <<_ACEOF
66388#define HAVE__MODFL 1
66389_ACEOF
66390
66391fi
66392done
66393
66394    fi
66395  fi
66396
66397
66398
66399
66400
66401  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66402$as_echo_n "checking for powl declaration... " >&6; }
66403  if test x${glibcxx_cv_func_powl_use+set} != xset; then
66404    if ${glibcxx_cv_func_powl_use+:} false; then :
66405  $as_echo_n "(cached) " >&6
66406else
66407
66408
66409      ac_ext=cpp
66410ac_cpp='$CXXCPP $CPPFLAGS'
66411ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66412ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66413ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66414
66415      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66416/* end confdefs.h.  */
66417#include <math.h>
66418int
66419main ()
66420{
66421 powl(0, 0);
66422  ;
66423  return 0;
66424}
66425_ACEOF
66426if ac_fn_cxx_try_compile "$LINENO"; then :
66427  glibcxx_cv_func_powl_use=yes
66428else
66429  glibcxx_cv_func_powl_use=no
66430fi
66431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66432      ac_ext=c
66433ac_cpp='$CPP $CPPFLAGS'
66434ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436ac_compiler_gnu=$ac_cv_c_compiler_gnu
66437
66438
66439fi
66440
66441  fi
66442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66443$as_echo "$glibcxx_cv_func_powl_use" >&6; }
66444
66445  if test x$glibcxx_cv_func_powl_use = x"yes"; then
66446    for ac_func in powl
66447do :
66448  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66449if test "x$ac_cv_func_powl" = xyes; then :
66450  cat >>confdefs.h <<_ACEOF
66451#define HAVE_POWL 1
66452_ACEOF
66453
66454fi
66455done
66456
66457  else
66458
66459  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66460$as_echo_n "checking for _powl declaration... " >&6; }
66461  if test x${glibcxx_cv_func__powl_use+set} != xset; then
66462    if ${glibcxx_cv_func__powl_use+:} false; then :
66463  $as_echo_n "(cached) " >&6
66464else
66465
66466
66467      ac_ext=cpp
66468ac_cpp='$CXXCPP $CPPFLAGS'
66469ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66470ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66471ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66472
66473      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66474/* end confdefs.h.  */
66475#include <math.h>
66476int
66477main ()
66478{
66479 _powl(0, 0);
66480  ;
66481  return 0;
66482}
66483_ACEOF
66484if ac_fn_cxx_try_compile "$LINENO"; then :
66485  glibcxx_cv_func__powl_use=yes
66486else
66487  glibcxx_cv_func__powl_use=no
66488fi
66489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66490      ac_ext=c
66491ac_cpp='$CPP $CPPFLAGS'
66492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66494ac_compiler_gnu=$ac_cv_c_compiler_gnu
66495
66496
66497fi
66498
66499  fi
66500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66501$as_echo "$glibcxx_cv_func__powl_use" >&6; }
66502
66503    if test x$glibcxx_cv_func__powl_use = x"yes"; then
66504      for ac_func in _powl
66505do :
66506  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66507if test "x$ac_cv_func__powl" = xyes; then :
66508  cat >>confdefs.h <<_ACEOF
66509#define HAVE__POWL 1
66510_ACEOF
66511
66512fi
66513done
66514
66515    fi
66516  fi
66517
66518
66519
66520
66521
66522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66523$as_echo_n "checking for sqrtl declaration... " >&6; }
66524  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66525    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66526  $as_echo_n "(cached) " >&6
66527else
66528
66529
66530      ac_ext=cpp
66531ac_cpp='$CXXCPP $CPPFLAGS'
66532ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66533ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66534ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66535
66536      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66537/* end confdefs.h.  */
66538#include <math.h>
66539		      #ifdef HAVE_IEEEFP_H
66540		      #include <ieeefp.h>
66541		      #endif
66542
66543int
66544main ()
66545{
66546 sqrtl(0);
66547  ;
66548  return 0;
66549}
66550_ACEOF
66551if ac_fn_cxx_try_compile "$LINENO"; then :
66552  glibcxx_cv_func_sqrtl_use=yes
66553else
66554  glibcxx_cv_func_sqrtl_use=no
66555fi
66556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66557      ac_ext=c
66558ac_cpp='$CPP $CPPFLAGS'
66559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66561ac_compiler_gnu=$ac_cv_c_compiler_gnu
66562
66563
66564fi
66565
66566  fi
66567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66568$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66569
66570  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66571    for ac_func in sqrtl
66572do :
66573  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66574if test "x$ac_cv_func_sqrtl" = xyes; then :
66575  cat >>confdefs.h <<_ACEOF
66576#define HAVE_SQRTL 1
66577_ACEOF
66578
66579fi
66580done
66581
66582  else
66583
66584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66585$as_echo_n "checking for _sqrtl declaration... " >&6; }
66586  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66587    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66588  $as_echo_n "(cached) " >&6
66589else
66590
66591
66592      ac_ext=cpp
66593ac_cpp='$CXXCPP $CPPFLAGS'
66594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66597
66598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66599/* end confdefs.h.  */
66600#include <math.h>
66601		      #ifdef HAVE_IEEEFP_H
66602		      #include <ieeefp.h>
66603		      #endif
66604
66605int
66606main ()
66607{
66608 _sqrtl(0);
66609  ;
66610  return 0;
66611}
66612_ACEOF
66613if ac_fn_cxx_try_compile "$LINENO"; then :
66614  glibcxx_cv_func__sqrtl_use=yes
66615else
66616  glibcxx_cv_func__sqrtl_use=no
66617fi
66618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66619      ac_ext=c
66620ac_cpp='$CPP $CPPFLAGS'
66621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66623ac_compiler_gnu=$ac_cv_c_compiler_gnu
66624
66625
66626fi
66627
66628  fi
66629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66630$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66631
66632    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66633      for ac_func in _sqrtl
66634do :
66635  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66636if test "x$ac_cv_func__sqrtl" = xyes; then :
66637  cat >>confdefs.h <<_ACEOF
66638#define HAVE__SQRTL 1
66639_ACEOF
66640
66641fi
66642done
66643
66644    fi
66645  fi
66646
66647
66648
66649
66650
66651  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66652$as_echo_n "checking for sincosl declaration... " >&6; }
66653  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66654    if ${glibcxx_cv_func_sincosl_use+:} false; then :
66655  $as_echo_n "(cached) " >&6
66656else
66657
66658
66659      ac_ext=cpp
66660ac_cpp='$CXXCPP $CPPFLAGS'
66661ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66662ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66663ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66664
66665      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66666/* end confdefs.h.  */
66667#include <math.h>
66668int
66669main ()
66670{
66671 sincosl(0, 0, 0);
66672  ;
66673  return 0;
66674}
66675_ACEOF
66676if ac_fn_cxx_try_compile "$LINENO"; then :
66677  glibcxx_cv_func_sincosl_use=yes
66678else
66679  glibcxx_cv_func_sincosl_use=no
66680fi
66681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66682      ac_ext=c
66683ac_cpp='$CPP $CPPFLAGS'
66684ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66685ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66686ac_compiler_gnu=$ac_cv_c_compiler_gnu
66687
66688
66689fi
66690
66691  fi
66692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66693$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66694
66695  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66696    for ac_func in sincosl
66697do :
66698  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66699if test "x$ac_cv_func_sincosl" = xyes; then :
66700  cat >>confdefs.h <<_ACEOF
66701#define HAVE_SINCOSL 1
66702_ACEOF
66703
66704fi
66705done
66706
66707  else
66708
66709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66710$as_echo_n "checking for _sincosl declaration... " >&6; }
66711  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66712    if ${glibcxx_cv_func__sincosl_use+:} false; then :
66713  $as_echo_n "(cached) " >&6
66714else
66715
66716
66717      ac_ext=cpp
66718ac_cpp='$CXXCPP $CPPFLAGS'
66719ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66720ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66721ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66722
66723      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66724/* end confdefs.h.  */
66725#include <math.h>
66726int
66727main ()
66728{
66729 _sincosl(0, 0, 0);
66730  ;
66731  return 0;
66732}
66733_ACEOF
66734if ac_fn_cxx_try_compile "$LINENO"; then :
66735  glibcxx_cv_func__sincosl_use=yes
66736else
66737  glibcxx_cv_func__sincosl_use=no
66738fi
66739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66740      ac_ext=c
66741ac_cpp='$CPP $CPPFLAGS'
66742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66744ac_compiler_gnu=$ac_cv_c_compiler_gnu
66745
66746
66747fi
66748
66749  fi
66750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66751$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66752
66753    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66754      for ac_func in _sincosl
66755do :
66756  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66757if test "x$ac_cv_func__sincosl" = xyes; then :
66758  cat >>confdefs.h <<_ACEOF
66759#define HAVE__SINCOSL 1
66760_ACEOF
66761
66762fi
66763done
66764
66765    fi
66766  fi
66767
66768
66769
66770
66771
66772  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66773$as_echo_n "checking for finitel declaration... " >&6; }
66774  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66775    if ${glibcxx_cv_func_finitel_use+:} false; then :
66776  $as_echo_n "(cached) " >&6
66777else
66778
66779
66780      ac_ext=cpp
66781ac_cpp='$CXXCPP $CPPFLAGS'
66782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66785
66786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66787/* end confdefs.h.  */
66788#include <math.h>
66789		      #ifdef HAVE_IEEEFP_H
66790		      #include <ieeefp.h>
66791		      #endif
66792
66793int
66794main ()
66795{
66796 finitel(0);
66797  ;
66798  return 0;
66799}
66800_ACEOF
66801if ac_fn_cxx_try_compile "$LINENO"; then :
66802  glibcxx_cv_func_finitel_use=yes
66803else
66804  glibcxx_cv_func_finitel_use=no
66805fi
66806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66807      ac_ext=c
66808ac_cpp='$CPP $CPPFLAGS'
66809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66811ac_compiler_gnu=$ac_cv_c_compiler_gnu
66812
66813
66814fi
66815
66816  fi
66817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66818$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66819
66820  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66821    for ac_func in finitel
66822do :
66823  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66824if test "x$ac_cv_func_finitel" = xyes; then :
66825  cat >>confdefs.h <<_ACEOF
66826#define HAVE_FINITEL 1
66827_ACEOF
66828
66829fi
66830done
66831
66832  else
66833
66834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66835$as_echo_n "checking for _finitel declaration... " >&6; }
66836  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66837    if ${glibcxx_cv_func__finitel_use+:} false; then :
66838  $as_echo_n "(cached) " >&6
66839else
66840
66841
66842      ac_ext=cpp
66843ac_cpp='$CXXCPP $CPPFLAGS'
66844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66847
66848      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66849/* end confdefs.h.  */
66850#include <math.h>
66851		      #ifdef HAVE_IEEEFP_H
66852		      #include <ieeefp.h>
66853		      #endif
66854
66855int
66856main ()
66857{
66858 _finitel(0);
66859  ;
66860  return 0;
66861}
66862_ACEOF
66863if ac_fn_cxx_try_compile "$LINENO"; then :
66864  glibcxx_cv_func__finitel_use=yes
66865else
66866  glibcxx_cv_func__finitel_use=no
66867fi
66868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66869      ac_ext=c
66870ac_cpp='$CPP $CPPFLAGS'
66871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66873ac_compiler_gnu=$ac_cv_c_compiler_gnu
66874
66875
66876fi
66877
66878  fi
66879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66880$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66881
66882    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66883      for ac_func in _finitel
66884do :
66885  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66886if test "x$ac_cv_func__finitel" = xyes; then :
66887  cat >>confdefs.h <<_ACEOF
66888#define HAVE__FINITEL 1
66889_ACEOF
66890
66891fi
66892done
66893
66894    fi
66895  fi
66896
66897
66898
66899
66900  LIBS="$ac_save_LIBS"
66901  CXXFLAGS="$ac_save_CXXFLAGS"
66902
66903
66904  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66905  ac_save_CXXFLAGS="$CXXFLAGS"
66906  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66907
66908
66909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66910$as_echo_n "checking for at_quick_exit declaration... " >&6; }
66911  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66912    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66913  $as_echo_n "(cached) " >&6
66914else
66915
66916
66917      ac_ext=cpp
66918ac_cpp='$CXXCPP $CPPFLAGS'
66919ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66920ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66921ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66922
66923      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66924/* end confdefs.h.  */
66925#include <stdlib.h>
66926int
66927main ()
66928{
66929 at_quick_exit(0);
66930  ;
66931  return 0;
66932}
66933_ACEOF
66934if ac_fn_cxx_try_compile "$LINENO"; then :
66935  glibcxx_cv_func_at_quick_exit_use=yes
66936else
66937  glibcxx_cv_func_at_quick_exit_use=no
66938fi
66939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66940      ac_ext=c
66941ac_cpp='$CPP $CPPFLAGS'
66942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944ac_compiler_gnu=$ac_cv_c_compiler_gnu
66945
66946
66947fi
66948
66949  fi
66950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66951$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66952  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66953    for ac_func in at_quick_exit
66954do :
66955  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66956if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66957  cat >>confdefs.h <<_ACEOF
66958#define HAVE_AT_QUICK_EXIT 1
66959_ACEOF
66960
66961fi
66962done
66963
66964  fi
66965
66966
66967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66968$as_echo_n "checking for quick_exit declaration... " >&6; }
66969  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66970    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66971  $as_echo_n "(cached) " >&6
66972else
66973
66974
66975      ac_ext=cpp
66976ac_cpp='$CXXCPP $CPPFLAGS'
66977ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66978ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66979ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66980
66981      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66982/* end confdefs.h.  */
66983#include <stdlib.h>
66984int
66985main ()
66986{
66987 quick_exit(0);
66988  ;
66989  return 0;
66990}
66991_ACEOF
66992if ac_fn_cxx_try_compile "$LINENO"; then :
66993  glibcxx_cv_func_quick_exit_use=yes
66994else
66995  glibcxx_cv_func_quick_exit_use=no
66996fi
66997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66998      ac_ext=c
66999ac_cpp='$CPP $CPPFLAGS'
67000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67002ac_compiler_gnu=$ac_cv_c_compiler_gnu
67003
67004
67005fi
67006
67007  fi
67008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
67009$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
67010  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
67011    for ac_func in quick_exit
67012do :
67013  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
67014if test "x$ac_cv_func_quick_exit" = xyes; then :
67015  cat >>confdefs.h <<_ACEOF
67016#define HAVE_QUICK_EXIT 1
67017_ACEOF
67018
67019fi
67020done
67021
67022  fi
67023
67024
67025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
67026$as_echo_n "checking for strtold declaration... " >&6; }
67027  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
67028    if ${glibcxx_cv_func_strtold_use+:} false; then :
67029  $as_echo_n "(cached) " >&6
67030else
67031
67032
67033      ac_ext=cpp
67034ac_cpp='$CXXCPP $CPPFLAGS'
67035ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67036ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67037ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67038
67039      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67040/* end confdefs.h.  */
67041#include <stdlib.h>
67042int
67043main ()
67044{
67045 strtold(0, 0);
67046  ;
67047  return 0;
67048}
67049_ACEOF
67050if ac_fn_cxx_try_compile "$LINENO"; then :
67051  glibcxx_cv_func_strtold_use=yes
67052else
67053  glibcxx_cv_func_strtold_use=no
67054fi
67055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67056      ac_ext=c
67057ac_cpp='$CPP $CPPFLAGS'
67058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67060ac_compiler_gnu=$ac_cv_c_compiler_gnu
67061
67062
67063fi
67064
67065  fi
67066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
67067$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
67068  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
67069    for ac_func in strtold
67070do :
67071  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
67072if test "x$ac_cv_func_strtold" = xyes; then :
67073  cat >>confdefs.h <<_ACEOF
67074#define HAVE_STRTOLD 1
67075_ACEOF
67076
67077fi
67078done
67079
67080  fi
67081
67082
67083
67084
67085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
67086$as_echo_n "checking for strtof declaration... " >&6; }
67087  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
67088    if ${glibcxx_cv_func_strtof_use+:} false; then :
67089  $as_echo_n "(cached) " >&6
67090else
67091
67092
67093      ac_ext=cpp
67094ac_cpp='$CXXCPP $CPPFLAGS'
67095ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67096ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67097ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67098
67099      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67100/* end confdefs.h.  */
67101#include <stdlib.h>
67102int
67103main ()
67104{
67105 strtof(0, 0);
67106  ;
67107  return 0;
67108}
67109_ACEOF
67110if ac_fn_cxx_try_compile "$LINENO"; then :
67111  glibcxx_cv_func_strtof_use=yes
67112else
67113  glibcxx_cv_func_strtof_use=no
67114fi
67115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67116      ac_ext=c
67117ac_cpp='$CPP $CPPFLAGS'
67118ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67119ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67120ac_compiler_gnu=$ac_cv_c_compiler_gnu
67121
67122
67123fi
67124
67125  fi
67126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
67127$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
67128  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
67129    for ac_func in strtof
67130do :
67131  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
67132if test "x$ac_cv_func_strtof" = xyes; then :
67133  cat >>confdefs.h <<_ACEOF
67134#define HAVE_STRTOF 1
67135_ACEOF
67136
67137fi
67138done
67139
67140  fi
67141
67142
67143
67144
67145  CXXFLAGS="$ac_save_CXXFLAGS"
67146
67147    ;;
67148  *-tpf)
67149    SECTION_FLAGS='-ffunction-sections -fdata-sections'
67150    SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
67151
67152    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
67153
67154    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
67155
67156    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
67157
67158    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
67159
67160    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
67161
67162    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
67163
67164    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
67165
67166    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
67167
67168    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
67169
67170    $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
67171
67172    if test x"long_double_math_on_this_cpu" = x"yes"; then
67173      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
67174
67175      $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
67176
67177      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
67178
67179      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
67180
67181    fi
67182    ;;
67183  *-*vms*)
67184    # Check for available headers.
67185    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
67186
67187  ac_test_CXXFLAGS="${CXXFLAGS+set}"
67188  ac_save_CXXFLAGS="$CXXFLAGS"
67189  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67190
67191    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
67192$as_echo_n "checking for sin in -lm... " >&6; }
67193if ${ac_cv_lib_m_sin+:} false; then :
67194  $as_echo_n "(cached) " >&6
67195else
67196  ac_check_lib_save_LIBS=$LIBS
67197LIBS="-lm  $LIBS"
67198if test x$gcc_no_link = xyes; then
67199  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
67200fi
67201cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67202/* end confdefs.h.  */
67203
67204/* Override any GCC internal prototype to avoid an error.
67205   Use char because int might match the return type of a GCC
67206   builtin and then its argument prototype would still apply.  */
67207#ifdef __cplusplus
67208extern "C"
67209#endif
67210char sin ();
67211int
67212main ()
67213{
67214return sin ();
67215  ;
67216  return 0;
67217}
67218_ACEOF
67219if ac_fn_c_try_link "$LINENO"; then :
67220  ac_cv_lib_m_sin=yes
67221else
67222  ac_cv_lib_m_sin=no
67223fi
67224rm -f core conftest.err conftest.$ac_objext \
67225    conftest$ac_exeext conftest.$ac_ext
67226LIBS=$ac_check_lib_save_LIBS
67227fi
67228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67229$as_echo "$ac_cv_lib_m_sin" >&6; }
67230if test "x$ac_cv_lib_m_sin" = xyes; then :
67231  libm="-lm"
67232fi
67233
67234  ac_save_LIBS="$LIBS"
67235  LIBS="$LIBS $libm"
67236
67237
67238
67239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67240$as_echo_n "checking for isinf declaration... " >&6; }
67241  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67242    if ${glibcxx_cv_func_isinf_use+:} false; then :
67243  $as_echo_n "(cached) " >&6
67244else
67245
67246
67247      ac_ext=cpp
67248ac_cpp='$CXXCPP $CPPFLAGS'
67249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67252
67253      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67254/* end confdefs.h.  */
67255#include <math.h>
67256		      #ifdef HAVE_IEEEFP_H
67257		      #include <ieeefp.h>
67258		      #endif
67259
67260int
67261main ()
67262{
67263 isinf(0);
67264  ;
67265  return 0;
67266}
67267_ACEOF
67268if ac_fn_cxx_try_compile "$LINENO"; then :
67269  glibcxx_cv_func_isinf_use=yes
67270else
67271  glibcxx_cv_func_isinf_use=no
67272fi
67273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67274      ac_ext=c
67275ac_cpp='$CPP $CPPFLAGS'
67276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67278ac_compiler_gnu=$ac_cv_c_compiler_gnu
67279
67280
67281fi
67282
67283  fi
67284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67285$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67286
67287  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67288    for ac_func in isinf
67289do :
67290  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67291if test "x$ac_cv_func_isinf" = xyes; then :
67292  cat >>confdefs.h <<_ACEOF
67293#define HAVE_ISINF 1
67294_ACEOF
67295
67296fi
67297done
67298
67299  else
67300
67301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67302$as_echo_n "checking for _isinf declaration... " >&6; }
67303  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67304    if ${glibcxx_cv_func__isinf_use+:} false; then :
67305  $as_echo_n "(cached) " >&6
67306else
67307
67308
67309      ac_ext=cpp
67310ac_cpp='$CXXCPP $CPPFLAGS'
67311ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67314
67315      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67316/* end confdefs.h.  */
67317#include <math.h>
67318		      #ifdef HAVE_IEEEFP_H
67319		      #include <ieeefp.h>
67320		      #endif
67321
67322int
67323main ()
67324{
67325 _isinf(0);
67326  ;
67327  return 0;
67328}
67329_ACEOF
67330if ac_fn_cxx_try_compile "$LINENO"; then :
67331  glibcxx_cv_func__isinf_use=yes
67332else
67333  glibcxx_cv_func__isinf_use=no
67334fi
67335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67336      ac_ext=c
67337ac_cpp='$CPP $CPPFLAGS'
67338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67340ac_compiler_gnu=$ac_cv_c_compiler_gnu
67341
67342
67343fi
67344
67345  fi
67346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67347$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67348
67349    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67350      for ac_func in _isinf
67351do :
67352  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67353if test "x$ac_cv_func__isinf" = xyes; then :
67354  cat >>confdefs.h <<_ACEOF
67355#define HAVE__ISINF 1
67356_ACEOF
67357
67358fi
67359done
67360
67361    fi
67362  fi
67363
67364
67365
67366
67367
67368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67369$as_echo_n "checking for isnan declaration... " >&6; }
67370  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67371    if ${glibcxx_cv_func_isnan_use+:} false; then :
67372  $as_echo_n "(cached) " >&6
67373else
67374
67375
67376      ac_ext=cpp
67377ac_cpp='$CXXCPP $CPPFLAGS'
67378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67381
67382      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67383/* end confdefs.h.  */
67384#include <math.h>
67385		      #ifdef HAVE_IEEEFP_H
67386		      #include <ieeefp.h>
67387		      #endif
67388
67389int
67390main ()
67391{
67392 isnan(0);
67393  ;
67394  return 0;
67395}
67396_ACEOF
67397if ac_fn_cxx_try_compile "$LINENO"; then :
67398  glibcxx_cv_func_isnan_use=yes
67399else
67400  glibcxx_cv_func_isnan_use=no
67401fi
67402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67403      ac_ext=c
67404ac_cpp='$CPP $CPPFLAGS'
67405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67407ac_compiler_gnu=$ac_cv_c_compiler_gnu
67408
67409
67410fi
67411
67412  fi
67413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67414$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67415
67416  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67417    for ac_func in isnan
67418do :
67419  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67420if test "x$ac_cv_func_isnan" = xyes; then :
67421  cat >>confdefs.h <<_ACEOF
67422#define HAVE_ISNAN 1
67423_ACEOF
67424
67425fi
67426done
67427
67428  else
67429
67430  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67431$as_echo_n "checking for _isnan declaration... " >&6; }
67432  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67433    if ${glibcxx_cv_func__isnan_use+:} false; then :
67434  $as_echo_n "(cached) " >&6
67435else
67436
67437
67438      ac_ext=cpp
67439ac_cpp='$CXXCPP $CPPFLAGS'
67440ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67441ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67442ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67443
67444      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67445/* end confdefs.h.  */
67446#include <math.h>
67447		      #ifdef HAVE_IEEEFP_H
67448		      #include <ieeefp.h>
67449		      #endif
67450
67451int
67452main ()
67453{
67454 _isnan(0);
67455  ;
67456  return 0;
67457}
67458_ACEOF
67459if ac_fn_cxx_try_compile "$LINENO"; then :
67460  glibcxx_cv_func__isnan_use=yes
67461else
67462  glibcxx_cv_func__isnan_use=no
67463fi
67464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67465      ac_ext=c
67466ac_cpp='$CPP $CPPFLAGS'
67467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67469ac_compiler_gnu=$ac_cv_c_compiler_gnu
67470
67471
67472fi
67473
67474  fi
67475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67476$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67477
67478    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67479      for ac_func in _isnan
67480do :
67481  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67482if test "x$ac_cv_func__isnan" = xyes; then :
67483  cat >>confdefs.h <<_ACEOF
67484#define HAVE__ISNAN 1
67485_ACEOF
67486
67487fi
67488done
67489
67490    fi
67491  fi
67492
67493
67494
67495
67496
67497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67498$as_echo_n "checking for finite declaration... " >&6; }
67499  if test x${glibcxx_cv_func_finite_use+set} != xset; then
67500    if ${glibcxx_cv_func_finite_use+:} false; then :
67501  $as_echo_n "(cached) " >&6
67502else
67503
67504
67505      ac_ext=cpp
67506ac_cpp='$CXXCPP $CPPFLAGS'
67507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67510
67511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67512/* end confdefs.h.  */
67513#include <math.h>
67514		      #ifdef HAVE_IEEEFP_H
67515		      #include <ieeefp.h>
67516		      #endif
67517
67518int
67519main ()
67520{
67521 finite(0);
67522  ;
67523  return 0;
67524}
67525_ACEOF
67526if ac_fn_cxx_try_compile "$LINENO"; then :
67527  glibcxx_cv_func_finite_use=yes
67528else
67529  glibcxx_cv_func_finite_use=no
67530fi
67531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67532      ac_ext=c
67533ac_cpp='$CPP $CPPFLAGS'
67534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67536ac_compiler_gnu=$ac_cv_c_compiler_gnu
67537
67538
67539fi
67540
67541  fi
67542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67543$as_echo "$glibcxx_cv_func_finite_use" >&6; }
67544
67545  if test x$glibcxx_cv_func_finite_use = x"yes"; then
67546    for ac_func in finite
67547do :
67548  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67549if test "x$ac_cv_func_finite" = xyes; then :
67550  cat >>confdefs.h <<_ACEOF
67551#define HAVE_FINITE 1
67552_ACEOF
67553
67554fi
67555done
67556
67557  else
67558
67559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67560$as_echo_n "checking for _finite declaration... " >&6; }
67561  if test x${glibcxx_cv_func__finite_use+set} != xset; then
67562    if ${glibcxx_cv_func__finite_use+:} false; then :
67563  $as_echo_n "(cached) " >&6
67564else
67565
67566
67567      ac_ext=cpp
67568ac_cpp='$CXXCPP $CPPFLAGS'
67569ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67570ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67571ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67572
67573      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67574/* end confdefs.h.  */
67575#include <math.h>
67576		      #ifdef HAVE_IEEEFP_H
67577		      #include <ieeefp.h>
67578		      #endif
67579
67580int
67581main ()
67582{
67583 _finite(0);
67584  ;
67585  return 0;
67586}
67587_ACEOF
67588if ac_fn_cxx_try_compile "$LINENO"; then :
67589  glibcxx_cv_func__finite_use=yes
67590else
67591  glibcxx_cv_func__finite_use=no
67592fi
67593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67594      ac_ext=c
67595ac_cpp='$CPP $CPPFLAGS'
67596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67598ac_compiler_gnu=$ac_cv_c_compiler_gnu
67599
67600
67601fi
67602
67603  fi
67604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67605$as_echo "$glibcxx_cv_func__finite_use" >&6; }
67606
67607    if test x$glibcxx_cv_func__finite_use = x"yes"; then
67608      for ac_func in _finite
67609do :
67610  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67611if test "x$ac_cv_func__finite" = xyes; then :
67612  cat >>confdefs.h <<_ACEOF
67613#define HAVE__FINITE 1
67614_ACEOF
67615
67616fi
67617done
67618
67619    fi
67620  fi
67621
67622
67623
67624
67625
67626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67627$as_echo_n "checking for sincos declaration... " >&6; }
67628  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67629    if ${glibcxx_cv_func_sincos_use+:} false; then :
67630  $as_echo_n "(cached) " >&6
67631else
67632
67633
67634      ac_ext=cpp
67635ac_cpp='$CXXCPP $CPPFLAGS'
67636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67639
67640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67641/* end confdefs.h.  */
67642#include <math.h>
67643int
67644main ()
67645{
67646 sincos(0, 0, 0);
67647  ;
67648  return 0;
67649}
67650_ACEOF
67651if ac_fn_cxx_try_compile "$LINENO"; then :
67652  glibcxx_cv_func_sincos_use=yes
67653else
67654  glibcxx_cv_func_sincos_use=no
67655fi
67656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67657      ac_ext=c
67658ac_cpp='$CPP $CPPFLAGS'
67659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67661ac_compiler_gnu=$ac_cv_c_compiler_gnu
67662
67663
67664fi
67665
67666  fi
67667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67668$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67669
67670  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67671    for ac_func in sincos
67672do :
67673  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67674if test "x$ac_cv_func_sincos" = xyes; then :
67675  cat >>confdefs.h <<_ACEOF
67676#define HAVE_SINCOS 1
67677_ACEOF
67678
67679fi
67680done
67681
67682  else
67683
67684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67685$as_echo_n "checking for _sincos declaration... " >&6; }
67686  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67687    if ${glibcxx_cv_func__sincos_use+:} false; then :
67688  $as_echo_n "(cached) " >&6
67689else
67690
67691
67692      ac_ext=cpp
67693ac_cpp='$CXXCPP $CPPFLAGS'
67694ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67695ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67696ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67697
67698      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67699/* end confdefs.h.  */
67700#include <math.h>
67701int
67702main ()
67703{
67704 _sincos(0, 0, 0);
67705  ;
67706  return 0;
67707}
67708_ACEOF
67709if ac_fn_cxx_try_compile "$LINENO"; then :
67710  glibcxx_cv_func__sincos_use=yes
67711else
67712  glibcxx_cv_func__sincos_use=no
67713fi
67714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67715      ac_ext=c
67716ac_cpp='$CPP $CPPFLAGS'
67717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67719ac_compiler_gnu=$ac_cv_c_compiler_gnu
67720
67721
67722fi
67723
67724  fi
67725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67726$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67727
67728    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67729      for ac_func in _sincos
67730do :
67731  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67732if test "x$ac_cv_func__sincos" = xyes; then :
67733  cat >>confdefs.h <<_ACEOF
67734#define HAVE__SINCOS 1
67735_ACEOF
67736
67737fi
67738done
67739
67740    fi
67741  fi
67742
67743
67744
67745
67746
67747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67748$as_echo_n "checking for fpclass declaration... " >&6; }
67749  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67750    if ${glibcxx_cv_func_fpclass_use+:} false; then :
67751  $as_echo_n "(cached) " >&6
67752else
67753
67754
67755      ac_ext=cpp
67756ac_cpp='$CXXCPP $CPPFLAGS'
67757ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67758ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67759ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67760
67761      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67762/* end confdefs.h.  */
67763#include <math.h>
67764		      #ifdef HAVE_IEEEFP_H
67765		      #include <ieeefp.h>
67766		      #endif
67767
67768int
67769main ()
67770{
67771 fpclass(0);
67772  ;
67773  return 0;
67774}
67775_ACEOF
67776if ac_fn_cxx_try_compile "$LINENO"; then :
67777  glibcxx_cv_func_fpclass_use=yes
67778else
67779  glibcxx_cv_func_fpclass_use=no
67780fi
67781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67782      ac_ext=c
67783ac_cpp='$CPP $CPPFLAGS'
67784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67786ac_compiler_gnu=$ac_cv_c_compiler_gnu
67787
67788
67789fi
67790
67791  fi
67792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67793$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67794
67795  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67796    for ac_func in fpclass
67797do :
67798  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67799if test "x$ac_cv_func_fpclass" = xyes; then :
67800  cat >>confdefs.h <<_ACEOF
67801#define HAVE_FPCLASS 1
67802_ACEOF
67803
67804fi
67805done
67806
67807  else
67808
67809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67810$as_echo_n "checking for _fpclass declaration... " >&6; }
67811  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67812    if ${glibcxx_cv_func__fpclass_use+:} false; then :
67813  $as_echo_n "(cached) " >&6
67814else
67815
67816
67817      ac_ext=cpp
67818ac_cpp='$CXXCPP $CPPFLAGS'
67819ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67820ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67821ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67822
67823      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67824/* end confdefs.h.  */
67825#include <math.h>
67826		      #ifdef HAVE_IEEEFP_H
67827		      #include <ieeefp.h>
67828		      #endif
67829
67830int
67831main ()
67832{
67833 _fpclass(0);
67834  ;
67835  return 0;
67836}
67837_ACEOF
67838if ac_fn_cxx_try_compile "$LINENO"; then :
67839  glibcxx_cv_func__fpclass_use=yes
67840else
67841  glibcxx_cv_func__fpclass_use=no
67842fi
67843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67844      ac_ext=c
67845ac_cpp='$CPP $CPPFLAGS'
67846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67848ac_compiler_gnu=$ac_cv_c_compiler_gnu
67849
67850
67851fi
67852
67853  fi
67854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67855$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67856
67857    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67858      for ac_func in _fpclass
67859do :
67860  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67861if test "x$ac_cv_func__fpclass" = xyes; then :
67862  cat >>confdefs.h <<_ACEOF
67863#define HAVE__FPCLASS 1
67864_ACEOF
67865
67866fi
67867done
67868
67869    fi
67870  fi
67871
67872
67873
67874
67875
67876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67877$as_echo_n "checking for qfpclass declaration... " >&6; }
67878  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67879    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67880  $as_echo_n "(cached) " >&6
67881else
67882
67883
67884      ac_ext=cpp
67885ac_cpp='$CXXCPP $CPPFLAGS'
67886ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67887ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67888ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67889
67890      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67891/* end confdefs.h.  */
67892#include <math.h>
67893		      #ifdef HAVE_IEEEFP_H
67894		      #include <ieeefp.h>
67895		      #endif
67896
67897int
67898main ()
67899{
67900 qfpclass(0);
67901  ;
67902  return 0;
67903}
67904_ACEOF
67905if ac_fn_cxx_try_compile "$LINENO"; then :
67906  glibcxx_cv_func_qfpclass_use=yes
67907else
67908  glibcxx_cv_func_qfpclass_use=no
67909fi
67910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67911      ac_ext=c
67912ac_cpp='$CPP $CPPFLAGS'
67913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67915ac_compiler_gnu=$ac_cv_c_compiler_gnu
67916
67917
67918fi
67919
67920  fi
67921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67922$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67923
67924  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67925    for ac_func in qfpclass
67926do :
67927  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67928if test "x$ac_cv_func_qfpclass" = xyes; then :
67929  cat >>confdefs.h <<_ACEOF
67930#define HAVE_QFPCLASS 1
67931_ACEOF
67932
67933fi
67934done
67935
67936  else
67937
67938  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67939$as_echo_n "checking for _qfpclass declaration... " >&6; }
67940  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67941    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67942  $as_echo_n "(cached) " >&6
67943else
67944
67945
67946      ac_ext=cpp
67947ac_cpp='$CXXCPP $CPPFLAGS'
67948ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67949ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67950ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67951
67952      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67953/* end confdefs.h.  */
67954#include <math.h>
67955		      #ifdef HAVE_IEEEFP_H
67956		      #include <ieeefp.h>
67957		      #endif
67958
67959int
67960main ()
67961{
67962 _qfpclass(0);
67963  ;
67964  return 0;
67965}
67966_ACEOF
67967if ac_fn_cxx_try_compile "$LINENO"; then :
67968  glibcxx_cv_func__qfpclass_use=yes
67969else
67970  glibcxx_cv_func__qfpclass_use=no
67971fi
67972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67973      ac_ext=c
67974ac_cpp='$CPP $CPPFLAGS'
67975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67977ac_compiler_gnu=$ac_cv_c_compiler_gnu
67978
67979
67980fi
67981
67982  fi
67983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67984$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67985
67986    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67987      for ac_func in _qfpclass
67988do :
67989  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67990if test "x$ac_cv_func__qfpclass" = xyes; then :
67991  cat >>confdefs.h <<_ACEOF
67992#define HAVE__QFPCLASS 1
67993_ACEOF
67994
67995fi
67996done
67997
67998    fi
67999  fi
68000
68001
68002
68003
68004
68005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
68006$as_echo_n "checking for hypot declaration... " >&6; }
68007  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
68008    if ${glibcxx_cv_func_hypot_use+:} false; then :
68009  $as_echo_n "(cached) " >&6
68010else
68011
68012
68013      ac_ext=cpp
68014ac_cpp='$CXXCPP $CPPFLAGS'
68015ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68016ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68017ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68018
68019      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68020/* end confdefs.h.  */
68021#include <math.h>
68022int
68023main ()
68024{
68025 hypot(0, 0);
68026  ;
68027  return 0;
68028}
68029_ACEOF
68030if ac_fn_cxx_try_compile "$LINENO"; then :
68031  glibcxx_cv_func_hypot_use=yes
68032else
68033  glibcxx_cv_func_hypot_use=no
68034fi
68035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68036      ac_ext=c
68037ac_cpp='$CPP $CPPFLAGS'
68038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68040ac_compiler_gnu=$ac_cv_c_compiler_gnu
68041
68042
68043fi
68044
68045  fi
68046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
68047$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
68048
68049  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
68050    for ac_func in hypot
68051do :
68052  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
68053if test "x$ac_cv_func_hypot" = xyes; then :
68054  cat >>confdefs.h <<_ACEOF
68055#define HAVE_HYPOT 1
68056_ACEOF
68057
68058fi
68059done
68060
68061  else
68062
68063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
68064$as_echo_n "checking for _hypot declaration... " >&6; }
68065  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68066    if ${glibcxx_cv_func__hypot_use+:} false; then :
68067  $as_echo_n "(cached) " >&6
68068else
68069
68070
68071      ac_ext=cpp
68072ac_cpp='$CXXCPP $CPPFLAGS'
68073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68076
68077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68078/* end confdefs.h.  */
68079#include <math.h>
68080int
68081main ()
68082{
68083 _hypot(0, 0);
68084  ;
68085  return 0;
68086}
68087_ACEOF
68088if ac_fn_cxx_try_compile "$LINENO"; then :
68089  glibcxx_cv_func__hypot_use=yes
68090else
68091  glibcxx_cv_func__hypot_use=no
68092fi
68093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68094      ac_ext=c
68095ac_cpp='$CPP $CPPFLAGS'
68096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68098ac_compiler_gnu=$ac_cv_c_compiler_gnu
68099
68100
68101fi
68102
68103  fi
68104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
68105$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
68106
68107    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68108      for ac_func in _hypot
68109do :
68110  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
68111if test "x$ac_cv_func__hypot" = xyes; then :
68112  cat >>confdefs.h <<_ACEOF
68113#define HAVE__HYPOT 1
68114_ACEOF
68115
68116fi
68117done
68118
68119    fi
68120  fi
68121
68122
68123
68124
68125
68126    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
68127$as_echo_n "checking for float trig functions... " >&6; }
68128  if ${glibcxx_cv_func_float_trig_use+:} false; then :
68129  $as_echo_n "(cached) " >&6
68130else
68131
68132
68133    ac_ext=cpp
68134ac_cpp='$CXXCPP $CPPFLAGS'
68135ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68136ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68137ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68138
68139    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68140/* end confdefs.h.  */
68141#include <math.h>
68142int
68143main ()
68144{
68145acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68146  ;
68147  return 0;
68148}
68149_ACEOF
68150if ac_fn_cxx_try_compile "$LINENO"; then :
68151  glibcxx_cv_func_float_trig_use=yes
68152else
68153  glibcxx_cv_func_float_trig_use=no
68154fi
68155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68156    ac_ext=c
68157ac_cpp='$CPP $CPPFLAGS'
68158ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68159ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68160ac_compiler_gnu=$ac_cv_c_compiler_gnu
68161
68162fi
68163
68164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
68165$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
68166  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68167    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68168do :
68169  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68170ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68171if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68172  cat >>confdefs.h <<_ACEOF
68173#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68174_ACEOF
68175
68176fi
68177done
68178
68179  else
68180    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
68181$as_echo_n "checking for _float trig functions... " >&6; }
68182    if ${glibcxx_cv_func__float_trig_use+:} false; then :
68183  $as_echo_n "(cached) " >&6
68184else
68185
68186
68187      ac_ext=cpp
68188ac_cpp='$CXXCPP $CPPFLAGS'
68189ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68190ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68191ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68192
68193      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68194/* end confdefs.h.  */
68195#include <math.h>
68196int
68197main ()
68198{
68199_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68200  ;
68201  return 0;
68202}
68203_ACEOF
68204if ac_fn_cxx_try_compile "$LINENO"; then :
68205  glibcxx_cv_func__float_trig_use=yes
68206else
68207  glibcxx_cv_func__float_trig_use=no
68208fi
68209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68210      ac_ext=c
68211ac_cpp='$CPP $CPPFLAGS'
68212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68214ac_compiler_gnu=$ac_cv_c_compiler_gnu
68215
68216fi
68217
68218    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
68219$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
68220    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68221      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68222do :
68223  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68224ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68225if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68226  cat >>confdefs.h <<_ACEOF
68227#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68228_ACEOF
68229
68230fi
68231done
68232
68233    fi
68234  fi
68235
68236
68237
68238
68239
68240    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68241$as_echo_n "checking for float round functions... " >&6; }
68242  if ${glibcxx_cv_func_float_round_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{
68259ceilf (0); floorf (0);
68260  ;
68261  return 0;
68262}
68263_ACEOF
68264if ac_fn_cxx_try_compile "$LINENO"; then :
68265  glibcxx_cv_func_float_round_use=yes
68266else
68267  glibcxx_cv_func_float_round_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_round_use" >&5
68279$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68280  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68281    for ac_func in ceilf floorf
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  else
68294    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68295$as_echo_n "checking for _float round functions... " >&6; }
68296    if ${glibcxx_cv_func__float_round_use+:} false; then :
68297  $as_echo_n "(cached) " >&6
68298else
68299
68300
68301      ac_ext=cpp
68302ac_cpp='$CXXCPP $CPPFLAGS'
68303ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68304ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68305ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68306
68307      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68308/* end confdefs.h.  */
68309#include <math.h>
68310int
68311main ()
68312{
68313_ceilf (0); _floorf (0);
68314  ;
68315  return 0;
68316}
68317_ACEOF
68318if ac_fn_cxx_try_compile "$LINENO"; then :
68319  glibcxx_cv_func__float_round_use=yes
68320else
68321  glibcxx_cv_func__float_round_use=no
68322fi
68323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68324      ac_ext=c
68325ac_cpp='$CPP $CPPFLAGS'
68326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68328ac_compiler_gnu=$ac_cv_c_compiler_gnu
68329
68330fi
68331
68332    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68333$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68334    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68335      for ac_func in _ceilf _floorf
68336do :
68337  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68338ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68339if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68340  cat >>confdefs.h <<_ACEOF
68341#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68342_ACEOF
68343
68344fi
68345done
68346
68347    fi
68348  fi
68349
68350
68351
68352
68353
68354
68355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68356$as_echo_n "checking for expf declaration... " >&6; }
68357  if test x${glibcxx_cv_func_expf_use+set} != xset; then
68358    if ${glibcxx_cv_func_expf_use+:} false; then :
68359  $as_echo_n "(cached) " >&6
68360else
68361
68362
68363      ac_ext=cpp
68364ac_cpp='$CXXCPP $CPPFLAGS'
68365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68368
68369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68370/* end confdefs.h.  */
68371#include <math.h>
68372		      #ifdef HAVE_IEEEFP_H
68373		      #include <ieeefp.h>
68374		      #endif
68375
68376int
68377main ()
68378{
68379 expf(0);
68380  ;
68381  return 0;
68382}
68383_ACEOF
68384if ac_fn_cxx_try_compile "$LINENO"; then :
68385  glibcxx_cv_func_expf_use=yes
68386else
68387  glibcxx_cv_func_expf_use=no
68388fi
68389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68390      ac_ext=c
68391ac_cpp='$CPP $CPPFLAGS'
68392ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68393ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68394ac_compiler_gnu=$ac_cv_c_compiler_gnu
68395
68396
68397fi
68398
68399  fi
68400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68401$as_echo "$glibcxx_cv_func_expf_use" >&6; }
68402
68403  if test x$glibcxx_cv_func_expf_use = x"yes"; then
68404    for ac_func in expf
68405do :
68406  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68407if test "x$ac_cv_func_expf" = xyes; then :
68408  cat >>confdefs.h <<_ACEOF
68409#define HAVE_EXPF 1
68410_ACEOF
68411
68412fi
68413done
68414
68415  else
68416
68417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68418$as_echo_n "checking for _expf declaration... " >&6; }
68419  if test x${glibcxx_cv_func__expf_use+set} != xset; then
68420    if ${glibcxx_cv_func__expf_use+:} false; then :
68421  $as_echo_n "(cached) " >&6
68422else
68423
68424
68425      ac_ext=cpp
68426ac_cpp='$CXXCPP $CPPFLAGS'
68427ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68428ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68429ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68430
68431      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68432/* end confdefs.h.  */
68433#include <math.h>
68434		      #ifdef HAVE_IEEEFP_H
68435		      #include <ieeefp.h>
68436		      #endif
68437
68438int
68439main ()
68440{
68441 _expf(0);
68442  ;
68443  return 0;
68444}
68445_ACEOF
68446if ac_fn_cxx_try_compile "$LINENO"; then :
68447  glibcxx_cv_func__expf_use=yes
68448else
68449  glibcxx_cv_func__expf_use=no
68450fi
68451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68452      ac_ext=c
68453ac_cpp='$CPP $CPPFLAGS'
68454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68456ac_compiler_gnu=$ac_cv_c_compiler_gnu
68457
68458
68459fi
68460
68461  fi
68462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68463$as_echo "$glibcxx_cv_func__expf_use" >&6; }
68464
68465    if test x$glibcxx_cv_func__expf_use = x"yes"; then
68466      for ac_func in _expf
68467do :
68468  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68469if test "x$ac_cv_func__expf" = xyes; then :
68470  cat >>confdefs.h <<_ACEOF
68471#define HAVE__EXPF 1
68472_ACEOF
68473
68474fi
68475done
68476
68477    fi
68478  fi
68479
68480
68481
68482
68483
68484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68485$as_echo_n "checking for isnanf declaration... " >&6; }
68486  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68487    if ${glibcxx_cv_func_isnanf_use+:} false; then :
68488  $as_echo_n "(cached) " >&6
68489else
68490
68491
68492      ac_ext=cpp
68493ac_cpp='$CXXCPP $CPPFLAGS'
68494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68497
68498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68499/* end confdefs.h.  */
68500#include <math.h>
68501		      #ifdef HAVE_IEEEFP_H
68502		      #include <ieeefp.h>
68503		      #endif
68504
68505int
68506main ()
68507{
68508 isnanf(0);
68509  ;
68510  return 0;
68511}
68512_ACEOF
68513if ac_fn_cxx_try_compile "$LINENO"; then :
68514  glibcxx_cv_func_isnanf_use=yes
68515else
68516  glibcxx_cv_func_isnanf_use=no
68517fi
68518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68519      ac_ext=c
68520ac_cpp='$CPP $CPPFLAGS'
68521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68523ac_compiler_gnu=$ac_cv_c_compiler_gnu
68524
68525
68526fi
68527
68528  fi
68529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68530$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68531
68532  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68533    for ac_func in isnanf
68534do :
68535  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68536if test "x$ac_cv_func_isnanf" = xyes; then :
68537  cat >>confdefs.h <<_ACEOF
68538#define HAVE_ISNANF 1
68539_ACEOF
68540
68541fi
68542done
68543
68544  else
68545
68546  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68547$as_echo_n "checking for _isnanf declaration... " >&6; }
68548  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68549    if ${glibcxx_cv_func__isnanf_use+:} false; then :
68550  $as_echo_n "(cached) " >&6
68551else
68552
68553
68554      ac_ext=cpp
68555ac_cpp='$CXXCPP $CPPFLAGS'
68556ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68557ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68558ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68559
68560      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68561/* end confdefs.h.  */
68562#include <math.h>
68563		      #ifdef HAVE_IEEEFP_H
68564		      #include <ieeefp.h>
68565		      #endif
68566
68567int
68568main ()
68569{
68570 _isnanf(0);
68571  ;
68572  return 0;
68573}
68574_ACEOF
68575if ac_fn_cxx_try_compile "$LINENO"; then :
68576  glibcxx_cv_func__isnanf_use=yes
68577else
68578  glibcxx_cv_func__isnanf_use=no
68579fi
68580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68581      ac_ext=c
68582ac_cpp='$CPP $CPPFLAGS'
68583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68585ac_compiler_gnu=$ac_cv_c_compiler_gnu
68586
68587
68588fi
68589
68590  fi
68591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68592$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68593
68594    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68595      for ac_func in _isnanf
68596do :
68597  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68598if test "x$ac_cv_func__isnanf" = xyes; then :
68599  cat >>confdefs.h <<_ACEOF
68600#define HAVE__ISNANF 1
68601_ACEOF
68602
68603fi
68604done
68605
68606    fi
68607  fi
68608
68609
68610
68611
68612
68613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68614$as_echo_n "checking for isinff declaration... " >&6; }
68615  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68616    if ${glibcxx_cv_func_isinff_use+:} false; then :
68617  $as_echo_n "(cached) " >&6
68618else
68619
68620
68621      ac_ext=cpp
68622ac_cpp='$CXXCPP $CPPFLAGS'
68623ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68624ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68625ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68626
68627      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68628/* end confdefs.h.  */
68629#include <math.h>
68630		      #ifdef HAVE_IEEEFP_H
68631		      #include <ieeefp.h>
68632		      #endif
68633
68634int
68635main ()
68636{
68637 isinff(0);
68638  ;
68639  return 0;
68640}
68641_ACEOF
68642if ac_fn_cxx_try_compile "$LINENO"; then :
68643  glibcxx_cv_func_isinff_use=yes
68644else
68645  glibcxx_cv_func_isinff_use=no
68646fi
68647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68648      ac_ext=c
68649ac_cpp='$CPP $CPPFLAGS'
68650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68652ac_compiler_gnu=$ac_cv_c_compiler_gnu
68653
68654
68655fi
68656
68657  fi
68658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68659$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68660
68661  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68662    for ac_func in isinff
68663do :
68664  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68665if test "x$ac_cv_func_isinff" = xyes; then :
68666  cat >>confdefs.h <<_ACEOF
68667#define HAVE_ISINFF 1
68668_ACEOF
68669
68670fi
68671done
68672
68673  else
68674
68675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68676$as_echo_n "checking for _isinff declaration... " >&6; }
68677  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68678    if ${glibcxx_cv_func__isinff_use+:} false; then :
68679  $as_echo_n "(cached) " >&6
68680else
68681
68682
68683      ac_ext=cpp
68684ac_cpp='$CXXCPP $CPPFLAGS'
68685ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68686ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68687ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68688
68689      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68690/* end confdefs.h.  */
68691#include <math.h>
68692		      #ifdef HAVE_IEEEFP_H
68693		      #include <ieeefp.h>
68694		      #endif
68695
68696int
68697main ()
68698{
68699 _isinff(0);
68700  ;
68701  return 0;
68702}
68703_ACEOF
68704if ac_fn_cxx_try_compile "$LINENO"; then :
68705  glibcxx_cv_func__isinff_use=yes
68706else
68707  glibcxx_cv_func__isinff_use=no
68708fi
68709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68710      ac_ext=c
68711ac_cpp='$CPP $CPPFLAGS'
68712ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68713ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68714ac_compiler_gnu=$ac_cv_c_compiler_gnu
68715
68716
68717fi
68718
68719  fi
68720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68721$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68722
68723    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68724      for ac_func in _isinff
68725do :
68726  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68727if test "x$ac_cv_func__isinff" = xyes; then :
68728  cat >>confdefs.h <<_ACEOF
68729#define HAVE__ISINFF 1
68730_ACEOF
68731
68732fi
68733done
68734
68735    fi
68736  fi
68737
68738
68739
68740
68741
68742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68743$as_echo_n "checking for atan2f declaration... " >&6; }
68744  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68745    if ${glibcxx_cv_func_atan2f_use+:} false; then :
68746  $as_echo_n "(cached) " >&6
68747else
68748
68749
68750      ac_ext=cpp
68751ac_cpp='$CXXCPP $CPPFLAGS'
68752ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68755
68756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68757/* end confdefs.h.  */
68758#include <math.h>
68759int
68760main ()
68761{
68762 atan2f(0, 0);
68763  ;
68764  return 0;
68765}
68766_ACEOF
68767if ac_fn_cxx_try_compile "$LINENO"; then :
68768  glibcxx_cv_func_atan2f_use=yes
68769else
68770  glibcxx_cv_func_atan2f_use=no
68771fi
68772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68773      ac_ext=c
68774ac_cpp='$CPP $CPPFLAGS'
68775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68777ac_compiler_gnu=$ac_cv_c_compiler_gnu
68778
68779
68780fi
68781
68782  fi
68783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68784$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68785
68786  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68787    for ac_func in atan2f
68788do :
68789  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68790if test "x$ac_cv_func_atan2f" = xyes; then :
68791  cat >>confdefs.h <<_ACEOF
68792#define HAVE_ATAN2F 1
68793_ACEOF
68794
68795fi
68796done
68797
68798  else
68799
68800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68801$as_echo_n "checking for _atan2f declaration... " >&6; }
68802  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68803    if ${glibcxx_cv_func__atan2f_use+:} false; then :
68804  $as_echo_n "(cached) " >&6
68805else
68806
68807
68808      ac_ext=cpp
68809ac_cpp='$CXXCPP $CPPFLAGS'
68810ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68811ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68812ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68813
68814      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68815/* end confdefs.h.  */
68816#include <math.h>
68817int
68818main ()
68819{
68820 _atan2f(0, 0);
68821  ;
68822  return 0;
68823}
68824_ACEOF
68825if ac_fn_cxx_try_compile "$LINENO"; then :
68826  glibcxx_cv_func__atan2f_use=yes
68827else
68828  glibcxx_cv_func__atan2f_use=no
68829fi
68830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68831      ac_ext=c
68832ac_cpp='$CPP $CPPFLAGS'
68833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68835ac_compiler_gnu=$ac_cv_c_compiler_gnu
68836
68837
68838fi
68839
68840  fi
68841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68842$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68843
68844    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68845      for ac_func in _atan2f
68846do :
68847  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68848if test "x$ac_cv_func__atan2f" = xyes; then :
68849  cat >>confdefs.h <<_ACEOF
68850#define HAVE__ATAN2F 1
68851_ACEOF
68852
68853fi
68854done
68855
68856    fi
68857  fi
68858
68859
68860
68861
68862
68863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68864$as_echo_n "checking for fabsf declaration... " >&6; }
68865  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68866    if ${glibcxx_cv_func_fabsf_use+:} false; then :
68867  $as_echo_n "(cached) " >&6
68868else
68869
68870
68871      ac_ext=cpp
68872ac_cpp='$CXXCPP $CPPFLAGS'
68873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68876
68877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68878/* end confdefs.h.  */
68879#include <math.h>
68880		      #ifdef HAVE_IEEEFP_H
68881		      #include <ieeefp.h>
68882		      #endif
68883
68884int
68885main ()
68886{
68887 fabsf(0);
68888  ;
68889  return 0;
68890}
68891_ACEOF
68892if ac_fn_cxx_try_compile "$LINENO"; then :
68893  glibcxx_cv_func_fabsf_use=yes
68894else
68895  glibcxx_cv_func_fabsf_use=no
68896fi
68897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68898      ac_ext=c
68899ac_cpp='$CPP $CPPFLAGS'
68900ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68901ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68902ac_compiler_gnu=$ac_cv_c_compiler_gnu
68903
68904
68905fi
68906
68907  fi
68908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68909$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68910
68911  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68912    for ac_func in fabsf
68913do :
68914  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68915if test "x$ac_cv_func_fabsf" = xyes; then :
68916  cat >>confdefs.h <<_ACEOF
68917#define HAVE_FABSF 1
68918_ACEOF
68919
68920fi
68921done
68922
68923  else
68924
68925  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68926$as_echo_n "checking for _fabsf declaration... " >&6; }
68927  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68928    if ${glibcxx_cv_func__fabsf_use+:} false; then :
68929  $as_echo_n "(cached) " >&6
68930else
68931
68932
68933      ac_ext=cpp
68934ac_cpp='$CXXCPP $CPPFLAGS'
68935ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68936ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68937ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68938
68939      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68940/* end confdefs.h.  */
68941#include <math.h>
68942		      #ifdef HAVE_IEEEFP_H
68943		      #include <ieeefp.h>
68944		      #endif
68945
68946int
68947main ()
68948{
68949 _fabsf(0);
68950  ;
68951  return 0;
68952}
68953_ACEOF
68954if ac_fn_cxx_try_compile "$LINENO"; then :
68955  glibcxx_cv_func__fabsf_use=yes
68956else
68957  glibcxx_cv_func__fabsf_use=no
68958fi
68959rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68960      ac_ext=c
68961ac_cpp='$CPP $CPPFLAGS'
68962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68964ac_compiler_gnu=$ac_cv_c_compiler_gnu
68965
68966
68967fi
68968
68969  fi
68970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68971$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68972
68973    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68974      for ac_func in _fabsf
68975do :
68976  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68977if test "x$ac_cv_func__fabsf" = xyes; then :
68978  cat >>confdefs.h <<_ACEOF
68979#define HAVE__FABSF 1
68980_ACEOF
68981
68982fi
68983done
68984
68985    fi
68986  fi
68987
68988
68989
68990
68991
68992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68993$as_echo_n "checking for fmodf declaration... " >&6; }
68994  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68995    if ${glibcxx_cv_func_fmodf_use+:} false; then :
68996  $as_echo_n "(cached) " >&6
68997else
68998
68999
69000      ac_ext=cpp
69001ac_cpp='$CXXCPP $CPPFLAGS'
69002ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69003ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69004ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69005
69006      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69007/* end confdefs.h.  */
69008#include <math.h>
69009int
69010main ()
69011{
69012 fmodf(0, 0);
69013  ;
69014  return 0;
69015}
69016_ACEOF
69017if ac_fn_cxx_try_compile "$LINENO"; then :
69018  glibcxx_cv_func_fmodf_use=yes
69019else
69020  glibcxx_cv_func_fmodf_use=no
69021fi
69022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69023      ac_ext=c
69024ac_cpp='$CPP $CPPFLAGS'
69025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69027ac_compiler_gnu=$ac_cv_c_compiler_gnu
69028
69029
69030fi
69031
69032  fi
69033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
69034$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
69035
69036  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69037    for ac_func in fmodf
69038do :
69039  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
69040if test "x$ac_cv_func_fmodf" = xyes; then :
69041  cat >>confdefs.h <<_ACEOF
69042#define HAVE_FMODF 1
69043_ACEOF
69044
69045fi
69046done
69047
69048  else
69049
69050  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
69051$as_echo_n "checking for _fmodf declaration... " >&6; }
69052  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69053    if ${glibcxx_cv_func__fmodf_use+:} false; then :
69054  $as_echo_n "(cached) " >&6
69055else
69056
69057
69058      ac_ext=cpp
69059ac_cpp='$CXXCPP $CPPFLAGS'
69060ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69061ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69062ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69063
69064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69065/* end confdefs.h.  */
69066#include <math.h>
69067int
69068main ()
69069{
69070 _fmodf(0, 0);
69071  ;
69072  return 0;
69073}
69074_ACEOF
69075if ac_fn_cxx_try_compile "$LINENO"; then :
69076  glibcxx_cv_func__fmodf_use=yes
69077else
69078  glibcxx_cv_func__fmodf_use=no
69079fi
69080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69081      ac_ext=c
69082ac_cpp='$CPP $CPPFLAGS'
69083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69085ac_compiler_gnu=$ac_cv_c_compiler_gnu
69086
69087
69088fi
69089
69090  fi
69091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
69092$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
69093
69094    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69095      for ac_func in _fmodf
69096do :
69097  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
69098if test "x$ac_cv_func__fmodf" = xyes; then :
69099  cat >>confdefs.h <<_ACEOF
69100#define HAVE__FMODF 1
69101_ACEOF
69102
69103fi
69104done
69105
69106    fi
69107  fi
69108
69109
69110
69111
69112
69113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
69114$as_echo_n "checking for frexpf declaration... " >&6; }
69115  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69116    if ${glibcxx_cv_func_frexpf_use+:} false; then :
69117  $as_echo_n "(cached) " >&6
69118else
69119
69120
69121      ac_ext=cpp
69122ac_cpp='$CXXCPP $CPPFLAGS'
69123ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69124ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69125ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69126
69127      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69128/* end confdefs.h.  */
69129#include <math.h>
69130int
69131main ()
69132{
69133 frexpf(0, 0);
69134  ;
69135  return 0;
69136}
69137_ACEOF
69138if ac_fn_cxx_try_compile "$LINENO"; then :
69139  glibcxx_cv_func_frexpf_use=yes
69140else
69141  glibcxx_cv_func_frexpf_use=no
69142fi
69143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69144      ac_ext=c
69145ac_cpp='$CPP $CPPFLAGS'
69146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69148ac_compiler_gnu=$ac_cv_c_compiler_gnu
69149
69150
69151fi
69152
69153  fi
69154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
69155$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
69156
69157  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69158    for ac_func in frexpf
69159do :
69160  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
69161if test "x$ac_cv_func_frexpf" = xyes; then :
69162  cat >>confdefs.h <<_ACEOF
69163#define HAVE_FREXPF 1
69164_ACEOF
69165
69166fi
69167done
69168
69169  else
69170
69171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
69172$as_echo_n "checking for _frexpf declaration... " >&6; }
69173  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69174    if ${glibcxx_cv_func__frexpf_use+:} false; then :
69175  $as_echo_n "(cached) " >&6
69176else
69177
69178
69179      ac_ext=cpp
69180ac_cpp='$CXXCPP $CPPFLAGS'
69181ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69182ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69183ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69184
69185      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69186/* end confdefs.h.  */
69187#include <math.h>
69188int
69189main ()
69190{
69191 _frexpf(0, 0);
69192  ;
69193  return 0;
69194}
69195_ACEOF
69196if ac_fn_cxx_try_compile "$LINENO"; then :
69197  glibcxx_cv_func__frexpf_use=yes
69198else
69199  glibcxx_cv_func__frexpf_use=no
69200fi
69201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69202      ac_ext=c
69203ac_cpp='$CPP $CPPFLAGS'
69204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69206ac_compiler_gnu=$ac_cv_c_compiler_gnu
69207
69208
69209fi
69210
69211  fi
69212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
69213$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
69214
69215    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69216      for ac_func in _frexpf
69217do :
69218  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
69219if test "x$ac_cv_func__frexpf" = xyes; then :
69220  cat >>confdefs.h <<_ACEOF
69221#define HAVE__FREXPF 1
69222_ACEOF
69223
69224fi
69225done
69226
69227    fi
69228  fi
69229
69230
69231
69232
69233
69234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69235$as_echo_n "checking for hypotf declaration... " >&6; }
69236  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69237    if ${glibcxx_cv_func_hypotf_use+:} false; then :
69238  $as_echo_n "(cached) " >&6
69239else
69240
69241
69242      ac_ext=cpp
69243ac_cpp='$CXXCPP $CPPFLAGS'
69244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69247
69248      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69249/* end confdefs.h.  */
69250#include <math.h>
69251int
69252main ()
69253{
69254 hypotf(0, 0);
69255  ;
69256  return 0;
69257}
69258_ACEOF
69259if ac_fn_cxx_try_compile "$LINENO"; then :
69260  glibcxx_cv_func_hypotf_use=yes
69261else
69262  glibcxx_cv_func_hypotf_use=no
69263fi
69264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69265      ac_ext=c
69266ac_cpp='$CPP $CPPFLAGS'
69267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69269ac_compiler_gnu=$ac_cv_c_compiler_gnu
69270
69271
69272fi
69273
69274  fi
69275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69276$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69277
69278  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69279    for ac_func in hypotf
69280do :
69281  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69282if test "x$ac_cv_func_hypotf" = xyes; then :
69283  cat >>confdefs.h <<_ACEOF
69284#define HAVE_HYPOTF 1
69285_ACEOF
69286
69287fi
69288done
69289
69290  else
69291
69292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69293$as_echo_n "checking for _hypotf declaration... " >&6; }
69294  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69295    if ${glibcxx_cv_func__hypotf_use+:} false; then :
69296  $as_echo_n "(cached) " >&6
69297else
69298
69299
69300      ac_ext=cpp
69301ac_cpp='$CXXCPP $CPPFLAGS'
69302ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69303ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69304ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69305
69306      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69307/* end confdefs.h.  */
69308#include <math.h>
69309int
69310main ()
69311{
69312 _hypotf(0, 0);
69313  ;
69314  return 0;
69315}
69316_ACEOF
69317if ac_fn_cxx_try_compile "$LINENO"; then :
69318  glibcxx_cv_func__hypotf_use=yes
69319else
69320  glibcxx_cv_func__hypotf_use=no
69321fi
69322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69323      ac_ext=c
69324ac_cpp='$CPP $CPPFLAGS'
69325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69327ac_compiler_gnu=$ac_cv_c_compiler_gnu
69328
69329
69330fi
69331
69332  fi
69333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69334$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69335
69336    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69337      for ac_func in _hypotf
69338do :
69339  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69340if test "x$ac_cv_func__hypotf" = xyes; then :
69341  cat >>confdefs.h <<_ACEOF
69342#define HAVE__HYPOTF 1
69343_ACEOF
69344
69345fi
69346done
69347
69348    fi
69349  fi
69350
69351
69352
69353
69354
69355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69356$as_echo_n "checking for ldexpf declaration... " >&6; }
69357  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69358    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69359  $as_echo_n "(cached) " >&6
69360else
69361
69362
69363      ac_ext=cpp
69364ac_cpp='$CXXCPP $CPPFLAGS'
69365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69368
69369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69370/* end confdefs.h.  */
69371#include <math.h>
69372int
69373main ()
69374{
69375 ldexpf(0, 0);
69376  ;
69377  return 0;
69378}
69379_ACEOF
69380if ac_fn_cxx_try_compile "$LINENO"; then :
69381  glibcxx_cv_func_ldexpf_use=yes
69382else
69383  glibcxx_cv_func_ldexpf_use=no
69384fi
69385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69386      ac_ext=c
69387ac_cpp='$CPP $CPPFLAGS'
69388ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69389ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69390ac_compiler_gnu=$ac_cv_c_compiler_gnu
69391
69392
69393fi
69394
69395  fi
69396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69397$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69398
69399  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69400    for ac_func in ldexpf
69401do :
69402  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69403if test "x$ac_cv_func_ldexpf" = xyes; then :
69404  cat >>confdefs.h <<_ACEOF
69405#define HAVE_LDEXPF 1
69406_ACEOF
69407
69408fi
69409done
69410
69411  else
69412
69413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69414$as_echo_n "checking for _ldexpf declaration... " >&6; }
69415  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69416    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69417  $as_echo_n "(cached) " >&6
69418else
69419
69420
69421      ac_ext=cpp
69422ac_cpp='$CXXCPP $CPPFLAGS'
69423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69426
69427      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69428/* end confdefs.h.  */
69429#include <math.h>
69430int
69431main ()
69432{
69433 _ldexpf(0, 0);
69434  ;
69435  return 0;
69436}
69437_ACEOF
69438if ac_fn_cxx_try_compile "$LINENO"; then :
69439  glibcxx_cv_func__ldexpf_use=yes
69440else
69441  glibcxx_cv_func__ldexpf_use=no
69442fi
69443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69444      ac_ext=c
69445ac_cpp='$CPP $CPPFLAGS'
69446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69448ac_compiler_gnu=$ac_cv_c_compiler_gnu
69449
69450
69451fi
69452
69453  fi
69454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69455$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69456
69457    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69458      for ac_func in _ldexpf
69459do :
69460  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69461if test "x$ac_cv_func__ldexpf" = xyes; then :
69462  cat >>confdefs.h <<_ACEOF
69463#define HAVE__LDEXPF 1
69464_ACEOF
69465
69466fi
69467done
69468
69469    fi
69470  fi
69471
69472
69473
69474
69475
69476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69477$as_echo_n "checking for logf declaration... " >&6; }
69478  if test x${glibcxx_cv_func_logf_use+set} != xset; then
69479    if ${glibcxx_cv_func_logf_use+:} false; then :
69480  $as_echo_n "(cached) " >&6
69481else
69482
69483
69484      ac_ext=cpp
69485ac_cpp='$CXXCPP $CPPFLAGS'
69486ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69487ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69488ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69489
69490      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69491/* end confdefs.h.  */
69492#include <math.h>
69493		      #ifdef HAVE_IEEEFP_H
69494		      #include <ieeefp.h>
69495		      #endif
69496
69497int
69498main ()
69499{
69500 logf(0);
69501  ;
69502  return 0;
69503}
69504_ACEOF
69505if ac_fn_cxx_try_compile "$LINENO"; then :
69506  glibcxx_cv_func_logf_use=yes
69507else
69508  glibcxx_cv_func_logf_use=no
69509fi
69510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69511      ac_ext=c
69512ac_cpp='$CPP $CPPFLAGS'
69513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515ac_compiler_gnu=$ac_cv_c_compiler_gnu
69516
69517
69518fi
69519
69520  fi
69521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69522$as_echo "$glibcxx_cv_func_logf_use" >&6; }
69523
69524  if test x$glibcxx_cv_func_logf_use = x"yes"; then
69525    for ac_func in logf
69526do :
69527  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69528if test "x$ac_cv_func_logf" = xyes; then :
69529  cat >>confdefs.h <<_ACEOF
69530#define HAVE_LOGF 1
69531_ACEOF
69532
69533fi
69534done
69535
69536  else
69537
69538  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69539$as_echo_n "checking for _logf declaration... " >&6; }
69540  if test x${glibcxx_cv_func__logf_use+set} != xset; then
69541    if ${glibcxx_cv_func__logf_use+:} false; then :
69542  $as_echo_n "(cached) " >&6
69543else
69544
69545
69546      ac_ext=cpp
69547ac_cpp='$CXXCPP $CPPFLAGS'
69548ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69549ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69550ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69551
69552      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69553/* end confdefs.h.  */
69554#include <math.h>
69555		      #ifdef HAVE_IEEEFP_H
69556		      #include <ieeefp.h>
69557		      #endif
69558
69559int
69560main ()
69561{
69562 _logf(0);
69563  ;
69564  return 0;
69565}
69566_ACEOF
69567if ac_fn_cxx_try_compile "$LINENO"; then :
69568  glibcxx_cv_func__logf_use=yes
69569else
69570  glibcxx_cv_func__logf_use=no
69571fi
69572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69573      ac_ext=c
69574ac_cpp='$CPP $CPPFLAGS'
69575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69577ac_compiler_gnu=$ac_cv_c_compiler_gnu
69578
69579
69580fi
69581
69582  fi
69583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69584$as_echo "$glibcxx_cv_func__logf_use" >&6; }
69585
69586    if test x$glibcxx_cv_func__logf_use = x"yes"; then
69587      for ac_func in _logf
69588do :
69589  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69590if test "x$ac_cv_func__logf" = xyes; then :
69591  cat >>confdefs.h <<_ACEOF
69592#define HAVE__LOGF 1
69593_ACEOF
69594
69595fi
69596done
69597
69598    fi
69599  fi
69600
69601
69602
69603
69604
69605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69606$as_echo_n "checking for log10f declaration... " >&6; }
69607  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69608    if ${glibcxx_cv_func_log10f_use+:} false; then :
69609  $as_echo_n "(cached) " >&6
69610else
69611
69612
69613      ac_ext=cpp
69614ac_cpp='$CXXCPP $CPPFLAGS'
69615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69618
69619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69620/* end confdefs.h.  */
69621#include <math.h>
69622		      #ifdef HAVE_IEEEFP_H
69623		      #include <ieeefp.h>
69624		      #endif
69625
69626int
69627main ()
69628{
69629 log10f(0);
69630  ;
69631  return 0;
69632}
69633_ACEOF
69634if ac_fn_cxx_try_compile "$LINENO"; then :
69635  glibcxx_cv_func_log10f_use=yes
69636else
69637  glibcxx_cv_func_log10f_use=no
69638fi
69639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69640      ac_ext=c
69641ac_cpp='$CPP $CPPFLAGS'
69642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69644ac_compiler_gnu=$ac_cv_c_compiler_gnu
69645
69646
69647fi
69648
69649  fi
69650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69651$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69652
69653  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69654    for ac_func in log10f
69655do :
69656  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69657if test "x$ac_cv_func_log10f" = xyes; then :
69658  cat >>confdefs.h <<_ACEOF
69659#define HAVE_LOG10F 1
69660_ACEOF
69661
69662fi
69663done
69664
69665  else
69666
69667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69668$as_echo_n "checking for _log10f declaration... " >&6; }
69669  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69670    if ${glibcxx_cv_func__log10f_use+:} false; then :
69671  $as_echo_n "(cached) " >&6
69672else
69673
69674
69675      ac_ext=cpp
69676ac_cpp='$CXXCPP $CPPFLAGS'
69677ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69678ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69679ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69680
69681      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69682/* end confdefs.h.  */
69683#include <math.h>
69684		      #ifdef HAVE_IEEEFP_H
69685		      #include <ieeefp.h>
69686		      #endif
69687
69688int
69689main ()
69690{
69691 _log10f(0);
69692  ;
69693  return 0;
69694}
69695_ACEOF
69696if ac_fn_cxx_try_compile "$LINENO"; then :
69697  glibcxx_cv_func__log10f_use=yes
69698else
69699  glibcxx_cv_func__log10f_use=no
69700fi
69701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69702      ac_ext=c
69703ac_cpp='$CPP $CPPFLAGS'
69704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69706ac_compiler_gnu=$ac_cv_c_compiler_gnu
69707
69708
69709fi
69710
69711  fi
69712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69713$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69714
69715    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69716      for ac_func in _log10f
69717do :
69718  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69719if test "x$ac_cv_func__log10f" = xyes; then :
69720  cat >>confdefs.h <<_ACEOF
69721#define HAVE__LOG10F 1
69722_ACEOF
69723
69724fi
69725done
69726
69727    fi
69728  fi
69729
69730
69731
69732
69733
69734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69735$as_echo_n "checking for modff declaration... " >&6; }
69736  if test x${glibcxx_cv_func_modff_use+set} != xset; then
69737    if ${glibcxx_cv_func_modff_use+:} false; then :
69738  $as_echo_n "(cached) " >&6
69739else
69740
69741
69742      ac_ext=cpp
69743ac_cpp='$CXXCPP $CPPFLAGS'
69744ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69745ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69746ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69747
69748      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69749/* end confdefs.h.  */
69750#include <math.h>
69751int
69752main ()
69753{
69754 modff(0, 0);
69755  ;
69756  return 0;
69757}
69758_ACEOF
69759if ac_fn_cxx_try_compile "$LINENO"; then :
69760  glibcxx_cv_func_modff_use=yes
69761else
69762  glibcxx_cv_func_modff_use=no
69763fi
69764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69765      ac_ext=c
69766ac_cpp='$CPP $CPPFLAGS'
69767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769ac_compiler_gnu=$ac_cv_c_compiler_gnu
69770
69771
69772fi
69773
69774  fi
69775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69776$as_echo "$glibcxx_cv_func_modff_use" >&6; }
69777
69778  if test x$glibcxx_cv_func_modff_use = x"yes"; then
69779    for ac_func in modff
69780do :
69781  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69782if test "x$ac_cv_func_modff" = xyes; then :
69783  cat >>confdefs.h <<_ACEOF
69784#define HAVE_MODFF 1
69785_ACEOF
69786
69787fi
69788done
69789
69790  else
69791
69792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69793$as_echo_n "checking for _modff declaration... " >&6; }
69794  if test x${glibcxx_cv_func__modff_use+set} != xset; then
69795    if ${glibcxx_cv_func__modff_use+:} false; then :
69796  $as_echo_n "(cached) " >&6
69797else
69798
69799
69800      ac_ext=cpp
69801ac_cpp='$CXXCPP $CPPFLAGS'
69802ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69805
69806      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69807/* end confdefs.h.  */
69808#include <math.h>
69809int
69810main ()
69811{
69812 _modff(0, 0);
69813  ;
69814  return 0;
69815}
69816_ACEOF
69817if ac_fn_cxx_try_compile "$LINENO"; then :
69818  glibcxx_cv_func__modff_use=yes
69819else
69820  glibcxx_cv_func__modff_use=no
69821fi
69822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69823      ac_ext=c
69824ac_cpp='$CPP $CPPFLAGS'
69825ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69826ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69827ac_compiler_gnu=$ac_cv_c_compiler_gnu
69828
69829
69830fi
69831
69832  fi
69833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69834$as_echo "$glibcxx_cv_func__modff_use" >&6; }
69835
69836    if test x$glibcxx_cv_func__modff_use = x"yes"; then
69837      for ac_func in _modff
69838do :
69839  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69840if test "x$ac_cv_func__modff" = xyes; then :
69841  cat >>confdefs.h <<_ACEOF
69842#define HAVE__MODFF 1
69843_ACEOF
69844
69845fi
69846done
69847
69848    fi
69849  fi
69850
69851
69852
69853
69854
69855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69856$as_echo_n "checking for modf declaration... " >&6; }
69857  if test x${glibcxx_cv_func_modf_use+set} != xset; then
69858    if ${glibcxx_cv_func_modf_use+:} false; then :
69859  $as_echo_n "(cached) " >&6
69860else
69861
69862
69863      ac_ext=cpp
69864ac_cpp='$CXXCPP $CPPFLAGS'
69865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69868
69869      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69870/* end confdefs.h.  */
69871#include <math.h>
69872int
69873main ()
69874{
69875 modf(0, 0);
69876  ;
69877  return 0;
69878}
69879_ACEOF
69880if ac_fn_cxx_try_compile "$LINENO"; then :
69881  glibcxx_cv_func_modf_use=yes
69882else
69883  glibcxx_cv_func_modf_use=no
69884fi
69885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69886      ac_ext=c
69887ac_cpp='$CPP $CPPFLAGS'
69888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69890ac_compiler_gnu=$ac_cv_c_compiler_gnu
69891
69892
69893fi
69894
69895  fi
69896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69897$as_echo "$glibcxx_cv_func_modf_use" >&6; }
69898
69899  if test x$glibcxx_cv_func_modf_use = x"yes"; then
69900    for ac_func in modf
69901do :
69902  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69903if test "x$ac_cv_func_modf" = xyes; then :
69904  cat >>confdefs.h <<_ACEOF
69905#define HAVE_MODF 1
69906_ACEOF
69907
69908fi
69909done
69910
69911  else
69912
69913  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69914$as_echo_n "checking for _modf declaration... " >&6; }
69915  if test x${glibcxx_cv_func__modf_use+set} != xset; then
69916    if ${glibcxx_cv_func__modf_use+:} false; then :
69917  $as_echo_n "(cached) " >&6
69918else
69919
69920
69921      ac_ext=cpp
69922ac_cpp='$CXXCPP $CPPFLAGS'
69923ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69924ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69925ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69926
69927      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69928/* end confdefs.h.  */
69929#include <math.h>
69930int
69931main ()
69932{
69933 _modf(0, 0);
69934  ;
69935  return 0;
69936}
69937_ACEOF
69938if ac_fn_cxx_try_compile "$LINENO"; then :
69939  glibcxx_cv_func__modf_use=yes
69940else
69941  glibcxx_cv_func__modf_use=no
69942fi
69943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69944      ac_ext=c
69945ac_cpp='$CPP $CPPFLAGS'
69946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69948ac_compiler_gnu=$ac_cv_c_compiler_gnu
69949
69950
69951fi
69952
69953  fi
69954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69955$as_echo "$glibcxx_cv_func__modf_use" >&6; }
69956
69957    if test x$glibcxx_cv_func__modf_use = x"yes"; then
69958      for ac_func in _modf
69959do :
69960  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69961if test "x$ac_cv_func__modf" = xyes; then :
69962  cat >>confdefs.h <<_ACEOF
69963#define HAVE__MODF 1
69964_ACEOF
69965
69966fi
69967done
69968
69969    fi
69970  fi
69971
69972
69973
69974
69975
69976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69977$as_echo_n "checking for powf declaration... " >&6; }
69978  if test x${glibcxx_cv_func_powf_use+set} != xset; then
69979    if ${glibcxx_cv_func_powf_use+:} false; then :
69980  $as_echo_n "(cached) " >&6
69981else
69982
69983
69984      ac_ext=cpp
69985ac_cpp='$CXXCPP $CPPFLAGS'
69986ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69987ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69988ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69989
69990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69991/* end confdefs.h.  */
69992#include <math.h>
69993int
69994main ()
69995{
69996 powf(0, 0);
69997  ;
69998  return 0;
69999}
70000_ACEOF
70001if ac_fn_cxx_try_compile "$LINENO"; then :
70002  glibcxx_cv_func_powf_use=yes
70003else
70004  glibcxx_cv_func_powf_use=no
70005fi
70006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70007      ac_ext=c
70008ac_cpp='$CPP $CPPFLAGS'
70009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70011ac_compiler_gnu=$ac_cv_c_compiler_gnu
70012
70013
70014fi
70015
70016  fi
70017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
70018$as_echo "$glibcxx_cv_func_powf_use" >&6; }
70019
70020  if test x$glibcxx_cv_func_powf_use = x"yes"; then
70021    for ac_func in powf
70022do :
70023  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
70024if test "x$ac_cv_func_powf" = xyes; then :
70025  cat >>confdefs.h <<_ACEOF
70026#define HAVE_POWF 1
70027_ACEOF
70028
70029fi
70030done
70031
70032  else
70033
70034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
70035$as_echo_n "checking for _powf declaration... " >&6; }
70036  if test x${glibcxx_cv_func__powf_use+set} != xset; then
70037    if ${glibcxx_cv_func__powf_use+:} false; then :
70038  $as_echo_n "(cached) " >&6
70039else
70040
70041
70042      ac_ext=cpp
70043ac_cpp='$CXXCPP $CPPFLAGS'
70044ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70045ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70046ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70047
70048      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70049/* end confdefs.h.  */
70050#include <math.h>
70051int
70052main ()
70053{
70054 _powf(0, 0);
70055  ;
70056  return 0;
70057}
70058_ACEOF
70059if ac_fn_cxx_try_compile "$LINENO"; then :
70060  glibcxx_cv_func__powf_use=yes
70061else
70062  glibcxx_cv_func__powf_use=no
70063fi
70064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70065      ac_ext=c
70066ac_cpp='$CPP $CPPFLAGS'
70067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70069ac_compiler_gnu=$ac_cv_c_compiler_gnu
70070
70071
70072fi
70073
70074  fi
70075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
70076$as_echo "$glibcxx_cv_func__powf_use" >&6; }
70077
70078    if test x$glibcxx_cv_func__powf_use = x"yes"; then
70079      for ac_func in _powf
70080do :
70081  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
70082if test "x$ac_cv_func__powf" = xyes; then :
70083  cat >>confdefs.h <<_ACEOF
70084#define HAVE__POWF 1
70085_ACEOF
70086
70087fi
70088done
70089
70090    fi
70091  fi
70092
70093
70094
70095
70096
70097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
70098$as_echo_n "checking for sqrtf declaration... " >&6; }
70099  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70100    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
70101  $as_echo_n "(cached) " >&6
70102else
70103
70104
70105      ac_ext=cpp
70106ac_cpp='$CXXCPP $CPPFLAGS'
70107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70110
70111      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70112/* end confdefs.h.  */
70113#include <math.h>
70114		      #ifdef HAVE_IEEEFP_H
70115		      #include <ieeefp.h>
70116		      #endif
70117
70118int
70119main ()
70120{
70121 sqrtf(0);
70122  ;
70123  return 0;
70124}
70125_ACEOF
70126if ac_fn_cxx_try_compile "$LINENO"; then :
70127  glibcxx_cv_func_sqrtf_use=yes
70128else
70129  glibcxx_cv_func_sqrtf_use=no
70130fi
70131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70132      ac_ext=c
70133ac_cpp='$CPP $CPPFLAGS'
70134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70136ac_compiler_gnu=$ac_cv_c_compiler_gnu
70137
70138
70139fi
70140
70141  fi
70142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
70143$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
70144
70145  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70146    for ac_func in sqrtf
70147do :
70148  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
70149if test "x$ac_cv_func_sqrtf" = xyes; then :
70150  cat >>confdefs.h <<_ACEOF
70151#define HAVE_SQRTF 1
70152_ACEOF
70153
70154fi
70155done
70156
70157  else
70158
70159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
70160$as_echo_n "checking for _sqrtf declaration... " >&6; }
70161  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70162    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
70163  $as_echo_n "(cached) " >&6
70164else
70165
70166
70167      ac_ext=cpp
70168ac_cpp='$CXXCPP $CPPFLAGS'
70169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70172
70173      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70174/* end confdefs.h.  */
70175#include <math.h>
70176		      #ifdef HAVE_IEEEFP_H
70177		      #include <ieeefp.h>
70178		      #endif
70179
70180int
70181main ()
70182{
70183 _sqrtf(0);
70184  ;
70185  return 0;
70186}
70187_ACEOF
70188if ac_fn_cxx_try_compile "$LINENO"; then :
70189  glibcxx_cv_func__sqrtf_use=yes
70190else
70191  glibcxx_cv_func__sqrtf_use=no
70192fi
70193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70194      ac_ext=c
70195ac_cpp='$CPP $CPPFLAGS'
70196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70198ac_compiler_gnu=$ac_cv_c_compiler_gnu
70199
70200
70201fi
70202
70203  fi
70204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
70205$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
70206
70207    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70208      for ac_func in _sqrtf
70209do :
70210  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
70211if test "x$ac_cv_func__sqrtf" = xyes; then :
70212  cat >>confdefs.h <<_ACEOF
70213#define HAVE__SQRTF 1
70214_ACEOF
70215
70216fi
70217done
70218
70219    fi
70220  fi
70221
70222
70223
70224
70225
70226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
70227$as_echo_n "checking for sincosf declaration... " >&6; }
70228  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70229    if ${glibcxx_cv_func_sincosf_use+:} false; then :
70230  $as_echo_n "(cached) " >&6
70231else
70232
70233
70234      ac_ext=cpp
70235ac_cpp='$CXXCPP $CPPFLAGS'
70236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70239
70240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70241/* end confdefs.h.  */
70242#include <math.h>
70243int
70244main ()
70245{
70246 sincosf(0, 0, 0);
70247  ;
70248  return 0;
70249}
70250_ACEOF
70251if ac_fn_cxx_try_compile "$LINENO"; then :
70252  glibcxx_cv_func_sincosf_use=yes
70253else
70254  glibcxx_cv_func_sincosf_use=no
70255fi
70256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70257      ac_ext=c
70258ac_cpp='$CPP $CPPFLAGS'
70259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70261ac_compiler_gnu=$ac_cv_c_compiler_gnu
70262
70263
70264fi
70265
70266  fi
70267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70268$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70269
70270  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70271    for ac_func in sincosf
70272do :
70273  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70274if test "x$ac_cv_func_sincosf" = xyes; then :
70275  cat >>confdefs.h <<_ACEOF
70276#define HAVE_SINCOSF 1
70277_ACEOF
70278
70279fi
70280done
70281
70282  else
70283
70284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70285$as_echo_n "checking for _sincosf declaration... " >&6; }
70286  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70287    if ${glibcxx_cv_func__sincosf_use+:} false; then :
70288  $as_echo_n "(cached) " >&6
70289else
70290
70291
70292      ac_ext=cpp
70293ac_cpp='$CXXCPP $CPPFLAGS'
70294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70297
70298      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70299/* end confdefs.h.  */
70300#include <math.h>
70301int
70302main ()
70303{
70304 _sincosf(0, 0, 0);
70305  ;
70306  return 0;
70307}
70308_ACEOF
70309if ac_fn_cxx_try_compile "$LINENO"; then :
70310  glibcxx_cv_func__sincosf_use=yes
70311else
70312  glibcxx_cv_func__sincosf_use=no
70313fi
70314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70315      ac_ext=c
70316ac_cpp='$CPP $CPPFLAGS'
70317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70319ac_compiler_gnu=$ac_cv_c_compiler_gnu
70320
70321
70322fi
70323
70324  fi
70325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70326$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70327
70328    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70329      for ac_func in _sincosf
70330do :
70331  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70332if test "x$ac_cv_func__sincosf" = xyes; then :
70333  cat >>confdefs.h <<_ACEOF
70334#define HAVE__SINCOSF 1
70335_ACEOF
70336
70337fi
70338done
70339
70340    fi
70341  fi
70342
70343
70344
70345
70346
70347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70348$as_echo_n "checking for finitef declaration... " >&6; }
70349  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70350    if ${glibcxx_cv_func_finitef_use+:} false; then :
70351  $as_echo_n "(cached) " >&6
70352else
70353
70354
70355      ac_ext=cpp
70356ac_cpp='$CXXCPP $CPPFLAGS'
70357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70360
70361      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70362/* end confdefs.h.  */
70363#include <math.h>
70364		      #ifdef HAVE_IEEEFP_H
70365		      #include <ieeefp.h>
70366		      #endif
70367
70368int
70369main ()
70370{
70371 finitef(0);
70372  ;
70373  return 0;
70374}
70375_ACEOF
70376if ac_fn_cxx_try_compile "$LINENO"; then :
70377  glibcxx_cv_func_finitef_use=yes
70378else
70379  glibcxx_cv_func_finitef_use=no
70380fi
70381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70382      ac_ext=c
70383ac_cpp='$CPP $CPPFLAGS'
70384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70386ac_compiler_gnu=$ac_cv_c_compiler_gnu
70387
70388
70389fi
70390
70391  fi
70392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70393$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70394
70395  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70396    for ac_func in finitef
70397do :
70398  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70399if test "x$ac_cv_func_finitef" = xyes; then :
70400  cat >>confdefs.h <<_ACEOF
70401#define HAVE_FINITEF 1
70402_ACEOF
70403
70404fi
70405done
70406
70407  else
70408
70409  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70410$as_echo_n "checking for _finitef declaration... " >&6; }
70411  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70412    if ${glibcxx_cv_func__finitef_use+:} false; then :
70413  $as_echo_n "(cached) " >&6
70414else
70415
70416
70417      ac_ext=cpp
70418ac_cpp='$CXXCPP $CPPFLAGS'
70419ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70420ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70421ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70422
70423      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70424/* end confdefs.h.  */
70425#include <math.h>
70426		      #ifdef HAVE_IEEEFP_H
70427		      #include <ieeefp.h>
70428		      #endif
70429
70430int
70431main ()
70432{
70433 _finitef(0);
70434  ;
70435  return 0;
70436}
70437_ACEOF
70438if ac_fn_cxx_try_compile "$LINENO"; then :
70439  glibcxx_cv_func__finitef_use=yes
70440else
70441  glibcxx_cv_func__finitef_use=no
70442fi
70443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70444      ac_ext=c
70445ac_cpp='$CPP $CPPFLAGS'
70446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70448ac_compiler_gnu=$ac_cv_c_compiler_gnu
70449
70450
70451fi
70452
70453  fi
70454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70455$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70456
70457    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70458      for ac_func in _finitef
70459do :
70460  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70461if test "x$ac_cv_func__finitef" = xyes; then :
70462  cat >>confdefs.h <<_ACEOF
70463#define HAVE__FINITEF 1
70464_ACEOF
70465
70466fi
70467done
70468
70469    fi
70470  fi
70471
70472
70473
70474
70475
70476    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70477$as_echo_n "checking for long double trig functions... " >&6; }
70478  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70479  $as_echo_n "(cached) " >&6
70480else
70481
70482
70483    ac_ext=cpp
70484ac_cpp='$CXXCPP $CPPFLAGS'
70485ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70488
70489    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70490/* end confdefs.h.  */
70491#include <math.h>
70492int
70493main ()
70494{
70495acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70496  ;
70497  return 0;
70498}
70499_ACEOF
70500if ac_fn_cxx_try_compile "$LINENO"; then :
70501  glibcxx_cv_func_long_double_trig_use=yes
70502else
70503  glibcxx_cv_func_long_double_trig_use=no
70504fi
70505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70506    ac_ext=c
70507ac_cpp='$CPP $CPPFLAGS'
70508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70510ac_compiler_gnu=$ac_cv_c_compiler_gnu
70511
70512fi
70513
70514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70515$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70516  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70517    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70518do :
70519  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70520ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70521if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70522  cat >>confdefs.h <<_ACEOF
70523#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70524_ACEOF
70525
70526fi
70527done
70528
70529  else
70530    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70531$as_echo_n "checking for _long double trig functions... " >&6; }
70532    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70533  $as_echo_n "(cached) " >&6
70534else
70535
70536
70537      ac_ext=cpp
70538ac_cpp='$CXXCPP $CPPFLAGS'
70539ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70540ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70541ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70542
70543      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70544/* end confdefs.h.  */
70545#include <math.h>
70546int
70547main ()
70548{
70549_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70550  ;
70551  return 0;
70552}
70553_ACEOF
70554if ac_fn_cxx_try_compile "$LINENO"; then :
70555  glibcxx_cv_func__long_double_trig_use=yes
70556else
70557  glibcxx_cv_func__long_double_trig_use=no
70558fi
70559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70560      ac_ext=c
70561ac_cpp='$CPP $CPPFLAGS'
70562ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70563ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70564ac_compiler_gnu=$ac_cv_c_compiler_gnu
70565
70566fi
70567
70568    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70569$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70570    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70571      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70572do :
70573  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70574ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70575if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70576  cat >>confdefs.h <<_ACEOF
70577#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70578_ACEOF
70579
70580fi
70581done
70582
70583    fi
70584  fi
70585
70586
70587
70588
70589
70590    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70591$as_echo_n "checking for long double round functions... " >&6; }
70592  if ${glibcxx_cv_func_long_double_round_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{
70609ceill (0); floorl (0);
70610  ;
70611  return 0;
70612}
70613_ACEOF
70614if ac_fn_cxx_try_compile "$LINENO"; then :
70615  glibcxx_cv_func_long_double_round_use=yes
70616else
70617  glibcxx_cv_func_long_double_round_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_round_use" >&5
70629$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70630  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70631    for ac_func in ceill floorl
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  else
70644    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70645$as_echo_n "checking for _long double round functions... " >&6; }
70646    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70647  $as_echo_n "(cached) " >&6
70648else
70649
70650
70651      ac_ext=cpp
70652ac_cpp='$CXXCPP $CPPFLAGS'
70653ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70654ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70655ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70656
70657      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70658/* end confdefs.h.  */
70659#include <math.h>
70660int
70661main ()
70662{
70663_ceill (0); _floorl (0);
70664  ;
70665  return 0;
70666}
70667_ACEOF
70668if ac_fn_cxx_try_compile "$LINENO"; then :
70669  glibcxx_cv_func__long_double_round_use=yes
70670else
70671  glibcxx_cv_func__long_double_round_use=no
70672fi
70673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70674      ac_ext=c
70675ac_cpp='$CPP $CPPFLAGS'
70676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70678ac_compiler_gnu=$ac_cv_c_compiler_gnu
70679
70680fi
70681
70682    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70683$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70684    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70685      for ac_func in _ceill _floorl
70686do :
70687  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70688ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70689if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70690  cat >>confdefs.h <<_ACEOF
70691#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70692_ACEOF
70693
70694fi
70695done
70696
70697    fi
70698  fi
70699
70700
70701
70702
70703
70704
70705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70706$as_echo_n "checking for isnanl declaration... " >&6; }
70707  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70708    if ${glibcxx_cv_func_isnanl_use+:} false; then :
70709  $as_echo_n "(cached) " >&6
70710else
70711
70712
70713      ac_ext=cpp
70714ac_cpp='$CXXCPP $CPPFLAGS'
70715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70718
70719      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70720/* end confdefs.h.  */
70721#include <math.h>
70722		      #ifdef HAVE_IEEEFP_H
70723		      #include <ieeefp.h>
70724		      #endif
70725
70726int
70727main ()
70728{
70729 isnanl(0);
70730  ;
70731  return 0;
70732}
70733_ACEOF
70734if ac_fn_cxx_try_compile "$LINENO"; then :
70735  glibcxx_cv_func_isnanl_use=yes
70736else
70737  glibcxx_cv_func_isnanl_use=no
70738fi
70739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70740      ac_ext=c
70741ac_cpp='$CPP $CPPFLAGS'
70742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70744ac_compiler_gnu=$ac_cv_c_compiler_gnu
70745
70746
70747fi
70748
70749  fi
70750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70751$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70752
70753  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70754    for ac_func in isnanl
70755do :
70756  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70757if test "x$ac_cv_func_isnanl" = xyes; then :
70758  cat >>confdefs.h <<_ACEOF
70759#define HAVE_ISNANL 1
70760_ACEOF
70761
70762fi
70763done
70764
70765  else
70766
70767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70768$as_echo_n "checking for _isnanl declaration... " >&6; }
70769  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70770    if ${glibcxx_cv_func__isnanl_use+:} false; then :
70771  $as_echo_n "(cached) " >&6
70772else
70773
70774
70775      ac_ext=cpp
70776ac_cpp='$CXXCPP $CPPFLAGS'
70777ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70778ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70779ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70780
70781      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70782/* end confdefs.h.  */
70783#include <math.h>
70784		      #ifdef HAVE_IEEEFP_H
70785		      #include <ieeefp.h>
70786		      #endif
70787
70788int
70789main ()
70790{
70791 _isnanl(0);
70792  ;
70793  return 0;
70794}
70795_ACEOF
70796if ac_fn_cxx_try_compile "$LINENO"; then :
70797  glibcxx_cv_func__isnanl_use=yes
70798else
70799  glibcxx_cv_func__isnanl_use=no
70800fi
70801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70802      ac_ext=c
70803ac_cpp='$CPP $CPPFLAGS'
70804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70806ac_compiler_gnu=$ac_cv_c_compiler_gnu
70807
70808
70809fi
70810
70811  fi
70812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70813$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70814
70815    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70816      for ac_func in _isnanl
70817do :
70818  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70819if test "x$ac_cv_func__isnanl" = xyes; then :
70820  cat >>confdefs.h <<_ACEOF
70821#define HAVE__ISNANL 1
70822_ACEOF
70823
70824fi
70825done
70826
70827    fi
70828  fi
70829
70830
70831
70832
70833
70834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70835$as_echo_n "checking for isinfl declaration... " >&6; }
70836  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70837    if ${glibcxx_cv_func_isinfl_use+:} false; then :
70838  $as_echo_n "(cached) " >&6
70839else
70840
70841
70842      ac_ext=cpp
70843ac_cpp='$CXXCPP $CPPFLAGS'
70844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70847
70848      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70849/* end confdefs.h.  */
70850#include <math.h>
70851		      #ifdef HAVE_IEEEFP_H
70852		      #include <ieeefp.h>
70853		      #endif
70854
70855int
70856main ()
70857{
70858 isinfl(0);
70859  ;
70860  return 0;
70861}
70862_ACEOF
70863if ac_fn_cxx_try_compile "$LINENO"; then :
70864  glibcxx_cv_func_isinfl_use=yes
70865else
70866  glibcxx_cv_func_isinfl_use=no
70867fi
70868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70869      ac_ext=c
70870ac_cpp='$CPP $CPPFLAGS'
70871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70873ac_compiler_gnu=$ac_cv_c_compiler_gnu
70874
70875
70876fi
70877
70878  fi
70879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70880$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70881
70882  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70883    for ac_func in isinfl
70884do :
70885  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70886if test "x$ac_cv_func_isinfl" = xyes; then :
70887  cat >>confdefs.h <<_ACEOF
70888#define HAVE_ISINFL 1
70889_ACEOF
70890
70891fi
70892done
70893
70894  else
70895
70896  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70897$as_echo_n "checking for _isinfl declaration... " >&6; }
70898  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70899    if ${glibcxx_cv_func__isinfl_use+:} false; then :
70900  $as_echo_n "(cached) " >&6
70901else
70902
70903
70904      ac_ext=cpp
70905ac_cpp='$CXXCPP $CPPFLAGS'
70906ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70907ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70908ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70909
70910      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70911/* end confdefs.h.  */
70912#include <math.h>
70913		      #ifdef HAVE_IEEEFP_H
70914		      #include <ieeefp.h>
70915		      #endif
70916
70917int
70918main ()
70919{
70920 _isinfl(0);
70921  ;
70922  return 0;
70923}
70924_ACEOF
70925if ac_fn_cxx_try_compile "$LINENO"; then :
70926  glibcxx_cv_func__isinfl_use=yes
70927else
70928  glibcxx_cv_func__isinfl_use=no
70929fi
70930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70931      ac_ext=c
70932ac_cpp='$CPP $CPPFLAGS'
70933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70935ac_compiler_gnu=$ac_cv_c_compiler_gnu
70936
70937
70938fi
70939
70940  fi
70941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70942$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70943
70944    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70945      for ac_func in _isinfl
70946do :
70947  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70948if test "x$ac_cv_func__isinfl" = xyes; then :
70949  cat >>confdefs.h <<_ACEOF
70950#define HAVE__ISINFL 1
70951_ACEOF
70952
70953fi
70954done
70955
70956    fi
70957  fi
70958
70959
70960
70961
70962
70963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70964$as_echo_n "checking for atan2l declaration... " >&6; }
70965  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70966    if ${glibcxx_cv_func_atan2l_use+:} false; then :
70967  $as_echo_n "(cached) " >&6
70968else
70969
70970
70971      ac_ext=cpp
70972ac_cpp='$CXXCPP $CPPFLAGS'
70973ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70974ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70975ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70976
70977      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70978/* end confdefs.h.  */
70979#include <math.h>
70980int
70981main ()
70982{
70983 atan2l(0, 0);
70984  ;
70985  return 0;
70986}
70987_ACEOF
70988if ac_fn_cxx_try_compile "$LINENO"; then :
70989  glibcxx_cv_func_atan2l_use=yes
70990else
70991  glibcxx_cv_func_atan2l_use=no
70992fi
70993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70994      ac_ext=c
70995ac_cpp='$CPP $CPPFLAGS'
70996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70998ac_compiler_gnu=$ac_cv_c_compiler_gnu
70999
71000
71001fi
71002
71003  fi
71004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
71005$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
71006
71007  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
71008    for ac_func in atan2l
71009do :
71010  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
71011if test "x$ac_cv_func_atan2l" = xyes; then :
71012  cat >>confdefs.h <<_ACEOF
71013#define HAVE_ATAN2L 1
71014_ACEOF
71015
71016fi
71017done
71018
71019  else
71020
71021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
71022$as_echo_n "checking for _atan2l declaration... " >&6; }
71023  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
71024    if ${glibcxx_cv_func__atan2l_use+:} false; then :
71025  $as_echo_n "(cached) " >&6
71026else
71027
71028
71029      ac_ext=cpp
71030ac_cpp='$CXXCPP $CPPFLAGS'
71031ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71032ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71033ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71034
71035      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71036/* end confdefs.h.  */
71037#include <math.h>
71038int
71039main ()
71040{
71041 _atan2l(0, 0);
71042  ;
71043  return 0;
71044}
71045_ACEOF
71046if ac_fn_cxx_try_compile "$LINENO"; then :
71047  glibcxx_cv_func__atan2l_use=yes
71048else
71049  glibcxx_cv_func__atan2l_use=no
71050fi
71051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71052      ac_ext=c
71053ac_cpp='$CPP $CPPFLAGS'
71054ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71055ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71056ac_compiler_gnu=$ac_cv_c_compiler_gnu
71057
71058
71059fi
71060
71061  fi
71062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
71063$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
71064
71065    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
71066      for ac_func in _atan2l
71067do :
71068  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
71069if test "x$ac_cv_func__atan2l" = xyes; then :
71070  cat >>confdefs.h <<_ACEOF
71071#define HAVE__ATAN2L 1
71072_ACEOF
71073
71074fi
71075done
71076
71077    fi
71078  fi
71079
71080
71081
71082
71083
71084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
71085$as_echo_n "checking for expl declaration... " >&6; }
71086  if test x${glibcxx_cv_func_expl_use+set} != xset; then
71087    if ${glibcxx_cv_func_expl_use+:} false; then :
71088  $as_echo_n "(cached) " >&6
71089else
71090
71091
71092      ac_ext=cpp
71093ac_cpp='$CXXCPP $CPPFLAGS'
71094ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71097
71098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71099/* end confdefs.h.  */
71100#include <math.h>
71101		      #ifdef HAVE_IEEEFP_H
71102		      #include <ieeefp.h>
71103		      #endif
71104
71105int
71106main ()
71107{
71108 expl(0);
71109  ;
71110  return 0;
71111}
71112_ACEOF
71113if ac_fn_cxx_try_compile "$LINENO"; then :
71114  glibcxx_cv_func_expl_use=yes
71115else
71116  glibcxx_cv_func_expl_use=no
71117fi
71118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71119      ac_ext=c
71120ac_cpp='$CPP $CPPFLAGS'
71121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123ac_compiler_gnu=$ac_cv_c_compiler_gnu
71124
71125
71126fi
71127
71128  fi
71129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
71130$as_echo "$glibcxx_cv_func_expl_use" >&6; }
71131
71132  if test x$glibcxx_cv_func_expl_use = x"yes"; then
71133    for ac_func in expl
71134do :
71135  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
71136if test "x$ac_cv_func_expl" = xyes; then :
71137  cat >>confdefs.h <<_ACEOF
71138#define HAVE_EXPL 1
71139_ACEOF
71140
71141fi
71142done
71143
71144  else
71145
71146  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
71147$as_echo_n "checking for _expl declaration... " >&6; }
71148  if test x${glibcxx_cv_func__expl_use+set} != xset; then
71149    if ${glibcxx_cv_func__expl_use+:} false; then :
71150  $as_echo_n "(cached) " >&6
71151else
71152
71153
71154      ac_ext=cpp
71155ac_cpp='$CXXCPP $CPPFLAGS'
71156ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71157ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71158ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71159
71160      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71161/* end confdefs.h.  */
71162#include <math.h>
71163		      #ifdef HAVE_IEEEFP_H
71164		      #include <ieeefp.h>
71165		      #endif
71166
71167int
71168main ()
71169{
71170 _expl(0);
71171  ;
71172  return 0;
71173}
71174_ACEOF
71175if ac_fn_cxx_try_compile "$LINENO"; then :
71176  glibcxx_cv_func__expl_use=yes
71177else
71178  glibcxx_cv_func__expl_use=no
71179fi
71180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71181      ac_ext=c
71182ac_cpp='$CPP $CPPFLAGS'
71183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71185ac_compiler_gnu=$ac_cv_c_compiler_gnu
71186
71187
71188fi
71189
71190  fi
71191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
71192$as_echo "$glibcxx_cv_func__expl_use" >&6; }
71193
71194    if test x$glibcxx_cv_func__expl_use = x"yes"; then
71195      for ac_func in _expl
71196do :
71197  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
71198if test "x$ac_cv_func__expl" = xyes; then :
71199  cat >>confdefs.h <<_ACEOF
71200#define HAVE__EXPL 1
71201_ACEOF
71202
71203fi
71204done
71205
71206    fi
71207  fi
71208
71209
71210
71211
71212
71213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
71214$as_echo_n "checking for fabsl declaration... " >&6; }
71215  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71216    if ${glibcxx_cv_func_fabsl_use+:} false; then :
71217  $as_echo_n "(cached) " >&6
71218else
71219
71220
71221      ac_ext=cpp
71222ac_cpp='$CXXCPP $CPPFLAGS'
71223ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71224ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71225ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71226
71227      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71228/* end confdefs.h.  */
71229#include <math.h>
71230		      #ifdef HAVE_IEEEFP_H
71231		      #include <ieeefp.h>
71232		      #endif
71233
71234int
71235main ()
71236{
71237 fabsl(0);
71238  ;
71239  return 0;
71240}
71241_ACEOF
71242if ac_fn_cxx_try_compile "$LINENO"; then :
71243  glibcxx_cv_func_fabsl_use=yes
71244else
71245  glibcxx_cv_func_fabsl_use=no
71246fi
71247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71248      ac_ext=c
71249ac_cpp='$CPP $CPPFLAGS'
71250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71252ac_compiler_gnu=$ac_cv_c_compiler_gnu
71253
71254
71255fi
71256
71257  fi
71258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71259$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71260
71261  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71262    for ac_func in fabsl
71263do :
71264  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71265if test "x$ac_cv_func_fabsl" = xyes; then :
71266  cat >>confdefs.h <<_ACEOF
71267#define HAVE_FABSL 1
71268_ACEOF
71269
71270fi
71271done
71272
71273  else
71274
71275  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71276$as_echo_n "checking for _fabsl declaration... " >&6; }
71277  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71278    if ${glibcxx_cv_func__fabsl_use+:} false; then :
71279  $as_echo_n "(cached) " >&6
71280else
71281
71282
71283      ac_ext=cpp
71284ac_cpp='$CXXCPP $CPPFLAGS'
71285ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71286ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71287ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71288
71289      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71290/* end confdefs.h.  */
71291#include <math.h>
71292		      #ifdef HAVE_IEEEFP_H
71293		      #include <ieeefp.h>
71294		      #endif
71295
71296int
71297main ()
71298{
71299 _fabsl(0);
71300  ;
71301  return 0;
71302}
71303_ACEOF
71304if ac_fn_cxx_try_compile "$LINENO"; then :
71305  glibcxx_cv_func__fabsl_use=yes
71306else
71307  glibcxx_cv_func__fabsl_use=no
71308fi
71309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71310      ac_ext=c
71311ac_cpp='$CPP $CPPFLAGS'
71312ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71313ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71314ac_compiler_gnu=$ac_cv_c_compiler_gnu
71315
71316
71317fi
71318
71319  fi
71320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71321$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71322
71323    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71324      for ac_func in _fabsl
71325do :
71326  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71327if test "x$ac_cv_func__fabsl" = xyes; then :
71328  cat >>confdefs.h <<_ACEOF
71329#define HAVE__FABSL 1
71330_ACEOF
71331
71332fi
71333done
71334
71335    fi
71336  fi
71337
71338
71339
71340
71341
71342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71343$as_echo_n "checking for fmodl declaration... " >&6; }
71344  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71345    if ${glibcxx_cv_func_fmodl_use+:} false; then :
71346  $as_echo_n "(cached) " >&6
71347else
71348
71349
71350      ac_ext=cpp
71351ac_cpp='$CXXCPP $CPPFLAGS'
71352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71355
71356      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71357/* end confdefs.h.  */
71358#include <math.h>
71359int
71360main ()
71361{
71362 fmodl(0, 0);
71363  ;
71364  return 0;
71365}
71366_ACEOF
71367if ac_fn_cxx_try_compile "$LINENO"; then :
71368  glibcxx_cv_func_fmodl_use=yes
71369else
71370  glibcxx_cv_func_fmodl_use=no
71371fi
71372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71373      ac_ext=c
71374ac_cpp='$CPP $CPPFLAGS'
71375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71377ac_compiler_gnu=$ac_cv_c_compiler_gnu
71378
71379
71380fi
71381
71382  fi
71383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71384$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71385
71386  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71387    for ac_func in fmodl
71388do :
71389  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71390if test "x$ac_cv_func_fmodl" = xyes; then :
71391  cat >>confdefs.h <<_ACEOF
71392#define HAVE_FMODL 1
71393_ACEOF
71394
71395fi
71396done
71397
71398  else
71399
71400  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71401$as_echo_n "checking for _fmodl declaration... " >&6; }
71402  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71403    if ${glibcxx_cv_func__fmodl_use+:} false; then :
71404  $as_echo_n "(cached) " >&6
71405else
71406
71407
71408      ac_ext=cpp
71409ac_cpp='$CXXCPP $CPPFLAGS'
71410ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71411ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71412ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71413
71414      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71415/* end confdefs.h.  */
71416#include <math.h>
71417int
71418main ()
71419{
71420 _fmodl(0, 0);
71421  ;
71422  return 0;
71423}
71424_ACEOF
71425if ac_fn_cxx_try_compile "$LINENO"; then :
71426  glibcxx_cv_func__fmodl_use=yes
71427else
71428  glibcxx_cv_func__fmodl_use=no
71429fi
71430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71431      ac_ext=c
71432ac_cpp='$CPP $CPPFLAGS'
71433ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71434ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71435ac_compiler_gnu=$ac_cv_c_compiler_gnu
71436
71437
71438fi
71439
71440  fi
71441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71442$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71443
71444    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71445      for ac_func in _fmodl
71446do :
71447  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71448if test "x$ac_cv_func__fmodl" = xyes; then :
71449  cat >>confdefs.h <<_ACEOF
71450#define HAVE__FMODL 1
71451_ACEOF
71452
71453fi
71454done
71455
71456    fi
71457  fi
71458
71459
71460
71461
71462
71463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71464$as_echo_n "checking for frexpl declaration... " >&6; }
71465  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71466    if ${glibcxx_cv_func_frexpl_use+:} false; then :
71467  $as_echo_n "(cached) " >&6
71468else
71469
71470
71471      ac_ext=cpp
71472ac_cpp='$CXXCPP $CPPFLAGS'
71473ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71474ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71475ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71476
71477      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71478/* end confdefs.h.  */
71479#include <math.h>
71480int
71481main ()
71482{
71483 frexpl(0, 0);
71484  ;
71485  return 0;
71486}
71487_ACEOF
71488if ac_fn_cxx_try_compile "$LINENO"; then :
71489  glibcxx_cv_func_frexpl_use=yes
71490else
71491  glibcxx_cv_func_frexpl_use=no
71492fi
71493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71494      ac_ext=c
71495ac_cpp='$CPP $CPPFLAGS'
71496ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71497ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71498ac_compiler_gnu=$ac_cv_c_compiler_gnu
71499
71500
71501fi
71502
71503  fi
71504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71505$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71506
71507  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71508    for ac_func in frexpl
71509do :
71510  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71511if test "x$ac_cv_func_frexpl" = xyes; then :
71512  cat >>confdefs.h <<_ACEOF
71513#define HAVE_FREXPL 1
71514_ACEOF
71515
71516fi
71517done
71518
71519  else
71520
71521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71522$as_echo_n "checking for _frexpl declaration... " >&6; }
71523  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71524    if ${glibcxx_cv_func__frexpl_use+:} false; then :
71525  $as_echo_n "(cached) " >&6
71526else
71527
71528
71529      ac_ext=cpp
71530ac_cpp='$CXXCPP $CPPFLAGS'
71531ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71532ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71533ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71534
71535      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71536/* end confdefs.h.  */
71537#include <math.h>
71538int
71539main ()
71540{
71541 _frexpl(0, 0);
71542  ;
71543  return 0;
71544}
71545_ACEOF
71546if ac_fn_cxx_try_compile "$LINENO"; then :
71547  glibcxx_cv_func__frexpl_use=yes
71548else
71549  glibcxx_cv_func__frexpl_use=no
71550fi
71551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71552      ac_ext=c
71553ac_cpp='$CPP $CPPFLAGS'
71554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71556ac_compiler_gnu=$ac_cv_c_compiler_gnu
71557
71558
71559fi
71560
71561  fi
71562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71563$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71564
71565    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71566      for ac_func in _frexpl
71567do :
71568  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71569if test "x$ac_cv_func__frexpl" = xyes; then :
71570  cat >>confdefs.h <<_ACEOF
71571#define HAVE__FREXPL 1
71572_ACEOF
71573
71574fi
71575done
71576
71577    fi
71578  fi
71579
71580
71581
71582
71583
71584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71585$as_echo_n "checking for hypotl declaration... " >&6; }
71586  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71587    if ${glibcxx_cv_func_hypotl_use+:} false; then :
71588  $as_echo_n "(cached) " >&6
71589else
71590
71591
71592      ac_ext=cpp
71593ac_cpp='$CXXCPP $CPPFLAGS'
71594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71597
71598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71599/* end confdefs.h.  */
71600#include <math.h>
71601int
71602main ()
71603{
71604 hypotl(0, 0);
71605  ;
71606  return 0;
71607}
71608_ACEOF
71609if ac_fn_cxx_try_compile "$LINENO"; then :
71610  glibcxx_cv_func_hypotl_use=yes
71611else
71612  glibcxx_cv_func_hypotl_use=no
71613fi
71614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71615      ac_ext=c
71616ac_cpp='$CPP $CPPFLAGS'
71617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71619ac_compiler_gnu=$ac_cv_c_compiler_gnu
71620
71621
71622fi
71623
71624  fi
71625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71626$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71627
71628  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71629    for ac_func in hypotl
71630do :
71631  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71632if test "x$ac_cv_func_hypotl" = xyes; then :
71633  cat >>confdefs.h <<_ACEOF
71634#define HAVE_HYPOTL 1
71635_ACEOF
71636
71637fi
71638done
71639
71640  else
71641
71642  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71643$as_echo_n "checking for _hypotl declaration... " >&6; }
71644  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71645    if ${glibcxx_cv_func__hypotl_use+:} false; then :
71646  $as_echo_n "(cached) " >&6
71647else
71648
71649
71650      ac_ext=cpp
71651ac_cpp='$CXXCPP $CPPFLAGS'
71652ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71653ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71654ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71655
71656      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71657/* end confdefs.h.  */
71658#include <math.h>
71659int
71660main ()
71661{
71662 _hypotl(0, 0);
71663  ;
71664  return 0;
71665}
71666_ACEOF
71667if ac_fn_cxx_try_compile "$LINENO"; then :
71668  glibcxx_cv_func__hypotl_use=yes
71669else
71670  glibcxx_cv_func__hypotl_use=no
71671fi
71672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71673      ac_ext=c
71674ac_cpp='$CPP $CPPFLAGS'
71675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71677ac_compiler_gnu=$ac_cv_c_compiler_gnu
71678
71679
71680fi
71681
71682  fi
71683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71684$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71685
71686    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71687      for ac_func in _hypotl
71688do :
71689  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71690if test "x$ac_cv_func__hypotl" = xyes; then :
71691  cat >>confdefs.h <<_ACEOF
71692#define HAVE__HYPOTL 1
71693_ACEOF
71694
71695fi
71696done
71697
71698    fi
71699  fi
71700
71701
71702
71703
71704
71705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71706$as_echo_n "checking for ldexpl declaration... " >&6; }
71707  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71708    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71709  $as_echo_n "(cached) " >&6
71710else
71711
71712
71713      ac_ext=cpp
71714ac_cpp='$CXXCPP $CPPFLAGS'
71715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71718
71719      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71720/* end confdefs.h.  */
71721#include <math.h>
71722int
71723main ()
71724{
71725 ldexpl(0, 0);
71726  ;
71727  return 0;
71728}
71729_ACEOF
71730if ac_fn_cxx_try_compile "$LINENO"; then :
71731  glibcxx_cv_func_ldexpl_use=yes
71732else
71733  glibcxx_cv_func_ldexpl_use=no
71734fi
71735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71736      ac_ext=c
71737ac_cpp='$CPP $CPPFLAGS'
71738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71740ac_compiler_gnu=$ac_cv_c_compiler_gnu
71741
71742
71743fi
71744
71745  fi
71746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71747$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71748
71749  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71750    for ac_func in ldexpl
71751do :
71752  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71753if test "x$ac_cv_func_ldexpl" = xyes; then :
71754  cat >>confdefs.h <<_ACEOF
71755#define HAVE_LDEXPL 1
71756_ACEOF
71757
71758fi
71759done
71760
71761  else
71762
71763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71764$as_echo_n "checking for _ldexpl declaration... " >&6; }
71765  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71766    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71767  $as_echo_n "(cached) " >&6
71768else
71769
71770
71771      ac_ext=cpp
71772ac_cpp='$CXXCPP $CPPFLAGS'
71773ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71774ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71775ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71776
71777      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71778/* end confdefs.h.  */
71779#include <math.h>
71780int
71781main ()
71782{
71783 _ldexpl(0, 0);
71784  ;
71785  return 0;
71786}
71787_ACEOF
71788if ac_fn_cxx_try_compile "$LINENO"; then :
71789  glibcxx_cv_func__ldexpl_use=yes
71790else
71791  glibcxx_cv_func__ldexpl_use=no
71792fi
71793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71794      ac_ext=c
71795ac_cpp='$CPP $CPPFLAGS'
71796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71798ac_compiler_gnu=$ac_cv_c_compiler_gnu
71799
71800
71801fi
71802
71803  fi
71804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71805$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71806
71807    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71808      for ac_func in _ldexpl
71809do :
71810  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71811if test "x$ac_cv_func__ldexpl" = xyes; then :
71812  cat >>confdefs.h <<_ACEOF
71813#define HAVE__LDEXPL 1
71814_ACEOF
71815
71816fi
71817done
71818
71819    fi
71820  fi
71821
71822
71823
71824
71825
71826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71827$as_echo_n "checking for logl declaration... " >&6; }
71828  if test x${glibcxx_cv_func_logl_use+set} != xset; then
71829    if ${glibcxx_cv_func_logl_use+:} false; then :
71830  $as_echo_n "(cached) " >&6
71831else
71832
71833
71834      ac_ext=cpp
71835ac_cpp='$CXXCPP $CPPFLAGS'
71836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71839
71840      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71841/* end confdefs.h.  */
71842#include <math.h>
71843		      #ifdef HAVE_IEEEFP_H
71844		      #include <ieeefp.h>
71845		      #endif
71846
71847int
71848main ()
71849{
71850 logl(0);
71851  ;
71852  return 0;
71853}
71854_ACEOF
71855if ac_fn_cxx_try_compile "$LINENO"; then :
71856  glibcxx_cv_func_logl_use=yes
71857else
71858  glibcxx_cv_func_logl_use=no
71859fi
71860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71861      ac_ext=c
71862ac_cpp='$CPP $CPPFLAGS'
71863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71865ac_compiler_gnu=$ac_cv_c_compiler_gnu
71866
71867
71868fi
71869
71870  fi
71871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71872$as_echo "$glibcxx_cv_func_logl_use" >&6; }
71873
71874  if test x$glibcxx_cv_func_logl_use = x"yes"; then
71875    for ac_func in logl
71876do :
71877  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71878if test "x$ac_cv_func_logl" = xyes; then :
71879  cat >>confdefs.h <<_ACEOF
71880#define HAVE_LOGL 1
71881_ACEOF
71882
71883fi
71884done
71885
71886  else
71887
71888  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71889$as_echo_n "checking for _logl declaration... " >&6; }
71890  if test x${glibcxx_cv_func__logl_use+set} != xset; then
71891    if ${glibcxx_cv_func__logl_use+:} false; then :
71892  $as_echo_n "(cached) " >&6
71893else
71894
71895
71896      ac_ext=cpp
71897ac_cpp='$CXXCPP $CPPFLAGS'
71898ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71899ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71900ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71901
71902      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71903/* end confdefs.h.  */
71904#include <math.h>
71905		      #ifdef HAVE_IEEEFP_H
71906		      #include <ieeefp.h>
71907		      #endif
71908
71909int
71910main ()
71911{
71912 _logl(0);
71913  ;
71914  return 0;
71915}
71916_ACEOF
71917if ac_fn_cxx_try_compile "$LINENO"; then :
71918  glibcxx_cv_func__logl_use=yes
71919else
71920  glibcxx_cv_func__logl_use=no
71921fi
71922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71923      ac_ext=c
71924ac_cpp='$CPP $CPPFLAGS'
71925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71927ac_compiler_gnu=$ac_cv_c_compiler_gnu
71928
71929
71930fi
71931
71932  fi
71933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71934$as_echo "$glibcxx_cv_func__logl_use" >&6; }
71935
71936    if test x$glibcxx_cv_func__logl_use = x"yes"; then
71937      for ac_func in _logl
71938do :
71939  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71940if test "x$ac_cv_func__logl" = xyes; then :
71941  cat >>confdefs.h <<_ACEOF
71942#define HAVE__LOGL 1
71943_ACEOF
71944
71945fi
71946done
71947
71948    fi
71949  fi
71950
71951
71952
71953
71954
71955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71956$as_echo_n "checking for log10l declaration... " >&6; }
71957  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71958    if ${glibcxx_cv_func_log10l_use+:} false; then :
71959  $as_echo_n "(cached) " >&6
71960else
71961
71962
71963      ac_ext=cpp
71964ac_cpp='$CXXCPP $CPPFLAGS'
71965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71968
71969      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71970/* end confdefs.h.  */
71971#include <math.h>
71972		      #ifdef HAVE_IEEEFP_H
71973		      #include <ieeefp.h>
71974		      #endif
71975
71976int
71977main ()
71978{
71979 log10l(0);
71980  ;
71981  return 0;
71982}
71983_ACEOF
71984if ac_fn_cxx_try_compile "$LINENO"; then :
71985  glibcxx_cv_func_log10l_use=yes
71986else
71987  glibcxx_cv_func_log10l_use=no
71988fi
71989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71990      ac_ext=c
71991ac_cpp='$CPP $CPPFLAGS'
71992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71994ac_compiler_gnu=$ac_cv_c_compiler_gnu
71995
71996
71997fi
71998
71999  fi
72000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
72001$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
72002
72003  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
72004    for ac_func in log10l
72005do :
72006  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
72007if test "x$ac_cv_func_log10l" = xyes; then :
72008  cat >>confdefs.h <<_ACEOF
72009#define HAVE_LOG10L 1
72010_ACEOF
72011
72012fi
72013done
72014
72015  else
72016
72017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
72018$as_echo_n "checking for _log10l declaration... " >&6; }
72019  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
72020    if ${glibcxx_cv_func__log10l_use+:} false; then :
72021  $as_echo_n "(cached) " >&6
72022else
72023
72024
72025      ac_ext=cpp
72026ac_cpp='$CXXCPP $CPPFLAGS'
72027ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72028ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72029ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72030
72031      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72032/* end confdefs.h.  */
72033#include <math.h>
72034		      #ifdef HAVE_IEEEFP_H
72035		      #include <ieeefp.h>
72036		      #endif
72037
72038int
72039main ()
72040{
72041 _log10l(0);
72042  ;
72043  return 0;
72044}
72045_ACEOF
72046if ac_fn_cxx_try_compile "$LINENO"; then :
72047  glibcxx_cv_func__log10l_use=yes
72048else
72049  glibcxx_cv_func__log10l_use=no
72050fi
72051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72052      ac_ext=c
72053ac_cpp='$CPP $CPPFLAGS'
72054ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72055ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72056ac_compiler_gnu=$ac_cv_c_compiler_gnu
72057
72058
72059fi
72060
72061  fi
72062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
72063$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
72064
72065    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
72066      for ac_func in _log10l
72067do :
72068  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
72069if test "x$ac_cv_func__log10l" = xyes; then :
72070  cat >>confdefs.h <<_ACEOF
72071#define HAVE__LOG10L 1
72072_ACEOF
72073
72074fi
72075done
72076
72077    fi
72078  fi
72079
72080
72081
72082
72083
72084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
72085$as_echo_n "checking for modfl declaration... " >&6; }
72086  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
72087    if ${glibcxx_cv_func_modfl_use+:} false; then :
72088  $as_echo_n "(cached) " >&6
72089else
72090
72091
72092      ac_ext=cpp
72093ac_cpp='$CXXCPP $CPPFLAGS'
72094ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72097
72098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72099/* end confdefs.h.  */
72100#include <math.h>
72101int
72102main ()
72103{
72104 modfl(0, 0);
72105  ;
72106  return 0;
72107}
72108_ACEOF
72109if ac_fn_cxx_try_compile "$LINENO"; then :
72110  glibcxx_cv_func_modfl_use=yes
72111else
72112  glibcxx_cv_func_modfl_use=no
72113fi
72114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72115      ac_ext=c
72116ac_cpp='$CPP $CPPFLAGS'
72117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72119ac_compiler_gnu=$ac_cv_c_compiler_gnu
72120
72121
72122fi
72123
72124  fi
72125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
72126$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
72127
72128  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
72129    for ac_func in modfl
72130do :
72131  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
72132if test "x$ac_cv_func_modfl" = xyes; then :
72133  cat >>confdefs.h <<_ACEOF
72134#define HAVE_MODFL 1
72135_ACEOF
72136
72137fi
72138done
72139
72140  else
72141
72142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
72143$as_echo_n "checking for _modfl declaration... " >&6; }
72144  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
72145    if ${glibcxx_cv_func__modfl_use+:} false; then :
72146  $as_echo_n "(cached) " >&6
72147else
72148
72149
72150      ac_ext=cpp
72151ac_cpp='$CXXCPP $CPPFLAGS'
72152ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72153ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72154ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72155
72156      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157/* end confdefs.h.  */
72158#include <math.h>
72159int
72160main ()
72161{
72162 _modfl(0, 0);
72163  ;
72164  return 0;
72165}
72166_ACEOF
72167if ac_fn_cxx_try_compile "$LINENO"; then :
72168  glibcxx_cv_func__modfl_use=yes
72169else
72170  glibcxx_cv_func__modfl_use=no
72171fi
72172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72173      ac_ext=c
72174ac_cpp='$CPP $CPPFLAGS'
72175ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72176ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72177ac_compiler_gnu=$ac_cv_c_compiler_gnu
72178
72179
72180fi
72181
72182  fi
72183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
72184$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
72185
72186    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72187      for ac_func in _modfl
72188do :
72189  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
72190if test "x$ac_cv_func__modfl" = xyes; then :
72191  cat >>confdefs.h <<_ACEOF
72192#define HAVE__MODFL 1
72193_ACEOF
72194
72195fi
72196done
72197
72198    fi
72199  fi
72200
72201
72202
72203
72204
72205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
72206$as_echo_n "checking for powl declaration... " >&6; }
72207  if test x${glibcxx_cv_func_powl_use+set} != xset; then
72208    if ${glibcxx_cv_func_powl_use+:} false; then :
72209  $as_echo_n "(cached) " >&6
72210else
72211
72212
72213      ac_ext=cpp
72214ac_cpp='$CXXCPP $CPPFLAGS'
72215ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72216ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72217ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72218
72219      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72220/* end confdefs.h.  */
72221#include <math.h>
72222int
72223main ()
72224{
72225 powl(0, 0);
72226  ;
72227  return 0;
72228}
72229_ACEOF
72230if ac_fn_cxx_try_compile "$LINENO"; then :
72231  glibcxx_cv_func_powl_use=yes
72232else
72233  glibcxx_cv_func_powl_use=no
72234fi
72235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72236      ac_ext=c
72237ac_cpp='$CPP $CPPFLAGS'
72238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72240ac_compiler_gnu=$ac_cv_c_compiler_gnu
72241
72242
72243fi
72244
72245  fi
72246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72247$as_echo "$glibcxx_cv_func_powl_use" >&6; }
72248
72249  if test x$glibcxx_cv_func_powl_use = x"yes"; then
72250    for ac_func in powl
72251do :
72252  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72253if test "x$ac_cv_func_powl" = xyes; then :
72254  cat >>confdefs.h <<_ACEOF
72255#define HAVE_POWL 1
72256_ACEOF
72257
72258fi
72259done
72260
72261  else
72262
72263  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72264$as_echo_n "checking for _powl declaration... " >&6; }
72265  if test x${glibcxx_cv_func__powl_use+set} != xset; then
72266    if ${glibcxx_cv_func__powl_use+:} false; then :
72267  $as_echo_n "(cached) " >&6
72268else
72269
72270
72271      ac_ext=cpp
72272ac_cpp='$CXXCPP $CPPFLAGS'
72273ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72274ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72275ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72276
72277      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72278/* end confdefs.h.  */
72279#include <math.h>
72280int
72281main ()
72282{
72283 _powl(0, 0);
72284  ;
72285  return 0;
72286}
72287_ACEOF
72288if ac_fn_cxx_try_compile "$LINENO"; then :
72289  glibcxx_cv_func__powl_use=yes
72290else
72291  glibcxx_cv_func__powl_use=no
72292fi
72293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72294      ac_ext=c
72295ac_cpp='$CPP $CPPFLAGS'
72296ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72297ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72298ac_compiler_gnu=$ac_cv_c_compiler_gnu
72299
72300
72301fi
72302
72303  fi
72304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72305$as_echo "$glibcxx_cv_func__powl_use" >&6; }
72306
72307    if test x$glibcxx_cv_func__powl_use = x"yes"; then
72308      for ac_func in _powl
72309do :
72310  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72311if test "x$ac_cv_func__powl" = xyes; then :
72312  cat >>confdefs.h <<_ACEOF
72313#define HAVE__POWL 1
72314_ACEOF
72315
72316fi
72317done
72318
72319    fi
72320  fi
72321
72322
72323
72324
72325
72326  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72327$as_echo_n "checking for sqrtl declaration... " >&6; }
72328  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72329    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72330  $as_echo_n "(cached) " >&6
72331else
72332
72333
72334      ac_ext=cpp
72335ac_cpp='$CXXCPP $CPPFLAGS'
72336ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72337ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72338ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72339
72340      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72341/* end confdefs.h.  */
72342#include <math.h>
72343		      #ifdef HAVE_IEEEFP_H
72344		      #include <ieeefp.h>
72345		      #endif
72346
72347int
72348main ()
72349{
72350 sqrtl(0);
72351  ;
72352  return 0;
72353}
72354_ACEOF
72355if ac_fn_cxx_try_compile "$LINENO"; then :
72356  glibcxx_cv_func_sqrtl_use=yes
72357else
72358  glibcxx_cv_func_sqrtl_use=no
72359fi
72360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72361      ac_ext=c
72362ac_cpp='$CPP $CPPFLAGS'
72363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72365ac_compiler_gnu=$ac_cv_c_compiler_gnu
72366
72367
72368fi
72369
72370  fi
72371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72372$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72373
72374  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72375    for ac_func in sqrtl
72376do :
72377  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72378if test "x$ac_cv_func_sqrtl" = xyes; then :
72379  cat >>confdefs.h <<_ACEOF
72380#define HAVE_SQRTL 1
72381_ACEOF
72382
72383fi
72384done
72385
72386  else
72387
72388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72389$as_echo_n "checking for _sqrtl declaration... " >&6; }
72390  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72391    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72392  $as_echo_n "(cached) " >&6
72393else
72394
72395
72396      ac_ext=cpp
72397ac_cpp='$CXXCPP $CPPFLAGS'
72398ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72399ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72400ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72401
72402      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72403/* end confdefs.h.  */
72404#include <math.h>
72405		      #ifdef HAVE_IEEEFP_H
72406		      #include <ieeefp.h>
72407		      #endif
72408
72409int
72410main ()
72411{
72412 _sqrtl(0);
72413  ;
72414  return 0;
72415}
72416_ACEOF
72417if ac_fn_cxx_try_compile "$LINENO"; then :
72418  glibcxx_cv_func__sqrtl_use=yes
72419else
72420  glibcxx_cv_func__sqrtl_use=no
72421fi
72422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72423      ac_ext=c
72424ac_cpp='$CPP $CPPFLAGS'
72425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72427ac_compiler_gnu=$ac_cv_c_compiler_gnu
72428
72429
72430fi
72431
72432  fi
72433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72434$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72435
72436    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72437      for ac_func in _sqrtl
72438do :
72439  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72440if test "x$ac_cv_func__sqrtl" = xyes; then :
72441  cat >>confdefs.h <<_ACEOF
72442#define HAVE__SQRTL 1
72443_ACEOF
72444
72445fi
72446done
72447
72448    fi
72449  fi
72450
72451
72452
72453
72454
72455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72456$as_echo_n "checking for sincosl declaration... " >&6; }
72457  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72458    if ${glibcxx_cv_func_sincosl_use+:} false; then :
72459  $as_echo_n "(cached) " >&6
72460else
72461
72462
72463      ac_ext=cpp
72464ac_cpp='$CXXCPP $CPPFLAGS'
72465ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72466ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72467ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72468
72469      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72470/* end confdefs.h.  */
72471#include <math.h>
72472int
72473main ()
72474{
72475 sincosl(0, 0, 0);
72476  ;
72477  return 0;
72478}
72479_ACEOF
72480if ac_fn_cxx_try_compile "$LINENO"; then :
72481  glibcxx_cv_func_sincosl_use=yes
72482else
72483  glibcxx_cv_func_sincosl_use=no
72484fi
72485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72486      ac_ext=c
72487ac_cpp='$CPP $CPPFLAGS'
72488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72490ac_compiler_gnu=$ac_cv_c_compiler_gnu
72491
72492
72493fi
72494
72495  fi
72496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72497$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72498
72499  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72500    for ac_func in sincosl
72501do :
72502  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72503if test "x$ac_cv_func_sincosl" = xyes; then :
72504  cat >>confdefs.h <<_ACEOF
72505#define HAVE_SINCOSL 1
72506_ACEOF
72507
72508fi
72509done
72510
72511  else
72512
72513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72514$as_echo_n "checking for _sincosl declaration... " >&6; }
72515  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72516    if ${glibcxx_cv_func__sincosl_use+:} false; then :
72517  $as_echo_n "(cached) " >&6
72518else
72519
72520
72521      ac_ext=cpp
72522ac_cpp='$CXXCPP $CPPFLAGS'
72523ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72524ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72525ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72526
72527      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72528/* end confdefs.h.  */
72529#include <math.h>
72530int
72531main ()
72532{
72533 _sincosl(0, 0, 0);
72534  ;
72535  return 0;
72536}
72537_ACEOF
72538if ac_fn_cxx_try_compile "$LINENO"; then :
72539  glibcxx_cv_func__sincosl_use=yes
72540else
72541  glibcxx_cv_func__sincosl_use=no
72542fi
72543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72544      ac_ext=c
72545ac_cpp='$CPP $CPPFLAGS'
72546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72548ac_compiler_gnu=$ac_cv_c_compiler_gnu
72549
72550
72551fi
72552
72553  fi
72554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72555$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72556
72557    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72558      for ac_func in _sincosl
72559do :
72560  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72561if test "x$ac_cv_func__sincosl" = xyes; then :
72562  cat >>confdefs.h <<_ACEOF
72563#define HAVE__SINCOSL 1
72564_ACEOF
72565
72566fi
72567done
72568
72569    fi
72570  fi
72571
72572
72573
72574
72575
72576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72577$as_echo_n "checking for finitel declaration... " >&6; }
72578  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72579    if ${glibcxx_cv_func_finitel_use+:} false; then :
72580  $as_echo_n "(cached) " >&6
72581else
72582
72583
72584      ac_ext=cpp
72585ac_cpp='$CXXCPP $CPPFLAGS'
72586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72589
72590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72591/* end confdefs.h.  */
72592#include <math.h>
72593		      #ifdef HAVE_IEEEFP_H
72594		      #include <ieeefp.h>
72595		      #endif
72596
72597int
72598main ()
72599{
72600 finitel(0);
72601  ;
72602  return 0;
72603}
72604_ACEOF
72605if ac_fn_cxx_try_compile "$LINENO"; then :
72606  glibcxx_cv_func_finitel_use=yes
72607else
72608  glibcxx_cv_func_finitel_use=no
72609fi
72610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72611      ac_ext=c
72612ac_cpp='$CPP $CPPFLAGS'
72613ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72614ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72615ac_compiler_gnu=$ac_cv_c_compiler_gnu
72616
72617
72618fi
72619
72620  fi
72621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72622$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72623
72624  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72625    for ac_func in finitel
72626do :
72627  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72628if test "x$ac_cv_func_finitel" = xyes; then :
72629  cat >>confdefs.h <<_ACEOF
72630#define HAVE_FINITEL 1
72631_ACEOF
72632
72633fi
72634done
72635
72636  else
72637
72638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72639$as_echo_n "checking for _finitel declaration... " >&6; }
72640  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72641    if ${glibcxx_cv_func__finitel_use+:} false; then :
72642  $as_echo_n "(cached) " >&6
72643else
72644
72645
72646      ac_ext=cpp
72647ac_cpp='$CXXCPP $CPPFLAGS'
72648ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72649ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72650ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72651
72652      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72653/* end confdefs.h.  */
72654#include <math.h>
72655		      #ifdef HAVE_IEEEFP_H
72656		      #include <ieeefp.h>
72657		      #endif
72658
72659int
72660main ()
72661{
72662 _finitel(0);
72663  ;
72664  return 0;
72665}
72666_ACEOF
72667if ac_fn_cxx_try_compile "$LINENO"; then :
72668  glibcxx_cv_func__finitel_use=yes
72669else
72670  glibcxx_cv_func__finitel_use=no
72671fi
72672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72673      ac_ext=c
72674ac_cpp='$CPP $CPPFLAGS'
72675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72677ac_compiler_gnu=$ac_cv_c_compiler_gnu
72678
72679
72680fi
72681
72682  fi
72683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72684$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72685
72686    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72687      for ac_func in _finitel
72688do :
72689  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72690if test "x$ac_cv_func__finitel" = xyes; then :
72691  cat >>confdefs.h <<_ACEOF
72692#define HAVE__FINITEL 1
72693_ACEOF
72694
72695fi
72696done
72697
72698    fi
72699  fi
72700
72701
72702
72703
72704  LIBS="$ac_save_LIBS"
72705  CXXFLAGS="$ac_save_CXXFLAGS"
72706
72707
72708  ac_test_CXXFLAGS="${CXXFLAGS+set}"
72709  ac_save_CXXFLAGS="$CXXFLAGS"
72710  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72711
72712
72713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72714$as_echo_n "checking for at_quick_exit declaration... " >&6; }
72715  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72716    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72717  $as_echo_n "(cached) " >&6
72718else
72719
72720
72721      ac_ext=cpp
72722ac_cpp='$CXXCPP $CPPFLAGS'
72723ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72724ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72725ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72726
72727      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72728/* end confdefs.h.  */
72729#include <stdlib.h>
72730int
72731main ()
72732{
72733 at_quick_exit(0);
72734  ;
72735  return 0;
72736}
72737_ACEOF
72738if ac_fn_cxx_try_compile "$LINENO"; then :
72739  glibcxx_cv_func_at_quick_exit_use=yes
72740else
72741  glibcxx_cv_func_at_quick_exit_use=no
72742fi
72743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72744      ac_ext=c
72745ac_cpp='$CPP $CPPFLAGS'
72746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72748ac_compiler_gnu=$ac_cv_c_compiler_gnu
72749
72750
72751fi
72752
72753  fi
72754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72755$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72756  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72757    for ac_func in at_quick_exit
72758do :
72759  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72760if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72761  cat >>confdefs.h <<_ACEOF
72762#define HAVE_AT_QUICK_EXIT 1
72763_ACEOF
72764
72765fi
72766done
72767
72768  fi
72769
72770
72771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72772$as_echo_n "checking for quick_exit declaration... " >&6; }
72773  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72774    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72775  $as_echo_n "(cached) " >&6
72776else
72777
72778
72779      ac_ext=cpp
72780ac_cpp='$CXXCPP $CPPFLAGS'
72781ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72782ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72783ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72784
72785      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72786/* end confdefs.h.  */
72787#include <stdlib.h>
72788int
72789main ()
72790{
72791 quick_exit(0);
72792  ;
72793  return 0;
72794}
72795_ACEOF
72796if ac_fn_cxx_try_compile "$LINENO"; then :
72797  glibcxx_cv_func_quick_exit_use=yes
72798else
72799  glibcxx_cv_func_quick_exit_use=no
72800fi
72801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72802      ac_ext=c
72803ac_cpp='$CPP $CPPFLAGS'
72804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72806ac_compiler_gnu=$ac_cv_c_compiler_gnu
72807
72808
72809fi
72810
72811  fi
72812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72813$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72814  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72815    for ac_func in quick_exit
72816do :
72817  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72818if test "x$ac_cv_func_quick_exit" = xyes; then :
72819  cat >>confdefs.h <<_ACEOF
72820#define HAVE_QUICK_EXIT 1
72821_ACEOF
72822
72823fi
72824done
72825
72826  fi
72827
72828
72829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72830$as_echo_n "checking for strtold declaration... " >&6; }
72831  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72832    if ${glibcxx_cv_func_strtold_use+:} false; then :
72833  $as_echo_n "(cached) " >&6
72834else
72835
72836
72837      ac_ext=cpp
72838ac_cpp='$CXXCPP $CPPFLAGS'
72839ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72840ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72841ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72842
72843      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72844/* end confdefs.h.  */
72845#include <stdlib.h>
72846int
72847main ()
72848{
72849 strtold(0, 0);
72850  ;
72851  return 0;
72852}
72853_ACEOF
72854if ac_fn_cxx_try_compile "$LINENO"; then :
72855  glibcxx_cv_func_strtold_use=yes
72856else
72857  glibcxx_cv_func_strtold_use=no
72858fi
72859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72860      ac_ext=c
72861ac_cpp='$CPP $CPPFLAGS'
72862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72864ac_compiler_gnu=$ac_cv_c_compiler_gnu
72865
72866
72867fi
72868
72869  fi
72870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72871$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72872  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72873    for ac_func in strtold
72874do :
72875  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72876if test "x$ac_cv_func_strtold" = xyes; then :
72877  cat >>confdefs.h <<_ACEOF
72878#define HAVE_STRTOLD 1
72879_ACEOF
72880
72881fi
72882done
72883
72884  fi
72885
72886
72887
72888
72889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72890$as_echo_n "checking for strtof declaration... " >&6; }
72891  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72892    if ${glibcxx_cv_func_strtof_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 strtof(0, 0);
72910  ;
72911  return 0;
72912}
72913_ACEOF
72914if ac_fn_cxx_try_compile "$LINENO"; then :
72915  glibcxx_cv_func_strtof_use=yes
72916else
72917  glibcxx_cv_func_strtof_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_strtof_use" >&5
72931$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72932  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72933    for ac_func in strtof
72934do :
72935  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72936if test "x$ac_cv_func_strtof" = xyes; then :
72937  cat >>confdefs.h <<_ACEOF
72938#define HAVE_STRTOF 1
72939_ACEOF
72940
72941fi
72942done
72943
72944  fi
72945
72946
72947
72948
72949  CXXFLAGS="$ac_save_CXXFLAGS"
72950
72951    ;;
72952  *-vxworks)
72953    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72954
72955    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72956
72957    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72958
72959    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72960
72961    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72962
72963    $as_echo "#define HAVE_COSF 1" >>confdefs.h
72964
72965    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72966
72967    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72968
72969    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72970
72971    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72972
72973    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72974
72975    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72976
72977    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72978
72979    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72980
72981    $as_echo "#define HAVE_POWF 1" >>confdefs.h
72982
72983    $as_echo "#define HAVE_SINF 1" >>confdefs.h
72984
72985    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72986
72987    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72988
72989    $as_echo "#define HAVE_TANF 1" >>confdefs.h
72990
72991    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72992
72993
72994
72995
72996
72997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72998$as_echo_n "checking for acosl declaration... " >&6; }
72999if ${glibcxx_cv_func_acosl_use+:} false; then :
73000  $as_echo_n "(cached) " >&6
73001else
73002
73003
73004      ac_ext=c
73005ac_cpp='$CPP $CPPFLAGS'
73006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73008ac_compiler_gnu=$ac_cv_c_compiler_gnu
73009
73010      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73011/* end confdefs.h.  */
73012
73013#include <math.h>
73014#ifdef HAVE_IEEEFP_H
73015# include <ieeefp.h>
73016#endif
73017#undef acosl
73018
73019int
73020main ()
73021{
73022
73023  void (*f)(void) = (void (*)(void))acosl;
73024
73025  ;
73026  return 0;
73027}
73028_ACEOF
73029if ac_fn_c_try_compile "$LINENO"; then :
73030  glibcxx_cv_func_acosl_use=yes
73031
73032else
73033  glibcxx_cv_func_acosl_use=no
73034fi
73035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73036fi
73037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
73038$as_echo "$glibcxx_cv_func_acosl_use" >&6; }
73039  if test "x$glibcxx_cv_func_acosl_use" = xyes; then
73040    cat >>confdefs.h <<_ACEOF
73041#define HAVE_ACOSL 1
73042_ACEOF
73043
73044  fi
73045
73046
73047
73048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
73049$as_echo_n "checking for asinl declaration... " >&6; }
73050if ${glibcxx_cv_func_asinl_use+:} false; then :
73051  $as_echo_n "(cached) " >&6
73052else
73053
73054
73055      ac_ext=c
73056ac_cpp='$CPP $CPPFLAGS'
73057ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73058ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73059ac_compiler_gnu=$ac_cv_c_compiler_gnu
73060
73061      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73062/* end confdefs.h.  */
73063
73064#include <math.h>
73065#ifdef HAVE_IEEEFP_H
73066# include <ieeefp.h>
73067#endif
73068#undef asinl
73069
73070int
73071main ()
73072{
73073
73074  void (*f)(void) = (void (*)(void))asinl;
73075
73076  ;
73077  return 0;
73078}
73079_ACEOF
73080if ac_fn_c_try_compile "$LINENO"; then :
73081  glibcxx_cv_func_asinl_use=yes
73082
73083else
73084  glibcxx_cv_func_asinl_use=no
73085fi
73086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73087fi
73088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
73089$as_echo "$glibcxx_cv_func_asinl_use" >&6; }
73090  if test "x$glibcxx_cv_func_asinl_use" = xyes; then
73091    cat >>confdefs.h <<_ACEOF
73092#define HAVE_ASINL 1
73093_ACEOF
73094
73095  fi
73096
73097
73098
73099  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
73100$as_echo_n "checking for atan2l declaration... " >&6; }
73101if ${glibcxx_cv_func_atan2l_use+:} false; then :
73102  $as_echo_n "(cached) " >&6
73103else
73104
73105
73106      ac_ext=c
73107ac_cpp='$CPP $CPPFLAGS'
73108ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73109ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73110ac_compiler_gnu=$ac_cv_c_compiler_gnu
73111
73112      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73113/* end confdefs.h.  */
73114
73115#include <math.h>
73116#ifdef HAVE_IEEEFP_H
73117# include <ieeefp.h>
73118#endif
73119#undef atan2l
73120
73121int
73122main ()
73123{
73124
73125  void (*f)(void) = (void (*)(void))atan2l;
73126
73127  ;
73128  return 0;
73129}
73130_ACEOF
73131if ac_fn_c_try_compile "$LINENO"; then :
73132  glibcxx_cv_func_atan2l_use=yes
73133
73134else
73135  glibcxx_cv_func_atan2l_use=no
73136fi
73137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73138fi
73139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
73140$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
73141  if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
73142    cat >>confdefs.h <<_ACEOF
73143#define HAVE_ATAN2L 1
73144_ACEOF
73145
73146  fi
73147
73148
73149
73150  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
73151$as_echo_n "checking for atanl declaration... " >&6; }
73152if ${glibcxx_cv_func_atanl_use+:} false; then :
73153  $as_echo_n "(cached) " >&6
73154else
73155
73156
73157      ac_ext=c
73158ac_cpp='$CPP $CPPFLAGS'
73159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73161ac_compiler_gnu=$ac_cv_c_compiler_gnu
73162
73163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73164/* end confdefs.h.  */
73165
73166#include <math.h>
73167#ifdef HAVE_IEEEFP_H
73168# include <ieeefp.h>
73169#endif
73170#undef atanl
73171
73172int
73173main ()
73174{
73175
73176  void (*f)(void) = (void (*)(void))atanl;
73177
73178  ;
73179  return 0;
73180}
73181_ACEOF
73182if ac_fn_c_try_compile "$LINENO"; then :
73183  glibcxx_cv_func_atanl_use=yes
73184
73185else
73186  glibcxx_cv_func_atanl_use=no
73187fi
73188rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73189fi
73190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
73191$as_echo "$glibcxx_cv_func_atanl_use" >&6; }
73192  if test "x$glibcxx_cv_func_atanl_use" = xyes; then
73193    cat >>confdefs.h <<_ACEOF
73194#define HAVE_ATANL 1
73195_ACEOF
73196
73197  fi
73198
73199
73200
73201  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
73202$as_echo_n "checking for ceill declaration... " >&6; }
73203if ${glibcxx_cv_func_ceill_use+:} false; then :
73204  $as_echo_n "(cached) " >&6
73205else
73206
73207
73208      ac_ext=c
73209ac_cpp='$CPP $CPPFLAGS'
73210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73212ac_compiler_gnu=$ac_cv_c_compiler_gnu
73213
73214      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73215/* end confdefs.h.  */
73216
73217#include <math.h>
73218#ifdef HAVE_IEEEFP_H
73219# include <ieeefp.h>
73220#endif
73221#undef ceill
73222
73223int
73224main ()
73225{
73226
73227  void (*f)(void) = (void (*)(void))ceill;
73228
73229  ;
73230  return 0;
73231}
73232_ACEOF
73233if ac_fn_c_try_compile "$LINENO"; then :
73234  glibcxx_cv_func_ceill_use=yes
73235
73236else
73237  glibcxx_cv_func_ceill_use=no
73238fi
73239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73240fi
73241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
73242$as_echo "$glibcxx_cv_func_ceill_use" >&6; }
73243  if test "x$glibcxx_cv_func_ceill_use" = xyes; then
73244    cat >>confdefs.h <<_ACEOF
73245#define HAVE_CEILL 1
73246_ACEOF
73247
73248  fi
73249
73250
73251
73252  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
73253$as_echo_n "checking for cosl declaration... " >&6; }
73254if ${glibcxx_cv_func_cosl_use+:} false; then :
73255  $as_echo_n "(cached) " >&6
73256else
73257
73258
73259      ac_ext=c
73260ac_cpp='$CPP $CPPFLAGS'
73261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73263ac_compiler_gnu=$ac_cv_c_compiler_gnu
73264
73265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73266/* end confdefs.h.  */
73267
73268#include <math.h>
73269#ifdef HAVE_IEEEFP_H
73270# include <ieeefp.h>
73271#endif
73272#undef cosl
73273
73274int
73275main ()
73276{
73277
73278  void (*f)(void) = (void (*)(void))cosl;
73279
73280  ;
73281  return 0;
73282}
73283_ACEOF
73284if ac_fn_c_try_compile "$LINENO"; then :
73285  glibcxx_cv_func_cosl_use=yes
73286
73287else
73288  glibcxx_cv_func_cosl_use=no
73289fi
73290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73291fi
73292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
73293$as_echo "$glibcxx_cv_func_cosl_use" >&6; }
73294  if test "x$glibcxx_cv_func_cosl_use" = xyes; then
73295    cat >>confdefs.h <<_ACEOF
73296#define HAVE_COSL 1
73297_ACEOF
73298
73299  fi
73300
73301
73302
73303  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
73304$as_echo_n "checking for coshl declaration... " >&6; }
73305if ${glibcxx_cv_func_coshl_use+:} false; then :
73306  $as_echo_n "(cached) " >&6
73307else
73308
73309
73310      ac_ext=c
73311ac_cpp='$CPP $CPPFLAGS'
73312ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73313ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73314ac_compiler_gnu=$ac_cv_c_compiler_gnu
73315
73316      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73317/* end confdefs.h.  */
73318
73319#include <math.h>
73320#ifdef HAVE_IEEEFP_H
73321# include <ieeefp.h>
73322#endif
73323#undef coshl
73324
73325int
73326main ()
73327{
73328
73329  void (*f)(void) = (void (*)(void))coshl;
73330
73331  ;
73332  return 0;
73333}
73334_ACEOF
73335if ac_fn_c_try_compile "$LINENO"; then :
73336  glibcxx_cv_func_coshl_use=yes
73337
73338else
73339  glibcxx_cv_func_coshl_use=no
73340fi
73341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73342fi
73343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
73344$as_echo "$glibcxx_cv_func_coshl_use" >&6; }
73345  if test "x$glibcxx_cv_func_coshl_use" = xyes; then
73346    cat >>confdefs.h <<_ACEOF
73347#define HAVE_COSHL 1
73348_ACEOF
73349
73350  fi
73351
73352
73353
73354  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
73355$as_echo_n "checking for expl declaration... " >&6; }
73356if ${glibcxx_cv_func_expl_use+:} false; then :
73357  $as_echo_n "(cached) " >&6
73358else
73359
73360
73361      ac_ext=c
73362ac_cpp='$CPP $CPPFLAGS'
73363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73365ac_compiler_gnu=$ac_cv_c_compiler_gnu
73366
73367      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73368/* end confdefs.h.  */
73369
73370#include <math.h>
73371#ifdef HAVE_IEEEFP_H
73372# include <ieeefp.h>
73373#endif
73374#undef expl
73375
73376int
73377main ()
73378{
73379
73380  void (*f)(void) = (void (*)(void))expl;
73381
73382  ;
73383  return 0;
73384}
73385_ACEOF
73386if ac_fn_c_try_compile "$LINENO"; then :
73387  glibcxx_cv_func_expl_use=yes
73388
73389else
73390  glibcxx_cv_func_expl_use=no
73391fi
73392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73393fi
73394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73395$as_echo "$glibcxx_cv_func_expl_use" >&6; }
73396  if test "x$glibcxx_cv_func_expl_use" = xyes; then
73397    cat >>confdefs.h <<_ACEOF
73398#define HAVE_EXPL 1
73399_ACEOF
73400
73401  fi
73402
73403
73404
73405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73406$as_echo_n "checking for fabsl declaration... " >&6; }
73407if ${glibcxx_cv_func_fabsl_use+:} false; then :
73408  $as_echo_n "(cached) " >&6
73409else
73410
73411
73412      ac_ext=c
73413ac_cpp='$CPP $CPPFLAGS'
73414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73416ac_compiler_gnu=$ac_cv_c_compiler_gnu
73417
73418      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73419/* end confdefs.h.  */
73420
73421#include <math.h>
73422#ifdef HAVE_IEEEFP_H
73423# include <ieeefp.h>
73424#endif
73425#undef fabsl
73426
73427int
73428main ()
73429{
73430
73431  void (*f)(void) = (void (*)(void))fabsl;
73432
73433  ;
73434  return 0;
73435}
73436_ACEOF
73437if ac_fn_c_try_compile "$LINENO"; then :
73438  glibcxx_cv_func_fabsl_use=yes
73439
73440else
73441  glibcxx_cv_func_fabsl_use=no
73442fi
73443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73444fi
73445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73446$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73447  if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73448    cat >>confdefs.h <<_ACEOF
73449#define HAVE_FABSL 1
73450_ACEOF
73451
73452  fi
73453
73454
73455
73456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73457$as_echo_n "checking for floorl declaration... " >&6; }
73458if ${glibcxx_cv_func_floorl_use+:} false; then :
73459  $as_echo_n "(cached) " >&6
73460else
73461
73462
73463      ac_ext=c
73464ac_cpp='$CPP $CPPFLAGS'
73465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73467ac_compiler_gnu=$ac_cv_c_compiler_gnu
73468
73469      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73470/* end confdefs.h.  */
73471
73472#include <math.h>
73473#ifdef HAVE_IEEEFP_H
73474# include <ieeefp.h>
73475#endif
73476#undef floorl
73477
73478int
73479main ()
73480{
73481
73482  void (*f)(void) = (void (*)(void))floorl;
73483
73484  ;
73485  return 0;
73486}
73487_ACEOF
73488if ac_fn_c_try_compile "$LINENO"; then :
73489  glibcxx_cv_func_floorl_use=yes
73490
73491else
73492  glibcxx_cv_func_floorl_use=no
73493fi
73494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73495fi
73496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73497$as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73498  if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73499    cat >>confdefs.h <<_ACEOF
73500#define HAVE_FLOORL 1
73501_ACEOF
73502
73503  fi
73504
73505
73506
73507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73508$as_echo_n "checking for fmodl declaration... " >&6; }
73509if ${glibcxx_cv_func_fmodl_use+:} false; then :
73510  $as_echo_n "(cached) " >&6
73511else
73512
73513
73514      ac_ext=c
73515ac_cpp='$CPP $CPPFLAGS'
73516ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73517ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73518ac_compiler_gnu=$ac_cv_c_compiler_gnu
73519
73520      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73521/* end confdefs.h.  */
73522
73523#include <math.h>
73524#ifdef HAVE_IEEEFP_H
73525# include <ieeefp.h>
73526#endif
73527#undef fmodl
73528
73529int
73530main ()
73531{
73532
73533  void (*f)(void) = (void (*)(void))fmodl;
73534
73535  ;
73536  return 0;
73537}
73538_ACEOF
73539if ac_fn_c_try_compile "$LINENO"; then :
73540  glibcxx_cv_func_fmodl_use=yes
73541
73542else
73543  glibcxx_cv_func_fmodl_use=no
73544fi
73545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73546fi
73547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73548$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73549  if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73550    cat >>confdefs.h <<_ACEOF
73551#define HAVE_FMODL 1
73552_ACEOF
73553
73554  fi
73555
73556
73557
73558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73559$as_echo_n "checking for frexpl declaration... " >&6; }
73560if ${glibcxx_cv_func_frexpl_use+:} false; then :
73561  $as_echo_n "(cached) " >&6
73562else
73563
73564
73565      ac_ext=c
73566ac_cpp='$CPP $CPPFLAGS'
73567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73569ac_compiler_gnu=$ac_cv_c_compiler_gnu
73570
73571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73572/* end confdefs.h.  */
73573
73574#include <math.h>
73575#ifdef HAVE_IEEEFP_H
73576# include <ieeefp.h>
73577#endif
73578#undef frexpl
73579
73580int
73581main ()
73582{
73583
73584  void (*f)(void) = (void (*)(void))frexpl;
73585
73586  ;
73587  return 0;
73588}
73589_ACEOF
73590if ac_fn_c_try_compile "$LINENO"; then :
73591  glibcxx_cv_func_frexpl_use=yes
73592
73593else
73594  glibcxx_cv_func_frexpl_use=no
73595fi
73596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73597fi
73598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73599$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73600  if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73601    cat >>confdefs.h <<_ACEOF
73602#define HAVE_FREXPL 1
73603_ACEOF
73604
73605  fi
73606
73607
73608
73609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73610$as_echo_n "checking for ldexpl declaration... " >&6; }
73611if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73612  $as_echo_n "(cached) " >&6
73613else
73614
73615
73616      ac_ext=c
73617ac_cpp='$CPP $CPPFLAGS'
73618ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73619ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73620ac_compiler_gnu=$ac_cv_c_compiler_gnu
73621
73622      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73623/* end confdefs.h.  */
73624
73625#include <math.h>
73626#ifdef HAVE_IEEEFP_H
73627# include <ieeefp.h>
73628#endif
73629#undef ldexpl
73630
73631int
73632main ()
73633{
73634
73635  void (*f)(void) = (void (*)(void))ldexpl;
73636
73637  ;
73638  return 0;
73639}
73640_ACEOF
73641if ac_fn_c_try_compile "$LINENO"; then :
73642  glibcxx_cv_func_ldexpl_use=yes
73643
73644else
73645  glibcxx_cv_func_ldexpl_use=no
73646fi
73647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73648fi
73649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73650$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73651  if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73652    cat >>confdefs.h <<_ACEOF
73653#define HAVE_LDEXPL 1
73654_ACEOF
73655
73656  fi
73657
73658
73659
73660  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73661$as_echo_n "checking for log10l declaration... " >&6; }
73662if ${glibcxx_cv_func_log10l_use+:} false; then :
73663  $as_echo_n "(cached) " >&6
73664else
73665
73666
73667      ac_ext=c
73668ac_cpp='$CPP $CPPFLAGS'
73669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73671ac_compiler_gnu=$ac_cv_c_compiler_gnu
73672
73673      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73674/* end confdefs.h.  */
73675
73676#include <math.h>
73677#ifdef HAVE_IEEEFP_H
73678# include <ieeefp.h>
73679#endif
73680#undef log10l
73681
73682int
73683main ()
73684{
73685
73686  void (*f)(void) = (void (*)(void))log10l;
73687
73688  ;
73689  return 0;
73690}
73691_ACEOF
73692if ac_fn_c_try_compile "$LINENO"; then :
73693  glibcxx_cv_func_log10l_use=yes
73694
73695else
73696  glibcxx_cv_func_log10l_use=no
73697fi
73698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73699fi
73700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73701$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73702  if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73703    cat >>confdefs.h <<_ACEOF
73704#define HAVE_LOG10L 1
73705_ACEOF
73706
73707  fi
73708
73709
73710
73711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73712$as_echo_n "checking for logl declaration... " >&6; }
73713if ${glibcxx_cv_func_logl_use+:} false; then :
73714  $as_echo_n "(cached) " >&6
73715else
73716
73717
73718      ac_ext=c
73719ac_cpp='$CPP $CPPFLAGS'
73720ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73721ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73722ac_compiler_gnu=$ac_cv_c_compiler_gnu
73723
73724      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73725/* end confdefs.h.  */
73726
73727#include <math.h>
73728#ifdef HAVE_IEEEFP_H
73729# include <ieeefp.h>
73730#endif
73731#undef logl
73732
73733int
73734main ()
73735{
73736
73737  void (*f)(void) = (void (*)(void))logl;
73738
73739  ;
73740  return 0;
73741}
73742_ACEOF
73743if ac_fn_c_try_compile "$LINENO"; then :
73744  glibcxx_cv_func_logl_use=yes
73745
73746else
73747  glibcxx_cv_func_logl_use=no
73748fi
73749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73750fi
73751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73752$as_echo "$glibcxx_cv_func_logl_use" >&6; }
73753  if test "x$glibcxx_cv_func_logl_use" = xyes; then
73754    cat >>confdefs.h <<_ACEOF
73755#define HAVE_LOGL 1
73756_ACEOF
73757
73758  fi
73759
73760
73761
73762  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73763$as_echo_n "checking for modfl declaration... " >&6; }
73764if ${glibcxx_cv_func_modfl_use+:} false; then :
73765  $as_echo_n "(cached) " >&6
73766else
73767
73768
73769      ac_ext=c
73770ac_cpp='$CPP $CPPFLAGS'
73771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73773ac_compiler_gnu=$ac_cv_c_compiler_gnu
73774
73775      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73776/* end confdefs.h.  */
73777
73778#include <math.h>
73779#ifdef HAVE_IEEEFP_H
73780# include <ieeefp.h>
73781#endif
73782#undef modfl
73783
73784int
73785main ()
73786{
73787
73788  void (*f)(void) = (void (*)(void))modfl;
73789
73790  ;
73791  return 0;
73792}
73793_ACEOF
73794if ac_fn_c_try_compile "$LINENO"; then :
73795  glibcxx_cv_func_modfl_use=yes
73796
73797else
73798  glibcxx_cv_func_modfl_use=no
73799fi
73800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73801fi
73802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73803$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73804  if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73805    cat >>confdefs.h <<_ACEOF
73806#define HAVE_MODFL 1
73807_ACEOF
73808
73809  fi
73810
73811
73812
73813  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73814$as_echo_n "checking for powl declaration... " >&6; }
73815if ${glibcxx_cv_func_powl_use+:} false; then :
73816  $as_echo_n "(cached) " >&6
73817else
73818
73819
73820      ac_ext=c
73821ac_cpp='$CPP $CPPFLAGS'
73822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73824ac_compiler_gnu=$ac_cv_c_compiler_gnu
73825
73826      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73827/* end confdefs.h.  */
73828
73829#include <math.h>
73830#ifdef HAVE_IEEEFP_H
73831# include <ieeefp.h>
73832#endif
73833#undef powl
73834
73835int
73836main ()
73837{
73838
73839  void (*f)(void) = (void (*)(void))powl;
73840
73841  ;
73842  return 0;
73843}
73844_ACEOF
73845if ac_fn_c_try_compile "$LINENO"; then :
73846  glibcxx_cv_func_powl_use=yes
73847
73848else
73849  glibcxx_cv_func_powl_use=no
73850fi
73851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73852fi
73853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73854$as_echo "$glibcxx_cv_func_powl_use" >&6; }
73855  if test "x$glibcxx_cv_func_powl_use" = xyes; then
73856    cat >>confdefs.h <<_ACEOF
73857#define HAVE_POWL 1
73858_ACEOF
73859
73860  fi
73861
73862
73863
73864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73865$as_echo_n "checking for sinl declaration... " >&6; }
73866if ${glibcxx_cv_func_sinl_use+:} false; then :
73867  $as_echo_n "(cached) " >&6
73868else
73869
73870
73871      ac_ext=c
73872ac_cpp='$CPP $CPPFLAGS'
73873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73875ac_compiler_gnu=$ac_cv_c_compiler_gnu
73876
73877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73878/* end confdefs.h.  */
73879
73880#include <math.h>
73881#ifdef HAVE_IEEEFP_H
73882# include <ieeefp.h>
73883#endif
73884#undef sinl
73885
73886int
73887main ()
73888{
73889
73890  void (*f)(void) = (void (*)(void))sinl;
73891
73892  ;
73893  return 0;
73894}
73895_ACEOF
73896if ac_fn_c_try_compile "$LINENO"; then :
73897  glibcxx_cv_func_sinl_use=yes
73898
73899else
73900  glibcxx_cv_func_sinl_use=no
73901fi
73902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73903fi
73904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73905$as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73906  if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73907    cat >>confdefs.h <<_ACEOF
73908#define HAVE_SINL 1
73909_ACEOF
73910
73911  fi
73912
73913
73914
73915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73916$as_echo_n "checking for sinhl declaration... " >&6; }
73917if ${glibcxx_cv_func_sinhl_use+:} false; then :
73918  $as_echo_n "(cached) " >&6
73919else
73920
73921
73922      ac_ext=c
73923ac_cpp='$CPP $CPPFLAGS'
73924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73926ac_compiler_gnu=$ac_cv_c_compiler_gnu
73927
73928      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73929/* end confdefs.h.  */
73930
73931#include <math.h>
73932#ifdef HAVE_IEEEFP_H
73933# include <ieeefp.h>
73934#endif
73935#undef sinhl
73936
73937int
73938main ()
73939{
73940
73941  void (*f)(void) = (void (*)(void))sinhl;
73942
73943  ;
73944  return 0;
73945}
73946_ACEOF
73947if ac_fn_c_try_compile "$LINENO"; then :
73948  glibcxx_cv_func_sinhl_use=yes
73949
73950else
73951  glibcxx_cv_func_sinhl_use=no
73952fi
73953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73954fi
73955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73956$as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73957  if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73958    cat >>confdefs.h <<_ACEOF
73959#define HAVE_SINHL 1
73960_ACEOF
73961
73962  fi
73963
73964
73965
73966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73967$as_echo_n "checking for sqrtl declaration... " >&6; }
73968if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73969  $as_echo_n "(cached) " >&6
73970else
73971
73972
73973      ac_ext=c
73974ac_cpp='$CPP $CPPFLAGS'
73975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73977ac_compiler_gnu=$ac_cv_c_compiler_gnu
73978
73979      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73980/* end confdefs.h.  */
73981
73982#include <math.h>
73983#ifdef HAVE_IEEEFP_H
73984# include <ieeefp.h>
73985#endif
73986#undef sqrtl
73987
73988int
73989main ()
73990{
73991
73992  void (*f)(void) = (void (*)(void))sqrtl;
73993
73994  ;
73995  return 0;
73996}
73997_ACEOF
73998if ac_fn_c_try_compile "$LINENO"; then :
73999  glibcxx_cv_func_sqrtl_use=yes
74000
74001else
74002  glibcxx_cv_func_sqrtl_use=no
74003fi
74004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74005fi
74006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
74007$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
74008  if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
74009    cat >>confdefs.h <<_ACEOF
74010#define HAVE_SQRTL 1
74011_ACEOF
74012
74013  fi
74014
74015
74016
74017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
74018$as_echo_n "checking for tanl declaration... " >&6; }
74019if ${glibcxx_cv_func_tanl_use+:} false; then :
74020  $as_echo_n "(cached) " >&6
74021else
74022
74023
74024      ac_ext=c
74025ac_cpp='$CPP $CPPFLAGS'
74026ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74027ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74028ac_compiler_gnu=$ac_cv_c_compiler_gnu
74029
74030      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74031/* end confdefs.h.  */
74032
74033#include <math.h>
74034#ifdef HAVE_IEEEFP_H
74035# include <ieeefp.h>
74036#endif
74037#undef tanl
74038
74039int
74040main ()
74041{
74042
74043  void (*f)(void) = (void (*)(void))tanl;
74044
74045  ;
74046  return 0;
74047}
74048_ACEOF
74049if ac_fn_c_try_compile "$LINENO"; then :
74050  glibcxx_cv_func_tanl_use=yes
74051
74052else
74053  glibcxx_cv_func_tanl_use=no
74054fi
74055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74056fi
74057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
74058$as_echo "$glibcxx_cv_func_tanl_use" >&6; }
74059  if test "x$glibcxx_cv_func_tanl_use" = xyes; then
74060    cat >>confdefs.h <<_ACEOF
74061#define HAVE_TANL 1
74062_ACEOF
74063
74064  fi
74065
74066
74067
74068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
74069$as_echo_n "checking for tanhl declaration... " >&6; }
74070if ${glibcxx_cv_func_tanhl_use+:} false; then :
74071  $as_echo_n "(cached) " >&6
74072else
74073
74074
74075      ac_ext=c
74076ac_cpp='$CPP $CPPFLAGS'
74077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74079ac_compiler_gnu=$ac_cv_c_compiler_gnu
74080
74081      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74082/* end confdefs.h.  */
74083
74084#include <math.h>
74085#ifdef HAVE_IEEEFP_H
74086# include <ieeefp.h>
74087#endif
74088#undef tanhl
74089
74090int
74091main ()
74092{
74093
74094  void (*f)(void) = (void (*)(void))tanhl;
74095
74096  ;
74097  return 0;
74098}
74099_ACEOF
74100if ac_fn_c_try_compile "$LINENO"; then :
74101  glibcxx_cv_func_tanhl_use=yes
74102
74103else
74104  glibcxx_cv_func_tanhl_use=no
74105fi
74106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74107fi
74108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
74109$as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
74110  if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
74111    cat >>confdefs.h <<_ACEOF
74112#define HAVE_TANHL 1
74113_ACEOF
74114
74115  fi
74116
74117
74118
74119    ;;
74120  *)
74121    as_fn_error $? "No support for this host/target combination." "$LINENO" 5
74122   ;;
74123esac
74124
74125  fi
74126
74127  # At some point, we should differentiate between architectures
74128  # like x86, which have long double versions, and alpha/powerpc/etc.,
74129  # which don't. For the time being, punt.
74130  if test x"long_double_math_on_this_cpu" = x"yes"; then
74131    $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74132
74133    $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74134
74135    $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74136
74137    $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74138
74139    $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74140
74141    $as_echo "#define HAVE_COSL 1" >>confdefs.h
74142
74143    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74144
74145    $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74146
74147    $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74148
74149    $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74150
74151    $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74152
74153    $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74154
74155    $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74156
74157    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74158
74159    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74160
74161    $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74162
74163    $as_echo "#define HAVE_POWL 1" >>confdefs.h
74164
74165    $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74166
74167    $as_echo "#define HAVE_SINL 1" >>confdefs.h
74168
74169    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74170
74171    $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74172
74173    $as_echo "#define HAVE_TANL 1" >>confdefs.h
74174
74175    $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74176
74177  fi
74178fi
74179
74180# Check for _Unwind_GetIPInfo.
74181
74182
74183# Check whether --with-system-libunwind was given.
74184if test "${with_system_libunwind+set}" = set; then :
74185  withval=$with_system_libunwind;
74186fi
74187
74188  # If system-libunwind was not specifically set, pick a default setting.
74189  if test x$with_system_libunwind = x; then
74190    case ${target} in
74191      ia64-*-hpux*) with_system_libunwind=yes ;;
74192      *) with_system_libunwind=no ;;
74193    esac
74194  fi
74195  # Based on system-libunwind and target, do we have ipinfo?
74196  if  test x$with_system_libunwind = xyes; then
74197    case ${target} in
74198      ia64-*-*) have_unwind_getipinfo=no ;;
74199      *) have_unwind_getipinfo=yes ;;
74200    esac
74201  else
74202    # Darwin before version 9 does not have _Unwind_GetIPInfo.
74203
74204    case ${target} in
74205      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74206      *) have_unwind_getipinfo=yes ;;
74207    esac
74208
74209  fi
74210
74211  if test x$have_unwind_getipinfo = xyes; then
74212
74213$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74214
74215  fi
74216
74217
74218 # Check whether --enable-linux-futex was given.
74219if test "${enable_linux_futex+set}" = set; then :
74220  enableval=$enable_linux_futex;
74221      case "$enableval" in
74222       yes|no|default) ;;
74223       *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74224                          esac
74225
74226else
74227  enable_linux_futex=default
74228fi
74229
74230
74231case "$target" in
74232  *-linux* | *-uclinux*)
74233    case "$enable_linux_futex" in
74234      default)
74235	# If headers don't have gettid/futex syscalls definition, then
74236	# default to no, otherwise there will be compile time failures.
74237	# Otherwise, default to yes.  If we don't detect we are
74238	# compiled/linked against NPTL and not cross-compiling, check
74239	# if programs are run by default against NPTL and if not, issue
74240	# a warning.
74241	enable_linux_futex=no
74242	if test x$gcc_no_link = xyes; then
74243  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74244fi
74245cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74246/* end confdefs.h.  */
74247#include <sys/syscall.h>
74248	   #include <unistd.h>
74249	   int lk;
74250int
74251main ()
74252{
74253syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74254  ;
74255  return 0;
74256}
74257_ACEOF
74258if ac_fn_c_try_link "$LINENO"; then :
74259  save_LIBS="$LIBS"
74260	   LIBS="-lpthread $LIBS"
74261	   if test x$gcc_no_link = xyes; then
74262  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74263fi
74264cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74265/* end confdefs.h.  */
74266#ifndef _GNU_SOURCE
74267	     #define _GNU_SOURCE 1
74268	     #endif
74269	     #include <pthread.h>
74270	     pthread_t th; void *status;
74271int
74272main ()
74273{
74274pthread_tryjoin_np (th, &status);
74275  ;
74276  return 0;
74277}
74278_ACEOF
74279if ac_fn_c_try_link "$LINENO"; then :
74280  enable_linux_futex=yes
74281else
74282  if test x$cross_compiling = xno; then
74283	       if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74284		  | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74285		 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74286If so, please configure with --disable-linux-futex" >&5
74287$as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74288If so, please configure with --disable-linux-futex" >&2;}
74289	       fi
74290	     fi
74291	     enable_linux_futex=yes
74292fi
74293rm -f core conftest.err conftest.$ac_objext \
74294    conftest$ac_exeext conftest.$ac_ext
74295	   LIBS="$save_LIBS"
74296fi
74297rm -f core conftest.err conftest.$ac_objext \
74298    conftest$ac_exeext conftest.$ac_ext
74299	;;
74300      yes)
74301	if test x$gcc_no_link = xyes; then
74302  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74303fi
74304cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74305/* end confdefs.h.  */
74306#include <sys/syscall.h>
74307	   #include <unistd.h>
74308	   int lk;
74309int
74310main ()
74311{
74312syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74313  ;
74314  return 0;
74315}
74316_ACEOF
74317if ac_fn_c_try_link "$LINENO"; then :
74318
74319else
74320  as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74321fi
74322rm -f core conftest.err conftest.$ac_objext \
74323    conftest$ac_exeext conftest.$ac_ext
74324	;;
74325    esac
74326    ;;
74327  *)
74328    enable_linux_futex=no
74329    ;;
74330esac
74331if test x$enable_linux_futex = xyes; then
74332
74333$as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74334
74335fi
74336
74337
74338
74339
74340inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
74341
74342acx_cv_header_stdint=stddef.h
74343acx_cv_header_stdint_kind="(already complete)"
74344for i in stdint.h $inttype_headers; do
74345  unset ac_cv_type_uintptr_t
74346  unset ac_cv_type_uintmax_t
74347  unset ac_cv_type_int_least32_t
74348  unset ac_cv_type_int_fast32_t
74349  unset ac_cv_type_uint64_t
74350  $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74351  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74352#include <$i>
74353"
74354if test "x$ac_cv_type_uintmax_t" = xyes; then :
74355  acx_cv_header_stdint=$i
74356else
74357  continue
74358fi
74359
74360  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74361#include <$i>
74362"
74363if test "x$ac_cv_type_uintptr_t" = xyes; then :
74364
74365else
74366  acx_cv_header_stdint_kind="(mostly complete)"
74367fi
74368
74369  ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74370#include <$i>
74371"
74372if test "x$ac_cv_type_int_least32_t" = xyes; then :
74373
74374else
74375  acx_cv_header_stdint_kind="(mostly complete)"
74376fi
74377
74378  ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74379#include <$i>
74380"
74381if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74382
74383else
74384  acx_cv_header_stdint_kind="(mostly complete)"
74385fi
74386
74387  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74388#include <$i>
74389"
74390if test "x$ac_cv_type_uint64_t" = xyes; then :
74391
74392else
74393  acx_cv_header_stdint_kind="(lacks uint64_t)"
74394fi
74395
74396  break
74397done
74398if test "$acx_cv_header_stdint" = stddef.h; then
74399  acx_cv_header_stdint_kind="(lacks uintmax_t)"
74400  for i in stdint.h $inttype_headers; do
74401    unset ac_cv_type_uintptr_t
74402    unset ac_cv_type_uint32_t
74403    unset ac_cv_type_uint64_t
74404    $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74405    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74406#include <$i>
74407"
74408if test "x$ac_cv_type_uint32_t" = xyes; then :
74409  acx_cv_header_stdint=$i
74410else
74411  continue
74412fi
74413
74414    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74415#include <$i>
74416"
74417if test "x$ac_cv_type_uint64_t" = xyes; then :
74418
74419fi
74420
74421    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74422#include <$i>
74423"
74424if test "x$ac_cv_type_uintptr_t" = xyes; then :
74425
74426fi
74427
74428    break
74429  done
74430fi
74431if test "$acx_cv_header_stdint" = stddef.h; then
74432  acx_cv_header_stdint_kind="(u_intXX_t style)"
74433  for i in sys/types.h $inttype_headers; do
74434    unset ac_cv_type_u_int32_t
74435    unset ac_cv_type_u_int64_t
74436    $as_echo_n "looking for u_intXX_t types in $i, " >&6
74437    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74438#include <$i>
74439"
74440if test "x$ac_cv_type_u_int32_t" = xyes; then :
74441  acx_cv_header_stdint=$i
74442else
74443  continue
74444fi
74445
74446    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74447#include <$i>
74448"
74449if test "x$ac_cv_type_u_int64_t" = xyes; then :
74450
74451fi
74452
74453    break
74454  done
74455fi
74456if test "$acx_cv_header_stdint" = stddef.h; then
74457  acx_cv_header_stdint_kind="(using manual detection)"
74458fi
74459
74460test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74461test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74462test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74463test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74464test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74465
74466# ----------------- Summarize what we found so far
74467
74468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74469$as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74470
74471case `$as_basename -- include/gstdint.h ||
74472$as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74473	 Xinclude/gstdint.h : 'X\(//\)$' \| \
74474	 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74475$as_echo X/include/gstdint.h |
74476    sed '/^.*\/\([^/][^/]*\)\/*$/{
74477	    s//\1/
74478	    q
74479	  }
74480	  /^X\/\(\/\/\)$/{
74481	    s//\1/
74482	    q
74483	  }
74484	  /^X\/\(\/\).*/{
74485	    s//\1/
74486	    q
74487	  }
74488	  s/.*/./; q'` in
74489  stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74490$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74491  inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74492$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74493  *) ;;
74494esac
74495
74496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74497$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74498
74499# ----------------- done included file, check C basic types --------
74500
74501# Lacking an uintptr_t?  Test size of void *
74502case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74503  stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74504# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74505# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74506# This bug is HP SR number 8606223364.
74507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74508$as_echo_n "checking size of void *... " >&6; }
74509if ${ac_cv_sizeof_void_p+:} false; then :
74510  $as_echo_n "(cached) " >&6
74511else
74512  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
74513
74514else
74515  if test "$ac_cv_type_void_p" = yes; then
74516     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74517$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74518as_fn_error 77 "cannot compute sizeof (void *)
74519See \`config.log' for more details" "$LINENO" 5; }
74520   else
74521     ac_cv_sizeof_void_p=0
74522   fi
74523fi
74524
74525fi
74526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74527$as_echo "$ac_cv_sizeof_void_p" >&6; }
74528
74529
74530
74531cat >>confdefs.h <<_ACEOF
74532#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74533_ACEOF
74534
74535 ;;
74536esac
74537
74538# Lacking an uint64_t?  Test size of long
74539case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74540  stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74541# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74542# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74543# This bug is HP SR number 8606223364.
74544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74545$as_echo_n "checking size of long... " >&6; }
74546if ${ac_cv_sizeof_long+:} false; then :
74547  $as_echo_n "(cached) " >&6
74548else
74549  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
74550
74551else
74552  if test "$ac_cv_type_long" = yes; then
74553     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74554$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74555as_fn_error 77 "cannot compute sizeof (long)
74556See \`config.log' for more details" "$LINENO" 5; }
74557   else
74558     ac_cv_sizeof_long=0
74559   fi
74560fi
74561
74562fi
74563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74564$as_echo "$ac_cv_sizeof_long" >&6; }
74565
74566
74567
74568cat >>confdefs.h <<_ACEOF
74569#define SIZEOF_LONG $ac_cv_sizeof_long
74570_ACEOF
74571
74572 ;;
74573esac
74574
74575if test $acx_cv_header_stdint = stddef.h; then
74576  # Lacking a good header?  Test size of everything and deduce all types.
74577  # The cast to long int works around a bug in the HP C Compiler
74578# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74579# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74580# This bug is HP SR number 8606223364.
74581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74582$as_echo_n "checking size of int... " >&6; }
74583if ${ac_cv_sizeof_int+:} false; then :
74584  $as_echo_n "(cached) " >&6
74585else
74586  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
74587
74588else
74589  if test "$ac_cv_type_int" = yes; then
74590     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74591$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74592as_fn_error 77 "cannot compute sizeof (int)
74593See \`config.log' for more details" "$LINENO" 5; }
74594   else
74595     ac_cv_sizeof_int=0
74596   fi
74597fi
74598
74599fi
74600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74601$as_echo "$ac_cv_sizeof_int" >&6; }
74602
74603
74604
74605cat >>confdefs.h <<_ACEOF
74606#define SIZEOF_INT $ac_cv_sizeof_int
74607_ACEOF
74608
74609
74610  # The cast to long int works around a bug in the HP C Compiler
74611# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74612# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74613# This bug is HP SR number 8606223364.
74614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74615$as_echo_n "checking size of short... " >&6; }
74616if ${ac_cv_sizeof_short+:} false; then :
74617  $as_echo_n "(cached) " >&6
74618else
74619  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
74620
74621else
74622  if test "$ac_cv_type_short" = yes; then
74623     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74624$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74625as_fn_error 77 "cannot compute sizeof (short)
74626See \`config.log' for more details" "$LINENO" 5; }
74627   else
74628     ac_cv_sizeof_short=0
74629   fi
74630fi
74631
74632fi
74633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74634$as_echo "$ac_cv_sizeof_short" >&6; }
74635
74636
74637
74638cat >>confdefs.h <<_ACEOF
74639#define SIZEOF_SHORT $ac_cv_sizeof_short
74640_ACEOF
74641
74642
74643  # The cast to long int works around a bug in the HP C Compiler
74644# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74645# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74646# This bug is HP SR number 8606223364.
74647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74648$as_echo_n "checking size of char... " >&6; }
74649if ${ac_cv_sizeof_char+:} false; then :
74650  $as_echo_n "(cached) " >&6
74651else
74652  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
74653
74654else
74655  if test "$ac_cv_type_char" = yes; then
74656     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74657$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74658as_fn_error 77 "cannot compute sizeof (char)
74659See \`config.log' for more details" "$LINENO" 5; }
74660   else
74661     ac_cv_sizeof_char=0
74662   fi
74663fi
74664
74665fi
74666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74667$as_echo "$ac_cv_sizeof_char" >&6; }
74668
74669
74670
74671cat >>confdefs.h <<_ACEOF
74672#define SIZEOF_CHAR $ac_cv_sizeof_char
74673_ACEOF
74674
74675
74676
74677  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74678$as_echo_n "checking for type equivalent to int8_t... " >&6; }
74679  case "$ac_cv_sizeof_char" in
74680    1) acx_cv_type_int8_t=char ;;
74681    *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74682  esac
74683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74684$as_echo "$acx_cv_type_int8_t" >&6; }
74685
74686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74687$as_echo_n "checking for type equivalent to int16_t... " >&6; }
74688  case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74689    2:*) acx_cv_type_int16_t=int ;;
74690    *:2) acx_cv_type_int16_t=short ;;
74691    *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74692  esac
74693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74694$as_echo "$acx_cv_type_int16_t" >&6; }
74695
74696  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74697$as_echo_n "checking for type equivalent to int32_t... " >&6; }
74698  case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74699    4:*) acx_cv_type_int32_t=int ;;
74700    *:4) acx_cv_type_int32_t=long ;;
74701    *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74702  esac
74703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74704$as_echo "$acx_cv_type_int32_t" >&6; }
74705fi
74706
74707# These tests are here to make the output prettier
74708
74709if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74710  case "$ac_cv_sizeof_long" in
74711    8) acx_cv_type_int64_t=long ;;
74712  esac
74713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74714$as_echo_n "checking for type equivalent to int64_t... " >&6; }
74715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74716$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74717fi
74718
74719# Now we can use the above types
74720
74721if test "$ac_cv_type_uintptr_t" != yes; then
74722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74723$as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74724  case $ac_cv_sizeof_void_p in
74725    2) acx_cv_type_intptr_t=int16_t ;;
74726    4) acx_cv_type_intptr_t=int32_t ;;
74727    8) acx_cv_type_intptr_t=int64_t ;;
74728    *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74729  esac
74730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74731$as_echo "$acx_cv_type_intptr_t" >&6; }
74732fi
74733
74734# ----------------- done all checks, emit header -------------
74735ac_config_commands="$ac_config_commands include/gstdint.h"
74736
74737
74738
74739
74740
74741  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74742$as_echo_n "checking for GNU c++filt... " >&6; }
74743if ${ac_cv_path_CXXFILT+:} false; then :
74744  $as_echo_n "(cached) " >&6
74745else
74746  if test -z "$CXXFILT"; then
74747  ac_path_CXXFILT_found=false
74748  # Loop through the user's path and test for each of PROGNAME-LIST
74749  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74750for as_dir in $PATH
74751do
74752  IFS=$as_save_IFS
74753  test -z "$as_dir" && as_dir=.
74754    for ac_prog in c++filt gc++filt; do
74755    for ac_exec_ext in '' $ac_executable_extensions; do
74756      ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74757      as_fn_executable_p "$ac_path_CXXFILT" || continue
74758# Check for GNU $ac_path_CXXFILT
74759case `"$ac_path_CXXFILT" --version 2>&1` in
74760*GNU*)
74761  ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74762esac
74763
74764      $ac_path_CXXFILT_found && break 3
74765    done
74766  done
74767  done
74768IFS=$as_save_IFS
74769  if test -z "$ac_cv_path_CXXFILT"; then
74770    :
74771  fi
74772else
74773  ac_cv_path_CXXFILT=$CXXFILT
74774fi
74775
74776fi
74777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74778$as_echo "$ac_cv_path_CXXFILT" >&6; }
74779  CXXFILT=$ac_cv_path_CXXFILT
74780
74781
74782
74783 # Check whether --enable-symvers was given.
74784if test "${enable_symvers+set}" = set; then :
74785  enableval=$enable_symvers;
74786      case "$enableval" in
74787       yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74788       *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74789	  	        esac
74790
74791else
74792  enable_symvers=yes
74793fi
74794
74795
74796
74797# If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74798# don't know enough about $LD to do tricks...
74799
74800# Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74801# with extern "C++" in version scripts.
74802
74803
74804# Turn a 'yes' into a suitable default.
74805if test x$enable_symvers = xyes ; then
74806  if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74807    enable_symvers=no
74808  else
74809    if test $with_gnu_ld = yes ; then
74810      case ${target_os} in
74811	hpux*)
74812	  enable_symvers=no ;;
74813	*)
74814	  enable_symvers=gnu ;;
74815      esac
74816    else
74817      case ${target_os} in
74818	darwin*)
74819	  enable_symvers=darwin ;;
74820	# Sun symbol versioning exists since Solaris 2.5.
74821	solaris2.[5-9]* | solaris2.1[0-9]*)
74822	  # make_sunver.pl needs GNU c++filt to support extern "C++" in
74823	  # version scripts, so disable symbol versioning if none can be
74824	  # found.
74825	  if test -z "$ac_cv_path_CXXFILT"; then
74826	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74827$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74828	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
74829$as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
74830	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74831$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74832	    enable_symvers=no
74833	  else
74834	    enable_symvers=sun
74835	  fi
74836	  ;;
74837	*)
74838	  enable_symvers=no ;;
74839      esac
74840    fi
74841  fi
74842fi
74843
74844# Check to see if 'darwin' or 'darwin-export' can win.
74845if test x$enable_symvers = xdarwin-export ; then
74846    enable_symvers=darwin
74847fi
74848
74849# Check if 'sun' was requested on non-Solaris 2 platforms.
74850if test x$enable_symvers = xsun ; then
74851  case ${target_os} in
74852    solaris2*)
74853      # All fine.
74854      ;;
74855    *)
74856      # Unlikely to work.
74857      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74858$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74859      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74860$as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74861      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74862$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74863      enable_symvers=no
74864      ;;
74865  esac
74866fi
74867
74868# Check to see if 'gnu' can win.
74869if test $enable_symvers = gnu ||
74870  test $enable_symvers = gnu-versioned-namespace ||
74871  test $enable_symvers = sun; then
74872  # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74874$as_echo_n "checking for shared libgcc... " >&6; }
74875  ac_save_CFLAGS="$CFLAGS"
74876  CFLAGS=' -lgcc_s'
74877  if test x$gcc_no_link = xyes; then
74878  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74879fi
74880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74881/* end confdefs.h.  */
74882
74883int
74884main ()
74885{
74886return 0;
74887  ;
74888  return 0;
74889}
74890_ACEOF
74891if ac_fn_c_try_link "$LINENO"; then :
74892  glibcxx_shared_libgcc=yes
74893else
74894  glibcxx_shared_libgcc=no
74895fi
74896rm -f core conftest.err conftest.$ac_objext \
74897    conftest$ac_exeext conftest.$ac_ext
74898  CFLAGS="$ac_save_CFLAGS"
74899  if test $glibcxx_shared_libgcc = no; then
74900    cat > conftest.c <<EOF
74901int main (void) { return 0; }
74902EOF
74903    glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74904			     -shared -shared-libgcc -o conftest.so \
74905			     conftest.c -v 2>&1 >/dev/null \
74906			     | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74907    rm -f conftest.c conftest.so
74908    if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74909      CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74910      if test x$gcc_no_link = xyes; then
74911  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74912fi
74913cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74914/* end confdefs.h.  */
74915
74916int
74917main ()
74918{
74919return 0;
74920  ;
74921  return 0;
74922}
74923_ACEOF
74924if ac_fn_c_try_link "$LINENO"; then :
74925  glibcxx_shared_libgcc=yes
74926fi
74927rm -f core conftest.err conftest.$ac_objext \
74928    conftest$ac_exeext conftest.$ac_ext
74929      CFLAGS="$ac_save_CFLAGS"
74930    fi
74931  fi
74932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74933$as_echo "$glibcxx_shared_libgcc" >&6; }
74934
74935  # For GNU ld, we need at least this version.  The format is described in
74936  # GLIBCXX_CHECK_LINKER_FEATURES above.
74937  glibcxx_min_gnu_ld_version=21400
74938
74939  # If no shared libgcc, can't win.
74940  if test $glibcxx_shared_libgcc != yes; then
74941      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74942$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74943      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74944$as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74945      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74946$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74947      enable_symvers=no
74948  elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74949    : All interesting versions of Sun ld support sun style symbol versioning.
74950  elif test $with_gnu_ld != yes ; then
74951    # just fail for now
74952    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74953$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74954    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74955$as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74956    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74957$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74958    enable_symvers=no
74959  elif test $glibcxx_ld_is_gold = yes ; then
74960    : All versions of gold support symbol versioning.
74961  elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74962    # The right tools, the right setup, but too old.  Fallbacks?
74963    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74964$as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74965    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74966$as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74967    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74968$as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74969    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74970$as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74971    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74972$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74973    enable_symvers=no
74974  fi
74975fi
74976
74977# For libtool versioning info, format is CURRENT:REVISION:AGE
74978libtool_VERSION=6:28:0
74979
74980# Everything parsed; figure out what files and settings to use.
74981case $enable_symvers in
74982  no)
74983    SYMVER_FILE=config/abi/pre/none.ver
74984    ;;
74985  gnu)
74986    SYMVER_FILE=config/abi/pre/gnu.ver
74987
74988$as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74989
74990    ;;
74991  gnu-versioned-namespace)
74992    libtool_VERSION=8:0:0
74993    SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74994
74995$as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74996
74997    ;;
74998  darwin)
74999    SYMVER_FILE=config/abi/pre/gnu.ver
75000
75001$as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
75002
75003    ;;
75004  sun)
75005    SYMVER_FILE=config/abi/pre/gnu.ver
75006
75007$as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
75008
75009    ;;
75010esac
75011
75012if test x$enable_symvers != xno ; then
75013
75014$as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
75015
75016fi
75017
75018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
75019$as_echo_n "checking whether the target supports .symver directive... " >&6; }
75020if ${glibcxx_cv_have_as_symver_directive+:} false; then :
75021  $as_echo_n "(cached) " >&6
75022else
75023
75024  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75025/* end confdefs.h.  */
75026void foo (void); __asm (".symver foo, bar@SYMVER");
75027int
75028main ()
75029{
75030
75031  ;
75032  return 0;
75033}
75034_ACEOF
75035if ac_fn_c_try_compile "$LINENO"; then :
75036  glibcxx_cv_have_as_symver_directive=yes
75037else
75038  glibcxx_cv_have_as_symver_directive=no
75039fi
75040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75041fi
75042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
75043$as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
75044if test $glibcxx_cv_have_as_symver_directive = yes; then
75045
75046$as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
75047
75048fi
75049
75050
75051
75052
75053
75054
75055
75056
75057{ $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
75058$as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
75059
75060if test $enable_symvers != no ; then
75061   case ${target_os} in
75062     # The Solaris 2 runtime linker doesn't support the GNU extension of
75063     # binding the same symbol to different versions
75064     solaris2*)
75065       ;;
75066     # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
75067     *)
75068
75069$as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
75070
75071       ;;
75072    esac
75073fi
75074
75075# Now, set up compatibility support, if any.
75076# In addition, need this to deal with std::size_t mangling in
75077# src/compatibility.cc.  In a perfect world, could use
75078# typeid(std::size_t).name()[0] to do direct substitution.
75079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
75080$as_echo_n "checking for size_t as unsigned int... " >&6; }
75081ac_save_CFLAGS="$CFLAGS"
75082CFLAGS="-Werror"
75083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75084/* end confdefs.h.  */
75085
75086int
75087main ()
75088{
75089__SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
75090  ;
75091  return 0;
75092}
75093_ACEOF
75094if ac_fn_c_try_compile "$LINENO"; then :
75095  glibcxx_size_t_is_i=yes
75096else
75097  glibcxx_size_t_is_i=no
75098fi
75099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75100CFLAGS=$ac_save_CFLAGS
75101if test "$glibcxx_size_t_is_i" = yes; then
75102
75103$as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
75104
75105fi
75106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
75107$as_echo "$glibcxx_size_t_is_i" >&6; }
75108
75109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
75110$as_echo_n "checking for ptrdiff_t as int... " >&6; }
75111ac_save_CFLAGS="$CFLAGS"
75112CFLAGS="-Werror"
75113cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75114/* end confdefs.h.  */
75115
75116int
75117main ()
75118{
75119__PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
75120  ;
75121  return 0;
75122}
75123_ACEOF
75124if ac_fn_c_try_compile "$LINENO"; then :
75125  glibcxx_ptrdiff_t_is_i=yes
75126else
75127  glibcxx_ptrdiff_t_is_i=no
75128fi
75129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75130CFLAGS=$ac_save_CFLAGS
75131if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75132
75133$as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75134
75135fi
75136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75137$as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75138
75139
75140
75141
75142 # Check whether --enable-libstdcxx-visibility was given.
75143if test "${enable_libstdcxx_visibility+set}" = set; then :
75144  enableval=$enable_libstdcxx_visibility;
75145      case "$enableval" in
75146       yes|no) ;;
75147       *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75148      esac
75149
75150else
75151  enable_libstdcxx_visibility=yes
75152fi
75153
75154
75155
75156if test x$enable_libstdcxx_visibility = xyes ; then
75157      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75158$as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75159if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75160  $as_echo_n "(cached) " >&6
75161else
75162
75163  save_CFLAGS="$CFLAGS"
75164  CFLAGS="$CFLAGS -Werror"
75165  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75166/* end confdefs.h.  */
75167void __attribute__((visibility("hidden"))) foo(void) { }
75168int
75169main ()
75170{
75171
75172  ;
75173  return 0;
75174}
75175_ACEOF
75176if ac_fn_c_try_compile "$LINENO"; then :
75177  glibcxx_cv_have_attribute_visibility=yes
75178else
75179  glibcxx_cv_have_attribute_visibility=no
75180fi
75181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75182  CFLAGS="$save_CFLAGS"
75183fi
75184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75185$as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75186  if test $glibcxx_cv_have_attribute_visibility = no; then
75187    enable_libstdcxx_visibility=no
75188  fi
75189fi
75190
75191
75192{ $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75193$as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75194
75195
75196
75197   # Check whether --enable-libstdcxx-dual-abi was given.
75198if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75199  enableval=$enable_libstdcxx_dual_abi;
75200      case "$enableval" in
75201       yes|no) ;;
75202       *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75203      esac
75204
75205else
75206  enable_libstdcxx_dual_abi=yes
75207fi
75208
75209
75210  if test x$enable_symvers = xgnu-versioned-namespace; then
75211    # gnu-versioned-namespace is incompatible with the dual ABI.
75212    enable_libstdcxx_dual_abi="no"
75213  fi
75214  if test x"$enable_libstdcxx_dual_abi" != xyes; then
75215    { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75216$as_echo "$as_me: dual ABI is disabled" >&6;}
75217    default_libstdcxx_abi="gcc4-compatible"
75218  fi
75219
75220
75221
75222  if test x$enable_libstdcxx_dual_abi = xyes; then
75223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75224$as_echo_n "checking for default std::string ABI to use... " >&6; }
75225
75226# Check whether --with-default-libstdcxx-abi was given.
75227if test "${with_default_libstdcxx_abi+set}" = set; then :
75228  withval=$with_default_libstdcxx_abi; case "$withval" in
75229      gcc4-compatible)  default_libstdcxx_abi="gcc4-compatible" ;;
75230      new|cxx11)  default_libstdcxx_abi="new" ;;
75231      c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75232      *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75233     esac
75234
75235else
75236  default_libstdcxx_abi="new"
75237fi
75238
75239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75240$as_echo "${default_libstdcxx_abi}" >&6; }
75241  fi
75242  if test $default_libstdcxx_abi = "new"; then
75243    glibcxx_cxx11_abi=1
75244    glibcxx_cxx98_abi=0
75245  else
75246    glibcxx_cxx11_abi=0
75247    glibcxx_cxx98_abi=1
75248  fi
75249
75250
75251
75252
75253ac_ldbl_compat=no
75254LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75255case "$target" in
75256  powerpc*-*-linux* | \
75257  sparc*-*-linux* | \
75258  s390*-*-linux* | \
75259  alpha*-*-linux*)
75260  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75261/* end confdefs.h.  */
75262
75263int
75264main ()
75265{
75266
75267#if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75268#error no need for long double compatibility
75269#endif
75270
75271  ;
75272  return 0;
75273}
75274_ACEOF
75275if ac_fn_c_try_compile "$LINENO"; then :
75276  ac_ldbl_compat=yes
75277else
75278  ac_ldbl_compat=no
75279fi
75280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75281  if test "$ac_ldbl_compat" = yes; then
75282
75283$as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75284
75285    port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75286    case "$target" in
75287      powerpc*-*-linux*)
75288	LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
75289    esac
75290  fi
75291esac
75292
75293
75294
75295# Check if assembler supports disabling hardware capability support.
75296
75297  test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75298
75299  # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75300  # with a different meaning.
75301  case ${target_os} in
75302    solaris2*)
75303      ac_save_CFLAGS="$CFLAGS"
75304      CFLAGS="$CFLAGS -Wa,-nH"
75305
75306      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75307$as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75309/* end confdefs.h.  */
75310
75311int
75312main ()
75313{
75314return 0;
75315  ;
75316  return 0;
75317}
75318_ACEOF
75319if ac_fn_c_try_compile "$LINENO"; then :
75320  ac_hwcap_flags=yes
75321else
75322  ac_hwcap_flags=no
75323fi
75324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75325      if test "$ac_hwcap_flags" = "yes"; then
75326	HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75327      fi
75328      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75329$as_echo "$ac_hwcap_flags" >&6; }
75330
75331      CFLAGS="$ac_save_CFLAGS"
75332      ;;
75333  esac
75334
75335
75336
75337
75338# Check if assembler supports rdrand opcode.
75339
75340  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75341$as_echo_n "checking for rdrand support in assembler... " >&6; }
75342  if ${ac_cv_x86_rdrand+:} false; then :
75343  $as_echo_n "(cached) " >&6
75344else
75345
75346  ac_cv_x86_rdrand=no
75347  case "$target" in
75348    i?86-*-* | \
75349    x86_64-*-*)
75350    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75351/* end confdefs.h.  */
75352
75353int
75354main ()
75355{
75356asm("rdrand %eax");
75357  ;
75358  return 0;
75359}
75360_ACEOF
75361if ac_fn_c_try_compile "$LINENO"; then :
75362  ac_cv_x86_rdrand=yes
75363else
75364  ac_cv_x86_rdrand=no
75365fi
75366rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75367  esac
75368
75369fi
75370
75371  if test $ac_cv_x86_rdrand = yes; then
75372
75373$as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75374
75375  fi
75376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75377$as_echo "$ac_cv_x86_rdrand" >&6; }
75378
75379# Check if assembler supports rdseed opcode.
75380
75381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75382$as_echo_n "checking for rdseed support in assembler... " >&6; }
75383  if ${ac_cv_x86_rdseed+:} false; then :
75384  $as_echo_n "(cached) " >&6
75385else
75386
75387  ac_cv_x86_rdseed=no
75388  case "$target" in
75389    i?86-*-* | \
75390    x86_64-*-*)
75391    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75392/* end confdefs.h.  */
75393
75394int
75395main ()
75396{
75397asm("rdseed %eax");
75398  ;
75399  return 0;
75400}
75401_ACEOF
75402if ac_fn_c_try_compile "$LINENO"; then :
75403  ac_cv_x86_rdseed=yes
75404else
75405  ac_cv_x86_rdseed=no
75406fi
75407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75408  esac
75409
75410fi
75411
75412  if test $ac_cv_x86_rdseed = yes; then
75413
75414$as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75415
75416  fi
75417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75418$as_echo "$ac_cv_x86_rdseed" >&6; }
75419
75420
75421# This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75422
75423  # Do checks for resource limit functions.
75424
75425
75426  ac_ext=cpp
75427ac_cpp='$CXXCPP $CPPFLAGS'
75428ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75429ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75430ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75431
75432  setrlimit_have_headers=yes
75433  for ac_header in unistd.h sys/time.h sys/resource.h
75434do :
75435  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75436ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75437if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75438  cat >>confdefs.h <<_ACEOF
75439#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75440_ACEOF
75441
75442else
75443  setrlimit_have_headers=no
75444fi
75445
75446done
75447
75448  # If don't have the headers, then we can't run the tests now, and we
75449  # won't be seeing any of these during testsuite compilation.
75450  if test $setrlimit_have_headers = yes; then
75451    # Can't do these in a loop, else the resulting syntax is wrong.
75452
75453  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75454$as_echo_n "checking for RLIMIT_DATA... " >&6; }
75455  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75456/* end confdefs.h.  */
75457#include <unistd.h>
75458     #include <sys/time.h>
75459     #include <sys/resource.h>
75460
75461int
75462main ()
75463{
75464 int f = RLIMIT_DATA ;
75465  ;
75466  return 0;
75467}
75468_ACEOF
75469if ac_fn_cxx_try_compile "$LINENO"; then :
75470  glibcxx_mresult=1
75471else
75472  glibcxx_mresult=0
75473fi
75474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75475
75476cat >>confdefs.h <<_ACEOF
75477#define HAVE_LIMIT_DATA $glibcxx_mresult
75478_ACEOF
75479
75480  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75482$as_echo "$res" >&6; }
75483
75484
75485  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75486$as_echo_n "checking for RLIMIT_RSS... " >&6; }
75487  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75488/* end confdefs.h.  */
75489#include <unistd.h>
75490     #include <sys/time.h>
75491     #include <sys/resource.h>
75492
75493int
75494main ()
75495{
75496 int f = RLIMIT_RSS ;
75497  ;
75498  return 0;
75499}
75500_ACEOF
75501if ac_fn_cxx_try_compile "$LINENO"; then :
75502  glibcxx_mresult=1
75503else
75504  glibcxx_mresult=0
75505fi
75506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75507
75508cat >>confdefs.h <<_ACEOF
75509#define HAVE_LIMIT_RSS $glibcxx_mresult
75510_ACEOF
75511
75512  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75514$as_echo "$res" >&6; }
75515
75516
75517  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75518$as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75519  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75520/* end confdefs.h.  */
75521#include <unistd.h>
75522     #include <sys/time.h>
75523     #include <sys/resource.h>
75524
75525int
75526main ()
75527{
75528 int f = RLIMIT_VMEM ;
75529  ;
75530  return 0;
75531}
75532_ACEOF
75533if ac_fn_cxx_try_compile "$LINENO"; then :
75534  glibcxx_mresult=1
75535else
75536  glibcxx_mresult=0
75537fi
75538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75539
75540cat >>confdefs.h <<_ACEOF
75541#define HAVE_LIMIT_VMEM $glibcxx_mresult
75542_ACEOF
75543
75544  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75545  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75546$as_echo "$res" >&6; }
75547
75548
75549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75550$as_echo_n "checking for RLIMIT_AS... " >&6; }
75551  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75552/* end confdefs.h.  */
75553#include <unistd.h>
75554     #include <sys/time.h>
75555     #include <sys/resource.h>
75556
75557int
75558main ()
75559{
75560 int f = RLIMIT_AS ;
75561  ;
75562  return 0;
75563}
75564_ACEOF
75565if ac_fn_cxx_try_compile "$LINENO"; then :
75566  glibcxx_mresult=1
75567else
75568  glibcxx_mresult=0
75569fi
75570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75571
75572cat >>confdefs.h <<_ACEOF
75573#define HAVE_LIMIT_AS $glibcxx_mresult
75574_ACEOF
75575
75576  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75578$as_echo "$res" >&6; }
75579
75580
75581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75582$as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75583  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75584/* end confdefs.h.  */
75585#include <unistd.h>
75586     #include <sys/time.h>
75587     #include <sys/resource.h>
75588
75589int
75590main ()
75591{
75592 int f = RLIMIT_FSIZE ;
75593  ;
75594  return 0;
75595}
75596_ACEOF
75597if ac_fn_cxx_try_compile "$LINENO"; then :
75598  glibcxx_mresult=1
75599else
75600  glibcxx_mresult=0
75601fi
75602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75603
75604cat >>confdefs.h <<_ACEOF
75605#define HAVE_LIMIT_FSIZE $glibcxx_mresult
75606_ACEOF
75607
75608  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75610$as_echo "$res" >&6; }
75611
75612
75613    # Check for rlimit, setrlimit.
75614    if ${glibcxx_cv_setrlimit+:} false; then :
75615  $as_echo_n "(cached) " >&6
75616else
75617
75618      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75619/* end confdefs.h.  */
75620#include <unistd.h>
75621	 #include <sys/time.h>
75622	 #include <sys/resource.h>
75623
75624int
75625main ()
75626{
75627struct rlimit r;
75628	 setrlimit(0, &r);
75629  ;
75630  return 0;
75631}
75632_ACEOF
75633if ac_fn_cxx_try_compile "$LINENO"; then :
75634  glibcxx_cv_setrlimit=yes
75635else
75636  glibcxx_cv_setrlimit=no
75637fi
75638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75639
75640fi
75641
75642  fi
75643
75644  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75645$as_echo_n "checking for testsuite resource limits support... " >&6; }
75646  if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75647    ac_res_limits=yes
75648
75649$as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75650
75651  else
75652    ac_res_limits=no
75653  fi
75654  ac_ext=c
75655ac_cpp='$CPP $CPPFLAGS'
75656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75658ac_compiler_gnu=$ac_cv_c_compiler_gnu
75659
75660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
75661$as_echo "$ac_res_limits" >&6; }
75662
75663
75664  if $GLIBCXX_IS_NATIVE ; then
75665    # Look for setenv, so that extended locale tests can be performed.
75666
75667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75668$as_echo_n "checking for setenv declaration... " >&6; }
75669  if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75670    if ${glibcxx_cv_func_setenv_use+:} false; then :
75671  $as_echo_n "(cached) " >&6
75672else
75673
75674
75675      ac_ext=cpp
75676ac_cpp='$CXXCPP $CPPFLAGS'
75677ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75678ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75679ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75680
75681      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75682/* end confdefs.h.  */
75683#include <stdlib.h>
75684int
75685main ()
75686{
75687 setenv(0, 0, 0);
75688  ;
75689  return 0;
75690}
75691_ACEOF
75692if ac_fn_cxx_try_compile "$LINENO"; then :
75693  glibcxx_cv_func_setenv_use=yes
75694else
75695  glibcxx_cv_func_setenv_use=no
75696fi
75697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75698      ac_ext=c
75699ac_cpp='$CPP $CPPFLAGS'
75700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75702ac_compiler_gnu=$ac_cv_c_compiler_gnu
75703
75704
75705fi
75706
75707  fi
75708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75709$as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75710  if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75711    for ac_func in setenv
75712do :
75713  ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75714if test "x$ac_cv_func_setenv" = xyes; then :
75715  cat >>confdefs.h <<_ACEOF
75716#define HAVE_SETENV 1
75717_ACEOF
75718
75719fi
75720done
75721
75722  fi
75723
75724  fi
75725
75726  if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75727     test $enable_symvers != no; then
75728    case "$host" in
75729      *-*-cygwin*)
75730	enable_abi_check=no ;;
75731      *)
75732	enable_abi_check=yes ;;
75733    esac
75734  else
75735    # Only build this as native, since automake does not understand
75736    # CXX_FOR_BUILD.
75737    enable_abi_check=no
75738  fi
75739
75740  # Export file names for ABI checking.
75741  baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75742
75743  baseline_subdir_switch="$abi_baseline_subdir_switch"
75744
75745
75746
75747# For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
75748
75749   # Check whether --enable-libstdcxx-threads was given.
75750if test "${enable_libstdcxx_threads+set}" = set; then :
75751  enableval=$enable_libstdcxx_threads;
75752      case "$enableval" in
75753       yes|no) ;;
75754       *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75755      esac
75756
75757else
75758  enable_libstdcxx_threads=auto
75759fi
75760
75761
75762
75763  if test x$enable_libstdcxx_threads = xauto ||
75764     test x$enable_libstdcxx_threads = xyes; then
75765
75766
75767  ac_ext=cpp
75768ac_cpp='$CXXCPP $CPPFLAGS'
75769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75772
75773
75774  ac_save_CXXFLAGS="$CXXFLAGS"
75775  CXXFLAGS="$CXXFLAGS -fno-exceptions \
75776	-I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75777
75778  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75779  case $target_thread_file in
75780    posix)
75781      CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75782  esac
75783
75784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75785$as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75786
75787  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75788/* end confdefs.h.  */
75789#include <unistd.h>
75790int
75791main ()
75792{
75793
75794      // In case of POSIX threads check _POSIX_TIMEOUTS.
75795      #if (defined(_PTHREADS) \
75796	  && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75797      #error
75798      #endif
75799
75800  ;
75801  return 0;
75802}
75803_ACEOF
75804if ac_fn_cxx_try_compile "$LINENO"; then :
75805  ac_gthread_use_mutex_timedlock=1
75806else
75807  ac_gthread_use_mutex_timedlock=0
75808fi
75809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75810
75811
75812cat >>confdefs.h <<_ACEOF
75813#define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75814_ACEOF
75815
75816
75817  if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75818  else res_mutex_timedlock=no ; fi
75819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75820$as_echo "$res_mutex_timedlock" >&6; }
75821
75822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75823$as_echo_n "checking for gthreads library... " >&6; }
75824
75825  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75826/* end confdefs.h.  */
75827#include "gthr.h"
75828int
75829main ()
75830{
75831
75832      #ifndef __GTHREADS_CXX0X
75833      #error
75834      #endif
75835
75836  ;
75837  return 0;
75838}
75839_ACEOF
75840if ac_fn_cxx_try_compile "$LINENO"; then :
75841  ac_has_gthreads=yes
75842else
75843  ac_has_gthreads=no
75844fi
75845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75846  else
75847    ac_has_gthreads=no
75848  fi
75849
75850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75851$as_echo "$ac_has_gthreads" >&6; }
75852
75853  if test x"$ac_has_gthreads" = x"yes"; then
75854
75855$as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75856
75857
75858    # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75859    # but only do so if we're using pthread in the gthread library.
75860    # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75861    # but the pthread library is not there by default and the gthread library
75862    # does not use it.
75863    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75864/* end confdefs.h.  */
75865#include "gthr.h"
75866int
75867main ()
75868{
75869
75870      #if (!defined(_PTHREADS))
75871      #error
75872      #endif
75873
75874  ;
75875  return 0;
75876}
75877_ACEOF
75878if ac_fn_cxx_try_compile "$LINENO"; then :
75879  ac_gthread_use_pthreads=yes
75880else
75881  ac_gthread_use_pthreads=no
75882fi
75883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75884    if test x"$ac_gthread_use_pthreads" = x"yes"; then
75885      ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75886"
75887if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75888
75889$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
75890
75891fi
75892
75893    fi
75894  fi
75895
75896  CXXFLAGS="$ac_save_CXXFLAGS"
75897  ac_ext=c
75898ac_cpp='$CPP $CPPFLAGS'
75899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75901ac_compiler_gnu=$ac_cv_c_compiler_gnu
75902
75903
75904
75905# For Filesystem TS.
75906for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
75907do :
75908  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75909ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75910if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75911  cat >>confdefs.h <<_ACEOF
75912#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75913_ACEOF
75914
75915fi
75916
75917done
75918
75919
75920   # Check whether --enable-libstdcxx-filesystem-ts was given.
75921if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
75922  enableval=$enable_libstdcxx_filesystem_ts;
75923      case "$enableval" in
75924       yes|no|auto) ;;
75925       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
75926	  	        esac
75927
75928else
75929  enable_libstdcxx_filesystem_ts=auto
75930fi
75931
75932
75933
75934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
75935$as_echo_n "checking whether to build Filesystem TS support... " >&6; }
75936  if test x"$ac_cv_header_dirent_h" != x"yes"; then
75937    enable_libstdcxx_filesystem_ts=no
75938  fi
75939  if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
75940    case "${target_os}" in
75941      freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
75942        enable_libstdcxx_filesystem_ts=yes
75943        ;;
75944      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
75945        enable_libstdcxx_filesystem_ts=yes
75946        ;;
75947      rtems*)
75948        enable_libstdcxx_filesystem_ts=yes
75949        ;;
75950      solaris*)
75951        enable_libstdcxx_filesystem_ts=yes
75952        ;;
75953      mingw*)
75954        enable_libstdcxx_filesystem_ts=yes
75955        ;;
75956      *)
75957        enable_libstdcxx_filesystem_ts=no
75958        ;;
75959    esac
75960  fi
75961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
75962$as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
75963
75964
75965  if test $enable_libstdcxx_filesystem_ts = yes; then
75966
75967    ac_ext=cpp
75968ac_cpp='$CXXCPP $CPPFLAGS'
75969ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75970ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75971ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75972
75973    ac_save_CXXFLAGS="$CXXFLAGS"
75974    CXXFLAGS="$CXXFLAGS -fno-exceptions"
75975    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
75976$as_echo_n "checking for struct dirent.d_type... " >&6; }
75977    if ${glibcxx_cv_dirent_d_type+:} false; then :
75978  $as_echo_n "(cached) " >&6
75979else
75980        if test x$gcc_no_link = xyes; then
75981  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75982/* end confdefs.h.  */
75983#include <dirent.h>
75984int
75985main ()
75986{
75987
75988         struct dirent d;
75989         if (sizeof d.d_type) return 0;
75990
75991  ;
75992  return 0;
75993}
75994_ACEOF
75995if ac_fn_cxx_try_compile "$LINENO"; then :
75996  glibcxx_cv_dirent_d_type=yes
75997else
75998  glibcxx_cv_dirent_d_type=no
75999fi
76000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76001else
76002  if test x$gcc_no_link = xyes; then
76003  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76004fi
76005cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76006/* end confdefs.h.  */
76007#include <dirent.h>
76008int
76009main ()
76010{
76011
76012         struct dirent d;
76013         if (sizeof d.d_type) return 0;
76014
76015  ;
76016  return 0;
76017}
76018_ACEOF
76019if ac_fn_cxx_try_link "$LINENO"; then :
76020  glibcxx_cv_dirent_d_type=yes
76021else
76022  glibcxx_cv_dirent_d_type=no
76023fi
76024rm -f core conftest.err conftest.$ac_objext \
76025    conftest$ac_exeext conftest.$ac_ext
76026fi
76027
76028fi
76029
76030    if test $glibcxx_cv_dirent_d_type = yes; then
76031
76032$as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76033
76034    fi
76035    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76036$as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76037    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76038$as_echo_n "checking for realpath... " >&6; }
76039    if ${glibcxx_cv_realpath+:} false; then :
76040  $as_echo_n "(cached) " >&6
76041else
76042        if test x$gcc_no_link = xyes; then
76043  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76044/* end confdefs.h.  */
76045
76046         #include <limits.h>
76047         #include <stdlib.h>
76048         #include <unistd.h>
76049
76050int
76051main ()
76052{
76053
76054         #if _XOPEN_VERSION < 500
76055         #error
76056         #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76057         char *tmp = realpath((const char*)NULL, (char*)NULL);
76058         #else
76059         #error
76060         #endif
76061
76062  ;
76063  return 0;
76064}
76065_ACEOF
76066if ac_fn_cxx_try_compile "$LINENO"; then :
76067  glibcxx_cv_realpath=yes
76068else
76069  glibcxx_cv_realpath=no
76070fi
76071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76072else
76073  if test x$gcc_no_link = xyes; then
76074  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76075fi
76076cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76077/* end confdefs.h.  */
76078
76079         #include <limits.h>
76080         #include <stdlib.h>
76081         #include <unistd.h>
76082
76083int
76084main ()
76085{
76086
76087         #if _XOPEN_VERSION < 500
76088         #error
76089         #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76090         char *tmp = realpath((const char*)NULL, (char*)NULL);
76091         #else
76092         #error
76093         #endif
76094
76095  ;
76096  return 0;
76097}
76098_ACEOF
76099if ac_fn_cxx_try_link "$LINENO"; then :
76100  glibcxx_cv_realpath=yes
76101else
76102  glibcxx_cv_realpath=no
76103fi
76104rm -f core conftest.err conftest.$ac_objext \
76105    conftest$ac_exeext conftest.$ac_ext
76106fi
76107
76108fi
76109
76110    if test $glibcxx_cv_realpath = yes; then
76111
76112$as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76113
76114    fi
76115    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76116$as_echo "$glibcxx_cv_realpath" >&6; }
76117    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76118$as_echo_n "checking for utimensat... " >&6; }
76119    if ${glibcxx_cv_utimensat+:} false; then :
76120  $as_echo_n "(cached) " >&6
76121else
76122        if test x$gcc_no_link = xyes; then
76123  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76124/* end confdefs.h.  */
76125
76126          #include <fcntl.h>
76127          #include <sys/stat.h>
76128
76129int
76130main ()
76131{
76132
76133          struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76134          int i = utimensat(AT_FDCWD, "path", ts, 0);
76135
76136  ;
76137  return 0;
76138}
76139_ACEOF
76140if ac_fn_cxx_try_compile "$LINENO"; then :
76141  glibcxx_cv_utimensat=yes
76142else
76143  glibcxx_cv_utimensat=no
76144fi
76145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76146else
76147  if test x$gcc_no_link = xyes; then
76148  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76149fi
76150cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76151/* end confdefs.h.  */
76152
76153          #include <fcntl.h>
76154          #include <sys/stat.h>
76155
76156int
76157main ()
76158{
76159
76160          struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76161          int i = utimensat(AT_FDCWD, "path", ts, 0);
76162
76163  ;
76164  return 0;
76165}
76166_ACEOF
76167if ac_fn_cxx_try_link "$LINENO"; then :
76168  glibcxx_cv_utimensat=yes
76169else
76170  glibcxx_cv_utimensat=no
76171fi
76172rm -f core conftest.err conftest.$ac_objext \
76173    conftest$ac_exeext conftest.$ac_ext
76174fi
76175
76176fi
76177
76178    if test $glibcxx_cv_utimensat = yes; then
76179
76180$as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76181
76182    fi
76183    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76184$as_echo "$glibcxx_cv_utimensat" >&6; }
76185    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76186$as_echo_n "checking for utime... " >&6; }
76187    if ${glibcxx_cv_utime+:} false; then :
76188  $as_echo_n "(cached) " >&6
76189else
76190        if test x$gcc_no_link = xyes; then
76191  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76192/* end confdefs.h.  */
76193
76194          #include <utime.h>
76195
76196int
76197main ()
76198{
76199
76200          struct utimbuf t = { 1, 1 };
76201          int i = utime("path", &t);
76202
76203  ;
76204  return 0;
76205}
76206_ACEOF
76207if ac_fn_cxx_try_compile "$LINENO"; then :
76208  glibcxx_cv_utime=yes
76209else
76210  glibcxx_cv_utime=no
76211fi
76212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76213else
76214  if test x$gcc_no_link = xyes; then
76215  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76216fi
76217cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76218/* end confdefs.h.  */
76219
76220          #include <utime.h>
76221
76222int
76223main ()
76224{
76225
76226          struct utimbuf t = { 1, 1 };
76227          int i = utime("path", &t);
76228
76229  ;
76230  return 0;
76231}
76232_ACEOF
76233if ac_fn_cxx_try_link "$LINENO"; then :
76234  glibcxx_cv_utime=yes
76235else
76236  glibcxx_cv_utime=no
76237fi
76238rm -f core conftest.err conftest.$ac_objext \
76239    conftest$ac_exeext conftest.$ac_ext
76240fi
76241
76242fi
76243
76244    if test $glibcxx_cv_utime = yes; then
76245
76246$as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76247
76248    fi
76249    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76250$as_echo "$glibcxx_cv_utime" >&6; }
76251    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76252$as_echo_n "checking for lstat... " >&6; }
76253    if ${glibcxx_cv_lstat+:} false; then :
76254  $as_echo_n "(cached) " >&6
76255else
76256        if test x$gcc_no_link = xyes; then
76257  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76258/* end confdefs.h.  */
76259 #include <sys/stat.h>
76260int
76261main ()
76262{
76263
76264          struct stat st;
76265          int i = lstat("path", &st);
76266
76267  ;
76268  return 0;
76269}
76270_ACEOF
76271if ac_fn_cxx_try_compile "$LINENO"; then :
76272  glibcxx_cv_lstat=yes
76273else
76274  glibcxx_cv_lstat=no
76275fi
76276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76277else
76278  if test x$gcc_no_link = xyes; then
76279  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76280fi
76281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76282/* end confdefs.h.  */
76283 #include <sys/stat.h>
76284int
76285main ()
76286{
76287
76288          struct stat st;
76289          int i = lstat("path", &st);
76290
76291  ;
76292  return 0;
76293}
76294_ACEOF
76295if ac_fn_cxx_try_link "$LINENO"; then :
76296  glibcxx_cv_lstat=yes
76297else
76298  glibcxx_cv_lstat=no
76299fi
76300rm -f core conftest.err conftest.$ac_objext \
76301    conftest$ac_exeext conftest.$ac_ext
76302fi
76303
76304fi
76305
76306    if test $glibcxx_cv_lstat = yes; then
76307
76308$as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76309
76310    fi
76311    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76312$as_echo "$glibcxx_cv_lstat" >&6; }
76313    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76314$as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76315    if ${glibcxx_cv_st_mtim+:} false; then :
76316  $as_echo_n "(cached) " >&6
76317else
76318        if test x$gcc_no_link = xyes; then
76319  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76320/* end confdefs.h.  */
76321 #include <sys/stat.h>
76322int
76323main ()
76324{
76325
76326          struct stat st;
76327          return st.st_mtim.tv_nsec;
76328
76329  ;
76330  return 0;
76331}
76332_ACEOF
76333if ac_fn_cxx_try_compile "$LINENO"; then :
76334  glibcxx_cv_st_mtim=yes
76335else
76336  glibcxx_cv_st_mtim=no
76337fi
76338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76339else
76340  if test x$gcc_no_link = xyes; then
76341  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76342fi
76343cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76344/* end confdefs.h.  */
76345 #include <sys/stat.h>
76346int
76347main ()
76348{
76349
76350          struct stat st;
76351          return st.st_mtim.tv_nsec;
76352
76353  ;
76354  return 0;
76355}
76356_ACEOF
76357if ac_fn_cxx_try_link "$LINENO"; then :
76358  glibcxx_cv_st_mtim=yes
76359else
76360  glibcxx_cv_st_mtim=no
76361fi
76362rm -f core conftest.err conftest.$ac_objext \
76363    conftest$ac_exeext conftest.$ac_ext
76364fi
76365
76366fi
76367
76368    if test $glibcxx_cv_st_mtim = yes; then
76369
76370$as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76371
76372    fi
76373    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76374$as_echo "$glibcxx_cv_st_mtim" >&6; }
76375    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76376$as_echo_n "checking for fchmod... " >&6; }
76377    if ${glibcxx_cv_fchmod+:} false; then :
76378  $as_echo_n "(cached) " >&6
76379else
76380        if test x$gcc_no_link = xyes; then
76381  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76382/* end confdefs.h.  */
76383#include <sys/stat.h>
76384int
76385main ()
76386{
76387fchmod(1, S_IWUSR);
76388  ;
76389  return 0;
76390}
76391_ACEOF
76392if ac_fn_cxx_try_compile "$LINENO"; then :
76393  glibcxx_cv_fchmod=yes
76394else
76395  glibcxx_cv_fchmod=no
76396fi
76397rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76398else
76399  if test x$gcc_no_link = xyes; then
76400  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76401fi
76402cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76403/* end confdefs.h.  */
76404#include <sys/stat.h>
76405int
76406main ()
76407{
76408fchmod(1, S_IWUSR);
76409  ;
76410  return 0;
76411}
76412_ACEOF
76413if ac_fn_cxx_try_link "$LINENO"; then :
76414  glibcxx_cv_fchmod=yes
76415else
76416  glibcxx_cv_fchmod=no
76417fi
76418rm -f core conftest.err conftest.$ac_objext \
76419    conftest$ac_exeext conftest.$ac_ext
76420fi
76421
76422fi
76423
76424    if test $glibcxx_cv_fchmod = yes; then
76425
76426$as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76427
76428    fi
76429    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76430$as_echo "$glibcxx_cv_fchmod" >&6; }
76431    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76432$as_echo_n "checking for fchmodat... " >&6; }
76433    if ${glibcxx_cv_fchmodat+:} false; then :
76434  $as_echo_n "(cached) " >&6
76435else
76436        if test x$gcc_no_link = xyes; then
76437  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76438/* end confdefs.h.  */
76439
76440          #include <fcntl.h>
76441          #include <sys/stat.h>
76442
76443int
76444main ()
76445{
76446fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76447  ;
76448  return 0;
76449}
76450_ACEOF
76451if ac_fn_cxx_try_compile "$LINENO"; then :
76452  glibcxx_cv_fchmodat=yes
76453else
76454  glibcxx_cv_fchmodat=no
76455fi
76456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76457else
76458  if test x$gcc_no_link = xyes; then
76459  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76460fi
76461cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76462/* end confdefs.h.  */
76463
76464          #include <fcntl.h>
76465          #include <sys/stat.h>
76466
76467int
76468main ()
76469{
76470fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76471  ;
76472  return 0;
76473}
76474_ACEOF
76475if ac_fn_cxx_try_link "$LINENO"; then :
76476  glibcxx_cv_fchmodat=yes
76477else
76478  glibcxx_cv_fchmodat=no
76479fi
76480rm -f core conftest.err conftest.$ac_objext \
76481    conftest$ac_exeext conftest.$ac_ext
76482fi
76483
76484fi
76485
76486    if test $glibcxx_cv_fchmodat = yes; then
76487
76488$as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76489
76490    fi
76491    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76492$as_echo "$glibcxx_cv_fchmodat" >&6; }
76493    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76494$as_echo_n "checking for sendfile that can copy files... " >&6; }
76495    if ${glibcxx_cv_sendfile+:} false; then :
76496  $as_echo_n "(cached) " >&6
76497else
76498        case "${target_os}" in
76499        gnu* | linux* | solaris* | uclinux*)
76500          if test x$gcc_no_link = xyes; then
76501  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76502/* end confdefs.h.  */
76503#include <sys/sendfile.h>
76504int
76505main ()
76506{
76507sendfile(1, 2, (off_t*)0, sizeof 1);
76508  ;
76509  return 0;
76510}
76511_ACEOF
76512if ac_fn_cxx_try_compile "$LINENO"; then :
76513  glibcxx_cv_sendfile=yes
76514else
76515  glibcxx_cv_sendfile=no
76516fi
76517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76518else
76519  if test x$gcc_no_link = xyes; then
76520  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76521fi
76522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76523/* end confdefs.h.  */
76524#include <sys/sendfile.h>
76525int
76526main ()
76527{
76528sendfile(1, 2, (off_t*)0, sizeof 1);
76529  ;
76530  return 0;
76531}
76532_ACEOF
76533if ac_fn_cxx_try_link "$LINENO"; then :
76534  glibcxx_cv_sendfile=yes
76535else
76536  glibcxx_cv_sendfile=no
76537fi
76538rm -f core conftest.err conftest.$ac_objext \
76539    conftest$ac_exeext conftest.$ac_ext
76540fi
76541          ;;
76542        *)
76543          glibcxx_cv_sendfile=no
76544          ;;
76545      esac
76546
76547fi
76548
76549    if test $glibcxx_cv_sendfile = yes; then
76550
76551$as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76552
76553    fi
76554    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76555$as_echo "$glibcxx_cv_sendfile" >&6; }
76556    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76557$as_echo_n "checking for link... " >&6; }
76558    if ${glibcxx_cv_link+:} false; then :
76559  $as_echo_n "(cached) " >&6
76560else
76561        if test x$gcc_no_link = xyes; then
76562  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76563/* end confdefs.h.  */
76564#include <unistd.h>
76565int
76566main ()
76567{
76568link("", "");
76569  ;
76570  return 0;
76571}
76572_ACEOF
76573if ac_fn_cxx_try_compile "$LINENO"; then :
76574  glibcxx_cv_link=yes
76575else
76576  glibcxx_cv_link=no
76577fi
76578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76579else
76580  if test x$gcc_no_link = xyes; then
76581  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76582fi
76583cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76584/* end confdefs.h.  */
76585#include <unistd.h>
76586int
76587main ()
76588{
76589link("", "");
76590  ;
76591  return 0;
76592}
76593_ACEOF
76594if ac_fn_cxx_try_link "$LINENO"; then :
76595  glibcxx_cv_link=yes
76596else
76597  glibcxx_cv_link=no
76598fi
76599rm -f core conftest.err conftest.$ac_objext \
76600    conftest$ac_exeext conftest.$ac_ext
76601fi
76602
76603fi
76604
76605    if test $glibcxx_cv_link = yes; then
76606
76607$as_echo "#define HAVE_LINK 1" >>confdefs.h
76608
76609    fi
76610    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76611$as_echo "$glibcxx_cv_link" >&6; }
76612    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76613$as_echo_n "checking for readlink... " >&6; }
76614    if ${glibcxx_cv_readlink+:} false; then :
76615  $as_echo_n "(cached) " >&6
76616else
76617        if test x$gcc_no_link = xyes; then
76618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76619/* end confdefs.h.  */
76620#include <unistd.h>
76621int
76622main ()
76623{
76624char buf[32]; readlink("", buf, sizeof(buf));
76625  ;
76626  return 0;
76627}
76628_ACEOF
76629if ac_fn_cxx_try_compile "$LINENO"; then :
76630  glibcxx_cv_readlink=yes
76631else
76632  glibcxx_cv_readlink=no
76633fi
76634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76635else
76636  if test x$gcc_no_link = xyes; then
76637  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76638fi
76639cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76640/* end confdefs.h.  */
76641#include <unistd.h>
76642int
76643main ()
76644{
76645char buf[32]; readlink("", buf, sizeof(buf));
76646  ;
76647  return 0;
76648}
76649_ACEOF
76650if ac_fn_cxx_try_link "$LINENO"; then :
76651  glibcxx_cv_readlink=yes
76652else
76653  glibcxx_cv_readlink=no
76654fi
76655rm -f core conftest.err conftest.$ac_objext \
76656    conftest$ac_exeext conftest.$ac_ext
76657fi
76658
76659fi
76660
76661    if test $glibcxx_cv_readlink = yes; then
76662
76663$as_echo "#define HAVE_READLINK 1" >>confdefs.h
76664
76665    fi
76666    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76667$as_echo "$glibcxx_cv_readlink" >&6; }
76668    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76669$as_echo_n "checking for symlink... " >&6; }
76670    if ${glibcxx_cv_symlink+:} false; then :
76671  $as_echo_n "(cached) " >&6
76672else
76673        if test x$gcc_no_link = xyes; then
76674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76675/* end confdefs.h.  */
76676#include <unistd.h>
76677int
76678main ()
76679{
76680symlink("", "");
76681  ;
76682  return 0;
76683}
76684_ACEOF
76685if ac_fn_cxx_try_compile "$LINENO"; then :
76686  glibcxx_cv_symlink=yes
76687else
76688  glibcxx_cv_symlink=no
76689fi
76690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76691else
76692  if test x$gcc_no_link = xyes; then
76693  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76694fi
76695cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76696/* end confdefs.h.  */
76697#include <unistd.h>
76698int
76699main ()
76700{
76701symlink("", "");
76702  ;
76703  return 0;
76704}
76705_ACEOF
76706if ac_fn_cxx_try_link "$LINENO"; then :
76707  glibcxx_cv_symlink=yes
76708else
76709  glibcxx_cv_symlink=no
76710fi
76711rm -f core conftest.err conftest.$ac_objext \
76712    conftest$ac_exeext conftest.$ac_ext
76713fi
76714
76715fi
76716
76717    if test $glibcxx_cv_symlink = yes; then
76718
76719$as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76720
76721    fi
76722    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76723$as_echo "$glibcxx_cv_symlink" >&6; }
76724    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76725$as_echo_n "checking for truncate... " >&6; }
76726    if ${glibcxx_cv_truncate+:} false; then :
76727  $as_echo_n "(cached) " >&6
76728else
76729        if test x$gcc_no_link = xyes; then
76730  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76731/* end confdefs.h.  */
76732#include <unistd.h>
76733int
76734main ()
76735{
76736truncate("", 99);
76737  ;
76738  return 0;
76739}
76740_ACEOF
76741if ac_fn_cxx_try_compile "$LINENO"; then :
76742  glibcxx_cv_truncate=yes
76743else
76744  glibcxx_cv_truncate=no
76745fi
76746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76747else
76748  if test x$gcc_no_link = xyes; then
76749  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76750fi
76751cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76752/* end confdefs.h.  */
76753#include <unistd.h>
76754int
76755main ()
76756{
76757truncate("", 99);
76758  ;
76759  return 0;
76760}
76761_ACEOF
76762if ac_fn_cxx_try_link "$LINENO"; then :
76763  glibcxx_cv_truncate=yes
76764else
76765  glibcxx_cv_truncate=no
76766fi
76767rm -f core conftest.err conftest.$ac_objext \
76768    conftest$ac_exeext conftest.$ac_ext
76769fi
76770
76771fi
76772
76773    if test $glibcxx_cv_truncate = yes; then
76774
76775$as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76776
76777    fi
76778    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76779$as_echo "$glibcxx_cv_truncate" >&6; }
76780    CXXFLAGS="$ac_save_CXXFLAGS"
76781    ac_ext=c
76782ac_cpp='$CPP $CPPFLAGS'
76783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76785ac_compiler_gnu=$ac_cv_c_compiler_gnu
76786
76787  fi
76788
76789
76790# For Networking TS.
76791for 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
76792do :
76793  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76794ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76795if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76796  cat >>confdefs.h <<_ACEOF
76797#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76798_ACEOF
76799
76800fi
76801
76802done
76803
76804
76805# For Transactional Memory TS
76806
76807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76808$as_echo_n "checking how size_t is mangled... " >&6; }
76809if ${glibcxx_cv_size_t_mangling+:} false; then :
76810  $as_echo_n "(cached) " >&6
76811else
76812
76813    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76814/* end confdefs.h.  */
76815
76816int
76817main ()
76818{
76819extern __SIZE_TYPE__ x; extern unsigned long x;
76820  ;
76821  return 0;
76822}
76823_ACEOF
76824if ac_fn_c_try_compile "$LINENO"; then :
76825  glibcxx_cv_size_t_mangling=m
76826else
76827
76828      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76829/* end confdefs.h.  */
76830
76831int
76832main ()
76833{
76834extern __SIZE_TYPE__ x; extern unsigned int x;
76835  ;
76836  return 0;
76837}
76838_ACEOF
76839if ac_fn_c_try_compile "$LINENO"; then :
76840  glibcxx_cv_size_t_mangling=j
76841else
76842
76843        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76844/* end confdefs.h.  */
76845
76846int
76847main ()
76848{
76849extern __SIZE_TYPE__ x; extern unsigned long long x;
76850  ;
76851  return 0;
76852}
76853_ACEOF
76854if ac_fn_c_try_compile "$LINENO"; then :
76855  glibcxx_cv_size_t_mangling=y
76856else
76857
76858          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76859/* end confdefs.h.  */
76860
76861int
76862main ()
76863{
76864extern __SIZE_TYPE__ x; extern unsigned short x;
76865  ;
76866  return 0;
76867}
76868_ACEOF
76869if ac_fn_c_try_compile "$LINENO"; then :
76870  glibcxx_cv_size_t_mangling=t
76871else
76872
76873            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76874/* end confdefs.h.  */
76875
76876int
76877main ()
76878{
76879extern __SIZE_TYPE__ x; extern __int20 unsigned x;
76880  ;
76881  return 0;
76882}
76883_ACEOF
76884if ac_fn_c_try_compile "$LINENO"; then :
76885  glibcxx_cv_size_t_mangling=u6uint20
76886else
76887  glibcxx_cv_size_t_mangling=x
76888fi
76889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76890
76891fi
76892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76893
76894fi
76895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76896
76897fi
76898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76899
76900fi
76901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76902
76903fi
76904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
76905$as_echo "$glibcxx_cv_size_t_mangling" >&6; }
76906  if test $glibcxx_cv_size_t_mangling = x; then
76907    as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
76908  fi
76909
76910cat >>confdefs.h <<_ACEOF
76911#define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
76912_ACEOF
76913
76914
76915
76916# Check which release added std::exception_ptr for the target
76917
76918  if test $enable_symvers != no; then
76919    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
76920$as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
76921    case ${target} in
76922      aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
76923      m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
76924        ac_exception_ptr_since_gcc46=yes
76925        ;;
76926      *)
76927        # If the value of this macro changes then we will need to hardcode
76928        # yes/no here for additional targets based on the original value.
76929        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76930/* end confdefs.h.  */
76931
76932int
76933main ()
76934{
76935
76936          #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
76937          # error atomic int not always lock free
76938          #endif
76939
76940  ;
76941  return 0;
76942}
76943_ACEOF
76944if ac_fn_c_try_compile "$LINENO"; then :
76945  ac_exception_ptr_since_gcc46=yes
76946else
76947  ac_exception_ptr_since_gcc46=no
76948fi
76949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76950        ;;
76951    esac
76952    if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
76953
76954$as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
76955
76956      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
76957$as_echo "4.6.0" >&6; }
76958    else
76959      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
76960$as_echo "7.1.0" >&6; }
76961    fi
76962  fi
76963
76964
76965# Define documentation rules conditionally.
76966
76967# See if makeinfo has been installed and is modern enough
76968# that we can use it.
76969
76970  # Extract the first word of "makeinfo", so it can be a program name with args.
76971set dummy makeinfo; ac_word=$2
76972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76973$as_echo_n "checking for $ac_word... " >&6; }
76974if ${ac_cv_prog_MAKEINFO+:} false; then :
76975  $as_echo_n "(cached) " >&6
76976else
76977  if test -n "$MAKEINFO"; then
76978  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
76979else
76980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76981for as_dir in $PATH
76982do
76983  IFS=$as_save_IFS
76984  test -z "$as_dir" && as_dir=.
76985    for ac_exec_ext in '' $ac_executable_extensions; do
76986  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76987    ac_cv_prog_MAKEINFO="makeinfo"
76988    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76989    break 2
76990  fi
76991done
76992  done
76993IFS=$as_save_IFS
76994
76995fi
76996fi
76997MAKEINFO=$ac_cv_prog_MAKEINFO
76998if test -n "$MAKEINFO"; then
76999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77000$as_echo "$MAKEINFO" >&6; }
77001else
77002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77003$as_echo "no" >&6; }
77004fi
77005
77006
77007  if test -n "$MAKEINFO"; then
77008    # Found it, now check the version.
77009    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77010$as_echo_n "checking for modern makeinfo... " >&6; }
77011if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77012  $as_echo_n "(cached) " >&6
77013else
77014  ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77015                                     sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77016
77017                    case $ac_prog_version in
77018                      '')  gcc_cv_prog_makeinfo_modern=no;;
77019                      4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
77020                      *)   gcc_cv_prog_makeinfo_modern=no;;
77021                    esac
77022
77023fi
77024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77025$as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77026  else
77027    gcc_cv_prog_makeinfo_modern=no
77028  fi
77029  if test $gcc_cv_prog_makeinfo_modern = no; then
77030    MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77031  fi
77032
77033 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77034  BUILD_INFO_TRUE=
77035  BUILD_INFO_FALSE='#'
77036else
77037  BUILD_INFO_TRUE='#'
77038  BUILD_INFO_FALSE=
77039fi
77040
77041
77042# Check for doxygen
77043# Extract the first word of "doxygen", so it can be a program name with args.
77044set dummy doxygen; ac_word=$2
77045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77046$as_echo_n "checking for $ac_word... " >&6; }
77047if ${ac_cv_prog_DOXYGEN+:} false; then :
77048  $as_echo_n "(cached) " >&6
77049else
77050  if test -n "$DOXYGEN"; then
77051  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77052else
77053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77054for as_dir in $PATH
77055do
77056  IFS=$as_save_IFS
77057  test -z "$as_dir" && as_dir=.
77058    for ac_exec_ext in '' $ac_executable_extensions; do
77059  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77060    ac_cv_prog_DOXYGEN="yes"
77061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77062    break 2
77063  fi
77064done
77065  done
77066IFS=$as_save_IFS
77067
77068  test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77069fi
77070fi
77071DOXYGEN=$ac_cv_prog_DOXYGEN
77072if test -n "$DOXYGEN"; then
77073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77074$as_echo "$DOXYGEN" >&6; }
77075else
77076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77077$as_echo "no" >&6; }
77078fi
77079
77080
77081# Extract the first word of "dot", so it can be a program name with args.
77082set dummy dot; ac_word=$2
77083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77084$as_echo_n "checking for $ac_word... " >&6; }
77085if ${ac_cv_prog_DOT+:} false; then :
77086  $as_echo_n "(cached) " >&6
77087else
77088  if test -n "$DOT"; then
77089  ac_cv_prog_DOT="$DOT" # Let the user override the test.
77090else
77091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77092for as_dir in $PATH
77093do
77094  IFS=$as_save_IFS
77095  test -z "$as_dir" && as_dir=.
77096    for ac_exec_ext in '' $ac_executable_extensions; do
77097  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77098    ac_cv_prog_DOT="yes"
77099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77100    break 2
77101  fi
77102done
77103  done
77104IFS=$as_save_IFS
77105
77106  test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77107fi
77108fi
77109DOT=$ac_cv_prog_DOT
77110if test -n "$DOT"; then
77111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77112$as_echo "$DOT" >&6; }
77113else
77114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77115$as_echo "no" >&6; }
77116fi
77117
77118
77119
77120# Check for docbook
77121# Extract the first word of "xmlcatalog", so it can be a program name with args.
77122set dummy xmlcatalog; ac_word=$2
77123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77124$as_echo_n "checking for $ac_word... " >&6; }
77125if ${ac_cv_prog_XMLCATALOG+:} false; then :
77126  $as_echo_n "(cached) " >&6
77127else
77128  if test -n "$XMLCATALOG"; then
77129  ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77130else
77131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77132for as_dir in $PATH
77133do
77134  IFS=$as_save_IFS
77135  test -z "$as_dir" && as_dir=.
77136    for ac_exec_ext in '' $ac_executable_extensions; do
77137  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77138    ac_cv_prog_XMLCATALOG="yes"
77139    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77140    break 2
77141  fi
77142done
77143  done
77144IFS=$as_save_IFS
77145
77146  test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77147fi
77148fi
77149XMLCATALOG=$ac_cv_prog_XMLCATALOG
77150if test -n "$XMLCATALOG"; then
77151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77152$as_echo "$XMLCATALOG" >&6; }
77153else
77154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77155$as_echo "no" >&6; }
77156fi
77157
77158
77159# Extract the first word of "xsltproc", so it can be a program name with args.
77160set dummy xsltproc; ac_word=$2
77161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77162$as_echo_n "checking for $ac_word... " >&6; }
77163if ${ac_cv_prog_XSLTPROC+:} false; then :
77164  $as_echo_n "(cached) " >&6
77165else
77166  if test -n "$XSLTPROC"; then
77167  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77168else
77169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77170for as_dir in $PATH
77171do
77172  IFS=$as_save_IFS
77173  test -z "$as_dir" && as_dir=.
77174    for ac_exec_ext in '' $ac_executable_extensions; do
77175  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77176    ac_cv_prog_XSLTPROC="yes"
77177    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77178    break 2
77179  fi
77180done
77181  done
77182IFS=$as_save_IFS
77183
77184  test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77185fi
77186fi
77187XSLTPROC=$ac_cv_prog_XSLTPROC
77188if test -n "$XSLTPROC"; then
77189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77190$as_echo "$XSLTPROC" >&6; }
77191else
77192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77193$as_echo "no" >&6; }
77194fi
77195
77196
77197# Extract the first word of "xmllint", so it can be a program name with args.
77198set dummy xmllint; ac_word=$2
77199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77200$as_echo_n "checking for $ac_word... " >&6; }
77201if ${ac_cv_prog_XMLLINT+:} false; then :
77202  $as_echo_n "(cached) " >&6
77203else
77204  if test -n "$XMLLINT"; then
77205  ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77206else
77207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77208for as_dir in $PATH
77209do
77210  IFS=$as_save_IFS
77211  test -z "$as_dir" && as_dir=.
77212    for ac_exec_ext in '' $ac_executable_extensions; do
77213  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77214    ac_cv_prog_XMLLINT="yes"
77215    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77216    break 2
77217  fi
77218done
77219  done
77220IFS=$as_save_IFS
77221
77222  test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77223fi
77224fi
77225XMLLINT=$ac_cv_prog_XMLLINT
77226if test -n "$XMLLINT"; then
77227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77228$as_echo "$XMLLINT" >&6; }
77229else
77230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77231$as_echo "no" >&6; }
77232fi
77233
77234
77235
77236
77237glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77238
77239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77240$as_echo_n "checking for local stylesheet directory... " >&6; }
77241glibcxx_local_stylesheets=no
77242if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77243then
77244  XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77245  glibcxx_local_stylesheets=yes
77246else
77247  for dir in \
77248    /usr/share/sgml/docbook/xsl-ns-stylesheets \
77249    /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77250    /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77251    /usr/share/xml/docbook/stylesheet/nwalsh/current
77252  do
77253    if test -d $dir; then
77254      glibcxx_local_stylesheets=yes
77255      XSL_STYLE_DIR=$dir
77256      break
77257    fi
77258  done
77259fi
77260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77261$as_echo "$glibcxx_local_stylesheets" >&6; }
77262
77263if test x"$glibcxx_local_stylesheets" = x"yes"; then
77264
77265  { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77266$as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77267
77268  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77269$as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77270  glibcxx_stylesheets=no
77271  if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77272    if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77273      glibcxx_stylesheets=yes
77274    fi
77275  fi
77276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77277$as_echo "$glibcxx_stylesheets" >&6; }
77278
77279else
77280  glibcxx_stylesheets=no
77281fi
77282
77283# Check for epub3 dependencies.
77284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77285$as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77286glibcxx_epub_stylesheets=no
77287if test x"$glibcxx_local_stylesheets" = x"yes"; then
77288   if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77289      glibcxx_epub_stylesheets=yes
77290   fi
77291fi
77292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77293$as_echo "$glibcxx_epub_stylesheets" >&6; }
77294 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77295  BUILD_EPUB_TRUE=
77296  BUILD_EPUB_FALSE='#'
77297else
77298  BUILD_EPUB_TRUE='#'
77299  BUILD_EPUB_FALSE=
77300fi
77301
77302
77303
77304
77305# Check for xml/html dependencies.
77306 if test $ac_cv_prog_DOXYGEN = "yes" &&
77307	       test $ac_cv_prog_DOT = "yes" &&
77308	       test $ac_cv_prog_XSLTPROC = "yes" &&
77309	       test $ac_cv_prog_XMLLINT = "yes" &&
77310	       test $glibcxx_stylesheets = "yes"; then
77311  BUILD_XML_TRUE=
77312  BUILD_XML_FALSE='#'
77313else
77314  BUILD_XML_TRUE='#'
77315  BUILD_XML_FALSE=
77316fi
77317
77318
77319 if test $ac_cv_prog_DOXYGEN = "yes" &&
77320	       test $ac_cv_prog_DOT = "yes" &&
77321	       test $ac_cv_prog_XSLTPROC = "yes" &&
77322	       test $ac_cv_prog_XMLLINT = "yes" &&
77323	       test $glibcxx_stylesheets = "yes"; then
77324  BUILD_HTML_TRUE=
77325  BUILD_HTML_FALSE='#'
77326else
77327  BUILD_HTML_TRUE='#'
77328  BUILD_HTML_FALSE=
77329fi
77330
77331
77332# Check for man dependencies.
77333 if test $ac_cv_prog_DOXYGEN = "yes" &&
77334	       test $ac_cv_prog_DOT = "yes"; then
77335  BUILD_MAN_TRUE=
77336  BUILD_MAN_FALSE='#'
77337else
77338  BUILD_MAN_TRUE='#'
77339  BUILD_MAN_FALSE=
77340fi
77341
77342
77343# Check for pdf dependencies.
77344# Extract the first word of "dblatex", so it can be a program name with args.
77345set dummy dblatex; ac_word=$2
77346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77347$as_echo_n "checking for $ac_word... " >&6; }
77348if ${ac_cv_prog_DBLATEX+:} false; then :
77349  $as_echo_n "(cached) " >&6
77350else
77351  if test -n "$DBLATEX"; then
77352  ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77353else
77354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77355for as_dir in $PATH
77356do
77357  IFS=$as_save_IFS
77358  test -z "$as_dir" && as_dir=.
77359    for ac_exec_ext in '' $ac_executable_extensions; do
77360  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77361    ac_cv_prog_DBLATEX="yes"
77362    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77363    break 2
77364  fi
77365done
77366  done
77367IFS=$as_save_IFS
77368
77369  test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77370fi
77371fi
77372DBLATEX=$ac_cv_prog_DBLATEX
77373if test -n "$DBLATEX"; then
77374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77375$as_echo "$DBLATEX" >&6; }
77376else
77377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77378$as_echo "no" >&6; }
77379fi
77380
77381
77382# Extract the first word of "pdflatex", so it can be a program name with args.
77383set dummy pdflatex; ac_word=$2
77384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77385$as_echo_n "checking for $ac_word... " >&6; }
77386if ${ac_cv_prog_PDFLATEX+:} false; then :
77387  $as_echo_n "(cached) " >&6
77388else
77389  if test -n "$PDFLATEX"; then
77390  ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77391else
77392as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77393for as_dir in $PATH
77394do
77395  IFS=$as_save_IFS
77396  test -z "$as_dir" && as_dir=.
77397    for ac_exec_ext in '' $ac_executable_extensions; do
77398  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77399    ac_cv_prog_PDFLATEX="yes"
77400    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77401    break 2
77402  fi
77403done
77404  done
77405IFS=$as_save_IFS
77406
77407  test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77408fi
77409fi
77410PDFLATEX=$ac_cv_prog_PDFLATEX
77411if test -n "$PDFLATEX"; then
77412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77413$as_echo "$PDFLATEX" >&6; }
77414else
77415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77416$as_echo "no" >&6; }
77417fi
77418
77419
77420 if test $ac_cv_prog_DOXYGEN = "yes" &&
77421	       test $ac_cv_prog_DOT = "yes" &&
77422	       test $ac_cv_prog_XSLTPROC = "yes" &&
77423	       test $ac_cv_prog_XMLLINT = "yes" &&
77424	       test $ac_cv_prog_DBLATEX = "yes" &&
77425	       test $ac_cv_prog_PDFLATEX = "yes"; then
77426  BUILD_PDF_TRUE=
77427  BUILD_PDF_FALSE='#'
77428else
77429  BUILD_PDF_TRUE='#'
77430  BUILD_PDF_FALSE=
77431fi
77432
77433
77434case "$build" in
77435 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77436 * ) glibcxx_include_dir_notparallel=no ;;
77437esac
77438 if test $glibcxx_include_dir_notparallel = "yes"; then
77439  INCLUDE_DIR_NOTPARALLEL_TRUE=
77440  INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77441else
77442  INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77443  INCLUDE_DIR_NOTPARALLEL_FALSE=
77444fi
77445
77446
77447# Propagate the target-specific source directories through the build chain.
77448ATOMICITY_SRCDIR=config/${atomicity_dir}
77449ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77450ATOMIC_FLAGS=${atomic_flags}
77451CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77452OS_INC_SRCDIR=config/${os_include_dir}
77453ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77454ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77455CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77456CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77457
77458
77459
77460
77461
77462
77463
77464
77465
77466
77467
77468# Add CET specific flags if Intel CET is enabled.
77469 # Check whether --enable-cet was given.
77470if test "${enable_cet+set}" = set; then :
77471  enableval=$enable_cet;
77472      case "$enableval" in
77473       yes|no|auto) ;;
77474       *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77475                          esac
77476
77477else
77478  enable_cet=no
77479fi
77480
77481
77482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77483$as_echo_n "checking for CET support... " >&6; }
77484
77485case "$host" in
77486  i[34567]86-*-linux* | x86_64-*-linux*)
77487    case "$enable_cet" in
77488      auto)
77489	# Check if target supports multi-byte NOPs
77490	# and if assembler supports CET insn.
77491	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77492/* end confdefs.h.  */
77493
77494int
77495main ()
77496{
77497
77498#if !defined(__SSE2__)
77499#error target does not support multi-byte NOPs
77500#else
77501asm ("setssbsy");
77502#endif
77503
77504  ;
77505  return 0;
77506}
77507_ACEOF
77508if ac_fn_c_try_compile "$LINENO"; then :
77509  enable_cet=yes
77510else
77511  enable_cet=no
77512fi
77513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77514	;;
77515      yes)
77516	# Check if assembler supports CET.
77517	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77518/* end confdefs.h.  */
77519
77520int
77521main ()
77522{
77523asm ("setssbsy");
77524  ;
77525  return 0;
77526}
77527_ACEOF
77528if ac_fn_c_try_compile "$LINENO"; then :
77529
77530else
77531  as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77532fi
77533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77534	;;
77535    esac
77536    ;;
77537  *)
77538    enable_cet=no
77539    ;;
77540esac
77541if test x$enable_cet = xyes; then
77542  CET_FLAGS="-fcf-protection -mshstk"
77543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77544$as_echo "yes" >&6; }
77545else
77546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77547$as_echo "no" >&6; }
77548fi
77549
77550EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77551EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77552
77553
77554
77555# Determine cross-compile flags and AM_CONDITIONALs.
77556#AC_SUBST(GLIBCXX_IS_NATIVE)
77557#AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77558    if test $is_hosted = yes; then
77559  GLIBCXX_HOSTED_TRUE=
77560  GLIBCXX_HOSTED_FALSE='#'
77561else
77562  GLIBCXX_HOSTED_TRUE='#'
77563  GLIBCXX_HOSTED_FALSE=
77564fi
77565
77566
77567    if test $enable_libstdcxx_pch = yes; then
77568  GLIBCXX_BUILD_PCH_TRUE=
77569  GLIBCXX_BUILD_PCH_FALSE='#'
77570else
77571  GLIBCXX_BUILD_PCH_TRUE='#'
77572  GLIBCXX_BUILD_PCH_FALSE=
77573fi
77574
77575
77576    if test $enable_float128 = yes; then
77577  ENABLE_FLOAT128_TRUE=
77578  ENABLE_FLOAT128_FALSE='#'
77579else
77580  ENABLE_FLOAT128_TRUE='#'
77581  ENABLE_FLOAT128_FALSE=
77582fi
77583
77584
77585    if test $enable_libstdcxx_allocator_flag = new; then
77586  ENABLE_ALLOCATOR_NEW_TRUE=
77587  ENABLE_ALLOCATOR_NEW_FALSE='#'
77588else
77589  ENABLE_ALLOCATOR_NEW_TRUE='#'
77590  ENABLE_ALLOCATOR_NEW_FALSE=
77591fi
77592
77593
77594    if test $enable_cheaders = c; then
77595  GLIBCXX_C_HEADERS_C_TRUE=
77596  GLIBCXX_C_HEADERS_C_FALSE='#'
77597else
77598  GLIBCXX_C_HEADERS_C_TRUE='#'
77599  GLIBCXX_C_HEADERS_C_FALSE=
77600fi
77601
77602
77603    if test $enable_cheaders = c_std; then
77604  GLIBCXX_C_HEADERS_C_STD_TRUE=
77605  GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77606else
77607  GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77608  GLIBCXX_C_HEADERS_C_STD_FALSE=
77609fi
77610
77611
77612    if test $enable_cheaders = c_global; then
77613  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77614  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77615else
77616  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77617  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77618fi
77619
77620
77621    if test $c_compatibility = yes; then
77622  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77623  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77624else
77625  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77626  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77627fi
77628
77629
77630    if test $enable_libstdcxx_debug = yes; then
77631  GLIBCXX_BUILD_DEBUG_TRUE=
77632  GLIBCXX_BUILD_DEBUG_FALSE='#'
77633else
77634  GLIBCXX_BUILD_DEBUG_TRUE='#'
77635  GLIBCXX_BUILD_DEBUG_FALSE=
77636fi
77637
77638
77639    if test $enable_extern_template = yes; then
77640  ENABLE_EXTERN_TEMPLATE_TRUE=
77641  ENABLE_EXTERN_TEMPLATE_FALSE='#'
77642else
77643  ENABLE_EXTERN_TEMPLATE_TRUE='#'
77644  ENABLE_EXTERN_TEMPLATE_FALSE=
77645fi
77646
77647
77648    if test $python_mod_dir != no; then
77649  ENABLE_PYTHONDIR_TRUE=
77650  ENABLE_PYTHONDIR_FALSE='#'
77651else
77652  ENABLE_PYTHONDIR_TRUE='#'
77653  ENABLE_PYTHONDIR_FALSE=
77654fi
77655
77656
77657    if test $enable_werror = yes; then
77658  ENABLE_WERROR_TRUE=
77659  ENABLE_WERROR_FALSE='#'
77660else
77661  ENABLE_WERROR_TRUE='#'
77662  ENABLE_WERROR_FALSE=
77663fi
77664
77665
77666    if test $enable_vtable_verify = yes; then
77667  ENABLE_VTABLE_VERIFY_TRUE=
77668  ENABLE_VTABLE_VERIFY_FALSE='#'
77669else
77670  ENABLE_VTABLE_VERIFY_TRUE='#'
77671  ENABLE_VTABLE_VERIFY_FALSE=
77672fi
77673
77674
77675    if test $enable_symvers != no; then
77676  ENABLE_SYMVERS_TRUE=
77677  ENABLE_SYMVERS_FALSE='#'
77678else
77679  ENABLE_SYMVERS_TRUE='#'
77680  ENABLE_SYMVERS_FALSE=
77681fi
77682
77683
77684    if test $enable_symvers = gnu; then
77685  ENABLE_SYMVERS_GNU_TRUE=
77686  ENABLE_SYMVERS_GNU_FALSE='#'
77687else
77688  ENABLE_SYMVERS_GNU_TRUE='#'
77689  ENABLE_SYMVERS_GNU_FALSE=
77690fi
77691
77692
77693    if test $enable_symvers = gnu-versioned-namespace; then
77694  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77695  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77696else
77697  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77698  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77699fi
77700
77701
77702    if test $enable_symvers = darwin; then
77703  ENABLE_SYMVERS_DARWIN_TRUE=
77704  ENABLE_SYMVERS_DARWIN_FALSE='#'
77705else
77706  ENABLE_SYMVERS_DARWIN_TRUE='#'
77707  ENABLE_SYMVERS_DARWIN_FALSE=
77708fi
77709
77710
77711    if test $enable_symvers = sun; then
77712  ENABLE_SYMVERS_SUN_TRUE=
77713  ENABLE_SYMVERS_SUN_FALSE='#'
77714else
77715  ENABLE_SYMVERS_SUN_TRUE='#'
77716  ENABLE_SYMVERS_SUN_FALSE=
77717fi
77718
77719
77720    if test $enable_libstdcxx_visibility = yes; then
77721  ENABLE_VISIBILITY_TRUE=
77722  ENABLE_VISIBILITY_FALSE='#'
77723else
77724  ENABLE_VISIBILITY_TRUE='#'
77725  ENABLE_VISIBILITY_FALSE=
77726fi
77727
77728
77729    if test $enable_libstdcxx_dual_abi = yes; then
77730  ENABLE_DUAL_ABI_TRUE=
77731  ENABLE_DUAL_ABI_FALSE='#'
77732else
77733  ENABLE_DUAL_ABI_TRUE='#'
77734  ENABLE_DUAL_ABI_FALSE=
77735fi
77736
77737
77738    if test $glibcxx_cxx11_abi = 1; then
77739  ENABLE_CXX11_ABI_TRUE=
77740  ENABLE_CXX11_ABI_FALSE='#'
77741else
77742  ENABLE_CXX11_ABI_TRUE='#'
77743  ENABLE_CXX11_ABI_FALSE=
77744fi
77745
77746
77747    if test $ac_ldbl_compat = yes; then
77748  GLIBCXX_LDBL_COMPAT_TRUE=
77749  GLIBCXX_LDBL_COMPAT_FALSE='#'
77750else
77751  GLIBCXX_LDBL_COMPAT_TRUE='#'
77752  GLIBCXX_LDBL_COMPAT_FALSE=
77753fi
77754
77755
77756    if test $enable_libstdcxx_filesystem_ts = yes; then
77757  ENABLE_FILESYSTEM_TS_TRUE=
77758  ENABLE_FILESYSTEM_TS_FALSE='#'
77759else
77760  ENABLE_FILESYSTEM_TS_TRUE='#'
77761  ENABLE_FILESYSTEM_TS_FALSE=
77762fi
77763
77764
77765
77766
77767cat >confcache <<\_ACEOF
77768# This file is a shell script that caches the results of configure
77769# tests run on this system so they can be shared between configure
77770# scripts and configure runs, see configure's option --config-cache.
77771# It is not useful on other systems.  If it contains results you don't
77772# want to keep, you may remove or edit it.
77773#
77774# config.status only pays attention to the cache file if you give it
77775# the --recheck option to rerun configure.
77776#
77777# `ac_cv_env_foo' variables (set or unset) will be overridden when
77778# loading this file, other *unset* `ac_cv_foo' will be assigned the
77779# following values.
77780
77781_ACEOF
77782
77783# The following way of writing the cache mishandles newlines in values,
77784# but we know of no workaround that is simple, portable, and efficient.
77785# So, we kill variables containing newlines.
77786# Ultrix sh set writes to stderr and can't be redirected directly,
77787# and sets the high bit in the cache file unless we assign to the vars.
77788(
77789  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77790    eval ac_val=\$$ac_var
77791    case $ac_val in #(
77792    *${as_nl}*)
77793      case $ac_var in #(
77794      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77795$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77796      esac
77797      case $ac_var in #(
77798      _ | IFS | as_nl) ;; #(
77799      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77800      *) { eval $ac_var=; unset $ac_var;} ;;
77801      esac ;;
77802    esac
77803  done
77804
77805  (set) 2>&1 |
77806    case $as_nl`(ac_space=' '; set) 2>&1` in #(
77807    *${as_nl}ac_space=\ *)
77808      # `set' does not quote correctly, so add quotes: double-quote
77809      # substitution turns \\\\ into \\, and sed turns \\ into \.
77810      sed -n \
77811	"s/'/'\\\\''/g;
77812	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77813      ;; #(
77814    *)
77815      # `set' quotes correctly as required by POSIX, so do not add quotes.
77816      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77817      ;;
77818    esac |
77819    sort
77820) |
77821  sed '
77822     /^ac_cv_env_/b end
77823     t clear
77824     :clear
77825     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77826     t end
77827     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77828     :end' >>confcache
77829if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77830  if test -w "$cache_file"; then
77831    if test "x$cache_file" != "x/dev/null"; then
77832      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77833$as_echo "$as_me: updating cache $cache_file" >&6;}
77834      if test ! -f "$cache_file" || test -h "$cache_file"; then
77835	cat confcache >"$cache_file"
77836      else
77837        case $cache_file in #(
77838        */* | ?:*)
77839	  mv -f confcache "$cache_file"$$ &&
77840	  mv -f "$cache_file"$$ "$cache_file" ;; #(
77841        *)
77842	  mv -f confcache "$cache_file" ;;
77843	esac
77844      fi
77845    fi
77846  else
77847    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77848$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77849  fi
77850fi
77851rm -f confcache
77852
77853if test ${multilib} = yes; then
77854  multilib_arg="--enable-multilib"
77855else
77856  multilib_arg=
77857fi
77858
77859# Export all the install information.
77860
77861  glibcxx_toolexecdir=no
77862  glibcxx_toolexeclibdir=no
77863  glibcxx_prefixdir=$prefix
77864
77865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
77866$as_echo_n "checking for gxx-include-dir... " >&6; }
77867
77868# Check whether --with-gxx-include-dir was given.
77869if test "${with_gxx_include_dir+set}" = set; then :
77870  withval=$with_gxx_include_dir; case "$withval" in
77871      yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
77872      no)  gxx_include_dir=no ;;
77873      *)   gxx_include_dir=$withval ;;
77874     esac
77875else
77876  gxx_include_dir=no
77877fi
77878
77879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77880$as_echo "$gxx_include_dir" >&6; }
77881
77882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
77883$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
77884  # Check whether --enable-version-specific-runtime-libs was given.
77885if test "${enable_version_specific_runtime_libs+set}" = set; then :
77886  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
77887      yes) version_specific_libs=yes ;;
77888      no)  version_specific_libs=no ;;
77889      *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
77890     esac
77891else
77892  version_specific_libs=no
77893fi
77894
77895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
77896$as_echo "$version_specific_libs" >&6; }
77897
77898
77899# Check whether --with-toolexeclibdir was given.
77900if test "${with_toolexeclibdir+set}" = set; then :
77901  withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
77902  /)
77903    ;;
77904  */)
77905    with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
77906    ;;
77907esac
77908else
77909  with_toolexeclibdir=no
77910fi
77911
77912
77913
77914  # Default case for install directory for include files.
77915  if test $version_specific_libs = no && test $gxx_include_dir = no; then
77916    gxx_include_dir='include/c++/${gcc_version}'
77917    if test -n "$with_cross_host" &&
77918       test x"$with_cross_host" != x"no"; then
77919      gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
77920    else
77921      gxx_include_dir='${prefix}/'"$gxx_include_dir"
77922    fi
77923  fi
77924
77925  # Version-specific runtime libs processing.
77926  if test $version_specific_libs = yes; then
77927    # Need the gcc compiler version to know where to install libraries
77928    # and header files if --enable-version-specific-runtime-libs option
77929    # is selected.  FIXME: these variables are misnamed, there are
77930    # no executables installed in _toolexecdir or _toolexeclibdir.
77931    if test x"$gxx_include_dir" = x"no"; then
77932      gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
77933    fi
77934    glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77935    glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
77936  fi
77937
77938  # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
77939  # Install a library built with a cross compiler in tooldir, not libdir.
77940  if test x"$glibcxx_toolexecdir" = x"no"; then
77941    if test -n "$with_cross_host" &&
77942       test x"$with_cross_host" != x"no"; then
77943      glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
77944      case ${with_toolexeclibdir} in
77945	no)
77946	  glibcxx_toolexeclibdir='${toolexecdir}/lib'
77947	  ;;
77948	*)
77949	  glibcxx_toolexeclibdir=${with_toolexeclibdir}
77950	  ;;
77951      esac
77952    else
77953      glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77954      glibcxx_toolexeclibdir='${libdir}'
77955    fi
77956    multi_os_directory=`$CXX -print-multi-os-directory`
77957    case $multi_os_directory in
77958      .) ;; # Avoid trailing /.
77959      *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
77960    esac
77961  fi
77962
77963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
77964$as_echo_n "checking for install location... " >&6; }
77965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77966$as_echo "$gxx_include_dir" >&6; }
77967
77968
77969
77970
77971
77972
77973
77974# Export all the include and flag information to Makefiles.
77975
77976  # Used for every C++ compile we perform.
77977  GLIBCXX_INCLUDES="\
77978-I$glibcxx_builddir/include/$host_alias \
77979-I$glibcxx_builddir/include \
77980-I$glibcxx_srcdir/libsupc++"
77981
77982  # For Canadian crosses, pick this up too.
77983  if test $CANADIAN = yes; then
77984    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
77985  fi
77986
77987  # Stuff in the actual top level.  Currently only used by libsupc++ to
77988  # get unwind* headers from the libgcc dir.
77989  #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
77990  TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
77991
77992  # Now, export this to all the little Makefiles....
77993
77994
77995
77996
77997  # Optimization flags that are probably a good idea for thrill-seekers. Just
77998  # uncomment the lines below and make, everything else is ready to go...
77999  # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78000  # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78001
78002
78003  WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78004
78005
78006
78007# Determine what GCC version number to use in filesystem paths.
78008
78009  get_gcc_base_ver="cat"
78010
78011# Check whether --with-gcc-major-version-only was given.
78012if test "${with_gcc_major_version_only+set}" = set; then :
78013  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78014        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78015      fi
78016
78017fi
78018
78019
78020
78021
78022ac_config_files="$ac_config_files Makefile"
78023
78024ac_config_files="$ac_config_files scripts/testsuite_flags"
78025
78026ac_config_files="$ac_config_files scripts/extract_symvers"
78027
78028ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78029
78030
78031# Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78032# that multilib installs will end up installed in the correct place.
78033# The testsuite needs it for multilib-aware ABI baseline files.
78034# To work around this not being passed down from config-ml.in ->
78035# srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78036# append it here.  Only modify Makefiles that have just been created.
78037#
78038# Also, get rid of this simulated-VPATH thing that automake does.
78039ac_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"
78040
78041
78042ac_config_commands="$ac_config_commands generate-headers"
78043
78044
78045cat >confcache <<\_ACEOF
78046# This file is a shell script that caches the results of configure
78047# tests run on this system so they can be shared between configure
78048# scripts and configure runs, see configure's option --config-cache.
78049# It is not useful on other systems.  If it contains results you don't
78050# want to keep, you may remove or edit it.
78051#
78052# config.status only pays attention to the cache file if you give it
78053# the --recheck option to rerun configure.
78054#
78055# `ac_cv_env_foo' variables (set or unset) will be overridden when
78056# loading this file, other *unset* `ac_cv_foo' will be assigned the
78057# following values.
78058
78059_ACEOF
78060
78061# The following way of writing the cache mishandles newlines in values,
78062# but we know of no workaround that is simple, portable, and efficient.
78063# So, we kill variables containing newlines.
78064# Ultrix sh set writes to stderr and can't be redirected directly,
78065# and sets the high bit in the cache file unless we assign to the vars.
78066(
78067  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78068    eval ac_val=\$$ac_var
78069    case $ac_val in #(
78070    *${as_nl}*)
78071      case $ac_var in #(
78072      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78073$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78074      esac
78075      case $ac_var in #(
78076      _ | IFS | as_nl) ;; #(
78077      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78078      *) { eval $ac_var=; unset $ac_var;} ;;
78079      esac ;;
78080    esac
78081  done
78082
78083  (set) 2>&1 |
78084    case $as_nl`(ac_space=' '; set) 2>&1` in #(
78085    *${as_nl}ac_space=\ *)
78086      # `set' does not quote correctly, so add quotes: double-quote
78087      # substitution turns \\\\ into \\, and sed turns \\ into \.
78088      sed -n \
78089	"s/'/'\\\\''/g;
78090	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78091      ;; #(
78092    *)
78093      # `set' quotes correctly as required by POSIX, so do not add quotes.
78094      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78095      ;;
78096    esac |
78097    sort
78098) |
78099  sed '
78100     /^ac_cv_env_/b end
78101     t clear
78102     :clear
78103     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78104     t end
78105     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78106     :end' >>confcache
78107if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78108  if test -w "$cache_file"; then
78109    if test "x$cache_file" != "x/dev/null"; then
78110      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78111$as_echo "$as_me: updating cache $cache_file" >&6;}
78112      if test ! -f "$cache_file" || test -h "$cache_file"; then
78113	cat confcache >"$cache_file"
78114      else
78115        case $cache_file in #(
78116        */* | ?:*)
78117	  mv -f confcache "$cache_file"$$ &&
78118	  mv -f "$cache_file"$$ "$cache_file" ;; #(
78119        *)
78120	  mv -f confcache "$cache_file" ;;
78121	esac
78122      fi
78123    fi
78124  else
78125    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78126$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78127  fi
78128fi
78129rm -f confcache
78130
78131test "x$prefix" = xNONE && prefix=$ac_default_prefix
78132# Let make expand exec_prefix.
78133test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78134
78135DEFS=-DHAVE_CONFIG_H
78136
78137ac_libobjs=
78138ac_ltlibobjs=
78139U=
78140for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78141  # 1. Remove the extension, and $U if already installed.
78142  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78143  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78144  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
78145  #    will be set to the directory where LIBOBJS objects are built.
78146  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78147  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78148done
78149LIBOBJS=$ac_libobjs
78150
78151LTLIBOBJS=$ac_ltlibobjs
78152
78153
78154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78155$as_echo_n "checking that generated files are newer than configure... " >&6; }
78156   if test -n "$am_sleep_pid"; then
78157     # Hide warnings about reused PIDs.
78158     wait $am_sleep_pid 2>/dev/null
78159   fi
78160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78161$as_echo "done" >&6; }
78162 if test -n "$EXEEXT"; then
78163  am__EXEEXT_TRUE=
78164  am__EXEEXT_FALSE='#'
78165else
78166  am__EXEEXT_TRUE='#'
78167  am__EXEEXT_FALSE=
78168fi
78169
78170if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78171  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78172Usually this means the macro was only invoked conditionally." "$LINENO" 5
78173fi
78174if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78175  as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78176Usually this means the macro was only invoked conditionally." "$LINENO" 5
78177fi
78178if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78179  as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78180Usually this means the macro was only invoked conditionally." "$LINENO" 5
78181fi
78182if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78183  as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78184Usually this means the macro was only invoked conditionally." "$LINENO" 5
78185fi
78186if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78187  as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78188Usually this means the macro was only invoked conditionally." "$LINENO" 5
78189fi
78190if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78191  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78192Usually this means the macro was only invoked conditionally." "$LINENO" 5
78193fi
78194if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78195  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78196Usually this means the macro was only invoked conditionally." "$LINENO" 5
78197fi
78198if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78199  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78200Usually this means the macro was only invoked conditionally." "$LINENO" 5
78201fi
78202if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78203  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78204Usually this means the macro was only invoked conditionally." "$LINENO" 5
78205fi
78206if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78207  as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78208Usually this means the macro was only invoked conditionally." "$LINENO" 5
78209fi
78210if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78211  as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78212Usually this means the macro was only invoked conditionally." "$LINENO" 5
78213fi
78214if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78215  as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78216Usually this means the macro was only invoked conditionally." "$LINENO" 5
78217fi
78218if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78219  as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78220Usually this means the macro was only invoked conditionally." "$LINENO" 5
78221fi
78222if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78223  as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78224Usually this means the macro was only invoked conditionally." "$LINENO" 5
78225fi
78226if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78227  as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78228Usually this means the macro was only invoked conditionally." "$LINENO" 5
78229fi
78230if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78231  as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78232Usually this means the macro was only invoked conditionally." "$LINENO" 5
78233fi
78234if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78235  as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78236Usually this means the macro was only invoked conditionally." "$LINENO" 5
78237fi
78238if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78239  as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78240Usually this means the macro was only invoked conditionally." "$LINENO" 5
78241fi
78242if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78243  as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78244Usually this means the macro was only invoked conditionally." "$LINENO" 5
78245fi
78246if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78247  as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78248Usually this means the macro was only invoked conditionally." "$LINENO" 5
78249fi
78250if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78251  as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78252Usually this means the macro was only invoked conditionally." "$LINENO" 5
78253fi
78254if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78255  as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78256Usually this means the macro was only invoked conditionally." "$LINENO" 5
78257fi
78258if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78259  as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78260Usually this means the macro was only invoked conditionally." "$LINENO" 5
78261fi
78262if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78263  as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78264Usually this means the macro was only invoked conditionally." "$LINENO" 5
78265fi
78266if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78267  as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78268Usually this means the macro was only invoked conditionally." "$LINENO" 5
78269fi
78270if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78271  as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78272Usually this means the macro was only invoked conditionally." "$LINENO" 5
78273fi
78274if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78275  as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78276Usually this means the macro was only invoked conditionally." "$LINENO" 5
78277fi
78278if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78279  as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78280Usually this means the macro was only invoked conditionally." "$LINENO" 5
78281fi
78282if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78283  as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78284Usually this means the macro was only invoked conditionally." "$LINENO" 5
78285fi
78286if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78287  as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78288Usually this means the macro was only invoked conditionally." "$LINENO" 5
78289fi
78290if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78291  as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78292Usually this means the macro was only invoked conditionally." "$LINENO" 5
78293fi
78294if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78295  as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78296Usually this means the macro was only invoked conditionally." "$LINENO" 5
78297fi
78298
78299: "${CONFIG_STATUS=./config.status}"
78300ac_write_fail=0
78301ac_clean_files_save=$ac_clean_files
78302ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78303{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78304$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78305as_write_fail=0
78306cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78307#! $SHELL
78308# Generated by $as_me.
78309# Run this file to recreate the current configuration.
78310# Compiler output produced by configure, useful for debugging
78311# configure, is in config.log if it exists.
78312
78313debug=false
78314ac_cs_recheck=false
78315ac_cs_silent=false
78316
78317SHELL=\${CONFIG_SHELL-$SHELL}
78318export SHELL
78319_ASEOF
78320cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78321## -------------------- ##
78322## M4sh Initialization. ##
78323## -------------------- ##
78324
78325# Be more Bourne compatible
78326DUALCASE=1; export DUALCASE # for MKS sh
78327if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78328  emulate sh
78329  NULLCMD=:
78330  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78331  # is contrary to our usage.  Disable this feature.
78332  alias -g '${1+"$@"}'='"$@"'
78333  setopt NO_GLOB_SUBST
78334else
78335  case `(set -o) 2>/dev/null` in #(
78336  *posix*) :
78337    set -o posix ;; #(
78338  *) :
78339     ;;
78340esac
78341fi
78342
78343
78344as_nl='
78345'
78346export as_nl
78347# Printing a long string crashes Solaris 7 /usr/bin/printf.
78348as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78349as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78350as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78351# Prefer a ksh shell builtin over an external printf program on Solaris,
78352# but without wasting forks for bash or zsh.
78353if test -z "$BASH_VERSION$ZSH_VERSION" \
78354    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78355  as_echo='print -r --'
78356  as_echo_n='print -rn --'
78357elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78358  as_echo='printf %s\n'
78359  as_echo_n='printf %s'
78360else
78361  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78362    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78363    as_echo_n='/usr/ucb/echo -n'
78364  else
78365    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78366    as_echo_n_body='eval
78367      arg=$1;
78368      case $arg in #(
78369      *"$as_nl"*)
78370	expr "X$arg" : "X\\(.*\\)$as_nl";
78371	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78372      esac;
78373      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78374    '
78375    export as_echo_n_body
78376    as_echo_n='sh -c $as_echo_n_body as_echo'
78377  fi
78378  export as_echo_body
78379  as_echo='sh -c $as_echo_body as_echo'
78380fi
78381
78382# The user is always right.
78383if test "${PATH_SEPARATOR+set}" != set; then
78384  PATH_SEPARATOR=:
78385  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78386    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78387      PATH_SEPARATOR=';'
78388  }
78389fi
78390
78391
78392# IFS
78393# We need space, tab and new line, in precisely that order.  Quoting is
78394# there to prevent editors from complaining about space-tab.
78395# (If _AS_PATH_WALK were called with IFS unset, it would disable word
78396# splitting by setting IFS to empty value.)
78397IFS=" ""	$as_nl"
78398
78399# Find who we are.  Look in the path if we contain no directory separator.
78400as_myself=
78401case $0 in #((
78402  *[\\/]* ) as_myself=$0 ;;
78403  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78404for as_dir in $PATH
78405do
78406  IFS=$as_save_IFS
78407  test -z "$as_dir" && as_dir=.
78408    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78409  done
78410IFS=$as_save_IFS
78411
78412     ;;
78413esac
78414# We did not find ourselves, most probably we were run as `sh COMMAND'
78415# in which case we are not to be found in the path.
78416if test "x$as_myself" = x; then
78417  as_myself=$0
78418fi
78419if test ! -f "$as_myself"; then
78420  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78421  exit 1
78422fi
78423
78424# Unset variables that we do not need and which cause bugs (e.g. in
78425# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
78426# suppresses any "Segmentation fault" message there.  '((' could
78427# trigger a bug in pdksh 5.2.14.
78428for as_var in BASH_ENV ENV MAIL MAILPATH
78429do eval test x\${$as_var+set} = xset \
78430  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78431done
78432PS1='$ '
78433PS2='> '
78434PS4='+ '
78435
78436# NLS nuisances.
78437LC_ALL=C
78438export LC_ALL
78439LANGUAGE=C
78440export LANGUAGE
78441
78442# CDPATH.
78443(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78444
78445
78446# as_fn_error STATUS ERROR [LINENO LOG_FD]
78447# ----------------------------------------
78448# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78449# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78450# script with STATUS, using 1 if that was 0.
78451as_fn_error ()
78452{
78453  as_status=$1; test $as_status -eq 0 && as_status=1
78454  if test "$4"; then
78455    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78456    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78457  fi
78458  $as_echo "$as_me: error: $2" >&2
78459  as_fn_exit $as_status
78460} # as_fn_error
78461
78462
78463# as_fn_set_status STATUS
78464# -----------------------
78465# Set $? to STATUS, without forking.
78466as_fn_set_status ()
78467{
78468  return $1
78469} # as_fn_set_status
78470
78471# as_fn_exit STATUS
78472# -----------------
78473# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78474as_fn_exit ()
78475{
78476  set +e
78477  as_fn_set_status $1
78478  exit $1
78479} # as_fn_exit
78480
78481# as_fn_unset VAR
78482# ---------------
78483# Portably unset VAR.
78484as_fn_unset ()
78485{
78486  { eval $1=; unset $1;}
78487}
78488as_unset=as_fn_unset
78489# as_fn_append VAR VALUE
78490# ----------------------
78491# Append the text in VALUE to the end of the definition contained in VAR. Take
78492# advantage of any shell optimizations that allow amortized linear growth over
78493# repeated appends, instead of the typical quadratic growth present in naive
78494# implementations.
78495if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78496  eval 'as_fn_append ()
78497  {
78498    eval $1+=\$2
78499  }'
78500else
78501  as_fn_append ()
78502  {
78503    eval $1=\$$1\$2
78504  }
78505fi # as_fn_append
78506
78507# as_fn_arith ARG...
78508# ------------------
78509# Perform arithmetic evaluation on the ARGs, and store the result in the
78510# global $as_val. Take advantage of shells that can avoid forks. The arguments
78511# must be portable across $(()) and expr.
78512if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78513  eval 'as_fn_arith ()
78514  {
78515    as_val=$(( $* ))
78516  }'
78517else
78518  as_fn_arith ()
78519  {
78520    as_val=`expr "$@" || test $? -eq 1`
78521  }
78522fi # as_fn_arith
78523
78524
78525if expr a : '\(a\)' >/dev/null 2>&1 &&
78526   test "X`expr 00001 : '.*\(...\)'`" = X001; then
78527  as_expr=expr
78528else
78529  as_expr=false
78530fi
78531
78532if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78533  as_basename=basename
78534else
78535  as_basename=false
78536fi
78537
78538if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78539  as_dirname=dirname
78540else
78541  as_dirname=false
78542fi
78543
78544as_me=`$as_basename -- "$0" ||
78545$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78546	 X"$0" : 'X\(//\)$' \| \
78547	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78548$as_echo X/"$0" |
78549    sed '/^.*\/\([^/][^/]*\)\/*$/{
78550	    s//\1/
78551	    q
78552	  }
78553	  /^X\/\(\/\/\)$/{
78554	    s//\1/
78555	    q
78556	  }
78557	  /^X\/\(\/\).*/{
78558	    s//\1/
78559	    q
78560	  }
78561	  s/.*/./; q'`
78562
78563# Avoid depending upon Character Ranges.
78564as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78565as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78566as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78567as_cr_digits='0123456789'
78568as_cr_alnum=$as_cr_Letters$as_cr_digits
78569
78570ECHO_C= ECHO_N= ECHO_T=
78571case `echo -n x` in #(((((
78572-n*)
78573  case `echo 'xy\c'` in
78574  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
78575  xy)  ECHO_C='\c';;
78576  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
78577       ECHO_T='	';;
78578  esac;;
78579*)
78580  ECHO_N='-n';;
78581esac
78582
78583rm -f conf$$ conf$$.exe conf$$.file
78584if test -d conf$$.dir; then
78585  rm -f conf$$.dir/conf$$.file
78586else
78587  rm -f conf$$.dir
78588  mkdir conf$$.dir 2>/dev/null
78589fi
78590if (echo >conf$$.file) 2>/dev/null; then
78591  if ln -s conf$$.file conf$$ 2>/dev/null; then
78592    as_ln_s='ln -s'
78593    # ... but there are two gotchas:
78594    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78595    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78596    # In both cases, we have to default to `cp -pR'.
78597    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78598      as_ln_s='cp -pR'
78599  elif ln conf$$.file conf$$ 2>/dev/null; then
78600    as_ln_s=ln
78601  else
78602    as_ln_s='cp -pR'
78603  fi
78604else
78605  as_ln_s='cp -pR'
78606fi
78607rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78608rmdir conf$$.dir 2>/dev/null
78609
78610
78611# as_fn_mkdir_p
78612# -------------
78613# Create "$as_dir" as a directory, including parents if necessary.
78614as_fn_mkdir_p ()
78615{
78616
78617  case $as_dir in #(
78618  -*) as_dir=./$as_dir;;
78619  esac
78620  test -d "$as_dir" || eval $as_mkdir_p || {
78621    as_dirs=
78622    while :; do
78623      case $as_dir in #(
78624      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78625      *) as_qdir=$as_dir;;
78626      esac
78627      as_dirs="'$as_qdir' $as_dirs"
78628      as_dir=`$as_dirname -- "$as_dir" ||
78629$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78630	 X"$as_dir" : 'X\(//\)[^/]' \| \
78631	 X"$as_dir" : 'X\(//\)$' \| \
78632	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78633$as_echo X"$as_dir" |
78634    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78635	    s//\1/
78636	    q
78637	  }
78638	  /^X\(\/\/\)[^/].*/{
78639	    s//\1/
78640	    q
78641	  }
78642	  /^X\(\/\/\)$/{
78643	    s//\1/
78644	    q
78645	  }
78646	  /^X\(\/\).*/{
78647	    s//\1/
78648	    q
78649	  }
78650	  s/.*/./; q'`
78651      test -d "$as_dir" && break
78652    done
78653    test -z "$as_dirs" || eval "mkdir $as_dirs"
78654  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78655
78656
78657} # as_fn_mkdir_p
78658if mkdir -p . 2>/dev/null; then
78659  as_mkdir_p='mkdir -p "$as_dir"'
78660else
78661  test -d ./-p && rmdir ./-p
78662  as_mkdir_p=false
78663fi
78664
78665
78666# as_fn_executable_p FILE
78667# -----------------------
78668# Test if FILE is an executable regular file.
78669as_fn_executable_p ()
78670{
78671  test -f "$1" && test -x "$1"
78672} # as_fn_executable_p
78673as_test_x='test -x'
78674as_executable_p=as_fn_executable_p
78675
78676# Sed expression to map a string onto a valid CPP name.
78677as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78678
78679# Sed expression to map a string onto a valid variable name.
78680as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78681
78682
78683exec 6>&1
78684## ----------------------------------- ##
78685## Main body of $CONFIG_STATUS script. ##
78686## ----------------------------------- ##
78687_ASEOF
78688test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78689
78690cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78691# Save the log message, to keep $0 and so on meaningful, and to
78692# report actual input values of CONFIG_FILES etc. instead of their
78693# values after options handling.
78694ac_log="
78695This file was extended by package-unused $as_me version-unused, which was
78696generated by GNU Autoconf 2.69.  Invocation command line was
78697
78698  CONFIG_FILES    = $CONFIG_FILES
78699  CONFIG_HEADERS  = $CONFIG_HEADERS
78700  CONFIG_LINKS    = $CONFIG_LINKS
78701  CONFIG_COMMANDS = $CONFIG_COMMANDS
78702  $ $0 $@
78703
78704on `(hostname || uname -n) 2>/dev/null | sed 1q`
78705"
78706
78707_ACEOF
78708
78709case $ac_config_files in *"
78710"*) set x $ac_config_files; shift; ac_config_files=$*;;
78711esac
78712
78713case $ac_config_headers in *"
78714"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78715esac
78716
78717
78718cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78719# Files that config.status was made for.
78720config_files="$ac_config_files"
78721config_headers="$ac_config_headers"
78722config_commands="$ac_config_commands"
78723
78724_ACEOF
78725
78726cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78727ac_cs_usage="\
78728\`$as_me' instantiates files and other configuration actions
78729from templates according to the current configuration.  Unless the files
78730and actions are specified as TAGs, all are instantiated by default.
78731
78732Usage: $0 [OPTION]... [TAG]...
78733
78734  -h, --help       print this help, then exit
78735  -V, --version    print version number and configuration settings, then exit
78736      --config     print configuration, then exit
78737  -q, --quiet, --silent
78738                   do not print progress messages
78739  -d, --debug      don't remove temporary files
78740      --recheck    update $as_me by reconfiguring in the same conditions
78741      --file=FILE[:TEMPLATE]
78742                   instantiate the configuration file FILE
78743      --header=FILE[:TEMPLATE]
78744                   instantiate the configuration header FILE
78745
78746Configuration files:
78747$config_files
78748
78749Configuration headers:
78750$config_headers
78751
78752Configuration commands:
78753$config_commands
78754
78755Report bugs to the package provider."
78756
78757_ACEOF
78758cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78759ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78760ac_cs_version="\\
78761package-unused config.status version-unused
78762configured by $0, generated by GNU Autoconf 2.69,
78763  with options \\"\$ac_cs_config\\"
78764
78765Copyright (C) 2012 Free Software Foundation, Inc.
78766This config.status script is free software; the Free Software Foundation
78767gives unlimited permission to copy, distribute and modify it."
78768
78769ac_pwd='$ac_pwd'
78770srcdir='$srcdir'
78771INSTALL='$INSTALL'
78772MKDIR_P='$MKDIR_P'
78773AWK='$AWK'
78774test -n "\$AWK" || AWK=awk
78775_ACEOF
78776
78777cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78778# The default lists apply if the user does not specify any file.
78779ac_need_defaults=:
78780while test $# != 0
78781do
78782  case $1 in
78783  --*=?*)
78784    ac_option=`expr "X$1" : 'X\([^=]*\)='`
78785    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78786    ac_shift=:
78787    ;;
78788  --*=)
78789    ac_option=`expr "X$1" : 'X\([^=]*\)='`
78790    ac_optarg=
78791    ac_shift=:
78792    ;;
78793  *)
78794    ac_option=$1
78795    ac_optarg=$2
78796    ac_shift=shift
78797    ;;
78798  esac
78799
78800  case $ac_option in
78801  # Handling of the options.
78802  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78803    ac_cs_recheck=: ;;
78804  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
78805    $as_echo "$ac_cs_version"; exit ;;
78806  --config | --confi | --conf | --con | --co | --c )
78807    $as_echo "$ac_cs_config"; exit ;;
78808  --debug | --debu | --deb | --de | --d | -d )
78809    debug=: ;;
78810  --file | --fil | --fi | --f )
78811    $ac_shift
78812    case $ac_optarg in
78813    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78814    '') as_fn_error $? "missing file argument" ;;
78815    esac
78816    as_fn_append CONFIG_FILES " '$ac_optarg'"
78817    ac_need_defaults=false;;
78818  --header | --heade | --head | --hea )
78819    $ac_shift
78820    case $ac_optarg in
78821    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78822    esac
78823    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
78824    ac_need_defaults=false;;
78825  --he | --h)
78826    # Conflict between --help and --header
78827    as_fn_error $? "ambiguous option: \`$1'
78828Try \`$0 --help' for more information.";;
78829  --help | --hel | -h )
78830    $as_echo "$ac_cs_usage"; exit ;;
78831  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78832  | -silent | --silent | --silen | --sile | --sil | --si | --s)
78833    ac_cs_silent=: ;;
78834
78835  # This is an error.
78836  -*) as_fn_error $? "unrecognized option: \`$1'
78837Try \`$0 --help' for more information." ;;
78838
78839  *) as_fn_append ac_config_targets " $1"
78840     ac_need_defaults=false ;;
78841
78842  esac
78843  shift
78844done
78845
78846ac_configure_extra_args=
78847
78848if $ac_cs_silent; then
78849  exec 6>/dev/null
78850  ac_configure_extra_args="$ac_configure_extra_args --silent"
78851fi
78852
78853_ACEOF
78854cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78855if \$ac_cs_recheck; then
78856  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
78857  shift
78858  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
78859  CONFIG_SHELL='$SHELL'
78860  export CONFIG_SHELL
78861  exec "\$@"
78862fi
78863
78864_ACEOF
78865cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78866exec 5>>config.log
78867{
78868  echo
78869  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
78870## Running $as_me. ##
78871_ASBOX
78872  $as_echo "$ac_log"
78873} >&5
78874
78875_ACEOF
78876cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78877#
78878# INIT-COMMANDS
78879#
78880
78881srcdir="$srcdir"
78882host="$host"
78883target="$target"
78884with_multisubdir="$with_multisubdir"
78885with_multisrctop="$with_multisrctop"
78886with_target_subdir="$with_target_subdir"
78887ac_configure_args="${multilib_arg} ${ac_configure_args}"
78888multi_basedir="$multi_basedir"
78889CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
78890CC="$CC"
78891CXX="$CXX"
78892GFORTRAN="$GFORTRAN"
78893GDC="$GDC"
78894
78895
78896# The HP-UX ksh and POSIX shell print the target directory to stdout
78897# if CDPATH is set.
78898(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78899
78900sed_quote_subst='$sed_quote_subst'
78901double_quote_subst='$double_quote_subst'
78902delay_variable_subst='$delay_variable_subst'
78903macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
78904macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
78905enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
78906enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
78907pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
78908enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
78909SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
78910ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
78911host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
78912host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
78913host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
78914build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
78915build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
78916build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
78917SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
78918Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
78919GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
78920EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
78921FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
78922LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
78923NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
78924LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
78925max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
78926ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
78927exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
78928lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
78929lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
78930lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
78931reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
78932reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
78933OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
78934deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
78935file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
78936AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
78937AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
78938STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
78939RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
78940old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78941old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78942old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
78943lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
78944CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
78945CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
78946compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
78947GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
78948lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
78949lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
78950lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
78951lt_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"`'
78952objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
78953MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
78954lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
78955lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
78956lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
78957lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
78958lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
78959need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
78960DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
78961NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
78962LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
78963OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
78964OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
78965libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
78966shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
78967extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78968archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
78969enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
78970export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
78971whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
78972compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
78973old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
78974old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78975archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
78976archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78977module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
78978module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78979with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
78980allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
78981no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
78982hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
78983hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
78984hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
78985hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
78986hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
78987hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
78988hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
78989hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
78990inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
78991link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
78992fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
78993always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
78994export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
78995exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
78996include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
78997prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
78998file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
78999variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79000need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79001need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79002version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79003runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79004shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79005shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79006libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79007library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79008soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79009install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79010postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79011postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79012finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79013finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79014hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79015sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79016sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79017hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79018enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79019enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79020enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79021old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79022striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79023compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79024predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79025postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79026predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79027postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79028compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79029LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79030reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79031reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79032old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79033compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79034GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79035lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79036lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79037lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79038lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79039lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79040archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79041enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79042export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79043whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79044compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79045old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79046old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79047archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79048archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79049module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79050module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79051with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79052allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79053no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79054hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79055hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79056hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79057hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79058hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79059hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79060hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79061hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79062inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79063link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79064fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79065always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79066export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79067exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79068include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79069prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79070file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79071hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79072compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79073predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79074postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79075predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79076postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79077compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79078
79079LTCC='$LTCC'
79080LTCFLAGS='$LTCFLAGS'
79081compiler='$compiler_DEFAULT'
79082
79083# A function that is used when there is no print builtin or printf.
79084func_fallback_echo ()
79085{
79086  eval 'cat <<_LTECHO_EOF
79087\$1
79088_LTECHO_EOF'
79089}
79090
79091# Quote evaled strings.
79092for var in SHELL \
79093ECHO \
79094SED \
79095GREP \
79096EGREP \
79097FGREP \
79098LD \
79099NM \
79100LN_S \
79101lt_SP2NL \
79102lt_NL2SP \
79103reload_flag \
79104OBJDUMP \
79105deplibs_check_method \
79106file_magic_cmd \
79107AR \
79108AR_FLAGS \
79109STRIP \
79110RANLIB \
79111CC \
79112CFLAGS \
79113compiler \
79114lt_cv_sys_global_symbol_pipe \
79115lt_cv_sys_global_symbol_to_cdecl \
79116lt_cv_sys_global_symbol_to_c_name_address \
79117lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79118lt_prog_compiler_no_builtin_flag \
79119lt_prog_compiler_wl \
79120lt_prog_compiler_pic \
79121lt_prog_compiler_static \
79122lt_cv_prog_compiler_c_o \
79123need_locks \
79124DSYMUTIL \
79125NMEDIT \
79126LIPO \
79127OTOOL \
79128OTOOL64 \
79129shrext_cmds \
79130export_dynamic_flag_spec \
79131whole_archive_flag_spec \
79132compiler_needs_object \
79133with_gnu_ld \
79134allow_undefined_flag \
79135no_undefined_flag \
79136hardcode_libdir_flag_spec \
79137hardcode_libdir_flag_spec_ld \
79138hardcode_libdir_separator \
79139fix_srcfile_path \
79140exclude_expsyms \
79141include_expsyms \
79142file_list_spec \
79143variables_saved_for_relink \
79144libname_spec \
79145library_names_spec \
79146soname_spec \
79147install_override_mode \
79148finish_eval \
79149old_striplib \
79150striplib \
79151compiler_lib_search_dirs \
79152predep_objects \
79153postdep_objects \
79154predeps \
79155postdeps \
79156compiler_lib_search_path \
79157LD_CXX \
79158reload_flag_CXX \
79159compiler_CXX \
79160lt_prog_compiler_no_builtin_flag_CXX \
79161lt_prog_compiler_wl_CXX \
79162lt_prog_compiler_pic_CXX \
79163lt_prog_compiler_static_CXX \
79164lt_cv_prog_compiler_c_o_CXX \
79165export_dynamic_flag_spec_CXX \
79166whole_archive_flag_spec_CXX \
79167compiler_needs_object_CXX \
79168with_gnu_ld_CXX \
79169allow_undefined_flag_CXX \
79170no_undefined_flag_CXX \
79171hardcode_libdir_flag_spec_CXX \
79172hardcode_libdir_flag_spec_ld_CXX \
79173hardcode_libdir_separator_CXX \
79174fix_srcfile_path_CXX \
79175exclude_expsyms_CXX \
79176include_expsyms_CXX \
79177file_list_spec_CXX \
79178compiler_lib_search_dirs_CXX \
79179predep_objects_CXX \
79180postdep_objects_CXX \
79181predeps_CXX \
79182postdeps_CXX \
79183compiler_lib_search_path_CXX; do
79184    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79185    *[\\\\\\\`\\"\\\$]*)
79186      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79187      ;;
79188    *)
79189      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79190      ;;
79191    esac
79192done
79193
79194# Double-quote double-evaled strings.
79195for var in reload_cmds \
79196old_postinstall_cmds \
79197old_postuninstall_cmds \
79198old_archive_cmds \
79199extract_expsyms_cmds \
79200old_archive_from_new_cmds \
79201old_archive_from_expsyms_cmds \
79202archive_cmds \
79203archive_expsym_cmds \
79204module_cmds \
79205module_expsym_cmds \
79206export_symbols_cmds \
79207prelink_cmds \
79208postinstall_cmds \
79209postuninstall_cmds \
79210finish_cmds \
79211sys_lib_search_path_spec \
79212sys_lib_dlsearch_path_spec \
79213reload_cmds_CXX \
79214old_archive_cmds_CXX \
79215old_archive_from_new_cmds_CXX \
79216old_archive_from_expsyms_cmds_CXX \
79217archive_cmds_CXX \
79218archive_expsym_cmds_CXX \
79219module_cmds_CXX \
79220module_expsym_cmds_CXX \
79221export_symbols_cmds_CXX \
79222prelink_cmds_CXX; do
79223    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79224    *[\\\\\\\`\\"\\\$]*)
79225      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79226      ;;
79227    *)
79228      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79229      ;;
79230    esac
79231done
79232
79233ac_aux_dir='$ac_aux_dir'
79234xsi_shell='$xsi_shell'
79235lt_shell_append='$lt_shell_append'
79236
79237# See if we are running on zsh, and set the options which allow our
79238# commands through without removal of \ escapes INIT.
79239if test -n "\${ZSH_VERSION+set}" ; then
79240   setopt NO_GLOB_SUBST
79241fi
79242
79243
79244    PACKAGE='$PACKAGE'
79245    VERSION='$VERSION'
79246    TIMESTAMP='$TIMESTAMP'
79247    RM='$RM'
79248    ofile='$ofile'
79249
79250
79251
79252
79253
79254
79255GCC="$GCC"
79256CC="$CC"
79257acx_cv_header_stdint="$acx_cv_header_stdint"
79258acx_cv_type_int8_t="$acx_cv_type_int8_t"
79259acx_cv_type_int16_t="$acx_cv_type_int16_t"
79260acx_cv_type_int32_t="$acx_cv_type_int32_t"
79261acx_cv_type_int64_t="$acx_cv_type_int64_t"
79262acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79263ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79264ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79265ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79266ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79267ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79268ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79269ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79270ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79271
79272
79273_ACEOF
79274
79275cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79276
79277# Handling of arguments.
79278for ac_config_target in $ac_config_targets
79279do
79280  case $ac_config_target in
79281    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79282    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79283    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79284    "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79285    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79286    "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79287    "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79288    "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79289    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79290    "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79291    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79292    "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79293    "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79294    "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79295    "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79296    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79297    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79298    "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79299    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79300    "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79301
79302  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79303  esac
79304done
79305
79306
79307# If the user did not use the arguments to specify the items to instantiate,
79308# then the envvar interface is used.  Set only those that are not.
79309# We use the long form for the default assignment because of an extremely
79310# bizarre bug on SunOS 4.1.3.
79311if $ac_need_defaults; then
79312  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79313  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79314  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79315fi
79316
79317# Have a temporary directory for convenience.  Make it in the build tree
79318# simply because there is no reason against having it here, and in addition,
79319# creating and moving files from /tmp can sometimes cause problems.
79320# Hook for its removal unless debugging.
79321# Note that there is a small window in which the directory will not be cleaned:
79322# after its creation but before its name has been assigned to `$tmp'.
79323$debug ||
79324{
79325  tmp= ac_tmp=
79326  trap 'exit_status=$?
79327  : "${ac_tmp:=$tmp}"
79328  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79329' 0
79330  trap 'as_fn_exit 1' 1 2 13 15
79331}
79332# Create a (secure) tmp directory for tmp files.
79333
79334{
79335  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79336  test -d "$tmp"
79337}  ||
79338{
79339  tmp=./conf$$-$RANDOM
79340  (umask 077 && mkdir "$tmp")
79341} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79342ac_tmp=$tmp
79343
79344# Set up the scripts for CONFIG_FILES section.
79345# No need to generate them if there are no CONFIG_FILES.
79346# This happens for instance with `./config.status config.h'.
79347if test -n "$CONFIG_FILES"; then
79348
79349
79350ac_cr=`echo X | tr X '\015'`
79351# On cygwin, bash can eat \r inside `` if the user requested igncr.
79352# But we know of no other shell where ac_cr would be empty at this
79353# point, so we can use a bashism as a fallback.
79354if test "x$ac_cr" = x; then
79355  eval ac_cr=\$\'\\r\'
79356fi
79357ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79358if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79359  ac_cs_awk_cr='\\r'
79360else
79361  ac_cs_awk_cr=$ac_cr
79362fi
79363
79364echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79365_ACEOF
79366
79367
79368{
79369  echo "cat >conf$$subs.awk <<_ACEOF" &&
79370  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79371  echo "_ACEOF"
79372} >conf$$subs.sh ||
79373  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79374ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79375ac_delim='%!_!# '
79376for ac_last_try in false false false false false :; do
79377  . ./conf$$subs.sh ||
79378    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79379
79380  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79381  if test $ac_delim_n = $ac_delim_num; then
79382    break
79383  elif $ac_last_try; then
79384    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79385  else
79386    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79387  fi
79388done
79389rm -f conf$$subs.sh
79390
79391cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79392cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79393_ACEOF
79394sed -n '
79395h
79396s/^/S["/; s/!.*/"]=/
79397p
79398g
79399s/^[^!]*!//
79400:repl
79401t repl
79402s/'"$ac_delim"'$//
79403t delim
79404:nl
79405h
79406s/\(.\{148\}\)..*/\1/
79407t more1
79408s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79409p
79410n
79411b repl
79412:more1
79413s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79414p
79415g
79416s/.\{148\}//
79417t nl
79418:delim
79419h
79420s/\(.\{148\}\)..*/\1/
79421t more2
79422s/["\\]/\\&/g; s/^/"/; s/$/"/
79423p
79424b
79425:more2
79426s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79427p
79428g
79429s/.\{148\}//
79430t delim
79431' <conf$$subs.awk | sed '
79432/^[^""]/{
79433  N
79434  s/\n//
79435}
79436' >>$CONFIG_STATUS || ac_write_fail=1
79437rm -f conf$$subs.awk
79438cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79439_ACAWK
79440cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79441  for (key in S) S_is_set[key] = 1
79442  FS = ""
79443
79444}
79445{
79446  line = $ 0
79447  nfields = split(line, field, "@")
79448  substed = 0
79449  len = length(field[1])
79450  for (i = 2; i < nfields; i++) {
79451    key = field[i]
79452    keylen = length(key)
79453    if (S_is_set[key]) {
79454      value = S[key]
79455      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79456      len += length(value) + length(field[++i])
79457      substed = 1
79458    } else
79459      len += 1 + keylen
79460  }
79461
79462  print line
79463}
79464
79465_ACAWK
79466_ACEOF
79467cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79468if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79469  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79470else
79471  cat
79472fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79473  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79474_ACEOF
79475
79476# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79477# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79478# trailing colons and then remove the whole line if VPATH becomes empty
79479# (actually we leave an empty line to preserve line numbers).
79480if test "x$srcdir" = x.; then
79481  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
79482h
79483s///
79484s/^/:/
79485s/[	 ]*$/:/
79486s/:\$(srcdir):/:/g
79487s/:\${srcdir}:/:/g
79488s/:@srcdir@:/:/g
79489s/^:*//
79490s/:*$//
79491x
79492s/\(=[	 ]*\).*/\1/
79493G
79494s/\n//
79495s/^[^=]*=[	 ]*$//
79496}'
79497fi
79498
79499cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79500fi # test -n "$CONFIG_FILES"
79501
79502# Set up the scripts for CONFIG_HEADERS section.
79503# No need to generate them if there are no CONFIG_HEADERS.
79504# This happens for instance with `./config.status Makefile'.
79505if test -n "$CONFIG_HEADERS"; then
79506cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79507BEGIN {
79508_ACEOF
79509
79510# Transform confdefs.h into an awk script `defines.awk', embedded as
79511# here-document in config.status, that substitutes the proper values into
79512# config.h.in to produce config.h.
79513
79514# Create a delimiter string that does not exist in confdefs.h, to ease
79515# handling of long lines.
79516ac_delim='%!_!# '
79517for ac_last_try in false false :; do
79518  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79519  if test -z "$ac_tt"; then
79520    break
79521  elif $ac_last_try; then
79522    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79523  else
79524    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79525  fi
79526done
79527
79528# For the awk script, D is an array of macro values keyed by name,
79529# likewise P contains macro parameters if any.  Preserve backslash
79530# newline sequences.
79531
79532ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79533sed -n '
79534s/.\{148\}/&'"$ac_delim"'/g
79535t rset
79536:rset
79537s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
79538t def
79539d
79540:def
79541s/\\$//
79542t bsnl
79543s/["\\]/\\&/g
79544s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
79545D["\1"]=" \3"/p
79546s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
79547d
79548:bsnl
79549s/["\\]/\\&/g
79550s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
79551D["\1"]=" \3\\\\\\n"\\/p
79552t cont
79553s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79554t cont
79555d
79556:cont
79557n
79558s/.\{148\}/&'"$ac_delim"'/g
79559t clear
79560:clear
79561s/\\$//
79562t bsnlc
79563s/["\\]/\\&/g; s/^/"/; s/$/"/p
79564d
79565:bsnlc
79566s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79567b cont
79568' <confdefs.h | sed '
79569s/'"$ac_delim"'/"\\\
79570"/g' >>$CONFIG_STATUS || ac_write_fail=1
79571
79572cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79573  for (key in D) D_is_set[key] = 1
79574  FS = ""
79575}
79576/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79577  line = \$ 0
79578  split(line, arg, " ")
79579  if (arg[1] == "#") {
79580    defundef = arg[2]
79581    mac1 = arg[3]
79582  } else {
79583    defundef = substr(arg[1], 2)
79584    mac1 = arg[2]
79585  }
79586  split(mac1, mac2, "(") #)
79587  macro = mac2[1]
79588  prefix = substr(line, 1, index(line, defundef) - 1)
79589  if (D_is_set[macro]) {
79590    # Preserve the white space surrounding the "#".
79591    print prefix "define", macro P[macro] D[macro]
79592    next
79593  } else {
79594    # Replace #undef with comments.  This is necessary, for example,
79595    # in the case of _POSIX_SOURCE, which is predefined and required
79596    # on some systems where configure will not decide to define it.
79597    if (defundef == "undef") {
79598      print "/*", prefix defundef, macro, "*/"
79599      next
79600    }
79601  }
79602}
79603{ print }
79604_ACAWK
79605_ACEOF
79606cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79607  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79608fi # test -n "$CONFIG_HEADERS"
79609
79610
79611eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
79612shift
79613for ac_tag
79614do
79615  case $ac_tag in
79616  :[FHLC]) ac_mode=$ac_tag; continue;;
79617  esac
79618  case $ac_mode$ac_tag in
79619  :[FHL]*:*);;
79620  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79621  :[FH]-) ac_tag=-:-;;
79622  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79623  esac
79624  ac_save_IFS=$IFS
79625  IFS=:
79626  set x $ac_tag
79627  IFS=$ac_save_IFS
79628  shift
79629  ac_file=$1
79630  shift
79631
79632  case $ac_mode in
79633  :L) ac_source=$1;;
79634  :[FH])
79635    ac_file_inputs=
79636    for ac_f
79637    do
79638      case $ac_f in
79639      -) ac_f="$ac_tmp/stdin";;
79640      *) # Look for the file first in the build tree, then in the source tree
79641	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
79642	 # because $ac_f cannot contain `:'.
79643	 test -f "$ac_f" ||
79644	   case $ac_f in
79645	   [\\/$]*) false;;
79646	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79647	   esac ||
79648	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79649      esac
79650      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79651      as_fn_append ac_file_inputs " '$ac_f'"
79652    done
79653
79654    # Let's still pretend it is `configure' which instantiates (i.e., don't
79655    # use $as_me), people would be surprised to read:
79656    #    /* config.h.  Generated by config.status.  */
79657    configure_input='Generated from '`
79658	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79659	`' by configure.'
79660    if test x"$ac_file" != x-; then
79661      configure_input="$ac_file.  $configure_input"
79662      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79663$as_echo "$as_me: creating $ac_file" >&6;}
79664    fi
79665    # Neutralize special characters interpreted by sed in replacement strings.
79666    case $configure_input in #(
79667    *\&* | *\|* | *\\* )
79668       ac_sed_conf_input=`$as_echo "$configure_input" |
79669       sed 's/[\\\\&|]/\\\\&/g'`;; #(
79670    *) ac_sed_conf_input=$configure_input;;
79671    esac
79672
79673    case $ac_tag in
79674    *:-:* | *:-) cat >"$ac_tmp/stdin" \
79675      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79676    esac
79677    ;;
79678  esac
79679
79680  ac_dir=`$as_dirname -- "$ac_file" ||
79681$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79682	 X"$ac_file" : 'X\(//\)[^/]' \| \
79683	 X"$ac_file" : 'X\(//\)$' \| \
79684	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79685$as_echo X"$ac_file" |
79686    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79687	    s//\1/
79688	    q
79689	  }
79690	  /^X\(\/\/\)[^/].*/{
79691	    s//\1/
79692	    q
79693	  }
79694	  /^X\(\/\/\)$/{
79695	    s//\1/
79696	    q
79697	  }
79698	  /^X\(\/\).*/{
79699	    s//\1/
79700	    q
79701	  }
79702	  s/.*/./; q'`
79703  as_dir="$ac_dir"; as_fn_mkdir_p
79704  ac_builddir=.
79705
79706case "$ac_dir" in
79707.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79708*)
79709  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79710  # A ".." for each directory in $ac_dir_suffix.
79711  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79712  case $ac_top_builddir_sub in
79713  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79714  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79715  esac ;;
79716esac
79717ac_abs_top_builddir=$ac_pwd
79718ac_abs_builddir=$ac_pwd$ac_dir_suffix
79719# for backward compatibility:
79720ac_top_builddir=$ac_top_build_prefix
79721
79722case $srcdir in
79723  .)  # We are building in place.
79724    ac_srcdir=.
79725    ac_top_srcdir=$ac_top_builddir_sub
79726    ac_abs_top_srcdir=$ac_pwd ;;
79727  [\\/]* | ?:[\\/]* )  # Absolute name.
79728    ac_srcdir=$srcdir$ac_dir_suffix;
79729    ac_top_srcdir=$srcdir
79730    ac_abs_top_srcdir=$srcdir ;;
79731  *) # Relative name.
79732    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79733    ac_top_srcdir=$ac_top_build_prefix$srcdir
79734    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79735esac
79736ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79737
79738
79739  case $ac_mode in
79740  :F)
79741  #
79742  # CONFIG_FILE
79743  #
79744
79745  case $INSTALL in
79746  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79747  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79748  esac
79749  ac_MKDIR_P=$MKDIR_P
79750  case $MKDIR_P in
79751  [\\/$]* | ?:[\\/]* ) ;;
79752  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79753  esac
79754_ACEOF
79755
79756cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79757# If the template does not know about datarootdir, expand it.
79758# FIXME: This hack should be removed a few years after 2.60.
79759ac_datarootdir_hack=; ac_datarootdir_seen=
79760ac_sed_dataroot='
79761/datarootdir/ {
79762  p
79763  q
79764}
79765/@datadir@/p
79766/@docdir@/p
79767/@infodir@/p
79768/@localedir@/p
79769/@mandir@/p'
79770case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79771*datarootdir*) ac_datarootdir_seen=yes;;
79772*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79773  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79774$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79775_ACEOF
79776cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79777  ac_datarootdir_hack='
79778  s&@datadir@&$datadir&g
79779  s&@docdir@&$docdir&g
79780  s&@infodir@&$infodir&g
79781  s&@localedir@&$localedir&g
79782  s&@mandir@&$mandir&g
79783  s&\\\${datarootdir}&$datarootdir&g' ;;
79784esac
79785_ACEOF
79786
79787# Neutralize VPATH when `$srcdir' = `.'.
79788# Shell code in configure.ac might set extrasub.
79789# FIXME: do we really want to maintain this feature?
79790cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79791ac_sed_extra="$ac_vpsub
79792$extrasub
79793_ACEOF
79794cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79795:t
79796/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79797s|@configure_input@|$ac_sed_conf_input|;t t
79798s&@top_builddir@&$ac_top_builddir_sub&;t t
79799s&@top_build_prefix@&$ac_top_build_prefix&;t t
79800s&@srcdir@&$ac_srcdir&;t t
79801s&@abs_srcdir@&$ac_abs_srcdir&;t t
79802s&@top_srcdir@&$ac_top_srcdir&;t t
79803s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
79804s&@builddir@&$ac_builddir&;t t
79805s&@abs_builddir@&$ac_abs_builddir&;t t
79806s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
79807s&@INSTALL@&$ac_INSTALL&;t t
79808s&@MKDIR_P@&$ac_MKDIR_P&;t t
79809$ac_datarootdir_hack
79810"
79811eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
79812  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79813
79814test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
79815  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
79816  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
79817      "$ac_tmp/out"`; test -z "$ac_out"; } &&
79818  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79819which seems to be undefined.  Please make sure it is defined" >&5
79820$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79821which seems to be undefined.  Please make sure it is defined" >&2;}
79822
79823  rm -f "$ac_tmp/stdin"
79824  case $ac_file in
79825  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
79826  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
79827  esac \
79828  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79829 ;;
79830  :H)
79831  #
79832  # CONFIG_HEADER
79833  #
79834  if test x"$ac_file" != x-; then
79835    {
79836      $as_echo "/* $configure_input  */" \
79837      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
79838    } >"$ac_tmp/config.h" \
79839      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79840    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
79841      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
79842$as_echo "$as_me: $ac_file is unchanged" >&6;}
79843    else
79844      rm -f "$ac_file"
79845      mv "$ac_tmp/config.h" "$ac_file" \
79846	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
79847    fi
79848  else
79849    $as_echo "/* $configure_input  */" \
79850      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
79851      || as_fn_error $? "could not create -" "$LINENO" 5
79852  fi
79853# Compute "$ac_file"'s index in $config_headers.
79854_am_arg="$ac_file"
79855_am_stamp_count=1
79856for _am_header in $config_headers :; do
79857  case $_am_header in
79858    $_am_arg | $_am_arg:* )
79859      break ;;
79860    * )
79861      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
79862  esac
79863done
79864echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
79865$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79866	 X"$_am_arg" : 'X\(//\)[^/]' \| \
79867	 X"$_am_arg" : 'X\(//\)$' \| \
79868	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
79869$as_echo X"$_am_arg" |
79870    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79871	    s//\1/
79872	    q
79873	  }
79874	  /^X\(\/\/\)[^/].*/{
79875	    s//\1/
79876	    q
79877	  }
79878	  /^X\(\/\/\)$/{
79879	    s//\1/
79880	    q
79881	  }
79882	  /^X\(\/\).*/{
79883	    s//\1/
79884	    q
79885	  }
79886	  s/.*/./; q'`/stamp-h$_am_stamp_count
79887 ;;
79888
79889  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
79890$as_echo "$as_me: executing $ac_file commands" >&6;}
79891 ;;
79892  esac
79893
79894
79895  case $ac_file$ac_mode in
79896    "default-1":C)
79897# Only add multilib support code if we just rebuilt the top-level
79898# Makefile.
79899case " $CONFIG_FILES " in
79900 *" Makefile "*)
79901   ac_file=Makefile . ${multi_basedir}/config-ml.in
79902   ;;
79903esac ;;
79904    "libtool":C)
79905
79906    # See if we are running on zsh, and set the options which allow our
79907    # commands through without removal of \ escapes.
79908    if test -n "${ZSH_VERSION+set}" ; then
79909      setopt NO_GLOB_SUBST
79910    fi
79911
79912    cfgfile="${ofile}T"
79913    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
79914    $RM "$cfgfile"
79915
79916    cat <<_LT_EOF >> "$cfgfile"
79917#! $SHELL
79918
79919# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
79920# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
79921# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
79922# NOTE: Changes made to this file will be lost: look at ltmain.sh.
79923#
79924#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
79925#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
79926#   Written by Gordon Matzigkeit, 1996
79927#
79928#   This file is part of GNU Libtool.
79929#
79930# GNU Libtool is free software; you can redistribute it and/or
79931# modify it under the terms of the GNU General Public License as
79932# published by the Free Software Foundation; either version 2 of
79933# the License, or (at your option) any later version.
79934#
79935# As a special exception to the GNU General Public License,
79936# if you distribute this file as part of a program or library that
79937# is built using GNU Libtool, you may include this file under the
79938# same distribution terms that you use for the rest of that program.
79939#
79940# GNU Libtool is distributed in the hope that it will be useful,
79941# but WITHOUT ANY WARRANTY; without even the implied warranty of
79942# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
79943# GNU General Public License for more details.
79944#
79945# You should have received a copy of the GNU General Public License
79946# along with GNU Libtool; see the file COPYING.  If not, a copy
79947# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
79948# obtained by writing to the Free Software Foundation, Inc.,
79949# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
79950
79951
79952# The names of the tagged configurations supported by this script.
79953available_tags="CXX "
79954
79955# ### BEGIN LIBTOOL CONFIG
79956
79957# Which release of libtool.m4 was used?
79958macro_version=$macro_version
79959macro_revision=$macro_revision
79960
79961# Whether or not to build shared libraries.
79962build_libtool_libs=$enable_shared
79963
79964# Whether or not to build static libraries.
79965build_old_libs=$enable_static
79966
79967# What type of objects to build.
79968pic_mode=$pic_mode
79969
79970# Whether or not to optimize for fast installation.
79971fast_install=$enable_fast_install
79972
79973# Shell to use when invoking shell scripts.
79974SHELL=$lt_SHELL
79975
79976# An echo program that protects backslashes.
79977ECHO=$lt_ECHO
79978
79979# The host system.
79980host_alias=$host_alias
79981host=$host
79982host_os=$host_os
79983
79984# The build system.
79985build_alias=$build_alias
79986build=$build
79987build_os=$build_os
79988
79989# A sed program that does not truncate output.
79990SED=$lt_SED
79991
79992# Sed that helps us avoid accidentally triggering echo(1) options like -n.
79993Xsed="\$SED -e 1s/^X//"
79994
79995# A grep program that handles long lines.
79996GREP=$lt_GREP
79997
79998# An ERE matcher.
79999EGREP=$lt_EGREP
80000
80001# A literal string matcher.
80002FGREP=$lt_FGREP
80003
80004# A BSD- or MS-compatible name lister.
80005NM=$lt_NM
80006
80007# Whether we need soft or hard links.
80008LN_S=$lt_LN_S
80009
80010# What is the maximum length of a command?
80011max_cmd_len=$max_cmd_len
80012
80013# Object file suffix (normally "o").
80014objext=$ac_objext
80015
80016# Executable file suffix (normally "").
80017exeext=$exeext
80018
80019# whether the shell understands "unset".
80020lt_unset=$lt_unset
80021
80022# turn spaces into newlines.
80023SP2NL=$lt_lt_SP2NL
80024
80025# turn newlines into spaces.
80026NL2SP=$lt_lt_NL2SP
80027
80028# An object symbol dumper.
80029OBJDUMP=$lt_OBJDUMP
80030
80031# Method to check whether dependent libraries are shared objects.
80032deplibs_check_method=$lt_deplibs_check_method
80033
80034# Command to use when deplibs_check_method == "file_magic".
80035file_magic_cmd=$lt_file_magic_cmd
80036
80037# The archiver.
80038AR=$lt_AR
80039AR_FLAGS=$lt_AR_FLAGS
80040
80041# A symbol stripping program.
80042STRIP=$lt_STRIP
80043
80044# Commands used to install an old-style archive.
80045RANLIB=$lt_RANLIB
80046old_postinstall_cmds=$lt_old_postinstall_cmds
80047old_postuninstall_cmds=$lt_old_postuninstall_cmds
80048
80049# Whether to use a lock for old archive extraction.
80050lock_old_archive_extraction=$lock_old_archive_extraction
80051
80052# A C compiler.
80053LTCC=$lt_CC
80054
80055# LTCC compiler flags.
80056LTCFLAGS=$lt_CFLAGS
80057
80058# Take the output of nm and produce a listing of raw symbols and C names.
80059global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80060
80061# Transform the output of nm in a proper C declaration.
80062global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80063
80064# Transform the output of nm in a C name address pair.
80065global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80066
80067# Transform the output of nm in a C name address pair when lib prefix is needed.
80068global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80069
80070# The name of the directory that contains temporary libtool files.
80071objdir=$objdir
80072
80073# Used to examine libraries when file_magic_cmd begins with "file".
80074MAGIC_CMD=$MAGIC_CMD
80075
80076# Must we lock files when doing compilation?
80077need_locks=$lt_need_locks
80078
80079# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80080DSYMUTIL=$lt_DSYMUTIL
80081
80082# Tool to change global to local symbols on Mac OS X.
80083NMEDIT=$lt_NMEDIT
80084
80085# Tool to manipulate fat objects and archives on Mac OS X.
80086LIPO=$lt_LIPO
80087
80088# ldd/readelf like tool for Mach-O binaries on Mac OS X.
80089OTOOL=$lt_OTOOL
80090
80091# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80092OTOOL64=$lt_OTOOL64
80093
80094# Old archive suffix (normally "a").
80095libext=$libext
80096
80097# Shared library suffix (normally ".so").
80098shrext_cmds=$lt_shrext_cmds
80099
80100# The commands to extract the exported symbol list from a shared archive.
80101extract_expsyms_cmds=$lt_extract_expsyms_cmds
80102
80103# Variables whose values should be saved in libtool wrapper scripts and
80104# restored at link time.
80105variables_saved_for_relink=$lt_variables_saved_for_relink
80106
80107# Do we need the "lib" prefix for modules?
80108need_lib_prefix=$need_lib_prefix
80109
80110# Do we need a version for libraries?
80111need_version=$need_version
80112
80113# Library versioning type.
80114version_type=$version_type
80115
80116# Shared library runtime path variable.
80117runpath_var=$runpath_var
80118
80119# Shared library path variable.
80120shlibpath_var=$shlibpath_var
80121
80122# Is shlibpath searched before the hard-coded library search path?
80123shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80124
80125# Format of library name prefix.
80126libname_spec=$lt_libname_spec
80127
80128# List of archive names.  First name is the real one, the rest are links.
80129# The last name is the one that the linker finds with -lNAME
80130library_names_spec=$lt_library_names_spec
80131
80132# The coded name of the library, if different from the real name.
80133soname_spec=$lt_soname_spec
80134
80135# Permission mode override for installation of shared libraries.
80136install_override_mode=$lt_install_override_mode
80137
80138# Command to use after installation of a shared archive.
80139postinstall_cmds=$lt_postinstall_cmds
80140
80141# Command to use after uninstallation of a shared archive.
80142postuninstall_cmds=$lt_postuninstall_cmds
80143
80144# Commands used to finish a libtool library installation in a directory.
80145finish_cmds=$lt_finish_cmds
80146
80147# As "finish_cmds", except a single script fragment to be evaled but
80148# not shown.
80149finish_eval=$lt_finish_eval
80150
80151# Whether we should hardcode library paths into libraries.
80152hardcode_into_libs=$hardcode_into_libs
80153
80154# Compile-time system search path for libraries.
80155sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80156
80157# Run-time system search path for libraries.
80158sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80159
80160# Whether dlopen is supported.
80161dlopen_support=$enable_dlopen
80162
80163# Whether dlopen of programs is supported.
80164dlopen_self=$enable_dlopen_self
80165
80166# Whether dlopen of statically linked programs is supported.
80167dlopen_self_static=$enable_dlopen_self_static
80168
80169# Commands to strip libraries.
80170old_striplib=$lt_old_striplib
80171striplib=$lt_striplib
80172
80173
80174# The linker used to build libraries.
80175LD=$lt_LD
80176
80177# How to create reloadable object files.
80178reload_flag=$lt_reload_flag
80179reload_cmds=$lt_reload_cmds
80180
80181# Commands used to build an old-style archive.
80182old_archive_cmds=$lt_old_archive_cmds
80183
80184# A language specific compiler.
80185CC=$lt_compiler
80186
80187# Is the compiler the GNU compiler?
80188with_gcc=$GCC
80189
80190# Compiler flag to turn off builtin functions.
80191no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80192
80193# How to pass a linker flag through the compiler.
80194wl=$lt_lt_prog_compiler_wl
80195
80196# Additional compiler flags for building library objects.
80197pic_flag=$lt_lt_prog_compiler_pic
80198
80199# Compiler flag to prevent dynamic linking.
80200link_static_flag=$lt_lt_prog_compiler_static
80201
80202# Does compiler simultaneously support -c and -o options?
80203compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80204
80205# Whether or not to add -lc for building shared libraries.
80206build_libtool_need_lc=$archive_cmds_need_lc
80207
80208# Whether or not to disallow shared libs when runtime libs are static.
80209allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80210
80211# Compiler flag to allow reflexive dlopens.
80212export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80213
80214# Compiler flag to generate shared objects directly from archives.
80215whole_archive_flag_spec=$lt_whole_archive_flag_spec
80216
80217# Whether the compiler copes with passing no objects directly.
80218compiler_needs_object=$lt_compiler_needs_object
80219
80220# Create an old-style archive from a shared archive.
80221old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80222
80223# Create a temporary old-style archive to link instead of a shared archive.
80224old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80225
80226# Commands used to build a shared archive.
80227archive_cmds=$lt_archive_cmds
80228archive_expsym_cmds=$lt_archive_expsym_cmds
80229
80230# Commands used to build a loadable module if different from building
80231# a shared archive.
80232module_cmds=$lt_module_cmds
80233module_expsym_cmds=$lt_module_expsym_cmds
80234
80235# Whether we are building with GNU ld or not.
80236with_gnu_ld=$lt_with_gnu_ld
80237
80238# Flag that allows shared libraries with undefined symbols to be built.
80239allow_undefined_flag=$lt_allow_undefined_flag
80240
80241# Flag that enforces no undefined symbols.
80242no_undefined_flag=$lt_no_undefined_flag
80243
80244# Flag to hardcode \$libdir into a binary during linking.
80245# This must work even if \$libdir does not exist
80246hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80247
80248# If ld is used when linking, flag to hardcode \$libdir into a binary
80249# during linking.  This must work even if \$libdir does not exist.
80250hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80251
80252# Whether we need a single "-rpath" flag with a separated argument.
80253hardcode_libdir_separator=$lt_hardcode_libdir_separator
80254
80255# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80256# DIR into the resulting binary.
80257hardcode_direct=$hardcode_direct
80258
80259# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80260# DIR into the resulting binary and the resulting library dependency is
80261# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80262# library is relocated.
80263hardcode_direct_absolute=$hardcode_direct_absolute
80264
80265# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80266# into the resulting binary.
80267hardcode_minus_L=$hardcode_minus_L
80268
80269# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80270# into the resulting binary.
80271hardcode_shlibpath_var=$hardcode_shlibpath_var
80272
80273# Set to "yes" if building a shared library automatically hardcodes DIR
80274# into the library and all subsequent libraries and executables linked
80275# against it.
80276hardcode_automatic=$hardcode_automatic
80277
80278# Set to yes if linker adds runtime paths of dependent libraries
80279# to runtime path list.
80280inherit_rpath=$inherit_rpath
80281
80282# Whether libtool must link a program against all its dependency libraries.
80283link_all_deplibs=$link_all_deplibs
80284
80285# Fix the shell variable \$srcfile for the compiler.
80286fix_srcfile_path=$lt_fix_srcfile_path
80287
80288# Set to "yes" if exported symbols are required.
80289always_export_symbols=$always_export_symbols
80290
80291# The commands to list exported symbols.
80292export_symbols_cmds=$lt_export_symbols_cmds
80293
80294# Symbols that should not be listed in the preloaded symbols.
80295exclude_expsyms=$lt_exclude_expsyms
80296
80297# Symbols that must always be exported.
80298include_expsyms=$lt_include_expsyms
80299
80300# Commands necessary for linking programs (against libraries) with templates.
80301prelink_cmds=$lt_prelink_cmds
80302
80303# Specify filename containing input files.
80304file_list_spec=$lt_file_list_spec
80305
80306# How to hardcode a shared library path into an executable.
80307hardcode_action=$hardcode_action
80308
80309# The directories searched by this compiler when creating a shared library.
80310compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80311
80312# Dependencies to place before and after the objects being linked to
80313# create a shared library.
80314predep_objects=$lt_predep_objects
80315postdep_objects=$lt_postdep_objects
80316predeps=$lt_predeps
80317postdeps=$lt_postdeps
80318
80319# The library search path used internally by the compiler when linking
80320# a shared library.
80321compiler_lib_search_path=$lt_compiler_lib_search_path
80322
80323# ### END LIBTOOL CONFIG
80324
80325_LT_EOF
80326
80327  case $host_os in
80328  aix3*)
80329    cat <<\_LT_EOF >> "$cfgfile"
80330# AIX sometimes has problems with the GCC collect2 program.  For some
80331# reason, if we set the COLLECT_NAMES environment variable, the problems
80332# vanish in a puff of smoke.
80333if test "X${COLLECT_NAMES+set}" != Xset; then
80334  COLLECT_NAMES=
80335  export COLLECT_NAMES
80336fi
80337_LT_EOF
80338    ;;
80339  esac
80340
80341
80342ltmain="$ac_aux_dir/ltmain.sh"
80343
80344
80345  # We use sed instead of cat because bash on DJGPP gets confused if
80346  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
80347  # text mode, it properly converts lines to CR/LF.  This bash problem
80348  # is reportedly fixed, but why not run on old versions too?
80349  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80350    || (rm -f "$cfgfile"; exit 1)
80351
80352  case $xsi_shell in
80353  yes)
80354    cat << \_LT_EOF >> "$cfgfile"
80355
80356# func_dirname file append nondir_replacement
80357# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
80358# otherwise set result to NONDIR_REPLACEMENT.
80359func_dirname ()
80360{
80361  case ${1} in
80362    */*) func_dirname_result="${1%/*}${2}" ;;
80363    *  ) func_dirname_result="${3}" ;;
80364  esac
80365}
80366
80367# func_basename file
80368func_basename ()
80369{
80370  func_basename_result="${1##*/}"
80371}
80372
80373# func_dirname_and_basename file append nondir_replacement
80374# perform func_basename and func_dirname in a single function
80375# call:
80376#   dirname:  Compute the dirname of FILE.  If nonempty,
80377#             add APPEND to the result, otherwise set result
80378#             to NONDIR_REPLACEMENT.
80379#             value returned in "$func_dirname_result"
80380#   basename: Compute filename of FILE.
80381#             value retuned in "$func_basename_result"
80382# Implementation must be kept synchronized with func_dirname
80383# and func_basename. For efficiency, we do not delegate to
80384# those functions but instead duplicate the functionality here.
80385func_dirname_and_basename ()
80386{
80387  case ${1} in
80388    */*) func_dirname_result="${1%/*}${2}" ;;
80389    *  ) func_dirname_result="${3}" ;;
80390  esac
80391  func_basename_result="${1##*/}"
80392}
80393
80394# func_stripname prefix suffix name
80395# strip PREFIX and SUFFIX off of NAME.
80396# PREFIX and SUFFIX must not contain globbing or regex special
80397# characters, hashes, percent signs, but SUFFIX may contain a leading
80398# dot (in which case that matches only a dot).
80399func_stripname ()
80400{
80401  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80402  # positional parameters, so assign one to ordinary parameter first.
80403  func_stripname_result=${3}
80404  func_stripname_result=${func_stripname_result#"${1}"}
80405  func_stripname_result=${func_stripname_result%"${2}"}
80406}
80407
80408# func_opt_split
80409func_opt_split ()
80410{
80411  func_opt_split_opt=${1%%=*}
80412  func_opt_split_arg=${1#*=}
80413}
80414
80415# func_lo2o object
80416func_lo2o ()
80417{
80418  case ${1} in
80419    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80420    *)    func_lo2o_result=${1} ;;
80421  esac
80422}
80423
80424# func_xform libobj-or-source
80425func_xform ()
80426{
80427  func_xform_result=${1%.*}.lo
80428}
80429
80430# func_arith arithmetic-term...
80431func_arith ()
80432{
80433  func_arith_result=$(( $* ))
80434}
80435
80436# func_len string
80437# STRING may not start with a hyphen.
80438func_len ()
80439{
80440  func_len_result=${#1}
80441}
80442
80443_LT_EOF
80444    ;;
80445  *) # Bourne compatible functions.
80446    cat << \_LT_EOF >> "$cfgfile"
80447
80448# func_dirname file append nondir_replacement
80449# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
80450# otherwise set result to NONDIR_REPLACEMENT.
80451func_dirname ()
80452{
80453  # Extract subdirectory from the argument.
80454  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80455  if test "X$func_dirname_result" = "X${1}"; then
80456    func_dirname_result="${3}"
80457  else
80458    func_dirname_result="$func_dirname_result${2}"
80459  fi
80460}
80461
80462# func_basename file
80463func_basename ()
80464{
80465  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80466}
80467
80468
80469# func_stripname prefix suffix name
80470# strip PREFIX and SUFFIX off of NAME.
80471# PREFIX and SUFFIX must not contain globbing or regex special
80472# characters, hashes, percent signs, but SUFFIX may contain a leading
80473# dot (in which case that matches only a dot).
80474# func_strip_suffix prefix name
80475func_stripname ()
80476{
80477  case ${2} in
80478    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80479    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80480  esac
80481}
80482
80483# sed scripts:
80484my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80485my_sed_long_arg='1s/^-[^=]*=//'
80486
80487# func_opt_split
80488func_opt_split ()
80489{
80490  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80491  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80492}
80493
80494# func_lo2o object
80495func_lo2o ()
80496{
80497  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80498}
80499
80500# func_xform libobj-or-source
80501func_xform ()
80502{
80503  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80504}
80505
80506# func_arith arithmetic-term...
80507func_arith ()
80508{
80509  func_arith_result=`expr "$@"`
80510}
80511
80512# func_len string
80513# STRING may not start with a hyphen.
80514func_len ()
80515{
80516  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80517}
80518
80519_LT_EOF
80520esac
80521
80522case $lt_shell_append in
80523  yes)
80524    cat << \_LT_EOF >> "$cfgfile"
80525
80526# func_append var value
80527# Append VALUE to the end of shell variable VAR.
80528func_append ()
80529{
80530  eval "$1+=\$2"
80531}
80532_LT_EOF
80533    ;;
80534  *)
80535    cat << \_LT_EOF >> "$cfgfile"
80536
80537# func_append var value
80538# Append VALUE to the end of shell variable VAR.
80539func_append ()
80540{
80541  eval "$1=\$$1\$2"
80542}
80543
80544_LT_EOF
80545    ;;
80546  esac
80547
80548
80549  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80550    || (rm -f "$cfgfile"; exit 1)
80551
80552  mv -f "$cfgfile" "$ofile" ||
80553    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80554  chmod +x "$ofile"
80555
80556
80557    cat <<_LT_EOF >> "$ofile"
80558
80559# ### BEGIN LIBTOOL TAG CONFIG: CXX
80560
80561# The linker used to build libraries.
80562LD=$lt_LD_CXX
80563
80564# How to create reloadable object files.
80565reload_flag=$lt_reload_flag_CXX
80566reload_cmds=$lt_reload_cmds_CXX
80567
80568# Commands used to build an old-style archive.
80569old_archive_cmds=$lt_old_archive_cmds_CXX
80570
80571# A language specific compiler.
80572CC=$lt_compiler_CXX
80573
80574# Is the compiler the GNU compiler?
80575with_gcc=$GCC_CXX
80576
80577# Compiler flag to turn off builtin functions.
80578no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80579
80580# How to pass a linker flag through the compiler.
80581wl=$lt_lt_prog_compiler_wl_CXX
80582
80583# Additional compiler flags for building library objects.
80584pic_flag=$lt_lt_prog_compiler_pic_CXX
80585
80586# Compiler flag to prevent dynamic linking.
80587link_static_flag=$lt_lt_prog_compiler_static_CXX
80588
80589# Does compiler simultaneously support -c and -o options?
80590compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80591
80592# Whether or not to add -lc for building shared libraries.
80593build_libtool_need_lc=$archive_cmds_need_lc_CXX
80594
80595# Whether or not to disallow shared libs when runtime libs are static.
80596allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80597
80598# Compiler flag to allow reflexive dlopens.
80599export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80600
80601# Compiler flag to generate shared objects directly from archives.
80602whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80603
80604# Whether the compiler copes with passing no objects directly.
80605compiler_needs_object=$lt_compiler_needs_object_CXX
80606
80607# Create an old-style archive from a shared archive.
80608old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80609
80610# Create a temporary old-style archive to link instead of a shared archive.
80611old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80612
80613# Commands used to build a shared archive.
80614archive_cmds=$lt_archive_cmds_CXX
80615archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80616
80617# Commands used to build a loadable module if different from building
80618# a shared archive.
80619module_cmds=$lt_module_cmds_CXX
80620module_expsym_cmds=$lt_module_expsym_cmds_CXX
80621
80622# Whether we are building with GNU ld or not.
80623with_gnu_ld=$lt_with_gnu_ld_CXX
80624
80625# Flag that allows shared libraries with undefined symbols to be built.
80626allow_undefined_flag=$lt_allow_undefined_flag_CXX
80627
80628# Flag that enforces no undefined symbols.
80629no_undefined_flag=$lt_no_undefined_flag_CXX
80630
80631# Flag to hardcode \$libdir into a binary during linking.
80632# This must work even if \$libdir does not exist
80633hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80634
80635# If ld is used when linking, flag to hardcode \$libdir into a binary
80636# during linking.  This must work even if \$libdir does not exist.
80637hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80638
80639# Whether we need a single "-rpath" flag with a separated argument.
80640hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80641
80642# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80643# DIR into the resulting binary.
80644hardcode_direct=$hardcode_direct_CXX
80645
80646# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80647# DIR into the resulting binary and the resulting library dependency is
80648# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80649# library is relocated.
80650hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80651
80652# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80653# into the resulting binary.
80654hardcode_minus_L=$hardcode_minus_L_CXX
80655
80656# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80657# into the resulting binary.
80658hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80659
80660# Set to "yes" if building a shared library automatically hardcodes DIR
80661# into the library and all subsequent libraries and executables linked
80662# against it.
80663hardcode_automatic=$hardcode_automatic_CXX
80664
80665# Set to yes if linker adds runtime paths of dependent libraries
80666# to runtime path list.
80667inherit_rpath=$inherit_rpath_CXX
80668
80669# Whether libtool must link a program against all its dependency libraries.
80670link_all_deplibs=$link_all_deplibs_CXX
80671
80672# Fix the shell variable \$srcfile for the compiler.
80673fix_srcfile_path=$lt_fix_srcfile_path_CXX
80674
80675# Set to "yes" if exported symbols are required.
80676always_export_symbols=$always_export_symbols_CXX
80677
80678# The commands to list exported symbols.
80679export_symbols_cmds=$lt_export_symbols_cmds_CXX
80680
80681# Symbols that should not be listed in the preloaded symbols.
80682exclude_expsyms=$lt_exclude_expsyms_CXX
80683
80684# Symbols that must always be exported.
80685include_expsyms=$lt_include_expsyms_CXX
80686
80687# Commands necessary for linking programs (against libraries) with templates.
80688prelink_cmds=$lt_prelink_cmds_CXX
80689
80690# Specify filename containing input files.
80691file_list_spec=$lt_file_list_spec_CXX
80692
80693# How to hardcode a shared library path into an executable.
80694hardcode_action=$hardcode_action_CXX
80695
80696# The directories searched by this compiler when creating a shared library.
80697compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80698
80699# Dependencies to place before and after the objects being linked to
80700# create a shared library.
80701predep_objects=$lt_predep_objects_CXX
80702postdep_objects=$lt_postdep_objects_CXX
80703predeps=$lt_predeps_CXX
80704postdeps=$lt_postdeps_CXX
80705
80706# The library search path used internally by the compiler when linking
80707# a shared library.
80708compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80709
80710# ### END LIBTOOL TAG CONFIG: CXX
80711_LT_EOF
80712
80713 ;;
80714    "include/gstdint.h":C)
80715if test "$GCC" = yes; then
80716  echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80717else
80718  echo "/* generated for $CC */" > tmp-stdint.h
80719fi
80720
80721sed 's/^ *//' >> tmp-stdint.h <<EOF
80722
80723  #ifndef GCC_GENERATED_STDINT_H
80724  #define GCC_GENERATED_STDINT_H 1
80725
80726  #include <sys/types.h>
80727EOF
80728
80729if test "$acx_cv_header_stdint" != stdint.h; then
80730  echo "#include <stddef.h>" >> tmp-stdint.h
80731fi
80732if test "$acx_cv_header_stdint" != stddef.h; then
80733  echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80734fi
80735
80736sed 's/^ *//' >> tmp-stdint.h <<EOF
80737  /* glibc uses these symbols as guards to prevent redefinitions.  */
80738  #ifdef __int8_t_defined
80739  #define _INT8_T
80740  #define _INT16_T
80741  #define _INT32_T
80742  #endif
80743  #ifdef __uint32_t_defined
80744  #define _UINT32_T
80745  #endif
80746
80747EOF
80748
80749# ----------------- done header, emit basic int types -------------
80750if test "$acx_cv_header_stdint" = stddef.h; then
80751  sed 's/^ *//' >> tmp-stdint.h <<EOF
80752
80753    #ifndef _UINT8_T
80754    #define _UINT8_T
80755    #ifndef __uint8_t_defined
80756    #define __uint8_t_defined
80757    #ifndef uint8_t
80758    typedef unsigned $acx_cv_type_int8_t uint8_t;
80759    #endif
80760    #endif
80761    #endif
80762
80763    #ifndef _UINT16_T
80764    #define _UINT16_T
80765    #ifndef __uint16_t_defined
80766    #define __uint16_t_defined
80767    #ifndef uint16_t
80768    typedef unsigned $acx_cv_type_int16_t uint16_t;
80769    #endif
80770    #endif
80771    #endif
80772
80773    #ifndef _UINT32_T
80774    #define _UINT32_T
80775    #ifndef __uint32_t_defined
80776    #define __uint32_t_defined
80777    #ifndef uint32_t
80778    typedef unsigned $acx_cv_type_int32_t uint32_t;
80779    #endif
80780    #endif
80781    #endif
80782
80783    #ifndef _INT8_T
80784    #define _INT8_T
80785    #ifndef __int8_t_defined
80786    #define __int8_t_defined
80787    #ifndef int8_t
80788    typedef $acx_cv_type_int8_t int8_t;
80789    #endif
80790    #endif
80791    #endif
80792
80793    #ifndef _INT16_T
80794    #define _INT16_T
80795    #ifndef __int16_t_defined
80796    #define __int16_t_defined
80797    #ifndef int16_t
80798    typedef $acx_cv_type_int16_t int16_t;
80799    #endif
80800    #endif
80801    #endif
80802
80803    #ifndef _INT32_T
80804    #define _INT32_T
80805    #ifndef __int32_t_defined
80806    #define __int32_t_defined
80807    #ifndef int32_t
80808    typedef $acx_cv_type_int32_t int32_t;
80809    #endif
80810    #endif
80811    #endif
80812EOF
80813elif test "$ac_cv_type_u_int32_t" = yes; then
80814  sed 's/^ *//' >> tmp-stdint.h <<EOF
80815
80816    /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
80817    #ifndef _INT8_T
80818    #define _INT8_T
80819    #endif
80820    #ifndef _INT16_T
80821    #define _INT16_T
80822    #endif
80823    #ifndef _INT32_T
80824    #define _INT32_T
80825    #endif
80826
80827    #ifndef _UINT8_T
80828    #define _UINT8_T
80829    #ifndef __uint8_t_defined
80830    #define __uint8_t_defined
80831    #ifndef uint8_t
80832    typedef u_int8_t uint8_t;
80833    #endif
80834    #endif
80835    #endif
80836
80837    #ifndef _UINT16_T
80838    #define _UINT16_T
80839    #ifndef __uint16_t_defined
80840    #define __uint16_t_defined
80841    #ifndef uint16_t
80842    typedef u_int16_t uint16_t;
80843    #endif
80844    #endif
80845    #endif
80846
80847    #ifndef _UINT32_T
80848    #define _UINT32_T
80849    #ifndef __uint32_t_defined
80850    #define __uint32_t_defined
80851    #ifndef uint32_t
80852    typedef u_int32_t uint32_t;
80853    #endif
80854    #endif
80855    #endif
80856EOF
80857else
80858  sed 's/^ *//' >> tmp-stdint.h <<EOF
80859
80860    /* Some systems have guard macros to prevent redefinitions, define them.  */
80861    #ifndef _INT8_T
80862    #define _INT8_T
80863    #endif
80864    #ifndef _INT16_T
80865    #define _INT16_T
80866    #endif
80867    #ifndef _INT32_T
80868    #define _INT32_T
80869    #endif
80870    #ifndef _UINT8_T
80871    #define _UINT8_T
80872    #endif
80873    #ifndef _UINT16_T
80874    #define _UINT16_T
80875    #endif
80876    #ifndef _UINT32_T
80877    #define _UINT32_T
80878    #endif
80879EOF
80880fi
80881
80882# ------------- done basic int types, emit int64_t types ------------
80883if test "$ac_cv_type_uint64_t" = yes; then
80884  sed 's/^ *//' >> tmp-stdint.h <<EOF
80885
80886    /* system headers have good uint64_t and int64_t */
80887    #ifndef _INT64_T
80888    #define _INT64_T
80889    #endif
80890    #ifndef _UINT64_T
80891    #define _UINT64_T
80892    #endif
80893EOF
80894elif test "$ac_cv_type_u_int64_t" = yes; then
80895  sed 's/^ *//' >> tmp-stdint.h <<EOF
80896
80897    /* system headers have an u_int64_t (and int64_t) */
80898    #ifndef _INT64_T
80899    #define _INT64_T
80900    #endif
80901    #ifndef _UINT64_T
80902    #define _UINT64_T
80903    #ifndef __uint64_t_defined
80904    #define __uint64_t_defined
80905    #ifndef uint64_t
80906    typedef u_int64_t uint64_t;
80907    #endif
80908    #endif
80909    #endif
80910EOF
80911elif test -n "$acx_cv_type_int64_t"; then
80912  sed 's/^ *//' >> tmp-stdint.h <<EOF
80913
80914    /* architecture has a 64-bit type, $acx_cv_type_int64_t */
80915    #ifndef _INT64_T
80916    #define _INT64_T
80917    #ifndef int64_t
80918    typedef $acx_cv_type_int64_t int64_t;
80919    #endif
80920    #endif
80921    #ifndef _UINT64_T
80922    #define _UINT64_T
80923    #ifndef __uint64_t_defined
80924    #define __uint64_t_defined
80925    #ifndef uint64_t
80926    typedef unsigned $acx_cv_type_int64_t uint64_t;
80927    #endif
80928    #endif
80929    #endif
80930EOF
80931else
80932  sed 's/^ *//' >> tmp-stdint.h <<EOF
80933
80934    /* some common heuristics for int64_t, using compiler-specific tests */
80935    #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
80936    #ifndef _INT64_T
80937    #define _INT64_T
80938    #ifndef __int64_t_defined
80939    #ifndef int64_t
80940    typedef long long int64_t;
80941    #endif
80942    #endif
80943    #endif
80944    #ifndef _UINT64_T
80945    #define _UINT64_T
80946    #ifndef uint64_t
80947    typedef unsigned long long uint64_t;
80948    #endif
80949    #endif
80950
80951    #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
80952    /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
80953       does not implement __extension__.  But that compiler doesn't define
80954       __GNUC_MINOR__.  */
80955    # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
80956    # define __extension__
80957    # endif
80958
80959    # ifndef _INT64_T
80960    # define _INT64_T
80961    # ifndef int64_t
80962    __extension__ typedef long long int64_t;
80963    # endif
80964    # endif
80965    # ifndef _UINT64_T
80966    # define _UINT64_T
80967    # ifndef uint64_t
80968    __extension__ typedef unsigned long long uint64_t;
80969    # endif
80970    # endif
80971
80972    #elif !defined __STRICT_ANSI__
80973    # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
80974
80975    #  ifndef _INT64_T
80976    #  define _INT64_T
80977    #  ifndef int64_t
80978    typedef __int64 int64_t;
80979    #  endif
80980    #  endif
80981    #  ifndef _UINT64_T
80982    #  define _UINT64_T
80983    #  ifndef uint64_t
80984    typedef unsigned __int64 uint64_t;
80985    #  endif
80986    #  endif
80987    # endif /* compiler */
80988
80989    #endif /* ANSI version */
80990EOF
80991fi
80992
80993# ------------- done int64_t types, emit intptr types ------------
80994if test "$ac_cv_type_uintptr_t" != yes; then
80995  sed 's/^ *//' >> tmp-stdint.h <<EOF
80996
80997    /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
80998    #ifndef __uintptr_t_defined
80999    #ifndef uintptr_t
81000    typedef u$acx_cv_type_intptr_t uintptr_t;
81001    #endif
81002    #endif
81003    #ifndef __intptr_t_defined
81004    #ifndef intptr_t
81005    typedef $acx_cv_type_intptr_t  intptr_t;
81006    #endif
81007    #endif
81008EOF
81009fi
81010
81011# ------------- done intptr types, emit int_least types ------------
81012if test "$ac_cv_type_int_least32_t" != yes; then
81013  sed 's/^ *//' >> tmp-stdint.h <<EOF
81014
81015    /* Define int_least types */
81016    typedef int8_t     int_least8_t;
81017    typedef int16_t    int_least16_t;
81018    typedef int32_t    int_least32_t;
81019    #ifdef _INT64_T
81020    typedef int64_t    int_least64_t;
81021    #endif
81022
81023    typedef uint8_t    uint_least8_t;
81024    typedef uint16_t   uint_least16_t;
81025    typedef uint32_t   uint_least32_t;
81026    #ifdef _UINT64_T
81027    typedef uint64_t   uint_least64_t;
81028    #endif
81029EOF
81030fi
81031
81032# ------------- done intptr types, emit int_fast types ------------
81033if test "$ac_cv_type_int_fast32_t" != yes; then
81034      sed 's/^ *//' >> tmp-stdint.h <<EOF
81035
81036    /* Define int_fast types.  short is often slow */
81037    typedef int8_t       int_fast8_t;
81038    typedef int          int_fast16_t;
81039    typedef int32_t      int_fast32_t;
81040    #ifdef _INT64_T
81041    typedef int64_t      int_fast64_t;
81042    #endif
81043
81044    typedef uint8_t      uint_fast8_t;
81045    typedef unsigned int uint_fast16_t;
81046    typedef uint32_t     uint_fast32_t;
81047    #ifdef _UINT64_T
81048    typedef uint64_t     uint_fast64_t;
81049    #endif
81050EOF
81051fi
81052
81053if test "$ac_cv_type_uintmax_t" != yes; then
81054  sed 's/^ *//' >> tmp-stdint.h <<EOF
81055
81056    /* Define intmax based on what we found */
81057    #ifndef intmax_t
81058    #ifdef _INT64_T
81059    typedef int64_t       intmax_t;
81060    #else
81061    typedef long          intmax_t;
81062    #endif
81063    #endif
81064    #ifndef uintmax_t
81065    #ifdef _UINT64_T
81066    typedef uint64_t      uintmax_t;
81067    #else
81068    typedef unsigned long uintmax_t;
81069    #endif
81070    #endif
81071EOF
81072fi
81073
81074sed 's/^ *//' >> tmp-stdint.h <<EOF
81075
81076  #endif /* GCC_GENERATED_STDINT_H */
81077EOF
81078
81079if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81080  rm -f tmp-stdint.h
81081else
81082  mv -f tmp-stdint.h include/gstdint.h
81083fi
81084
81085 ;;
81086    "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81087    "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81088    "include/Makefile":F) cat > vpsed$$ << \_EOF
81089s!`test -f '$<' || echo '$(srcdir)/'`!!
81090_EOF
81091   sed -f vpsed$$ $ac_file > tmp$$
81092   mv tmp$$ $ac_file
81093   rm vpsed$$
81094   echo 'MULTISUBDIR =' >> $ac_file
81095   ml_norecursion=yes
81096   . ${multi_basedir}/config-ml.in
81097   { ml_norecursion=; unset ml_norecursion;}
81098 ;;
81099    "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81100s!`test -f '$<' || echo '$(srcdir)/'`!!
81101_EOF
81102   sed -f vpsed$$ $ac_file > tmp$$
81103   mv tmp$$ $ac_file
81104   rm vpsed$$
81105   echo 'MULTISUBDIR =' >> $ac_file
81106   ml_norecursion=yes
81107   . ${multi_basedir}/config-ml.in
81108   { ml_norecursion=; unset ml_norecursion;}
81109 ;;
81110    "src/Makefile":F) cat > vpsed$$ << \_EOF
81111s!`test -f '$<' || echo '$(srcdir)/'`!!
81112_EOF
81113   sed -f vpsed$$ $ac_file > tmp$$
81114   mv tmp$$ $ac_file
81115   rm vpsed$$
81116   echo 'MULTISUBDIR =' >> $ac_file
81117   ml_norecursion=yes
81118   . ${multi_basedir}/config-ml.in
81119   { ml_norecursion=; unset ml_norecursion;}
81120 ;;
81121    "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81122s!`test -f '$<' || echo '$(srcdir)/'`!!
81123_EOF
81124   sed -f vpsed$$ $ac_file > tmp$$
81125   mv tmp$$ $ac_file
81126   rm vpsed$$
81127   echo 'MULTISUBDIR =' >> $ac_file
81128   ml_norecursion=yes
81129   . ${multi_basedir}/config-ml.in
81130   { ml_norecursion=; unset ml_norecursion;}
81131 ;;
81132    "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81133s!`test -f '$<' || echo '$(srcdir)/'`!!
81134_EOF
81135   sed -f vpsed$$ $ac_file > tmp$$
81136   mv tmp$$ $ac_file
81137   rm vpsed$$
81138   echo 'MULTISUBDIR =' >> $ac_file
81139   ml_norecursion=yes
81140   . ${multi_basedir}/config-ml.in
81141   { ml_norecursion=; unset ml_norecursion;}
81142 ;;
81143    "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81144s!`test -f '$<' || echo '$(srcdir)/'`!!
81145_EOF
81146   sed -f vpsed$$ $ac_file > tmp$$
81147   mv tmp$$ $ac_file
81148   rm vpsed$$
81149   echo 'MULTISUBDIR =' >> $ac_file
81150   ml_norecursion=yes
81151   . ${multi_basedir}/config-ml.in
81152   { ml_norecursion=; unset ml_norecursion;}
81153 ;;
81154    "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81155s!`test -f '$<' || echo '$(srcdir)/'`!!
81156_EOF
81157   sed -f vpsed$$ $ac_file > tmp$$
81158   mv tmp$$ $ac_file
81159   rm vpsed$$
81160   echo 'MULTISUBDIR =' >> $ac_file
81161   ml_norecursion=yes
81162   . ${multi_basedir}/config-ml.in
81163   { ml_norecursion=; unset ml_norecursion;}
81164 ;;
81165    "doc/Makefile":F) cat > vpsed$$ << \_EOF
81166s!`test -f '$<' || echo '$(srcdir)/'`!!
81167_EOF
81168   sed -f vpsed$$ $ac_file > tmp$$
81169   mv tmp$$ $ac_file
81170   rm vpsed$$
81171   echo 'MULTISUBDIR =' >> $ac_file
81172   ml_norecursion=yes
81173   . ${multi_basedir}/config-ml.in
81174   { ml_norecursion=; unset ml_norecursion;}
81175 ;;
81176    "po/Makefile":F) cat > vpsed$$ << \_EOF
81177s!`test -f '$<' || echo '$(srcdir)/'`!!
81178_EOF
81179   sed -f vpsed$$ $ac_file > tmp$$
81180   mv tmp$$ $ac_file
81181   rm vpsed$$
81182   echo 'MULTISUBDIR =' >> $ac_file
81183   ml_norecursion=yes
81184   . ${multi_basedir}/config-ml.in
81185   { ml_norecursion=; unset ml_norecursion;}
81186 ;;
81187    "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81188s!`test -f '$<' || echo '$(srcdir)/'`!!
81189_EOF
81190   sed -f vpsed$$ $ac_file > tmp$$
81191   mv tmp$$ $ac_file
81192   rm vpsed$$
81193   echo 'MULTISUBDIR =' >> $ac_file
81194   ml_norecursion=yes
81195   . ${multi_basedir}/config-ml.in
81196   { ml_norecursion=; unset ml_norecursion;}
81197 ;;
81198    "python/Makefile":F) cat > vpsed$$ << \_EOF
81199s!`test -f '$<' || echo '$(srcdir)/'`!!
81200_EOF
81201   sed -f vpsed$$ $ac_file > tmp$$
81202   mv tmp$$ $ac_file
81203   rm vpsed$$
81204   echo 'MULTISUBDIR =' >> $ac_file
81205   ml_norecursion=yes
81206   . ${multi_basedir}/config-ml.in
81207   { ml_norecursion=; unset ml_norecursion;}
81208 ;;
81209    "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81210
81211  esac
81212done # for ac_tag
81213
81214
81215as_fn_exit 0
81216_ACEOF
81217ac_clean_files=$ac_clean_files_save
81218
81219test $ac_write_fail = 0 ||
81220  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81221
81222
81223# configure is writing to config.log, and then calls config.status.
81224# config.status does its own redirection, appending to config.log.
81225# Unfortunately, on DOS this fails, as config.log is still kept open
81226# by configure, so config.status won't be able to write to it; its
81227# output is simply discarded.  So we exec the FD to /dev/null,
81228# effectively closing config.log, so it can be properly (re)opened and
81229# appended to by config.status.  When coming back to configure, we
81230# need to make the FD available again.
81231if test "$no_create" != yes; then
81232  ac_cs_success=:
81233  ac_config_status_args=
81234  test "$silent" = yes &&
81235    ac_config_status_args="$ac_config_status_args --quiet"
81236  exec 5>/dev/null
81237  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81238  exec 5>>config.log
81239  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81240  # would make configure fail if this is the last instruction.
81241  $ac_cs_success || as_fn_exit 1
81242fi
81243if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81244  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81245$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
81246fi
81247
81248