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
646tmake_file
647CPU_OPT_BITS_RANDOM
648CPU_OPT_EXT_RANDOM
649ERROR_CONSTANTS_SRCDIR
650OS_INC_SRCDIR
651ABI_TWEAKS_SRCDIR
652CPU_DEFINES_SRCDIR
653ATOMIC_FLAGS
654ATOMIC_WORD_SRCDIR
655ATOMICITY_SRCDIR
656INCLUDE_DIR_NOTPARALLEL_FALSE
657INCLUDE_DIR_NOTPARALLEL_TRUE
658BUILD_PDF_FALSE
659BUILD_PDF_TRUE
660PDFLATEX
661DBLATEX
662BUILD_MAN_FALSE
663BUILD_MAN_TRUE
664BUILD_HTML_FALSE
665BUILD_HTML_TRUE
666BUILD_XML_FALSE
667BUILD_XML_TRUE
668BUILD_EPUB_FALSE
669BUILD_EPUB_TRUE
670XSL_STYLE_DIR
671XMLLINT
672XSLTPROC
673XMLCATALOG
674DOT
675DOXYGEN
676BUILD_INFO_FALSE
677BUILD_INFO_TRUE
678ENABLE_FILESYSTEM_TS_FALSE
679ENABLE_FILESYSTEM_TS_TRUE
680baseline_subdir_switch
681baseline_dir
682HWCAP_CFLAGS
683GLIBCXX_LDBL_ALT128_COMPAT_FALSE
684GLIBCXX_LDBL_ALT128_COMPAT_TRUE
685GLIBCXX_LDBL_COMPAT_FALSE
686GLIBCXX_LDBL_COMPAT_TRUE
687LONG_DOUBLE_ALT128_COMPAT_FLAGS
688LONG_DOUBLE_128_FLAGS
689LONG_DOUBLE_COMPAT_FLAGS
690ENABLE_CXX11_ABI_FALSE
691ENABLE_CXX11_ABI_TRUE
692glibcxx_cxx98_abi
693ENABLE_DUAL_ABI_FALSE
694ENABLE_DUAL_ABI_TRUE
695ENABLE_VISIBILITY_FALSE
696ENABLE_VISIBILITY_TRUE
697libtool_VERSION
698ENABLE_SYMVERS_SUN_FALSE
699ENABLE_SYMVERS_SUN_TRUE
700ENABLE_SYMVERS_DARWIN_FALSE
701ENABLE_SYMVERS_DARWIN_TRUE
702ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
703ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
704ENABLE_SYMVERS_GNU_FALSE
705ENABLE_SYMVERS_GNU_TRUE
706ENABLE_SYMVERS_FALSE
707ENABLE_SYMVERS_TRUE
708port_specific_symbol_files
709SYMVER_FILE
710CXXFILT
711LTLIBICONV
712LIBICONV
713OPT_LDFLAGS
714SECTION_LDFLAGS
715GLIBCXX_LIBS
716ENABLE_VTABLE_VERIFY_FALSE
717ENABLE_VTABLE_VERIFY_TRUE
718VTV_CYGMIN_FALSE
719VTV_CYGMIN_TRUE
720VTV_CXXLINKFLAGS
721VTV_PCH_CXXFLAGS
722VTV_CXXFLAGS
723ENABLE_WERROR_FALSE
724ENABLE_WERROR_TRUE
725ENABLE_PYTHONDIR_FALSE
726ENABLE_PYTHONDIR_TRUE
727python_mod_dir
728ENABLE_EXTERN_TEMPLATE_FALSE
729ENABLE_EXTERN_TEMPLATE_TRUE
730EXTRA_CXX_FLAGS
731GLIBCXX_BUILD_DEBUG_FALSE
732GLIBCXX_BUILD_DEBUG_TRUE
733DEBUG_FLAGS
734GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
735GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
736GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
737GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
738GLIBCXX_C_HEADERS_C_STD_FALSE
739GLIBCXX_C_HEADERS_C_STD_TRUE
740GLIBCXX_C_HEADERS_C_FALSE
741GLIBCXX_C_HEADERS_C_TRUE
742C_INCLUDE_DIR
743ALLOCATOR_NAME
744ALLOCATOR_H
745ENABLE_ALLOCATOR_NEW_FALSE
746ENABLE_ALLOCATOR_NEW_TRUE
747CLOCALE_INTERNAL_H
748CLOCALE_CC
749CTIME_CC
750CTIME_H
751CNUMERIC_CC
752CMONEY_CC
753CMESSAGES_CC
754CCTYPE_CC
755CCOLLATE_CC
756CCODECVT_CC
757CMESSAGES_H
758CLOCALE_H
759USE_NLS
760glibcxx_localedir
761glibcxx_POFILES
762glibcxx_MOFILES
763check_msgfmt
764BASIC_FILE_CC
765BASIC_FILE_H
766CSTDIO_H
767SECTION_FLAGS
768ENABLE_FLOAT128_FALSE
769ENABLE_FLOAT128_TRUE
770thread_header
771glibcxx_PCHFLAGS
772GLIBCXX_BUILD_PCH_FALSE
773GLIBCXX_BUILD_PCH_TRUE
774GLIBCXX_HOSTED_FALSE
775GLIBCXX_HOSTED_TRUE
776glibcxx_compiler_shared_flag
777glibcxx_compiler_pic_flag
778glibcxx_lt_pic_flag
779enable_static
780enable_shared
781lt_host_flags
782CXXCPP
783OTOOL64
784OTOOL
785LIPO
786NMEDIT
787DSYMUTIL
788OBJDUMP
789NM
790ac_ct_DUMPBIN
791DUMPBIN
792LD
793FGREP
794SED
795LIBTOOL
796EGREP
797GREP
798CPP
799MAINT
800MAINTAINER_MODE_FALSE
801MAINTAINER_MODE_TRUE
802RANLIB
803AR
804AS
805LN_S
806toplevel_srcdir
807toplevel_builddir
808glibcxx_srcdir
809glibcxx_builddir
810ac_ct_CXX
811CXXFLAGS
812CXX
813OBJEXT
814EXEEXT
815ac_ct_CC
816CPPFLAGS
817LDFLAGS
818CFLAGS
819CC
820AM_BACKSLASH
821AM_DEFAULT_VERBOSITY
822AM_DEFAULT_V
823AM_V
824am__untar
825am__tar
826AMTAR
827am__leading_dot
828SET_MAKE
829AWK
830mkdir_p
831MKDIR_P
832INSTALL_STRIP_PROGRAM
833STRIP
834install_sh
835MAKEINFO
836AUTOHEADER
837AUTOMAKE
838AUTOCONF
839ACLOCAL
840VERSION
841PACKAGE
842CYGPATH_W
843am__isrc
844INSTALL_DATA
845INSTALL_SCRIPT
846INSTALL_PROGRAM
847target_os
848target_vendor
849target_cpu
850target
851host_os
852host_vendor
853host_cpu
854host
855build_os
856build_vendor
857build_cpu
858build
859multi_basedir
860target_alias
861host_alias
862build_alias
863LIBS
864ECHO_T
865ECHO_N
866ECHO_C
867DEFS
868mandir
869localedir
870libdir
871psdir
872pdfdir
873dvidir
874htmldir
875infodir
876docdir
877oldincludedir
878includedir
879localstatedir
880sharedstatedir
881sysconfdir
882datadir
883datarootdir
884libexecdir
885sbindir
886bindir
887program_transform_name
888prefix
889exec_prefix
890PACKAGE_URL
891PACKAGE_BUGREPORT
892PACKAGE_STRING
893PACKAGE_VERSION
894PACKAGE_TARNAME
895PACKAGE_NAME
896PATH_SEPARATOR
897SHELL'
898ac_subst_files=''
899ac_user_opts='
900enable_option_checking
901enable_multilib
902enable_silent_rules
903enable_largefile
904with_target_subdir
905with_cross_host
906with_newlib
907enable_maintainer_mode
908enable_shared
909enable_static
910with_pic
911enable_fast_install
912with_gnu_ld
913enable_libtool_lock
914enable_hosted_libstdcxx
915enable_libstdcxx_verbose
916enable_libstdcxx_pch
917with_libstdcxx_lock_policy
918enable_cstdio
919enable_clocale
920enable_nls
921enable_libstdcxx_allocator
922enable_cheaders_obsolete
923enable_cheaders
924enable_long_long
925enable_wchar_t
926enable_c99
927enable_concept_checks
928enable_libstdcxx_debug_flags
929enable_libstdcxx_debug
930enable_cxx_flags
931enable_fully_dynamic_string
932enable_extern_template
933with_python_dir
934enable_werror
935enable_vtable_verify
936enable_libstdcxx_time
937enable_tls
938enable_rpath
939with_libiconv_prefix
940with_libiconv_type
941with_system_libunwind
942enable_linux_futex
943enable_symvers
944enable_libstdcxx_visibility
945enable_libstdcxx_dual_abi
946with_default_libstdcxx_abi
947enable_libstdcxx_threads
948enable_libstdcxx_filesystem_ts
949enable_cet
950with_gxx_include_dir
951enable_version_specific_runtime_libs
952with_toolexeclibdir
953with_gcc_major_version_only
954'
955      ac_precious_vars='build_alias
956host_alias
957target_alias
958CC
959CFLAGS
960LDFLAGS
961LIBS
962CPPFLAGS
963CXX
964CXXFLAGS
965CCC
966CPP
967CXXCPP
968CXXFILT'
969
970
971# Initialize some variables set by options.
972ac_init_help=
973ac_init_version=false
974ac_unrecognized_opts=
975ac_unrecognized_sep=
976# The variables have the same names as the options, with
977# dashes changed to underlines.
978cache_file=/dev/null
979exec_prefix=NONE
980no_create=
981no_recursion=
982prefix=NONE
983program_prefix=NONE
984program_suffix=NONE
985program_transform_name=s,x,x,
986silent=
987site=
988srcdir=
989verbose=
990x_includes=NONE
991x_libraries=NONE
992
993# Installation directory options.
994# These are left unexpanded so users can "make install exec_prefix=/foo"
995# and all the variables that are supposed to be based on exec_prefix
996# by default will actually change.
997# Use braces instead of parens because sh, perl, etc. also accept them.
998# (The list follows the same order as the GNU Coding Standards.)
999bindir='${exec_prefix}/bin'
1000sbindir='${exec_prefix}/sbin'
1001libexecdir='${exec_prefix}/libexec'
1002datarootdir='${prefix}/share'
1003datadir='${datarootdir}'
1004sysconfdir='${prefix}/etc'
1005sharedstatedir='${prefix}/com'
1006localstatedir='${prefix}/var'
1007includedir='${prefix}/include'
1008oldincludedir='/usr/include'
1009docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1010infodir='${datarootdir}/info'
1011htmldir='${docdir}'
1012dvidir='${docdir}'
1013pdfdir='${docdir}'
1014psdir='${docdir}'
1015libdir='${exec_prefix}/lib'
1016localedir='${datarootdir}/locale'
1017mandir='${datarootdir}/man'
1018
1019ac_prev=
1020ac_dashdash=
1021for ac_option
1022do
1023  # If the previous option needs an argument, assign it.
1024  if test -n "$ac_prev"; then
1025    eval $ac_prev=\$ac_option
1026    ac_prev=
1027    continue
1028  fi
1029
1030  case $ac_option in
1031  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1032  *=)   ac_optarg= ;;
1033  *)    ac_optarg=yes ;;
1034  esac
1035
1036  # Accept the important Cygnus configure options, so we can diagnose typos.
1037
1038  case $ac_dashdash$ac_option in
1039  --)
1040    ac_dashdash=yes ;;
1041
1042  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1043    ac_prev=bindir ;;
1044  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1045    bindir=$ac_optarg ;;
1046
1047  -build | --build | --buil | --bui | --bu)
1048    ac_prev=build_alias ;;
1049  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1050    build_alias=$ac_optarg ;;
1051
1052  -cache-file | --cache-file | --cache-fil | --cache-fi \
1053  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1054    ac_prev=cache_file ;;
1055  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1056  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1057    cache_file=$ac_optarg ;;
1058
1059  --config-cache | -C)
1060    cache_file=config.cache ;;
1061
1062  -datadir | --datadir | --datadi | --datad)
1063    ac_prev=datadir ;;
1064  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1065    datadir=$ac_optarg ;;
1066
1067  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1068  | --dataroo | --dataro | --datar)
1069    ac_prev=datarootdir ;;
1070  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1071  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1072    datarootdir=$ac_optarg ;;
1073
1074  -disable-* | --disable-*)
1075    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1076    # Reject names that are not valid shell variable names.
1077    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078      as_fn_error $? "invalid feature name: $ac_useropt"
1079    ac_useropt_orig=$ac_useropt
1080    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081    case $ac_user_opts in
1082      *"
1083"enable_$ac_useropt"
1084"*) ;;
1085      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1086	 ac_unrecognized_sep=', ';;
1087    esac
1088    eval enable_$ac_useropt=no ;;
1089
1090  -docdir | --docdir | --docdi | --doc | --do)
1091    ac_prev=docdir ;;
1092  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1093    docdir=$ac_optarg ;;
1094
1095  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1096    ac_prev=dvidir ;;
1097  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1098    dvidir=$ac_optarg ;;
1099
1100  -enable-* | --enable-*)
1101    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1102    # Reject names that are not valid shell variable names.
1103    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104      as_fn_error $? "invalid feature name: $ac_useropt"
1105    ac_useropt_orig=$ac_useropt
1106    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107    case $ac_user_opts in
1108      *"
1109"enable_$ac_useropt"
1110"*) ;;
1111      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1112	 ac_unrecognized_sep=', ';;
1113    esac
1114    eval enable_$ac_useropt=\$ac_optarg ;;
1115
1116  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1117  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1118  | --exec | --exe | --ex)
1119    ac_prev=exec_prefix ;;
1120  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1121  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1122  | --exec=* | --exe=* | --ex=*)
1123    exec_prefix=$ac_optarg ;;
1124
1125  -gas | --gas | --ga | --g)
1126    # Obsolete; use --with-gas.
1127    with_gas=yes ;;
1128
1129  -help | --help | --hel | --he | -h)
1130    ac_init_help=long ;;
1131  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1132    ac_init_help=recursive ;;
1133  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1134    ac_init_help=short ;;
1135
1136  -host | --host | --hos | --ho)
1137    ac_prev=host_alias ;;
1138  -host=* | --host=* | --hos=* | --ho=*)
1139    host_alias=$ac_optarg ;;
1140
1141  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1142    ac_prev=htmldir ;;
1143  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1144  | --ht=*)
1145    htmldir=$ac_optarg ;;
1146
1147  -includedir | --includedir | --includedi | --included | --include \
1148  | --includ | --inclu | --incl | --inc)
1149    ac_prev=includedir ;;
1150  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1151  | --includ=* | --inclu=* | --incl=* | --inc=*)
1152    includedir=$ac_optarg ;;
1153
1154  -infodir | --infodir | --infodi | --infod | --info | --inf)
1155    ac_prev=infodir ;;
1156  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1157    infodir=$ac_optarg ;;
1158
1159  -libdir | --libdir | --libdi | --libd)
1160    ac_prev=libdir ;;
1161  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1162    libdir=$ac_optarg ;;
1163
1164  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1165  | --libexe | --libex | --libe)
1166    ac_prev=libexecdir ;;
1167  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1168  | --libexe=* | --libex=* | --libe=*)
1169    libexecdir=$ac_optarg ;;
1170
1171  -localedir | --localedir | --localedi | --localed | --locale)
1172    ac_prev=localedir ;;
1173  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1174    localedir=$ac_optarg ;;
1175
1176  -localstatedir | --localstatedir | --localstatedi | --localstated \
1177  | --localstate | --localstat | --localsta | --localst | --locals)
1178    ac_prev=localstatedir ;;
1179  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1180  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1181    localstatedir=$ac_optarg ;;
1182
1183  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1184    ac_prev=mandir ;;
1185  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1186    mandir=$ac_optarg ;;
1187
1188  -nfp | --nfp | --nf)
1189    # Obsolete; use --without-fp.
1190    with_fp=no ;;
1191
1192  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1193  | --no-cr | --no-c | -n)
1194    no_create=yes ;;
1195
1196  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1197  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1198    no_recursion=yes ;;
1199
1200  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1201  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1202  | --oldin | --oldi | --old | --ol | --o)
1203    ac_prev=oldincludedir ;;
1204  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1205  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1206  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1207    oldincludedir=$ac_optarg ;;
1208
1209  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1210    ac_prev=prefix ;;
1211  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1212    prefix=$ac_optarg ;;
1213
1214  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1215  | --program-pre | --program-pr | --program-p)
1216    ac_prev=program_prefix ;;
1217  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1218  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1219    program_prefix=$ac_optarg ;;
1220
1221  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1222  | --program-suf | --program-su | --program-s)
1223    ac_prev=program_suffix ;;
1224  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1225  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1226    program_suffix=$ac_optarg ;;
1227
1228  -program-transform-name | --program-transform-name \
1229  | --program-transform-nam | --program-transform-na \
1230  | --program-transform-n | --program-transform- \
1231  | --program-transform | --program-transfor \
1232  | --program-transfo | --program-transf \
1233  | --program-trans | --program-tran \
1234  | --progr-tra | --program-tr | --program-t)
1235    ac_prev=program_transform_name ;;
1236  -program-transform-name=* | --program-transform-name=* \
1237  | --program-transform-nam=* | --program-transform-na=* \
1238  | --program-transform-n=* | --program-transform-=* \
1239  | --program-transform=* | --program-transfor=* \
1240  | --program-transfo=* | --program-transf=* \
1241  | --program-trans=* | --program-tran=* \
1242  | --progr-tra=* | --program-tr=* | --program-t=*)
1243    program_transform_name=$ac_optarg ;;
1244
1245  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1246    ac_prev=pdfdir ;;
1247  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1248    pdfdir=$ac_optarg ;;
1249
1250  -psdir | --psdir | --psdi | --psd | --ps)
1251    ac_prev=psdir ;;
1252  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1253    psdir=$ac_optarg ;;
1254
1255  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1256  | -silent | --silent | --silen | --sile | --sil)
1257    silent=yes ;;
1258
1259  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1260    ac_prev=sbindir ;;
1261  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1262  | --sbi=* | --sb=*)
1263    sbindir=$ac_optarg ;;
1264
1265  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1266  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1267  | --sharedst | --shareds | --shared | --share | --shar \
1268  | --sha | --sh)
1269    ac_prev=sharedstatedir ;;
1270  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1271  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1272  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1273  | --sha=* | --sh=*)
1274    sharedstatedir=$ac_optarg ;;
1275
1276  -site | --site | --sit)
1277    ac_prev=site ;;
1278  -site=* | --site=* | --sit=*)
1279    site=$ac_optarg ;;
1280
1281  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1282    ac_prev=srcdir ;;
1283  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1284    srcdir=$ac_optarg ;;
1285
1286  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1287  | --syscon | --sysco | --sysc | --sys | --sy)
1288    ac_prev=sysconfdir ;;
1289  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1290  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1291    sysconfdir=$ac_optarg ;;
1292
1293  -target | --target | --targe | --targ | --tar | --ta | --t)
1294    ac_prev=target_alias ;;
1295  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1296    target_alias=$ac_optarg ;;
1297
1298  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1299    verbose=yes ;;
1300
1301  -version | --version | --versio | --versi | --vers | -V)
1302    ac_init_version=: ;;
1303
1304  -with-* | --with-*)
1305    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1306    # Reject names that are not valid shell variable names.
1307    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308      as_fn_error $? "invalid package name: $ac_useropt"
1309    ac_useropt_orig=$ac_useropt
1310    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311    case $ac_user_opts in
1312      *"
1313"with_$ac_useropt"
1314"*) ;;
1315      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1316	 ac_unrecognized_sep=', ';;
1317    esac
1318    eval with_$ac_useropt=\$ac_optarg ;;
1319
1320  -without-* | --without-*)
1321    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1322    # Reject names that are not valid shell variable names.
1323    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1324      as_fn_error $? "invalid package name: $ac_useropt"
1325    ac_useropt_orig=$ac_useropt
1326    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1327    case $ac_user_opts in
1328      *"
1329"with_$ac_useropt"
1330"*) ;;
1331      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1332	 ac_unrecognized_sep=', ';;
1333    esac
1334    eval with_$ac_useropt=no ;;
1335
1336  --x)
1337    # Obsolete; use --with-x.
1338    with_x=yes ;;
1339
1340  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1341  | --x-incl | --x-inc | --x-in | --x-i)
1342    ac_prev=x_includes ;;
1343  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1344  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1345    x_includes=$ac_optarg ;;
1346
1347  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1348  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1349    ac_prev=x_libraries ;;
1350  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1351  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1352    x_libraries=$ac_optarg ;;
1353
1354  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1355Try \`$0 --help' for more information"
1356    ;;
1357
1358  *=*)
1359    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1360    # Reject names that are not valid shell variable names.
1361    case $ac_envvar in #(
1362      '' | [0-9]* | *[!_$as_cr_alnum]* )
1363      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1364    esac
1365    eval $ac_envvar=\$ac_optarg
1366    export $ac_envvar ;;
1367
1368  *)
1369    # FIXME: should be removed in autoconf 3.0.
1370    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1374    ;;
1375
1376  esac
1377done
1378
1379if test -n "$ac_prev"; then
1380  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1381  as_fn_error $? "missing argument to $ac_option"
1382fi
1383
1384if test -n "$ac_unrecognized_opts"; then
1385  case $enable_option_checking in
1386    no) ;;
1387    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1388    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1389  esac
1390fi
1391
1392# Check all directory arguments for consistency.
1393for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1394		datadir sysconfdir sharedstatedir localstatedir includedir \
1395		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1396		libdir localedir mandir
1397do
1398  eval ac_val=\$$ac_var
1399  # Remove trailing slashes.
1400  case $ac_val in
1401    */ )
1402      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1403      eval $ac_var=\$ac_val;;
1404  esac
1405  # Be sure to have absolute directory names.
1406  case $ac_val in
1407    [\\/$]* | ?:[\\/]* )  continue;;
1408    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1409  esac
1410  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1411done
1412
1413# There might be people who depend on the old broken behavior: `$host'
1414# used to hold the argument of --host etc.
1415# FIXME: To remove some day.
1416build=$build_alias
1417host=$host_alias
1418target=$target_alias
1419
1420# FIXME: To remove some day.
1421if test "x$host_alias" != x; then
1422  if test "x$build_alias" = x; then
1423    cross_compiling=maybe
1424  elif test "x$build_alias" != "x$host_alias"; then
1425    cross_compiling=yes
1426  fi
1427fi
1428
1429ac_tool_prefix=
1430test -n "$host_alias" && ac_tool_prefix=$host_alias-
1431
1432test "$silent" = yes && exec 6>/dev/null
1433
1434
1435ac_pwd=`pwd` && test -n "$ac_pwd" &&
1436ac_ls_di=`ls -di .` &&
1437ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1438  as_fn_error $? "working directory cannot be determined"
1439test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1440  as_fn_error $? "pwd does not report name of working directory"
1441
1442
1443# Find the source files, if location was not specified.
1444if test -z "$srcdir"; then
1445  ac_srcdir_defaulted=yes
1446  # Try the directory containing this script, then the parent directory.
1447  ac_confdir=`$as_dirname -- "$as_myself" ||
1448$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1449	 X"$as_myself" : 'X\(//\)[^/]' \| \
1450	 X"$as_myself" : 'X\(//\)$' \| \
1451	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1452$as_echo X"$as_myself" |
1453    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1454	    s//\1/
1455	    q
1456	  }
1457	  /^X\(\/\/\)[^/].*/{
1458	    s//\1/
1459	    q
1460	  }
1461	  /^X\(\/\/\)$/{
1462	    s//\1/
1463	    q
1464	  }
1465	  /^X\(\/\).*/{
1466	    s//\1/
1467	    q
1468	  }
1469	  s/.*/./; q'`
1470  srcdir=$ac_confdir
1471  if test ! -r "$srcdir/$ac_unique_file"; then
1472    srcdir=..
1473  fi
1474else
1475  ac_srcdir_defaulted=no
1476fi
1477if test ! -r "$srcdir/$ac_unique_file"; then
1478  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1479  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1480fi
1481ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1482ac_abs_confdir=`(
1483	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1484	pwd)`
1485# When building in place, set srcdir=.
1486if test "$ac_abs_confdir" = "$ac_pwd"; then
1487  srcdir=.
1488fi
1489# Remove unnecessary trailing slashes from srcdir.
1490# Double slashes in file names in object file debugging info
1491# mess up M-x gdb in Emacs.
1492case $srcdir in
1493*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1494esac
1495for ac_var in $ac_precious_vars; do
1496  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1497  eval ac_env_${ac_var}_value=\$${ac_var}
1498  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1499  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1500done
1501
1502#
1503# Report the --help message.
1504#
1505if test "$ac_init_help" = "long"; then
1506  # Omit some internal or obsolete options to make the list less imposing.
1507  # This message is too long to be a string in the A/UX 3.1 sh.
1508  cat <<_ACEOF
1509\`configure' configures package-unused version-unused to adapt to many kinds of systems.
1510
1511Usage: $0 [OPTION]... [VAR=VALUE]...
1512
1513To assign environment variables (e.g., CC, CFLAGS...), specify them as
1514VAR=VALUE.  See below for descriptions of some of the useful variables.
1515
1516Defaults for the options are specified in brackets.
1517
1518Configuration:
1519  -h, --help              display this help and exit
1520      --help=short        display options specific to this package
1521      --help=recursive    display the short help of all the included packages
1522  -V, --version           display version information and exit
1523  -q, --quiet, --silent   do not print \`checking ...' messages
1524      --cache-file=FILE   cache test results in FILE [disabled]
1525  -C, --config-cache      alias for \`--cache-file=config.cache'
1526  -n, --no-create         do not create output files
1527      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1528
1529Installation directories:
1530  --prefix=PREFIX         install architecture-independent files in PREFIX
1531                          [$ac_default_prefix]
1532  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1533                          [PREFIX]
1534
1535By default, \`make install' will install all the files in
1536\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1537an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1538for instance \`--prefix=\$HOME'.
1539
1540For better control, use the options below.
1541
1542Fine tuning of the installation directories:
1543  --bindir=DIR            user executables [EPREFIX/bin]
1544  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1545  --libexecdir=DIR        program executables [EPREFIX/libexec]
1546  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1547  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1548  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1549  --libdir=DIR            object code libraries [EPREFIX/lib]
1550  --includedir=DIR        C header files [PREFIX/include]
1551  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1552  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1553  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1554  --infodir=DIR           info documentation [DATAROOTDIR/info]
1555  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1556  --mandir=DIR            man documentation [DATAROOTDIR/man]
1557  --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1558  --htmldir=DIR           html documentation [DOCDIR]
1559  --dvidir=DIR            dvi documentation [DOCDIR]
1560  --pdfdir=DIR            pdf documentation [DOCDIR]
1561  --psdir=DIR             ps documentation [DOCDIR]
1562_ACEOF
1563
1564  cat <<\_ACEOF
1565
1566Program names:
1567  --program-prefix=PREFIX            prepend PREFIX to installed program names
1568  --program-suffix=SUFFIX            append SUFFIX to installed program names
1569  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1570
1571System types:
1572  --build=BUILD     configure for building on BUILD [guessed]
1573  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1574  --target=TARGET   configure for building compilers for TARGET [HOST]
1575_ACEOF
1576fi
1577
1578if test -n "$ac_init_help"; then
1579  case $ac_init_help in
1580     short | recursive ) echo "Configuration of package-unused version-unused:";;
1581   esac
1582  cat <<\_ACEOF
1583
1584Optional Features:
1585  --disable-option-checking  ignore unrecognized --enable/--with options
1586  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1587  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1588  --enable-multilib       build many library versions (default)
1589  --enable-silent-rules   less verbose build output (undo: "make V=1")
1590  --disable-silent-rules  verbose build output (undo: "make V=0")
1591  --disable-largefile     omit support for large files
1592  --enable-maintainer-mode
1593                          enable make rules and dependencies not useful (and
1594                          sometimes confusing) to the casual installer
1595  --enable-shared[=PKGS]  build shared libraries [default=yes]
1596  --enable-static[=PKGS]  build static libraries [default=yes]
1597  --enable-fast-install[=PKGS]
1598                          optimize for fast installation [default=yes]
1599  --disable-libtool-lock  avoid locking (might break parallel builds)
1600  --disable-hosted-libstdcxx
1601                          only build freestanding C++ runtime support
1602  --disable-libstdcxx-verbose
1603                          disable termination messages to standard error
1604  --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1605                          [default=$is_hosted]
1606  --enable-cstdio[=PACKAGE]
1607                          use target-specific I/O package [default=stdio]
1608  --enable-clocale[=MODEL]
1609                          use MODEL for target locale package [default=auto]
1610  --enable-nls            use Native Language Support (default)
1611  --enable-libstdcxx-allocator[=KIND]
1612                          use KIND for target std::allocator base
1613                          [default=auto]
1614  --enable-cheaders-obsolete
1615                          allow use of obsolete "C" headers for g++
1616                          [default=no]
1617  --enable-cheaders[=KIND]
1618                          construct "C" headers for g++ [default=$c_model]
1619  --enable-long-long      enable template specializations for 'long long'
1620                          [default=yes]
1621  --enable-wchar_t        enable template specializations for 'wchar_t'
1622                          [default=yes]
1623  --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1624  --enable-concept-checks use Boost-derived template checks [default=no]
1625  --enable-libstdcxx-debug-flags=FLAGS
1626                          pass compiler FLAGS when building debug library
1627                          [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1628  --enable-libstdcxx-debug
1629                          build extra debug library [default=no]
1630  --enable-cxx-flags=FLAGS
1631                          pass compiler FLAGS when building library [default=]
1632  --enable-fully-dynamic-string
1633                          do not put empty strings in per-process static
1634                          memory [default=no]
1635  --enable-extern-template
1636                          enable extern template [default=yes]
1637  --enable-werror         turns on -Werror [default=no]
1638  --enable-vtable-verify  enable vtable verify [default=no]
1639  --enable-libstdcxx-time[=KIND]
1640                          use KIND for check type [default=auto]
1641  --enable-tls            Use thread-local storage [default=yes]
1642  --disable-rpath         do not hardcode runtime library paths
1643  --enable-linux-futex    use the Linux futex system call [default=default]
1644  --enable-symvers[=STYLE]
1645                          enables symbol versioning of the shared library
1646                          [default=yes]
1647  --enable-libstdcxx-visibility
1648                          enables visibility safe usage [default=yes]
1649  --enable-libstdcxx-dual-abi
1650                          support two versions of std::string [default=yes]
1651  --enable-libstdcxx-threads
1652                          enable C++11 threads support [default=auto]
1653  --enable-libstdcxx-filesystem-ts
1654                          turns on ISO/IEC TS 18822 support [default=auto]
1655  --enable-cet            enable Intel CET in target libraries [default=auto]
1656  --enable-version-specific-runtime-libs
1657                          Specify that runtime libraries should be installed
1658                          in a compiler-specific directory
1659
1660Optional Packages:
1661  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1662  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1663  --with-target-subdir=SUBDIR
1664                          configuring in a subdirectory
1665  --with-cross-host=HOST  configuring with a cross compiler
1666  --with-newlib           assume newlib as a system C library
1667  --with-pic              try to use only PIC/non-PIC objects [default=use
1668                          both]
1669  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1670  --with-libstdcxx-lock-policy={atomic,mutex,auto}
1671                          synchronization policy for shared_ptr reference
1672                          counting [default=auto]
1673  --with-python-dir       the location to install Python modules. This path is
1674                          relative starting from the prefix.
1675  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1676  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1677  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1678  --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
1679  --with-system-libunwind use installed libunwind
1680  --with-default-libstdcxx-abi
1681                          set the std::string ABI to use by default
1682  --with-gxx-include-dir=DIR
1683                          installation directory for include files
1684  --with-toolexeclibdir=DIR
1685                          install libraries built with a cross compiler within
1686                          DIR
1687  --with-gcc-major-version-only
1688                          use only GCC major number in filesystem paths
1689
1690Some influential environment variables:
1691  CC          C compiler command
1692  CFLAGS      C compiler flags
1693  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1694              nonstandard directory <lib dir>
1695  LIBS        libraries to pass to the linker, e.g. -l<library>
1696  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1697              you have headers in a nonstandard directory <include dir>
1698  CXX         C++ compiler command
1699  CXXFLAGS    C++ compiler flags
1700  CPP         C preprocessor
1701  CXXCPP      C++ preprocessor
1702  CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1703              `c++filt', `gc++filt' on PATH.
1704
1705Use these variables to override the choices made by `configure' or to help
1706it to find libraries and programs with nonstandard names/locations.
1707
1708Report bugs to the package provider.
1709_ACEOF
1710ac_status=$?
1711fi
1712
1713if test "$ac_init_help" = "recursive"; then
1714  # If there are subdirs, report their specific --help.
1715  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1716    test -d "$ac_dir" ||
1717      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1718      continue
1719    ac_builddir=.
1720
1721case "$ac_dir" in
1722.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1723*)
1724  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1725  # A ".." for each directory in $ac_dir_suffix.
1726  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1727  case $ac_top_builddir_sub in
1728  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1729  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1730  esac ;;
1731esac
1732ac_abs_top_builddir=$ac_pwd
1733ac_abs_builddir=$ac_pwd$ac_dir_suffix
1734# for backward compatibility:
1735ac_top_builddir=$ac_top_build_prefix
1736
1737case $srcdir in
1738  .)  # We are building in place.
1739    ac_srcdir=.
1740    ac_top_srcdir=$ac_top_builddir_sub
1741    ac_abs_top_srcdir=$ac_pwd ;;
1742  [\\/]* | ?:[\\/]* )  # Absolute name.
1743    ac_srcdir=$srcdir$ac_dir_suffix;
1744    ac_top_srcdir=$srcdir
1745    ac_abs_top_srcdir=$srcdir ;;
1746  *) # Relative name.
1747    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1748    ac_top_srcdir=$ac_top_build_prefix$srcdir
1749    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1750esac
1751ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1752
1753    cd "$ac_dir" || { ac_status=$?; continue; }
1754    # Check for guested configure.
1755    if test -f "$ac_srcdir/configure.gnu"; then
1756      echo &&
1757      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1758    elif test -f "$ac_srcdir/configure"; then
1759      echo &&
1760      $SHELL "$ac_srcdir/configure" --help=recursive
1761    else
1762      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1763    fi || ac_status=$?
1764    cd "$ac_pwd" || { ac_status=$?; break; }
1765  done
1766fi
1767
1768test -n "$ac_init_help" && exit $ac_status
1769if $ac_init_version; then
1770  cat <<\_ACEOF
1771package-unused configure version-unused
1772generated by GNU Autoconf 2.69
1773
1774Copyright (C) 2012 Free Software Foundation, Inc.
1775This configure script is free software; the Free Software Foundation
1776gives unlimited permission to copy, distribute and modify it.
1777_ACEOF
1778  exit
1779fi
1780
1781## ------------------------ ##
1782## Autoconf initialization. ##
1783## ------------------------ ##
1784
1785# ac_fn_c_try_compile LINENO
1786# --------------------------
1787# Try to compile conftest.$ac_ext, and return whether this succeeded.
1788ac_fn_c_try_compile ()
1789{
1790  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791  rm -f conftest.$ac_objext
1792  if { { ac_try="$ac_compile"
1793case "(($ac_try" in
1794  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795  *) ac_try_echo=$ac_try;;
1796esac
1797eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798$as_echo "$ac_try_echo"; } >&5
1799  (eval "$ac_compile") 2>conftest.err
1800  ac_status=$?
1801  if test -s conftest.err; then
1802    grep -v '^ *+' conftest.err >conftest.er1
1803    cat conftest.er1 >&5
1804    mv -f conftest.er1 conftest.err
1805  fi
1806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807  test $ac_status = 0; } && {
1808	 test -z "$ac_c_werror_flag" ||
1809	 test ! -s conftest.err
1810       } && test -s conftest.$ac_objext; then :
1811  ac_retval=0
1812else
1813  $as_echo "$as_me: failed program was:" >&5
1814sed 's/^/| /' conftest.$ac_ext >&5
1815
1816	ac_retval=1
1817fi
1818  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819  as_fn_set_status $ac_retval
1820
1821} # ac_fn_c_try_compile
1822
1823# ac_fn_cxx_try_compile LINENO
1824# ----------------------------
1825# Try to compile conftest.$ac_ext, and return whether this succeeded.
1826ac_fn_cxx_try_compile ()
1827{
1828  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829  rm -f conftest.$ac_objext
1830  if { { ac_try="$ac_compile"
1831case "(($ac_try" in
1832  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833  *) ac_try_echo=$ac_try;;
1834esac
1835eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836$as_echo "$ac_try_echo"; } >&5
1837  (eval "$ac_compile") 2>conftest.err
1838  ac_status=$?
1839  if test -s conftest.err; then
1840    grep -v '^ *+' conftest.err >conftest.er1
1841    cat conftest.er1 >&5
1842    mv -f conftest.er1 conftest.err
1843  fi
1844  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845  test $ac_status = 0; } && {
1846	 test -z "$ac_cxx_werror_flag" ||
1847	 test ! -s conftest.err
1848       } && test -s conftest.$ac_objext; then :
1849  ac_retval=0
1850else
1851  $as_echo "$as_me: failed program was:" >&5
1852sed 's/^/| /' conftest.$ac_ext >&5
1853
1854	ac_retval=1
1855fi
1856  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857  as_fn_set_status $ac_retval
1858
1859} # ac_fn_cxx_try_compile
1860
1861# ac_fn_c_try_cpp LINENO
1862# ----------------------
1863# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1864ac_fn_c_try_cpp ()
1865{
1866  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867  if { { ac_try="$ac_cpp conftest.$ac_ext"
1868case "(($ac_try" in
1869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1870  *) ac_try_echo=$ac_try;;
1871esac
1872eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873$as_echo "$ac_try_echo"; } >&5
1874  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1875  ac_status=$?
1876  if test -s conftest.err; then
1877    grep -v '^ *+' conftest.err >conftest.er1
1878    cat conftest.er1 >&5
1879    mv -f conftest.er1 conftest.err
1880  fi
1881  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882  test $ac_status = 0; } > conftest.i && {
1883	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1884	 test ! -s conftest.err
1885       }; then :
1886  ac_retval=0
1887else
1888  $as_echo "$as_me: failed program was:" >&5
1889sed 's/^/| /' conftest.$ac_ext >&5
1890
1891    ac_retval=1
1892fi
1893  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894  as_fn_set_status $ac_retval
1895
1896} # ac_fn_c_try_cpp
1897
1898# ac_fn_c_try_link LINENO
1899# -----------------------
1900# Try to link conftest.$ac_ext, and return whether this succeeded.
1901ac_fn_c_try_link ()
1902{
1903  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904  rm -f conftest.$ac_objext conftest$ac_exeext
1905  if { { ac_try="$ac_link"
1906case "(($ac_try" in
1907  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908  *) ac_try_echo=$ac_try;;
1909esac
1910eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911$as_echo "$ac_try_echo"; } >&5
1912  (eval "$ac_link") 2>conftest.err
1913  ac_status=$?
1914  if test -s conftest.err; then
1915    grep -v '^ *+' conftest.err >conftest.er1
1916    cat conftest.er1 >&5
1917    mv -f conftest.er1 conftest.err
1918  fi
1919  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920  test $ac_status = 0; } && {
1921	 test -z "$ac_c_werror_flag" ||
1922	 test ! -s conftest.err
1923       } && test -s conftest$ac_exeext && {
1924	 test "$cross_compiling" = yes ||
1925	 test -x conftest$ac_exeext
1926       }; then :
1927  ac_retval=0
1928else
1929  $as_echo "$as_me: failed program was:" >&5
1930sed 's/^/| /' conftest.$ac_ext >&5
1931
1932	ac_retval=1
1933fi
1934  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1935  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1936  # interfere with the next link command; also delete a directory that is
1937  # left behind by Apple's compiler.  We do this before executing the actions.
1938  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940  as_fn_set_status $ac_retval
1941
1942} # ac_fn_c_try_link
1943
1944# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1945# -------------------------------------------------------
1946# Tests whether HEADER exists and can be compiled using the include files in
1947# INCLUDES, setting the cache variable VAR accordingly.
1948ac_fn_c_check_header_compile ()
1949{
1950  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952$as_echo_n "checking for $2... " >&6; }
1953if eval \${$3+:} false; then :
1954  $as_echo_n "(cached) " >&6
1955else
1956  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957/* end confdefs.h.  */
1958$4
1959#include <$2>
1960_ACEOF
1961if ac_fn_c_try_compile "$LINENO"; then :
1962  eval "$3=yes"
1963else
1964  eval "$3=no"
1965fi
1966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1967fi
1968eval ac_res=\$$3
1969	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970$as_echo "$ac_res" >&6; }
1971  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972
1973} # ac_fn_c_check_header_compile
1974
1975# ac_fn_c_try_run LINENO
1976# ----------------------
1977# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1978# that executables *can* be run.
1979ac_fn_c_try_run ()
1980{
1981  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982  if { { ac_try="$ac_link"
1983case "(($ac_try" in
1984  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985  *) ac_try_echo=$ac_try;;
1986esac
1987eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988$as_echo "$ac_try_echo"; } >&5
1989  (eval "$ac_link") 2>&5
1990  ac_status=$?
1991  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1993  { { case "(($ac_try" in
1994  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995  *) ac_try_echo=$ac_try;;
1996esac
1997eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998$as_echo "$ac_try_echo"; } >&5
1999  (eval "$ac_try") 2>&5
2000  ac_status=$?
2001  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002  test $ac_status = 0; }; }; then :
2003  ac_retval=0
2004else
2005  $as_echo "$as_me: program exited with status $ac_status" >&5
2006       $as_echo "$as_me: failed program was:" >&5
2007sed 's/^/| /' conftest.$ac_ext >&5
2008
2009       ac_retval=$ac_status
2010fi
2011  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2012  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013  as_fn_set_status $ac_retval
2014
2015} # ac_fn_c_try_run
2016
2017# ac_fn_c_check_func LINENO FUNC VAR
2018# ----------------------------------
2019# Tests whether FUNC exists, setting the cache variable VAR accordingly
2020ac_fn_c_check_func ()
2021{
2022  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024$as_echo_n "checking for $2... " >&6; }
2025if eval \${$3+:} false; then :
2026  $as_echo_n "(cached) " >&6
2027else
2028  if test x$gcc_no_link = xyes; then
2029  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2030fi
2031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032/* end confdefs.h.  */
2033/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2034   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2035#define $2 innocuous_$2
2036
2037/* System header to define __stub macros and hopefully few prototypes,
2038    which can conflict with char $2 (); below.
2039    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2040    <limits.h> exists even on freestanding compilers.  */
2041
2042#ifdef __STDC__
2043# include <limits.h>
2044#else
2045# include <assert.h>
2046#endif
2047
2048#undef $2
2049
2050/* Override any GCC internal prototype to avoid an error.
2051   Use char because int might match the return type of a GCC
2052   builtin and then its argument prototype would still apply.  */
2053#ifdef __cplusplus
2054extern "C"
2055#endif
2056char $2 ();
2057/* The GNU C library defines this for functions which it implements
2058    to always fail with ENOSYS.  Some functions are actually named
2059    something starting with __ and the normal name is an alias.  */
2060#if defined __stub_$2 || defined __stub___$2
2061choke me
2062#endif
2063
2064int
2065main ()
2066{
2067return $2 ();
2068  ;
2069  return 0;
2070}
2071_ACEOF
2072if ac_fn_c_try_link "$LINENO"; then :
2073  eval "$3=yes"
2074else
2075  eval "$3=no"
2076fi
2077rm -f core conftest.err conftest.$ac_objext \
2078    conftest$ac_exeext conftest.$ac_ext
2079fi
2080eval ac_res=\$$3
2081	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082$as_echo "$ac_res" >&6; }
2083  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2084
2085} # ac_fn_c_check_func
2086
2087# ac_fn_cxx_try_cpp LINENO
2088# ------------------------
2089# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2090ac_fn_cxx_try_cpp ()
2091{
2092  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093  if { { ac_try="$ac_cpp conftest.$ac_ext"
2094case "(($ac_try" in
2095  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2096  *) ac_try_echo=$ac_try;;
2097esac
2098eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2099$as_echo "$ac_try_echo"; } >&5
2100  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2101  ac_status=$?
2102  if test -s conftest.err; then
2103    grep -v '^ *+' conftest.err >conftest.er1
2104    cat conftest.er1 >&5
2105    mv -f conftest.er1 conftest.err
2106  fi
2107  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2108  test $ac_status = 0; } > conftest.i && {
2109	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2110	 test ! -s conftest.err
2111       }; then :
2112  ac_retval=0
2113else
2114  $as_echo "$as_me: failed program was:" >&5
2115sed 's/^/| /' conftest.$ac_ext >&5
2116
2117    ac_retval=1
2118fi
2119  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120  as_fn_set_status $ac_retval
2121
2122} # ac_fn_cxx_try_cpp
2123
2124# ac_fn_cxx_try_link LINENO
2125# -------------------------
2126# Try to link conftest.$ac_ext, and return whether this succeeded.
2127ac_fn_cxx_try_link ()
2128{
2129  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130  rm -f conftest.$ac_objext conftest$ac_exeext
2131  if { { ac_try="$ac_link"
2132case "(($ac_try" in
2133  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134  *) ac_try_echo=$ac_try;;
2135esac
2136eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137$as_echo "$ac_try_echo"; } >&5
2138  (eval "$ac_link") 2>conftest.err
2139  ac_status=$?
2140  if test -s conftest.err; then
2141    grep -v '^ *+' conftest.err >conftest.er1
2142    cat conftest.er1 >&5
2143    mv -f conftest.er1 conftest.err
2144  fi
2145  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2146  test $ac_status = 0; } && {
2147	 test -z "$ac_cxx_werror_flag" ||
2148	 test ! -s conftest.err
2149       } && test -s conftest$ac_exeext && {
2150	 test "$cross_compiling" = yes ||
2151	 test -x conftest$ac_exeext
2152       }; then :
2153  ac_retval=0
2154else
2155  $as_echo "$as_me: failed program was:" >&5
2156sed 's/^/| /' conftest.$ac_ext >&5
2157
2158	ac_retval=1
2159fi
2160  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2161  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2162  # interfere with the next link command; also delete a directory that is
2163  # left behind by Apple's compiler.  We do this before executing the actions.
2164  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2165  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166  as_fn_set_status $ac_retval
2167
2168} # ac_fn_cxx_try_link
2169
2170# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2171# -------------------------------------------------------
2172# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173# the include files in INCLUDES and setting the cache variable VAR
2174# accordingly.
2175ac_fn_c_check_header_mongrel ()
2176{
2177  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178  if eval \${$3+:} false; then :
2179  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180$as_echo_n "checking for $2... " >&6; }
2181if eval \${$3+:} false; then :
2182  $as_echo_n "(cached) " >&6
2183fi
2184eval ac_res=\$$3
2185	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186$as_echo "$ac_res" >&6; }
2187else
2188  # Is the header compilable?
2189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190$as_echo_n "checking $2 usability... " >&6; }
2191cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192/* end confdefs.h.  */
2193$4
2194#include <$2>
2195_ACEOF
2196if ac_fn_c_try_compile "$LINENO"; then :
2197  ac_header_compiler=yes
2198else
2199  ac_header_compiler=no
2200fi
2201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203$as_echo "$ac_header_compiler" >&6; }
2204
2205# Is the header present?
2206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207$as_echo_n "checking $2 presence... " >&6; }
2208cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209/* end confdefs.h.  */
2210#include <$2>
2211_ACEOF
2212if ac_fn_c_try_cpp "$LINENO"; then :
2213  ac_header_preproc=yes
2214else
2215  ac_header_preproc=no
2216fi
2217rm -f conftest.err conftest.i conftest.$ac_ext
2218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219$as_echo "$ac_header_preproc" >&6; }
2220
2221# So?  What about this header?
2222case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2223  yes:no: )
2224    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2228    ;;
2229  no:yes:* )
2230    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2233$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2234    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2237$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2238    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2240    ;;
2241esac
2242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243$as_echo_n "checking for $2... " >&6; }
2244if eval \${$3+:} false; then :
2245  $as_echo_n "(cached) " >&6
2246else
2247  eval "$3=\$ac_header_compiler"
2248fi
2249eval ac_res=\$$3
2250	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251$as_echo "$ac_res" >&6; }
2252fi
2253  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2254
2255} # ac_fn_c_check_header_mongrel
2256
2257# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2258# ---------------------------------------------------------
2259# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2260# the include files in INCLUDES and setting the cache variable VAR
2261# accordingly.
2262ac_fn_cxx_check_header_mongrel ()
2263{
2264  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265  if eval \${$3+:} false; then :
2266  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2267$as_echo_n "checking for $2... " >&6; }
2268if eval \${$3+:} false; then :
2269  $as_echo_n "(cached) " >&6
2270fi
2271eval ac_res=\$$3
2272	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273$as_echo "$ac_res" >&6; }
2274else
2275  # Is the header compilable?
2276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2277$as_echo_n "checking $2 usability... " >&6; }
2278cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279/* end confdefs.h.  */
2280$4
2281#include <$2>
2282_ACEOF
2283if ac_fn_cxx_try_compile "$LINENO"; then :
2284  ac_header_compiler=yes
2285else
2286  ac_header_compiler=no
2287fi
2288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2290$as_echo "$ac_header_compiler" >&6; }
2291
2292# Is the header present?
2293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2294$as_echo_n "checking $2 presence... " >&6; }
2295cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296/* end confdefs.h.  */
2297#include <$2>
2298_ACEOF
2299if ac_fn_cxx_try_cpp "$LINENO"; then :
2300  ac_header_preproc=yes
2301else
2302  ac_header_preproc=no
2303fi
2304rm -f conftest.err conftest.i conftest.$ac_ext
2305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2306$as_echo "$ac_header_preproc" >&6; }
2307
2308# So?  What about this header?
2309case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2310  yes:no: )
2311    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2312$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2313    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2314$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2315    ;;
2316  no:yes:* )
2317    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2318$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2319    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2320$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2321    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2322$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2323    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2324$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2325    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2326$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2327    ;;
2328esac
2329  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2330$as_echo_n "checking for $2... " >&6; }
2331if eval \${$3+:} false; then :
2332  $as_echo_n "(cached) " >&6
2333else
2334  eval "$3=\$ac_header_compiler"
2335fi
2336eval ac_res=\$$3
2337	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2338$as_echo "$ac_res" >&6; }
2339fi
2340  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2341
2342} # ac_fn_cxx_check_header_mongrel
2343
2344# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2345# --------------------------------------------
2346# Tries to find the compile-time value of EXPR in a program that includes
2347# INCLUDES, setting VAR accordingly. Returns whether the value could be
2348# computed
2349ac_fn_c_compute_int ()
2350{
2351  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2352  if test "$cross_compiling" = yes; then
2353    # Depending upon the size, compute the lo and hi bounds.
2354cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355/* end confdefs.h.  */
2356$4
2357int
2358main ()
2359{
2360static int test_array [1 - 2 * !(($2) >= 0)];
2361test_array [0] = 0;
2362return test_array [0];
2363
2364  ;
2365  return 0;
2366}
2367_ACEOF
2368if ac_fn_c_try_compile "$LINENO"; then :
2369  ac_lo=0 ac_mid=0
2370  while :; do
2371    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2372/* end confdefs.h.  */
2373$4
2374int
2375main ()
2376{
2377static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2378test_array [0] = 0;
2379return test_array [0];
2380
2381  ;
2382  return 0;
2383}
2384_ACEOF
2385if ac_fn_c_try_compile "$LINENO"; then :
2386  ac_hi=$ac_mid; break
2387else
2388  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2389			if test $ac_lo -le $ac_mid; then
2390			  ac_lo= ac_hi=
2391			  break
2392			fi
2393			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2394fi
2395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396  done
2397else
2398  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399/* end confdefs.h.  */
2400$4
2401int
2402main ()
2403{
2404static int test_array [1 - 2 * !(($2) < 0)];
2405test_array [0] = 0;
2406return test_array [0];
2407
2408  ;
2409  return 0;
2410}
2411_ACEOF
2412if ac_fn_c_try_compile "$LINENO"; then :
2413  ac_hi=-1 ac_mid=-1
2414  while :; do
2415    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416/* end confdefs.h.  */
2417$4
2418int
2419main ()
2420{
2421static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2422test_array [0] = 0;
2423return test_array [0];
2424
2425  ;
2426  return 0;
2427}
2428_ACEOF
2429if ac_fn_c_try_compile "$LINENO"; then :
2430  ac_lo=$ac_mid; break
2431else
2432  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2433			if test $ac_mid -le $ac_hi; then
2434			  ac_lo= ac_hi=
2435			  break
2436			fi
2437			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2438fi
2439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2440  done
2441else
2442  ac_lo= ac_hi=
2443fi
2444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2445fi
2446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447# Binary search between lo and hi bounds.
2448while test "x$ac_lo" != "x$ac_hi"; do
2449  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2450  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2451/* end confdefs.h.  */
2452$4
2453int
2454main ()
2455{
2456static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2457test_array [0] = 0;
2458return test_array [0];
2459
2460  ;
2461  return 0;
2462}
2463_ACEOF
2464if ac_fn_c_try_compile "$LINENO"; then :
2465  ac_hi=$ac_mid
2466else
2467  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2468fi
2469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470done
2471case $ac_lo in #((
2472?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2473'') ac_retval=1 ;;
2474esac
2475  else
2476    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477/* end confdefs.h.  */
2478$4
2479static long int longval () { return $2; }
2480static unsigned long int ulongval () { return $2; }
2481#include <stdio.h>
2482#include <stdlib.h>
2483int
2484main ()
2485{
2486
2487  FILE *f = fopen ("conftest.val", "w");
2488  if (! f)
2489    return 1;
2490  if (($2) < 0)
2491    {
2492      long int i = longval ();
2493      if (i != ($2))
2494	return 1;
2495      fprintf (f, "%ld", i);
2496    }
2497  else
2498    {
2499      unsigned long int i = ulongval ();
2500      if (i != ($2))
2501	return 1;
2502      fprintf (f, "%lu", i);
2503    }
2504  /* Do not output a trailing newline, as this causes \r\n confusion
2505     on some platforms.  */
2506  return ferror (f) || fclose (f) != 0;
2507
2508  ;
2509  return 0;
2510}
2511_ACEOF
2512if ac_fn_c_try_run "$LINENO"; then :
2513  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2514else
2515  ac_retval=1
2516fi
2517rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2518  conftest.$ac_objext conftest.beam conftest.$ac_ext
2519rm -f conftest.val
2520
2521  fi
2522  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2523  as_fn_set_status $ac_retval
2524
2525} # ac_fn_c_compute_int
2526
2527# ac_fn_cxx_check_func LINENO FUNC VAR
2528# ------------------------------------
2529# Tests whether FUNC exists, setting the cache variable VAR accordingly
2530ac_fn_cxx_check_func ()
2531{
2532  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2534$as_echo_n "checking for $2... " >&6; }
2535if eval \${$3+:} false; then :
2536  $as_echo_n "(cached) " >&6
2537else
2538  if test x$gcc_no_link = xyes; then
2539  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2540fi
2541cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542/* end confdefs.h.  */
2543/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2544   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2545#define $2 innocuous_$2
2546
2547/* System header to define __stub macros and hopefully few prototypes,
2548    which can conflict with char $2 (); below.
2549    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2550    <limits.h> exists even on freestanding compilers.  */
2551
2552#ifdef __STDC__
2553# include <limits.h>
2554#else
2555# include <assert.h>
2556#endif
2557
2558#undef $2
2559
2560/* Override any GCC internal prototype to avoid an error.
2561   Use char because int might match the return type of a GCC
2562   builtin and then its argument prototype would still apply.  */
2563#ifdef __cplusplus
2564extern "C"
2565#endif
2566char $2 ();
2567/* The GNU C library defines this for functions which it implements
2568    to always fail with ENOSYS.  Some functions are actually named
2569    something starting with __ and the normal name is an alias.  */
2570#if defined __stub_$2 || defined __stub___$2
2571choke me
2572#endif
2573
2574int
2575main ()
2576{
2577return $2 ();
2578  ;
2579  return 0;
2580}
2581_ACEOF
2582if ac_fn_cxx_try_link "$LINENO"; then :
2583  eval "$3=yes"
2584else
2585  eval "$3=no"
2586fi
2587rm -f core conftest.err conftest.$ac_objext \
2588    conftest$ac_exeext conftest.$ac_ext
2589fi
2590eval ac_res=\$$3
2591	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592$as_echo "$ac_res" >&6; }
2593  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594
2595} # ac_fn_cxx_check_func
2596
2597# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2598# -------------------------------------------
2599# Tests whether TYPE exists after having included INCLUDES, setting cache
2600# variable VAR accordingly.
2601ac_fn_c_check_type ()
2602{
2603  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2605$as_echo_n "checking for $2... " >&6; }
2606if eval \${$3+:} false; then :
2607  $as_echo_n "(cached) " >&6
2608else
2609  eval "$3=no"
2610  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2611/* end confdefs.h.  */
2612$4
2613int
2614main ()
2615{
2616if (sizeof ($2))
2617	 return 0;
2618  ;
2619  return 0;
2620}
2621_ACEOF
2622if ac_fn_c_try_compile "$LINENO"; then :
2623  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624/* end confdefs.h.  */
2625$4
2626int
2627main ()
2628{
2629if (sizeof (($2)))
2630	    return 0;
2631  ;
2632  return 0;
2633}
2634_ACEOF
2635if ac_fn_c_try_compile "$LINENO"; then :
2636
2637else
2638  eval "$3=yes"
2639fi
2640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2641fi
2642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2643fi
2644eval ac_res=\$$3
2645	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2646$as_echo "$ac_res" >&6; }
2647  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2648
2649} # ac_fn_c_check_type
2650
2651# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2652# ---------------------------------------------
2653# Tests whether TYPE exists after having included INCLUDES, setting cache
2654# variable VAR accordingly.
2655ac_fn_cxx_check_type ()
2656{
2657  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2659$as_echo_n "checking for $2... " >&6; }
2660if eval \${$3+:} false; then :
2661  $as_echo_n "(cached) " >&6
2662else
2663  eval "$3=no"
2664  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665/* end confdefs.h.  */
2666$4
2667int
2668main ()
2669{
2670if (sizeof ($2))
2671	 return 0;
2672  ;
2673  return 0;
2674}
2675_ACEOF
2676if ac_fn_cxx_try_compile "$LINENO"; then :
2677  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678/* end confdefs.h.  */
2679$4
2680int
2681main ()
2682{
2683if (sizeof (($2)))
2684	    return 0;
2685  ;
2686  return 0;
2687}
2688_ACEOF
2689if ac_fn_cxx_try_compile "$LINENO"; then :
2690
2691else
2692  eval "$3=yes"
2693fi
2694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2695fi
2696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697fi
2698eval ac_res=\$$3
2699	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2700$as_echo "$ac_res" >&6; }
2701  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2702
2703} # ac_fn_cxx_check_type
2704
2705# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2706# ---------------------------------------------
2707# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2708# accordingly.
2709ac_fn_c_check_decl ()
2710{
2711  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712  as_decl_name=`echo $2|sed 's/ *(.*//'`
2713  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2714  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2715$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2716if eval \${$3+:} false; then :
2717  $as_echo_n "(cached) " >&6
2718else
2719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720/* end confdefs.h.  */
2721$4
2722int
2723main ()
2724{
2725#ifndef $as_decl_name
2726#ifdef __cplusplus
2727  (void) $as_decl_use;
2728#else
2729  (void) $as_decl_name;
2730#endif
2731#endif
2732
2733  ;
2734  return 0;
2735}
2736_ACEOF
2737if ac_fn_c_try_compile "$LINENO"; then :
2738  eval "$3=yes"
2739else
2740  eval "$3=no"
2741fi
2742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743fi
2744eval ac_res=\$$3
2745	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2746$as_echo "$ac_res" >&6; }
2747  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748
2749} # ac_fn_c_check_decl
2750cat >config.log <<_ACEOF
2751This file contains any messages produced by compilers while
2752running configure, to aid debugging if configure makes a mistake.
2753
2754It was created by package-unused $as_me version-unused, which was
2755generated by GNU Autoconf 2.69.  Invocation command line was
2756
2757  $ $0 $@
2758
2759_ACEOF
2760exec 5>>config.log
2761{
2762cat <<_ASUNAME
2763## --------- ##
2764## Platform. ##
2765## --------- ##
2766
2767hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2768uname -m = `(uname -m) 2>/dev/null || echo unknown`
2769uname -r = `(uname -r) 2>/dev/null || echo unknown`
2770uname -s = `(uname -s) 2>/dev/null || echo unknown`
2771uname -v = `(uname -v) 2>/dev/null || echo unknown`
2772
2773/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2774/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2775
2776/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2777/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2778/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2779/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2780/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2781/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2782/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2783
2784_ASUNAME
2785
2786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787for as_dir in $PATH
2788do
2789  IFS=$as_save_IFS
2790  test -z "$as_dir" && as_dir=.
2791    $as_echo "PATH: $as_dir"
2792  done
2793IFS=$as_save_IFS
2794
2795} >&5
2796
2797cat >&5 <<_ACEOF
2798
2799
2800## ----------- ##
2801## Core tests. ##
2802## ----------- ##
2803
2804_ACEOF
2805
2806
2807# Keep a trace of the command line.
2808# Strip out --no-create and --no-recursion so they do not pile up.
2809# Strip out --silent because we don't want to record it for future runs.
2810# Also quote any args containing shell meta-characters.
2811# Make two passes to allow for proper duplicate-argument suppression.
2812ac_configure_args=
2813ac_configure_args0=
2814ac_configure_args1=
2815ac_must_keep_next=false
2816for ac_pass in 1 2
2817do
2818  for ac_arg
2819  do
2820    case $ac_arg in
2821    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2822    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2823    | -silent | --silent | --silen | --sile | --sil)
2824      continue ;;
2825    *\'*)
2826      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2827    esac
2828    case $ac_pass in
2829    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2830    2)
2831      as_fn_append ac_configure_args1 " '$ac_arg'"
2832      if test $ac_must_keep_next = true; then
2833	ac_must_keep_next=false # Got value, back to normal.
2834      else
2835	case $ac_arg in
2836	  *=* | --config-cache | -C | -disable-* | --disable-* \
2837	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2838	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2839	  | -with-* | --with-* | -without-* | --without-* | --x)
2840	    case "$ac_configure_args0 " in
2841	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2842	    esac
2843	    ;;
2844	  -* ) ac_must_keep_next=true ;;
2845	esac
2846      fi
2847      as_fn_append ac_configure_args " '$ac_arg'"
2848      ;;
2849    esac
2850  done
2851done
2852{ ac_configure_args0=; unset ac_configure_args0;}
2853{ ac_configure_args1=; unset ac_configure_args1;}
2854
2855# When interrupted or exit'd, cleanup temporary files, and complete
2856# config.log.  We remove comments because anyway the quotes in there
2857# would cause problems or look ugly.
2858# WARNING: Use '\'' to represent an apostrophe within the trap.
2859# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2860trap 'exit_status=$?
2861  # Save into config.log some information that might help in debugging.
2862  {
2863    echo
2864
2865    $as_echo "## ---------------- ##
2866## Cache variables. ##
2867## ---------------- ##"
2868    echo
2869    # The following way of writing the cache mishandles newlines in values,
2870(
2871  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2872    eval ac_val=\$$ac_var
2873    case $ac_val in #(
2874    *${as_nl}*)
2875      case $ac_var in #(
2876      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2877$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2878      esac
2879      case $ac_var in #(
2880      _ | IFS | as_nl) ;; #(
2881      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2882      *) { eval $ac_var=; unset $ac_var;} ;;
2883      esac ;;
2884    esac
2885  done
2886  (set) 2>&1 |
2887    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2888    *${as_nl}ac_space=\ *)
2889      sed -n \
2890	"s/'\''/'\''\\\\'\'''\''/g;
2891	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2892      ;; #(
2893    *)
2894      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2895      ;;
2896    esac |
2897    sort
2898)
2899    echo
2900
2901    $as_echo "## ----------------- ##
2902## Output variables. ##
2903## ----------------- ##"
2904    echo
2905    for ac_var in $ac_subst_vars
2906    do
2907      eval ac_val=\$$ac_var
2908      case $ac_val in
2909      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2910      esac
2911      $as_echo "$ac_var='\''$ac_val'\''"
2912    done | sort
2913    echo
2914
2915    if test -n "$ac_subst_files"; then
2916      $as_echo "## ------------------- ##
2917## File substitutions. ##
2918## ------------------- ##"
2919      echo
2920      for ac_var in $ac_subst_files
2921      do
2922	eval ac_val=\$$ac_var
2923	case $ac_val in
2924	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2925	esac
2926	$as_echo "$ac_var='\''$ac_val'\''"
2927      done | sort
2928      echo
2929    fi
2930
2931    if test -s confdefs.h; then
2932      $as_echo "## ----------- ##
2933## confdefs.h. ##
2934## ----------- ##"
2935      echo
2936      cat confdefs.h
2937      echo
2938    fi
2939    test "$ac_signal" != 0 &&
2940      $as_echo "$as_me: caught signal $ac_signal"
2941    $as_echo "$as_me: exit $exit_status"
2942  } >&5
2943  rm -f core *.core core.conftest.* &&
2944    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2945    exit $exit_status
2946' 0
2947for ac_signal in 1 2 13 15; do
2948  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2949done
2950ac_signal=0
2951
2952# confdefs.h avoids OS command line length limits that DEFS can exceed.
2953rm -f -r conftest* confdefs.h
2954
2955$as_echo "/* confdefs.h */" > confdefs.h
2956
2957# Predefined preprocessor variables.
2958
2959cat >>confdefs.h <<_ACEOF
2960#define PACKAGE_NAME "$PACKAGE_NAME"
2961_ACEOF
2962
2963cat >>confdefs.h <<_ACEOF
2964#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2965_ACEOF
2966
2967cat >>confdefs.h <<_ACEOF
2968#define PACKAGE_VERSION "$PACKAGE_VERSION"
2969_ACEOF
2970
2971cat >>confdefs.h <<_ACEOF
2972#define PACKAGE_STRING "$PACKAGE_STRING"
2973_ACEOF
2974
2975cat >>confdefs.h <<_ACEOF
2976#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2977_ACEOF
2978
2979cat >>confdefs.h <<_ACEOF
2980#define PACKAGE_URL "$PACKAGE_URL"
2981_ACEOF
2982
2983
2984# Let the site file select an alternate cache file if it wants to.
2985# Prefer an explicitly selected file to automatically selected ones.
2986ac_site_file1=NONE
2987ac_site_file2=NONE
2988if test -n "$CONFIG_SITE"; then
2989  # We do not want a PATH search for config.site.
2990  case $CONFIG_SITE in #((
2991    -*)  ac_site_file1=./$CONFIG_SITE;;
2992    */*) ac_site_file1=$CONFIG_SITE;;
2993    *)   ac_site_file1=./$CONFIG_SITE;;
2994  esac
2995elif test "x$prefix" != xNONE; then
2996  ac_site_file1=$prefix/share/config.site
2997  ac_site_file2=$prefix/etc/config.site
2998else
2999  ac_site_file1=$ac_default_prefix/share/config.site
3000  ac_site_file2=$ac_default_prefix/etc/config.site
3001fi
3002for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3003do
3004  test "x$ac_site_file" = xNONE && continue
3005  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3006    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3007$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3008    sed 's/^/| /' "$ac_site_file" >&5
3009    . "$ac_site_file" \
3010      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3011$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3012as_fn_error $? "failed to load site script $ac_site_file
3013See \`config.log' for more details" "$LINENO" 5; }
3014  fi
3015done
3016
3017if test -r "$cache_file"; then
3018  # Some versions of bash will fail to source /dev/null (special files
3019  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3020  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3021    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3022$as_echo "$as_me: loading cache $cache_file" >&6;}
3023    case $cache_file in
3024      [\\/]* | ?:[\\/]* ) . "$cache_file";;
3025      *)                      . "./$cache_file";;
3026    esac
3027  fi
3028else
3029  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3030$as_echo "$as_me: creating cache $cache_file" >&6;}
3031  >$cache_file
3032fi
3033
3034# Check that the precious variables saved in the cache have kept the same
3035# value.
3036ac_cache_corrupted=false
3037for ac_var in $ac_precious_vars; do
3038  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3039  eval ac_new_set=\$ac_env_${ac_var}_set
3040  eval ac_old_val=\$ac_cv_env_${ac_var}_value
3041  eval ac_new_val=\$ac_env_${ac_var}_value
3042  case $ac_old_set,$ac_new_set in
3043    set,)
3044      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3045$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3046      ac_cache_corrupted=: ;;
3047    ,set)
3048      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3049$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3050      ac_cache_corrupted=: ;;
3051    ,);;
3052    *)
3053      if test "x$ac_old_val" != "x$ac_new_val"; then
3054	# differences in whitespace do not lead to failure.
3055	ac_old_val_w=`echo x $ac_old_val`
3056	ac_new_val_w=`echo x $ac_new_val`
3057	if test "$ac_old_val_w" != "$ac_new_val_w"; then
3058	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3059$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3060	  ac_cache_corrupted=:
3061	else
3062	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3063$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3064	  eval $ac_var=\$ac_old_val
3065	fi
3066	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3067$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3068	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3069$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3070      fi;;
3071  esac
3072  # Pass precious variables to config.status.
3073  if test "$ac_new_set" = set; then
3074    case $ac_new_val in
3075    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3076    *) ac_arg=$ac_var=$ac_new_val ;;
3077    esac
3078    case " $ac_configure_args " in
3079      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3080      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3081    esac
3082  fi
3083done
3084if $ac_cache_corrupted; then
3085  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3088$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3089  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3090fi
3091## -------------------- ##
3092## Main body of script. ##
3093## -------------------- ##
3094
3095ac_ext=c
3096ac_cpp='$CPP $CPPFLAGS'
3097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099ac_compiler_gnu=$ac_cv_c_compiler_gnu
3100
3101
3102
3103
3104
3105
3106ac_config_headers="$ac_config_headers config.h"
3107
3108
3109# This works around the fact that libtool configuration may change LD
3110# for this particular configuration, but some shells, instead of
3111# keeping the changes in LD private, export them just because LD is
3112# exported.  Only used at the end of this file.
3113### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
3114
3115# Find the rest of the source tree framework.
3116# Default to --enable-multilib
3117# Check whether --enable-multilib was given.
3118if test "${enable_multilib+set}" = set; then :
3119  enableval=$enable_multilib; case "$enableval" in
3120  yes) multilib=yes ;;
3121  no)  multilib=no ;;
3122  *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3123 esac
3124else
3125  multilib=yes
3126fi
3127
3128
3129# We may get other options which we leave undocumented:
3130# --with-target-subdir, --with-multisrctop, --with-multisubdir
3131# See config-ml.in if you want the gory details.
3132
3133if test "$srcdir" = "."; then
3134  if test "$with_target_subdir" != "."; then
3135    multi_basedir="$srcdir/$with_multisrctop../.."
3136  else
3137    multi_basedir="$srcdir/$with_multisrctop.."
3138  fi
3139else
3140  multi_basedir="$srcdir/.."
3141fi
3142
3143
3144# Even if the default multilib is not a cross compilation,
3145# it may be that some of the other multilibs are.
3146if test $cross_compiling = no && test $multilib = yes \
3147   && test "x${with_multisubdir}" != x ; then
3148   cross_compiling=maybe
3149fi
3150
3151ac_config_commands="$ac_config_commands default-1"
3152
3153
3154# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3155#
3156# You will slowly go insane if you do not grok the following fact:  when
3157# building v3 as part of the compiler, the top-level /target/ becomes the
3158# library's /host/.  configure then causes --target to default to --host,
3159# exactly like any other package using autoconf.  Therefore, 'target' and
3160# 'host' will always be the same.  This makes sense both for native and
3161# cross compilers, just think about it for a little while.  :-)
3162#
3163# Also, if v3 is being configured as part of a cross compiler, the top-level
3164# configure script will pass the "real" host as $with_cross_host.
3165#
3166# Do not delete or change the following two lines.  For why, see
3167# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3168ac_aux_dir=
3169for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3170  if test -f "$ac_dir/install-sh"; then
3171    ac_aux_dir=$ac_dir
3172    ac_install_sh="$ac_aux_dir/install-sh -c"
3173    break
3174  elif test -f "$ac_dir/install.sh"; then
3175    ac_aux_dir=$ac_dir
3176    ac_install_sh="$ac_aux_dir/install.sh -c"
3177    break
3178  elif test -f "$ac_dir/shtool"; then
3179    ac_aux_dir=$ac_dir
3180    ac_install_sh="$ac_aux_dir/shtool install -c"
3181    break
3182  fi
3183done
3184if test -z "$ac_aux_dir"; then
3185  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3186fi
3187
3188# These three variables are undocumented and unsupported,
3189# and are intended to be withdrawn in a future Autoconf release.
3190# They can cause serious problems if a builder's source tree is in a directory
3191# whose full name contains unusual characters.
3192ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3193ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3194ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3195
3196
3197# Make sure we can run config.sub.
3198$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3199  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3200
3201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3202$as_echo_n "checking build system type... " >&6; }
3203if ${ac_cv_build+:} false; then :
3204  $as_echo_n "(cached) " >&6
3205else
3206  ac_build_alias=$build_alias
3207test "x$ac_build_alias" = x &&
3208  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3209test "x$ac_build_alias" = x &&
3210  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3211ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3212  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3213
3214fi
3215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3216$as_echo "$ac_cv_build" >&6; }
3217case $ac_cv_build in
3218*-*-*) ;;
3219*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3220esac
3221build=$ac_cv_build
3222ac_save_IFS=$IFS; IFS='-'
3223set x $ac_cv_build
3224shift
3225build_cpu=$1
3226build_vendor=$2
3227shift; shift
3228# Remember, the first character of IFS is used to create $*,
3229# except with old shells:
3230build_os=$*
3231IFS=$ac_save_IFS
3232case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3233
3234
3235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3236$as_echo_n "checking host system type... " >&6; }
3237if ${ac_cv_host+:} false; then :
3238  $as_echo_n "(cached) " >&6
3239else
3240  if test "x$host_alias" = x; then
3241  ac_cv_host=$ac_cv_build
3242else
3243  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3244    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3245fi
3246
3247fi
3248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3249$as_echo "$ac_cv_host" >&6; }
3250case $ac_cv_host in
3251*-*-*) ;;
3252*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3253esac
3254host=$ac_cv_host
3255ac_save_IFS=$IFS; IFS='-'
3256set x $ac_cv_host
3257shift
3258host_cpu=$1
3259host_vendor=$2
3260shift; shift
3261# Remember, the first character of IFS is used to create $*,
3262# except with old shells:
3263host_os=$*
3264IFS=$ac_save_IFS
3265case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3266
3267
3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3269$as_echo_n "checking target system type... " >&6; }
3270if ${ac_cv_target+:} false; then :
3271  $as_echo_n "(cached) " >&6
3272else
3273  if test "x$target_alias" = x; then
3274  ac_cv_target=$ac_cv_host
3275else
3276  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3277    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3278fi
3279
3280fi
3281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3282$as_echo "$ac_cv_target" >&6; }
3283case $ac_cv_target in
3284*-*-*) ;;
3285*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3286esac
3287target=$ac_cv_target
3288ac_save_IFS=$IFS; IFS='-'
3289set x $ac_cv_target
3290shift
3291target_cpu=$1
3292target_vendor=$2
3293shift; shift
3294# Remember, the first character of IFS is used to create $*,
3295# except with old shells:
3296target_os=$*
3297IFS=$ac_save_IFS
3298case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3299
3300
3301# The aliases save the names the user supplied, while $host etc.
3302# will get canonicalized.
3303test -n "$target_alias" &&
3304  test "$program_prefix$program_suffix$program_transform_name" = \
3305    NONENONEs,x,x, &&
3306  program_prefix=${target_alias}-
3307
3308target_alias=${target_alias-$host_alias}
3309
3310# Handy for debugging:
3311#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3312
3313if test "$build" != "$host"; then
3314  # We are being configured with some form of cross compiler.
3315  GLIBCXX_IS_NATIVE=false
3316  case "$host","$target" in
3317    # Darwin crosses can use the host system's libraries and headers,
3318    # because of the fat library support.  Of course, it must be the
3319    # same version of Darwin on both sides.  Allow the user to
3320    # just say --target=foo-darwin without a version number to mean
3321    # "the version on this system".
3322      *-*-darwin*,*-*-darwin*)
3323	hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3324	targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3325	if test $hostos = $targetos -o $targetos = darwin ; then
3326	  GLIBCXX_IS_NATIVE=true
3327	fi
3328	;;
3329
3330      *)
3331
3332	;;
3333  esac
3334else
3335  GLIBCXX_IS_NATIVE=true
3336fi
3337
3338# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3339# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3340#  1.x:  minimum required version
3341#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3342#              of other PACKAGE_* variables will, however, and there's nothing
3343#              we can do about that; they come from AC_INIT).
3344#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3345#            file in the top srcdir, etc, etc), so stop complaining.
3346#  no-dependencies:  turns off auto dependency generation (just for now)
3347#  no-dist:  we don't want 'dist' and related rules.
3348#  -Wall:  turns on all automake warnings...
3349#  -Wno-portability:  ...except this one, since GNU make is now required.
3350am__api_version='1.15'
3351
3352# Find a good install program.  We prefer a C program (faster),
3353# so one script is as good as another.  But avoid the broken or
3354# incompatible versions:
3355# SysV /etc/install, /usr/sbin/install
3356# SunOS /usr/etc/install
3357# IRIX /sbin/install
3358# AIX /bin/install
3359# AmigaOS /C/install, which installs bootblocks on floppy discs
3360# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3361# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3362# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3363# OS/2's system install, which has a completely different semantic
3364# ./install, which can be erroneously created by make from ./install.sh.
3365# Reject install programs that cannot install multiple files.
3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3367$as_echo_n "checking for a BSD-compatible install... " >&6; }
3368if test -z "$INSTALL"; then
3369if ${ac_cv_path_install+:} false; then :
3370  $as_echo_n "(cached) " >&6
3371else
3372  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373for as_dir in $PATH
3374do
3375  IFS=$as_save_IFS
3376  test -z "$as_dir" && as_dir=.
3377    # Account for people who put trailing slashes in PATH elements.
3378case $as_dir/ in #((
3379  ./ | .// | /[cC]/* | \
3380  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3381  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3382  /usr/ucb/* ) ;;
3383  *)
3384    # OSF1 and SCO ODT 3.0 have their own names for install.
3385    # Don't use installbsd from OSF since it installs stuff as root
3386    # by default.
3387    for ac_prog in ginstall scoinst install; do
3388      for ac_exec_ext in '' $ac_executable_extensions; do
3389	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3390	  if test $ac_prog = install &&
3391	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3392	    # AIX install.  It has an incompatible calling convention.
3393	    :
3394	  elif test $ac_prog = install &&
3395	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3396	    # program-specific install script used by HP pwplus--don't use.
3397	    :
3398	  else
3399	    rm -rf conftest.one conftest.two conftest.dir
3400	    echo one > conftest.one
3401	    echo two > conftest.two
3402	    mkdir conftest.dir
3403	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3404	      test -s conftest.one && test -s conftest.two &&
3405	      test -s conftest.dir/conftest.one &&
3406	      test -s conftest.dir/conftest.two
3407	    then
3408	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3409	      break 3
3410	    fi
3411	  fi
3412	fi
3413      done
3414    done
3415    ;;
3416esac
3417
3418  done
3419IFS=$as_save_IFS
3420
3421rm -rf conftest.one conftest.two conftest.dir
3422
3423fi
3424  if test "${ac_cv_path_install+set}" = set; then
3425    INSTALL=$ac_cv_path_install
3426  else
3427    # As a last resort, use the slow shell script.  Don't cache a
3428    # value for INSTALL within a source directory, because that will
3429    # break other packages using the cache if that directory is
3430    # removed, or if the value is a relative name.
3431    INSTALL=$ac_install_sh
3432  fi
3433fi
3434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3435$as_echo "$INSTALL" >&6; }
3436
3437# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3438# It thinks the first close brace ends the variable substitution.
3439test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3440
3441test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3442
3443test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3444
3445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3446$as_echo_n "checking whether build environment is sane... " >&6; }
3447# Reject unsafe characters in $srcdir or the absolute working directory
3448# name.  Accept space and tab only in the latter.
3449am_lf='
3450'
3451case `pwd` in
3452  *[\\\"\#\$\&\'\`$am_lf]*)
3453    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3454esac
3455case $srcdir in
3456  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3457    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3458esac
3459
3460# Do 'set' in a subshell so we don't clobber the current shell's
3461# arguments.  Must try -L first in case configure is actually a
3462# symlink; some systems play weird games with the mod time of symlinks
3463# (eg FreeBSD returns the mod time of the symlink's containing
3464# directory).
3465if (
3466   am_has_slept=no
3467   for am_try in 1 2; do
3468     echo "timestamp, slept: $am_has_slept" > conftest.file
3469     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3470     if test "$*" = "X"; then
3471	# -L didn't work.
3472	set X `ls -t "$srcdir/configure" conftest.file`
3473     fi
3474     if test "$*" != "X $srcdir/configure conftest.file" \
3475	&& test "$*" != "X conftest.file $srcdir/configure"; then
3476
3477	# If neither matched, then we have a broken ls.  This can happen
3478	# if, for instance, CONFIG_SHELL is bash and it inherits a
3479	# broken ls alias from the environment.  This has actually
3480	# happened.  Such a system could not be considered "sane".
3481	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3482  alias in your environment" "$LINENO" 5
3483     fi
3484     if test "$2" = conftest.file || test $am_try -eq 2; then
3485       break
3486     fi
3487     # Just in case.
3488     sleep 1
3489     am_has_slept=yes
3490   done
3491   test "$2" = conftest.file
3492   )
3493then
3494   # Ok.
3495   :
3496else
3497   as_fn_error $? "newly created file is older than distributed files!
3498Check your system clock" "$LINENO" 5
3499fi
3500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3501$as_echo "yes" >&6; }
3502# If we didn't sleep, we still need to ensure time stamps of config.status and
3503# generated files are strictly newer.
3504am_sleep_pid=
3505if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3506  ( sleep 1 ) &
3507  am_sleep_pid=$!
3508fi
3509
3510rm -f conftest.file
3511
3512test "$program_prefix" != NONE &&
3513  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3514# Use a double $ so make ignores it.
3515test "$program_suffix" != NONE &&
3516  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3517# Double any \ or $.
3518# By default was `s,x,x', remove it if useless.
3519ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3520program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3521
3522# Expand $ac_aux_dir to an absolute path.
3523am_aux_dir=`cd "$ac_aux_dir" && pwd`
3524
3525if test x"${MISSING+set}" != xset; then
3526  case $am_aux_dir in
3527  *\ * | *\	*)
3528    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3529  *)
3530    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3531  esac
3532fi
3533# Use eval to expand $SHELL
3534if eval "$MISSING --is-lightweight"; then
3535  am_missing_run="$MISSING "
3536else
3537  am_missing_run=
3538  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3539$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3540fi
3541
3542if test x"${install_sh+set}" != xset; then
3543  case $am_aux_dir in
3544  *\ * | *\	*)
3545    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3546  *)
3547    install_sh="\${SHELL} $am_aux_dir/install-sh"
3548  esac
3549fi
3550
3551# Installed binaries are usually stripped using 'strip' when the user
3552# run "make install-strip".  However 'strip' might not be the right
3553# tool to use in cross-compilation environments, therefore Automake
3554# will honor the 'STRIP' environment variable to overrule this program.
3555if test "$cross_compiling" != no; then
3556  if test -n "$ac_tool_prefix"; then
3557  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3558set dummy ${ac_tool_prefix}strip; ac_word=$2
3559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560$as_echo_n "checking for $ac_word... " >&6; }
3561if ${ac_cv_prog_STRIP+:} false; then :
3562  $as_echo_n "(cached) " >&6
3563else
3564  if test -n "$STRIP"; then
3565  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3566else
3567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568for as_dir in $PATH
3569do
3570  IFS=$as_save_IFS
3571  test -z "$as_dir" && as_dir=.
3572    for ac_exec_ext in '' $ac_executable_extensions; do
3573  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576    break 2
3577  fi
3578done
3579  done
3580IFS=$as_save_IFS
3581
3582fi
3583fi
3584STRIP=$ac_cv_prog_STRIP
3585if test -n "$STRIP"; then
3586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3587$as_echo "$STRIP" >&6; }
3588else
3589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590$as_echo "no" >&6; }
3591fi
3592
3593
3594fi
3595if test -z "$ac_cv_prog_STRIP"; then
3596  ac_ct_STRIP=$STRIP
3597  # Extract the first word of "strip", so it can be a program name with args.
3598set dummy strip; ac_word=$2
3599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600$as_echo_n "checking for $ac_word... " >&6; }
3601if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3602  $as_echo_n "(cached) " >&6
3603else
3604  if test -n "$ac_ct_STRIP"; then
3605  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3606else
3607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608for as_dir in $PATH
3609do
3610  IFS=$as_save_IFS
3611  test -z "$as_dir" && as_dir=.
3612    for ac_exec_ext in '' $ac_executable_extensions; do
3613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614    ac_cv_prog_ac_ct_STRIP="strip"
3615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616    break 2
3617  fi
3618done
3619  done
3620IFS=$as_save_IFS
3621
3622fi
3623fi
3624ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3625if test -n "$ac_ct_STRIP"; then
3626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3627$as_echo "$ac_ct_STRIP" >&6; }
3628else
3629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630$as_echo "no" >&6; }
3631fi
3632
3633  if test "x$ac_ct_STRIP" = x; then
3634    STRIP=":"
3635  else
3636    case $cross_compiling:$ac_tool_warned in
3637yes:)
3638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640ac_tool_warned=yes ;;
3641esac
3642    STRIP=$ac_ct_STRIP
3643  fi
3644else
3645  STRIP="$ac_cv_prog_STRIP"
3646fi
3647
3648fi
3649INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3650
3651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3652$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3653if test -z "$MKDIR_P"; then
3654  if ${ac_cv_path_mkdir+:} false; then :
3655  $as_echo_n "(cached) " >&6
3656else
3657  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3659do
3660  IFS=$as_save_IFS
3661  test -z "$as_dir" && as_dir=.
3662    for ac_prog in mkdir gmkdir; do
3663	 for ac_exec_ext in '' $ac_executable_extensions; do
3664	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3665	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3666	     'mkdir (GNU coreutils) '* | \
3667	     'mkdir (coreutils) '* | \
3668	     'mkdir (fileutils) '4.1*)
3669	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3670	       break 3;;
3671	   esac
3672	 done
3673       done
3674  done
3675IFS=$as_save_IFS
3676
3677fi
3678
3679  test -d ./--version && rmdir ./--version
3680  if test "${ac_cv_path_mkdir+set}" = set; then
3681    MKDIR_P="$ac_cv_path_mkdir -p"
3682  else
3683    # As a last resort, use the slow shell script.  Don't cache a
3684    # value for MKDIR_P within a source directory, because that will
3685    # break other packages using the cache if that directory is
3686    # removed, or if the value is a relative name.
3687    MKDIR_P="$ac_install_sh -d"
3688  fi
3689fi
3690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3691$as_echo "$MKDIR_P" >&6; }
3692
3693for ac_prog in gawk mawk nawk awk
3694do
3695  # Extract the first word of "$ac_prog", so it can be a program name with args.
3696set dummy $ac_prog; ac_word=$2
3697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698$as_echo_n "checking for $ac_word... " >&6; }
3699if ${ac_cv_prog_AWK+:} false; then :
3700  $as_echo_n "(cached) " >&6
3701else
3702  if test -n "$AWK"; then
3703  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3704else
3705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706for as_dir in $PATH
3707do
3708  IFS=$as_save_IFS
3709  test -z "$as_dir" && as_dir=.
3710    for ac_exec_ext in '' $ac_executable_extensions; do
3711  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3712    ac_cv_prog_AWK="$ac_prog"
3713    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714    break 2
3715  fi
3716done
3717  done
3718IFS=$as_save_IFS
3719
3720fi
3721fi
3722AWK=$ac_cv_prog_AWK
3723if test -n "$AWK"; then
3724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3725$as_echo "$AWK" >&6; }
3726else
3727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728$as_echo "no" >&6; }
3729fi
3730
3731
3732  test -n "$AWK" && break
3733done
3734
3735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3736$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3737set x ${MAKE-make}
3738ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3739if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3740  $as_echo_n "(cached) " >&6
3741else
3742  cat >conftest.make <<\_ACEOF
3743SHELL = /bin/sh
3744all:
3745	@echo '@@@%%%=$(MAKE)=@@@%%%'
3746_ACEOF
3747# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3748case `${MAKE-make} -f conftest.make 2>/dev/null` in
3749  *@@@%%%=?*=@@@%%%*)
3750    eval ac_cv_prog_make_${ac_make}_set=yes;;
3751  *)
3752    eval ac_cv_prog_make_${ac_make}_set=no;;
3753esac
3754rm -f conftest.make
3755fi
3756if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3758$as_echo "yes" >&6; }
3759  SET_MAKE=
3760else
3761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762$as_echo "no" >&6; }
3763  SET_MAKE="MAKE=${MAKE-make}"
3764fi
3765
3766rm -rf .tst 2>/dev/null
3767mkdir .tst 2>/dev/null
3768if test -d .tst; then
3769  am__leading_dot=.
3770else
3771  am__leading_dot=_
3772fi
3773rmdir .tst 2>/dev/null
3774
3775# Check whether --enable-silent-rules was given.
3776if test "${enable_silent_rules+set}" = set; then :
3777  enableval=$enable_silent_rules;
3778fi
3779
3780case $enable_silent_rules in # (((
3781  yes) AM_DEFAULT_VERBOSITY=0;;
3782   no) AM_DEFAULT_VERBOSITY=1;;
3783    *) AM_DEFAULT_VERBOSITY=1;;
3784esac
3785am_make=${MAKE-make}
3786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3787$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3788if ${am_cv_make_support_nested_variables+:} false; then :
3789  $as_echo_n "(cached) " >&6
3790else
3791  if $as_echo 'TRUE=$(BAR$(V))
3792BAR0=false
3793BAR1=true
3794V=1
3795am__doit:
3796	@$(TRUE)
3797.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3798  am_cv_make_support_nested_variables=yes
3799else
3800  am_cv_make_support_nested_variables=no
3801fi
3802fi
3803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3804$as_echo "$am_cv_make_support_nested_variables" >&6; }
3805if test $am_cv_make_support_nested_variables = yes; then
3806    AM_V='$(V)'
3807  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3808else
3809  AM_V=$AM_DEFAULT_VERBOSITY
3810  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3811fi
3812AM_BACKSLASH='\'
3813
3814if test "`cd $srcdir && pwd`" != "`pwd`"; then
3815  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3816  # is not polluted with repeated "-I."
3817  am__isrc=' -I$(srcdir)'
3818  # test to see if srcdir already configured
3819  if test -f $srcdir/config.status; then
3820    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3821  fi
3822fi
3823
3824# test whether we have cygpath
3825if test -z "$CYGPATH_W"; then
3826  if (cygpath --version) >/dev/null 2>/dev/null; then
3827    CYGPATH_W='cygpath -w'
3828  else
3829    CYGPATH_W=echo
3830  fi
3831fi
3832
3833
3834# Define the identity of the package.
3835 PACKAGE='libstdc++'
3836 VERSION='version-unused'
3837
3838
3839# Some tools Automake needs.
3840
3841ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3842
3843
3844AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3845
3846
3847AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3848
3849
3850AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3851
3852
3853MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3854
3855# For better backward compatibility.  To be removed once Automake 1.9.x
3856# dies out for good.  For more background, see:
3857# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3858# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3859mkdir_p='$(MKDIR_P)'
3860
3861# We need awk for the "check" target (and possibly the TAP driver).  The
3862# system "awk" is bad on some platforms.
3863# Always define AMTAR for backward compatibility.  Yes, it's still used
3864# in the wild :-(  We should find a proper way to deprecate it ...
3865AMTAR='$${TAR-tar}'
3866
3867
3868# We'll loop over all known methods to create a tar archive until one works.
3869_am_tools='gnutar  pax cpio none'
3870
3871am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3872
3873
3874
3875
3876
3877
3878# POSIX will say in a future version that running "rm -f" with no argument
3879# is OK; and we want to be able to make that assumption in our Makefile
3880# recipes.  So use an aggressive probe to check that the usage we want is
3881# actually supported "in the wild" to an acceptable degree.
3882# See automake bug#10828.
3883# To make any issue more visible, cause the running configure to be aborted
3884# by default if the 'rm' program in use doesn't match our expectations; the
3885# user can still override this though.
3886if rm -f && rm -fr && rm -rf; then : OK; else
3887  cat >&2 <<'END'
3888Oops!
3889
3890Your 'rm' program seems unable to run without file operands specified
3891on the command line, even when the '-f' option is present.  This is contrary
3892to the behaviour of most rm programs out there, and not conforming with
3893the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3894
3895Please tell bug-automake@gnu.org about your system, including the value
3896of your $PATH and any error possibly output before this message.  This
3897can help us improve future automake versions.
3898
3899END
3900  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3901    echo 'Configuration will proceed anyway, since you have set the' >&2
3902    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3903    echo >&2
3904  else
3905    cat >&2 <<'END'
3906Aborting the configuration process, to ensure you take notice of the issue.
3907
3908You can download and install GNU coreutils to get an 'rm' implementation
3909that behaves properly: <http://www.gnu.org/software/coreutils/>.
3910
3911If you want to complete the configuration process using your problematic
3912'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3913to "yes", and re-run configure.
3914
3915END
3916    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3917  fi
3918fi
3919
3920
3921
3922
3923# -fno-builtin must be present here so that a non-conflicting form of
3924# std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3925
3926save_CXXFLAGS="$CXXFLAGS"
3927CXXFLAGS="$CXXFLAGS -fno-builtin"
3928ac_ext=c
3929ac_cpp='$CPP $CPPFLAGS'
3930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3932ac_compiler_gnu=$ac_cv_c_compiler_gnu
3933if test -n "$ac_tool_prefix"; then
3934  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3935set dummy ${ac_tool_prefix}gcc; ac_word=$2
3936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937$as_echo_n "checking for $ac_word... " >&6; }
3938if ${ac_cv_prog_CC+:} false; then :
3939  $as_echo_n "(cached) " >&6
3940else
3941  if test -n "$CC"; then
3942  ac_cv_prog_CC="$CC" # Let the user override the test.
3943else
3944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945for as_dir in $PATH
3946do
3947  IFS=$as_save_IFS
3948  test -z "$as_dir" && as_dir=.
3949    for ac_exec_ext in '' $ac_executable_extensions; do
3950  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3952    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953    break 2
3954  fi
3955done
3956  done
3957IFS=$as_save_IFS
3958
3959fi
3960fi
3961CC=$ac_cv_prog_CC
3962if test -n "$CC"; then
3963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3964$as_echo "$CC" >&6; }
3965else
3966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967$as_echo "no" >&6; }
3968fi
3969
3970
3971fi
3972if test -z "$ac_cv_prog_CC"; then
3973  ac_ct_CC=$CC
3974  # Extract the first word of "gcc", so it can be a program name with args.
3975set dummy gcc; ac_word=$2
3976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977$as_echo_n "checking for $ac_word... " >&6; }
3978if ${ac_cv_prog_ac_ct_CC+:} false; then :
3979  $as_echo_n "(cached) " >&6
3980else
3981  if test -n "$ac_ct_CC"; then
3982  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3983else
3984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985for as_dir in $PATH
3986do
3987  IFS=$as_save_IFS
3988  test -z "$as_dir" && as_dir=.
3989    for ac_exec_ext in '' $ac_executable_extensions; do
3990  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3991    ac_cv_prog_ac_ct_CC="gcc"
3992    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993    break 2
3994  fi
3995done
3996  done
3997IFS=$as_save_IFS
3998
3999fi
4000fi
4001ac_ct_CC=$ac_cv_prog_ac_ct_CC
4002if test -n "$ac_ct_CC"; then
4003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4004$as_echo "$ac_ct_CC" >&6; }
4005else
4006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007$as_echo "no" >&6; }
4008fi
4009
4010  if test "x$ac_ct_CC" = x; then
4011    CC=""
4012  else
4013    case $cross_compiling:$ac_tool_warned in
4014yes:)
4015{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4016$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4017ac_tool_warned=yes ;;
4018esac
4019    CC=$ac_ct_CC
4020  fi
4021else
4022  CC="$ac_cv_prog_CC"
4023fi
4024
4025if test -z "$CC"; then
4026          if test -n "$ac_tool_prefix"; then
4027    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4028set dummy ${ac_tool_prefix}cc; ac_word=$2
4029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4030$as_echo_n "checking for $ac_word... " >&6; }
4031if ${ac_cv_prog_CC+:} false; then :
4032  $as_echo_n "(cached) " >&6
4033else
4034  if test -n "$CC"; then
4035  ac_cv_prog_CC="$CC" # Let the user override the test.
4036else
4037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038for as_dir in $PATH
4039do
4040  IFS=$as_save_IFS
4041  test -z "$as_dir" && as_dir=.
4042    for ac_exec_ext in '' $ac_executable_extensions; do
4043  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4044    ac_cv_prog_CC="${ac_tool_prefix}cc"
4045    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046    break 2
4047  fi
4048done
4049  done
4050IFS=$as_save_IFS
4051
4052fi
4053fi
4054CC=$ac_cv_prog_CC
4055if test -n "$CC"; then
4056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4057$as_echo "$CC" >&6; }
4058else
4059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060$as_echo "no" >&6; }
4061fi
4062
4063
4064  fi
4065fi
4066if test -z "$CC"; then
4067  # Extract the first word of "cc", so it can be a program name with args.
4068set dummy cc; ac_word=$2
4069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070$as_echo_n "checking for $ac_word... " >&6; }
4071if ${ac_cv_prog_CC+:} false; then :
4072  $as_echo_n "(cached) " >&6
4073else
4074  if test -n "$CC"; then
4075  ac_cv_prog_CC="$CC" # Let the user override the test.
4076else
4077  ac_prog_rejected=no
4078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079for as_dir in $PATH
4080do
4081  IFS=$as_save_IFS
4082  test -z "$as_dir" && as_dir=.
4083    for ac_exec_ext in '' $ac_executable_extensions; do
4084  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4085    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4086       ac_prog_rejected=yes
4087       continue
4088     fi
4089    ac_cv_prog_CC="cc"
4090    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4091    break 2
4092  fi
4093done
4094  done
4095IFS=$as_save_IFS
4096
4097if test $ac_prog_rejected = yes; then
4098  # We found a bogon in the path, so make sure we never use it.
4099  set dummy $ac_cv_prog_CC
4100  shift
4101  if test $# != 0; then
4102    # We chose a different compiler from the bogus one.
4103    # However, it has the same basename, so the bogon will be chosen
4104    # first if we set CC to just the basename; use the full file name.
4105    shift
4106    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4107  fi
4108fi
4109fi
4110fi
4111CC=$ac_cv_prog_CC
4112if test -n "$CC"; then
4113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4114$as_echo "$CC" >&6; }
4115else
4116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117$as_echo "no" >&6; }
4118fi
4119
4120
4121fi
4122if test -z "$CC"; then
4123  if test -n "$ac_tool_prefix"; then
4124  for ac_prog in cl.exe
4125  do
4126    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4127set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4129$as_echo_n "checking for $ac_word... " >&6; }
4130if ${ac_cv_prog_CC+:} false; then :
4131  $as_echo_n "(cached) " >&6
4132else
4133  if test -n "$CC"; then
4134  ac_cv_prog_CC="$CC" # Let the user override the test.
4135else
4136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137for as_dir in $PATH
4138do
4139  IFS=$as_save_IFS
4140  test -z "$as_dir" && as_dir=.
4141    for ac_exec_ext in '' $ac_executable_extensions; do
4142  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4144    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145    break 2
4146  fi
4147done
4148  done
4149IFS=$as_save_IFS
4150
4151fi
4152fi
4153CC=$ac_cv_prog_CC
4154if test -n "$CC"; then
4155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4156$as_echo "$CC" >&6; }
4157else
4158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159$as_echo "no" >&6; }
4160fi
4161
4162
4163    test -n "$CC" && break
4164  done
4165fi
4166if test -z "$CC"; then
4167  ac_ct_CC=$CC
4168  for ac_prog in cl.exe
4169do
4170  # Extract the first word of "$ac_prog", so it can be a program name with args.
4171set dummy $ac_prog; ac_word=$2
4172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173$as_echo_n "checking for $ac_word... " >&6; }
4174if ${ac_cv_prog_ac_ct_CC+:} false; then :
4175  $as_echo_n "(cached) " >&6
4176else
4177  if test -n "$ac_ct_CC"; then
4178  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4179else
4180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4181for as_dir in $PATH
4182do
4183  IFS=$as_save_IFS
4184  test -z "$as_dir" && as_dir=.
4185    for ac_exec_ext in '' $ac_executable_extensions; do
4186  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4187    ac_cv_prog_ac_ct_CC="$ac_prog"
4188    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189    break 2
4190  fi
4191done
4192  done
4193IFS=$as_save_IFS
4194
4195fi
4196fi
4197ac_ct_CC=$ac_cv_prog_ac_ct_CC
4198if test -n "$ac_ct_CC"; then
4199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4200$as_echo "$ac_ct_CC" >&6; }
4201else
4202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203$as_echo "no" >&6; }
4204fi
4205
4206
4207  test -n "$ac_ct_CC" && break
4208done
4209
4210  if test "x$ac_ct_CC" = x; then
4211    CC=""
4212  else
4213    case $cross_compiling:$ac_tool_warned in
4214yes:)
4215{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4216$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4217ac_tool_warned=yes ;;
4218esac
4219    CC=$ac_ct_CC
4220  fi
4221fi
4222
4223fi
4224
4225
4226test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4227$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4228as_fn_error $? "no acceptable C compiler found in \$PATH
4229See \`config.log' for more details" "$LINENO" 5; }
4230
4231# Provide some information about the compiler.
4232$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4233set X $ac_compile
4234ac_compiler=$2
4235for ac_option in --version -v -V -qversion; do
4236  { { ac_try="$ac_compiler $ac_option >&5"
4237case "(($ac_try" in
4238  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239  *) ac_try_echo=$ac_try;;
4240esac
4241eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242$as_echo "$ac_try_echo"; } >&5
4243  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4244  ac_status=$?
4245  if test -s conftest.err; then
4246    sed '10a\
4247... rest of stderr output deleted ...
4248         10q' conftest.err >conftest.er1
4249    cat conftest.er1 >&5
4250  fi
4251  rm -f conftest.er1 conftest.err
4252  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4253  test $ac_status = 0; }
4254done
4255
4256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257/* end confdefs.h.  */
4258#include <stdio.h>
4259int
4260main ()
4261{
4262printf ("hello world\n");
4263  ;
4264  return 0;
4265}
4266_ACEOF
4267# FIXME: Cleanup?
4268if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&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  gcc_no_link=no
4274else
4275  gcc_no_link=yes
4276fi
4277if test x$gcc_no_link = xyes; then
4278  # Setting cross_compile will disable run tests; it will
4279  # also disable AC_CHECK_FILE but that's generally
4280  # correct if we can't link.
4281  cross_compiling=yes
4282  EXEEXT=
4283else
4284  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285/* end confdefs.h.  */
4286
4287int
4288main ()
4289{
4290
4291  ;
4292  return 0;
4293}
4294_ACEOF
4295ac_clean_files_save=$ac_clean_files
4296ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4297# Try to create an executable without -o first, disregard a.out.
4298# It will help us diagnose broken compilers, and finding out an intuition
4299# of exeext.
4300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4301$as_echo_n "checking whether the C compiler works... " >&6; }
4302ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4303
4304# The possible output files:
4305ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4306
4307ac_rmfiles=
4308for ac_file in $ac_files
4309do
4310  case $ac_file in
4311    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4312    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4313  esac
4314done
4315rm -f $ac_rmfiles
4316
4317if { { ac_try="$ac_link_default"
4318case "(($ac_try" in
4319  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320  *) ac_try_echo=$ac_try;;
4321esac
4322eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323$as_echo "$ac_try_echo"; } >&5
4324  (eval "$ac_link_default") 2>&5
4325  ac_status=$?
4326  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327  test $ac_status = 0; }; then :
4328  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4329# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4330# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4331# so that the user can short-circuit this test for compilers unknown to
4332# Autoconf.
4333for ac_file in $ac_files ''
4334do
4335  test -f "$ac_file" || continue
4336  case $ac_file in
4337    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4338	;;
4339    [ab].out )
4340	# We found the default executable, but exeext='' is most
4341	# certainly right.
4342	break;;
4343    *.* )
4344	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4345	then :; else
4346	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4347	fi
4348	# We set ac_cv_exeext here because the later test for it is not
4349	# safe: cross compilers may not add the suffix if given an `-o'
4350	# argument, so we may need to know it at that point already.
4351	# Even if this section looks crufty: it has the advantage of
4352	# actually working.
4353	break;;
4354    * )
4355	break;;
4356  esac
4357done
4358test "$ac_cv_exeext" = no && ac_cv_exeext=
4359
4360else
4361  ac_file=''
4362fi
4363if test -z "$ac_file"; then :
4364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365$as_echo "no" >&6; }
4366$as_echo "$as_me: failed program was:" >&5
4367sed 's/^/| /' conftest.$ac_ext >&5
4368
4369{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371as_fn_error 77 "C compiler cannot create executables
4372See \`config.log' for more details" "$LINENO" 5; }
4373else
4374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4375$as_echo "yes" >&6; }
4376fi
4377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4378$as_echo_n "checking for C compiler default output file name... " >&6; }
4379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4380$as_echo "$ac_file" >&6; }
4381ac_exeext=$ac_cv_exeext
4382
4383rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4384ac_clean_files=$ac_clean_files_save
4385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4386$as_echo_n "checking for suffix of executables... " >&6; }
4387if { { ac_try="$ac_link"
4388case "(($ac_try" in
4389  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4390  *) ac_try_echo=$ac_try;;
4391esac
4392eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4393$as_echo "$ac_try_echo"; } >&5
4394  (eval "$ac_link") 2>&5
4395  ac_status=$?
4396  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397  test $ac_status = 0; }; then :
4398  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4399# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4400# work properly (i.e., refer to `conftest.exe'), while it won't with
4401# `rm'.
4402for ac_file in conftest.exe conftest conftest.*; do
4403  test -f "$ac_file" || continue
4404  case $ac_file in
4405    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4406    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4407	  break;;
4408    * ) break;;
4409  esac
4410done
4411else
4412  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4413$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4414as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4415See \`config.log' for more details" "$LINENO" 5; }
4416fi
4417rm -f conftest conftest$ac_cv_exeext
4418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4419$as_echo "$ac_cv_exeext" >&6; }
4420
4421rm -f conftest.$ac_ext
4422EXEEXT=$ac_cv_exeext
4423ac_exeext=$EXEEXT
4424cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425/* end confdefs.h.  */
4426#include <stdio.h>
4427int
4428main ()
4429{
4430FILE *f = fopen ("conftest.out", "w");
4431 return ferror (f) || fclose (f) != 0;
4432
4433  ;
4434  return 0;
4435}
4436_ACEOF
4437ac_clean_files="$ac_clean_files conftest.out"
4438# Check that the compiler produces executables we can run.  If not, either
4439# the compiler is broken, or we cross compile.
4440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4441$as_echo_n "checking whether we are cross compiling... " >&6; }
4442if test "$cross_compiling" != yes; then
4443  { { ac_try="$ac_link"
4444case "(($ac_try" in
4445  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446  *) ac_try_echo=$ac_try;;
4447esac
4448eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449$as_echo "$ac_try_echo"; } >&5
4450  (eval "$ac_link") 2>&5
4451  ac_status=$?
4452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453  test $ac_status = 0; }
4454  if { ac_try='./conftest$ac_cv_exeext'
4455  { { case "(($ac_try" in
4456  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457  *) ac_try_echo=$ac_try;;
4458esac
4459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460$as_echo "$ac_try_echo"; } >&5
4461  (eval "$ac_try") 2>&5
4462  ac_status=$?
4463  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464  test $ac_status = 0; }; }; then
4465    cross_compiling=no
4466  else
4467    if test "$cross_compiling" = maybe; then
4468	cross_compiling=yes
4469    else
4470	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4471$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4472as_fn_error $? "cannot run C compiled programs.
4473If you meant to cross compile, use \`--host'.
4474See \`config.log' for more details" "$LINENO" 5; }
4475    fi
4476  fi
4477fi
4478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4479$as_echo "$cross_compiling" >&6; }
4480
4481rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4482ac_clean_files=$ac_clean_files_save
4483fi
4484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4485$as_echo_n "checking for suffix of object files... " >&6; }
4486if ${ac_cv_objext+:} false; then :
4487  $as_echo_n "(cached) " >&6
4488else
4489  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490/* end confdefs.h.  */
4491
4492int
4493main ()
4494{
4495
4496  ;
4497  return 0;
4498}
4499_ACEOF
4500rm -f conftest.o conftest.obj
4501if { { ac_try="$ac_compile"
4502case "(($ac_try" in
4503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4504  *) ac_try_echo=$ac_try;;
4505esac
4506eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4507$as_echo "$ac_try_echo"; } >&5
4508  (eval "$ac_compile") 2>&5
4509  ac_status=$?
4510  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4511  test $ac_status = 0; }; then :
4512  for ac_file in conftest.o conftest.obj conftest.*; do
4513  test -f "$ac_file" || continue;
4514  case $ac_file in
4515    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4516    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4517       break;;
4518  esac
4519done
4520else
4521  $as_echo "$as_me: failed program was:" >&5
4522sed 's/^/| /' conftest.$ac_ext >&5
4523
4524{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4525$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4526as_fn_error $? "cannot compute suffix of object files: cannot compile
4527See \`config.log' for more details" "$LINENO" 5; }
4528fi
4529rm -f conftest.$ac_cv_objext conftest.$ac_ext
4530fi
4531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4532$as_echo "$ac_cv_objext" >&6; }
4533OBJEXT=$ac_cv_objext
4534ac_objext=$OBJEXT
4535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4536$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4537if ${ac_cv_c_compiler_gnu+:} false; then :
4538  $as_echo_n "(cached) " >&6
4539else
4540  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541/* end confdefs.h.  */
4542
4543int
4544main ()
4545{
4546#ifndef __GNUC__
4547       choke me
4548#endif
4549
4550  ;
4551  return 0;
4552}
4553_ACEOF
4554if ac_fn_c_try_compile "$LINENO"; then :
4555  ac_compiler_gnu=yes
4556else
4557  ac_compiler_gnu=no
4558fi
4559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560ac_cv_c_compiler_gnu=$ac_compiler_gnu
4561
4562fi
4563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4564$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4565if test $ac_compiler_gnu = yes; then
4566  GCC=yes
4567else
4568  GCC=
4569fi
4570ac_test_CFLAGS=${CFLAGS+set}
4571ac_save_CFLAGS=$CFLAGS
4572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4573$as_echo_n "checking whether $CC accepts -g... " >&6; }
4574if ${ac_cv_prog_cc_g+:} false; then :
4575  $as_echo_n "(cached) " >&6
4576else
4577  ac_save_c_werror_flag=$ac_c_werror_flag
4578   ac_c_werror_flag=yes
4579   ac_cv_prog_cc_g=no
4580   CFLAGS="-g"
4581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582/* end confdefs.h.  */
4583
4584int
4585main ()
4586{
4587
4588  ;
4589  return 0;
4590}
4591_ACEOF
4592if ac_fn_c_try_compile "$LINENO"; then :
4593  ac_cv_prog_cc_g=yes
4594else
4595  CFLAGS=""
4596      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597/* end confdefs.h.  */
4598
4599int
4600main ()
4601{
4602
4603  ;
4604  return 0;
4605}
4606_ACEOF
4607if ac_fn_c_try_compile "$LINENO"; then :
4608
4609else
4610  ac_c_werror_flag=$ac_save_c_werror_flag
4611	 CFLAGS="-g"
4612	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613/* end confdefs.h.  */
4614
4615int
4616main ()
4617{
4618
4619  ;
4620  return 0;
4621}
4622_ACEOF
4623if ac_fn_c_try_compile "$LINENO"; then :
4624  ac_cv_prog_cc_g=yes
4625fi
4626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627fi
4628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629fi
4630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631   ac_c_werror_flag=$ac_save_c_werror_flag
4632fi
4633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4634$as_echo "$ac_cv_prog_cc_g" >&6; }
4635if test "$ac_test_CFLAGS" = set; then
4636  CFLAGS=$ac_save_CFLAGS
4637elif test $ac_cv_prog_cc_g = yes; then
4638  if test "$GCC" = yes; then
4639    CFLAGS="-g -O2"
4640  else
4641    CFLAGS="-g"
4642  fi
4643else
4644  if test "$GCC" = yes; then
4645    CFLAGS="-O2"
4646  else
4647    CFLAGS=
4648  fi
4649fi
4650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4651$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4652if ${ac_cv_prog_cc_c89+:} false; then :
4653  $as_echo_n "(cached) " >&6
4654else
4655  ac_cv_prog_cc_c89=no
4656ac_save_CC=$CC
4657cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658/* end confdefs.h.  */
4659#include <stdarg.h>
4660#include <stdio.h>
4661struct stat;
4662/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4663struct buf { int x; };
4664FILE * (*rcsopen) (struct buf *, struct stat *, int);
4665static char *e (p, i)
4666     char **p;
4667     int i;
4668{
4669  return p[i];
4670}
4671static char *f (char * (*g) (char **, int), char **p, ...)
4672{
4673  char *s;
4674  va_list v;
4675  va_start (v,p);
4676  s = g (p, va_arg (v,int));
4677  va_end (v);
4678  return s;
4679}
4680
4681/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4682   function prototypes and stuff, but not '\xHH' hex character constants.
4683   These don't provoke an error unfortunately, instead are silently treated
4684   as 'x'.  The following induces an error, until -std is added to get
4685   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4686   array size at least.  It's necessary to write '\x00'==0 to get something
4687   that's true only with -std.  */
4688int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4689
4690/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4691   inside strings and character constants.  */
4692#define FOO(x) 'x'
4693int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4694
4695int test (int i, double x);
4696struct s1 {int (*f) (int a);};
4697struct s2 {int (*f) (double a);};
4698int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4699int argc;
4700char **argv;
4701int
4702main ()
4703{
4704return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4705  ;
4706  return 0;
4707}
4708_ACEOF
4709for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4710	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4711do
4712  CC="$ac_save_CC $ac_arg"
4713  if ac_fn_c_try_compile "$LINENO"; then :
4714  ac_cv_prog_cc_c89=$ac_arg
4715fi
4716rm -f core conftest.err conftest.$ac_objext
4717  test "x$ac_cv_prog_cc_c89" != "xno" && break
4718done
4719rm -f conftest.$ac_ext
4720CC=$ac_save_CC
4721
4722fi
4723# AC_CACHE_VAL
4724case "x$ac_cv_prog_cc_c89" in
4725  x)
4726    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4727$as_echo "none needed" >&6; } ;;
4728  xno)
4729    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4730$as_echo "unsupported" >&6; } ;;
4731  *)
4732    CC="$CC $ac_cv_prog_cc_c89"
4733    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4734$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4735esac
4736if test "x$ac_cv_prog_cc_c89" != xno; then :
4737
4738fi
4739
4740ac_ext=c
4741ac_cpp='$CPP $CPPFLAGS'
4742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4744ac_compiler_gnu=$ac_cv_c_compiler_gnu
4745
4746ac_ext=c
4747ac_cpp='$CPP $CPPFLAGS'
4748ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4749ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4750ac_compiler_gnu=$ac_cv_c_compiler_gnu
4751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4752$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4753if ${am_cv_prog_cc_c_o+:} false; then :
4754  $as_echo_n "(cached) " >&6
4755else
4756  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4757/* end confdefs.h.  */
4758
4759int
4760main ()
4761{
4762
4763  ;
4764  return 0;
4765}
4766_ACEOF
4767  # Make sure it works both with $CC and with simple cc.
4768  # Following AC_PROG_CC_C_O, we do the test twice because some
4769  # compilers refuse to overwrite an existing .o file with -o,
4770  # though they will create one.
4771  am_cv_prog_cc_c_o=yes
4772  for am_i in 1 2; do
4773    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4774   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4775   ac_status=$?
4776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777   (exit $ac_status); } \
4778         && test -f conftest2.$ac_objext; then
4779      : OK
4780    else
4781      am_cv_prog_cc_c_o=no
4782      break
4783    fi
4784  done
4785  rm -f core conftest*
4786  unset am_i
4787fi
4788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4789$as_echo "$am_cv_prog_cc_c_o" >&6; }
4790if test "$am_cv_prog_cc_c_o" != yes; then
4791   # Losing compiler, so override with the script.
4792   # FIXME: It is wrong to rewrite CC.
4793   # But if we don't then we get into trouble of one sort or another.
4794   # A longer-term fix would be to have automake use am__CC in this case,
4795   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4796   CC="$am_aux_dir/compile $CC"
4797fi
4798ac_ext=c
4799ac_cpp='$CPP $CPPFLAGS'
4800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4802ac_compiler_gnu=$ac_cv_c_compiler_gnu
4803
4804
4805ac_ext=cpp
4806ac_cpp='$CXXCPP $CPPFLAGS'
4807ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4810if test -z "$CXX"; then
4811  if test -n "$CCC"; then
4812    CXX=$CCC
4813  else
4814    if test -n "$ac_tool_prefix"; then
4815  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4816  do
4817    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4818set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820$as_echo_n "checking for $ac_word... " >&6; }
4821if ${ac_cv_prog_CXX+:} false; then :
4822  $as_echo_n "(cached) " >&6
4823else
4824  if test -n "$CXX"; then
4825  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4826else
4827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828for as_dir in $PATH
4829do
4830  IFS=$as_save_IFS
4831  test -z "$as_dir" && as_dir=.
4832    for ac_exec_ext in '' $ac_executable_extensions; do
4833  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4834    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4835    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836    break 2
4837  fi
4838done
4839  done
4840IFS=$as_save_IFS
4841
4842fi
4843fi
4844CXX=$ac_cv_prog_CXX
4845if test -n "$CXX"; then
4846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4847$as_echo "$CXX" >&6; }
4848else
4849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850$as_echo "no" >&6; }
4851fi
4852
4853
4854    test -n "$CXX" && break
4855  done
4856fi
4857if test -z "$CXX"; then
4858  ac_ct_CXX=$CXX
4859  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4860do
4861  # Extract the first word of "$ac_prog", so it can be a program name with args.
4862set dummy $ac_prog; ac_word=$2
4863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4864$as_echo_n "checking for $ac_word... " >&6; }
4865if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4866  $as_echo_n "(cached) " >&6
4867else
4868  if test -n "$ac_ct_CXX"; then
4869  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4870else
4871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872for as_dir in $PATH
4873do
4874  IFS=$as_save_IFS
4875  test -z "$as_dir" && as_dir=.
4876    for ac_exec_ext in '' $ac_executable_extensions; do
4877  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4878    ac_cv_prog_ac_ct_CXX="$ac_prog"
4879    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880    break 2
4881  fi
4882done
4883  done
4884IFS=$as_save_IFS
4885
4886fi
4887fi
4888ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4889if test -n "$ac_ct_CXX"; then
4890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4891$as_echo "$ac_ct_CXX" >&6; }
4892else
4893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894$as_echo "no" >&6; }
4895fi
4896
4897
4898  test -n "$ac_ct_CXX" && break
4899done
4900
4901  if test "x$ac_ct_CXX" = x; then
4902    CXX="g++"
4903  else
4904    case $cross_compiling:$ac_tool_warned in
4905yes:)
4906{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4907$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4908ac_tool_warned=yes ;;
4909esac
4910    CXX=$ac_ct_CXX
4911  fi
4912fi
4913
4914  fi
4915fi
4916# Provide some information about the compiler.
4917$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4918set X $ac_compile
4919ac_compiler=$2
4920for ac_option in --version -v -V -qversion; do
4921  { { ac_try="$ac_compiler $ac_option >&5"
4922case "(($ac_try" in
4923  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924  *) ac_try_echo=$ac_try;;
4925esac
4926eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4927$as_echo "$ac_try_echo"; } >&5
4928  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4929  ac_status=$?
4930  if test -s conftest.err; then
4931    sed '10a\
4932... rest of stderr output deleted ...
4933         10q' conftest.err >conftest.er1
4934    cat conftest.er1 >&5
4935  fi
4936  rm -f conftest.er1 conftest.err
4937  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4938  test $ac_status = 0; }
4939done
4940
4941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4942$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4943if ${ac_cv_cxx_compiler_gnu+:} false; then :
4944  $as_echo_n "(cached) " >&6
4945else
4946  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947/* end confdefs.h.  */
4948
4949int
4950main ()
4951{
4952#ifndef __GNUC__
4953       choke me
4954#endif
4955
4956  ;
4957  return 0;
4958}
4959_ACEOF
4960if ac_fn_cxx_try_compile "$LINENO"; then :
4961  ac_compiler_gnu=yes
4962else
4963  ac_compiler_gnu=no
4964fi
4965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4966ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4967
4968fi
4969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4970$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4971if test $ac_compiler_gnu = yes; then
4972  GXX=yes
4973else
4974  GXX=
4975fi
4976ac_test_CXXFLAGS=${CXXFLAGS+set}
4977ac_save_CXXFLAGS=$CXXFLAGS
4978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4979$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4980if ${ac_cv_prog_cxx_g+:} false; then :
4981  $as_echo_n "(cached) " >&6
4982else
4983  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4984   ac_cxx_werror_flag=yes
4985   ac_cv_prog_cxx_g=no
4986   CXXFLAGS="-g"
4987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988/* end confdefs.h.  */
4989
4990int
4991main ()
4992{
4993
4994  ;
4995  return 0;
4996}
4997_ACEOF
4998if ac_fn_cxx_try_compile "$LINENO"; then :
4999  ac_cv_prog_cxx_g=yes
5000else
5001  CXXFLAGS=""
5002      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003/* end confdefs.h.  */
5004
5005int
5006main ()
5007{
5008
5009  ;
5010  return 0;
5011}
5012_ACEOF
5013if ac_fn_cxx_try_compile "$LINENO"; then :
5014
5015else
5016  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5017	 CXXFLAGS="-g"
5018	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019/* end confdefs.h.  */
5020
5021int
5022main ()
5023{
5024
5025  ;
5026  return 0;
5027}
5028_ACEOF
5029if ac_fn_cxx_try_compile "$LINENO"; then :
5030  ac_cv_prog_cxx_g=yes
5031fi
5032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5033fi
5034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035fi
5036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5038fi
5039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5040$as_echo "$ac_cv_prog_cxx_g" >&6; }
5041if test "$ac_test_CXXFLAGS" = set; then
5042  CXXFLAGS=$ac_save_CXXFLAGS
5043elif test $ac_cv_prog_cxx_g = yes; then
5044  if test "$GXX" = yes; then
5045    CXXFLAGS="-g -O2"
5046  else
5047    CXXFLAGS="-g"
5048  fi
5049else
5050  if test "$GXX" = yes; then
5051    CXXFLAGS="-O2"
5052  else
5053    CXXFLAGS=
5054  fi
5055fi
5056ac_ext=c
5057ac_cpp='$CPP $CPPFLAGS'
5058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5060ac_compiler_gnu=$ac_cv_c_compiler_gnu
5061
5062CXXFLAGS="$save_CXXFLAGS"
5063
5064
5065# Check whether --enable-largefile was given.
5066if test "${enable_largefile+set}" = set; then :
5067  enableval=$enable_largefile;
5068fi
5069
5070if test "$enable_largefile" != no; then
5071
5072  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5073$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5074if ${ac_cv_sys_largefile_CC+:} false; then :
5075  $as_echo_n "(cached) " >&6
5076else
5077  ac_cv_sys_largefile_CC=no
5078     if test "$GCC" != yes; then
5079       ac_save_CC=$CC
5080       while :; do
5081	 # IRIX 6.2 and later do not support large files by default,
5082	 # so use the C compiler's -n32 option if that helps.
5083	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084/* end confdefs.h.  */
5085#include <sys/types.h>
5086 /* Check that off_t can represent 2**63 - 1 correctly.
5087    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5088    since some C++ compilers masquerading as C compilers
5089    incorrectly reject 9223372036854775807.  */
5090#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5091  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5092		       && LARGE_OFF_T % 2147483647 == 1)
5093		      ? 1 : -1];
5094int
5095main ()
5096{
5097
5098  ;
5099  return 0;
5100}
5101_ACEOF
5102	 if ac_fn_c_try_compile "$LINENO"; then :
5103  break
5104fi
5105rm -f core conftest.err conftest.$ac_objext
5106	 CC="$CC -n32"
5107	 if ac_fn_c_try_compile "$LINENO"; then :
5108  ac_cv_sys_largefile_CC=' -n32'; break
5109fi
5110rm -f core conftest.err conftest.$ac_objext
5111	 break
5112       done
5113       CC=$ac_save_CC
5114       rm -f conftest.$ac_ext
5115    fi
5116fi
5117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5118$as_echo "$ac_cv_sys_largefile_CC" >&6; }
5119  if test "$ac_cv_sys_largefile_CC" != no; then
5120    CC=$CC$ac_cv_sys_largefile_CC
5121  fi
5122
5123  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5124$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5125if ${ac_cv_sys_file_offset_bits+:} false; then :
5126  $as_echo_n "(cached) " >&6
5127else
5128  while :; do
5129  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5130/* end confdefs.h.  */
5131#include <sys/types.h>
5132 /* Check that off_t can represent 2**63 - 1 correctly.
5133    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5134    since some C++ compilers masquerading as C compilers
5135    incorrectly reject 9223372036854775807.  */
5136#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5137  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5138		       && LARGE_OFF_T % 2147483647 == 1)
5139		      ? 1 : -1];
5140int
5141main ()
5142{
5143
5144  ;
5145  return 0;
5146}
5147_ACEOF
5148if ac_fn_c_try_compile "$LINENO"; then :
5149  ac_cv_sys_file_offset_bits=no; break
5150fi
5151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5152  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153/* end confdefs.h.  */
5154#define _FILE_OFFSET_BITS 64
5155#include <sys/types.h>
5156 /* Check that off_t can represent 2**63 - 1 correctly.
5157    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5158    since some C++ compilers masquerading as C compilers
5159    incorrectly reject 9223372036854775807.  */
5160#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5161  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5162		       && LARGE_OFF_T % 2147483647 == 1)
5163		      ? 1 : -1];
5164int
5165main ()
5166{
5167
5168  ;
5169  return 0;
5170}
5171_ACEOF
5172if ac_fn_c_try_compile "$LINENO"; then :
5173  ac_cv_sys_file_offset_bits=64; break
5174fi
5175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5176  ac_cv_sys_file_offset_bits=unknown
5177  break
5178done
5179fi
5180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5181$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5182case $ac_cv_sys_file_offset_bits in #(
5183  no | unknown) ;;
5184  *)
5185cat >>confdefs.h <<_ACEOF
5186#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5187_ACEOF
5188;;
5189esac
5190rm -rf conftest*
5191  if test $ac_cv_sys_file_offset_bits = unknown; then
5192    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5193$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5194if ${ac_cv_sys_large_files+:} false; then :
5195  $as_echo_n "(cached) " >&6
5196else
5197  while :; do
5198  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5199/* end confdefs.h.  */
5200#include <sys/types.h>
5201 /* Check that off_t can represent 2**63 - 1 correctly.
5202    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5203    since some C++ compilers masquerading as C compilers
5204    incorrectly reject 9223372036854775807.  */
5205#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5206  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5207		       && LARGE_OFF_T % 2147483647 == 1)
5208		      ? 1 : -1];
5209int
5210main ()
5211{
5212
5213  ;
5214  return 0;
5215}
5216_ACEOF
5217if ac_fn_c_try_compile "$LINENO"; then :
5218  ac_cv_sys_large_files=no; break
5219fi
5220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5221  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222/* end confdefs.h.  */
5223#define _LARGE_FILES 1
5224#include <sys/types.h>
5225 /* Check that off_t can represent 2**63 - 1 correctly.
5226    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5227    since some C++ compilers masquerading as C compilers
5228    incorrectly reject 9223372036854775807.  */
5229#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5230  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5231		       && LARGE_OFF_T % 2147483647 == 1)
5232		      ? 1 : -1];
5233int
5234main ()
5235{
5236
5237  ;
5238  return 0;
5239}
5240_ACEOF
5241if ac_fn_c_try_compile "$LINENO"; then :
5242  ac_cv_sys_large_files=1; break
5243fi
5244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5245  ac_cv_sys_large_files=unknown
5246  break
5247done
5248fi
5249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5250$as_echo "$ac_cv_sys_large_files" >&6; }
5251case $ac_cv_sys_large_files in #(
5252  no | unknown) ;;
5253  *)
5254cat >>confdefs.h <<_ACEOF
5255#define _LARGE_FILES $ac_cv_sys_large_files
5256_ACEOF
5257;;
5258esac
5259rm -rf conftest*
5260  fi
5261
5262
5263fi
5264
5265
5266# Runs configure.host, and assorted other critical bits.  Sets
5267# up critical shell variables.
5268ac_ext=c
5269ac_cpp='$CPP $CPPFLAGS'
5270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272ac_compiler_gnu=$ac_cv_c_compiler_gnu
5273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5274$as_echo_n "checking how to run the C preprocessor... " >&6; }
5275# On Suns, sometimes $CPP names a directory.
5276if test -n "$CPP" && test -d "$CPP"; then
5277  CPP=
5278fi
5279if test -z "$CPP"; then
5280  if ${ac_cv_prog_CPP+:} false; then :
5281  $as_echo_n "(cached) " >&6
5282else
5283      # Double quotes because CPP needs to be expanded
5284    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5285    do
5286      ac_preproc_ok=false
5287for ac_c_preproc_warn_flag in '' yes
5288do
5289  # Use a header file that comes with gcc, so configuring glibc
5290  # with a fresh cross-compiler works.
5291  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5292  # <limits.h> exists even on freestanding compilers.
5293  # On the NeXT, cc -E runs the code through the compiler's parser,
5294  # not just through cpp. "Syntax error" is here to catch this case.
5295  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296/* end confdefs.h.  */
5297#ifdef __STDC__
5298# include <limits.h>
5299#else
5300# include <assert.h>
5301#endif
5302		     Syntax error
5303_ACEOF
5304if ac_fn_c_try_cpp "$LINENO"; then :
5305
5306else
5307  # Broken: fails on valid input.
5308continue
5309fi
5310rm -f conftest.err conftest.i conftest.$ac_ext
5311
5312  # OK, works on sane cases.  Now check whether nonexistent headers
5313  # can be detected and how.
5314  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315/* end confdefs.h.  */
5316#include <ac_nonexistent.h>
5317_ACEOF
5318if ac_fn_c_try_cpp "$LINENO"; then :
5319  # Broken: success on invalid input.
5320continue
5321else
5322  # Passes both tests.
5323ac_preproc_ok=:
5324break
5325fi
5326rm -f conftest.err conftest.i conftest.$ac_ext
5327
5328done
5329# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5330rm -f conftest.i conftest.err conftest.$ac_ext
5331if $ac_preproc_ok; then :
5332  break
5333fi
5334
5335    done
5336    ac_cv_prog_CPP=$CPP
5337
5338fi
5339  CPP=$ac_cv_prog_CPP
5340else
5341  ac_cv_prog_CPP=$CPP
5342fi
5343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5344$as_echo "$CPP" >&6; }
5345ac_preproc_ok=false
5346for ac_c_preproc_warn_flag in '' yes
5347do
5348  # Use a header file that comes with gcc, so configuring glibc
5349  # with a fresh cross-compiler works.
5350  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5351  # <limits.h> exists even on freestanding compilers.
5352  # On the NeXT, cc -E runs the code through the compiler's parser,
5353  # not just through cpp. "Syntax error" is here to catch this case.
5354  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5355/* end confdefs.h.  */
5356#ifdef __STDC__
5357# include <limits.h>
5358#else
5359# include <assert.h>
5360#endif
5361		     Syntax error
5362_ACEOF
5363if ac_fn_c_try_cpp "$LINENO"; then :
5364
5365else
5366  # Broken: fails on valid input.
5367continue
5368fi
5369rm -f conftest.err conftest.i conftest.$ac_ext
5370
5371  # OK, works on sane cases.  Now check whether nonexistent headers
5372  # can be detected and how.
5373  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374/* end confdefs.h.  */
5375#include <ac_nonexistent.h>
5376_ACEOF
5377if ac_fn_c_try_cpp "$LINENO"; then :
5378  # Broken: success on invalid input.
5379continue
5380else
5381  # Passes both tests.
5382ac_preproc_ok=:
5383break
5384fi
5385rm -f conftest.err conftest.i conftest.$ac_ext
5386
5387done
5388# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5389rm -f conftest.i conftest.err conftest.$ac_ext
5390if $ac_preproc_ok; then :
5391
5392else
5393  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5394$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5395as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5396See \`config.log' for more details" "$LINENO" 5; }
5397fi
5398
5399ac_ext=c
5400ac_cpp='$CPP $CPPFLAGS'
5401ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5402ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5403ac_compiler_gnu=$ac_cv_c_compiler_gnu
5404
5405
5406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5407$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5408if ${ac_cv_path_GREP+:} false; then :
5409  $as_echo_n "(cached) " >&6
5410else
5411  if test -z "$GREP"; then
5412  ac_path_GREP_found=false
5413  # Loop through the user's path and test for each of PROGNAME-LIST
5414  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5416do
5417  IFS=$as_save_IFS
5418  test -z "$as_dir" && as_dir=.
5419    for ac_prog in grep ggrep; do
5420    for ac_exec_ext in '' $ac_executable_extensions; do
5421      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5422      as_fn_executable_p "$ac_path_GREP" || continue
5423# Check for GNU ac_path_GREP and select it if it is found.
5424  # Check for GNU $ac_path_GREP
5425case `"$ac_path_GREP" --version 2>&1` in
5426*GNU*)
5427  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5428*)
5429  ac_count=0
5430  $as_echo_n 0123456789 >"conftest.in"
5431  while :
5432  do
5433    cat "conftest.in" "conftest.in" >"conftest.tmp"
5434    mv "conftest.tmp" "conftest.in"
5435    cp "conftest.in" "conftest.nl"
5436    $as_echo 'GREP' >> "conftest.nl"
5437    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5438    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5439    as_fn_arith $ac_count + 1 && ac_count=$as_val
5440    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5441      # Best one so far, save it but keep looking for a better one
5442      ac_cv_path_GREP="$ac_path_GREP"
5443      ac_path_GREP_max=$ac_count
5444    fi
5445    # 10*(2^10) chars as input seems more than enough
5446    test $ac_count -gt 10 && break
5447  done
5448  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5449esac
5450
5451      $ac_path_GREP_found && break 3
5452    done
5453  done
5454  done
5455IFS=$as_save_IFS
5456  if test -z "$ac_cv_path_GREP"; then
5457    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5458  fi
5459else
5460  ac_cv_path_GREP=$GREP
5461fi
5462
5463fi
5464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5465$as_echo "$ac_cv_path_GREP" >&6; }
5466 GREP="$ac_cv_path_GREP"
5467
5468
5469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5470$as_echo_n "checking for egrep... " >&6; }
5471if ${ac_cv_path_EGREP+:} false; then :
5472  $as_echo_n "(cached) " >&6
5473else
5474  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5475   then ac_cv_path_EGREP="$GREP -E"
5476   else
5477     if test -z "$EGREP"; then
5478  ac_path_EGREP_found=false
5479  # Loop through the user's path and test for each of PROGNAME-LIST
5480  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5482do
5483  IFS=$as_save_IFS
5484  test -z "$as_dir" && as_dir=.
5485    for ac_prog in egrep; do
5486    for ac_exec_ext in '' $ac_executable_extensions; do
5487      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5488      as_fn_executable_p "$ac_path_EGREP" || continue
5489# Check for GNU ac_path_EGREP and select it if it is found.
5490  # Check for GNU $ac_path_EGREP
5491case `"$ac_path_EGREP" --version 2>&1` in
5492*GNU*)
5493  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5494*)
5495  ac_count=0
5496  $as_echo_n 0123456789 >"conftest.in"
5497  while :
5498  do
5499    cat "conftest.in" "conftest.in" >"conftest.tmp"
5500    mv "conftest.tmp" "conftest.in"
5501    cp "conftest.in" "conftest.nl"
5502    $as_echo 'EGREP' >> "conftest.nl"
5503    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5504    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5505    as_fn_arith $ac_count + 1 && ac_count=$as_val
5506    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5507      # Best one so far, save it but keep looking for a better one
5508      ac_cv_path_EGREP="$ac_path_EGREP"
5509      ac_path_EGREP_max=$ac_count
5510    fi
5511    # 10*(2^10) chars as input seems more than enough
5512    test $ac_count -gt 10 && break
5513  done
5514  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5515esac
5516
5517      $ac_path_EGREP_found && break 3
5518    done
5519  done
5520  done
5521IFS=$as_save_IFS
5522  if test -z "$ac_cv_path_EGREP"; then
5523    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5524  fi
5525else
5526  ac_cv_path_EGREP=$EGREP
5527fi
5528
5529   fi
5530fi
5531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5532$as_echo "$ac_cv_path_EGREP" >&6; }
5533 EGREP="$ac_cv_path_EGREP"
5534
5535
5536
5537  # Keep these sync'd with the list in Makefile.am.  The first provides an
5538  # expandable list at autoconf time; the second provides an expandable list
5539  # (i.e., shell variable) at configure time.
5540
5541  SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem doc po testsuite python'
5542
5543  # These need to be absolute paths, yet at the same time need to
5544  # canonicalize only relative paths, because then amd will not unmount
5545  # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5546  glibcxx_builddir=`${PWDCMD-pwd}`
5547  case $srcdir in
5548    \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5549    *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5550  esac
5551  toplevel_builddir=${glibcxx_builddir}/..
5552  toplevel_srcdir=${glibcxx_srcdir}/..
5553
5554
5555
5556
5557
5558  # We use these options to decide which functions to include.  They are
5559  # set from the top level.
5560
5561# Check whether --with-target-subdir was given.
5562if test "${with_target_subdir+set}" = set; then :
5563  withval=$with_target_subdir;
5564fi
5565
5566
5567
5568# Check whether --with-cross-host was given.
5569if test "${with_cross_host+set}" = set; then :
5570  withval=$with_cross_host;
5571fi
5572
5573
5574
5575# Check whether --with-newlib was given.
5576if test "${with_newlib+set}" = set; then :
5577  withval=$with_newlib;
5578fi
5579
5580
5581  # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5582  # available).  Uncomment the next line to force a particular method.
5583  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5584$as_echo_n "checking whether ln -s works... " >&6; }
5585LN_S=$as_ln_s
5586if test "$LN_S" = "ln -s"; then
5587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5588$as_echo "yes" >&6; }
5589else
5590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5591$as_echo "no, using $LN_S" >&6; }
5592fi
5593
5594  #LN_S='cp -p'
5595
5596  if test -n "$ac_tool_prefix"; then
5597  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5598set dummy ${ac_tool_prefix}as; ac_word=$2
5599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600$as_echo_n "checking for $ac_word... " >&6; }
5601if ${ac_cv_prog_AS+:} false; then :
5602  $as_echo_n "(cached) " >&6
5603else
5604  if test -n "$AS"; then
5605  ac_cv_prog_AS="$AS" # Let the user override the test.
5606else
5607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608for as_dir in $PATH
5609do
5610  IFS=$as_save_IFS
5611  test -z "$as_dir" && as_dir=.
5612    for ac_exec_ext in '' $ac_executable_extensions; do
5613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5614    ac_cv_prog_AS="${ac_tool_prefix}as"
5615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616    break 2
5617  fi
5618done
5619  done
5620IFS=$as_save_IFS
5621
5622fi
5623fi
5624AS=$ac_cv_prog_AS
5625if test -n "$AS"; then
5626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5627$as_echo "$AS" >&6; }
5628else
5629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630$as_echo "no" >&6; }
5631fi
5632
5633
5634fi
5635if test -z "$ac_cv_prog_AS"; then
5636  ac_ct_AS=$AS
5637  # Extract the first word of "as", so it can be a program name with args.
5638set dummy as; ac_word=$2
5639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640$as_echo_n "checking for $ac_word... " >&6; }
5641if ${ac_cv_prog_ac_ct_AS+:} false; then :
5642  $as_echo_n "(cached) " >&6
5643else
5644  if test -n "$ac_ct_AS"; then
5645  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5646else
5647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648for as_dir in $PATH
5649do
5650  IFS=$as_save_IFS
5651  test -z "$as_dir" && as_dir=.
5652    for ac_exec_ext in '' $ac_executable_extensions; do
5653  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654    ac_cv_prog_ac_ct_AS="as"
5655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656    break 2
5657  fi
5658done
5659  done
5660IFS=$as_save_IFS
5661
5662fi
5663fi
5664ac_ct_AS=$ac_cv_prog_ac_ct_AS
5665if test -n "$ac_ct_AS"; then
5666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5667$as_echo "$ac_ct_AS" >&6; }
5668else
5669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670$as_echo "no" >&6; }
5671fi
5672
5673  if test "x$ac_ct_AS" = x; then
5674    AS=""
5675  else
5676    case $cross_compiling:$ac_tool_warned in
5677yes:)
5678{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5679$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5680ac_tool_warned=yes ;;
5681esac
5682    AS=$ac_ct_AS
5683  fi
5684else
5685  AS="$ac_cv_prog_AS"
5686fi
5687
5688  if test -n "$ac_tool_prefix"; then
5689  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5690set dummy ${ac_tool_prefix}ar; ac_word=$2
5691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692$as_echo_n "checking for $ac_word... " >&6; }
5693if ${ac_cv_prog_AR+:} false; then :
5694  $as_echo_n "(cached) " >&6
5695else
5696  if test -n "$AR"; then
5697  ac_cv_prog_AR="$AR" # Let the user override the test.
5698else
5699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700for as_dir in $PATH
5701do
5702  IFS=$as_save_IFS
5703  test -z "$as_dir" && as_dir=.
5704    for ac_exec_ext in '' $ac_executable_extensions; do
5705  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706    ac_cv_prog_AR="${ac_tool_prefix}ar"
5707    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708    break 2
5709  fi
5710done
5711  done
5712IFS=$as_save_IFS
5713
5714fi
5715fi
5716AR=$ac_cv_prog_AR
5717if test -n "$AR"; then
5718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5719$as_echo "$AR" >&6; }
5720else
5721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722$as_echo "no" >&6; }
5723fi
5724
5725
5726fi
5727if test -z "$ac_cv_prog_AR"; then
5728  ac_ct_AR=$AR
5729  # Extract the first word of "ar", so it can be a program name with args.
5730set dummy ar; ac_word=$2
5731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732$as_echo_n "checking for $ac_word... " >&6; }
5733if ${ac_cv_prog_ac_ct_AR+:} false; then :
5734  $as_echo_n "(cached) " >&6
5735else
5736  if test -n "$ac_ct_AR"; then
5737  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5738else
5739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740for as_dir in $PATH
5741do
5742  IFS=$as_save_IFS
5743  test -z "$as_dir" && as_dir=.
5744    for ac_exec_ext in '' $ac_executable_extensions; do
5745  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746    ac_cv_prog_ac_ct_AR="ar"
5747    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748    break 2
5749  fi
5750done
5751  done
5752IFS=$as_save_IFS
5753
5754fi
5755fi
5756ac_ct_AR=$ac_cv_prog_ac_ct_AR
5757if test -n "$ac_ct_AR"; then
5758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5759$as_echo "$ac_ct_AR" >&6; }
5760else
5761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762$as_echo "no" >&6; }
5763fi
5764
5765  if test "x$ac_ct_AR" = x; then
5766    AR=""
5767  else
5768    case $cross_compiling:$ac_tool_warned in
5769yes:)
5770{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5771$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5772ac_tool_warned=yes ;;
5773esac
5774    AR=$ac_ct_AR
5775  fi
5776else
5777  AR="$ac_cv_prog_AR"
5778fi
5779
5780  if test -n "$ac_tool_prefix"; then
5781  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5782set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784$as_echo_n "checking for $ac_word... " >&6; }
5785if ${ac_cv_prog_RANLIB+:} false; then :
5786  $as_echo_n "(cached) " >&6
5787else
5788  if test -n "$RANLIB"; then
5789  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5790else
5791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792for as_dir in $PATH
5793do
5794  IFS=$as_save_IFS
5795  test -z "$as_dir" && as_dir=.
5796    for ac_exec_ext in '' $ac_executable_extensions; do
5797  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5798    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5799    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5800    break 2
5801  fi
5802done
5803  done
5804IFS=$as_save_IFS
5805
5806fi
5807fi
5808RANLIB=$ac_cv_prog_RANLIB
5809if test -n "$RANLIB"; then
5810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5811$as_echo "$RANLIB" >&6; }
5812else
5813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814$as_echo "no" >&6; }
5815fi
5816
5817
5818fi
5819if test -z "$ac_cv_prog_RANLIB"; then
5820  ac_ct_RANLIB=$RANLIB
5821  # Extract the first word of "ranlib", so it can be a program name with args.
5822set dummy ranlib; ac_word=$2
5823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824$as_echo_n "checking for $ac_word... " >&6; }
5825if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5826  $as_echo_n "(cached) " >&6
5827else
5828  if test -n "$ac_ct_RANLIB"; then
5829  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5830else
5831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832for as_dir in $PATH
5833do
5834  IFS=$as_save_IFS
5835  test -z "$as_dir" && as_dir=.
5836    for ac_exec_ext in '' $ac_executable_extensions; do
5837  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838    ac_cv_prog_ac_ct_RANLIB="ranlib"
5839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840    break 2
5841  fi
5842done
5843  done
5844IFS=$as_save_IFS
5845
5846fi
5847fi
5848ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5849if test -n "$ac_ct_RANLIB"; then
5850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5851$as_echo "$ac_ct_RANLIB" >&6; }
5852else
5853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854$as_echo "no" >&6; }
5855fi
5856
5857  if test "x$ac_ct_RANLIB" = x; then
5858    RANLIB="ranlib-not-found-in-path-error"
5859  else
5860    case $cross_compiling:$ac_tool_warned in
5861yes:)
5862{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5863$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5864ac_tool_warned=yes ;;
5865esac
5866    RANLIB=$ac_ct_RANLIB
5867  fi
5868else
5869  RANLIB="$ac_cv_prog_RANLIB"
5870fi
5871
5872
5873
5874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5875$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5876    # Check whether --enable-maintainer-mode was given.
5877if test "${enable_maintainer_mode+set}" = set; then :
5878  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5879else
5880  USE_MAINTAINER_MODE=no
5881fi
5882
5883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5884$as_echo "$USE_MAINTAINER_MODE" >&6; }
5885   if test $USE_MAINTAINER_MODE = yes; then
5886  MAINTAINER_MODE_TRUE=
5887  MAINTAINER_MODE_FALSE='#'
5888else
5889  MAINTAINER_MODE_TRUE='#'
5890  MAINTAINER_MODE_FALSE=
5891fi
5892
5893  MAINT=$MAINTAINER_MODE_TRUE
5894
5895
5896
5897  # Set up safe default values for all subsequent AM_CONDITIONAL tests
5898  # which are themselves conditionally expanded.
5899  ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5900  ## other macros from doing the same.  This should be automated.)  -pme
5901
5902  # Check for C library flavor since GNU/Linux platforms use different
5903  # configuration directories depending on the C library in use.
5904  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5905/* end confdefs.h.  */
5906
5907  #include <stdio.h>
5908  #if __UCLIBC__
5909    _using_uclibc
5910  #endif
5911
5912_ACEOF
5913if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5914  $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5915  uclibc=yes
5916else
5917  uclibc=no
5918fi
5919rm -f conftest*
5920
5921
5922  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5923/* end confdefs.h.  */
5924
5925  #include <stdio.h>
5926  #if __BIONIC__
5927    _using_bionic
5928  #endif
5929
5930_ACEOF
5931if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5932  $EGREP "_using_bionic" >/dev/null 2>&1; then :
5933  bionic=yes
5934else
5935  bionic=no
5936fi
5937rm -f conftest*
5938
5939
5940  # Find platform-specific directories containing configuration info.
5941  # Also possibly modify flags used elsewhere, as needed by the platform.
5942
5943  . $glibcxx_srcdir/configure.host
5944  { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5945$as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5946  { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5947$as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5948
5949
5950
5951# Libtool setup.
5952if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then
5953  enable_dlopen=yes
5954
5955
5956
5957fi
5958case `pwd` in
5959  *\ * | *\	*)
5960    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5961$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5962esac
5963
5964
5965
5966macro_version='2.2.7a'
5967macro_revision='1.3134'
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981ltmain="$ac_aux_dir/ltmain.sh"
5982
5983# Backslashify metacharacters that are still active within
5984# double-quoted strings.
5985sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5986
5987# Same as above, but do not quote variable references.
5988double_quote_subst='s/\(["`\\]\)/\\\1/g'
5989
5990# Sed substitution to delay expansion of an escaped shell variable in a
5991# double_quote_subst'ed string.
5992delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5993
5994# Sed substitution to delay expansion of an escaped single quote.
5995delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5996
5997# Sed substitution to avoid accidental globbing in evaled expressions
5998no_glob_subst='s/\*/\\\*/g'
5999
6000ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6001ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6002ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6003
6004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6005$as_echo_n "checking how to print strings... " >&6; }
6006# Test print first, because it will be a builtin if present.
6007if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6008   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6009  ECHO='print -r --'
6010elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6011  ECHO='printf %s\n'
6012else
6013  # Use this function as a fallback that always works.
6014  func_fallback_echo ()
6015  {
6016    eval 'cat <<_LTECHO_EOF
6017$1
6018_LTECHO_EOF'
6019  }
6020  ECHO='func_fallback_echo'
6021fi
6022
6023# func_echo_all arg...
6024# Invoke $ECHO with all args, space-separated.
6025func_echo_all ()
6026{
6027    $ECHO ""
6028}
6029
6030case "$ECHO" in
6031  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6032$as_echo "printf" >&6; } ;;
6033  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6034$as_echo "print -r" >&6; } ;;
6035  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6036$as_echo "cat" >&6; } ;;
6037esac
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6053$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6054if ${ac_cv_path_SED+:} false; then :
6055  $as_echo_n "(cached) " >&6
6056else
6057            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6058     for ac_i in 1 2 3 4 5 6 7; do
6059       ac_script="$ac_script$as_nl$ac_script"
6060     done
6061     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6062     { ac_script=; unset ac_script;}
6063     if test -z "$SED"; then
6064  ac_path_SED_found=false
6065  # Loop through the user's path and test for each of PROGNAME-LIST
6066  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067for as_dir in $PATH
6068do
6069  IFS=$as_save_IFS
6070  test -z "$as_dir" && as_dir=.
6071    for ac_prog in sed gsed; do
6072    for ac_exec_ext in '' $ac_executable_extensions; do
6073      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6074      as_fn_executable_p "$ac_path_SED" || continue
6075# Check for GNU ac_path_SED and select it if it is found.
6076  # Check for GNU $ac_path_SED
6077case `"$ac_path_SED" --version 2>&1` in
6078*GNU*)
6079  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6080*)
6081  ac_count=0
6082  $as_echo_n 0123456789 >"conftest.in"
6083  while :
6084  do
6085    cat "conftest.in" "conftest.in" >"conftest.tmp"
6086    mv "conftest.tmp" "conftest.in"
6087    cp "conftest.in" "conftest.nl"
6088    $as_echo '' >> "conftest.nl"
6089    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6090    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6091    as_fn_arith $ac_count + 1 && ac_count=$as_val
6092    if test $ac_count -gt ${ac_path_SED_max-0}; then
6093      # Best one so far, save it but keep looking for a better one
6094      ac_cv_path_SED="$ac_path_SED"
6095      ac_path_SED_max=$ac_count
6096    fi
6097    # 10*(2^10) chars as input seems more than enough
6098    test $ac_count -gt 10 && break
6099  done
6100  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6101esac
6102
6103      $ac_path_SED_found && break 3
6104    done
6105  done
6106  done
6107IFS=$as_save_IFS
6108  if test -z "$ac_cv_path_SED"; then
6109    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6110  fi
6111else
6112  ac_cv_path_SED=$SED
6113fi
6114
6115fi
6116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6117$as_echo "$ac_cv_path_SED" >&6; }
6118 SED="$ac_cv_path_SED"
6119  rm -f conftest.sed
6120
6121test -z "$SED" && SED=sed
6122Xsed="$SED -e 1s/^X//"
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6135$as_echo_n "checking for fgrep... " >&6; }
6136if ${ac_cv_path_FGREP+:} false; then :
6137  $as_echo_n "(cached) " >&6
6138else
6139  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6140   then ac_cv_path_FGREP="$GREP -F"
6141   else
6142     if test -z "$FGREP"; then
6143  ac_path_FGREP_found=false
6144  # Loop through the user's path and test for each of PROGNAME-LIST
6145  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6147do
6148  IFS=$as_save_IFS
6149  test -z "$as_dir" && as_dir=.
6150    for ac_prog in fgrep; do
6151    for ac_exec_ext in '' $ac_executable_extensions; do
6152      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6153      as_fn_executable_p "$ac_path_FGREP" || continue
6154# Check for GNU ac_path_FGREP and select it if it is found.
6155  # Check for GNU $ac_path_FGREP
6156case `"$ac_path_FGREP" --version 2>&1` in
6157*GNU*)
6158  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6159*)
6160  ac_count=0
6161  $as_echo_n 0123456789 >"conftest.in"
6162  while :
6163  do
6164    cat "conftest.in" "conftest.in" >"conftest.tmp"
6165    mv "conftest.tmp" "conftest.in"
6166    cp "conftest.in" "conftest.nl"
6167    $as_echo 'FGREP' >> "conftest.nl"
6168    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6169    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6170    as_fn_arith $ac_count + 1 && ac_count=$as_val
6171    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6172      # Best one so far, save it but keep looking for a better one
6173      ac_cv_path_FGREP="$ac_path_FGREP"
6174      ac_path_FGREP_max=$ac_count
6175    fi
6176    # 10*(2^10) chars as input seems more than enough
6177    test $ac_count -gt 10 && break
6178  done
6179  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6180esac
6181
6182      $ac_path_FGREP_found && break 3
6183    done
6184  done
6185  done
6186IFS=$as_save_IFS
6187  if test -z "$ac_cv_path_FGREP"; then
6188    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6189  fi
6190else
6191  ac_cv_path_FGREP=$FGREP
6192fi
6193
6194   fi
6195fi
6196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6197$as_echo "$ac_cv_path_FGREP" >&6; }
6198 FGREP="$ac_cv_path_FGREP"
6199
6200
6201test -z "$GREP" && GREP=grep
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221# Check whether --with-gnu-ld was given.
6222if test "${with_gnu_ld+set}" = set; then :
6223  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6224else
6225  with_gnu_ld=no
6226fi
6227
6228ac_prog=ld
6229if test "$GCC" = yes; then
6230  # Check if gcc -print-prog-name=ld gives a path.
6231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6232$as_echo_n "checking for ld used by $CC... " >&6; }
6233  case $host in
6234  *-*-mingw*)
6235    # gcc leaves a trailing carriage return which upsets mingw
6236    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6237  *)
6238    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6239  esac
6240  case $ac_prog in
6241    # Accept absolute paths.
6242    [\\/]* | ?:[\\/]*)
6243      re_direlt='/[^/][^/]*/\.\./'
6244      # Canonicalize the pathname of ld
6245      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6246      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6247	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6248      done
6249      test -z "$LD" && LD="$ac_prog"
6250      ;;
6251  "")
6252    # If it fails, then pretend we aren't using GCC.
6253    ac_prog=ld
6254    ;;
6255  *)
6256    # If it is relative, then search for the first ld in PATH.
6257    with_gnu_ld=unknown
6258    ;;
6259  esac
6260elif test "$with_gnu_ld" = yes; then
6261  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6262$as_echo_n "checking for GNU ld... " >&6; }
6263else
6264  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6265$as_echo_n "checking for non-GNU ld... " >&6; }
6266fi
6267if ${lt_cv_path_LD+:} false; then :
6268  $as_echo_n "(cached) " >&6
6269else
6270  if test -z "$LD"; then
6271  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6272  for ac_dir in $PATH; do
6273    IFS="$lt_save_ifs"
6274    test -z "$ac_dir" && ac_dir=.
6275    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6276      lt_cv_path_LD="$ac_dir/$ac_prog"
6277      # Check to see if the program is GNU ld.  I'd rather use --version,
6278      # but apparently some variants of GNU ld only accept -v.
6279      # Break only if it was the GNU/non-GNU ld that we prefer.
6280      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6281      *GNU* | *'with BFD'*)
6282	test "$with_gnu_ld" != no && break
6283	;;
6284      *)
6285	test "$with_gnu_ld" != yes && break
6286	;;
6287      esac
6288    fi
6289  done
6290  IFS="$lt_save_ifs"
6291else
6292  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6293fi
6294fi
6295
6296LD="$lt_cv_path_LD"
6297if test -n "$LD"; then
6298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6299$as_echo "$LD" >&6; }
6300else
6301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302$as_echo "no" >&6; }
6303fi
6304test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6306$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6307if ${lt_cv_prog_gnu_ld+:} false; then :
6308  $as_echo_n "(cached) " >&6
6309else
6310  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6311case `$LD -v 2>&1 </dev/null` in
6312*GNU* | *'with BFD'*)
6313  lt_cv_prog_gnu_ld=yes
6314  ;;
6315*)
6316  lt_cv_prog_gnu_ld=no
6317  ;;
6318esac
6319fi
6320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6321$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6322with_gnu_ld=$lt_cv_prog_gnu_ld
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6333$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6334if ${lt_cv_path_NM+:} false; then :
6335  $as_echo_n "(cached) " >&6
6336else
6337  if test -n "$NM"; then
6338  # Let the user override the test.
6339  lt_cv_path_NM="$NM"
6340else
6341  lt_nm_to_check="${ac_tool_prefix}nm"
6342  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6343    lt_nm_to_check="$lt_nm_to_check nm"
6344  fi
6345  for lt_tmp_nm in $lt_nm_to_check; do
6346    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6347    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6348      IFS="$lt_save_ifs"
6349      test -z "$ac_dir" && ac_dir=.
6350      tmp_nm="$ac_dir/$lt_tmp_nm"
6351      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6352	# Check to see if the nm accepts a BSD-compat flag.
6353	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6354	#   nm: unknown option "B" ignored
6355	# Tru64's nm complains that /dev/null is an invalid object file
6356	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6357	*/dev/null* | *'Invalid file or object type'*)
6358	  lt_cv_path_NM="$tmp_nm -B"
6359	  break
6360	  ;;
6361	*)
6362	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6363	  */dev/null*)
6364	    lt_cv_path_NM="$tmp_nm -p"
6365	    break
6366	    ;;
6367	  *)
6368	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6369	    continue # so that we can try to find one that supports BSD flags
6370	    ;;
6371	  esac
6372	  ;;
6373	esac
6374      fi
6375    done
6376    IFS="$lt_save_ifs"
6377  done
6378  : ${lt_cv_path_NM=no}
6379fi
6380fi
6381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6382$as_echo "$lt_cv_path_NM" >&6; }
6383if test "$lt_cv_path_NM" != "no"; then
6384  NM="$lt_cv_path_NM"
6385else
6386  # Didn't find any BSD compatible name lister, look for dumpbin.
6387  if test -n "$DUMPBIN"; then :
6388    # Let the user override the test.
6389  else
6390    if test -n "$ac_tool_prefix"; then
6391  for ac_prog in dumpbin "link -dump"
6392  do
6393    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6394set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396$as_echo_n "checking for $ac_word... " >&6; }
6397if ${ac_cv_prog_DUMPBIN+:} false; then :
6398  $as_echo_n "(cached) " >&6
6399else
6400  if test -n "$DUMPBIN"; then
6401  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6402else
6403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404for as_dir in $PATH
6405do
6406  IFS=$as_save_IFS
6407  test -z "$as_dir" && as_dir=.
6408    for ac_exec_ext in '' $ac_executable_extensions; do
6409  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6411    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412    break 2
6413  fi
6414done
6415  done
6416IFS=$as_save_IFS
6417
6418fi
6419fi
6420DUMPBIN=$ac_cv_prog_DUMPBIN
6421if test -n "$DUMPBIN"; then
6422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6423$as_echo "$DUMPBIN" >&6; }
6424else
6425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426$as_echo "no" >&6; }
6427fi
6428
6429
6430    test -n "$DUMPBIN" && break
6431  done
6432fi
6433if test -z "$DUMPBIN"; then
6434  ac_ct_DUMPBIN=$DUMPBIN
6435  for ac_prog in dumpbin "link -dump"
6436do
6437  # Extract the first word of "$ac_prog", so it can be a program name with args.
6438set dummy $ac_prog; ac_word=$2
6439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440$as_echo_n "checking for $ac_word... " >&6; }
6441if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6442  $as_echo_n "(cached) " >&6
6443else
6444  if test -n "$ac_ct_DUMPBIN"; then
6445  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6446else
6447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448for as_dir in $PATH
6449do
6450  IFS=$as_save_IFS
6451  test -z "$as_dir" && as_dir=.
6452    for ac_exec_ext in '' $ac_executable_extensions; do
6453  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6454    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6455    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456    break 2
6457  fi
6458done
6459  done
6460IFS=$as_save_IFS
6461
6462fi
6463fi
6464ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6465if test -n "$ac_ct_DUMPBIN"; then
6466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6467$as_echo "$ac_ct_DUMPBIN" >&6; }
6468else
6469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470$as_echo "no" >&6; }
6471fi
6472
6473
6474  test -n "$ac_ct_DUMPBIN" && break
6475done
6476
6477  if test "x$ac_ct_DUMPBIN" = x; then
6478    DUMPBIN=":"
6479  else
6480    case $cross_compiling:$ac_tool_warned in
6481yes:)
6482{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484ac_tool_warned=yes ;;
6485esac
6486    DUMPBIN=$ac_ct_DUMPBIN
6487  fi
6488fi
6489
6490    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6491    *COFF*)
6492      DUMPBIN="$DUMPBIN -symbols"
6493      ;;
6494    *)
6495      DUMPBIN=:
6496      ;;
6497    esac
6498  fi
6499
6500  if test "$DUMPBIN" != ":"; then
6501    NM="$DUMPBIN"
6502  fi
6503fi
6504test -z "$NM" && NM=nm
6505
6506
6507
6508
6509
6510
6511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6512$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6513if ${lt_cv_nm_interface+:} false; then :
6514  $as_echo_n "(cached) " >&6
6515else
6516  lt_cv_nm_interface="BSD nm"
6517  echo "int some_variable = 0;" > conftest.$ac_ext
6518  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6519  (eval "$ac_compile" 2>conftest.err)
6520  cat conftest.err >&5
6521  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6522  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6523  cat conftest.err >&5
6524  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6525  cat conftest.out >&5
6526  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6527    lt_cv_nm_interface="MS dumpbin"
6528  fi
6529  rm -f conftest*
6530fi
6531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6532$as_echo "$lt_cv_nm_interface" >&6; }
6533
6534# find the maximum length of command line arguments
6535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6536$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6537if ${lt_cv_sys_max_cmd_len+:} false; then :
6538  $as_echo_n "(cached) " >&6
6539else
6540    i=0
6541  teststring="ABCD"
6542
6543  case $build_os in
6544  msdosdjgpp*)
6545    # On DJGPP, this test can blow up pretty badly due to problems in libc
6546    # (any single argument exceeding 2000 bytes causes a buffer overrun
6547    # during glob expansion).  Even if it were fixed, the result of this
6548    # check would be larger than it should be.
6549    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6550    ;;
6551
6552  gnu*)
6553    # Under GNU Hurd, this test is not required because there is
6554    # no limit to the length of command line arguments.
6555    # Libtool will interpret -1 as no limit whatsoever
6556    lt_cv_sys_max_cmd_len=-1;
6557    ;;
6558
6559  cygwin* | mingw* | cegcc*)
6560    # On Win9x/ME, this test blows up -- it succeeds, but takes
6561    # about 5 minutes as the teststring grows exponentially.
6562    # Worse, since 9x/ME are not pre-emptively multitasking,
6563    # you end up with a "frozen" computer, even though with patience
6564    # the test eventually succeeds (with a max line length of 256k).
6565    # Instead, let's just punt: use the minimum linelength reported by
6566    # all of the supported platforms: 8192 (on NT/2K/XP).
6567    lt_cv_sys_max_cmd_len=8192;
6568    ;;
6569
6570  mint*)
6571    # On MiNT this can take a long time and run out of memory.
6572    lt_cv_sys_max_cmd_len=8192;
6573    ;;
6574
6575  amigaos*)
6576    # On AmigaOS with pdksh, this test takes hours, literally.
6577    # So we just punt and use a minimum line length of 8192.
6578    lt_cv_sys_max_cmd_len=8192;
6579    ;;
6580
6581  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6582    # This has been around since 386BSD, at least.  Likely further.
6583    if test -x /sbin/sysctl; then
6584      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6585    elif test -x /usr/sbin/sysctl; then
6586      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6587    else
6588      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6589    fi
6590    # And add a safety zone
6591    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6592    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6593    ;;
6594
6595  interix*)
6596    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6597    lt_cv_sys_max_cmd_len=196608
6598    ;;
6599
6600  osf*)
6601    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6602    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6603    # nice to cause kernel panics so lets avoid the loop below.
6604    # First set a reasonable default.
6605    lt_cv_sys_max_cmd_len=16384
6606    #
6607    if test -x /sbin/sysconfig; then
6608      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6609        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6610      esac
6611    fi
6612    ;;
6613  sco3.2v5*)
6614    lt_cv_sys_max_cmd_len=102400
6615    ;;
6616  sysv5* | sco5v6* | sysv4.2uw2*)
6617    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6618    if test -n "$kargmax"; then
6619      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6620    else
6621      lt_cv_sys_max_cmd_len=32768
6622    fi
6623    ;;
6624  *)
6625    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6626    if test -n "$lt_cv_sys_max_cmd_len"; then
6627      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6628      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6629    else
6630      # Make teststring a little bigger before we do anything with it.
6631      # a 1K string should be a reasonable start.
6632      for i in 1 2 3 4 5 6 7 8 ; do
6633        teststring=$teststring$teststring
6634      done
6635      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6636      # If test is not a shell built-in, we'll probably end up computing a
6637      # maximum length that is only half of the actual maximum length, but
6638      # we can't tell.
6639      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6640	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6641	      test $i != 17 # 1/2 MB should be enough
6642      do
6643        i=`expr $i + 1`
6644        teststring=$teststring$teststring
6645      done
6646      # Only check the string length outside the loop.
6647      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6648      teststring=
6649      # Add a significant safety factor because C++ compilers can tack on
6650      # massive amounts of additional arguments before passing them to the
6651      # linker.  It appears as though 1/2 is a usable value.
6652      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6653    fi
6654    ;;
6655  esac
6656
6657fi
6658
6659if test -n $lt_cv_sys_max_cmd_len ; then
6660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6661$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6662else
6663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6664$as_echo "none" >&6; }
6665fi
6666max_cmd_len=$lt_cv_sys_max_cmd_len
6667
6668
6669
6670
6671
6672
6673: ${CP="cp -f"}
6674: ${MV="mv -f"}
6675: ${RM="rm -f"}
6676
6677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6678$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6679# Try some XSI features
6680xsi_shell=no
6681( _lt_dummy="a/b/c"
6682  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6683      = c,a/b,, \
6684    && eval 'test $(( 1 + 1 )) -eq 2 \
6685    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6686  && xsi_shell=yes
6687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6688$as_echo "$xsi_shell" >&6; }
6689
6690
6691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6692$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6693lt_shell_append=no
6694( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6695    >/dev/null 2>&1 \
6696  && lt_shell_append=yes
6697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6698$as_echo "$lt_shell_append" >&6; }
6699
6700
6701if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6702  lt_unset=unset
6703else
6704  lt_unset=false
6705fi
6706
6707
6708
6709
6710
6711# test EBCDIC or ASCII
6712case `echo X|tr X '\101'` in
6713 A) # ASCII based system
6714    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6715  lt_SP2NL='tr \040 \012'
6716  lt_NL2SP='tr \015\012 \040\040'
6717  ;;
6718 *) # EBCDIC based system
6719  lt_SP2NL='tr \100 \n'
6720  lt_NL2SP='tr \r\n \100\100'
6721  ;;
6722esac
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6733$as_echo_n "checking for $LD option to reload object files... " >&6; }
6734if ${lt_cv_ld_reload_flag+:} false; then :
6735  $as_echo_n "(cached) " >&6
6736else
6737  lt_cv_ld_reload_flag='-r'
6738fi
6739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6740$as_echo "$lt_cv_ld_reload_flag" >&6; }
6741reload_flag=$lt_cv_ld_reload_flag
6742case $reload_flag in
6743"" | " "*) ;;
6744*) reload_flag=" $reload_flag" ;;
6745esac
6746reload_cmds='$LD$reload_flag -o $output$reload_objs'
6747case $host_os in
6748  darwin*)
6749    if test "$GCC" = yes; then
6750      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6751    else
6752      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6753    fi
6754    ;;
6755esac
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765if test -n "$ac_tool_prefix"; then
6766  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6767set dummy ${ac_tool_prefix}objdump; ac_word=$2
6768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769$as_echo_n "checking for $ac_word... " >&6; }
6770if ${ac_cv_prog_OBJDUMP+:} false; then :
6771  $as_echo_n "(cached) " >&6
6772else
6773  if test -n "$OBJDUMP"; then
6774  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6775else
6776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777for as_dir in $PATH
6778do
6779  IFS=$as_save_IFS
6780  test -z "$as_dir" && as_dir=.
6781    for ac_exec_ext in '' $ac_executable_extensions; do
6782  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6783    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6784    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6785    break 2
6786  fi
6787done
6788  done
6789IFS=$as_save_IFS
6790
6791fi
6792fi
6793OBJDUMP=$ac_cv_prog_OBJDUMP
6794if test -n "$OBJDUMP"; then
6795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6796$as_echo "$OBJDUMP" >&6; }
6797else
6798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799$as_echo "no" >&6; }
6800fi
6801
6802
6803fi
6804if test -z "$ac_cv_prog_OBJDUMP"; then
6805  ac_ct_OBJDUMP=$OBJDUMP
6806  # Extract the first word of "objdump", so it can be a program name with args.
6807set dummy objdump; ac_word=$2
6808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809$as_echo_n "checking for $ac_word... " >&6; }
6810if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6811  $as_echo_n "(cached) " >&6
6812else
6813  if test -n "$ac_ct_OBJDUMP"; then
6814  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6815else
6816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6817for as_dir in $PATH
6818do
6819  IFS=$as_save_IFS
6820  test -z "$as_dir" && as_dir=.
6821    for ac_exec_ext in '' $ac_executable_extensions; do
6822  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6823    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6824    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6825    break 2
6826  fi
6827done
6828  done
6829IFS=$as_save_IFS
6830
6831fi
6832fi
6833ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6834if test -n "$ac_ct_OBJDUMP"; then
6835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6836$as_echo "$ac_ct_OBJDUMP" >&6; }
6837else
6838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839$as_echo "no" >&6; }
6840fi
6841
6842  if test "x$ac_ct_OBJDUMP" = x; then
6843    OBJDUMP="false"
6844  else
6845    case $cross_compiling:$ac_tool_warned in
6846yes:)
6847{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849ac_tool_warned=yes ;;
6850esac
6851    OBJDUMP=$ac_ct_OBJDUMP
6852  fi
6853else
6854  OBJDUMP="$ac_cv_prog_OBJDUMP"
6855fi
6856
6857test -z "$OBJDUMP" && OBJDUMP=objdump
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6868$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6869if ${lt_cv_deplibs_check_method+:} false; then :
6870  $as_echo_n "(cached) " >&6
6871else
6872  lt_cv_file_magic_cmd='$MAGIC_CMD'
6873lt_cv_file_magic_test_file=
6874lt_cv_deplibs_check_method='unknown'
6875# Need to set the preceding variable on all platforms that support
6876# interlibrary dependencies.
6877# 'none' -- dependencies not supported.
6878# `unknown' -- same as none, but documents that we really don't know.
6879# 'pass_all' -- all dependencies passed with no checks.
6880# 'test_compile' -- check by making test program.
6881# 'file_magic [[regex]]' -- check by looking for files in library path
6882# which responds to the $file_magic_cmd with a given extended regex.
6883# If you have `file' or equivalent on your system and you're not sure
6884# whether `pass_all' will *always* work, you probably want this one.
6885
6886case $host_os in
6887aix[4-9]*)
6888  lt_cv_deplibs_check_method=pass_all
6889  ;;
6890
6891beos*)
6892  lt_cv_deplibs_check_method=pass_all
6893  ;;
6894
6895bsdi[45]*)
6896  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6897  lt_cv_file_magic_cmd='/usr/bin/file -L'
6898  lt_cv_file_magic_test_file=/shlib/libc.so
6899  ;;
6900
6901cygwin*)
6902  # func_win32_libid is a shell function defined in ltmain.sh
6903  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6904  lt_cv_file_magic_cmd='func_win32_libid'
6905  ;;
6906
6907mingw* | pw32*)
6908  # Base MSYS/MinGW do not provide the 'file' command needed by
6909  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6910  # unless we find 'file', for example because we are cross-compiling.
6911  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6912  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6913    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6914    lt_cv_file_magic_cmd='func_win32_libid'
6915  else
6916    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6917    lt_cv_file_magic_cmd='$OBJDUMP -f'
6918  fi
6919  ;;
6920
6921cegcc*)
6922  # use the weaker test based on 'objdump'. See mingw*.
6923  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6924  lt_cv_file_magic_cmd='$OBJDUMP -f'
6925  ;;
6926
6927darwin* | rhapsody*)
6928  lt_cv_deplibs_check_method=pass_all
6929  ;;
6930
6931freebsd* | dragonfly*)
6932  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6933    case $host_cpu in
6934    i*86 )
6935      # Not sure whether the presence of OpenBSD here was a mistake.
6936      # Let's accept both of them until this is cleared up.
6937      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6938      lt_cv_file_magic_cmd=/usr/bin/file
6939      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6940      ;;
6941    esac
6942  else
6943    lt_cv_deplibs_check_method=pass_all
6944  fi
6945  ;;
6946
6947gnu*)
6948  lt_cv_deplibs_check_method=pass_all
6949  ;;
6950
6951haiku*)
6952  lt_cv_deplibs_check_method=pass_all
6953  ;;
6954
6955hpux10.20* | hpux11*)
6956  lt_cv_file_magic_cmd=/usr/bin/file
6957  case $host_cpu in
6958  ia64*)
6959    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6960    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6961    ;;
6962  hppa*64*)
6963    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]'
6964    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6965    ;;
6966  *)
6967    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6968    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6969    ;;
6970  esac
6971  ;;
6972
6973interix[3-9]*)
6974  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6975  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6976  ;;
6977
6978irix5* | irix6* | nonstopux*)
6979  case $LD in
6980  *-32|*"-32 ") libmagic=32-bit;;
6981  *-n32|*"-n32 ") libmagic=N32;;
6982  *-64|*"-64 ") libmagic=64-bit;;
6983  *) libmagic=never-match;;
6984  esac
6985  lt_cv_deplibs_check_method=pass_all
6986  ;;
6987
6988# This must be Linux ELF.
6989linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6990  lt_cv_deplibs_check_method=pass_all
6991  ;;
6992
6993netbsd*)
6994  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6995    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6996  else
6997    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6998  fi
6999  ;;
7000
7001newos6*)
7002  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7003  lt_cv_file_magic_cmd=/usr/bin/file
7004  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7005  ;;
7006
7007*nto* | *qnx*)
7008  lt_cv_deplibs_check_method=pass_all
7009  ;;
7010
7011openbsd*)
7012  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7013    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7014  else
7015    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7016  fi
7017  ;;
7018
7019osf3* | osf4* | osf5*)
7020  lt_cv_deplibs_check_method=pass_all
7021  ;;
7022
7023rdos*)
7024  lt_cv_deplibs_check_method=pass_all
7025  ;;
7026
7027solaris*)
7028  lt_cv_deplibs_check_method=pass_all
7029  ;;
7030
7031sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7032  lt_cv_deplibs_check_method=pass_all
7033  ;;
7034
7035sysv4 | sysv4.3*)
7036  case $host_vendor in
7037  motorola)
7038    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]'
7039    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7040    ;;
7041  ncr)
7042    lt_cv_deplibs_check_method=pass_all
7043    ;;
7044  sequent)
7045    lt_cv_file_magic_cmd='/bin/file'
7046    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7047    ;;
7048  sni)
7049    lt_cv_file_magic_cmd='/bin/file'
7050    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7051    lt_cv_file_magic_test_file=/lib/libc.so
7052    ;;
7053  siemens)
7054    lt_cv_deplibs_check_method=pass_all
7055    ;;
7056  pc)
7057    lt_cv_deplibs_check_method=pass_all
7058    ;;
7059  esac
7060  ;;
7061
7062tpf*)
7063  lt_cv_deplibs_check_method=pass_all
7064  ;;
7065esac
7066
7067fi
7068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7069$as_echo "$lt_cv_deplibs_check_method" >&6; }
7070file_magic_cmd=$lt_cv_file_magic_cmd
7071deplibs_check_method=$lt_cv_deplibs_check_method
7072test -z "$deplibs_check_method" && deplibs_check_method=unknown
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085if test -n "$ac_tool_prefix"; then
7086  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7087set dummy ${ac_tool_prefix}ar; ac_word=$2
7088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089$as_echo_n "checking for $ac_word... " >&6; }
7090if ${ac_cv_prog_AR+:} false; then :
7091  $as_echo_n "(cached) " >&6
7092else
7093  if test -n "$AR"; then
7094  ac_cv_prog_AR="$AR" # Let the user override the test.
7095else
7096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097for as_dir in $PATH
7098do
7099  IFS=$as_save_IFS
7100  test -z "$as_dir" && as_dir=.
7101    for ac_exec_ext in '' $ac_executable_extensions; do
7102  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7103    ac_cv_prog_AR="${ac_tool_prefix}ar"
7104    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7105    break 2
7106  fi
7107done
7108  done
7109IFS=$as_save_IFS
7110
7111fi
7112fi
7113AR=$ac_cv_prog_AR
7114if test -n "$AR"; then
7115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7116$as_echo "$AR" >&6; }
7117else
7118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119$as_echo "no" >&6; }
7120fi
7121
7122
7123fi
7124if test -z "$ac_cv_prog_AR"; then
7125  ac_ct_AR=$AR
7126  # Extract the first word of "ar", so it can be a program name with args.
7127set dummy ar; ac_word=$2
7128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129$as_echo_n "checking for $ac_word... " >&6; }
7130if ${ac_cv_prog_ac_ct_AR+:} false; then :
7131  $as_echo_n "(cached) " >&6
7132else
7133  if test -n "$ac_ct_AR"; then
7134  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7135else
7136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137for as_dir in $PATH
7138do
7139  IFS=$as_save_IFS
7140  test -z "$as_dir" && as_dir=.
7141    for ac_exec_ext in '' $ac_executable_extensions; do
7142  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143    ac_cv_prog_ac_ct_AR="ar"
7144    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145    break 2
7146  fi
7147done
7148  done
7149IFS=$as_save_IFS
7150
7151fi
7152fi
7153ac_ct_AR=$ac_cv_prog_ac_ct_AR
7154if test -n "$ac_ct_AR"; then
7155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7156$as_echo "$ac_ct_AR" >&6; }
7157else
7158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159$as_echo "no" >&6; }
7160fi
7161
7162  if test "x$ac_ct_AR" = x; then
7163    AR="false"
7164  else
7165    case $cross_compiling:$ac_tool_warned in
7166yes:)
7167{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7168$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7169ac_tool_warned=yes ;;
7170esac
7171    AR=$ac_ct_AR
7172  fi
7173else
7174  AR="$ac_cv_prog_AR"
7175fi
7176
7177test -z "$AR" && AR=ar
7178test -z "$AR_FLAGS" && AR_FLAGS=cru
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190if test -n "$ac_tool_prefix"; then
7191  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7192set dummy ${ac_tool_prefix}strip; ac_word=$2
7193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194$as_echo_n "checking for $ac_word... " >&6; }
7195if ${ac_cv_prog_STRIP+:} false; then :
7196  $as_echo_n "(cached) " >&6
7197else
7198  if test -n "$STRIP"; then
7199  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7200else
7201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202for as_dir in $PATH
7203do
7204  IFS=$as_save_IFS
7205  test -z "$as_dir" && as_dir=.
7206    for ac_exec_ext in '' $ac_executable_extensions; do
7207  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7208    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7209    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210    break 2
7211  fi
7212done
7213  done
7214IFS=$as_save_IFS
7215
7216fi
7217fi
7218STRIP=$ac_cv_prog_STRIP
7219if test -n "$STRIP"; then
7220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7221$as_echo "$STRIP" >&6; }
7222else
7223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224$as_echo "no" >&6; }
7225fi
7226
7227
7228fi
7229if test -z "$ac_cv_prog_STRIP"; then
7230  ac_ct_STRIP=$STRIP
7231  # Extract the first word of "strip", so it can be a program name with args.
7232set dummy strip; ac_word=$2
7233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234$as_echo_n "checking for $ac_word... " >&6; }
7235if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7236  $as_echo_n "(cached) " >&6
7237else
7238  if test -n "$ac_ct_STRIP"; then
7239  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7240else
7241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242for as_dir in $PATH
7243do
7244  IFS=$as_save_IFS
7245  test -z "$as_dir" && as_dir=.
7246    for ac_exec_ext in '' $ac_executable_extensions; do
7247  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248    ac_cv_prog_ac_ct_STRIP="strip"
7249    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250    break 2
7251  fi
7252done
7253  done
7254IFS=$as_save_IFS
7255
7256fi
7257fi
7258ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7259if test -n "$ac_ct_STRIP"; then
7260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7261$as_echo "$ac_ct_STRIP" >&6; }
7262else
7263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264$as_echo "no" >&6; }
7265fi
7266
7267  if test "x$ac_ct_STRIP" = x; then
7268    STRIP=":"
7269  else
7270    case $cross_compiling:$ac_tool_warned in
7271yes:)
7272{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7273$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7274ac_tool_warned=yes ;;
7275esac
7276    STRIP=$ac_ct_STRIP
7277  fi
7278else
7279  STRIP="$ac_cv_prog_STRIP"
7280fi
7281
7282test -z "$STRIP" && STRIP=:
7283
7284
7285
7286
7287
7288
7289if test -n "$ac_tool_prefix"; then
7290  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7291set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293$as_echo_n "checking for $ac_word... " >&6; }
7294if ${ac_cv_prog_RANLIB+:} false; then :
7295  $as_echo_n "(cached) " >&6
7296else
7297  if test -n "$RANLIB"; then
7298  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7299else
7300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301for as_dir in $PATH
7302do
7303  IFS=$as_save_IFS
7304  test -z "$as_dir" && as_dir=.
7305    for ac_exec_ext in '' $ac_executable_extensions; do
7306  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7307    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7308    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309    break 2
7310  fi
7311done
7312  done
7313IFS=$as_save_IFS
7314
7315fi
7316fi
7317RANLIB=$ac_cv_prog_RANLIB
7318if test -n "$RANLIB"; then
7319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7320$as_echo "$RANLIB" >&6; }
7321else
7322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323$as_echo "no" >&6; }
7324fi
7325
7326
7327fi
7328if test -z "$ac_cv_prog_RANLIB"; then
7329  ac_ct_RANLIB=$RANLIB
7330  # Extract the first word of "ranlib", so it can be a program name with args.
7331set dummy ranlib; ac_word=$2
7332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7333$as_echo_n "checking for $ac_word... " >&6; }
7334if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7335  $as_echo_n "(cached) " >&6
7336else
7337  if test -n "$ac_ct_RANLIB"; then
7338  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7339else
7340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341for as_dir in $PATH
7342do
7343  IFS=$as_save_IFS
7344  test -z "$as_dir" && as_dir=.
7345    for ac_exec_ext in '' $ac_executable_extensions; do
7346  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7347    ac_cv_prog_ac_ct_RANLIB="ranlib"
7348    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349    break 2
7350  fi
7351done
7352  done
7353IFS=$as_save_IFS
7354
7355fi
7356fi
7357ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7358if test -n "$ac_ct_RANLIB"; then
7359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7360$as_echo "$ac_ct_RANLIB" >&6; }
7361else
7362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363$as_echo "no" >&6; }
7364fi
7365
7366  if test "x$ac_ct_RANLIB" = x; then
7367    RANLIB=":"
7368  else
7369    case $cross_compiling:$ac_tool_warned in
7370yes:)
7371{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7372$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7373ac_tool_warned=yes ;;
7374esac
7375    RANLIB=$ac_ct_RANLIB
7376  fi
7377else
7378  RANLIB="$ac_cv_prog_RANLIB"
7379fi
7380
7381test -z "$RANLIB" && RANLIB=:
7382
7383
7384
7385
7386
7387
7388# Determine commands to create old-style static archives.
7389old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7390old_postinstall_cmds='chmod 644 $oldlib'
7391old_postuninstall_cmds=
7392
7393if test -n "$RANLIB"; then
7394  case $host_os in
7395  openbsd*)
7396    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7397    ;;
7398  *)
7399    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7400    ;;
7401  esac
7402  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7403fi
7404
7405case $host_os in
7406  darwin*)
7407    lock_old_archive_extraction=yes ;;
7408  *)
7409    lock_old_archive_extraction=no ;;
7410esac
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450# If no C compiler was specified, use CC.
7451LTCC=${LTCC-"$CC"}
7452
7453# If no C compiler flags were specified, use CFLAGS.
7454LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7455
7456# Allow CC to be a program name with arguments.
7457compiler=$CC
7458
7459
7460# Check for command to grab the raw symbol name followed by C symbol from nm.
7461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7462$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7463if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7464  $as_echo_n "(cached) " >&6
7465else
7466
7467# These are sane defaults that work on at least a few old systems.
7468# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7469
7470# Character class describing NM global symbol codes.
7471symcode='[BCDEGRST]'
7472
7473# Regexp to match symbols that can be accessed directly from C.
7474sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7475
7476# Define system-specific variables.
7477case $host_os in
7478aix*)
7479  symcode='[BCDT]'
7480  ;;
7481cygwin* | mingw* | pw32* | cegcc*)
7482  symcode='[ABCDGISTW]'
7483  ;;
7484hpux*)
7485  if test "$host_cpu" = ia64; then
7486    symcode='[ABCDEGRST]'
7487  fi
7488  ;;
7489irix* | nonstopux*)
7490  symcode='[BCDEGRST]'
7491  ;;
7492osf*)
7493  symcode='[BCDEGQRST]'
7494  ;;
7495solaris*)
7496  symcode='[BDRT]'
7497  ;;
7498sco3.2v5*)
7499  symcode='[DT]'
7500  ;;
7501sysv4.2uw2*)
7502  symcode='[DT]'
7503  ;;
7504sysv5* | sco5v6* | unixware* | OpenUNIX*)
7505  symcode='[ABDT]'
7506  ;;
7507sysv4)
7508  symcode='[DFNSTU]'
7509  ;;
7510esac
7511
7512# If we're using GNU nm, then use its standard symbol codes.
7513case `$NM -V 2>&1` in
7514*GNU* | *'with BFD'*)
7515  symcode='[ABCDGIRSTW]' ;;
7516esac
7517
7518# Transform an extracted symbol line into a proper C declaration.
7519# Some systems (esp. on ia64) link data and code symbols differently,
7520# so use this general approach.
7521lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7522
7523# Transform an extracted symbol line into symbol name and symbol address
7524lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7525lt_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'"
7526
7527# Handle CRLF in mingw tool chain
7528opt_cr=
7529case $build_os in
7530mingw*)
7531  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7532  ;;
7533esac
7534
7535# Try without a prefix underscore, then with it.
7536for ac_symprfx in "" "_"; do
7537
7538  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7539  symxfrm="\\1 $ac_symprfx\\2 \\2"
7540
7541  # Write the raw and C identifiers.
7542  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7543    # Fake it for dumpbin and say T for any non-static function
7544    # and D for any global variable.
7545    # Also find C++ and __fastcall symbols from MSVC++,
7546    # which start with @ or ?.
7547    lt_cv_sys_global_symbol_pipe="$AWK '"\
7548"     {last_section=section; section=\$ 3};"\
7549"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7550"     \$ 0!~/External *\|/{next};"\
7551"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7552"     {if(hide[section]) next};"\
7553"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7554"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7555"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7556"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7557"     ' prfx=^$ac_symprfx"
7558  else
7559    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7560  fi
7561
7562  # Check to see that the pipe works correctly.
7563  pipe_works=no
7564
7565  rm -f conftest*
7566  cat > conftest.$ac_ext <<_LT_EOF
7567#ifdef __cplusplus
7568extern "C" {
7569#endif
7570char nm_test_var;
7571void nm_test_func(void);
7572void nm_test_func(void){}
7573#ifdef __cplusplus
7574}
7575#endif
7576int main(){nm_test_var='a';nm_test_func();return(0);}
7577_LT_EOF
7578
7579  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7580  (eval $ac_compile) 2>&5
7581  ac_status=$?
7582  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7583  test $ac_status = 0; }; then
7584    # Now try to grab the symbols.
7585    nlist=conftest.nm
7586    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7587  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7588  ac_status=$?
7589  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7590  test $ac_status = 0; } && test -s "$nlist"; then
7591      # Try sorting and uniquifying the output.
7592      if sort "$nlist" | uniq > "$nlist"T; then
7593	mv -f "$nlist"T "$nlist"
7594      else
7595	rm -f "$nlist"T
7596      fi
7597
7598      # Make sure that we snagged all the symbols we need.
7599      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7600	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7601	  cat <<_LT_EOF > conftest.$ac_ext
7602#ifdef __cplusplus
7603extern "C" {
7604#endif
7605
7606_LT_EOF
7607	  # Now generate the symbol file.
7608	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7609
7610	  cat <<_LT_EOF >> conftest.$ac_ext
7611
7612/* The mapping between symbol names and symbols.  */
7613const struct {
7614  const char *name;
7615  void       *address;
7616}
7617lt__PROGRAM__LTX_preloaded_symbols[] =
7618{
7619  { "@PROGRAM@", (void *) 0 },
7620_LT_EOF
7621	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7622	  cat <<\_LT_EOF >> conftest.$ac_ext
7623  {0, (void *) 0}
7624};
7625
7626/* This works around a problem in FreeBSD linker */
7627#ifdef FREEBSD_WORKAROUND
7628static const void *lt_preloaded_setup() {
7629  return lt__PROGRAM__LTX_preloaded_symbols;
7630}
7631#endif
7632
7633#ifdef __cplusplus
7634}
7635#endif
7636_LT_EOF
7637	  # Now try linking the two files.
7638	  mv conftest.$ac_objext conftstm.$ac_objext
7639	  lt_save_LIBS="$LIBS"
7640	  lt_save_CFLAGS="$CFLAGS"
7641	  LIBS="conftstm.$ac_objext"
7642	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7643	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7644  (eval $ac_link) 2>&5
7645  ac_status=$?
7646  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7647  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7648	    pipe_works=yes
7649	  fi
7650	  LIBS="$lt_save_LIBS"
7651	  CFLAGS="$lt_save_CFLAGS"
7652	else
7653	  echo "cannot find nm_test_func in $nlist" >&5
7654	fi
7655      else
7656	echo "cannot find nm_test_var in $nlist" >&5
7657      fi
7658    else
7659      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7660    fi
7661  else
7662    echo "$progname: failed program was:" >&5
7663    cat conftest.$ac_ext >&5
7664  fi
7665  rm -rf conftest* conftst*
7666
7667  # Do not use the global_symbol_pipe unless it works.
7668  if test "$pipe_works" = yes; then
7669    break
7670  else
7671    lt_cv_sys_global_symbol_pipe=
7672  fi
7673done
7674
7675fi
7676
7677if test -z "$lt_cv_sys_global_symbol_pipe"; then
7678  lt_cv_sys_global_symbol_to_cdecl=
7679fi
7680if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7682$as_echo "failed" >&6; }
7683else
7684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7685$as_echo "ok" >&6; }
7686fi
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709# Check whether --enable-libtool-lock was given.
7710if test "${enable_libtool_lock+set}" = set; then :
7711  enableval=$enable_libtool_lock;
7712fi
7713
7714test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7715
7716# Some flags need to be propagated to the compiler or linker for good
7717# libtool support.
7718case $host in
7719ia64-*-hpux*)
7720  # Find out which ABI we are using.
7721  echo 'int i;' > conftest.$ac_ext
7722  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7723  (eval $ac_compile) 2>&5
7724  ac_status=$?
7725  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7726  test $ac_status = 0; }; then
7727    case `/usr/bin/file conftest.$ac_objext` in
7728      *ELF-32*)
7729	HPUX_IA64_MODE="32"
7730	;;
7731      *ELF-64*)
7732	HPUX_IA64_MODE="64"
7733	;;
7734    esac
7735  fi
7736  rm -rf conftest*
7737  ;;
7738*-*-irix6*)
7739  # Find out which ABI we are using.
7740  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7741  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7742  (eval $ac_compile) 2>&5
7743  ac_status=$?
7744  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7745  test $ac_status = 0; }; then
7746    if test "$lt_cv_prog_gnu_ld" = yes; then
7747      case `/usr/bin/file conftest.$ac_objext` in
7748	*32-bit*)
7749	  LD="${LD-ld} -melf32bsmip"
7750	  ;;
7751	*N32*)
7752	  LD="${LD-ld} -melf32bmipn32"
7753	  ;;
7754	*64-bit*)
7755	  LD="${LD-ld} -melf64bmip"
7756	;;
7757      esac
7758    else
7759      case `/usr/bin/file conftest.$ac_objext` in
7760	*32-bit*)
7761	  LD="${LD-ld} -32"
7762	  ;;
7763	*N32*)
7764	  LD="${LD-ld} -n32"
7765	  ;;
7766	*64-bit*)
7767	  LD="${LD-ld} -64"
7768	  ;;
7769      esac
7770    fi
7771  fi
7772  rm -rf conftest*
7773  ;;
7774
7775x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7776s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7777  # Find out which ABI we are using.
7778  echo 'int i;' > conftest.$ac_ext
7779  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7780  (eval $ac_compile) 2>&5
7781  ac_status=$?
7782  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7783  test $ac_status = 0; }; then
7784    case `/usr/bin/file conftest.o` in
7785      *32-bit*)
7786	case $host in
7787	  x86_64-*kfreebsd*-gnu)
7788	    LD="${LD-ld} -m elf_i386_fbsd"
7789	    ;;
7790	  x86_64-*linux*)
7791	    case `/usr/bin/file conftest.o` in
7792	      *x86-64*)
7793		LD="${LD-ld} -m elf32_x86_64"
7794		;;
7795	      *)
7796		LD="${LD-ld} -m elf_i386"
7797		;;
7798	    esac
7799	    ;;
7800	  powerpc64le-*linux*)
7801	    LD="${LD-ld} -m elf32lppclinux"
7802	    ;;
7803	  powerpc64-*linux*)
7804	    LD="${LD-ld} -m elf32ppclinux"
7805	    ;;
7806	  s390x-*linux*)
7807	    LD="${LD-ld} -m elf_s390"
7808	    ;;
7809	  sparc64-*linux*)
7810	    LD="${LD-ld} -m elf32_sparc"
7811	    ;;
7812	esac
7813	;;
7814      *64-bit*)
7815	case $host in
7816	  x86_64-*kfreebsd*-gnu)
7817	    LD="${LD-ld} -m elf_x86_64_fbsd"
7818	    ;;
7819	  x86_64-*linux*)
7820	    LD="${LD-ld} -m elf_x86_64"
7821	    ;;
7822	  powerpcle-*linux*)
7823	    LD="${LD-ld} -m elf64lppc"
7824	    ;;
7825	  powerpc-*linux*)
7826	    LD="${LD-ld} -m elf64ppc"
7827	    ;;
7828	  s390*-*linux*|s390*-*tpf*)
7829	    LD="${LD-ld} -m elf64_s390"
7830	    ;;
7831	  sparc*-*linux*)
7832	    LD="${LD-ld} -m elf64_sparc"
7833	    ;;
7834	esac
7835	;;
7836    esac
7837  fi
7838  rm -rf conftest*
7839  ;;
7840
7841*-*-sco3.2v5*)
7842  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7843  SAVE_CFLAGS="$CFLAGS"
7844  CFLAGS="$CFLAGS -belf"
7845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7846$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7847if ${lt_cv_cc_needs_belf+:} false; then :
7848  $as_echo_n "(cached) " >&6
7849else
7850  ac_ext=c
7851ac_cpp='$CPP $CPPFLAGS'
7852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7854ac_compiler_gnu=$ac_cv_c_compiler_gnu
7855
7856     if test x$gcc_no_link = xyes; then
7857  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7858fi
7859cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860/* end confdefs.h.  */
7861
7862int
7863main ()
7864{
7865
7866  ;
7867  return 0;
7868}
7869_ACEOF
7870if ac_fn_c_try_link "$LINENO"; then :
7871  lt_cv_cc_needs_belf=yes
7872else
7873  lt_cv_cc_needs_belf=no
7874fi
7875rm -f core conftest.err conftest.$ac_objext \
7876    conftest$ac_exeext conftest.$ac_ext
7877     ac_ext=c
7878ac_cpp='$CPP $CPPFLAGS'
7879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7881ac_compiler_gnu=$ac_cv_c_compiler_gnu
7882
7883fi
7884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7885$as_echo "$lt_cv_cc_needs_belf" >&6; }
7886  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7887    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7888    CFLAGS="$SAVE_CFLAGS"
7889  fi
7890  ;;
7891sparc*-*solaris*)
7892  # Find out which ABI we are using.
7893  echo 'int i;' > conftest.$ac_ext
7894  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7895  (eval $ac_compile) 2>&5
7896  ac_status=$?
7897  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7898  test $ac_status = 0; }; then
7899    case `/usr/bin/file conftest.o` in
7900    *64-bit*)
7901      case $lt_cv_prog_gnu_ld in
7902      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7903      *)
7904	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7905	  LD="${LD-ld} -64"
7906	fi
7907	;;
7908      esac
7909      ;;
7910    esac
7911  fi
7912  rm -rf conftest*
7913  ;;
7914esac
7915
7916need_locks="$enable_libtool_lock"
7917
7918
7919  case $host_os in
7920    rhapsody* | darwin*)
7921    if test -n "$ac_tool_prefix"; then
7922  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7923set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7925$as_echo_n "checking for $ac_word... " >&6; }
7926if ${ac_cv_prog_DSYMUTIL+:} false; then :
7927  $as_echo_n "(cached) " >&6
7928else
7929  if test -n "$DSYMUTIL"; then
7930  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7931else
7932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7933for as_dir in $PATH
7934do
7935  IFS=$as_save_IFS
7936  test -z "$as_dir" && as_dir=.
7937    for ac_exec_ext in '' $ac_executable_extensions; do
7938  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7939    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7940    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7941    break 2
7942  fi
7943done
7944  done
7945IFS=$as_save_IFS
7946
7947fi
7948fi
7949DSYMUTIL=$ac_cv_prog_DSYMUTIL
7950if test -n "$DSYMUTIL"; then
7951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7952$as_echo "$DSYMUTIL" >&6; }
7953else
7954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955$as_echo "no" >&6; }
7956fi
7957
7958
7959fi
7960if test -z "$ac_cv_prog_DSYMUTIL"; then
7961  ac_ct_DSYMUTIL=$DSYMUTIL
7962  # Extract the first word of "dsymutil", so it can be a program name with args.
7963set dummy dsymutil; ac_word=$2
7964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7965$as_echo_n "checking for $ac_word... " >&6; }
7966if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7967  $as_echo_n "(cached) " >&6
7968else
7969  if test -n "$ac_ct_DSYMUTIL"; then
7970  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7971else
7972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973for as_dir in $PATH
7974do
7975  IFS=$as_save_IFS
7976  test -z "$as_dir" && as_dir=.
7977    for ac_exec_ext in '' $ac_executable_extensions; do
7978  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7979    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7981    break 2
7982  fi
7983done
7984  done
7985IFS=$as_save_IFS
7986
7987fi
7988fi
7989ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7990if test -n "$ac_ct_DSYMUTIL"; then
7991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7992$as_echo "$ac_ct_DSYMUTIL" >&6; }
7993else
7994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995$as_echo "no" >&6; }
7996fi
7997
7998  if test "x$ac_ct_DSYMUTIL" = x; then
7999    DSYMUTIL=":"
8000  else
8001    case $cross_compiling:$ac_tool_warned in
8002yes:)
8003{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8004$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8005ac_tool_warned=yes ;;
8006esac
8007    DSYMUTIL=$ac_ct_DSYMUTIL
8008  fi
8009else
8010  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8011fi
8012
8013    if test -n "$ac_tool_prefix"; then
8014  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8015set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017$as_echo_n "checking for $ac_word... " >&6; }
8018if ${ac_cv_prog_NMEDIT+:} false; then :
8019  $as_echo_n "(cached) " >&6
8020else
8021  if test -n "$NMEDIT"; then
8022  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8023else
8024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025for as_dir in $PATH
8026do
8027  IFS=$as_save_IFS
8028  test -z "$as_dir" && as_dir=.
8029    for ac_exec_ext in '' $ac_executable_extensions; do
8030  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8032    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033    break 2
8034  fi
8035done
8036  done
8037IFS=$as_save_IFS
8038
8039fi
8040fi
8041NMEDIT=$ac_cv_prog_NMEDIT
8042if test -n "$NMEDIT"; then
8043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8044$as_echo "$NMEDIT" >&6; }
8045else
8046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047$as_echo "no" >&6; }
8048fi
8049
8050
8051fi
8052if test -z "$ac_cv_prog_NMEDIT"; then
8053  ac_ct_NMEDIT=$NMEDIT
8054  # Extract the first word of "nmedit", so it can be a program name with args.
8055set dummy nmedit; ac_word=$2
8056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057$as_echo_n "checking for $ac_word... " >&6; }
8058if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8059  $as_echo_n "(cached) " >&6
8060else
8061  if test -n "$ac_ct_NMEDIT"; then
8062  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8063else
8064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065for as_dir in $PATH
8066do
8067  IFS=$as_save_IFS
8068  test -z "$as_dir" && as_dir=.
8069    for ac_exec_ext in '' $ac_executable_extensions; do
8070  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8071    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8073    break 2
8074  fi
8075done
8076  done
8077IFS=$as_save_IFS
8078
8079fi
8080fi
8081ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8082if test -n "$ac_ct_NMEDIT"; then
8083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8084$as_echo "$ac_ct_NMEDIT" >&6; }
8085else
8086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087$as_echo "no" >&6; }
8088fi
8089
8090  if test "x$ac_ct_NMEDIT" = x; then
8091    NMEDIT=":"
8092  else
8093    case $cross_compiling:$ac_tool_warned in
8094yes:)
8095{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8096$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8097ac_tool_warned=yes ;;
8098esac
8099    NMEDIT=$ac_ct_NMEDIT
8100  fi
8101else
8102  NMEDIT="$ac_cv_prog_NMEDIT"
8103fi
8104
8105    if test -n "$ac_tool_prefix"; then
8106  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8107set dummy ${ac_tool_prefix}lipo; ac_word=$2
8108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109$as_echo_n "checking for $ac_word... " >&6; }
8110if ${ac_cv_prog_LIPO+:} false; then :
8111  $as_echo_n "(cached) " >&6
8112else
8113  if test -n "$LIPO"; then
8114  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8115else
8116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117for as_dir in $PATH
8118do
8119  IFS=$as_save_IFS
8120  test -z "$as_dir" && as_dir=.
8121    for ac_exec_ext in '' $ac_executable_extensions; do
8122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8123    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8125    break 2
8126  fi
8127done
8128  done
8129IFS=$as_save_IFS
8130
8131fi
8132fi
8133LIPO=$ac_cv_prog_LIPO
8134if test -n "$LIPO"; then
8135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8136$as_echo "$LIPO" >&6; }
8137else
8138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139$as_echo "no" >&6; }
8140fi
8141
8142
8143fi
8144if test -z "$ac_cv_prog_LIPO"; then
8145  ac_ct_LIPO=$LIPO
8146  # Extract the first word of "lipo", so it can be a program name with args.
8147set dummy lipo; ac_word=$2
8148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8149$as_echo_n "checking for $ac_word... " >&6; }
8150if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8151  $as_echo_n "(cached) " >&6
8152else
8153  if test -n "$ac_ct_LIPO"; then
8154  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8155else
8156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157for as_dir in $PATH
8158do
8159  IFS=$as_save_IFS
8160  test -z "$as_dir" && as_dir=.
8161    for ac_exec_ext in '' $ac_executable_extensions; do
8162  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8163    ac_cv_prog_ac_ct_LIPO="lipo"
8164    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8165    break 2
8166  fi
8167done
8168  done
8169IFS=$as_save_IFS
8170
8171fi
8172fi
8173ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8174if test -n "$ac_ct_LIPO"; then
8175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8176$as_echo "$ac_ct_LIPO" >&6; }
8177else
8178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179$as_echo "no" >&6; }
8180fi
8181
8182  if test "x$ac_ct_LIPO" = x; then
8183    LIPO=":"
8184  else
8185    case $cross_compiling:$ac_tool_warned in
8186yes:)
8187{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8188$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8189ac_tool_warned=yes ;;
8190esac
8191    LIPO=$ac_ct_LIPO
8192  fi
8193else
8194  LIPO="$ac_cv_prog_LIPO"
8195fi
8196
8197    if test -n "$ac_tool_prefix"; then
8198  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8199set dummy ${ac_tool_prefix}otool; ac_word=$2
8200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201$as_echo_n "checking for $ac_word... " >&6; }
8202if ${ac_cv_prog_OTOOL+:} false; then :
8203  $as_echo_n "(cached) " >&6
8204else
8205  if test -n "$OTOOL"; then
8206  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8207else
8208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209for as_dir in $PATH
8210do
8211  IFS=$as_save_IFS
8212  test -z "$as_dir" && as_dir=.
8213    for ac_exec_ext in '' $ac_executable_extensions; do
8214  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8215    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8216    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217    break 2
8218  fi
8219done
8220  done
8221IFS=$as_save_IFS
8222
8223fi
8224fi
8225OTOOL=$ac_cv_prog_OTOOL
8226if test -n "$OTOOL"; then
8227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8228$as_echo "$OTOOL" >&6; }
8229else
8230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231$as_echo "no" >&6; }
8232fi
8233
8234
8235fi
8236if test -z "$ac_cv_prog_OTOOL"; then
8237  ac_ct_OTOOL=$OTOOL
8238  # Extract the first word of "otool", so it can be a program name with args.
8239set dummy otool; ac_word=$2
8240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8241$as_echo_n "checking for $ac_word... " >&6; }
8242if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8243  $as_echo_n "(cached) " >&6
8244else
8245  if test -n "$ac_ct_OTOOL"; then
8246  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8247else
8248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249for as_dir in $PATH
8250do
8251  IFS=$as_save_IFS
8252  test -z "$as_dir" && as_dir=.
8253    for ac_exec_ext in '' $ac_executable_extensions; do
8254  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8255    ac_cv_prog_ac_ct_OTOOL="otool"
8256    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8257    break 2
8258  fi
8259done
8260  done
8261IFS=$as_save_IFS
8262
8263fi
8264fi
8265ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8266if test -n "$ac_ct_OTOOL"; then
8267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8268$as_echo "$ac_ct_OTOOL" >&6; }
8269else
8270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271$as_echo "no" >&6; }
8272fi
8273
8274  if test "x$ac_ct_OTOOL" = x; then
8275    OTOOL=":"
8276  else
8277    case $cross_compiling:$ac_tool_warned in
8278yes:)
8279{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8280$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8281ac_tool_warned=yes ;;
8282esac
8283    OTOOL=$ac_ct_OTOOL
8284  fi
8285else
8286  OTOOL="$ac_cv_prog_OTOOL"
8287fi
8288
8289    if test -n "$ac_tool_prefix"; then
8290  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8291set dummy ${ac_tool_prefix}otool64; ac_word=$2
8292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8293$as_echo_n "checking for $ac_word... " >&6; }
8294if ${ac_cv_prog_OTOOL64+:} false; then :
8295  $as_echo_n "(cached) " >&6
8296else
8297  if test -n "$OTOOL64"; then
8298  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8299else
8300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8301for as_dir in $PATH
8302do
8303  IFS=$as_save_IFS
8304  test -z "$as_dir" && as_dir=.
8305    for ac_exec_ext in '' $ac_executable_extensions; do
8306  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8307    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8308    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8309    break 2
8310  fi
8311done
8312  done
8313IFS=$as_save_IFS
8314
8315fi
8316fi
8317OTOOL64=$ac_cv_prog_OTOOL64
8318if test -n "$OTOOL64"; then
8319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8320$as_echo "$OTOOL64" >&6; }
8321else
8322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8323$as_echo "no" >&6; }
8324fi
8325
8326
8327fi
8328if test -z "$ac_cv_prog_OTOOL64"; then
8329  ac_ct_OTOOL64=$OTOOL64
8330  # Extract the first word of "otool64", so it can be a program name with args.
8331set dummy otool64; ac_word=$2
8332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8333$as_echo_n "checking for $ac_word... " >&6; }
8334if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8335  $as_echo_n "(cached) " >&6
8336else
8337  if test -n "$ac_ct_OTOOL64"; then
8338  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8339else
8340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8341for as_dir in $PATH
8342do
8343  IFS=$as_save_IFS
8344  test -z "$as_dir" && as_dir=.
8345    for ac_exec_ext in '' $ac_executable_extensions; do
8346  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8347    ac_cv_prog_ac_ct_OTOOL64="otool64"
8348    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8349    break 2
8350  fi
8351done
8352  done
8353IFS=$as_save_IFS
8354
8355fi
8356fi
8357ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8358if test -n "$ac_ct_OTOOL64"; then
8359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8360$as_echo "$ac_ct_OTOOL64" >&6; }
8361else
8362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363$as_echo "no" >&6; }
8364fi
8365
8366  if test "x$ac_ct_OTOOL64" = x; then
8367    OTOOL64=":"
8368  else
8369    case $cross_compiling:$ac_tool_warned in
8370yes:)
8371{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8372$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8373ac_tool_warned=yes ;;
8374esac
8375    OTOOL64=$ac_ct_OTOOL64
8376  fi
8377else
8378  OTOOL64="$ac_cv_prog_OTOOL64"
8379fi
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8408$as_echo_n "checking for -single_module linker flag... " >&6; }
8409if ${lt_cv_apple_cc_single_mod+:} false; then :
8410  $as_echo_n "(cached) " >&6
8411else
8412  lt_cv_apple_cc_single_mod=no
8413      if test -z "${LT_MULTI_MODULE}"; then
8414	# By default we will add the -single_module flag. You can override
8415	# by either setting the environment variable LT_MULTI_MODULE
8416	# non-empty at configure time, or by adding -multi_module to the
8417	# link flags.
8418	rm -rf libconftest.dylib*
8419	echo "int foo(void){return 1;}" > conftest.c
8420	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8421-dynamiclib -Wl,-single_module conftest.c" >&5
8422	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8423	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8424        _lt_result=$?
8425	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8426	  lt_cv_apple_cc_single_mod=yes
8427	else
8428	  cat conftest.err >&5
8429	fi
8430	rm -rf libconftest.dylib*
8431	rm -f conftest.*
8432      fi
8433fi
8434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8435$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8437$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8438if ${lt_cv_ld_exported_symbols_list+:} false; then :
8439  $as_echo_n "(cached) " >&6
8440else
8441  lt_cv_ld_exported_symbols_list=no
8442      save_LDFLAGS=$LDFLAGS
8443      echo "_main" > conftest.sym
8444      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8445      if test x$gcc_no_link = xyes; then
8446  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8447fi
8448cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449/* end confdefs.h.  */
8450
8451int
8452main ()
8453{
8454
8455  ;
8456  return 0;
8457}
8458_ACEOF
8459if ac_fn_c_try_link "$LINENO"; then :
8460  lt_cv_ld_exported_symbols_list=yes
8461else
8462  lt_cv_ld_exported_symbols_list=no
8463fi
8464rm -f core conftest.err conftest.$ac_objext \
8465    conftest$ac_exeext conftest.$ac_ext
8466	LDFLAGS="$save_LDFLAGS"
8467
8468fi
8469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8470$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8471    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8472$as_echo_n "checking for -force_load linker flag... " >&6; }
8473if ${lt_cv_ld_force_load+:} false; then :
8474  $as_echo_n "(cached) " >&6
8475else
8476  lt_cv_ld_force_load=no
8477      cat > conftest.c << _LT_EOF
8478int forced_loaded() { return 2;}
8479_LT_EOF
8480      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8481      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8482      echo "$AR cru libconftest.a conftest.o" >&5
8483      $AR cru libconftest.a conftest.o 2>&5
8484      cat > conftest.c << _LT_EOF
8485int main() { return 0;}
8486_LT_EOF
8487      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8488      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8489      _lt_result=$?
8490      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8491	lt_cv_ld_force_load=yes
8492      else
8493	cat conftest.err >&5
8494      fi
8495        rm -f conftest.err libconftest.a conftest conftest.c
8496        rm -rf conftest.dSYM
8497
8498fi
8499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8500$as_echo "$lt_cv_ld_force_load" >&6; }
8501    # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8502    # build without first building modern cctools / linker.
8503    case $host_cpu-$host_os in
8504    *-rhapsody* | *-darwin1.[012])
8505      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8506    *-darwin1.*)
8507      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8508    *-darwin*)
8509      # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8510      # deployment target is forced to an earlier version.
8511      case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8512	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8513	  ;;
8514	10.[012][,.]*)
8515	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8516	  ;;
8517	*)
8518	  ;;
8519     esac
8520    ;;
8521  esac
8522    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8523      _lt_dar_single_mod='$single_module'
8524    fi
8525    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8526      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8527    else
8528      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8529    fi
8530    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8531      _lt_dsymutil='~$DSYMUTIL $lib || :'
8532    else
8533      _lt_dsymutil=
8534    fi
8535    ;;
8536  esac
8537
8538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8539$as_echo_n "checking for ANSI C header files... " >&6; }
8540if ${ac_cv_header_stdc+:} false; then :
8541  $as_echo_n "(cached) " >&6
8542else
8543  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544/* end confdefs.h.  */
8545#include <stdlib.h>
8546#include <stdarg.h>
8547#include <string.h>
8548#include <float.h>
8549
8550int
8551main ()
8552{
8553
8554  ;
8555  return 0;
8556}
8557_ACEOF
8558if ac_fn_c_try_compile "$LINENO"; then :
8559  ac_cv_header_stdc=yes
8560else
8561  ac_cv_header_stdc=no
8562fi
8563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8564
8565if test $ac_cv_header_stdc = yes; then
8566  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8567  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568/* end confdefs.h.  */
8569#include <string.h>
8570
8571_ACEOF
8572if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8573  $EGREP "memchr" >/dev/null 2>&1; then :
8574
8575else
8576  ac_cv_header_stdc=no
8577fi
8578rm -f conftest*
8579
8580fi
8581
8582if test $ac_cv_header_stdc = yes; then
8583  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8584  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585/* end confdefs.h.  */
8586#include <stdlib.h>
8587
8588_ACEOF
8589if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8590  $EGREP "free" >/dev/null 2>&1; then :
8591
8592else
8593  ac_cv_header_stdc=no
8594fi
8595rm -f conftest*
8596
8597fi
8598
8599if test $ac_cv_header_stdc = yes; then
8600  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8601  if test "$cross_compiling" = yes; then :
8602  :
8603else
8604  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8605/* end confdefs.h.  */
8606#include <ctype.h>
8607#include <stdlib.h>
8608#if ((' ' & 0x0FF) == 0x020)
8609# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8610# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8611#else
8612# define ISLOWER(c) \
8613		   (('a' <= (c) && (c) <= 'i') \
8614		     || ('j' <= (c) && (c) <= 'r') \
8615		     || ('s' <= (c) && (c) <= 'z'))
8616# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8617#endif
8618
8619#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8620int
8621main ()
8622{
8623  int i;
8624  for (i = 0; i < 256; i++)
8625    if (XOR (islower (i), ISLOWER (i))
8626	|| toupper (i) != TOUPPER (i))
8627      return 2;
8628  return 0;
8629}
8630_ACEOF
8631if ac_fn_c_try_run "$LINENO"; then :
8632
8633else
8634  ac_cv_header_stdc=no
8635fi
8636rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8637  conftest.$ac_objext conftest.beam conftest.$ac_ext
8638fi
8639
8640fi
8641fi
8642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8643$as_echo "$ac_cv_header_stdc" >&6; }
8644if test $ac_cv_header_stdc = yes; then
8645
8646$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8647
8648fi
8649
8650# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8651for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8652		  inttypes.h stdint.h unistd.h
8653do :
8654  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8655ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8656"
8657if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8658  cat >>confdefs.h <<_ACEOF
8659#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8660_ACEOF
8661
8662fi
8663
8664done
8665
8666
8667for ac_header in dlfcn.h
8668do :
8669  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8670"
8671if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8672  cat >>confdefs.h <<_ACEOF
8673#define HAVE_DLFCN_H 1
8674_ACEOF
8675
8676fi
8677
8678done
8679
8680
8681
8682
8683
8684
8685# Set options
8686
8687
8688
8689
8690  enable_win32_dll=no
8691
8692
8693            # Check whether --enable-shared was given.
8694if test "${enable_shared+set}" = set; then :
8695  enableval=$enable_shared; p=${PACKAGE-default}
8696    case $enableval in
8697    yes) enable_shared=yes ;;
8698    no) enable_shared=no ;;
8699    *)
8700      enable_shared=no
8701      # Look at the argument we got.  We use all the common list separators.
8702      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8703      for pkg in $enableval; do
8704	IFS="$lt_save_ifs"
8705	if test "X$pkg" = "X$p"; then
8706	  enable_shared=yes
8707	fi
8708      done
8709      IFS="$lt_save_ifs"
8710      ;;
8711    esac
8712else
8713  enable_shared=yes
8714fi
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724  # Check whether --enable-static was given.
8725if test "${enable_static+set}" = set; then :
8726  enableval=$enable_static; p=${PACKAGE-default}
8727    case $enableval in
8728    yes) enable_static=yes ;;
8729    no) enable_static=no ;;
8730    *)
8731     enable_static=no
8732      # Look at the argument we got.  We use all the common list separators.
8733      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8734      for pkg in $enableval; do
8735	IFS="$lt_save_ifs"
8736	if test "X$pkg" = "X$p"; then
8737	  enable_static=yes
8738	fi
8739      done
8740      IFS="$lt_save_ifs"
8741      ;;
8742    esac
8743else
8744  enable_static=yes
8745fi
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756# Check whether --with-pic was given.
8757if test "${with_pic+set}" = set; then :
8758  withval=$with_pic; pic_mode="$withval"
8759else
8760  pic_mode=default
8761fi
8762
8763
8764test -z "$pic_mode" && pic_mode=default
8765
8766
8767
8768
8769
8770
8771
8772  # Check whether --enable-fast-install was given.
8773if test "${enable_fast_install+set}" = set; then :
8774  enableval=$enable_fast_install; p=${PACKAGE-default}
8775    case $enableval in
8776    yes) enable_fast_install=yes ;;
8777    no) enable_fast_install=no ;;
8778    *)
8779      enable_fast_install=no
8780      # Look at the argument we got.  We use all the common list separators.
8781      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8782      for pkg in $enableval; do
8783	IFS="$lt_save_ifs"
8784	if test "X$pkg" = "X$p"; then
8785	  enable_fast_install=yes
8786	fi
8787      done
8788      IFS="$lt_save_ifs"
8789      ;;
8790    esac
8791else
8792  enable_fast_install=yes
8793fi
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805# This can be used to rebuild libtool when needed
8806LIBTOOL_DEPS="$ltmain"
8807
8808# Always use our own libtool.
8809LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836test -z "$LN_S" && LN_S="ln -s"
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851if test -n "${ZSH_VERSION+set}" ; then
8852   setopt NO_GLOB_SUBST
8853fi
8854
8855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8856$as_echo_n "checking for objdir... " >&6; }
8857if ${lt_cv_objdir+:} false; then :
8858  $as_echo_n "(cached) " >&6
8859else
8860  rm -f .libs 2>/dev/null
8861mkdir .libs 2>/dev/null
8862if test -d .libs; then
8863  lt_cv_objdir=.libs
8864else
8865  # MS-DOS does not allow filenames that begin with a dot.
8866  lt_cv_objdir=_libs
8867fi
8868rmdir .libs 2>/dev/null
8869fi
8870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8871$as_echo "$lt_cv_objdir" >&6; }
8872objdir=$lt_cv_objdir
8873
8874
8875
8876
8877
8878cat >>confdefs.h <<_ACEOF
8879#define LT_OBJDIR "$lt_cv_objdir/"
8880_ACEOF
8881
8882
8883
8884
8885case $host_os in
8886aix3*)
8887  # AIX sometimes has problems with the GCC collect2 program.  For some
8888  # reason, if we set the COLLECT_NAMES environment variable, the problems
8889  # vanish in a puff of smoke.
8890  if test "X${COLLECT_NAMES+set}" != Xset; then
8891    COLLECT_NAMES=
8892    export COLLECT_NAMES
8893  fi
8894  ;;
8895esac
8896
8897# Global variables:
8898ofile=libtool
8899can_build_shared=yes
8900
8901# All known linkers require a `.a' archive for static linking (except MSVC,
8902# which needs '.lib').
8903libext=a
8904
8905with_gnu_ld="$lt_cv_prog_gnu_ld"
8906
8907old_CC="$CC"
8908old_CFLAGS="$CFLAGS"
8909
8910# Set sane defaults for various variables
8911test -z "$CC" && CC=cc
8912test -z "$LTCC" && LTCC=$CC
8913test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8914test -z "$LD" && LD=ld
8915test -z "$ac_objext" && ac_objext=o
8916
8917for cc_temp in $compiler""; do
8918  case $cc_temp in
8919    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8920    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8921    \-*) ;;
8922    *) break;;
8923  esac
8924done
8925cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8926
8927
8928# Only perform the check for file, if the check method requires it
8929test -z "$MAGIC_CMD" && MAGIC_CMD=file
8930case $deplibs_check_method in
8931file_magic*)
8932  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8933    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8934$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8935if ${lt_cv_path_MAGIC_CMD+:} false; then :
8936  $as_echo_n "(cached) " >&6
8937else
8938  case $MAGIC_CMD in
8939[\\/*] |  ?:[\\/]*)
8940  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8941  ;;
8942*)
8943  lt_save_MAGIC_CMD="$MAGIC_CMD"
8944  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8945  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8946  for ac_dir in $ac_dummy; do
8947    IFS="$lt_save_ifs"
8948    test -z "$ac_dir" && ac_dir=.
8949    if test -f $ac_dir/${ac_tool_prefix}file; then
8950      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8951      if test -n "$file_magic_test_file"; then
8952	case $deplibs_check_method in
8953	"file_magic "*)
8954	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8955	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8956	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8957	    $EGREP "$file_magic_regex" > /dev/null; then
8958	    :
8959	  else
8960	    cat <<_LT_EOF 1>&2
8961
8962*** Warning: the command libtool uses to detect shared libraries,
8963*** $file_magic_cmd, produces output that libtool cannot recognize.
8964*** The result is that libtool may fail to recognize shared libraries
8965*** as such.  This will affect the creation of libtool libraries that
8966*** depend on shared libraries, but programs linked with such libtool
8967*** libraries will work regardless of this problem.  Nevertheless, you
8968*** may want to report the problem to your system manager and/or to
8969*** bug-libtool@gnu.org
8970
8971_LT_EOF
8972	  fi ;;
8973	esac
8974      fi
8975      break
8976    fi
8977  done
8978  IFS="$lt_save_ifs"
8979  MAGIC_CMD="$lt_save_MAGIC_CMD"
8980  ;;
8981esac
8982fi
8983
8984MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8985if test -n "$MAGIC_CMD"; then
8986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8987$as_echo "$MAGIC_CMD" >&6; }
8988else
8989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990$as_echo "no" >&6; }
8991fi
8992
8993
8994
8995
8996
8997if test -z "$lt_cv_path_MAGIC_CMD"; then
8998  if test -n "$ac_tool_prefix"; then
8999    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9000$as_echo_n "checking for file... " >&6; }
9001if ${lt_cv_path_MAGIC_CMD+:} false; then :
9002  $as_echo_n "(cached) " >&6
9003else
9004  case $MAGIC_CMD in
9005[\\/*] |  ?:[\\/]*)
9006  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9007  ;;
9008*)
9009  lt_save_MAGIC_CMD="$MAGIC_CMD"
9010  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9011  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9012  for ac_dir in $ac_dummy; do
9013    IFS="$lt_save_ifs"
9014    test -z "$ac_dir" && ac_dir=.
9015    if test -f $ac_dir/file; then
9016      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9017      if test -n "$file_magic_test_file"; then
9018	case $deplibs_check_method in
9019	"file_magic "*)
9020	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9021	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9022	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9023	    $EGREP "$file_magic_regex" > /dev/null; then
9024	    :
9025	  else
9026	    cat <<_LT_EOF 1>&2
9027
9028*** Warning: the command libtool uses to detect shared libraries,
9029*** $file_magic_cmd, produces output that libtool cannot recognize.
9030*** The result is that libtool may fail to recognize shared libraries
9031*** as such.  This will affect the creation of libtool libraries that
9032*** depend on shared libraries, but programs linked with such libtool
9033*** libraries will work regardless of this problem.  Nevertheless, you
9034*** may want to report the problem to your system manager and/or to
9035*** bug-libtool@gnu.org
9036
9037_LT_EOF
9038	  fi ;;
9039	esac
9040      fi
9041      break
9042    fi
9043  done
9044  IFS="$lt_save_ifs"
9045  MAGIC_CMD="$lt_save_MAGIC_CMD"
9046  ;;
9047esac
9048fi
9049
9050MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9051if test -n "$MAGIC_CMD"; then
9052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9053$as_echo "$MAGIC_CMD" >&6; }
9054else
9055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9056$as_echo "no" >&6; }
9057fi
9058
9059
9060  else
9061    MAGIC_CMD=:
9062  fi
9063fi
9064
9065  fi
9066  ;;
9067esac
9068
9069# Use C for the default configuration in the libtool script
9070
9071lt_save_CC="$CC"
9072ac_ext=c
9073ac_cpp='$CPP $CPPFLAGS'
9074ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9075ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9076ac_compiler_gnu=$ac_cv_c_compiler_gnu
9077
9078
9079# Source file extension for C test sources.
9080ac_ext=c
9081
9082# Object file extension for compiled C test sources.
9083objext=o
9084objext=$objext
9085
9086# Code to be used in simple compile tests
9087lt_simple_compile_test_code="int some_variable = 0;"
9088
9089# Code to be used in simple link tests
9090lt_simple_link_test_code='int main(){return(0);}'
9091
9092
9093
9094
9095
9096
9097
9098# If no C compiler was specified, use CC.
9099LTCC=${LTCC-"$CC"}
9100
9101# If no C compiler flags were specified, use CFLAGS.
9102LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9103
9104# Allow CC to be a program name with arguments.
9105compiler=$CC
9106
9107# Save the default compiler, since it gets overwritten when the other
9108# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9109compiler_DEFAULT=$CC
9110
9111# save warnings/boilerplate of simple test code
9112ac_outfile=conftest.$ac_objext
9113echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9114eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9115_lt_compiler_boilerplate=`cat conftest.err`
9116$RM conftest*
9117
9118ac_outfile=conftest.$ac_objext
9119echo "$lt_simple_link_test_code" >conftest.$ac_ext
9120eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9121_lt_linker_boilerplate=`cat conftest.err`
9122$RM -r conftest*
9123
9124
9125## CAVEAT EMPTOR:
9126## There is no encapsulation within the following macros, do not change
9127## the running order or otherwise move them around unless you know exactly
9128## what you are doing...
9129if test -n "$compiler"; then
9130
9131lt_prog_compiler_no_builtin_flag=
9132
9133if test "$GCC" = yes; then
9134  case $cc_basename in
9135  nvcc*)
9136    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9137  *)
9138    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9139  esac
9140
9141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9142$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9143if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9144  $as_echo_n "(cached) " >&6
9145else
9146  lt_cv_prog_compiler_rtti_exceptions=no
9147   ac_outfile=conftest.$ac_objext
9148   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9149   lt_compiler_flag="-fno-rtti -fno-exceptions"
9150   # Insert the option either (1) after the last *FLAGS variable, or
9151   # (2) before a word containing "conftest.", or (3) at the end.
9152   # Note that $ac_compile itself does not contain backslashes and begins
9153   # with a dollar sign (not a hyphen), so the echo should work correctly.
9154   # The option is referenced via a variable to avoid confusing sed.
9155   lt_compile=`echo "$ac_compile" | $SED \
9156   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9157   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9158   -e 's:$: $lt_compiler_flag:'`
9159   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9160   (eval "$lt_compile" 2>conftest.err)
9161   ac_status=$?
9162   cat conftest.err >&5
9163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164   if (exit $ac_status) && test -s "$ac_outfile"; then
9165     # The compiler can only warn and ignore the option if not recognized
9166     # So say no if there are warnings other than the usual output.
9167     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9168     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9169     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9170       lt_cv_prog_compiler_rtti_exceptions=yes
9171     fi
9172   fi
9173   $RM conftest*
9174
9175fi
9176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9177$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9178
9179if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9180    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9181else
9182    :
9183fi
9184
9185fi
9186
9187
9188
9189
9190
9191
9192  lt_prog_compiler_wl=
9193lt_prog_compiler_pic=
9194lt_prog_compiler_static=
9195
9196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9197$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9198
9199  if test "$GCC" = yes; then
9200    lt_prog_compiler_wl='-Wl,'
9201    lt_prog_compiler_static='-static'
9202
9203    case $host_os in
9204      aix*)
9205      # All AIX code is PIC.
9206      if test "$host_cpu" = ia64; then
9207	# AIX 5 now supports IA64 processor
9208	lt_prog_compiler_static='-Bstatic'
9209      fi
9210      lt_prog_compiler_pic='-fPIC'
9211      ;;
9212
9213    amigaos*)
9214      case $host_cpu in
9215      powerpc)
9216            # see comment about AmigaOS4 .so support
9217            lt_prog_compiler_pic='-fPIC'
9218        ;;
9219      m68k)
9220            # FIXME: we need at least 68020 code to build shared libraries, but
9221            # adding the `-m68020' flag to GCC prevents building anything better,
9222            # like `-m68040'.
9223            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9224        ;;
9225      esac
9226      ;;
9227
9228    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9229      # PIC is the default for these OSes.
9230      ;;
9231
9232    mingw* | cygwin* | pw32* | os2* | cegcc*)
9233      # This hack is so that the source file can tell whether it is being
9234      # built for inclusion in a dll (and should export symbols for example).
9235      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9236      # (--disable-auto-import) libraries
9237      lt_prog_compiler_pic='-DDLL_EXPORT'
9238      ;;
9239
9240    darwin* | rhapsody*)
9241      # PIC is the default on this platform
9242      # Common symbols not allowed in MH_DYLIB files
9243      lt_prog_compiler_pic='-fno-common'
9244      ;;
9245
9246    haiku*)
9247      # PIC is the default for Haiku.
9248      # The "-static" flag exists, but is broken.
9249      lt_prog_compiler_static=
9250      ;;
9251
9252    hpux*)
9253      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9254      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9255      # sets the default TLS model and affects inlining.
9256      case $host_cpu in
9257      hppa*64*)
9258	# +Z the default
9259	;;
9260      *)
9261	lt_prog_compiler_pic='-fPIC'
9262	;;
9263      esac
9264      ;;
9265
9266    interix[3-9]*)
9267      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9268      # Instead, we relocate shared libraries at runtime.
9269      ;;
9270
9271    msdosdjgpp*)
9272      # Just because we use GCC doesn't mean we suddenly get shared libraries
9273      # on systems that don't support them.
9274      lt_prog_compiler_can_build_shared=no
9275      enable_shared=no
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    sysv4*MP*)
9285      if test -d /usr/nec; then
9286	lt_prog_compiler_pic=-Kconform_pic
9287      fi
9288      ;;
9289
9290    *)
9291      lt_prog_compiler_pic='-fPIC'
9292      ;;
9293    esac
9294
9295    case $cc_basename in
9296    nvcc*) # Cuda Compiler Driver 2.2
9297      lt_prog_compiler_wl='-Xlinker '
9298      lt_prog_compiler_pic='-Xcompiler -fPIC'
9299      ;;
9300    esac
9301  else
9302    # PORTME Check for flag to pass linker flags through the system compiler.
9303    case $host_os in
9304    aix*)
9305      lt_prog_compiler_wl='-Wl,'
9306      if test "$host_cpu" = ia64; then
9307	# AIX 5 now supports IA64 processor
9308	lt_prog_compiler_static='-Bstatic'
9309      else
9310	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9311      fi
9312      ;;
9313
9314    mingw* | cygwin* | pw32* | os2* | cegcc*)
9315      # This hack is so that the source file can tell whether it is being
9316      # built for inclusion in a dll (and should export symbols for example).
9317      lt_prog_compiler_pic='-DDLL_EXPORT'
9318      ;;
9319
9320    hpux9* | hpux10* | hpux11*)
9321      lt_prog_compiler_wl='-Wl,'
9322      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9323      # not for PA HP-UX.
9324      case $host_cpu in
9325      hppa*64*|ia64*)
9326	# +Z the default
9327	;;
9328      *)
9329	lt_prog_compiler_pic='+Z'
9330	;;
9331      esac
9332      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9333      lt_prog_compiler_static='${wl}-a ${wl}archive'
9334      ;;
9335
9336    irix5* | irix6* | nonstopux*)
9337      lt_prog_compiler_wl='-Wl,'
9338      # PIC (with -KPIC) is the default.
9339      lt_prog_compiler_static='-non_shared'
9340      ;;
9341
9342    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9343      case $cc_basename in
9344      # old Intel for x86_64 which still supported -KPIC.
9345      ecc*)
9346	lt_prog_compiler_wl='-Wl,'
9347	lt_prog_compiler_pic='-KPIC'
9348	lt_prog_compiler_static='-static'
9349        ;;
9350      # icc used to be incompatible with GCC.
9351      # ICC 10 doesn't accept -KPIC any more.
9352      icc* | ifort*)
9353	lt_prog_compiler_wl='-Wl,'
9354	lt_prog_compiler_pic='-fPIC'
9355	lt_prog_compiler_static='-static'
9356        ;;
9357      # Lahey Fortran 8.1.
9358      lf95*)
9359	lt_prog_compiler_wl='-Wl,'
9360	lt_prog_compiler_pic='--shared'
9361	lt_prog_compiler_static='--static'
9362	;;
9363      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9364        # Portland Group compilers (*not* the Pentium gcc compiler,
9365	# which looks to be a dead project)
9366	lt_prog_compiler_wl='-Wl,'
9367	lt_prog_compiler_pic='-fpic'
9368	lt_prog_compiler_static='-Bstatic'
9369        ;;
9370      ccc*)
9371        lt_prog_compiler_wl='-Wl,'
9372        # All Alpha code is PIC.
9373        lt_prog_compiler_static='-non_shared'
9374        ;;
9375      xl* | bgxl* | bgf* | mpixl*)
9376	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9377	lt_prog_compiler_wl='-Wl,'
9378	lt_prog_compiler_pic='-qpic'
9379	lt_prog_compiler_static='-qstaticlink'
9380	;;
9381      *)
9382	case `$CC -V 2>&1 | sed 5q` in
9383	*Sun\ F* | *Sun*Fortran*)
9384	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9385	  lt_prog_compiler_pic='-KPIC'
9386	  lt_prog_compiler_static='-Bstatic'
9387	  lt_prog_compiler_wl=''
9388	  ;;
9389	*Sun\ C*)
9390	  # Sun C 5.9
9391	  lt_prog_compiler_pic='-KPIC'
9392	  lt_prog_compiler_static='-Bstatic'
9393	  lt_prog_compiler_wl='-Wl,'
9394	  ;;
9395	esac
9396	;;
9397      esac
9398      ;;
9399
9400    newsos6)
9401      lt_prog_compiler_pic='-KPIC'
9402      lt_prog_compiler_static='-Bstatic'
9403      ;;
9404
9405    *nto* | *qnx*)
9406      # QNX uses GNU C++, but need to define -shared option too, otherwise
9407      # it will coredump.
9408      lt_prog_compiler_pic='-fPIC -shared'
9409      ;;
9410
9411    osf3* | osf4* | osf5*)
9412      lt_prog_compiler_wl='-Wl,'
9413      # All OSF/1 code is PIC.
9414      lt_prog_compiler_static='-non_shared'
9415      ;;
9416
9417    rdos*)
9418      lt_prog_compiler_static='-non_shared'
9419      ;;
9420
9421    solaris*)
9422      lt_prog_compiler_pic='-KPIC'
9423      lt_prog_compiler_static='-Bstatic'
9424      case $cc_basename in
9425      f77* | f90* | f95*)
9426	lt_prog_compiler_wl='-Qoption ld ';;
9427      *)
9428	lt_prog_compiler_wl='-Wl,';;
9429      esac
9430      ;;
9431
9432    sunos4*)
9433      lt_prog_compiler_wl='-Qoption ld '
9434      lt_prog_compiler_pic='-PIC'
9435      lt_prog_compiler_static='-Bstatic'
9436      ;;
9437
9438    sysv4 | sysv4.2uw2* | sysv4.3*)
9439      lt_prog_compiler_wl='-Wl,'
9440      lt_prog_compiler_pic='-KPIC'
9441      lt_prog_compiler_static='-Bstatic'
9442      ;;
9443
9444    sysv4*MP*)
9445      if test -d /usr/nec ;then
9446	lt_prog_compiler_pic='-Kconform_pic'
9447	lt_prog_compiler_static='-Bstatic'
9448      fi
9449      ;;
9450
9451    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9452      lt_prog_compiler_wl='-Wl,'
9453      lt_prog_compiler_pic='-KPIC'
9454      lt_prog_compiler_static='-Bstatic'
9455      ;;
9456
9457    unicos*)
9458      lt_prog_compiler_wl='-Wl,'
9459      lt_prog_compiler_can_build_shared=no
9460      ;;
9461
9462    uts4*)
9463      lt_prog_compiler_pic='-pic'
9464      lt_prog_compiler_static='-Bstatic'
9465      ;;
9466
9467    *)
9468      lt_prog_compiler_can_build_shared=no
9469      ;;
9470    esac
9471  fi
9472
9473case $host_os in
9474  # For platforms which do not support PIC, -DPIC is meaningless:
9475  *djgpp*)
9476    lt_prog_compiler_pic=
9477    ;;
9478  *)
9479    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9480    ;;
9481esac
9482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9483$as_echo "$lt_prog_compiler_pic" >&6; }
9484
9485
9486
9487
9488
9489
9490#
9491# Check to make sure the PIC flag actually works.
9492#
9493if test -n "$lt_prog_compiler_pic"; then
9494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9495$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9496if ${lt_cv_prog_compiler_pic_works+:} false; then :
9497  $as_echo_n "(cached) " >&6
9498else
9499  lt_cv_prog_compiler_pic_works=no
9500   ac_outfile=conftest.$ac_objext
9501   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9502   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9503   # Insert the option either (1) after the last *FLAGS variable, or
9504   # (2) before a word containing "conftest.", or (3) at the end.
9505   # Note that $ac_compile itself does not contain backslashes and begins
9506   # with a dollar sign (not a hyphen), so the echo should work correctly.
9507   # The option is referenced via a variable to avoid confusing sed.
9508   lt_compile=`echo "$ac_compile" | $SED \
9509   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9510   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9511   -e 's:$: $lt_compiler_flag:'`
9512   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9513   (eval "$lt_compile" 2>conftest.err)
9514   ac_status=$?
9515   cat conftest.err >&5
9516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517   if (exit $ac_status) && test -s "$ac_outfile"; then
9518     # The compiler can only warn and ignore the option if not recognized
9519     # So say no if there are warnings other than the usual output.
9520     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9521     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9522     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9523       lt_cv_prog_compiler_pic_works=yes
9524     fi
9525   fi
9526   $RM conftest*
9527
9528fi
9529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9530$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9531
9532if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9533    case $lt_prog_compiler_pic in
9534     "" | " "*) ;;
9535     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9536     esac
9537else
9538    lt_prog_compiler_pic=
9539     lt_prog_compiler_can_build_shared=no
9540fi
9541
9542fi
9543
9544
9545
9546
9547
9548
9549#
9550# Check to make sure the static flag actually works.
9551#
9552wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9554$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9555if ${lt_cv_prog_compiler_static_works+:} false; then :
9556  $as_echo_n "(cached) " >&6
9557else
9558  lt_cv_prog_compiler_static_works=no
9559   save_LDFLAGS="$LDFLAGS"
9560   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9561   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9562   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9563     # The linker can only warn and ignore the option if not recognized
9564     # So say no if there are warnings
9565     if test -s conftest.err; then
9566       # Append any errors to the config.log.
9567       cat conftest.err 1>&5
9568       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9569       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9570       if diff conftest.exp conftest.er2 >/dev/null; then
9571         lt_cv_prog_compiler_static_works=yes
9572       fi
9573     else
9574       lt_cv_prog_compiler_static_works=yes
9575     fi
9576   fi
9577   $RM -r conftest*
9578   LDFLAGS="$save_LDFLAGS"
9579
9580fi
9581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9582$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9583
9584if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9585    :
9586else
9587    lt_prog_compiler_static=
9588fi
9589
9590
9591
9592
9593
9594
9595
9596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9597$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9598if ${lt_cv_prog_compiler_c_o+:} false; then :
9599  $as_echo_n "(cached) " >&6
9600else
9601  lt_cv_prog_compiler_c_o=no
9602   $RM -r conftest 2>/dev/null
9603   mkdir conftest
9604   cd conftest
9605   mkdir out
9606   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9607
9608   lt_compiler_flag="-o out/conftest2.$ac_objext"
9609   # Insert the option either (1) after the last *FLAGS variable, or
9610   # (2) before a word containing "conftest.", or (3) at the end.
9611   # Note that $ac_compile itself does not contain backslashes and begins
9612   # with a dollar sign (not a hyphen), so the echo should work correctly.
9613   lt_compile=`echo "$ac_compile" | $SED \
9614   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9615   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9616   -e 's:$: $lt_compiler_flag:'`
9617   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9618   (eval "$lt_compile" 2>out/conftest.err)
9619   ac_status=$?
9620   cat out/conftest.err >&5
9621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9623   then
9624     # The compiler can only warn and ignore the option if not recognized
9625     # So say no if there are warnings
9626     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9627     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9628     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9629       lt_cv_prog_compiler_c_o=yes
9630     fi
9631   fi
9632   chmod u+w . 2>&5
9633   $RM conftest*
9634   # SGI C++ compiler will create directory out/ii_files/ for
9635   # template instantiation
9636   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9637   $RM out/* && rmdir out
9638   cd ..
9639   $RM -r conftest
9640   $RM conftest*
9641
9642fi
9643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9644$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9645
9646
9647
9648
9649
9650
9651  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9652$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9653if ${lt_cv_prog_compiler_c_o+:} false; then :
9654  $as_echo_n "(cached) " >&6
9655else
9656  lt_cv_prog_compiler_c_o=no
9657   $RM -r conftest 2>/dev/null
9658   mkdir conftest
9659   cd conftest
9660   mkdir out
9661   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9662
9663   lt_compiler_flag="-o out/conftest2.$ac_objext"
9664   # Insert the option either (1) after the last *FLAGS variable, or
9665   # (2) before a word containing "conftest.", or (3) at the end.
9666   # Note that $ac_compile itself does not contain backslashes and begins
9667   # with a dollar sign (not a hyphen), so the echo should work correctly.
9668   lt_compile=`echo "$ac_compile" | $SED \
9669   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9670   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9671   -e 's:$: $lt_compiler_flag:'`
9672   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9673   (eval "$lt_compile" 2>out/conftest.err)
9674   ac_status=$?
9675   cat out/conftest.err >&5
9676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9678   then
9679     # The compiler can only warn and ignore the option if not recognized
9680     # So say no if there are warnings
9681     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9682     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9683     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9684       lt_cv_prog_compiler_c_o=yes
9685     fi
9686   fi
9687   chmod u+w . 2>&5
9688   $RM conftest*
9689   # SGI C++ compiler will create directory out/ii_files/ for
9690   # template instantiation
9691   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9692   $RM out/* && rmdir out
9693   cd ..
9694   $RM -r conftest
9695   $RM conftest*
9696
9697fi
9698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9699$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9700
9701
9702
9703
9704hard_links="nottested"
9705if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9706  # do not overwrite the value of need_locks provided by the user
9707  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9708$as_echo_n "checking if we can lock with hard links... " >&6; }
9709  hard_links=yes
9710  $RM conftest*
9711  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9712  touch conftest.a
9713  ln conftest.a conftest.b 2>&5 || hard_links=no
9714  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9716$as_echo "$hard_links" >&6; }
9717  if test "$hard_links" = no; then
9718    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9719$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9720    need_locks=warn
9721  fi
9722else
9723  need_locks=no
9724fi
9725
9726
9727
9728
9729
9730
9731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9732$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9733
9734  runpath_var=
9735  allow_undefined_flag=
9736  always_export_symbols=no
9737  archive_cmds=
9738  archive_expsym_cmds=
9739  compiler_needs_object=no
9740  enable_shared_with_static_runtimes=no
9741  export_dynamic_flag_spec=
9742  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9743  hardcode_automatic=no
9744  hardcode_direct=no
9745  hardcode_direct_absolute=no
9746  hardcode_libdir_flag_spec=
9747  hardcode_libdir_flag_spec_ld=
9748  hardcode_libdir_separator=
9749  hardcode_minus_L=no
9750  hardcode_shlibpath_var=unsupported
9751  inherit_rpath=no
9752  link_all_deplibs=unknown
9753  module_cmds=
9754  module_expsym_cmds=
9755  old_archive_from_new_cmds=
9756  old_archive_from_expsyms_cmds=
9757  thread_safe_flag_spec=
9758  whole_archive_flag_spec=
9759  # include_expsyms should be a list of space-separated symbols to be *always*
9760  # included in the symbol list
9761  include_expsyms=
9762  # exclude_expsyms can be an extended regexp of symbols to exclude
9763  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9764  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9765  # as well as any symbol that contains `d'.
9766  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9767  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9768  # platforms (ab)use it in PIC code, but their linkers get confused if
9769  # the symbol is explicitly referenced.  Since portable code cannot
9770  # rely on this symbol name, it's probably fine to never include it in
9771  # preloaded symbol tables.
9772  # Exclude shared library initialization/finalization symbols.
9773  extract_expsyms_cmds=
9774
9775  case $host_os in
9776  cygwin* | mingw* | pw32* | cegcc*)
9777    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9778    # When not using gcc, we currently assume that we are using
9779    # Microsoft Visual C++.
9780    if test "$GCC" != yes; then
9781      with_gnu_ld=no
9782    fi
9783    ;;
9784  interix*)
9785    # we just hope/assume this is gcc and not c89 (= MSVC++)
9786    with_gnu_ld=yes
9787    ;;
9788  openbsd*)
9789    with_gnu_ld=no
9790    ;;
9791  esac
9792
9793  ld_shlibs=yes
9794
9795  # On some targets, GNU ld is compatible enough with the native linker
9796  # that we're better off using the native interface for both.
9797  lt_use_gnu_ld_interface=no
9798  if test "$with_gnu_ld" = yes; then
9799    case $host_os in
9800      aix*)
9801	# The AIX port of GNU ld has always aspired to compatibility
9802	# with the native linker.  However, as the warning in the GNU ld
9803	# block says, versions before 2.19.5* couldn't really create working
9804	# shared libraries, regardless of the interface used.
9805	case `$LD -v 2>&1` in
9806	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9807	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9808	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9809	  *)
9810	    lt_use_gnu_ld_interface=yes
9811	    ;;
9812	esac
9813	;;
9814      *)
9815	lt_use_gnu_ld_interface=yes
9816	;;
9817    esac
9818  fi
9819
9820  if test "$lt_use_gnu_ld_interface" = yes; then
9821    # If archive_cmds runs LD, not CC, wlarc should be empty
9822    wlarc='${wl}'
9823
9824    # Set some defaults for GNU ld with shared library support. These
9825    # are reset later if shared libraries are not supported. Putting them
9826    # here allows them to be overridden if necessary.
9827    runpath_var=LD_RUN_PATH
9828    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9829    export_dynamic_flag_spec='${wl}--export-dynamic'
9830    # ancient GNU ld didn't support --whole-archive et. al.
9831    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9832      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9833    else
9834      whole_archive_flag_spec=
9835    fi
9836    supports_anon_versioning=no
9837    case `$LD -v 2>&1` in
9838      *GNU\ gold*) supports_anon_versioning=yes ;;
9839      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9840      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9841      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9842      *\ 2.11.*) ;; # other 2.11 versions
9843      *) supports_anon_versioning=yes ;;
9844    esac
9845
9846    # See if GNU ld supports shared libraries.
9847    case $host_os in
9848    aix[3-9]*)
9849      # On AIX/PPC, the GNU linker is very broken
9850      if test "$host_cpu" != ia64; then
9851	ld_shlibs=no
9852	cat <<_LT_EOF 1>&2
9853
9854*** Warning: the GNU linker, at least up to release 2.19, is reported
9855*** to be unable to reliably create shared libraries on AIX.
9856*** Therefore, libtool is disabling shared libraries support.  If you
9857*** really care for shared libraries, you may want to install binutils
9858*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9859*** You will then need to restart the configuration process.
9860
9861_LT_EOF
9862      fi
9863      ;;
9864
9865    amigaos*)
9866      case $host_cpu in
9867      powerpc)
9868            # see comment about AmigaOS4 .so support
9869            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9870            archive_expsym_cmds=''
9871        ;;
9872      m68k)
9873            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)'
9874            hardcode_libdir_flag_spec='-L$libdir'
9875            hardcode_minus_L=yes
9876        ;;
9877      esac
9878      ;;
9879
9880    beos*)
9881      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9882	allow_undefined_flag=unsupported
9883	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9884	# support --undefined.  This deserves some investigation.  FIXME
9885	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9886      else
9887	ld_shlibs=no
9888      fi
9889      ;;
9890
9891    cygwin* | mingw* | pw32* | cegcc*)
9892      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9893      # as there is no search path for DLLs.
9894      hardcode_libdir_flag_spec='-L$libdir'
9895      export_dynamic_flag_spec='${wl}--export-all-symbols'
9896      allow_undefined_flag=unsupported
9897      always_export_symbols=no
9898      enable_shared_with_static_runtimes=yes
9899      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9900
9901      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9902        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9903	# If the export-symbols file already is a .def file (1st line
9904	# is EXPORTS), use it as is; otherwise, prepend...
9905	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9906	  cp $export_symbols $output_objdir/$soname.def;
9907	else
9908	  echo EXPORTS > $output_objdir/$soname.def;
9909	  cat $export_symbols >> $output_objdir/$soname.def;
9910	fi~
9911	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9912      else
9913	ld_shlibs=no
9914      fi
9915      ;;
9916
9917    haiku*)
9918      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9919      link_all_deplibs=yes
9920      ;;
9921
9922    interix[3-9]*)
9923      hardcode_direct=no
9924      hardcode_shlibpath_var=no
9925      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9926      export_dynamic_flag_spec='${wl}-E'
9927      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9928      # Instead, shared libraries are loaded at an image base (0x10000000 by
9929      # default) and relocated if they conflict, which is a slow very memory
9930      # consuming and fragmenting process.  To avoid this, we pick a random,
9931      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9932      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9933      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9934      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'
9935      ;;
9936
9937    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9938      tmp_diet=no
9939      if test "$host_os" = linux-dietlibc; then
9940	case $cc_basename in
9941	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9942	esac
9943      fi
9944      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9945	 && test "$tmp_diet" = no
9946      then
9947	tmp_addflag=' $pic_flag'
9948	tmp_sharedflag='-shared'
9949	case $cc_basename,$host_cpu in
9950        pgcc*)				# Portland Group C compiler
9951	  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'
9952	  tmp_addflag=' $pic_flag'
9953	  ;;
9954	pgf77* | pgf90* | pgf95* | pgfortran*)
9955					# Portland Group f77 and f90 compilers
9956	  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'
9957	  tmp_addflag=' $pic_flag -Mnomain' ;;
9958	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9959	  tmp_addflag=' -i_dynamic' ;;
9960	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9961	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9962	ifc* | ifort*)			# Intel Fortran compiler
9963	  tmp_addflag=' -nofor_main' ;;
9964	lf95*)				# Lahey Fortran 8.1
9965	  whole_archive_flag_spec=
9966	  tmp_sharedflag='--shared' ;;
9967	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9968	  tmp_sharedflag='-qmkshrobj'
9969	  tmp_addflag= ;;
9970	nvcc*)	# Cuda Compiler Driver 2.2
9971	  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'
9972	  compiler_needs_object=yes
9973	  ;;
9974	esac
9975	case `$CC -V 2>&1 | sed 5q` in
9976	*Sun\ C*)			# Sun C 5.9
9977	  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'
9978	  compiler_needs_object=yes
9979	  tmp_sharedflag='-G' ;;
9980	*Sun\ F*)			# Sun Fortran 8.3
9981	  tmp_sharedflag='-G' ;;
9982	esac
9983	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9984
9985        if test "x$supports_anon_versioning" = xyes; then
9986          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9987	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9988	    echo "local: *; };" >> $output_objdir/$libname.ver~
9989	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9990        fi
9991
9992	case $cc_basename in
9993	xlf* | bgf* | bgxlf* | mpixlf*)
9994	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9995	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9996	  hardcode_libdir_flag_spec=
9997	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9998	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9999	  if test "x$supports_anon_versioning" = xyes; then
10000	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10001	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10002	      echo "local: *; };" >> $output_objdir/$libname.ver~
10003	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10004	  fi
10005	  ;;
10006	esac
10007      else
10008        ld_shlibs=no
10009      fi
10010      ;;
10011
10012    netbsd*)
10013      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10014	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10015	wlarc=
10016      else
10017	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10018	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10019      fi
10020      ;;
10021
10022    solaris*)
10023      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10024	ld_shlibs=no
10025	cat <<_LT_EOF 1>&2
10026
10027*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10028*** create shared libraries on Solaris systems.  Therefore, libtool
10029*** is disabling shared libraries support.  We urge you to upgrade GNU
10030*** binutils to release 2.9.1 or newer.  Another option is to modify
10031*** your PATH or compiler configuration so that the native linker is
10032*** used, and then restart.
10033
10034_LT_EOF
10035      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10036	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10037	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10038      else
10039	ld_shlibs=no
10040      fi
10041      ;;
10042
10043    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10044      case `$LD -v 2>&1` in
10045        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10046	ld_shlibs=no
10047	cat <<_LT_EOF 1>&2
10048
10049*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10050*** reliably create shared libraries on SCO systems.  Therefore, libtool
10051*** is disabling shared libraries support.  We urge you to upgrade GNU
10052*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10053*** your PATH or compiler configuration so that the native linker is
10054*** used, and then restart.
10055
10056_LT_EOF
10057	;;
10058	*)
10059	  # For security reasons, it is highly recommended that you always
10060	  # use absolute paths for naming shared libraries, and exclude the
10061	  # DT_RUNPATH tag from executables and libraries.  But doing so
10062	  # requires that you compile everything twice, which is a pain.
10063	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10064	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10065	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10066	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10067	  else
10068	    ld_shlibs=no
10069	  fi
10070	;;
10071      esac
10072      ;;
10073
10074    sunos4*)
10075      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10076      wlarc=
10077      hardcode_direct=yes
10078      hardcode_shlibpath_var=no
10079      ;;
10080
10081    *)
10082      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10083	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10084	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10085      else
10086	ld_shlibs=no
10087      fi
10088      ;;
10089    esac
10090
10091    if test "$ld_shlibs" = no; then
10092      runpath_var=
10093      hardcode_libdir_flag_spec=
10094      export_dynamic_flag_spec=
10095      whole_archive_flag_spec=
10096    fi
10097  else
10098    # PORTME fill in a description of your system's linker (not GNU ld)
10099    case $host_os in
10100    aix3*)
10101      allow_undefined_flag=unsupported
10102      always_export_symbols=yes
10103      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'
10104      # Note: this linker hardcodes the directories in LIBPATH if there
10105      # are no directories specified by -L.
10106      hardcode_minus_L=yes
10107      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10108	# Neither direct hardcoding nor static linking is supported with a
10109	# broken collect2.
10110	hardcode_direct=unsupported
10111      fi
10112      ;;
10113
10114    aix[4-9]*)
10115      if test "$host_cpu" = ia64; then
10116	# On IA64, the linker does run time linking by default, so we don't
10117	# have to do anything special.
10118	aix_use_runtimelinking=no
10119	exp_sym_flag='-Bexport'
10120	no_entry_flag=""
10121      else
10122	# If we're using GNU nm, then we don't want the "-C" option.
10123	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10124	# Also, AIX nm treats weak defined symbols like other global
10125	# defined symbols, whereas GNU nm marks them as "W".
10126	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10127	  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'
10128	else
10129	  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'
10130	fi
10131	aix_use_runtimelinking=no
10132
10133	# Test if we are trying to use run time linking or normal
10134	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10135	# need to do runtime linking.
10136	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10137	  for ld_flag in $LDFLAGS; do
10138	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10139	    aix_use_runtimelinking=yes
10140	    break
10141	  fi
10142	  done
10143	  ;;
10144	esac
10145
10146	exp_sym_flag='-bexport'
10147	no_entry_flag='-bnoentry'
10148      fi
10149
10150      # When large executables or shared objects are built, AIX ld can
10151      # have problems creating the table of contents.  If linking a library
10152      # or program results in "error TOC overflow" add -mminimal-toc to
10153      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10154      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10155
10156      archive_cmds=''
10157      hardcode_direct=yes
10158      hardcode_direct_absolute=yes
10159      hardcode_libdir_separator=':'
10160      link_all_deplibs=yes
10161      file_list_spec='${wl}-f,'
10162
10163      if test "$GCC" = yes; then
10164	case $host_os in aix4.[012]|aix4.[012].*)
10165	# We only want to do this on AIX 4.2 and lower, the check
10166	# below for broken collect2 doesn't work under 4.3+
10167	  collect2name=`${CC} -print-prog-name=collect2`
10168	  if test -f "$collect2name" &&
10169	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10170	  then
10171	  # We have reworked collect2
10172	  :
10173	  else
10174	  # We have old collect2
10175	  hardcode_direct=unsupported
10176	  # It fails to find uninstalled libraries when the uninstalled
10177	  # path is not listed in the libpath.  Setting hardcode_minus_L
10178	  # to unsupported forces relinking
10179	  hardcode_minus_L=yes
10180	  hardcode_libdir_flag_spec='-L$libdir'
10181	  hardcode_libdir_separator=
10182	  fi
10183	  ;;
10184	esac
10185	shared_flag='-shared'
10186	if test "$aix_use_runtimelinking" = yes; then
10187	  shared_flag="$shared_flag "'${wl}-G'
10188	fi
10189      else
10190	# not using gcc
10191	if test "$host_cpu" = ia64; then
10192	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10193	# chokes on -Wl,-G. The following line is correct:
10194	  shared_flag='-G'
10195	else
10196	  if test "$aix_use_runtimelinking" = yes; then
10197	    shared_flag='${wl}-G'
10198	  else
10199	    shared_flag='${wl}-bM:SRE'
10200	  fi
10201	fi
10202      fi
10203
10204      export_dynamic_flag_spec='${wl}-bexpall'
10205      # It seems that -bexpall does not export symbols beginning with
10206      # underscore (_), so it is better to generate a list of symbols to export.
10207      always_export_symbols=yes
10208      if test "$aix_use_runtimelinking" = yes; then
10209	# Warning - without using the other runtime loading flags (-brtl),
10210	# -berok will link without error, but may produce a broken library.
10211	allow_undefined_flag='-berok'
10212        # Determine the default libpath from the value encoded in an
10213        # empty executable.
10214        if test x$gcc_no_link = xyes; then
10215  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10216fi
10217cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218/* end confdefs.h.  */
10219
10220int
10221main ()
10222{
10223
10224  ;
10225  return 0;
10226}
10227_ACEOF
10228if ac_fn_c_try_link "$LINENO"; then :
10229
10230lt_aix_libpath_sed='
10231    /Import File Strings/,/^$/ {
10232	/^0/ {
10233	    s/^0  *\(.*\)$/\1/
10234	    p
10235	}
10236    }'
10237aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10238# Check for a 64-bit object if we didn't find anything.
10239if test -z "$aix_libpath"; then
10240  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10241fi
10242fi
10243rm -f core conftest.err conftest.$ac_objext \
10244    conftest$ac_exeext conftest.$ac_ext
10245if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10246
10247        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10248        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"
10249      else
10250	if test "$host_cpu" = ia64; then
10251	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10252	  allow_undefined_flag="-z nodefs"
10253	  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"
10254	else
10255	 # Determine the default libpath from the value encoded in an
10256	 # empty executable.
10257	 if test x$gcc_no_link = xyes; then
10258  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10259fi
10260cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261/* end confdefs.h.  */
10262
10263int
10264main ()
10265{
10266
10267  ;
10268  return 0;
10269}
10270_ACEOF
10271if ac_fn_c_try_link "$LINENO"; then :
10272
10273lt_aix_libpath_sed='
10274    /Import File Strings/,/^$/ {
10275	/^0/ {
10276	    s/^0  *\(.*\)$/\1/
10277	    p
10278	}
10279    }'
10280aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10281# Check for a 64-bit object if we didn't find anything.
10282if test -z "$aix_libpath"; then
10283  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10284fi
10285fi
10286rm -f core conftest.err conftest.$ac_objext \
10287    conftest$ac_exeext conftest.$ac_ext
10288if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10289
10290	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10291	  # Warning - without using the other run time loading flags,
10292	  # -berok will link without error, but may produce a broken library.
10293	  no_undefined_flag=' ${wl}-bernotok'
10294	  allow_undefined_flag=' ${wl}-berok'
10295	  if test "$with_gnu_ld" = yes; then
10296	    # We only use this code for GNU lds that support --whole-archive.
10297	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10298	  else
10299	    # Exported symbols can be pulled into shared objects from archives
10300	    whole_archive_flag_spec='$convenience'
10301	  fi
10302	  archive_cmds_need_lc=yes
10303	  # This is similar to how AIX traditionally builds its shared libraries.
10304	  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'
10305	fi
10306      fi
10307      ;;
10308
10309    amigaos*)
10310      case $host_cpu in
10311      powerpc)
10312            # see comment about AmigaOS4 .so support
10313            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10314            archive_expsym_cmds=''
10315        ;;
10316      m68k)
10317            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)'
10318            hardcode_libdir_flag_spec='-L$libdir'
10319            hardcode_minus_L=yes
10320        ;;
10321      esac
10322      ;;
10323
10324    bsdi[45]*)
10325      export_dynamic_flag_spec=-rdynamic
10326      ;;
10327
10328    cygwin* | mingw* | pw32* | cegcc*)
10329      # When not using gcc, we currently assume that we are using
10330      # Microsoft Visual C++.
10331      # hardcode_libdir_flag_spec is actually meaningless, as there is
10332      # no search path for DLLs.
10333      hardcode_libdir_flag_spec=' '
10334      allow_undefined_flag=unsupported
10335      # Tell ltmain to make .lib files, not .a files.
10336      libext=lib
10337      # Tell ltmain to make .dll files, not .so files.
10338      shrext_cmds=".dll"
10339      # FIXME: Setting linknames here is a bad hack.
10340      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10341      # The linker will automatically build a .lib file if we build a DLL.
10342      old_archive_from_new_cmds='true'
10343      # FIXME: Should let the user specify the lib program.
10344      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10345      fix_srcfile_path='`cygpath -w "$srcfile"`'
10346      enable_shared_with_static_runtimes=yes
10347      ;;
10348
10349    darwin* | rhapsody*)
10350
10351
10352  archive_cmds_need_lc=no
10353  hardcode_direct=no
10354  hardcode_automatic=yes
10355  hardcode_shlibpath_var=unsupported
10356  if test "$lt_cv_ld_force_load" = "yes"; then
10357    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\"`'
10358  else
10359    whole_archive_flag_spec=''
10360  fi
10361  link_all_deplibs=yes
10362  allow_undefined_flag="$_lt_dar_allow_undefined"
10363  case $cc_basename in
10364     ifort*) _lt_dar_can_shared=yes ;;
10365     *) _lt_dar_can_shared=$GCC ;;
10366  esac
10367  if test "$_lt_dar_can_shared" = "yes"; then
10368    output_verbose_link_cmd=func_echo_all
10369    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10370    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10371    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}"
10372    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}"
10373
10374  else
10375  ld_shlibs=no
10376  fi
10377
10378      ;;
10379
10380    dgux*)
10381      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10382      hardcode_libdir_flag_spec='-L$libdir'
10383      hardcode_shlibpath_var=no
10384      ;;
10385
10386    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10387    # support.  Future versions do this automatically, but an explicit c++rt0.o
10388    # does not break anything, and helps significantly (at the cost of a little
10389    # extra space).
10390    freebsd2.2*)
10391      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10392      hardcode_libdir_flag_spec='-R$libdir'
10393      hardcode_direct=yes
10394      hardcode_shlibpath_var=no
10395      ;;
10396
10397    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10398    freebsd2.*)
10399      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10400      hardcode_direct=yes
10401      hardcode_minus_L=yes
10402      hardcode_shlibpath_var=no
10403      ;;
10404
10405    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10406    freebsd* | dragonfly*)
10407      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10408      hardcode_libdir_flag_spec='-R$libdir'
10409      hardcode_direct=yes
10410      hardcode_shlibpath_var=no
10411      ;;
10412
10413    hpux9*)
10414      if test "$GCC" = yes; then
10415	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'
10416      else
10417	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'
10418      fi
10419      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10420      hardcode_libdir_separator=:
10421      hardcode_direct=yes
10422
10423      # hardcode_minus_L: Not really in the search PATH,
10424      # but as the default location of the library.
10425      hardcode_minus_L=yes
10426      export_dynamic_flag_spec='${wl}-E'
10427      ;;
10428
10429    hpux10*)
10430      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10431	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10432      else
10433	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10434      fi
10435      if test "$with_gnu_ld" = no; then
10436	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10437	hardcode_libdir_flag_spec_ld='+b $libdir'
10438	hardcode_libdir_separator=:
10439	hardcode_direct=yes
10440	hardcode_direct_absolute=yes
10441	export_dynamic_flag_spec='${wl}-E'
10442	# hardcode_minus_L: Not really in the search PATH,
10443	# but as the default location of the library.
10444	hardcode_minus_L=yes
10445      fi
10446      ;;
10447
10448    hpux11*)
10449      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10450	case $host_cpu in
10451	hppa*64*)
10452	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10453	  ;;
10454	ia64*)
10455	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10456	  ;;
10457	*)
10458	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10459	  ;;
10460	esac
10461      else
10462	case $host_cpu in
10463	hppa*64*)
10464	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10465	  ;;
10466	ia64*)
10467	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10468	  ;;
10469	*)
10470
10471	  # Older versions of the 11.00 compiler do not understand -b yet
10472	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10473	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10474$as_echo_n "checking if $CC understands -b... " >&6; }
10475if ${lt_cv_prog_compiler__b+:} false; then :
10476  $as_echo_n "(cached) " >&6
10477else
10478  lt_cv_prog_compiler__b=no
10479   save_LDFLAGS="$LDFLAGS"
10480   LDFLAGS="$LDFLAGS -b"
10481   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10482   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10483     # The linker can only warn and ignore the option if not recognized
10484     # So say no if there are warnings
10485     if test -s conftest.err; then
10486       # Append any errors to the config.log.
10487       cat conftest.err 1>&5
10488       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10489       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10490       if diff conftest.exp conftest.er2 >/dev/null; then
10491         lt_cv_prog_compiler__b=yes
10492       fi
10493     else
10494       lt_cv_prog_compiler__b=yes
10495     fi
10496   fi
10497   $RM -r conftest*
10498   LDFLAGS="$save_LDFLAGS"
10499
10500fi
10501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10502$as_echo "$lt_cv_prog_compiler__b" >&6; }
10503
10504if test x"$lt_cv_prog_compiler__b" = xyes; then
10505    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10506else
10507    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10508fi
10509
10510	  ;;
10511	esac
10512      fi
10513      if test "$with_gnu_ld" = no; then
10514	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10515	hardcode_libdir_separator=:
10516
10517	case $host_cpu in
10518	hppa*64*|ia64*)
10519	  hardcode_direct=no
10520	  hardcode_shlibpath_var=no
10521	  ;;
10522	*)
10523	  hardcode_direct=yes
10524	  hardcode_direct_absolute=yes
10525	  export_dynamic_flag_spec='${wl}-E'
10526
10527	  # hardcode_minus_L: Not really in the search PATH,
10528	  # but as the default location of the library.
10529	  hardcode_minus_L=yes
10530	  ;;
10531	esac
10532      fi
10533      ;;
10534
10535    irix5* | irix6* | nonstopux*)
10536      if test "$GCC" = yes; then
10537	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'
10538	# Try to use the -exported_symbol ld option, if it does not
10539	# work, assume that -exports_file does not work either and
10540	# implicitly export all symbols.
10541        save_LDFLAGS="$LDFLAGS"
10542        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10543        if test x$gcc_no_link = xyes; then
10544  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10545fi
10546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10547/* end confdefs.h.  */
10548int foo(void) {}
10549_ACEOF
10550if ac_fn_c_try_link "$LINENO"; then :
10551  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'
10552
10553fi
10554rm -f core conftest.err conftest.$ac_objext \
10555    conftest$ac_exeext conftest.$ac_ext
10556        LDFLAGS="$save_LDFLAGS"
10557      else
10558	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'
10559	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'
10560      fi
10561      archive_cmds_need_lc='no'
10562      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10563      hardcode_libdir_separator=:
10564      inherit_rpath=yes
10565      link_all_deplibs=yes
10566      ;;
10567
10568    netbsd*)
10569      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10570	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10571      else
10572	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10573      fi
10574      hardcode_libdir_flag_spec='-R$libdir'
10575      hardcode_direct=yes
10576      hardcode_shlibpath_var=no
10577      ;;
10578
10579    newsos6)
10580      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10581      hardcode_direct=yes
10582      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10583      hardcode_libdir_separator=:
10584      hardcode_shlibpath_var=no
10585      ;;
10586
10587    *nto* | *qnx*)
10588      ;;
10589
10590    openbsd*)
10591      if test -f /usr/libexec/ld.so; then
10592	hardcode_direct=yes
10593	hardcode_shlibpath_var=no
10594	hardcode_direct_absolute=yes
10595	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10596	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10597	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10598	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10599	  export_dynamic_flag_spec='${wl}-E'
10600	else
10601	  case $host_os in
10602	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10603	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10604	     hardcode_libdir_flag_spec='-R$libdir'
10605	     ;;
10606	   *)
10607	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10608	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10609	     ;;
10610	  esac
10611	fi
10612      else
10613	ld_shlibs=no
10614      fi
10615      ;;
10616
10617    os2*)
10618      hardcode_libdir_flag_spec='-L$libdir'
10619      hardcode_minus_L=yes
10620      allow_undefined_flag=unsupported
10621      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'
10622      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10623      ;;
10624
10625    osf3*)
10626      if test "$GCC" = yes; then
10627	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10628	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'
10629      else
10630	allow_undefined_flag=' -expect_unresolved \*'
10631	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'
10632      fi
10633      archive_cmds_need_lc='no'
10634      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10635      hardcode_libdir_separator=:
10636      ;;
10637
10638    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10639      if test "$GCC" = yes; then
10640	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10641	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'
10642	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10643      else
10644	allow_undefined_flag=' -expect_unresolved \*'
10645	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'
10646	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~
10647	$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'
10648
10649	# Both c and cxx compiler support -rpath directly
10650	hardcode_libdir_flag_spec='-rpath $libdir'
10651      fi
10652      archive_cmds_need_lc='no'
10653      hardcode_libdir_separator=:
10654      ;;
10655
10656    solaris*)
10657      no_undefined_flag=' -z defs'
10658      if test "$GCC" = yes; then
10659	wlarc='${wl}'
10660	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10661	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10662	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10663      else
10664	case `$CC -V 2>&1` in
10665	*"Compilers 5.0"*)
10666	  wlarc=''
10667	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10668	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10669	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10670	  ;;
10671	*)
10672	  wlarc='${wl}'
10673	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10674	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10675	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10676	  ;;
10677	esac
10678      fi
10679      hardcode_libdir_flag_spec='-R$libdir'
10680      hardcode_shlibpath_var=no
10681      case $host_os in
10682      solaris2.[0-5] | solaris2.[0-5].*) ;;
10683      *)
10684	# The compiler driver will combine and reorder linker options,
10685	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10686	# but is careful enough not to reorder.
10687	# Supported since Solaris 2.6 (maybe 2.5.1?)
10688	if test "$GCC" = yes; then
10689	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10690	else
10691	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10692	fi
10693	;;
10694      esac
10695      link_all_deplibs=yes
10696      ;;
10697
10698    sunos4*)
10699      if test "x$host_vendor" = xsequent; then
10700	# Use $CC to link under sequent, because it throws in some extra .o
10701	# files that make .init and .fini sections work.
10702	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10703      else
10704	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10705      fi
10706      hardcode_libdir_flag_spec='-L$libdir'
10707      hardcode_direct=yes
10708      hardcode_minus_L=yes
10709      hardcode_shlibpath_var=no
10710      ;;
10711
10712    sysv4)
10713      case $host_vendor in
10714	sni)
10715	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10716	  hardcode_direct=yes # is this really true???
10717	;;
10718	siemens)
10719	  ## LD is ld it makes a PLAMLIB
10720	  ## CC just makes a GrossModule.
10721	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10722	  reload_cmds='$CC -r -o $output$reload_objs'
10723	  hardcode_direct=no
10724        ;;
10725	motorola)
10726	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10727	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10728	;;
10729      esac
10730      runpath_var='LD_RUN_PATH'
10731      hardcode_shlibpath_var=no
10732      ;;
10733
10734    sysv4.3*)
10735      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10736      hardcode_shlibpath_var=no
10737      export_dynamic_flag_spec='-Bexport'
10738      ;;
10739
10740    sysv4*MP*)
10741      if test -d /usr/nec; then
10742	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10743	hardcode_shlibpath_var=no
10744	runpath_var=LD_RUN_PATH
10745	hardcode_runpath_var=yes
10746	ld_shlibs=yes
10747      fi
10748      ;;
10749
10750    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10751      no_undefined_flag='${wl}-z,text'
10752      archive_cmds_need_lc=no
10753      hardcode_shlibpath_var=no
10754      runpath_var='LD_RUN_PATH'
10755
10756      if test "$GCC" = yes; then
10757	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10758	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10759      else
10760	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10761	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10762      fi
10763      ;;
10764
10765    sysv5* | sco3.2v5* | sco5v6*)
10766      # Note: We can NOT use -z defs as we might desire, because we do not
10767      # link with -lc, and that would cause any symbols used from libc to
10768      # always be unresolved, which means just about no library would
10769      # ever link correctly.  If we're not using GNU ld we use -z text
10770      # though, which does catch some bad symbols but isn't as heavy-handed
10771      # as -z defs.
10772      no_undefined_flag='${wl}-z,text'
10773      allow_undefined_flag='${wl}-z,nodefs'
10774      archive_cmds_need_lc=no
10775      hardcode_shlibpath_var=no
10776      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10777      hardcode_libdir_separator=':'
10778      link_all_deplibs=yes
10779      export_dynamic_flag_spec='${wl}-Bexport'
10780      runpath_var='LD_RUN_PATH'
10781
10782      if test "$GCC" = yes; then
10783	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785      else
10786	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10787	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10788      fi
10789      ;;
10790
10791    uts4*)
10792      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10793      hardcode_libdir_flag_spec='-L$libdir'
10794      hardcode_shlibpath_var=no
10795      ;;
10796
10797    *)
10798      ld_shlibs=no
10799      ;;
10800    esac
10801
10802    if test x$host_vendor = xsni; then
10803      case $host in
10804      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10805	export_dynamic_flag_spec='${wl}-Blargedynsym'
10806	;;
10807      esac
10808    fi
10809  fi
10810
10811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10812$as_echo "$ld_shlibs" >&6; }
10813test "$ld_shlibs" = no && can_build_shared=no
10814
10815with_gnu_ld=$with_gnu_ld
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831#
10832# Do we need to explicitly link libc?
10833#
10834case "x$archive_cmds_need_lc" in
10835x|xyes)
10836  # Assume -lc should be added
10837  archive_cmds_need_lc=yes
10838
10839  if test "$enable_shared" = yes && test "$GCC" = yes; then
10840    case $archive_cmds in
10841    *'~'*)
10842      # FIXME: we may have to deal with multi-command sequences.
10843      ;;
10844    '$CC '*)
10845      # Test whether the compiler implicitly links with -lc since on some
10846      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10847      # to ld, don't add -lc before -lgcc.
10848      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10849$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10850if ${lt_cv_archive_cmds_need_lc+:} false; then :
10851  $as_echo_n "(cached) " >&6
10852else
10853  $RM conftest*
10854	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10855
10856	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10857  (eval $ac_compile) 2>&5
10858  ac_status=$?
10859  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10860  test $ac_status = 0; } 2>conftest.err; then
10861	  soname=conftest
10862	  lib=conftest
10863	  libobjs=conftest.$ac_objext
10864	  deplibs=
10865	  wl=$lt_prog_compiler_wl
10866	  pic_flag=$lt_prog_compiler_pic
10867	  compiler_flags=-v
10868	  linker_flags=-v
10869	  verstring=
10870	  output_objdir=.
10871	  libname=conftest
10872	  lt_save_allow_undefined_flag=$allow_undefined_flag
10873	  allow_undefined_flag=
10874	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10875  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10876  ac_status=$?
10877  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10878  test $ac_status = 0; }
10879	  then
10880	    lt_cv_archive_cmds_need_lc=no
10881	  else
10882	    lt_cv_archive_cmds_need_lc=yes
10883	  fi
10884	  allow_undefined_flag=$lt_save_allow_undefined_flag
10885	else
10886	  cat conftest.err 1>&5
10887	fi
10888	$RM conftest*
10889
10890fi
10891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10892$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10893      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10894      ;;
10895    esac
10896  fi
10897  ;;
10898esac
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
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11057$as_echo_n "checking dynamic linker characteristics... " >&6; }
11058
11059if test "$GCC" = yes; then
11060  case $host_os in
11061    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11062    *) lt_awk_arg="/^libraries:/" ;;
11063  esac
11064  case $host_os in
11065    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11066    *) lt_sed_strip_eq="s,=/,/,g" ;;
11067  esac
11068  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11069  case $lt_search_path_spec in
11070  *\;*)
11071    # if the path contains ";" then we assume it to be the separator
11072    # otherwise default to the standard path separator (i.e. ":") - it is
11073    # assumed that no part of a normal pathname contains ";" but that should
11074    # okay in the real world where ";" in dirpaths is itself problematic.
11075    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11076    ;;
11077  *)
11078    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11079    ;;
11080  esac
11081  # Ok, now we have the path, separated by spaces, we can step through it
11082  # and add multilib dir if necessary.
11083  lt_tmp_lt_search_path_spec=
11084  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11085  for lt_sys_path in $lt_search_path_spec; do
11086    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11087      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11088    else
11089      test -d "$lt_sys_path" && \
11090	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11091    fi
11092  done
11093  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11094BEGIN {RS=" "; FS="/|\n";} {
11095  lt_foo="";
11096  lt_count=0;
11097  for (lt_i = NF; lt_i > 0; lt_i--) {
11098    if ($lt_i != "" && $lt_i != ".") {
11099      if ($lt_i == "..") {
11100        lt_count++;
11101      } else {
11102        if (lt_count == 0) {
11103          lt_foo="/" $lt_i lt_foo;
11104        } else {
11105          lt_count--;
11106        }
11107      }
11108    }
11109  }
11110  if (lt_foo != "") { lt_freq[lt_foo]++; }
11111  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11112}'`
11113  # AWK program above erroneously prepends '/' to C:/dos/paths
11114  # for these hosts.
11115  case $host_os in
11116    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11117      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11118  esac
11119  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11120else
11121  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11122fi
11123library_names_spec=
11124libname_spec='lib$name'
11125soname_spec=
11126shrext_cmds=".so"
11127postinstall_cmds=
11128postuninstall_cmds=
11129finish_cmds=
11130finish_eval=
11131shlibpath_var=
11132shlibpath_overrides_runpath=unknown
11133version_type=none
11134dynamic_linker="$host_os ld.so"
11135sys_lib_dlsearch_path_spec="/lib /usr/lib"
11136need_lib_prefix=unknown
11137hardcode_into_libs=no
11138
11139# when you set need_version to no, make sure it does not cause -set_version
11140# flags to be left without arguments
11141need_version=unknown
11142
11143case $host_os in
11144aix3*)
11145  version_type=linux
11146  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11147  shlibpath_var=LIBPATH
11148
11149  # AIX 3 has no versioning support, so we append a major version to the name.
11150  soname_spec='${libname}${release}${shared_ext}$major'
11151  ;;
11152
11153aix[4-9]*)
11154  version_type=linux
11155  need_lib_prefix=no
11156  need_version=no
11157  hardcode_into_libs=yes
11158  if test "$host_cpu" = ia64; then
11159    # AIX 5 supports IA64
11160    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11161    shlibpath_var=LD_LIBRARY_PATH
11162  else
11163    # With GCC up to 2.95.x, collect2 would create an import file
11164    # for dependence libraries.  The import file would start with
11165    # the line `#! .'.  This would cause the generated library to
11166    # depend on `.', always an invalid library.  This was fixed in
11167    # development snapshots of GCC prior to 3.0.
11168    case $host_os in
11169      aix4 | aix4.[01] | aix4.[01].*)
11170      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11171	   echo ' yes '
11172	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11173	:
11174      else
11175	can_build_shared=no
11176      fi
11177      ;;
11178    esac
11179    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11180    # soname into executable. Probably we can add versioning support to
11181    # collect2, so additional links can be useful in future.
11182    if test "$aix_use_runtimelinking" = yes; then
11183      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11184      # instead of lib<name>.a to let people know that these are not
11185      # typical AIX shared libraries.
11186      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11187    else
11188      # We preserve .a as extension for shared libraries through AIX4.2
11189      # and later when we are not doing run time linking.
11190      library_names_spec='${libname}${release}.a $libname.a'
11191      soname_spec='${libname}${release}${shared_ext}$major'
11192    fi
11193    shlibpath_var=LIBPATH
11194  fi
11195  ;;
11196
11197amigaos*)
11198  case $host_cpu in
11199  powerpc)
11200    # Since July 2007 AmigaOS4 officially supports .so libraries.
11201    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11202    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11203    ;;
11204  m68k)
11205    library_names_spec='$libname.ixlibrary $libname.a'
11206    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11207    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'
11208    ;;
11209  esac
11210  ;;
11211
11212beos*)
11213  library_names_spec='${libname}${shared_ext}'
11214  dynamic_linker="$host_os ld.so"
11215  shlibpath_var=LIBRARY_PATH
11216  ;;
11217
11218bsdi[45]*)
11219  version_type=linux
11220  need_version=no
11221  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11222  soname_spec='${libname}${release}${shared_ext}$major'
11223  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11224  shlibpath_var=LD_LIBRARY_PATH
11225  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11226  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11227  # the default ld.so.conf also contains /usr/contrib/lib and
11228  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11229  # libtool to hard-code these into programs
11230  ;;
11231
11232cygwin* | mingw* | pw32* | cegcc*)
11233  version_type=windows
11234  shrext_cmds=".dll"
11235  need_version=no
11236  need_lib_prefix=no
11237
11238  case $GCC,$host_os in
11239  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11240    library_names_spec='$libname.dll.a'
11241    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11242    postinstall_cmds='base_file=`basename \${file}`~
11243      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11244      dldir=$destdir/`dirname \$dlpath`~
11245      test -d \$dldir || mkdir -p \$dldir~
11246      $install_prog $dir/$dlname \$dldir/$dlname~
11247      chmod a+x \$dldir/$dlname~
11248      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11249        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11250      fi'
11251    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11252      dlpath=$dir/\$dldll~
11253       $RM \$dlpath'
11254    shlibpath_overrides_runpath=yes
11255
11256    case $host_os in
11257    cygwin*)
11258      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11259      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11260
11261      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11262      ;;
11263    mingw* | cegcc*)
11264      # MinGW DLLs use traditional 'lib' prefix
11265      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11266      ;;
11267    pw32*)
11268      # pw32 DLLs use 'pw' prefix rather than 'lib'
11269      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11270      ;;
11271    esac
11272    ;;
11273
11274  *)
11275    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11276    ;;
11277  esac
11278  dynamic_linker='Win32 ld.exe'
11279  # FIXME: first we should search . and the directory the executable is in
11280  shlibpath_var=PATH
11281  ;;
11282
11283darwin* | rhapsody*)
11284  dynamic_linker="$host_os dyld"
11285  version_type=darwin
11286  need_lib_prefix=no
11287  need_version=no
11288  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11289  soname_spec='${libname}${release}${major}$shared_ext'
11290  shlibpath_overrides_runpath=yes
11291  shlibpath_var=DYLD_LIBRARY_PATH
11292  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11293
11294  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11295  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11296  ;;
11297
11298dgux*)
11299  version_type=linux
11300  need_lib_prefix=no
11301  need_version=no
11302  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11303  soname_spec='${libname}${release}${shared_ext}$major'
11304  shlibpath_var=LD_LIBRARY_PATH
11305  ;;
11306
11307freebsd* | dragonfly*)
11308  # DragonFly does not have aout.  When/if they implement a new
11309  # versioning mechanism, adjust this.
11310  if test -x /usr/bin/objformat; then
11311    objformat=`/usr/bin/objformat`
11312  else
11313    case $host_os in
11314    freebsd[23].*) objformat=aout ;;
11315    *) objformat=elf ;;
11316    esac
11317  fi
11318  version_type=freebsd-$objformat
11319  case $version_type in
11320    freebsd-elf*)
11321      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11322      need_version=no
11323      need_lib_prefix=no
11324      ;;
11325    freebsd-*)
11326      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11327      need_version=yes
11328      ;;
11329  esac
11330  shlibpath_var=LD_LIBRARY_PATH
11331  case $host_os in
11332  freebsd2.*)
11333    shlibpath_overrides_runpath=yes
11334    ;;
11335  freebsd3.[01]* | freebsdelf3.[01]*)
11336    shlibpath_overrides_runpath=yes
11337    hardcode_into_libs=yes
11338    ;;
11339  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11340  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11341    shlibpath_overrides_runpath=no
11342    hardcode_into_libs=yes
11343    ;;
11344  *) # from 4.6 on, and DragonFly
11345    shlibpath_overrides_runpath=yes
11346    hardcode_into_libs=yes
11347    ;;
11348  esac
11349  ;;
11350
11351haiku*)
11352  version_type=linux
11353  need_lib_prefix=no
11354  need_version=no
11355  dynamic_linker="$host_os runtime_loader"
11356  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11357  soname_spec='${libname}${release}${shared_ext}$major'
11358  shlibpath_var=LIBRARY_PATH
11359  shlibpath_overrides_runpath=yes
11360  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11361  hardcode_into_libs=yes
11362  ;;
11363
11364hpux9* | hpux10* | hpux11*)
11365  # Give a soname corresponding to the major version so that dld.sl refuses to
11366  # link against other versions.
11367  version_type=sunos
11368  need_lib_prefix=no
11369  need_version=no
11370  case $host_cpu in
11371  ia64*)
11372    shrext_cmds='.so'
11373    hardcode_into_libs=yes
11374    dynamic_linker="$host_os dld.so"
11375    shlibpath_var=LD_LIBRARY_PATH
11376    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11377    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11378    soname_spec='${libname}${release}${shared_ext}$major'
11379    if test "X$HPUX_IA64_MODE" = X32; then
11380      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11381    else
11382      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11383    fi
11384    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11385    ;;
11386  hppa*64*)
11387    shrext_cmds='.sl'
11388    hardcode_into_libs=yes
11389    dynamic_linker="$host_os dld.sl"
11390    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11391    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11392    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393    soname_spec='${libname}${release}${shared_ext}$major'
11394    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11395    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11396    ;;
11397  *)
11398    shrext_cmds='.sl'
11399    dynamic_linker="$host_os dld.sl"
11400    shlibpath_var=SHLIB_PATH
11401    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11402    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11403    soname_spec='${libname}${release}${shared_ext}$major'
11404    ;;
11405  esac
11406  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11407  postinstall_cmds='chmod 555 $lib'
11408  # or fails outright, so override atomically:
11409  install_override_mode=555
11410  ;;
11411
11412interix[3-9]*)
11413  version_type=linux
11414  need_lib_prefix=no
11415  need_version=no
11416  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11417  soname_spec='${libname}${release}${shared_ext}$major'
11418  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11419  shlibpath_var=LD_LIBRARY_PATH
11420  shlibpath_overrides_runpath=no
11421  hardcode_into_libs=yes
11422  ;;
11423
11424irix5* | irix6* | nonstopux*)
11425  case $host_os in
11426    nonstopux*) version_type=nonstopux ;;
11427    *)
11428	if test "$lt_cv_prog_gnu_ld" = yes; then
11429		version_type=linux
11430	else
11431		version_type=irix
11432	fi ;;
11433  esac
11434  need_lib_prefix=no
11435  need_version=no
11436  soname_spec='${libname}${release}${shared_ext}$major'
11437  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11438  case $host_os in
11439  irix5* | nonstopux*)
11440    libsuff= shlibsuff=
11441    ;;
11442  *)
11443    case $LD in # libtool.m4 will add one of these switches to LD
11444    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11445      libsuff= shlibsuff= libmagic=32-bit;;
11446    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11447      libsuff=32 shlibsuff=N32 libmagic=N32;;
11448    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11449      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11450    *) libsuff= shlibsuff= libmagic=never-match;;
11451    esac
11452    ;;
11453  esac
11454  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11455  shlibpath_overrides_runpath=no
11456  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11457  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11458  hardcode_into_libs=yes
11459  ;;
11460
11461# No shared lib support for Linux oldld, aout, or coff.
11462linux*oldld* | linux*aout* | linux*coff*)
11463  dynamic_linker=no
11464  ;;
11465
11466# This must be Linux ELF.
11467
11468# uclinux* changes (here and below) have been submitted to the libtool
11469# project, but have not yet been accepted: they are GCC-local changes
11470# for the time being.  (See
11471# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11472linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11473  version_type=linux
11474  need_lib_prefix=no
11475  need_version=no
11476  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477  soname_spec='${libname}${release}${shared_ext}$major'
11478  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11479  shlibpath_var=LD_LIBRARY_PATH
11480  shlibpath_overrides_runpath=no
11481
11482  # Some binutils ld are patched to set DT_RUNPATH
11483  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11484  $as_echo_n "(cached) " >&6
11485else
11486  lt_cv_shlibpath_overrides_runpath=no
11487    save_LDFLAGS=$LDFLAGS
11488    save_libdir=$libdir
11489    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11490	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11491    if test x$gcc_no_link = xyes; then
11492  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11493fi
11494cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495/* end confdefs.h.  */
11496
11497int
11498main ()
11499{
11500
11501  ;
11502  return 0;
11503}
11504_ACEOF
11505if ac_fn_c_try_link "$LINENO"; then :
11506  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11507  lt_cv_shlibpath_overrides_runpath=yes
11508fi
11509fi
11510rm -f core conftest.err conftest.$ac_objext \
11511    conftest$ac_exeext conftest.$ac_ext
11512    LDFLAGS=$save_LDFLAGS
11513    libdir=$save_libdir
11514
11515fi
11516
11517  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11518
11519  # This implies no fast_install, which is unacceptable.
11520  # Some rework will be needed to allow for fast_install
11521  # before this can be enabled.
11522  hardcode_into_libs=yes
11523
11524  # Append ld.so.conf contents to the search path
11525  if test -f /etc/ld.so.conf; then
11526    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' ' '`
11527    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11528  fi
11529
11530  # We used to test for /lib/ld.so.1 and disable shared libraries on
11531  # powerpc, because MkLinux only supported shared libraries with the
11532  # GNU dynamic linker.  Since this was broken with cross compilers,
11533  # most powerpc-linux boxes support dynamic linking these days and
11534  # people can always --disable-shared, the test was removed, and we
11535  # assume the GNU/Linux dynamic linker is in use.
11536  dynamic_linker='GNU/Linux ld.so'
11537  ;;
11538
11539netbsd*)
11540  version_type=sunos
11541  need_lib_prefix=no
11542  need_version=no
11543  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11544    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11545    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11546    dynamic_linker='NetBSD (a.out) ld.so'
11547  else
11548    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11549    soname_spec='${libname}${release}${shared_ext}$major'
11550    dynamic_linker='NetBSD ld.elf_so'
11551  fi
11552  shlibpath_var=LD_LIBRARY_PATH
11553  shlibpath_overrides_runpath=yes
11554  hardcode_into_libs=yes
11555  ;;
11556
11557newsos6)
11558  version_type=linux
11559  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560  shlibpath_var=LD_LIBRARY_PATH
11561  shlibpath_overrides_runpath=yes
11562  ;;
11563
11564*nto* | *qnx*)
11565  version_type=qnx
11566  need_lib_prefix=no
11567  need_version=no
11568  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11569  soname_spec='${libname}${release}${shared_ext}$major'
11570  shlibpath_var=LD_LIBRARY_PATH
11571  shlibpath_overrides_runpath=no
11572  hardcode_into_libs=yes
11573  dynamic_linker='ldqnx.so'
11574  ;;
11575
11576openbsd*)
11577  version_type=sunos
11578  sys_lib_dlsearch_path_spec="/usr/lib"
11579  need_lib_prefix=no
11580  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11581  case $host_os in
11582    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11583    *)				need_version=no  ;;
11584  esac
11585  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11586  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11587  shlibpath_var=LD_LIBRARY_PATH
11588  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11589    case $host_os in
11590      openbsd2.[89] | openbsd2.[89].*)
11591	shlibpath_overrides_runpath=no
11592	;;
11593      *)
11594	shlibpath_overrides_runpath=yes
11595	;;
11596      esac
11597  else
11598    shlibpath_overrides_runpath=yes
11599  fi
11600  ;;
11601
11602os2*)
11603  libname_spec='$name'
11604  shrext_cmds=".dll"
11605  need_lib_prefix=no
11606  library_names_spec='$libname${shared_ext} $libname.a'
11607  dynamic_linker='OS/2 ld.exe'
11608  shlibpath_var=LIBPATH
11609  ;;
11610
11611osf3* | osf4* | osf5*)
11612  version_type=osf
11613  need_lib_prefix=no
11614  need_version=no
11615  soname_spec='${libname}${release}${shared_ext}$major'
11616  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11617  shlibpath_var=LD_LIBRARY_PATH
11618  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11619  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11620  ;;
11621
11622rdos*)
11623  dynamic_linker=no
11624  ;;
11625
11626solaris*)
11627  version_type=linux
11628  need_lib_prefix=no
11629  need_version=no
11630  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631  soname_spec='${libname}${release}${shared_ext}$major'
11632  shlibpath_var=LD_LIBRARY_PATH
11633  shlibpath_overrides_runpath=yes
11634  hardcode_into_libs=yes
11635  # ldd complains unless libraries are executable
11636  postinstall_cmds='chmod +x $lib'
11637  ;;
11638
11639sunos4*)
11640  version_type=sunos
11641  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11642  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11643  shlibpath_var=LD_LIBRARY_PATH
11644  shlibpath_overrides_runpath=yes
11645  if test "$with_gnu_ld" = yes; then
11646    need_lib_prefix=no
11647  fi
11648  need_version=yes
11649  ;;
11650
11651sysv4 | sysv4.3*)
11652  version_type=linux
11653  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11654  soname_spec='${libname}${release}${shared_ext}$major'
11655  shlibpath_var=LD_LIBRARY_PATH
11656  case $host_vendor in
11657    sni)
11658      shlibpath_overrides_runpath=no
11659      need_lib_prefix=no
11660      runpath_var=LD_RUN_PATH
11661      ;;
11662    siemens)
11663      need_lib_prefix=no
11664      ;;
11665    motorola)
11666      need_lib_prefix=no
11667      need_version=no
11668      shlibpath_overrides_runpath=no
11669      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11670      ;;
11671  esac
11672  ;;
11673
11674sysv4*MP*)
11675  if test -d /usr/nec ;then
11676    version_type=linux
11677    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11678    soname_spec='$libname${shared_ext}.$major'
11679    shlibpath_var=LD_LIBRARY_PATH
11680  fi
11681  ;;
11682
11683sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11684  version_type=freebsd-elf
11685  need_lib_prefix=no
11686  need_version=no
11687  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11688  soname_spec='${libname}${release}${shared_ext}$major'
11689  shlibpath_var=LD_LIBRARY_PATH
11690  shlibpath_overrides_runpath=yes
11691  hardcode_into_libs=yes
11692  if test "$with_gnu_ld" = yes; then
11693    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11694  else
11695    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11696    case $host_os in
11697      sco3.2v5*)
11698        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11699	;;
11700    esac
11701  fi
11702  sys_lib_dlsearch_path_spec='/usr/lib'
11703  ;;
11704
11705tpf*)
11706  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11707  version_type=linux
11708  need_lib_prefix=no
11709  need_version=no
11710  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711  shlibpath_var=LD_LIBRARY_PATH
11712  shlibpath_overrides_runpath=no
11713  hardcode_into_libs=yes
11714  ;;
11715
11716uts4*)
11717  version_type=linux
11718  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11719  soname_spec='${libname}${release}${shared_ext}$major'
11720  shlibpath_var=LD_LIBRARY_PATH
11721  ;;
11722
11723*)
11724  dynamic_linker=no
11725  ;;
11726esac
11727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11728$as_echo "$dynamic_linker" >&6; }
11729test "$dynamic_linker" = no && can_build_shared=no
11730
11731variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11732if test "$GCC" = yes; then
11733  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11734fi
11735
11736if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11737  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11738fi
11739if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11740  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11741fi
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11835$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11836hardcode_action=
11837if test -n "$hardcode_libdir_flag_spec" ||
11838   test -n "$runpath_var" ||
11839   test "X$hardcode_automatic" = "Xyes" ; then
11840
11841  # We can hardcode non-existent directories.
11842  if test "$hardcode_direct" != no &&
11843     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11844     # have to relink, otherwise we might link with an installed library
11845     # when we should be linking with a yet-to-be-installed one
11846     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11847     test "$hardcode_minus_L" != no; then
11848    # Linking always hardcodes the temporary library directory.
11849    hardcode_action=relink
11850  else
11851    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11852    hardcode_action=immediate
11853  fi
11854else
11855  # We cannot hardcode anything, or else we can only hardcode existing
11856  # directories.
11857  hardcode_action=unsupported
11858fi
11859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11860$as_echo "$hardcode_action" >&6; }
11861
11862if test "$hardcode_action" = relink ||
11863   test "$inherit_rpath" = yes; then
11864  # Fast installation is not supported
11865  enable_fast_install=no
11866elif test "$shlibpath_overrides_runpath" = yes ||
11867     test "$enable_shared" = no; then
11868  # Fast installation is not necessary
11869  enable_fast_install=needless
11870fi
11871
11872
11873
11874
11875
11876
11877  if test "x$enable_dlopen" != xyes; then
11878  enable_dlopen=unknown
11879  enable_dlopen_self=unknown
11880  enable_dlopen_self_static=unknown
11881else
11882  lt_cv_dlopen=no
11883  lt_cv_dlopen_libs=
11884
11885  case $host_os in
11886  beos*)
11887    lt_cv_dlopen="load_add_on"
11888    lt_cv_dlopen_libs=
11889    lt_cv_dlopen_self=yes
11890    ;;
11891
11892  mingw* | pw32* | cegcc*)
11893    lt_cv_dlopen="LoadLibrary"
11894    lt_cv_dlopen_libs=
11895    ;;
11896
11897  cygwin*)
11898    lt_cv_dlopen="dlopen"
11899    lt_cv_dlopen_libs=
11900    ;;
11901
11902  darwin*)
11903  # if libdl is installed we need to link against it
11904    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11905$as_echo_n "checking for dlopen in -ldl... " >&6; }
11906if ${ac_cv_lib_dl_dlopen+:} false; then :
11907  $as_echo_n "(cached) " >&6
11908else
11909  ac_check_lib_save_LIBS=$LIBS
11910LIBS="-ldl  $LIBS"
11911if test x$gcc_no_link = xyes; then
11912  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11913fi
11914cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915/* end confdefs.h.  */
11916
11917/* Override any GCC internal prototype to avoid an error.
11918   Use char because int might match the return type of a GCC
11919   builtin and then its argument prototype would still apply.  */
11920#ifdef __cplusplus
11921extern "C"
11922#endif
11923char dlopen ();
11924int
11925main ()
11926{
11927return dlopen ();
11928  ;
11929  return 0;
11930}
11931_ACEOF
11932if ac_fn_c_try_link "$LINENO"; then :
11933  ac_cv_lib_dl_dlopen=yes
11934else
11935  ac_cv_lib_dl_dlopen=no
11936fi
11937rm -f core conftest.err conftest.$ac_objext \
11938    conftest$ac_exeext conftest.$ac_ext
11939LIBS=$ac_check_lib_save_LIBS
11940fi
11941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11942$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11943if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11944  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11945else
11946
11947    lt_cv_dlopen="dyld"
11948    lt_cv_dlopen_libs=
11949    lt_cv_dlopen_self=yes
11950
11951fi
11952
11953    ;;
11954
11955  *)
11956    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11957if test "x$ac_cv_func_shl_load" = xyes; then :
11958  lt_cv_dlopen="shl_load"
11959else
11960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11961$as_echo_n "checking for shl_load in -ldld... " >&6; }
11962if ${ac_cv_lib_dld_shl_load+:} false; then :
11963  $as_echo_n "(cached) " >&6
11964else
11965  ac_check_lib_save_LIBS=$LIBS
11966LIBS="-ldld  $LIBS"
11967if test x$gcc_no_link = xyes; then
11968  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11969fi
11970cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971/* end confdefs.h.  */
11972
11973/* Override any GCC internal prototype to avoid an error.
11974   Use char because int might match the return type of a GCC
11975   builtin and then its argument prototype would still apply.  */
11976#ifdef __cplusplus
11977extern "C"
11978#endif
11979char shl_load ();
11980int
11981main ()
11982{
11983return shl_load ();
11984  ;
11985  return 0;
11986}
11987_ACEOF
11988if ac_fn_c_try_link "$LINENO"; then :
11989  ac_cv_lib_dld_shl_load=yes
11990else
11991  ac_cv_lib_dld_shl_load=no
11992fi
11993rm -f core conftest.err conftest.$ac_objext \
11994    conftest$ac_exeext conftest.$ac_ext
11995LIBS=$ac_check_lib_save_LIBS
11996fi
11997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11998$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11999if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12000  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12001else
12002  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12003if test "x$ac_cv_func_dlopen" = xyes; then :
12004  lt_cv_dlopen="dlopen"
12005else
12006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12007$as_echo_n "checking for dlopen in -ldl... " >&6; }
12008if ${ac_cv_lib_dl_dlopen+:} false; then :
12009  $as_echo_n "(cached) " >&6
12010else
12011  ac_check_lib_save_LIBS=$LIBS
12012LIBS="-ldl  $LIBS"
12013if test x$gcc_no_link = xyes; then
12014  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12015fi
12016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017/* end confdefs.h.  */
12018
12019/* Override any GCC internal prototype to avoid an error.
12020   Use char because int might match the return type of a GCC
12021   builtin and then its argument prototype would still apply.  */
12022#ifdef __cplusplus
12023extern "C"
12024#endif
12025char dlopen ();
12026int
12027main ()
12028{
12029return dlopen ();
12030  ;
12031  return 0;
12032}
12033_ACEOF
12034if ac_fn_c_try_link "$LINENO"; then :
12035  ac_cv_lib_dl_dlopen=yes
12036else
12037  ac_cv_lib_dl_dlopen=no
12038fi
12039rm -f core conftest.err conftest.$ac_objext \
12040    conftest$ac_exeext conftest.$ac_ext
12041LIBS=$ac_check_lib_save_LIBS
12042fi
12043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12044$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12045if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12046  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12047else
12048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12049$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12050if ${ac_cv_lib_svld_dlopen+:} false; then :
12051  $as_echo_n "(cached) " >&6
12052else
12053  ac_check_lib_save_LIBS=$LIBS
12054LIBS="-lsvld  $LIBS"
12055if test x$gcc_no_link = xyes; then
12056  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12057fi
12058cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059/* end confdefs.h.  */
12060
12061/* Override any GCC internal prototype to avoid an error.
12062   Use char because int might match the return type of a GCC
12063   builtin and then its argument prototype would still apply.  */
12064#ifdef __cplusplus
12065extern "C"
12066#endif
12067char dlopen ();
12068int
12069main ()
12070{
12071return dlopen ();
12072  ;
12073  return 0;
12074}
12075_ACEOF
12076if ac_fn_c_try_link "$LINENO"; then :
12077  ac_cv_lib_svld_dlopen=yes
12078else
12079  ac_cv_lib_svld_dlopen=no
12080fi
12081rm -f core conftest.err conftest.$ac_objext \
12082    conftest$ac_exeext conftest.$ac_ext
12083LIBS=$ac_check_lib_save_LIBS
12084fi
12085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12086$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12087if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12088  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12089else
12090  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12091$as_echo_n "checking for dld_link in -ldld... " >&6; }
12092if ${ac_cv_lib_dld_dld_link+:} false; then :
12093  $as_echo_n "(cached) " >&6
12094else
12095  ac_check_lib_save_LIBS=$LIBS
12096LIBS="-ldld  $LIBS"
12097if test x$gcc_no_link = xyes; then
12098  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12099fi
12100cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101/* end confdefs.h.  */
12102
12103/* Override any GCC internal prototype to avoid an error.
12104   Use char because int might match the return type of a GCC
12105   builtin and then its argument prototype would still apply.  */
12106#ifdef __cplusplus
12107extern "C"
12108#endif
12109char dld_link ();
12110int
12111main ()
12112{
12113return dld_link ();
12114  ;
12115  return 0;
12116}
12117_ACEOF
12118if ac_fn_c_try_link "$LINENO"; then :
12119  ac_cv_lib_dld_dld_link=yes
12120else
12121  ac_cv_lib_dld_dld_link=no
12122fi
12123rm -f core conftest.err conftest.$ac_objext \
12124    conftest$ac_exeext conftest.$ac_ext
12125LIBS=$ac_check_lib_save_LIBS
12126fi
12127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12128$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12129if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12130  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12131fi
12132
12133
12134fi
12135
12136
12137fi
12138
12139
12140fi
12141
12142
12143fi
12144
12145
12146fi
12147
12148    ;;
12149  esac
12150
12151  if test "x$lt_cv_dlopen" != xno; then
12152    enable_dlopen=yes
12153  else
12154    enable_dlopen=no
12155  fi
12156
12157  case $lt_cv_dlopen in
12158  dlopen)
12159    save_CPPFLAGS="$CPPFLAGS"
12160    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12161
12162    save_LDFLAGS="$LDFLAGS"
12163    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12164
12165    save_LIBS="$LIBS"
12166    LIBS="$lt_cv_dlopen_libs $LIBS"
12167
12168    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12169$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12170if ${lt_cv_dlopen_self+:} false; then :
12171  $as_echo_n "(cached) " >&6
12172else
12173  	  if test "$cross_compiling" = yes; then :
12174  lt_cv_dlopen_self=cross
12175else
12176  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12177  lt_status=$lt_dlunknown
12178  cat > conftest.$ac_ext <<_LT_EOF
12179#line 12179 "configure"
12180#include "confdefs.h"
12181
12182#if HAVE_DLFCN_H
12183#include <dlfcn.h>
12184#endif
12185
12186#include <stdio.h>
12187
12188#ifdef RTLD_GLOBAL
12189#  define LT_DLGLOBAL		RTLD_GLOBAL
12190#else
12191#  ifdef DL_GLOBAL
12192#    define LT_DLGLOBAL		DL_GLOBAL
12193#  else
12194#    define LT_DLGLOBAL		0
12195#  endif
12196#endif
12197
12198/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12199   find out it does not work in some platform. */
12200#ifndef LT_DLLAZY_OR_NOW
12201#  ifdef RTLD_LAZY
12202#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12203#  else
12204#    ifdef DL_LAZY
12205#      define LT_DLLAZY_OR_NOW		DL_LAZY
12206#    else
12207#      ifdef RTLD_NOW
12208#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12209#      else
12210#        ifdef DL_NOW
12211#          define LT_DLLAZY_OR_NOW	DL_NOW
12212#        else
12213#          define LT_DLLAZY_OR_NOW	0
12214#        endif
12215#      endif
12216#    endif
12217#  endif
12218#endif
12219
12220/* When -fvisbility=hidden is used, assume the code has been annotated
12221   correspondingly for the symbols needed.  */
12222#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12223void fnord () __attribute__((visibility("default")));
12224#endif
12225
12226void fnord () { int i=42; }
12227int main ()
12228{
12229  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12230  int status = $lt_dlunknown;
12231
12232  if (self)
12233    {
12234      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12235      else
12236        {
12237	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12238          else puts (dlerror ());
12239	}
12240      /* dlclose (self); */
12241    }
12242  else
12243    puts (dlerror ());
12244
12245  return status;
12246}
12247_LT_EOF
12248  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12249  (eval $ac_link) 2>&5
12250  ac_status=$?
12251  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12252  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12253    (./conftest; exit; ) >&5 2>/dev/null
12254    lt_status=$?
12255    case x$lt_status in
12256      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12257      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12258      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12259    esac
12260  else :
12261    # compilation failed
12262    lt_cv_dlopen_self=no
12263  fi
12264fi
12265rm -fr conftest*
12266
12267
12268fi
12269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12270$as_echo "$lt_cv_dlopen_self" >&6; }
12271
12272    if test "x$lt_cv_dlopen_self" = xyes; then
12273      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12274      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12275$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12276if ${lt_cv_dlopen_self_static+:} false; then :
12277  $as_echo_n "(cached) " >&6
12278else
12279  	  if test "$cross_compiling" = yes; then :
12280  lt_cv_dlopen_self_static=cross
12281else
12282  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12283  lt_status=$lt_dlunknown
12284  cat > conftest.$ac_ext <<_LT_EOF
12285#line 12285 "configure"
12286#include "confdefs.h"
12287
12288#if HAVE_DLFCN_H
12289#include <dlfcn.h>
12290#endif
12291
12292#include <stdio.h>
12293
12294#ifdef RTLD_GLOBAL
12295#  define LT_DLGLOBAL		RTLD_GLOBAL
12296#else
12297#  ifdef DL_GLOBAL
12298#    define LT_DLGLOBAL		DL_GLOBAL
12299#  else
12300#    define LT_DLGLOBAL		0
12301#  endif
12302#endif
12303
12304/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12305   find out it does not work in some platform. */
12306#ifndef LT_DLLAZY_OR_NOW
12307#  ifdef RTLD_LAZY
12308#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12309#  else
12310#    ifdef DL_LAZY
12311#      define LT_DLLAZY_OR_NOW		DL_LAZY
12312#    else
12313#      ifdef RTLD_NOW
12314#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12315#      else
12316#        ifdef DL_NOW
12317#          define LT_DLLAZY_OR_NOW	DL_NOW
12318#        else
12319#          define LT_DLLAZY_OR_NOW	0
12320#        endif
12321#      endif
12322#    endif
12323#  endif
12324#endif
12325
12326/* When -fvisbility=hidden is used, assume the code has been annotated
12327   correspondingly for the symbols needed.  */
12328#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12329void fnord () __attribute__((visibility("default")));
12330#endif
12331
12332void fnord () { int i=42; }
12333int main ()
12334{
12335  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12336  int status = $lt_dlunknown;
12337
12338  if (self)
12339    {
12340      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12341      else
12342        {
12343	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12344          else puts (dlerror ());
12345	}
12346      /* dlclose (self); */
12347    }
12348  else
12349    puts (dlerror ());
12350
12351  return status;
12352}
12353_LT_EOF
12354  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12355  (eval $ac_link) 2>&5
12356  ac_status=$?
12357  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12358  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12359    (./conftest; exit; ) >&5 2>/dev/null
12360    lt_status=$?
12361    case x$lt_status in
12362      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12363      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12364      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12365    esac
12366  else :
12367    # compilation failed
12368    lt_cv_dlopen_self_static=no
12369  fi
12370fi
12371rm -fr conftest*
12372
12373
12374fi
12375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12376$as_echo "$lt_cv_dlopen_self_static" >&6; }
12377    fi
12378
12379    CPPFLAGS="$save_CPPFLAGS"
12380    LDFLAGS="$save_LDFLAGS"
12381    LIBS="$save_LIBS"
12382    ;;
12383  esac
12384
12385  case $lt_cv_dlopen_self in
12386  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12387  *) enable_dlopen_self=unknown ;;
12388  esac
12389
12390  case $lt_cv_dlopen_self_static in
12391  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12392  *) enable_dlopen_self_static=unknown ;;
12393  esac
12394fi
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412striplib=
12413old_striplib=
12414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12415$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12416if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12417  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12418  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12420$as_echo "yes" >&6; }
12421else
12422# FIXME - insert some real tests, host_os isn't really good enough
12423  case $host_os in
12424  darwin*)
12425    if test -n "$STRIP" ; then
12426      striplib="$STRIP -x"
12427      old_striplib="$STRIP -S"
12428      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12429$as_echo "yes" >&6; }
12430    else
12431      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432$as_echo "no" >&6; }
12433    fi
12434    ;;
12435  *)
12436    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437$as_echo "no" >&6; }
12438    ;;
12439  esac
12440fi
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453  # Report which library types will actually be built
12454  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12455$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12457$as_echo "$can_build_shared" >&6; }
12458
12459  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12460$as_echo_n "checking whether to build shared libraries... " >&6; }
12461  test "$can_build_shared" = "no" && enable_shared=no
12462
12463  # On AIX, shared libraries and static libraries use the same namespace, and
12464  # are all built from PIC.
12465  case $host_os in
12466  aix3*)
12467    test "$enable_shared" = yes && enable_static=no
12468    if test -n "$RANLIB"; then
12469      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12470      postinstall_cmds='$RANLIB $lib'
12471    fi
12472    ;;
12473
12474  aix[4-9]*)
12475    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12476      test "$enable_shared" = yes && enable_static=no
12477    fi
12478    ;;
12479  esac
12480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12481$as_echo "$enable_shared" >&6; }
12482
12483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12484$as_echo_n "checking whether to build static libraries... " >&6; }
12485  # Make sure either enable_shared or enable_static is yes.
12486  test "$enable_shared" = yes || enable_static=yes
12487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12488$as_echo "$enable_static" >&6; }
12489
12490
12491
12492
12493fi
12494ac_ext=c
12495ac_cpp='$CPP $CPPFLAGS'
12496ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12497ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12498ac_compiler_gnu=$ac_cv_c_compiler_gnu
12499
12500CC="$lt_save_CC"
12501
12502      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12503    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12504    (test "X$CXX" != "Xg++"))) ; then
12505  ac_ext=cpp
12506ac_cpp='$CXXCPP $CPPFLAGS'
12507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12511$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12512if test -z "$CXXCPP"; then
12513  if ${ac_cv_prog_CXXCPP+:} false; then :
12514  $as_echo_n "(cached) " >&6
12515else
12516      # Double quotes because CXXCPP needs to be expanded
12517    for CXXCPP in "$CXX -E" "/lib/cpp"
12518    do
12519      ac_preproc_ok=false
12520for ac_cxx_preproc_warn_flag in '' yes
12521do
12522  # Use a header file that comes with gcc, so configuring glibc
12523  # with a fresh cross-compiler works.
12524  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12525  # <limits.h> exists even on freestanding compilers.
12526  # On the NeXT, cc -E runs the code through the compiler's parser,
12527  # not just through cpp. "Syntax error" is here to catch this case.
12528  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529/* end confdefs.h.  */
12530#ifdef __STDC__
12531# include <limits.h>
12532#else
12533# include <assert.h>
12534#endif
12535		     Syntax error
12536_ACEOF
12537if ac_fn_cxx_try_cpp "$LINENO"; then :
12538
12539else
12540  # Broken: fails on valid input.
12541continue
12542fi
12543rm -f conftest.err conftest.i conftest.$ac_ext
12544
12545  # OK, works on sane cases.  Now check whether nonexistent headers
12546  # can be detected and how.
12547  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12548/* end confdefs.h.  */
12549#include <ac_nonexistent.h>
12550_ACEOF
12551if ac_fn_cxx_try_cpp "$LINENO"; then :
12552  # Broken: success on invalid input.
12553continue
12554else
12555  # Passes both tests.
12556ac_preproc_ok=:
12557break
12558fi
12559rm -f conftest.err conftest.i conftest.$ac_ext
12560
12561done
12562# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12563rm -f conftest.i conftest.err conftest.$ac_ext
12564if $ac_preproc_ok; then :
12565  break
12566fi
12567
12568    done
12569    ac_cv_prog_CXXCPP=$CXXCPP
12570
12571fi
12572  CXXCPP=$ac_cv_prog_CXXCPP
12573else
12574  ac_cv_prog_CXXCPP=$CXXCPP
12575fi
12576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12577$as_echo "$CXXCPP" >&6; }
12578ac_preproc_ok=false
12579for ac_cxx_preproc_warn_flag in '' yes
12580do
12581  # Use a header file that comes with gcc, so configuring glibc
12582  # with a fresh cross-compiler works.
12583  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12584  # <limits.h> exists even on freestanding compilers.
12585  # On the NeXT, cc -E runs the code through the compiler's parser,
12586  # not just through cpp. "Syntax error" is here to catch this case.
12587  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588/* end confdefs.h.  */
12589#ifdef __STDC__
12590# include <limits.h>
12591#else
12592# include <assert.h>
12593#endif
12594		     Syntax error
12595_ACEOF
12596if ac_fn_cxx_try_cpp "$LINENO"; then :
12597
12598else
12599  # Broken: fails on valid input.
12600continue
12601fi
12602rm -f conftest.err conftest.i conftest.$ac_ext
12603
12604  # OK, works on sane cases.  Now check whether nonexistent headers
12605  # can be detected and how.
12606  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607/* end confdefs.h.  */
12608#include <ac_nonexistent.h>
12609_ACEOF
12610if ac_fn_cxx_try_cpp "$LINENO"; then :
12611  # Broken: success on invalid input.
12612continue
12613else
12614  # Passes both tests.
12615ac_preproc_ok=:
12616break
12617fi
12618rm -f conftest.err conftest.i conftest.$ac_ext
12619
12620done
12621# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12622rm -f conftest.i conftest.err conftest.$ac_ext
12623if $ac_preproc_ok; then :
12624
12625else
12626  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12627$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12628as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12629See \`config.log' for more details" "$LINENO" 5; }
12630fi
12631
12632ac_ext=c
12633ac_cpp='$CPP $CPPFLAGS'
12634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12636ac_compiler_gnu=$ac_cv_c_compiler_gnu
12637
12638else
12639  _lt_caught_CXX_error=yes
12640fi
12641
12642ac_ext=cpp
12643ac_cpp='$CXXCPP $CPPFLAGS'
12644ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12645ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12646ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12647
12648archive_cmds_need_lc_CXX=no
12649allow_undefined_flag_CXX=
12650always_export_symbols_CXX=no
12651archive_expsym_cmds_CXX=
12652compiler_needs_object_CXX=no
12653export_dynamic_flag_spec_CXX=
12654hardcode_direct_CXX=no
12655hardcode_direct_absolute_CXX=no
12656hardcode_libdir_flag_spec_CXX=
12657hardcode_libdir_flag_spec_ld_CXX=
12658hardcode_libdir_separator_CXX=
12659hardcode_minus_L_CXX=no
12660hardcode_shlibpath_var_CXX=unsupported
12661hardcode_automatic_CXX=no
12662inherit_rpath_CXX=no
12663module_cmds_CXX=
12664module_expsym_cmds_CXX=
12665link_all_deplibs_CXX=unknown
12666old_archive_cmds_CXX=$old_archive_cmds
12667reload_flag_CXX=$reload_flag
12668reload_cmds_CXX=$reload_cmds
12669no_undefined_flag_CXX=
12670whole_archive_flag_spec_CXX=
12671enable_shared_with_static_runtimes_CXX=no
12672
12673# Source file extension for C++ test sources.
12674ac_ext=cpp
12675
12676# Object file extension for compiled C++ test sources.
12677objext=o
12678objext_CXX=$objext
12679
12680# No sense in running all these tests if we already determined that
12681# the CXX compiler isn't working.  Some variables (like enable_shared)
12682# are currently assumed to apply to all compilers on this platform,
12683# and will be corrupted by setting them based on a non-working compiler.
12684if test "$_lt_caught_CXX_error" != yes; then
12685  # Code to be used in simple compile tests
12686  lt_simple_compile_test_code="int some_variable = 0;"
12687
12688  # Code to be used in simple link tests
12689  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12690
12691  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12692
12693
12694
12695
12696
12697
12698# If no C compiler was specified, use CC.
12699LTCC=${LTCC-"$CC"}
12700
12701# If no C compiler flags were specified, use CFLAGS.
12702LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12703
12704# Allow CC to be a program name with arguments.
12705compiler=$CC
12706
12707
12708  # save warnings/boilerplate of simple test code
12709  ac_outfile=conftest.$ac_objext
12710echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12711eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12712_lt_compiler_boilerplate=`cat conftest.err`
12713$RM conftest*
12714
12715  ac_outfile=conftest.$ac_objext
12716echo "$lt_simple_link_test_code" >conftest.$ac_ext
12717eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12718_lt_linker_boilerplate=`cat conftest.err`
12719$RM -r conftest*
12720
12721
12722  # Allow CC to be a program name with arguments.
12723  lt_save_CC=$CC
12724  lt_save_LD=$LD
12725  lt_save_GCC=$GCC
12726  GCC=$GXX
12727  lt_save_with_gnu_ld=$with_gnu_ld
12728  lt_save_path_LD=$lt_cv_path_LD
12729  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12730    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12731  else
12732    $as_unset lt_cv_prog_gnu_ld
12733  fi
12734  if test -n "${lt_cv_path_LDCXX+set}"; then
12735    lt_cv_path_LD=$lt_cv_path_LDCXX
12736  else
12737    $as_unset lt_cv_path_LD
12738  fi
12739  test -z "${LDCXX+set}" || LD=$LDCXX
12740  CC=${CXX-"c++"}
12741  compiler=$CC
12742  compiler_CXX=$CC
12743  for cc_temp in $compiler""; do
12744  case $cc_temp in
12745    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12746    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12747    \-*) ;;
12748    *) break;;
12749  esac
12750done
12751cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12752
12753
12754  if test -n "$compiler"; then
12755    # We don't want -fno-exception when compiling C++ code, so set the
12756    # no_builtin_flag separately
12757    if test "$GXX" = yes; then
12758      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12759    else
12760      lt_prog_compiler_no_builtin_flag_CXX=
12761    fi
12762
12763    if test "$GXX" = yes; then
12764      # Set up default GNU C++ configuration
12765
12766
12767
12768# Check whether --with-gnu-ld was given.
12769if test "${with_gnu_ld+set}" = set; then :
12770  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12771else
12772  with_gnu_ld=no
12773fi
12774
12775ac_prog=ld
12776if test "$GCC" = yes; then
12777  # Check if gcc -print-prog-name=ld gives a path.
12778  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12779$as_echo_n "checking for ld used by $CC... " >&6; }
12780  case $host in
12781  *-*-mingw*)
12782    # gcc leaves a trailing carriage return which upsets mingw
12783    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12784  *)
12785    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12786  esac
12787  case $ac_prog in
12788    # Accept absolute paths.
12789    [\\/]* | ?:[\\/]*)
12790      re_direlt='/[^/][^/]*/\.\./'
12791      # Canonicalize the pathname of ld
12792      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12793      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12794	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12795      done
12796      test -z "$LD" && LD="$ac_prog"
12797      ;;
12798  "")
12799    # If it fails, then pretend we aren't using GCC.
12800    ac_prog=ld
12801    ;;
12802  *)
12803    # If it is relative, then search for the first ld in PATH.
12804    with_gnu_ld=unknown
12805    ;;
12806  esac
12807elif test "$with_gnu_ld" = yes; then
12808  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12809$as_echo_n "checking for GNU ld... " >&6; }
12810else
12811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12812$as_echo_n "checking for non-GNU ld... " >&6; }
12813fi
12814if ${lt_cv_path_LD+:} false; then :
12815  $as_echo_n "(cached) " >&6
12816else
12817  if test -z "$LD"; then
12818  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12819  for ac_dir in $PATH; do
12820    IFS="$lt_save_ifs"
12821    test -z "$ac_dir" && ac_dir=.
12822    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12823      lt_cv_path_LD="$ac_dir/$ac_prog"
12824      # Check to see if the program is GNU ld.  I'd rather use --version,
12825      # but apparently some variants of GNU ld only accept -v.
12826      # Break only if it was the GNU/non-GNU ld that we prefer.
12827      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12828      *GNU* | *'with BFD'*)
12829	test "$with_gnu_ld" != no && break
12830	;;
12831      *)
12832	test "$with_gnu_ld" != yes && break
12833	;;
12834      esac
12835    fi
12836  done
12837  IFS="$lt_save_ifs"
12838else
12839  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12840fi
12841fi
12842
12843LD="$lt_cv_path_LD"
12844if test -n "$LD"; then
12845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12846$as_echo "$LD" >&6; }
12847else
12848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12849$as_echo "no" >&6; }
12850fi
12851test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12853$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12854if ${lt_cv_prog_gnu_ld+:} false; then :
12855  $as_echo_n "(cached) " >&6
12856else
12857  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12858case `$LD -v 2>&1 </dev/null` in
12859*GNU* | *'with BFD'*)
12860  lt_cv_prog_gnu_ld=yes
12861  ;;
12862*)
12863  lt_cv_prog_gnu_ld=no
12864  ;;
12865esac
12866fi
12867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12868$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12869with_gnu_ld=$lt_cv_prog_gnu_ld
12870
12871
12872
12873
12874
12875
12876
12877      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12878      # archiving commands below assume that GNU ld is being used.
12879      if test "$with_gnu_ld" = yes; then
12880        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12881        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'
12882
12883        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12884        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12885
12886        # If archive_cmds runs LD, not CC, wlarc should be empty
12887        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12888        #     investigate it a little bit more. (MM)
12889        wlarc='${wl}'
12890
12891        # ancient GNU ld didn't support --whole-archive et. al.
12892        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12893	  $GREP 'no-whole-archive' > /dev/null; then
12894          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12895        else
12896          whole_archive_flag_spec_CXX=
12897        fi
12898      else
12899        with_gnu_ld=no
12900        wlarc=
12901
12902        # A generic and very simple default shared library creation
12903        # command for GNU C++ for the case where it uses the native
12904        # linker, instead of GNU ld.  If possible, this setting should
12905        # overridden to take advantage of the native linker features on
12906        # the platform it is being used on.
12907        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12908      fi
12909
12910      # Commands to make compiler produce verbose output that lists
12911      # what "hidden" libraries, object files and flags are used when
12912      # linking a shared library.
12913      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12914
12915    else
12916      GXX=no
12917      with_gnu_ld=no
12918      wlarc=
12919    fi
12920
12921    # PORTME: fill in a description of your system's C++ link characteristics
12922    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12923$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12924    ld_shlibs_CXX=yes
12925    case $host_os in
12926      aix3*)
12927        # FIXME: insert proper C++ library support
12928        ld_shlibs_CXX=no
12929        ;;
12930      aix[4-9]*)
12931        if test "$host_cpu" = ia64; then
12932          # On IA64, the linker does run time linking by default, so we don't
12933          # have to do anything special.
12934          aix_use_runtimelinking=no
12935          exp_sym_flag='-Bexport'
12936          no_entry_flag=""
12937        else
12938          aix_use_runtimelinking=no
12939
12940          # Test if we are trying to use run time linking or normal
12941          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12942          # need to do runtime linking.
12943          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12944	    for ld_flag in $LDFLAGS; do
12945	      case $ld_flag in
12946	      *-brtl*)
12947	        aix_use_runtimelinking=yes
12948	        break
12949	        ;;
12950	      esac
12951	    done
12952	    ;;
12953          esac
12954
12955          exp_sym_flag='-bexport'
12956          no_entry_flag='-bnoentry'
12957        fi
12958
12959        # When large executables or shared objects are built, AIX ld can
12960        # have problems creating the table of contents.  If linking a library
12961        # or program results in "error TOC overflow" add -mminimal-toc to
12962        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12963        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12964
12965        archive_cmds_CXX=''
12966        hardcode_direct_CXX=yes
12967        hardcode_direct_absolute_CXX=yes
12968        hardcode_libdir_separator_CXX=':'
12969        link_all_deplibs_CXX=yes
12970        file_list_spec_CXX='${wl}-f,'
12971
12972        if test "$GXX" = yes; then
12973          case $host_os in aix4.[012]|aix4.[012].*)
12974          # We only want to do this on AIX 4.2 and lower, the check
12975          # below for broken collect2 doesn't work under 4.3+
12976	  collect2name=`${CC} -print-prog-name=collect2`
12977	  if test -f "$collect2name" &&
12978	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12979	  then
12980	    # We have reworked collect2
12981	    :
12982	  else
12983	    # We have old collect2
12984	    hardcode_direct_CXX=unsupported
12985	    # It fails to find uninstalled libraries when the uninstalled
12986	    # path is not listed in the libpath.  Setting hardcode_minus_L
12987	    # to unsupported forces relinking
12988	    hardcode_minus_L_CXX=yes
12989	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12990	    hardcode_libdir_separator_CXX=
12991	  fi
12992          esac
12993          shared_flag='-shared'
12994	  if test "$aix_use_runtimelinking" = yes; then
12995	    shared_flag="$shared_flag "'${wl}-G'
12996	  fi
12997        else
12998          # not using gcc
12999          if test "$host_cpu" = ia64; then
13000	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13001	  # chokes on -Wl,-G. The following line is correct:
13002	  shared_flag='-G'
13003          else
13004	    if test "$aix_use_runtimelinking" = yes; then
13005	      shared_flag='${wl}-G'
13006	    else
13007	      shared_flag='${wl}-bM:SRE'
13008	    fi
13009          fi
13010        fi
13011
13012        export_dynamic_flag_spec_CXX='${wl}-bexpall'
13013        # It seems that -bexpall does not export symbols beginning with
13014        # underscore (_), so it is better to generate a list of symbols to
13015	# export.
13016        always_export_symbols_CXX=yes
13017        if test "$aix_use_runtimelinking" = yes; then
13018          # Warning - without using the other runtime loading flags (-brtl),
13019          # -berok will link without error, but may produce a broken library.
13020          allow_undefined_flag_CXX='-berok'
13021          # Determine the default libpath from the value encoded in an empty
13022          # executable.
13023          if test x$gcc_no_link = xyes; then
13024  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13025fi
13026cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027/* end confdefs.h.  */
13028
13029int
13030main ()
13031{
13032
13033  ;
13034  return 0;
13035}
13036_ACEOF
13037if ac_fn_cxx_try_link "$LINENO"; then :
13038
13039lt_aix_libpath_sed='
13040    /Import File Strings/,/^$/ {
13041	/^0/ {
13042	    s/^0  *\(.*\)$/\1/
13043	    p
13044	}
13045    }'
13046aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13047# Check for a 64-bit object if we didn't find anything.
13048if test -z "$aix_libpath"; then
13049  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13050fi
13051fi
13052rm -f core conftest.err conftest.$ac_objext \
13053    conftest$ac_exeext conftest.$ac_ext
13054if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13055
13056          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13057
13058          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"
13059        else
13060          if test "$host_cpu" = ia64; then
13061	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13062	    allow_undefined_flag_CXX="-z nodefs"
13063	    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"
13064          else
13065	    # Determine the default libpath from the value encoded in an
13066	    # empty executable.
13067	    if test x$gcc_no_link = xyes; then
13068  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13069fi
13070cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071/* end confdefs.h.  */
13072
13073int
13074main ()
13075{
13076
13077  ;
13078  return 0;
13079}
13080_ACEOF
13081if ac_fn_cxx_try_link "$LINENO"; then :
13082
13083lt_aix_libpath_sed='
13084    /Import File Strings/,/^$/ {
13085	/^0/ {
13086	    s/^0  *\(.*\)$/\1/
13087	    p
13088	}
13089    }'
13090aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13091# Check for a 64-bit object if we didn't find anything.
13092if test -z "$aix_libpath"; then
13093  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13094fi
13095fi
13096rm -f core conftest.err conftest.$ac_objext \
13097    conftest$ac_exeext conftest.$ac_ext
13098if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13099
13100	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13101	    # Warning - without using the other run time loading flags,
13102	    # -berok will link without error, but may produce a broken library.
13103	    no_undefined_flag_CXX=' ${wl}-bernotok'
13104	    allow_undefined_flag_CXX=' ${wl}-berok'
13105	    if test "$with_gnu_ld" = yes; then
13106	      # We only use this code for GNU lds that support --whole-archive.
13107	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13108	    else
13109	      # Exported symbols can be pulled into shared objects from archives
13110	      whole_archive_flag_spec_CXX='$convenience'
13111	    fi
13112	    archive_cmds_need_lc_CXX=yes
13113	    # This is similar to how AIX traditionally builds its shared
13114	    # libraries.
13115	    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'
13116          fi
13117        fi
13118        ;;
13119
13120      beos*)
13121	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13122	  allow_undefined_flag_CXX=unsupported
13123	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13124	  # support --undefined.  This deserves some investigation.  FIXME
13125	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13126	else
13127	  ld_shlibs_CXX=no
13128	fi
13129	;;
13130
13131      chorus*)
13132        case $cc_basename in
13133          *)
13134	  # FIXME: insert proper C++ library support
13135	  ld_shlibs_CXX=no
13136	  ;;
13137        esac
13138        ;;
13139
13140      cygwin* | mingw* | pw32* | cegcc*)
13141        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13142        # as there is no search path for DLLs.
13143        hardcode_libdir_flag_spec_CXX='-L$libdir'
13144        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13145        allow_undefined_flag_CXX=unsupported
13146        always_export_symbols_CXX=no
13147        enable_shared_with_static_runtimes_CXX=yes
13148
13149        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13150          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'
13151          # If the export-symbols file already is a .def file (1st line
13152          # is EXPORTS), use it as is; otherwise, prepend...
13153          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13154	    cp $export_symbols $output_objdir/$soname.def;
13155          else
13156	    echo EXPORTS > $output_objdir/$soname.def;
13157	    cat $export_symbols >> $output_objdir/$soname.def;
13158          fi~
13159          $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'
13160        else
13161          ld_shlibs_CXX=no
13162        fi
13163        ;;
13164      darwin* | rhapsody*)
13165
13166
13167  archive_cmds_need_lc_CXX=no
13168  hardcode_direct_CXX=no
13169  hardcode_automatic_CXX=yes
13170  hardcode_shlibpath_var_CXX=unsupported
13171  if test "$lt_cv_ld_force_load" = "yes"; then
13172    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\"`'
13173  else
13174    whole_archive_flag_spec_CXX=''
13175  fi
13176  link_all_deplibs_CXX=yes
13177  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13178  case $cc_basename in
13179     ifort*) _lt_dar_can_shared=yes ;;
13180     *) _lt_dar_can_shared=$GCC ;;
13181  esac
13182  if test "$_lt_dar_can_shared" = "yes"; then
13183    output_verbose_link_cmd=func_echo_all
13184    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}"
13185    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13186    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}"
13187    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}"
13188       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13189      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}"
13190      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}"
13191    fi
13192
13193  else
13194  ld_shlibs_CXX=no
13195  fi
13196
13197	;;
13198
13199      dgux*)
13200        case $cc_basename in
13201          ec++*)
13202	    # FIXME: insert proper C++ library support
13203	    ld_shlibs_CXX=no
13204	    ;;
13205          ghcx*)
13206	    # Green Hills C++ Compiler
13207	    # FIXME: insert proper C++ library support
13208	    ld_shlibs_CXX=no
13209	    ;;
13210          *)
13211	    # FIXME: insert proper C++ library support
13212	    ld_shlibs_CXX=no
13213	    ;;
13214        esac
13215        ;;
13216
13217      freebsd2.*)
13218        # C++ shared libraries reported to be fairly broken before
13219	# switch to ELF
13220        ld_shlibs_CXX=no
13221        ;;
13222
13223      freebsd-elf*)
13224        archive_cmds_need_lc_CXX=no
13225        ;;
13226
13227      freebsd* | dragonfly*)
13228        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13229        # conventions
13230        ld_shlibs_CXX=yes
13231        ;;
13232
13233      gnu*)
13234        ;;
13235
13236      haiku*)
13237        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13238        link_all_deplibs_CXX=yes
13239        ;;
13240
13241      hpux9*)
13242        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13243        hardcode_libdir_separator_CXX=:
13244        export_dynamic_flag_spec_CXX='${wl}-E'
13245        hardcode_direct_CXX=yes
13246        hardcode_minus_L_CXX=yes # Not in the search PATH,
13247				             # but as the default
13248				             # location of the library.
13249
13250        case $cc_basename in
13251          CC*)
13252            # FIXME: insert proper C++ library support
13253            ld_shlibs_CXX=no
13254            ;;
13255          aCC*)
13256            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'
13257            # Commands to make compiler produce verbose output that lists
13258            # what "hidden" libraries, object files and flags are used when
13259            # linking a shared library.
13260            #
13261            # There doesn't appear to be a way to prevent this compiler from
13262            # explicitly linking system object files so we need to strip them
13263            # from the output so that they don't get included in the library
13264            # dependencies.
13265            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"'
13266            ;;
13267          *)
13268            if test "$GXX" = yes; then
13269              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'
13270            else
13271              # FIXME: insert proper C++ library support
13272              ld_shlibs_CXX=no
13273            fi
13274            ;;
13275        esac
13276        ;;
13277
13278      hpux10*|hpux11*)
13279        if test $with_gnu_ld = no; then
13280	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13281	  hardcode_libdir_separator_CXX=:
13282
13283          case $host_cpu in
13284            hppa*64*|ia64*)
13285              ;;
13286            *)
13287	      export_dynamic_flag_spec_CXX='${wl}-E'
13288              ;;
13289          esac
13290        fi
13291        case $host_cpu in
13292          hppa*64*|ia64*)
13293            hardcode_direct_CXX=no
13294            hardcode_shlibpath_var_CXX=no
13295            ;;
13296          *)
13297            hardcode_direct_CXX=yes
13298            hardcode_direct_absolute_CXX=yes
13299            hardcode_minus_L_CXX=yes # Not in the search PATH,
13300					         # but as the default
13301					         # location of the library.
13302            ;;
13303        esac
13304
13305        case $cc_basename in
13306          CC*)
13307	    # FIXME: insert proper C++ library support
13308	    ld_shlibs_CXX=no
13309	    ;;
13310          aCC*)
13311	    case $host_cpu in
13312	      hppa*64*)
13313	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13314	        ;;
13315	      ia64*)
13316	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13317	        ;;
13318	      *)
13319	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13320	        ;;
13321	    esac
13322	    # Commands to make compiler produce verbose output that lists
13323	    # what "hidden" libraries, object files and flags are used when
13324	    # linking a shared library.
13325	    #
13326	    # There doesn't appear to be a way to prevent this compiler from
13327	    # explicitly linking system object files so we need to strip them
13328	    # from the output so that they don't get included in the library
13329	    # dependencies.
13330	    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"'
13331	    ;;
13332          *)
13333	    if test "$GXX" = yes; then
13334	      if test $with_gnu_ld = no; then
13335	        case $host_cpu in
13336	          hppa*64*)
13337	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13338	            ;;
13339	          ia64*)
13340	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13341	            ;;
13342	          *)
13343	            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'
13344	            ;;
13345	        esac
13346	      fi
13347	    else
13348	      # FIXME: insert proper C++ library support
13349	      ld_shlibs_CXX=no
13350	    fi
13351	    ;;
13352        esac
13353        ;;
13354
13355      interix[3-9]*)
13356	hardcode_direct_CXX=no
13357	hardcode_shlibpath_var_CXX=no
13358	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13359	export_dynamic_flag_spec_CXX='${wl}-E'
13360	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13361	# Instead, shared libraries are loaded at an image base (0x10000000 by
13362	# default) and relocated if they conflict, which is a slow very memory
13363	# consuming and fragmenting process.  To avoid this, we pick a random,
13364	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13365	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13366	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'
13367	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'
13368	;;
13369      irix5* | irix6*)
13370        case $cc_basename in
13371          CC*)
13372	    # SGI C++
13373	    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'
13374
13375	    # Archives containing C++ object files must be created using
13376	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13377	    # necessary to make sure instantiated templates are included
13378	    # in the archive.
13379	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13380	    ;;
13381          *)
13382	    if test "$GXX" = yes; then
13383	      if test "$with_gnu_ld" = no; then
13384	        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'
13385	      else
13386	        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'
13387	      fi
13388	    fi
13389	    link_all_deplibs_CXX=yes
13390	    ;;
13391        esac
13392        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13393        hardcode_libdir_separator_CXX=:
13394        inherit_rpath_CXX=yes
13395        ;;
13396
13397      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13398        case $cc_basename in
13399          KCC*)
13400	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13401
13402	    # KCC will only create a shared library if the output file
13403	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13404	    # to its proper name (with version) after linking.
13405	    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'
13406	    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'
13407	    # Commands to make compiler produce verbose output that lists
13408	    # what "hidden" libraries, object files and flags are used when
13409	    # linking a shared library.
13410	    #
13411	    # There doesn't appear to be a way to prevent this compiler from
13412	    # explicitly linking system object files so we need to strip them
13413	    # from the output so that they don't get included in the library
13414	    # dependencies.
13415	    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"'
13416
13417	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13418	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13419
13420	    # Archives containing C++ object files must be created using
13421	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13422	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13423	    ;;
13424	  icpc* | ecpc* )
13425	    # Intel C++
13426	    with_gnu_ld=yes
13427	    # version 8.0 and above of icpc choke on multiply defined symbols
13428	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13429	    # earlier do not add the objects themselves.
13430	    case `$CC -V 2>&1` in
13431	      *"Version 7."*)
13432	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13433		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'
13434		;;
13435	      *)  # Version 8.0 or newer
13436	        tmp_idyn=
13437	        case $host_cpu in
13438		  ia64*) tmp_idyn=' -i_dynamic';;
13439		esac
13440	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13441		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'
13442		;;
13443	    esac
13444	    archive_cmds_need_lc_CXX=no
13445	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13446	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13447	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13448	    ;;
13449          pgCC* | pgcpp*)
13450            # Portland Group C++ compiler
13451	    case `$CC -V` in
13452	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13453	      prelink_cmds_CXX='tpldir=Template.dir~
13454		rm -rf $tpldir~
13455		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13456		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13457	      old_archive_cmds_CXX='tpldir=Template.dir~
13458		rm -rf $tpldir~
13459		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13460		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13461		$RANLIB $oldlib'
13462	      archive_cmds_CXX='tpldir=Template.dir~
13463		rm -rf $tpldir~
13464		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13465		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13466	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13467		rm -rf $tpldir~
13468		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13469		$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'
13470	      ;;
13471	    *) # Version 6 and above use weak symbols
13472	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13473	      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'
13474	      ;;
13475	    esac
13476
13477	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13478	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13479	    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'
13480            ;;
13481	  cxx*)
13482	    # Compaq C++
13483	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13484	    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'
13485
13486	    runpath_var=LD_RUN_PATH
13487	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13488	    hardcode_libdir_separator_CXX=:
13489
13490	    # Commands to make compiler produce verbose output that lists
13491	    # what "hidden" libraries, object files and flags are used when
13492	    # linking a shared library.
13493	    #
13494	    # There doesn't appear to be a way to prevent this compiler from
13495	    # explicitly linking system object files so we need to strip them
13496	    # from the output so that they don't get included in the library
13497	    # dependencies.
13498	    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'
13499	    ;;
13500	  xl* | mpixl* | bgxl*)
13501	    # IBM XL 8.0 on PPC, with GNU ld
13502	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13503	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13504	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13505	    if test "x$supports_anon_versioning" = xyes; then
13506	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13507		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13508		echo "local: *; };" >> $output_objdir/$libname.ver~
13509		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13510	    fi
13511	    ;;
13512	  *)
13513	    case `$CC -V 2>&1 | sed 5q` in
13514	    *Sun\ C*)
13515	      # Sun C++ 5.9
13516	      no_undefined_flag_CXX=' -zdefs'
13517	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13518	      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'
13519	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13520	      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'
13521	      compiler_needs_object_CXX=yes
13522
13523	      # Not sure whether something based on
13524	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13525	      # would be better.
13526	      output_verbose_link_cmd='func_echo_all'
13527
13528	      # Archives containing C++ object files must be created using
13529	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13530	      # necessary to make sure instantiated templates are included
13531	      # in the archive.
13532	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13533	      ;;
13534	    esac
13535	    ;;
13536	esac
13537	;;
13538
13539      lynxos*)
13540        # FIXME: insert proper C++ library support
13541	ld_shlibs_CXX=no
13542	;;
13543
13544      m88k*)
13545        # FIXME: insert proper C++ library support
13546        ld_shlibs_CXX=no
13547	;;
13548
13549      mvs*)
13550        case $cc_basename in
13551          cxx*)
13552	    # FIXME: insert proper C++ library support
13553	    ld_shlibs_CXX=no
13554	    ;;
13555	  *)
13556	    # FIXME: insert proper C++ library support
13557	    ld_shlibs_CXX=no
13558	    ;;
13559	esac
13560	;;
13561
13562      netbsd*)
13563        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13564	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13565	  wlarc=
13566	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13567	  hardcode_direct_CXX=yes
13568	  hardcode_shlibpath_var_CXX=no
13569	fi
13570	# Workaround some broken pre-1.5 toolchains
13571	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13572	;;
13573
13574      *nto* | *qnx*)
13575        ld_shlibs_CXX=yes
13576	;;
13577
13578      openbsd2*)
13579        # C++ shared libraries are fairly broken
13580	ld_shlibs_CXX=no
13581	;;
13582
13583      openbsd*)
13584	if test -f /usr/libexec/ld.so; then
13585	  hardcode_direct_CXX=yes
13586	  hardcode_shlibpath_var_CXX=no
13587	  hardcode_direct_absolute_CXX=yes
13588	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13589	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13590	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13591	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13592	    export_dynamic_flag_spec_CXX='${wl}-E'
13593	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13594	  fi
13595	  output_verbose_link_cmd=func_echo_all
13596	else
13597	  ld_shlibs_CXX=no
13598	fi
13599	;;
13600
13601      osf3* | osf4* | osf5*)
13602        case $cc_basename in
13603          KCC*)
13604	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13605
13606	    # KCC will only create a shared library if the output file
13607	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13608	    # to its proper name (with version) after linking.
13609	    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'
13610
13611	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13612	    hardcode_libdir_separator_CXX=:
13613
13614	    # Archives containing C++ object files must be created using
13615	    # the KAI C++ compiler.
13616	    case $host in
13617	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13618	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13619	    esac
13620	    ;;
13621          RCC*)
13622	    # Rational C++ 2.4.1
13623	    # FIXME: insert proper C++ library support
13624	    ld_shlibs_CXX=no
13625	    ;;
13626          cxx*)
13627	    case $host in
13628	      osf3*)
13629	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13630	        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'
13631	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13632		;;
13633	      *)
13634	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13635	        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'
13636	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13637	          echo "-hidden">> $lib.exp~
13638	          $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~
13639	          $RM $lib.exp'
13640	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13641		;;
13642	    esac
13643
13644	    hardcode_libdir_separator_CXX=:
13645
13646	    # Commands to make compiler produce verbose output that lists
13647	    # what "hidden" libraries, object files and flags are used when
13648	    # linking a shared library.
13649	    #
13650	    # There doesn't appear to be a way to prevent this compiler from
13651	    # explicitly linking system object files so we need to strip them
13652	    # from the output so that they don't get included in the library
13653	    # dependencies.
13654	    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"'
13655	    ;;
13656	  *)
13657	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13658	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13659	      case $host in
13660	        osf3*)
13661	          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'
13662		  ;;
13663	        *)
13664	          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'
13665		  ;;
13666	      esac
13667
13668	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13669	      hardcode_libdir_separator_CXX=:
13670
13671	      # Commands to make compiler produce verbose output that lists
13672	      # what "hidden" libraries, object files and flags are used when
13673	      # linking a shared library.
13674	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13675
13676	    else
13677	      # FIXME: insert proper C++ library support
13678	      ld_shlibs_CXX=no
13679	    fi
13680	    ;;
13681        esac
13682        ;;
13683
13684      psos*)
13685        # FIXME: insert proper C++ library support
13686        ld_shlibs_CXX=no
13687        ;;
13688
13689      sunos4*)
13690        case $cc_basename in
13691          CC*)
13692	    # Sun C++ 4.x
13693	    # FIXME: insert proper C++ library support
13694	    ld_shlibs_CXX=no
13695	    ;;
13696          lcc*)
13697	    # Lucid
13698	    # FIXME: insert proper C++ library support
13699	    ld_shlibs_CXX=no
13700	    ;;
13701          *)
13702	    # FIXME: insert proper C++ library support
13703	    ld_shlibs_CXX=no
13704	    ;;
13705        esac
13706        ;;
13707
13708      solaris*)
13709        case $cc_basename in
13710          CC*)
13711	    # Sun C++ 4.2, 5.x and Centerline C++
13712            archive_cmds_need_lc_CXX=yes
13713	    no_undefined_flag_CXX=' -zdefs'
13714	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13715	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13716	      $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'
13717
13718	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13719	    hardcode_shlibpath_var_CXX=no
13720	    case $host_os in
13721	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13722	      *)
13723		# The compiler driver will combine and reorder linker options,
13724		# but understands `-z linker_flag'.
13725	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13726		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13727	        ;;
13728	    esac
13729	    link_all_deplibs_CXX=yes
13730
13731	    output_verbose_link_cmd='func_echo_all'
13732
13733	    # Archives containing C++ object files must be created using
13734	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13735	    # necessary to make sure instantiated templates are included
13736	    # in the archive.
13737	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13738	    ;;
13739          gcx*)
13740	    # Green Hills C++ Compiler
13741	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13742
13743	    # The C++ compiler must be used to create the archive.
13744	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13745	    ;;
13746          *)
13747	    # GNU C++ compiler with Solaris linker
13748	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13749	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13750	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13751	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13752	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13753		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13754
13755	        # Commands to make compiler produce verbose output that lists
13756	        # what "hidden" libraries, object files and flags are used when
13757	        # linking a shared library.
13758	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13759	      else
13760	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13761	        # platform.
13762	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13763	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13764		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13765
13766	        # Commands to make compiler produce verbose output that lists
13767	        # what "hidden" libraries, object files and flags are used when
13768	        # linking a shared library.
13769	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13770	      fi
13771
13772	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13773	      case $host_os in
13774		solaris2.[0-5] | solaris2.[0-5].*) ;;
13775		*)
13776		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13777		  ;;
13778	      esac
13779	    fi
13780	    ;;
13781        esac
13782        ;;
13783
13784    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13785      no_undefined_flag_CXX='${wl}-z,text'
13786      archive_cmds_need_lc_CXX=no
13787      hardcode_shlibpath_var_CXX=no
13788      runpath_var='LD_RUN_PATH'
13789
13790      case $cc_basename in
13791        CC*)
13792	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13793	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13794	  ;;
13795	*)
13796	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13797	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13798	  ;;
13799      esac
13800      ;;
13801
13802      sysv5* | sco3.2v5* | sco5v6*)
13803	# Note: We can NOT use -z defs as we might desire, because we do not
13804	# link with -lc, and that would cause any symbols used from libc to
13805	# always be unresolved, which means just about no library would
13806	# ever link correctly.  If we're not using GNU ld we use -z text
13807	# though, which does catch some bad symbols but isn't as heavy-handed
13808	# as -z defs.
13809	no_undefined_flag_CXX='${wl}-z,text'
13810	allow_undefined_flag_CXX='${wl}-z,nodefs'
13811	archive_cmds_need_lc_CXX=no
13812	hardcode_shlibpath_var_CXX=no
13813	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13814	hardcode_libdir_separator_CXX=':'
13815	link_all_deplibs_CXX=yes
13816	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13817	runpath_var='LD_RUN_PATH'
13818
13819	case $cc_basename in
13820          CC*)
13821	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13822	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13823	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13824	      '"$old_archive_cmds_CXX"
13825	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13826	      '"$reload_cmds_CXX"
13827	    ;;
13828	  *)
13829	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13830	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13831	    ;;
13832	esac
13833      ;;
13834
13835      tandem*)
13836        case $cc_basename in
13837          NCC*)
13838	    # NonStop-UX NCC 3.20
13839	    # FIXME: insert proper C++ library support
13840	    ld_shlibs_CXX=no
13841	    ;;
13842          *)
13843	    # FIXME: insert proper C++ library support
13844	    ld_shlibs_CXX=no
13845	    ;;
13846        esac
13847        ;;
13848
13849      vxworks*)
13850        # FIXME: insert proper C++ library support
13851        ld_shlibs_CXX=no
13852        ;;
13853
13854      *)
13855        # FIXME: insert proper C++ library support
13856        ld_shlibs_CXX=no
13857        ;;
13858    esac
13859
13860    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13861$as_echo "$ld_shlibs_CXX" >&6; }
13862    test "$ld_shlibs_CXX" = no && can_build_shared=no
13863
13864    GCC_CXX="$GXX"
13865    LD_CXX="$LD"
13866
13867    ## CAVEAT EMPTOR:
13868    ## There is no encapsulation within the following macros, do not change
13869    ## the running order or otherwise move them around unless you know exactly
13870    ## what you are doing...
13871    # Dependencies to place before and after the object being linked:
13872predep_objects_CXX=
13873postdep_objects_CXX=
13874predeps_CXX=
13875postdeps_CXX=
13876compiler_lib_search_path_CXX=
13877
13878cat > conftest.$ac_ext <<_LT_EOF
13879class Foo
13880{
13881public:
13882  Foo (void) { a = 0; }
13883private:
13884  int a;
13885};
13886_LT_EOF
13887
13888if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13889  (eval $ac_compile) 2>&5
13890  ac_status=$?
13891  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13892  test $ac_status = 0; }; then
13893  # Parse the compiler output and extract the necessary
13894  # objects, libraries and library flags.
13895
13896  # Sentinel used to keep track of whether or not we are before
13897  # the conftest object file.
13898  pre_test_object_deps_done=no
13899
13900  for p in `eval "$output_verbose_link_cmd"`; do
13901    case $p in
13902
13903    -L* | -R* | -l*)
13904       # Some compilers place space between "-{L,R}" and the path.
13905       # Remove the space.
13906       if test $p = "-L" ||
13907          test $p = "-R"; then
13908	 prev=$p
13909	 continue
13910       else
13911	 prev=
13912       fi
13913
13914       if test "$pre_test_object_deps_done" = no; then
13915	 case $p in
13916	 -L* | -R*)
13917	   # Internal compiler library paths should come after those
13918	   # provided the user.  The postdeps already come after the
13919	   # user supplied libs so there is no need to process them.
13920	   if test -z "$compiler_lib_search_path_CXX"; then
13921	     compiler_lib_search_path_CXX="${prev}${p}"
13922	   else
13923	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13924	   fi
13925	   ;;
13926	 # The "-l" case would never come before the object being
13927	 # linked, so don't bother handling this case.
13928	 esac
13929       else
13930	 if test -z "$postdeps_CXX"; then
13931	   postdeps_CXX="${prev}${p}"
13932	 else
13933	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13934	 fi
13935       fi
13936       ;;
13937
13938    *.$objext)
13939       # This assumes that the test object file only shows up
13940       # once in the compiler output.
13941       if test "$p" = "conftest.$objext"; then
13942	 pre_test_object_deps_done=yes
13943	 continue
13944       fi
13945
13946       if test "$pre_test_object_deps_done" = no; then
13947	 if test -z "$predep_objects_CXX"; then
13948	   predep_objects_CXX="$p"
13949	 else
13950	   predep_objects_CXX="$predep_objects_CXX $p"
13951	 fi
13952       else
13953	 if test -z "$postdep_objects_CXX"; then
13954	   postdep_objects_CXX="$p"
13955	 else
13956	   postdep_objects_CXX="$postdep_objects_CXX $p"
13957	 fi
13958       fi
13959       ;;
13960
13961    *) ;; # Ignore the rest.
13962
13963    esac
13964  done
13965
13966  # Clean up.
13967  rm -f a.out a.exe
13968else
13969  echo "libtool.m4: error: problem compiling CXX test program"
13970fi
13971
13972$RM -f confest.$objext
13973
13974# PORTME: override above test on systems where it is broken
13975case $host_os in
13976interix[3-9]*)
13977  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13978  # hack all around it, let's just trust "g++" to DTRT.
13979  predep_objects_CXX=
13980  postdep_objects_CXX=
13981  postdeps_CXX=
13982  ;;
13983
13984linux*)
13985  case `$CC -V 2>&1 | sed 5q` in
13986  *Sun\ C*)
13987    # Sun C++ 5.9
13988
13989    # The more standards-conforming stlport4 library is
13990    # incompatible with the Cstd library. Avoid specifying
13991    # it if it's in CXXFLAGS. Ignore libCrun as
13992    # -library=stlport4 depends on it.
13993    case " $CXX $CXXFLAGS " in
13994    *" -library=stlport4 "*)
13995      solaris_use_stlport4=yes
13996      ;;
13997    esac
13998
13999    if test "$solaris_use_stlport4" != yes; then
14000      postdeps_CXX='-library=Cstd -library=Crun'
14001    fi
14002    ;;
14003  esac
14004  ;;
14005
14006solaris*)
14007  case $cc_basename in
14008  CC*)
14009    # The more standards-conforming stlport4 library is
14010    # incompatible with the Cstd library. Avoid specifying
14011    # it if it's in CXXFLAGS. Ignore libCrun as
14012    # -library=stlport4 depends on it.
14013    case " $CXX $CXXFLAGS " in
14014    *" -library=stlport4 "*)
14015      solaris_use_stlport4=yes
14016      ;;
14017    esac
14018
14019    # Adding this requires a known-good setup of shared libraries for
14020    # Sun compiler versions before 5.6, else PIC objects from an old
14021    # archive will be linked into the output, leading to subtle bugs.
14022    if test "$solaris_use_stlport4" != yes; then
14023      postdeps_CXX='-library=Cstd -library=Crun'
14024    fi
14025    ;;
14026  esac
14027  ;;
14028esac
14029
14030
14031case " $postdeps_CXX " in
14032*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14033esac
14034 compiler_lib_search_dirs_CXX=
14035if test -n "${compiler_lib_search_path_CXX}"; then
14036 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14037fi
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069    lt_prog_compiler_wl_CXX=
14070lt_prog_compiler_pic_CXX=
14071lt_prog_compiler_static_CXX=
14072
14073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14074$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14075
14076  # C++ specific cases for pic, static, wl, etc.
14077  if test "$GXX" = yes; then
14078    lt_prog_compiler_wl_CXX='-Wl,'
14079    lt_prog_compiler_static_CXX='-static'
14080
14081    case $host_os in
14082    aix*)
14083      # All AIX code is PIC.
14084      if test "$host_cpu" = ia64; then
14085	# AIX 5 now supports IA64 processor
14086	lt_prog_compiler_static_CXX='-Bstatic'
14087      fi
14088      lt_prog_compiler_pic_CXX='-fPIC'
14089      ;;
14090
14091    amigaos*)
14092      case $host_cpu in
14093      powerpc)
14094            # see comment about AmigaOS4 .so support
14095            lt_prog_compiler_pic_CXX='-fPIC'
14096        ;;
14097      m68k)
14098            # FIXME: we need at least 68020 code to build shared libraries, but
14099            # adding the `-m68020' flag to GCC prevents building anything better,
14100            # like `-m68040'.
14101            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14102        ;;
14103      esac
14104      ;;
14105
14106    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14107      # PIC is the default for these OSes.
14108      ;;
14109    mingw* | cygwin* | os2* | pw32* | cegcc*)
14110      # This hack is so that the source file can tell whether it is being
14111      # built for inclusion in a dll (and should export symbols for example).
14112      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14113      # (--disable-auto-import) libraries
14114      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14115      ;;
14116    darwin* | rhapsody*)
14117      # PIC is the default on this platform
14118      # Common symbols not allowed in MH_DYLIB files
14119      lt_prog_compiler_pic_CXX='-fno-common'
14120      ;;
14121    *djgpp*)
14122      # DJGPP does not support shared libraries at all
14123      lt_prog_compiler_pic_CXX=
14124      ;;
14125    haiku*)
14126      # PIC is the default for Haiku.
14127      # The "-static" flag exists, but is broken.
14128      lt_prog_compiler_static_CXX=
14129      ;;
14130    interix[3-9]*)
14131      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14132      # Instead, we relocate shared libraries at runtime.
14133      ;;
14134    sysv4*MP*)
14135      if test -d /usr/nec; then
14136	lt_prog_compiler_pic_CXX=-Kconform_pic
14137      fi
14138      ;;
14139    hpux*)
14140      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14141      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14142      # sets the default TLS model and affects inlining.
14143      case $host_cpu in
14144      hppa*64*)
14145	;;
14146      *)
14147	lt_prog_compiler_pic_CXX='-fPIC'
14148	;;
14149      esac
14150      ;;
14151    *qnx* | *nto*)
14152      # QNX uses GNU C++, but need to define -shared option too, otherwise
14153      # it will coredump.
14154      lt_prog_compiler_pic_CXX='-fPIC -shared'
14155      ;;
14156    *)
14157      lt_prog_compiler_pic_CXX='-fPIC'
14158      ;;
14159    esac
14160  else
14161    case $host_os in
14162      aix[4-9]*)
14163	# All AIX code is PIC.
14164	if test "$host_cpu" = ia64; then
14165	  # AIX 5 now supports IA64 processor
14166	  lt_prog_compiler_static_CXX='-Bstatic'
14167	else
14168	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14169	fi
14170	;;
14171      chorus*)
14172	case $cc_basename in
14173	cxch68*)
14174	  # Green Hills C++ Compiler
14175	  # _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"
14176	  ;;
14177	esac
14178	;;
14179      dgux*)
14180	case $cc_basename in
14181	  ec++*)
14182	    lt_prog_compiler_pic_CXX='-KPIC'
14183	    ;;
14184	  ghcx*)
14185	    # Green Hills C++ Compiler
14186	    lt_prog_compiler_pic_CXX='-pic'
14187	    ;;
14188	  *)
14189	    ;;
14190	esac
14191	;;
14192      freebsd* | dragonfly*)
14193	# FreeBSD uses GNU C++
14194	;;
14195      hpux9* | hpux10* | hpux11*)
14196	case $cc_basename in
14197	  CC*)
14198	    lt_prog_compiler_wl_CXX='-Wl,'
14199	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14200	    if test "$host_cpu" != ia64; then
14201	      lt_prog_compiler_pic_CXX='+Z'
14202	    fi
14203	    ;;
14204	  aCC*)
14205	    lt_prog_compiler_wl_CXX='-Wl,'
14206	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14207	    case $host_cpu in
14208	    hppa*64*|ia64*)
14209	      # +Z the default
14210	      ;;
14211	    *)
14212	      lt_prog_compiler_pic_CXX='+Z'
14213	      ;;
14214	    esac
14215	    ;;
14216	  *)
14217	    ;;
14218	esac
14219	;;
14220      interix*)
14221	# This is c89, which is MS Visual C++ (no shared libs)
14222	# Anyone wants to do a port?
14223	;;
14224      irix5* | irix6* | nonstopux*)
14225	case $cc_basename in
14226	  CC*)
14227	    lt_prog_compiler_wl_CXX='-Wl,'
14228	    lt_prog_compiler_static_CXX='-non_shared'
14229	    # CC pic flag -KPIC is the default.
14230	    ;;
14231	  *)
14232	    ;;
14233	esac
14234	;;
14235      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14236	case $cc_basename in
14237	  KCC*)
14238	    # KAI C++ Compiler
14239	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14240	    lt_prog_compiler_pic_CXX='-fPIC'
14241	    ;;
14242	  ecpc* )
14243	    # old Intel C++ for x86_64 which still supported -KPIC.
14244	    lt_prog_compiler_wl_CXX='-Wl,'
14245	    lt_prog_compiler_pic_CXX='-KPIC'
14246	    lt_prog_compiler_static_CXX='-static'
14247	    ;;
14248	  icpc* )
14249	    # Intel C++, used to be incompatible with GCC.
14250	    # ICC 10 doesn't accept -KPIC any more.
14251	    lt_prog_compiler_wl_CXX='-Wl,'
14252	    lt_prog_compiler_pic_CXX='-fPIC'
14253	    lt_prog_compiler_static_CXX='-static'
14254	    ;;
14255	  pgCC* | pgcpp*)
14256	    # Portland Group C++ compiler
14257	    lt_prog_compiler_wl_CXX='-Wl,'
14258	    lt_prog_compiler_pic_CXX='-fpic'
14259	    lt_prog_compiler_static_CXX='-Bstatic'
14260	    ;;
14261	  cxx*)
14262	    # Compaq C++
14263	    # Make sure the PIC flag is empty.  It appears that all Alpha
14264	    # Linux and Compaq Tru64 Unix objects are PIC.
14265	    lt_prog_compiler_pic_CXX=
14266	    lt_prog_compiler_static_CXX='-non_shared'
14267	    ;;
14268	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14269	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14270	    lt_prog_compiler_wl_CXX='-Wl,'
14271	    lt_prog_compiler_pic_CXX='-qpic'
14272	    lt_prog_compiler_static_CXX='-qstaticlink'
14273	    ;;
14274	  *)
14275	    case `$CC -V 2>&1 | sed 5q` in
14276	    *Sun\ C*)
14277	      # Sun C++ 5.9
14278	      lt_prog_compiler_pic_CXX='-KPIC'
14279	      lt_prog_compiler_static_CXX='-Bstatic'
14280	      lt_prog_compiler_wl_CXX='-Qoption ld '
14281	      ;;
14282	    esac
14283	    ;;
14284	esac
14285	;;
14286      lynxos*)
14287	;;
14288      m88k*)
14289	;;
14290      mvs*)
14291	case $cc_basename in
14292	  cxx*)
14293	    lt_prog_compiler_pic_CXX='-W c,exportall'
14294	    ;;
14295	  *)
14296	    ;;
14297	esac
14298	;;
14299      netbsd*)
14300	;;
14301      *qnx* | *nto*)
14302        # QNX uses GNU C++, but need to define -shared option too, otherwise
14303        # it will coredump.
14304        lt_prog_compiler_pic_CXX='-fPIC -shared'
14305        ;;
14306      osf3* | osf4* | osf5*)
14307	case $cc_basename in
14308	  KCC*)
14309	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14310	    ;;
14311	  RCC*)
14312	    # Rational C++ 2.4.1
14313	    lt_prog_compiler_pic_CXX='-pic'
14314	    ;;
14315	  cxx*)
14316	    # Digital/Compaq C++
14317	    lt_prog_compiler_wl_CXX='-Wl,'
14318	    # Make sure the PIC flag is empty.  It appears that all Alpha
14319	    # Linux and Compaq Tru64 Unix objects are PIC.
14320	    lt_prog_compiler_pic_CXX=
14321	    lt_prog_compiler_static_CXX='-non_shared'
14322	    ;;
14323	  *)
14324	    ;;
14325	esac
14326	;;
14327      psos*)
14328	;;
14329      solaris*)
14330	case $cc_basename in
14331	  CC*)
14332	    # Sun C++ 4.2, 5.x and Centerline C++
14333	    lt_prog_compiler_pic_CXX='-KPIC'
14334	    lt_prog_compiler_static_CXX='-Bstatic'
14335	    lt_prog_compiler_wl_CXX='-Qoption ld '
14336	    ;;
14337	  gcx*)
14338	    # Green Hills C++ Compiler
14339	    lt_prog_compiler_pic_CXX='-PIC'
14340	    ;;
14341	  *)
14342	    ;;
14343	esac
14344	;;
14345      sunos4*)
14346	case $cc_basename in
14347	  CC*)
14348	    # Sun C++ 4.x
14349	    lt_prog_compiler_pic_CXX='-pic'
14350	    lt_prog_compiler_static_CXX='-Bstatic'
14351	    ;;
14352	  lcc*)
14353	    # Lucid
14354	    lt_prog_compiler_pic_CXX='-pic'
14355	    ;;
14356	  *)
14357	    ;;
14358	esac
14359	;;
14360      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14361	case $cc_basename in
14362	  CC*)
14363	    lt_prog_compiler_wl_CXX='-Wl,'
14364	    lt_prog_compiler_pic_CXX='-KPIC'
14365	    lt_prog_compiler_static_CXX='-Bstatic'
14366	    ;;
14367	esac
14368	;;
14369      tandem*)
14370	case $cc_basename in
14371	  NCC*)
14372	    # NonStop-UX NCC 3.20
14373	    lt_prog_compiler_pic_CXX='-KPIC'
14374	    ;;
14375	  *)
14376	    ;;
14377	esac
14378	;;
14379      vxworks*)
14380	;;
14381      *)
14382	lt_prog_compiler_can_build_shared_CXX=no
14383	;;
14384    esac
14385  fi
14386
14387case $host_os in
14388  # For platforms which do not support PIC, -DPIC is meaningless:
14389  *djgpp*)
14390    lt_prog_compiler_pic_CXX=
14391    ;;
14392  *)
14393    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14394    ;;
14395esac
14396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14397$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14398
14399
14400
14401#
14402# Check to make sure the PIC flag actually works.
14403#
14404if test -n "$lt_prog_compiler_pic_CXX"; then
14405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14406$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14407if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14408  $as_echo_n "(cached) " >&6
14409else
14410  lt_cv_prog_compiler_pic_works_CXX=no
14411   ac_outfile=conftest.$ac_objext
14412   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14413   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14414   # Insert the option either (1) after the last *FLAGS variable, or
14415   # (2) before a word containing "conftest.", or (3) at the end.
14416   # Note that $ac_compile itself does not contain backslashes and begins
14417   # with a dollar sign (not a hyphen), so the echo should work correctly.
14418   # The option is referenced via a variable to avoid confusing sed.
14419   lt_compile=`echo "$ac_compile" | $SED \
14420   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14421   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14422   -e 's:$: $lt_compiler_flag:'`
14423   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14424   (eval "$lt_compile" 2>conftest.err)
14425   ac_status=$?
14426   cat conftest.err >&5
14427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428   if (exit $ac_status) && test -s "$ac_outfile"; then
14429     # The compiler can only warn and ignore the option if not recognized
14430     # So say no if there are warnings other than the usual output.
14431     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14432     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14433     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14434       lt_cv_prog_compiler_pic_works_CXX=yes
14435     fi
14436   fi
14437   $RM conftest*
14438
14439fi
14440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14441$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14442
14443if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14444    case $lt_prog_compiler_pic_CXX in
14445     "" | " "*) ;;
14446     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14447     esac
14448else
14449    lt_prog_compiler_pic_CXX=
14450     lt_prog_compiler_can_build_shared_CXX=no
14451fi
14452
14453fi
14454
14455
14456
14457#
14458# Check to make sure the static flag actually works.
14459#
14460wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14462$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14463if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14464  $as_echo_n "(cached) " >&6
14465else
14466  lt_cv_prog_compiler_static_works_CXX=no
14467   save_LDFLAGS="$LDFLAGS"
14468   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14469   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14470   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14471     # The linker can only warn and ignore the option if not recognized
14472     # So say no if there are warnings
14473     if test -s conftest.err; then
14474       # Append any errors to the config.log.
14475       cat conftest.err 1>&5
14476       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14477       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14478       if diff conftest.exp conftest.er2 >/dev/null; then
14479         lt_cv_prog_compiler_static_works_CXX=yes
14480       fi
14481     else
14482       lt_cv_prog_compiler_static_works_CXX=yes
14483     fi
14484   fi
14485   $RM -r conftest*
14486   LDFLAGS="$save_LDFLAGS"
14487
14488fi
14489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14490$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14491
14492if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14493    :
14494else
14495    lt_prog_compiler_static_CXX=
14496fi
14497
14498
14499
14500
14501    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14502$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14503if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14504  $as_echo_n "(cached) " >&6
14505else
14506  lt_cv_prog_compiler_c_o_CXX=no
14507   $RM -r conftest 2>/dev/null
14508   mkdir conftest
14509   cd conftest
14510   mkdir out
14511   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14512
14513   lt_compiler_flag="-o out/conftest2.$ac_objext"
14514   # Insert the option either (1) after the last *FLAGS variable, or
14515   # (2) before a word containing "conftest.", or (3) at the end.
14516   # Note that $ac_compile itself does not contain backslashes and begins
14517   # with a dollar sign (not a hyphen), so the echo should work correctly.
14518   lt_compile=`echo "$ac_compile" | $SED \
14519   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14520   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14521   -e 's:$: $lt_compiler_flag:'`
14522   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14523   (eval "$lt_compile" 2>out/conftest.err)
14524   ac_status=$?
14525   cat out/conftest.err >&5
14526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14528   then
14529     # The compiler can only warn and ignore the option if not recognized
14530     # So say no if there are warnings
14531     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14532     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14533     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14534       lt_cv_prog_compiler_c_o_CXX=yes
14535     fi
14536   fi
14537   chmod u+w . 2>&5
14538   $RM conftest*
14539   # SGI C++ compiler will create directory out/ii_files/ for
14540   # template instantiation
14541   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14542   $RM out/* && rmdir out
14543   cd ..
14544   $RM -r conftest
14545   $RM conftest*
14546
14547fi
14548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14549$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14550
14551
14552
14553    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14554$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14555if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14556  $as_echo_n "(cached) " >&6
14557else
14558  lt_cv_prog_compiler_c_o_CXX=no
14559   $RM -r conftest 2>/dev/null
14560   mkdir conftest
14561   cd conftest
14562   mkdir out
14563   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14564
14565   lt_compiler_flag="-o out/conftest2.$ac_objext"
14566   # Insert the option either (1) after the last *FLAGS variable, or
14567   # (2) before a word containing "conftest.", or (3) at the end.
14568   # Note that $ac_compile itself does not contain backslashes and begins
14569   # with a dollar sign (not a hyphen), so the echo should work correctly.
14570   lt_compile=`echo "$ac_compile" | $SED \
14571   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14572   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14573   -e 's:$: $lt_compiler_flag:'`
14574   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14575   (eval "$lt_compile" 2>out/conftest.err)
14576   ac_status=$?
14577   cat out/conftest.err >&5
14578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14580   then
14581     # The compiler can only warn and ignore the option if not recognized
14582     # So say no if there are warnings
14583     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14584     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14585     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14586       lt_cv_prog_compiler_c_o_CXX=yes
14587     fi
14588   fi
14589   chmod u+w . 2>&5
14590   $RM conftest*
14591   # SGI C++ compiler will create directory out/ii_files/ for
14592   # template instantiation
14593   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14594   $RM out/* && rmdir out
14595   cd ..
14596   $RM -r conftest
14597   $RM conftest*
14598
14599fi
14600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14601$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14602
14603
14604
14605
14606hard_links="nottested"
14607if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14608  # do not overwrite the value of need_locks provided by the user
14609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14610$as_echo_n "checking if we can lock with hard links... " >&6; }
14611  hard_links=yes
14612  $RM conftest*
14613  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14614  touch conftest.a
14615  ln conftest.a conftest.b 2>&5 || hard_links=no
14616  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14618$as_echo "$hard_links" >&6; }
14619  if test "$hard_links" = no; then
14620    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14621$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14622    need_locks=warn
14623  fi
14624else
14625  need_locks=no
14626fi
14627
14628
14629
14630    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14631$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14632
14633  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14634  case $host_os in
14635  aix[4-9]*)
14636    # If we're using GNU nm, then we don't want the "-C" option.
14637    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14638    # Also, AIX nm treats weak defined symbols like other global defined
14639    # symbols, whereas GNU nm marks them as "W".
14640    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14641      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'
14642    else
14643      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'
14644    fi
14645    ;;
14646  pw32*)
14647    export_symbols_cmds_CXX="$ltdll_cmds"
14648  ;;
14649  cygwin* | mingw* | cegcc*)
14650    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'
14651  ;;
14652  *)
14653    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14654  ;;
14655  esac
14656  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14657
14658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14659$as_echo "$ld_shlibs_CXX" >&6; }
14660test "$ld_shlibs_CXX" = no && can_build_shared=no
14661
14662with_gnu_ld_CXX=$with_gnu_ld
14663
14664
14665
14666
14667
14668
14669#
14670# Do we need to explicitly link libc?
14671#
14672case "x$archive_cmds_need_lc_CXX" in
14673x|xyes)
14674  # Assume -lc should be added
14675  archive_cmds_need_lc_CXX=yes
14676
14677  if test "$enable_shared" = yes && test "$GCC" = yes; then
14678    case $archive_cmds_CXX in
14679    *'~'*)
14680      # FIXME: we may have to deal with multi-command sequences.
14681      ;;
14682    '$CC '*)
14683      # Test whether the compiler implicitly links with -lc since on some
14684      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14685      # to ld, don't add -lc before -lgcc.
14686      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14687$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14688if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14689  $as_echo_n "(cached) " >&6
14690else
14691  $RM conftest*
14692	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14693
14694	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14695  (eval $ac_compile) 2>&5
14696  ac_status=$?
14697  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14698  test $ac_status = 0; } 2>conftest.err; then
14699	  soname=conftest
14700	  lib=conftest
14701	  libobjs=conftest.$ac_objext
14702	  deplibs=
14703	  wl=$lt_prog_compiler_wl_CXX
14704	  pic_flag=$lt_prog_compiler_pic_CXX
14705	  compiler_flags=-v
14706	  linker_flags=-v
14707	  verstring=
14708	  output_objdir=.
14709	  libname=conftest
14710	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14711	  allow_undefined_flag_CXX=
14712	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14713  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14714  ac_status=$?
14715  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14716  test $ac_status = 0; }
14717	  then
14718	    lt_cv_archive_cmds_need_lc_CXX=no
14719	  else
14720	    lt_cv_archive_cmds_need_lc_CXX=yes
14721	  fi
14722	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14723	else
14724	  cat conftest.err 1>&5
14725	fi
14726	$RM conftest*
14727
14728fi
14729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14730$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14731      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14732      ;;
14733    esac
14734  fi
14735  ;;
14736esac
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14802$as_echo_n "checking dynamic linker characteristics... " >&6; }
14803
14804library_names_spec=
14805libname_spec='lib$name'
14806soname_spec=
14807shrext_cmds=".so"
14808postinstall_cmds=
14809postuninstall_cmds=
14810finish_cmds=
14811finish_eval=
14812shlibpath_var=
14813shlibpath_overrides_runpath=unknown
14814version_type=none
14815dynamic_linker="$host_os ld.so"
14816sys_lib_dlsearch_path_spec="/lib /usr/lib"
14817need_lib_prefix=unknown
14818hardcode_into_libs=no
14819
14820# when you set need_version to no, make sure it does not cause -set_version
14821# flags to be left without arguments
14822need_version=unknown
14823
14824case $host_os in
14825aix3*)
14826  version_type=linux
14827  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14828  shlibpath_var=LIBPATH
14829
14830  # AIX 3 has no versioning support, so we append a major version to the name.
14831  soname_spec='${libname}${release}${shared_ext}$major'
14832  ;;
14833
14834aix[4-9]*)
14835  version_type=linux
14836  need_lib_prefix=no
14837  need_version=no
14838  hardcode_into_libs=yes
14839  if test "$host_cpu" = ia64; then
14840    # AIX 5 supports IA64
14841    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14842    shlibpath_var=LD_LIBRARY_PATH
14843  else
14844    # With GCC up to 2.95.x, collect2 would create an import file
14845    # for dependence libraries.  The import file would start with
14846    # the line `#! .'.  This would cause the generated library to
14847    # depend on `.', always an invalid library.  This was fixed in
14848    # development snapshots of GCC prior to 3.0.
14849    case $host_os in
14850      aix4 | aix4.[01] | aix4.[01].*)
14851      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14852	   echo ' yes '
14853	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14854	:
14855      else
14856	can_build_shared=no
14857      fi
14858      ;;
14859    esac
14860    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14861    # soname into executable. Probably we can add versioning support to
14862    # collect2, so additional links can be useful in future.
14863    if test "$aix_use_runtimelinking" = yes; then
14864      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14865      # instead of lib<name>.a to let people know that these are not
14866      # typical AIX shared libraries.
14867      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14868    else
14869      # We preserve .a as extension for shared libraries through AIX4.2
14870      # and later when we are not doing run time linking.
14871      library_names_spec='${libname}${release}.a $libname.a'
14872      soname_spec='${libname}${release}${shared_ext}$major'
14873    fi
14874    shlibpath_var=LIBPATH
14875  fi
14876  ;;
14877
14878amigaos*)
14879  case $host_cpu in
14880  powerpc)
14881    # Since July 2007 AmigaOS4 officially supports .so libraries.
14882    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14883    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14884    ;;
14885  m68k)
14886    library_names_spec='$libname.ixlibrary $libname.a'
14887    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14888    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'
14889    ;;
14890  esac
14891  ;;
14892
14893beos*)
14894  library_names_spec='${libname}${shared_ext}'
14895  dynamic_linker="$host_os ld.so"
14896  shlibpath_var=LIBRARY_PATH
14897  ;;
14898
14899bsdi[45]*)
14900  version_type=linux
14901  need_version=no
14902  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14903  soname_spec='${libname}${release}${shared_ext}$major'
14904  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14905  shlibpath_var=LD_LIBRARY_PATH
14906  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14907  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14908  # the default ld.so.conf also contains /usr/contrib/lib and
14909  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14910  # libtool to hard-code these into programs
14911  ;;
14912
14913cygwin* | mingw* | pw32* | cegcc*)
14914  version_type=windows
14915  shrext_cmds=".dll"
14916  need_version=no
14917  need_lib_prefix=no
14918
14919  case $GCC,$host_os in
14920  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14921    library_names_spec='$libname.dll.a'
14922    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14923    postinstall_cmds='base_file=`basename \${file}`~
14924      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14925      dldir=$destdir/`dirname \$dlpath`~
14926      test -d \$dldir || mkdir -p \$dldir~
14927      $install_prog $dir/$dlname \$dldir/$dlname~
14928      chmod a+x \$dldir/$dlname~
14929      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14930        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14931      fi'
14932    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14933      dlpath=$dir/\$dldll~
14934       $RM \$dlpath'
14935    shlibpath_overrides_runpath=yes
14936
14937    case $host_os in
14938    cygwin*)
14939      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14940      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14941
14942      ;;
14943    mingw* | cegcc*)
14944      # MinGW DLLs use traditional 'lib' prefix
14945      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14946      ;;
14947    pw32*)
14948      # pw32 DLLs use 'pw' prefix rather than 'lib'
14949      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14950      ;;
14951    esac
14952    ;;
14953
14954  *)
14955    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14956    ;;
14957  esac
14958  dynamic_linker='Win32 ld.exe'
14959  # FIXME: first we should search . and the directory the executable is in
14960  shlibpath_var=PATH
14961  ;;
14962
14963darwin* | rhapsody*)
14964  dynamic_linker="$host_os dyld"
14965  version_type=darwin
14966  need_lib_prefix=no
14967  need_version=no
14968  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14969  soname_spec='${libname}${release}${major}$shared_ext'
14970  shlibpath_overrides_runpath=yes
14971  shlibpath_var=DYLD_LIBRARY_PATH
14972  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14973
14974  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14975  ;;
14976
14977dgux*)
14978  version_type=linux
14979  need_lib_prefix=no
14980  need_version=no
14981  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14982  soname_spec='${libname}${release}${shared_ext}$major'
14983  shlibpath_var=LD_LIBRARY_PATH
14984  ;;
14985
14986freebsd* | dragonfly*)
14987  # DragonFly does not have aout.  When/if they implement a new
14988  # versioning mechanism, adjust this.
14989  if test -x /usr/bin/objformat; then
14990    objformat=`/usr/bin/objformat`
14991  else
14992    case $host_os in
14993    freebsd[23].*) objformat=aout ;;
14994    *) objformat=elf ;;
14995    esac
14996  fi
14997  version_type=freebsd-$objformat
14998  case $version_type in
14999    freebsd-elf*)
15000      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15001      need_version=no
15002      need_lib_prefix=no
15003      ;;
15004    freebsd-*)
15005      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15006      need_version=yes
15007      ;;
15008  esac
15009  shlibpath_var=LD_LIBRARY_PATH
15010  case $host_os in
15011  freebsd2.*)
15012    shlibpath_overrides_runpath=yes
15013    ;;
15014  freebsd3.[01]* | freebsdelf3.[01]*)
15015    shlibpath_overrides_runpath=yes
15016    hardcode_into_libs=yes
15017    ;;
15018  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15019  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15020    shlibpath_overrides_runpath=no
15021    hardcode_into_libs=yes
15022    ;;
15023  *) # from 4.6 on, and DragonFly
15024    shlibpath_overrides_runpath=yes
15025    hardcode_into_libs=yes
15026    ;;
15027  esac
15028  ;;
15029
15030haiku*)
15031  version_type=linux
15032  need_lib_prefix=no
15033  need_version=no
15034  dynamic_linker="$host_os runtime_loader"
15035  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15036  soname_spec='${libname}${release}${shared_ext}$major'
15037  shlibpath_var=LIBRARY_PATH
15038  shlibpath_overrides_runpath=yes
15039  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15040  hardcode_into_libs=yes
15041  ;;
15042
15043hpux9* | hpux10* | hpux11*)
15044  # Give a soname corresponding to the major version so that dld.sl refuses to
15045  # link against other versions.
15046  version_type=sunos
15047  need_lib_prefix=no
15048  need_version=no
15049  case $host_cpu in
15050  ia64*)
15051    shrext_cmds='.so'
15052    hardcode_into_libs=yes
15053    dynamic_linker="$host_os dld.so"
15054    shlibpath_var=LD_LIBRARY_PATH
15055    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15056    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15057    soname_spec='${libname}${release}${shared_ext}$major'
15058    if test "X$HPUX_IA64_MODE" = X32; then
15059      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15060    else
15061      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15062    fi
15063    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15064    ;;
15065  hppa*64*)
15066    shrext_cmds='.sl'
15067    hardcode_into_libs=yes
15068    dynamic_linker="$host_os dld.sl"
15069    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15070    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15071    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072    soname_spec='${libname}${release}${shared_ext}$major'
15073    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15074    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15075    ;;
15076  *)
15077    shrext_cmds='.sl'
15078    dynamic_linker="$host_os dld.sl"
15079    shlibpath_var=SHLIB_PATH
15080    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15081    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15082    soname_spec='${libname}${release}${shared_ext}$major'
15083    ;;
15084  esac
15085  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15086  postinstall_cmds='chmod 555 $lib'
15087  # or fails outright, so override atomically:
15088  install_override_mode=555
15089  ;;
15090
15091interix[3-9]*)
15092  version_type=linux
15093  need_lib_prefix=no
15094  need_version=no
15095  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15096  soname_spec='${libname}${release}${shared_ext}$major'
15097  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15098  shlibpath_var=LD_LIBRARY_PATH
15099  shlibpath_overrides_runpath=no
15100  hardcode_into_libs=yes
15101  ;;
15102
15103irix5* | irix6* | nonstopux*)
15104  case $host_os in
15105    nonstopux*) version_type=nonstopux ;;
15106    *)
15107	if test "$lt_cv_prog_gnu_ld" = yes; then
15108		version_type=linux
15109	else
15110		version_type=irix
15111	fi ;;
15112  esac
15113  need_lib_prefix=no
15114  need_version=no
15115  soname_spec='${libname}${release}${shared_ext}$major'
15116  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15117  case $host_os in
15118  irix5* | nonstopux*)
15119    libsuff= shlibsuff=
15120    ;;
15121  *)
15122    case $LD in # libtool.m4 will add one of these switches to LD
15123    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15124      libsuff= shlibsuff= libmagic=32-bit;;
15125    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15126      libsuff=32 shlibsuff=N32 libmagic=N32;;
15127    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15128      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15129    *) libsuff= shlibsuff= libmagic=never-match;;
15130    esac
15131    ;;
15132  esac
15133  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15134  shlibpath_overrides_runpath=no
15135  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15136  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15137  hardcode_into_libs=yes
15138  ;;
15139
15140# No shared lib support for Linux oldld, aout, or coff.
15141linux*oldld* | linux*aout* | linux*coff*)
15142  dynamic_linker=no
15143  ;;
15144
15145# This must be Linux ELF.
15146
15147# uclinux* changes (here and below) have been submitted to the libtool
15148# project, but have not yet been accepted: they are GCC-local changes
15149# for the time being.  (See
15150# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15151linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15152  version_type=linux
15153  need_lib_prefix=no
15154  need_version=no
15155  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15156  soname_spec='${libname}${release}${shared_ext}$major'
15157  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15158  shlibpath_var=LD_LIBRARY_PATH
15159  shlibpath_overrides_runpath=no
15160
15161  # Some binutils ld are patched to set DT_RUNPATH
15162  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15163  $as_echo_n "(cached) " >&6
15164else
15165  lt_cv_shlibpath_overrides_runpath=no
15166    save_LDFLAGS=$LDFLAGS
15167    save_libdir=$libdir
15168    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15169	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15170    if test x$gcc_no_link = xyes; then
15171  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15172fi
15173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15174/* end confdefs.h.  */
15175
15176int
15177main ()
15178{
15179
15180  ;
15181  return 0;
15182}
15183_ACEOF
15184if ac_fn_cxx_try_link "$LINENO"; then :
15185  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15186  lt_cv_shlibpath_overrides_runpath=yes
15187fi
15188fi
15189rm -f core conftest.err conftest.$ac_objext \
15190    conftest$ac_exeext conftest.$ac_ext
15191    LDFLAGS=$save_LDFLAGS
15192    libdir=$save_libdir
15193
15194fi
15195
15196  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15197
15198  # This implies no fast_install, which is unacceptable.
15199  # Some rework will be needed to allow for fast_install
15200  # before this can be enabled.
15201  hardcode_into_libs=yes
15202
15203  # Append ld.so.conf contents to the search path
15204  if test -f /etc/ld.so.conf; then
15205    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' ' '`
15206    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15207  fi
15208
15209  # We used to test for /lib/ld.so.1 and disable shared libraries on
15210  # powerpc, because MkLinux only supported shared libraries with the
15211  # GNU dynamic linker.  Since this was broken with cross compilers,
15212  # most powerpc-linux boxes support dynamic linking these days and
15213  # people can always --disable-shared, the test was removed, and we
15214  # assume the GNU/Linux dynamic linker is in use.
15215  dynamic_linker='GNU/Linux ld.so'
15216  ;;
15217
15218netbsd*)
15219  version_type=sunos
15220  need_lib_prefix=no
15221  need_version=no
15222  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15223    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15224    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15225    dynamic_linker='NetBSD (a.out) ld.so'
15226  else
15227    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15228    soname_spec='${libname}${release}${shared_ext}$major'
15229    dynamic_linker='NetBSD ld.elf_so'
15230  fi
15231  shlibpath_var=LD_LIBRARY_PATH
15232  shlibpath_overrides_runpath=yes
15233  hardcode_into_libs=yes
15234  ;;
15235
15236newsos6)
15237  version_type=linux
15238  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15239  shlibpath_var=LD_LIBRARY_PATH
15240  shlibpath_overrides_runpath=yes
15241  ;;
15242
15243*nto* | *qnx*)
15244  version_type=qnx
15245  need_lib_prefix=no
15246  need_version=no
15247  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15248  soname_spec='${libname}${release}${shared_ext}$major'
15249  shlibpath_var=LD_LIBRARY_PATH
15250  shlibpath_overrides_runpath=no
15251  hardcode_into_libs=yes
15252  dynamic_linker='ldqnx.so'
15253  ;;
15254
15255openbsd*)
15256  version_type=sunos
15257  sys_lib_dlsearch_path_spec="/usr/lib"
15258  need_lib_prefix=no
15259  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15260  case $host_os in
15261    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15262    *)				need_version=no  ;;
15263  esac
15264  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15265  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15266  shlibpath_var=LD_LIBRARY_PATH
15267  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15268    case $host_os in
15269      openbsd2.[89] | openbsd2.[89].*)
15270	shlibpath_overrides_runpath=no
15271	;;
15272      *)
15273	shlibpath_overrides_runpath=yes
15274	;;
15275      esac
15276  else
15277    shlibpath_overrides_runpath=yes
15278  fi
15279  ;;
15280
15281os2*)
15282  libname_spec='$name'
15283  shrext_cmds=".dll"
15284  need_lib_prefix=no
15285  library_names_spec='$libname${shared_ext} $libname.a'
15286  dynamic_linker='OS/2 ld.exe'
15287  shlibpath_var=LIBPATH
15288  ;;
15289
15290osf3* | osf4* | osf5*)
15291  version_type=osf
15292  need_lib_prefix=no
15293  need_version=no
15294  soname_spec='${libname}${release}${shared_ext}$major'
15295  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15296  shlibpath_var=LD_LIBRARY_PATH
15297  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15298  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15299  ;;
15300
15301rdos*)
15302  dynamic_linker=no
15303  ;;
15304
15305solaris*)
15306  version_type=linux
15307  need_lib_prefix=no
15308  need_version=no
15309  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15310  soname_spec='${libname}${release}${shared_ext}$major'
15311  shlibpath_var=LD_LIBRARY_PATH
15312  shlibpath_overrides_runpath=yes
15313  hardcode_into_libs=yes
15314  # ldd complains unless libraries are executable
15315  postinstall_cmds='chmod +x $lib'
15316  ;;
15317
15318sunos4*)
15319  version_type=sunos
15320  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15321  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15322  shlibpath_var=LD_LIBRARY_PATH
15323  shlibpath_overrides_runpath=yes
15324  if test "$with_gnu_ld" = yes; then
15325    need_lib_prefix=no
15326  fi
15327  need_version=yes
15328  ;;
15329
15330sysv4 | sysv4.3*)
15331  version_type=linux
15332  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15333  soname_spec='${libname}${release}${shared_ext}$major'
15334  shlibpath_var=LD_LIBRARY_PATH
15335  case $host_vendor in
15336    sni)
15337      shlibpath_overrides_runpath=no
15338      need_lib_prefix=no
15339      runpath_var=LD_RUN_PATH
15340      ;;
15341    siemens)
15342      need_lib_prefix=no
15343      ;;
15344    motorola)
15345      need_lib_prefix=no
15346      need_version=no
15347      shlibpath_overrides_runpath=no
15348      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15349      ;;
15350  esac
15351  ;;
15352
15353sysv4*MP*)
15354  if test -d /usr/nec ;then
15355    version_type=linux
15356    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15357    soname_spec='$libname${shared_ext}.$major'
15358    shlibpath_var=LD_LIBRARY_PATH
15359  fi
15360  ;;
15361
15362sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15363  version_type=freebsd-elf
15364  need_lib_prefix=no
15365  need_version=no
15366  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15367  soname_spec='${libname}${release}${shared_ext}$major'
15368  shlibpath_var=LD_LIBRARY_PATH
15369  shlibpath_overrides_runpath=yes
15370  hardcode_into_libs=yes
15371  if test "$with_gnu_ld" = yes; then
15372    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15373  else
15374    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15375    case $host_os in
15376      sco3.2v5*)
15377        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15378	;;
15379    esac
15380  fi
15381  sys_lib_dlsearch_path_spec='/usr/lib'
15382  ;;
15383
15384tpf*)
15385  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15386  version_type=linux
15387  need_lib_prefix=no
15388  need_version=no
15389  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15390  shlibpath_var=LD_LIBRARY_PATH
15391  shlibpath_overrides_runpath=no
15392  hardcode_into_libs=yes
15393  ;;
15394
15395uts4*)
15396  version_type=linux
15397  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15398  soname_spec='${libname}${release}${shared_ext}$major'
15399  shlibpath_var=LD_LIBRARY_PATH
15400  ;;
15401
15402*)
15403  dynamic_linker=no
15404  ;;
15405esac
15406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15407$as_echo "$dynamic_linker" >&6; }
15408test "$dynamic_linker" = no && can_build_shared=no
15409
15410variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15411if test "$GCC" = yes; then
15412  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15413fi
15414
15415if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15416  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15417fi
15418if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15419  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15420fi
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15460$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15461hardcode_action_CXX=
15462if test -n "$hardcode_libdir_flag_spec_CXX" ||
15463   test -n "$runpath_var_CXX" ||
15464   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15465
15466  # We can hardcode non-existent directories.
15467  if test "$hardcode_direct_CXX" != no &&
15468     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15469     # have to relink, otherwise we might link with an installed library
15470     # when we should be linking with a yet-to-be-installed one
15471     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15472     test "$hardcode_minus_L_CXX" != no; then
15473    # Linking always hardcodes the temporary library directory.
15474    hardcode_action_CXX=relink
15475  else
15476    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15477    hardcode_action_CXX=immediate
15478  fi
15479else
15480  # We cannot hardcode anything, or else we can only hardcode existing
15481  # directories.
15482  hardcode_action_CXX=unsupported
15483fi
15484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15485$as_echo "$hardcode_action_CXX" >&6; }
15486
15487if test "$hardcode_action_CXX" = relink ||
15488   test "$inherit_rpath_CXX" = yes; then
15489  # Fast installation is not supported
15490  enable_fast_install=no
15491elif test "$shlibpath_overrides_runpath" = yes ||
15492     test "$enable_shared" = no; then
15493  # Fast installation is not necessary
15494  enable_fast_install=needless
15495fi
15496
15497
15498
15499
15500
15501
15502
15503  fi # test -n "$compiler"
15504
15505  CC=$lt_save_CC
15506  LDCXX=$LD
15507  LD=$lt_save_LD
15508  GCC=$lt_save_GCC
15509  with_gnu_ld=$lt_save_with_gnu_ld
15510  lt_cv_path_LDCXX=$lt_cv_path_LD
15511  lt_cv_path_LD=$lt_save_path_LD
15512  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15513  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15514fi # test "$_lt_caught_CXX_error" != yes
15515
15516ac_ext=c
15517ac_cpp='$CPP $CPPFLAGS'
15518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15520ac_compiler_gnu=$ac_cv_c_compiler_gnu
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534        ac_config_commands="$ac_config_commands libtool"
15535
15536
15537
15538
15539# Only expand once:
15540
15541
15542
15543
15544
15545case $host in
15546  *-cygwin* | *-mingw*)
15547    # 'host' will be top-level target in the case of a target lib,
15548    # we must compare to with_cross_host to decide if this is a native
15549    # or cross-compiler and select where to install dlls appropriately.
15550    if test -n "$with_cross_host" &&
15551	test x"$with_cross_host" != x"no"; then
15552      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15553    else
15554      lt_host_flags='-no-undefined -bindir "$(bindir)"';
15555    fi
15556    ;;
15557  *)
15558    lt_host_flags=
15559    ;;
15560esac
15561
15562
15563
15564
15565
15566
15567if test "$enable_vtable_verify" = yes; then
15568  predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15569  postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15570fi
15571
15572
15573# libtool variables for C++ shared and position-independent compiles.
15574#
15575# Use glibcxx_lt_pic_flag to designate the automake variable
15576# used to encapsulate the default libtool approach to creating objects
15577# with position-independent code. Default: -prefer-pic.
15578#
15579# Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15580# creating shared objects. Default: -D_GLIBCXX_SHARED.
15581#
15582# Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15583# creating position-independent objects. This varies with the target
15584# hardware and operating system, but is often: -DPIC -fPIC.
15585if test "$enable_shared" = yes; then
15586  glibcxx_lt_pic_flag="-prefer-pic"
15587  glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15588  glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15589
15590else
15591  glibcxx_lt_pic_flag=
15592  glibcxx_compiler_pic_flag=
15593  glibcxx_compiler_shared_flag=
15594fi
15595
15596
15597
15598
15599# Override the libtool's pic_flag and pic_mode.
15600# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15601# NB: this impacts --with-pic and --without-pic.
15602lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15603pic_mode='default'
15604
15605# Eliminate -lstdc++ addition to postdeps for cross compiles.
15606postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15607
15608# Possibly disable most of the library.
15609## TODO: Consider skipping unncessary tests altogether in this case, rather
15610## than just ignoring the results.  Faster /and/ more correct, win win.
15611
15612  # Check whether --enable-hosted-libstdcxx was given.
15613if test "${enable_hosted_libstdcxx+set}" = set; then :
15614  enableval=$enable_hosted_libstdcxx;
15615else
15616  case "$host" in
15617	arm*-*-symbianelf*)
15618	    enable_hosted_libstdcxx=no
15619	    ;;
15620	*)
15621	    enable_hosted_libstdcxx=yes
15622	    ;;
15623     esac
15624fi
15625
15626  if test "$enable_hosted_libstdcxx" = no; then
15627    { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15628$as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15629    is_hosted=no
15630    hosted_define=0
15631    enable_abi_check=no
15632    enable_libstdcxx_pch=no
15633  else
15634    is_hosted=yes
15635    hosted_define=1
15636  fi
15637
15638
15639cat >>confdefs.h <<_ACEOF
15640#define _GLIBCXX_HOSTED $hosted_define
15641_ACEOF
15642
15643
15644
15645# Enable descriptive messages to standard output on termination.
15646
15647  # Check whether --enable-libstdcxx-verbose was given.
15648if test "${enable_libstdcxx_verbose+set}" = set; then :
15649  enableval=$enable_libstdcxx_verbose;
15650else
15651  enable_libstdcxx_verbose=yes
15652fi
15653
15654  if test x"$enable_libstdcxx_verbose" = xyes; then
15655    verbose_define=1
15656  else
15657    { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15658$as_echo "$as_me: verbose termination messages are disabled" >&6;}
15659    verbose_define=0
15660  fi
15661
15662cat >>confdefs.h <<_ACEOF
15663#define _GLIBCXX_VERBOSE $verbose_define
15664_ACEOF
15665
15666
15667
15668# Enable compiler support that doesn't require linking.
15669
15670   # Check whether --enable-libstdcxx-pch was given.
15671if test "${enable_libstdcxx_pch+set}" = set; then :
15672  enableval=$enable_libstdcxx_pch;
15673      case "$enableval" in
15674       yes|no) ;;
15675       *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15676      esac
15677
15678else
15679  enable_libstdcxx_pch=$is_hosted
15680fi
15681
15682
15683  if test $enable_libstdcxx_pch = yes; then
15684    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15685$as_echo_n "checking for compiler with PCH support... " >&6; }
15686if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15687  $as_echo_n "(cached) " >&6
15688else
15689  ac_save_CXXFLAGS="$CXXFLAGS"
15690       CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15691
15692       ac_ext=cpp
15693ac_cpp='$CXXCPP $CPPFLAGS'
15694ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15695ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15696ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15697
15698       echo '#include <math.h>' > conftest.h
15699       if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15700			  -o conftest.h.gch 1>&5 2>&1 &&
15701		echo '#error "pch failed"' > conftest.h &&
15702	  echo '#include "conftest.h"' > conftest.cc &&
15703	       $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15704       then
15705	 glibcxx_cv_prog_CXX_pch=yes
15706       else
15707	 glibcxx_cv_prog_CXX_pch=no
15708       fi
15709       rm -f conftest*
15710       CXXFLAGS=$ac_save_CXXFLAGS
15711       ac_ext=c
15712ac_cpp='$CPP $CPPFLAGS'
15713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15715ac_compiler_gnu=$ac_cv_c_compiler_gnu
15716
15717
15718fi
15719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15720$as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15721    enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15722  fi
15723
15724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15725$as_echo_n "checking for enabled PCH... " >&6; }
15726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15727$as_echo "$enable_libstdcxx_pch" >&6; }
15728
15729
15730  if test $enable_libstdcxx_pch = yes; then
15731    glibcxx_PCHFLAGS="-include bits/stdc++.h"
15732  else
15733    glibcxx_PCHFLAGS=""
15734  fi
15735
15736
15737
15738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15739$as_echo_n "checking for thread model used by GCC... " >&6; }
15740  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15742$as_echo "$target_thread_file" >&6; }
15743
15744case $target_thread_file in
15745    aix)	thread_header=config/rs6000/gthr-aix.h ;;
15746    dce)	thread_header=config/pa/gthr-dce.h ;;
15747    gcn)	thread_header=config/gcn/gthr-gcn.h ;;
15748    lynx)	thread_header=config/gthr-lynx.h ;;
15749    mipssde)	thread_header=config/mips/gthr-mipssde.h ;;
15750    posix)	thread_header=gthr-posix.h ;;
15751    rtems)	thread_header=config/gthr-rtems.h ;;
15752    single)	thread_header=gthr-single.h ;;
15753    tpf)	thread_header=config/s390/gthr-tpf.h ;;
15754    vxworks)	thread_header=config/gthr-vxworks.h ;;
15755    win32)	thread_header=config/i386/gthr-win32.h ;;
15756esac
15757
15758
15759
15760
15761
15762  ac_ext=cpp
15763ac_cpp='$CXXCPP $CPPFLAGS'
15764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15767
15768  old_CXXFLAGS="$CXXFLAGS"
15769
15770  # Do link tests if possible, instead asm tests, limited to some platforms
15771  # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15772  # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15773  atomic_builtins_link_tests=no
15774  if test x$gcc_no_link != xyes; then
15775    # Can do link tests. Limit to some tested platforms
15776    case "$host" in
15777      *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15778	atomic_builtins_link_tests=yes
15779	;;
15780    esac
15781  fi
15782
15783  if test x$atomic_builtins_link_tests = xyes; then
15784
15785  # Do link tests.
15786
15787  CXXFLAGS="$CXXFLAGS -fno-exceptions"
15788
15789  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15790$as_echo_n "checking for atomic builtins for bool... " >&6; }
15791if ${glibcxx_cv_atomic_bool+:} false; then :
15792  $as_echo_n "(cached) " >&6
15793else
15794
15795    if test x$gcc_no_link = xyes; then
15796  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15797fi
15798cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799/* end confdefs.h.  */
15800
15801int
15802main ()
15803{
15804typedef bool atomic_type;
15805       atomic_type c1;
15806       atomic_type c2;
15807       atomic_type c3(0);
15808       // N.B. __atomic_fetch_add is not supported for bool.
15809       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15810				   __ATOMIC_RELAXED);
15811       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15812       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15813
15814  ;
15815  return 0;
15816}
15817_ACEOF
15818if ac_fn_cxx_try_link "$LINENO"; then :
15819  glibcxx_cv_atomic_bool=yes
15820else
15821  glibcxx_cv_atomic_bool=no
15822fi
15823rm -f core conftest.err conftest.$ac_objext \
15824    conftest$ac_exeext conftest.$ac_ext
15825
15826fi
15827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15828$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15829
15830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15831$as_echo_n "checking for atomic builtins for short... " >&6; }
15832if ${glibcxx_cv_atomic_short+:} false; then :
15833  $as_echo_n "(cached) " >&6
15834else
15835
15836    if test x$gcc_no_link = xyes; then
15837  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15838fi
15839cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840/* end confdefs.h.  */
15841
15842int
15843main ()
15844{
15845typedef short atomic_type;
15846       atomic_type c1;
15847       atomic_type c2;
15848       atomic_type c3(0);
15849       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15850       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15851				   __ATOMIC_RELAXED);
15852       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15853       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15854
15855  ;
15856  return 0;
15857}
15858_ACEOF
15859if ac_fn_cxx_try_link "$LINENO"; then :
15860  glibcxx_cv_atomic_short=yes
15861else
15862  glibcxx_cv_atomic_short=no
15863fi
15864rm -f core conftest.err conftest.$ac_objext \
15865    conftest$ac_exeext conftest.$ac_ext
15866
15867fi
15868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15869$as_echo "$glibcxx_cv_atomic_short" >&6; }
15870
15871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15872$as_echo_n "checking for atomic builtins for int... " >&6; }
15873if ${glibcxx_cv_atomic_int+:} false; then :
15874  $as_echo_n "(cached) " >&6
15875else
15876
15877    if test x$gcc_no_link = xyes; then
15878  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15879fi
15880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881/* end confdefs.h.  */
15882
15883int
15884main ()
15885{
15886typedef int atomic_type;
15887       atomic_type c1;
15888       atomic_type c2;
15889       atomic_type c3(0);
15890       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15891       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15892				   __ATOMIC_RELAXED);
15893       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15894       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15895
15896  ;
15897  return 0;
15898}
15899_ACEOF
15900if ac_fn_cxx_try_link "$LINENO"; then :
15901  glibcxx_cv_atomic_int=yes
15902else
15903  glibcxx_cv_atomic_int=no
15904fi
15905rm -f core conftest.err conftest.$ac_objext \
15906    conftest$ac_exeext conftest.$ac_ext
15907
15908fi
15909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15910$as_echo "$glibcxx_cv_atomic_int" >&6; }
15911
15912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15913$as_echo_n "checking for atomic builtins for long long... " >&6; }
15914if ${glibcxx_cv_atomic_long_long+:} false; then :
15915  $as_echo_n "(cached) " >&6
15916else
15917
15918    if test x$gcc_no_link = xyes; then
15919  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15920fi
15921cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15922/* end confdefs.h.  */
15923
15924int
15925main ()
15926{
15927typedef long long atomic_type;
15928       atomic_type c1;
15929       atomic_type c2;
15930       atomic_type c3(0);
15931       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15932       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15933				   __ATOMIC_RELAXED);
15934       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15935       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15936
15937  ;
15938  return 0;
15939}
15940_ACEOF
15941if ac_fn_cxx_try_link "$LINENO"; then :
15942  glibcxx_cv_atomic_long_long=yes
15943else
15944  glibcxx_cv_atomic_long_long=no
15945fi
15946rm -f core conftest.err conftest.$ac_objext \
15947    conftest$ac_exeext conftest.$ac_ext
15948
15949fi
15950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15951$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15952
15953  else
15954
15955  # Do asm tests.
15956
15957  # Compile unoptimized.
15958  CXXFLAGS='-O0 -S'
15959
15960  # Fake what AC_TRY_COMPILE does.
15961
15962    cat > conftest.$ac_ext << EOF
15963#line 15963 "configure"
15964int main()
15965{
15966  typedef bool atomic_type;
15967  atomic_type c1;
15968  atomic_type c2;
15969  atomic_type c3(0);
15970  // N.B. __atomic_fetch_add is not supported for bool.
15971  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15972			      __ATOMIC_RELAXED);
15973  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15974  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15975
15976  return 0;
15977}
15978EOF
15979
15980    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15981$as_echo_n "checking for atomic builtins for bool... " >&6; }
15982    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15983  (eval $ac_compile) 2>&5
15984  ac_status=$?
15985  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15986  test $ac_status = 0; }; then
15987      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15988	glibcxx_cv_atomic_bool=no
15989      else
15990	glibcxx_cv_atomic_bool=yes
15991      fi
15992    fi
15993    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15994$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15995    rm -f conftest*
15996
15997    cat > conftest.$ac_ext << EOF
15998#line 15998 "configure"
15999int main()
16000{
16001  typedef short atomic_type;
16002  atomic_type c1;
16003  atomic_type c2;
16004  atomic_type c3(0);
16005  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16006  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16007			      __ATOMIC_RELAXED);
16008  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16009  __atomic_load_n(&c1, __ATOMIC_RELAXED);
16010
16011  return 0;
16012}
16013EOF
16014
16015    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16016$as_echo_n "checking for atomic builtins for short... " >&6; }
16017    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16018  (eval $ac_compile) 2>&5
16019  ac_status=$?
16020  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16021  test $ac_status = 0; }; then
16022      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16023	glibcxx_cv_atomic_short=no
16024      else
16025	glibcxx_cv_atomic_short=yes
16026      fi
16027    fi
16028    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16029$as_echo "$glibcxx_cv_atomic_short" >&6; }
16030    rm -f conftest*
16031
16032    cat > conftest.$ac_ext << EOF
16033#line 16033 "configure"
16034int main()
16035{
16036  // NB: _Atomic_word not necessarily int.
16037  typedef int atomic_type;
16038  atomic_type c1;
16039  atomic_type c2;
16040  atomic_type c3(0);
16041  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16042  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16043			      __ATOMIC_RELAXED);
16044  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16045  __atomic_load_n(&c1, __ATOMIC_RELAXED);
16046
16047  return 0;
16048}
16049EOF
16050
16051    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16052$as_echo_n "checking for atomic builtins for int... " >&6; }
16053    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16054  (eval $ac_compile) 2>&5
16055  ac_status=$?
16056  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16057  test $ac_status = 0; }; then
16058      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16059	glibcxx_cv_atomic_int=no
16060      else
16061	glibcxx_cv_atomic_int=yes
16062      fi
16063    fi
16064    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16065$as_echo "$glibcxx_cv_atomic_int" >&6; }
16066    rm -f conftest*
16067
16068    cat > conftest.$ac_ext << EOF
16069#line 16069 "configure"
16070int main()
16071{
16072  typedef long long atomic_type;
16073  atomic_type c1;
16074  atomic_type c2;
16075  atomic_type c3(0);
16076  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16077  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16078			      __ATOMIC_RELAXED);
16079  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16080  __atomic_load_n(&c1, __ATOMIC_RELAXED);
16081
16082  return 0;
16083}
16084EOF
16085
16086    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16087$as_echo_n "checking for atomic builtins for long long... " >&6; }
16088    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16089  (eval $ac_compile) 2>&5
16090  ac_status=$?
16091  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16092  test $ac_status = 0; }; then
16093      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16094	glibcxx_cv_atomic_long_long=no
16095      else
16096	glibcxx_cv_atomic_long_long=yes
16097      fi
16098    fi
16099    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16100$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16101    rm -f conftest*
16102
16103  fi
16104
16105  CXXFLAGS="$old_CXXFLAGS"
16106  ac_ext=c
16107ac_cpp='$CPP $CPPFLAGS'
16108ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16109ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16110ac_compiler_gnu=$ac_cv_c_compiler_gnu
16111
16112
16113  # Set atomicity_dir to builtins if all but the long long test above passes,
16114  # or if the builtins were already chosen (e.g. by configure.host).
16115  if { test "$glibcxx_cv_atomic_bool" = yes \
16116     && test "$glibcxx_cv_atomic_short" = yes \
16117     && test "$glibcxx_cv_atomic_int" = yes; } \
16118     || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16119
16120$as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16121
16122    atomicity_dir=cpu/generic/atomicity_builtins
16123  fi
16124
16125  # If still generic, set to mutex.
16126  if test $atomicity_dir = "cpu/generic" ; then
16127    atomicity_dir=cpu/generic/atomicity_mutex
16128    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16129$as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16130      if test "x$target_thread_file" = xsingle; then
16131	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16132$as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16133	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16134$as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16135      else
16136	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16137$as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16138	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16139$as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16140      fi
16141  fi
16142
16143
16144
16145
16146
16147# Check whether --with-libstdcxx-lock-policy was given.
16148if test "${with_libstdcxx_lock_policy+set}" = set; then :
16149  withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16150else
16151  libstdcxx_atomic_lock_policy=auto
16152fi
16153
16154
16155  case "$libstdcxx_atomic_lock_policy" in
16156    atomic|mutex|auto) ;;
16157    *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16158  esac
16159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16160$as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16161
16162  if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16163
16164    ac_ext=cpp
16165ac_cpp='$CXXCPP $CPPFLAGS'
16166ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16167ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16168ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16169
16170    ac_save_CXXFLAGS="$CXXFLAGS"
16171
16172        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173/* end confdefs.h.  */
16174
16175    #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16176    # error "No 2-byte compare-and-swap"
16177    #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16178    # error "No 4-byte compare-and-swap"
16179    #endif
16180
16181int
16182main ()
16183{
16184
16185  ;
16186  return 0;
16187}
16188_ACEOF
16189if ac_fn_cxx_try_compile "$LINENO"; then :
16190  libstdcxx_atomic_lock_policy=atomic
16191else
16192  libstdcxx_atomic_lock_policy=mutex
16193fi
16194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16195    ac_ext=c
16196ac_cpp='$CPP $CPPFLAGS'
16197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199ac_compiler_gnu=$ac_cv_c_compiler_gnu
16200
16201    CXXFLAGS="$ac_save_CXXFLAGS"
16202  fi
16203
16204  if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16205    { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16206$as_echo "atomic" >&6; }
16207
16208$as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16209
16210  else
16211    { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16212$as_echo "mutex" >&6; }
16213  fi
16214
16215
16216
16217
16218  # Fake what AC_TRY_COMPILE does, without linking as this is
16219  # unnecessary for this test.
16220
16221    cat > conftest.$ac_ext << EOF
16222#line 16222 "configure"
16223int main()
16224{
16225  _Decimal32 d1;
16226  _Decimal64 d2;
16227  _Decimal128 d3;
16228  return 0;
16229}
16230EOF
16231
16232    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16233$as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16234    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16235  (eval $ac_compile) 2>&5
16236  ac_status=$?
16237  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16238  test $ac_status = 0; }; then
16239
16240$as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16241
16242      enable_dfp=yes
16243    else
16244      enable_dfp=no
16245    fi
16246    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16247$as_echo "$enable_dfp" >&6; }
16248    rm -f conftest*
16249
16250
16251
16252
16253  ac_ext=cpp
16254ac_cpp='$CXXCPP $CPPFLAGS'
16255ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16256ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16257ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16258
16259
16260  # Fake what AC_TRY_COMPILE does, without linking as this is
16261  # unnecessary for this test.
16262
16263  cat > conftest.$ac_ext << EOF
16264#line 16264 "configure"
16265template<typename T1, typename T2>
16266  struct same
16267  { typedef T2 type; };
16268
16269template<typename T>
16270  struct same<T, T>;
16271
16272int main()
16273{
16274  typename same<double, __float128>::type      f1;
16275  typename same<long double, __float128>::type f2;
16276}
16277EOF
16278
16279    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16280$as_echo_n "checking for __float128... " >&6; }
16281    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16282  (eval $ac_compile) 2>&5
16283  ac_status=$?
16284  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16285  test $ac_status = 0; }; then
16286      enable_float128=yes
16287    else
16288      enable_float128=no
16289    fi
16290    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16291$as_echo "$enable_float128" >&6; }
16292
16293    rm -f conftest*
16294
16295  ac_ext=c
16296ac_cpp='$CPP $CPPFLAGS'
16297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16299ac_compiler_gnu=$ac_cv_c_compiler_gnu
16300
16301
16302if test "$enable_float128" = yes; then
16303  port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16304fi
16305
16306# Checks for compiler support that doesn't require linking.
16307
16308  # All these tests are for C++; save the language and the compiler flags.
16309  # The CXXFLAGS thing is suspicious, but based on similar bits previously
16310  # found in GLIBCXX_CONFIGURE.
16311
16312  ac_ext=cpp
16313ac_cpp='$CXXCPP $CPPFLAGS'
16314ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16315ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16316ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16317
16318  ac_test_CXXFLAGS="${CXXFLAGS+set}"
16319  ac_save_CXXFLAGS="$CXXFLAGS"
16320
16321  # Check for -ffunction-sections -fdata-sections
16322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16323$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16324  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16325  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326/* end confdefs.h.  */
16327int foo; void bar() { };
16328int
16329main ()
16330{
16331
16332  ;
16333  return 0;
16334}
16335_ACEOF
16336if ac_fn_cxx_try_compile "$LINENO"; then :
16337  ac_fdsections=yes
16338else
16339  ac_fdsections=no
16340fi
16341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16342  if test "$ac_test_CXXFLAGS" = set; then
16343    CXXFLAGS="$ac_save_CXXFLAGS"
16344  else
16345    # this is the suspicious part
16346    CXXFLAGS=''
16347  fi
16348  if test x"$ac_fdsections" = x"yes"; then
16349    SECTION_FLAGS='-ffunction-sections -fdata-sections'
16350  fi
16351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16352$as_echo "$ac_fdsections" >&6; }
16353
16354  ac_ext=c
16355ac_cpp='$CPP $CPPFLAGS'
16356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16358ac_compiler_gnu=$ac_cv_c_compiler_gnu
16359
16360
16361
16362
16363# Enable all the variable C++ runtime options that don't require linking.
16364
16365  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16366$as_echo_n "checking for underlying I/O to use... " >&6; }
16367   # Check whether --enable-cstdio was given.
16368if test "${enable_cstdio+set}" = set; then :
16369  enableval=$enable_cstdio;
16370      case "$enableval" in
16371       stdio|stdio_posix|stdio_pure) ;;
16372       *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16373	  	        esac
16374
16375else
16376  enable_cstdio=stdio
16377fi
16378
16379
16380
16381  # The only available I/O model is based on stdio, via basic_file_stdio.
16382  # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16383  # to get a file descriptor and then uses read(3) and write(3) with it.
16384  # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16385  case ${enable_cstdio} in
16386    stdio*)
16387      CSTDIO_H=config/io/c_io_stdio.h
16388      BASIC_FILE_H=config/io/basic_file_stdio.h
16389      BASIC_FILE_CC=config/io/basic_file_stdio.cc
16390      { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16391$as_echo "stdio" >&6; }
16392
16393      if test "x$enable_cstdio" = "xstdio_pure" ; then
16394
16395$as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16396
16397      fi
16398      ;;
16399  esac
16400
16401
16402
16403
16404
16405
16406   # Check whether --enable-clocale was given.
16407if test "${enable_clocale+set}" = set; then :
16408  enableval=$enable_clocale;
16409      case "$enableval" in
16410       generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16411       *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16412	  	        esac
16413
16414else
16415  enable_clocale=auto
16416fi
16417
16418
16419
16420  # Deal with gettext issues.  Default to not using it (=no) until we detect
16421  # support for it later.  Let the user turn it off via --e/d, but let that
16422  # default to on for easier handling.
16423  USE_NLS=no
16424  # Check whether --enable-nls was given.
16425if test "${enable_nls+set}" = set; then :
16426  enableval=$enable_nls;
16427else
16428  enable_nls=yes
16429fi
16430
16431
16432  # Either a known package, or "auto"
16433  if test $enable_clocale = no || test $enable_clocale = yes; then
16434     enable_clocale=auto
16435  fi
16436  enable_clocale_flag=$enable_clocale
16437
16438  # Probe for locale model to use if none specified.
16439  # Default to "generic".
16440  if test $enable_clocale_flag = auto; then
16441    case ${target_os} in
16442      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16443	enable_clocale_flag=gnu
16444	;;
16445      darwin*)
16446	enable_clocale_flag=darwin
16447	;;
16448      vxworks*)
16449	enable_clocale_flag=vxworks
16450	;;
16451      dragonfly* | freebsd*)
16452	enable_clocale_flag=dragonfly
16453	;;
16454      openbsd*)
16455	enable_clocale_flag=newlib
16456	;;
16457      *)
16458	if test x"$with_newlib" = x"yes"; then
16459	  enable_clocale_flag=newlib
16460	else
16461	  enable_clocale_flag=generic
16462	fi
16463	;;
16464    esac
16465  fi
16466
16467  # Sanity check model, and test for special functionality.
16468  if test $enable_clocale_flag = gnu; then
16469    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16470/* end confdefs.h.  */
16471
16472    #include <features.h>
16473    #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16474      _GLIBCXX_ok
16475    #endif
16476
16477_ACEOF
16478if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16479  $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16480  enable_clocale_flag=gnu
16481else
16482  enable_clocale_flag=generic
16483fi
16484rm -f conftest*
16485
16486
16487    # Set it to scream when it hurts.
16488    ac_save_CFLAGS="$CFLAGS"
16489    CFLAGS="-Wimplicit-function-declaration -Werror"
16490
16491    # Use strxfrm_l if available.
16492    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493/* end confdefs.h.  */
16494#define _GNU_SOURCE 1
16495     		    #include <string.h>
16496		    #include <locale.h>
16497int
16498main ()
16499{
16500char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16501  ;
16502  return 0;
16503}
16504_ACEOF
16505if ac_fn_c_try_compile "$LINENO"; then :
16506
16507$as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16508
16509fi
16510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16511
16512    # Use strerror_l if available.
16513    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514/* end confdefs.h.  */
16515#define _GNU_SOURCE 1
16516		    #include <string.h>
16517		    #include <locale.h>
16518int
16519main ()
16520{
16521__locale_t loc; strerror_l(5, loc);
16522  ;
16523  return 0;
16524}
16525_ACEOF
16526if ac_fn_c_try_compile "$LINENO"; then :
16527
16528$as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16529
16530fi
16531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16532
16533    CFLAGS="$ac_save_CFLAGS"
16534  fi
16535
16536  # Perhaps use strerror_r if available, and strerror_l isn't.
16537  ac_save_CFLAGS="$CFLAGS"
16538  CFLAGS="-Wimplicit-function-declaration -Werror"
16539  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540/* end confdefs.h.  */
16541#define _GNU_SOURCE 1
16542	     	  #include <string.h>
16543		  #include <locale.h>
16544int
16545main ()
16546{
16547char s[128]; strerror_r(5, s, 128);
16548  ;
16549  return 0;
16550}
16551_ACEOF
16552if ac_fn_c_try_compile "$LINENO"; then :
16553
16554$as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16555
16556fi
16557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16558  CFLAGS="$ac_save_CFLAGS"
16559
16560  # Set configure bits for specified locale package
16561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16562$as_echo_n "checking for C locale to use... " >&6; }
16563  case ${enable_clocale_flag} in
16564    generic)
16565      { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16566$as_echo "generic" >&6; }
16567
16568      CLOCALE_H=config/locale/generic/c_locale.h
16569      CLOCALE_CC=config/locale/generic/c_locale.cc
16570      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16571      CCOLLATE_CC=config/locale/generic/collate_members.cc
16572      CCTYPE_CC=config/locale/generic/ctype_members.cc
16573      CMESSAGES_H=config/locale/generic/messages_members.h
16574      CMESSAGES_CC=config/locale/generic/messages_members.cc
16575      CMONEY_CC=config/locale/generic/monetary_members.cc
16576      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16577      CTIME_H=config/locale/generic/time_members.h
16578      CTIME_CC=config/locale/generic/time_members.cc
16579      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16580      ;;
16581    darwin)
16582      { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16583$as_echo "darwin" >&6; }
16584
16585      CLOCALE_H=config/locale/generic/c_locale.h
16586      CLOCALE_CC=config/locale/generic/c_locale.cc
16587      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16588      CCOLLATE_CC=config/locale/generic/collate_members.cc
16589      CCTYPE_CC=config/locale/darwin/ctype_members.cc
16590      CMESSAGES_H=config/locale/generic/messages_members.h
16591      CMESSAGES_CC=config/locale/generic/messages_members.cc
16592      CMONEY_CC=config/locale/generic/monetary_members.cc
16593      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16594      CTIME_H=config/locale/generic/time_members.h
16595      CTIME_CC=config/locale/generic/time_members.cc
16596      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16597      ;;
16598    vxworks)
16599      { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16600$as_echo "vxworks" >&6; }
16601
16602      CLOCALE_H=config/locale/generic/c_locale.h
16603      CLOCALE_CC=config/locale/generic/c_locale.cc
16604      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16605      CCOLLATE_CC=config/locale/generic/collate_members.cc
16606      CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16607      CMESSAGES_H=config/locale/generic/messages_members.h
16608      CMESSAGES_CC=config/locale/generic/messages_members.cc
16609      CMONEY_CC=config/locale/generic/monetary_members.cc
16610      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16611      CTIME_H=config/locale/generic/time_members.h
16612      CTIME_CC=config/locale/generic/time_members.cc
16613      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16614      ;;
16615    dragonfly)
16616      { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16617$as_echo "dragonfly or freebsd" >&6; }
16618
16619      CLOCALE_H=config/locale/dragonfly/c_locale.h
16620      CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16621      CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16622      CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16623      CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16624      CMESSAGES_H=config/locale/generic/messages_members.h
16625      CMESSAGES_CC=config/locale/generic/messages_members.cc
16626      CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16627      CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16628      CTIME_H=config/locale/dragonfly/time_members.h
16629      CTIME_CC=config/locale/dragonfly/time_members.cc
16630      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16631      ;;
16632
16633    gnu)
16634      { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16635$as_echo "gnu" >&6; }
16636
16637      # Declare intention to use gettext, and add support for specific
16638      # languages.
16639      # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16640      ALL_LINGUAS="de fr"
16641
16642      # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16643      # Extract the first word of "msgfmt", so it can be a program name with args.
16644set dummy msgfmt; ac_word=$2
16645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16646$as_echo_n "checking for $ac_word... " >&6; }
16647if ${ac_cv_prog_check_msgfmt+:} false; then :
16648  $as_echo_n "(cached) " >&6
16649else
16650  if test -n "$check_msgfmt"; then
16651  ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16652else
16653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16654for as_dir in $PATH
16655do
16656  IFS=$as_save_IFS
16657  test -z "$as_dir" && as_dir=.
16658    for ac_exec_ext in '' $ac_executable_extensions; do
16659  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16660    ac_cv_prog_check_msgfmt="yes"
16661    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16662    break 2
16663  fi
16664done
16665  done
16666IFS=$as_save_IFS
16667
16668  test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16669fi
16670fi
16671check_msgfmt=$ac_cv_prog_check_msgfmt
16672if test -n "$check_msgfmt"; then
16673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16674$as_echo "$check_msgfmt" >&6; }
16675else
16676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16677$as_echo "no" >&6; }
16678fi
16679
16680
16681      if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16682	USE_NLS=yes
16683      fi
16684      # Export the build objects.
16685      for ling in $ALL_LINGUAS; do \
16686	glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16687	glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16688      done
16689
16690
16691
16692      CLOCALE_H=config/locale/gnu/c_locale.h
16693      CLOCALE_CC=config/locale/gnu/c_locale.cc
16694      CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16695      CCOLLATE_CC=config/locale/gnu/collate_members.cc
16696      CCTYPE_CC=config/locale/gnu/ctype_members.cc
16697      CMESSAGES_H=config/locale/gnu/messages_members.h
16698      CMESSAGES_CC=config/locale/gnu/messages_members.cc
16699      CMONEY_CC=config/locale/gnu/monetary_members.cc
16700      CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16701      CTIME_H=config/locale/gnu/time_members.h
16702      CTIME_CC=config/locale/gnu/time_members.cc
16703      CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16704      ;;
16705    ieee_1003.1-2001)
16706      { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16707$as_echo "IEEE 1003.1" >&6; }
16708
16709      CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16710      CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16711      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16712      CCOLLATE_CC=config/locale/generic/collate_members.cc
16713      CCTYPE_CC=config/locale/generic/ctype_members.cc
16714      CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16715      CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16716      CMONEY_CC=config/locale/generic/monetary_members.cc
16717      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16718      CTIME_H=config/locale/generic/time_members.h
16719      CTIME_CC=config/locale/generic/time_members.cc
16720      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16721      ;;
16722    newlib)
16723      { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16724$as_echo "newlib" >&6; }
16725
16726      CLOCALE_H=config/locale/generic/c_locale.h
16727      CLOCALE_CC=config/locale/generic/c_locale.cc
16728      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16729      CCOLLATE_CC=config/locale/generic/collate_members.cc
16730      CCTYPE_CC=config/locale/newlib/ctype_members.cc
16731      CMESSAGES_H=config/locale/generic/messages_members.h
16732      CMESSAGES_CC=config/locale/generic/messages_members.cc
16733      CMONEY_CC=config/locale/generic/monetary_members.cc
16734      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16735      CTIME_H=config/locale/generic/time_members.h
16736      CTIME_CC=config/locale/generic/time_members.cc
16737      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16738      ;;
16739  esac
16740
16741  # This is where the testsuite looks for locale catalogs, using the
16742  # -DLOCALEDIR define during testsuite compilation.
16743  glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16744
16745
16746  # A standalone libintl (e.g., GNU libintl) may be in use.
16747  if test $USE_NLS = yes; then
16748    for ac_header in libintl.h
16749do :
16750  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16751if test "x$ac_cv_header_libintl_h" = xyes; then :
16752  cat >>confdefs.h <<_ACEOF
16753#define HAVE_LIBINTL_H 1
16754_ACEOF
16755
16756else
16757  USE_NLS=no
16758fi
16759
16760done
16761
16762    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16763$as_echo_n "checking for library containing gettext... " >&6; }
16764if ${ac_cv_search_gettext+:} false; then :
16765  $as_echo_n "(cached) " >&6
16766else
16767  ac_func_search_save_LIBS=$LIBS
16768cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16769/* end confdefs.h.  */
16770
16771/* Override any GCC internal prototype to avoid an error.
16772   Use char because int might match the return type of a GCC
16773   builtin and then its argument prototype would still apply.  */
16774#ifdef __cplusplus
16775extern "C"
16776#endif
16777char gettext ();
16778int
16779main ()
16780{
16781return gettext ();
16782  ;
16783  return 0;
16784}
16785_ACEOF
16786for ac_lib in '' intl; do
16787  if test -z "$ac_lib"; then
16788    ac_res="none required"
16789  else
16790    ac_res=-l$ac_lib
16791    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16792  fi
16793  if test x$gcc_no_link = xyes; then
16794  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16795fi
16796if ac_fn_c_try_link "$LINENO"; then :
16797  ac_cv_search_gettext=$ac_res
16798fi
16799rm -f core conftest.err conftest.$ac_objext \
16800    conftest$ac_exeext
16801  if ${ac_cv_search_gettext+:} false; then :
16802  break
16803fi
16804done
16805if ${ac_cv_search_gettext+:} false; then :
16806
16807else
16808  ac_cv_search_gettext=no
16809fi
16810rm conftest.$ac_ext
16811LIBS=$ac_func_search_save_LIBS
16812fi
16813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16814$as_echo "$ac_cv_search_gettext" >&6; }
16815ac_res=$ac_cv_search_gettext
16816if test "$ac_res" != no; then :
16817  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16818
16819else
16820  USE_NLS=no
16821fi
16822
16823  fi
16824  if test $USE_NLS = yes; then
16825
16826$as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16827
16828  fi
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16846$as_echo_n "checking for std::allocator base class... " >&6; }
16847   # Check whether --enable-libstdcxx-allocator was given.
16848if test "${enable_libstdcxx_allocator+set}" = set; then :
16849  enableval=$enable_libstdcxx_allocator;
16850      case "$enableval" in
16851       new|malloc|yes|no|auto) ;;
16852       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16853	  	        esac
16854
16855else
16856  enable_libstdcxx_allocator=auto
16857fi
16858
16859
16860
16861  # If they didn't use this option switch, or if they specified --enable
16862  # with no specific model, we'll have to look for one.  If they
16863  # specified --disable (???), do likewise.
16864  if test $enable_libstdcxx_allocator = no ||
16865     test $enable_libstdcxx_allocator = yes;
16866  then
16867     enable_libstdcxx_allocator=auto
16868  fi
16869
16870  # Either a known package, or "auto". Auto implies the default choice
16871  # for a particular platform.
16872  enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16873
16874  # Probe for host-specific support if no specific model is specified.
16875  # Default to "new".
16876  if test $enable_libstdcxx_allocator_flag = auto; then
16877    case ${target_os} in
16878      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16879	enable_libstdcxx_allocator_flag=new
16880	;;
16881      *)
16882	enable_libstdcxx_allocator_flag=new
16883	;;
16884    esac
16885  fi
16886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16887$as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16888
16889
16890  # Set configure bits for specified locale package
16891  case ${enable_libstdcxx_allocator_flag} in
16892    malloc)
16893      ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16894      ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16895      ;;
16896    new)
16897      ALLOCATOR_H=config/allocator/new_allocator_base.h
16898      ALLOCATOR_NAME=__gnu_cxx::new_allocator
16899      ;;
16900  esac
16901
16902
16903
16904
16905
16906
16907   # Check whether --enable-cheaders-obsolete was given.
16908if test "${enable_cheaders_obsolete+set}" = set; then :
16909  enableval=$enable_cheaders_obsolete;
16910      case "$enableval" in
16911       yes|no) ;;
16912       *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16913      esac
16914
16915else
16916  enable_cheaders_obsolete=no
16917fi
16918
16919
16920   # Check whether --enable-cheaders was given.
16921if test "${enable_cheaders+set}" = set; then :
16922  enableval=$enable_cheaders;
16923      case "$enableval" in
16924       c|c_global|c_std) ;;
16925       *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16926	  	        esac
16927
16928else
16929  enable_cheaders=$c_model
16930fi
16931
16932
16933  { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16934$as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16935  if test $enable_cheaders = c_std ; then
16936    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16937$as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16938    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
16939$as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16940    if test $enable_cheaders_obsolete != yes ; then
16941      as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16942    fi
16943  fi
16944
16945  C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16946
16947  # Allow overrides to configure.host here.
16948  if test $enable_cheaders = c_global; then
16949     c_compatibility=yes
16950  fi
16951
16952
16953
16954
16955
16956
16957
16958   # Check whether --enable-long-long was given.
16959if test "${enable_long_long+set}" = set; then :
16960  enableval=$enable_long_long;
16961      case "$enableval" in
16962       yes|no) ;;
16963       *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16964      esac
16965
16966else
16967  enable_long_long=yes
16968fi
16969
16970
16971  if test $enable_long_long = yes; then
16972
16973$as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16974
16975  fi
16976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16977$as_echo_n "checking for enabled long long specializations... " >&6; }
16978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16979$as_echo "$enable_long_long" >&6; }
16980
16981
16982   # Check whether --enable-wchar_t was given.
16983if test "${enable_wchar_t+set}" = set; then :
16984  enableval=$enable_wchar_t;
16985      case "$enableval" in
16986       yes|no) ;;
16987       *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16988      esac
16989
16990else
16991  enable_wchar_t=yes
16992fi
16993
16994
16995
16996  # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16997  for ac_header in wchar.h
16998do :
16999  ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17000if test "x$ac_cv_header_wchar_h" = xyes; then :
17001  cat >>confdefs.h <<_ACEOF
17002#define HAVE_WCHAR_H 1
17003_ACEOF
17004 ac_has_wchar_h=yes
17005else
17006  ac_has_wchar_h=no
17007fi
17008
17009done
17010
17011  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17012$as_echo_n "checking for mbstate_t... " >&6; }
17013  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014/* end confdefs.h.  */
17015#include <wchar.h>
17016int
17017main ()
17018{
17019mbstate_t teststate;
17020  ;
17021  return 0;
17022}
17023_ACEOF
17024if ac_fn_c_try_compile "$LINENO"; then :
17025  have_mbstate_t=yes
17026else
17027  have_mbstate_t=no
17028fi
17029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17031$as_echo "$have_mbstate_t" >&6; }
17032  if test x"$have_mbstate_t" = xyes; then
17033
17034$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17035
17036  fi
17037
17038  # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17039  # ac_has_wchar_h.
17040  for ac_header in wctype.h
17041do :
17042  ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17043if test "x$ac_cv_header_wctype_h" = xyes; then :
17044  cat >>confdefs.h <<_ACEOF
17045#define HAVE_WCTYPE_H 1
17046_ACEOF
17047 ac_has_wctype_h=yes
17048else
17049  ac_has_wctype_h=no
17050fi
17051
17052done
17053
17054
17055  if test x"$enable_wchar_t" = x"yes"; then
17056
17057
17058    ac_ext=cpp
17059ac_cpp='$CXXCPP $CPPFLAGS'
17060ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17062ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17063
17064
17065    if test x"$ac_has_wchar_h" = xyes &&
17066       test x"$ac_has_wctype_h" = xyes; then
17067      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068/* end confdefs.h.  */
17069#include <wchar.h>
17070		      #include <stddef.h>
17071		      wint_t i;
17072		      long l = WEOF;
17073		      long j = WCHAR_MIN;
17074		      long k = WCHAR_MAX;
17075		      namespace test
17076		      {
17077			using ::btowc;
17078			using ::fgetwc;
17079			using ::fgetws;
17080			using ::fputwc;
17081			using ::fputws;
17082			using ::fwide;
17083			using ::fwprintf;
17084			using ::fwscanf;
17085			using ::getwc;
17086			using ::getwchar;
17087 			using ::mbrlen;
17088			using ::mbrtowc;
17089			using ::mbsinit;
17090			using ::mbsrtowcs;
17091			using ::putwc;
17092			using ::putwchar;
17093			using ::swprintf;
17094			using ::swscanf;
17095			using ::ungetwc;
17096			using ::vfwprintf;
17097			using ::vswprintf;
17098			using ::vwprintf;
17099			using ::wcrtomb;
17100			using ::wcscat;
17101			using ::wcschr;
17102			using ::wcscmp;
17103			using ::wcscoll;
17104			using ::wcscpy;
17105			using ::wcscspn;
17106			using ::wcsftime;
17107			using ::wcslen;
17108			using ::wcsncat;
17109			using ::wcsncmp;
17110			using ::wcsncpy;
17111			using ::wcspbrk;
17112			using ::wcsrchr;
17113			using ::wcsrtombs;
17114			using ::wcsspn;
17115			using ::wcsstr;
17116			using ::wcstod;
17117			using ::wcstok;
17118			using ::wcstol;
17119			using ::wcstoul;
17120			using ::wcsxfrm;
17121			using ::wctob;
17122			using ::wmemchr;
17123			using ::wmemcmp;
17124			using ::wmemcpy;
17125			using ::wmemmove;
17126			using ::wmemset;
17127			using ::wprintf;
17128			using ::wscanf;
17129		      }
17130
17131int
17132main ()
17133{
17134
17135  ;
17136  return 0;
17137}
17138_ACEOF
17139if ac_fn_cxx_try_compile "$LINENO"; then :
17140
17141else
17142  enable_wchar_t=no
17143fi
17144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17145    else
17146      enable_wchar_t=no
17147    fi
17148
17149    ac_ext=c
17150ac_cpp='$CPP $CPPFLAGS'
17151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17153ac_compiler_gnu=$ac_cv_c_compiler_gnu
17154
17155  fi
17156
17157  if test x"$enable_wchar_t" = x"yes"; then
17158
17159$as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17160
17161  fi
17162
17163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17164$as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17166$as_echo "$enable_wchar_t" >&6; }
17167
17168
17169
17170   # Check whether --enable-c99 was given.
17171if test "${enable_c99+set}" = set; then :
17172  enableval=$enable_c99;
17173      case "$enableval" in
17174       yes|no) ;;
17175       *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17176      esac
17177
17178else
17179  enable_c99=yes
17180fi
17181
17182
17183
17184  if test x"$enable_c99" = x"yes"; then
17185
17186    ac_ext=cpp
17187ac_cpp='$CXXCPP $CPPFLAGS'
17188ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17189ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17190ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17191
17192
17193    # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17194    # undefined may cause fake C99 facilities, like pre-standard snprintf,
17195    # to be spuriously enabled.
17196    ac_save_CXXFLAGS="$CXXFLAGS"
17197    CXXFLAGS="$CXXFLAGS -std=c++98"
17198    ac_save_LIBS="$LIBS"
17199    ac_save_gcc_no_link="$gcc_no_link"
17200
17201    if test x$gcc_no_link != xyes; then
17202      # Use -fno-exceptions to that the C driver can link these tests without
17203      # hitting undefined references to personality routines.
17204      CXXFLAGS="$CXXFLAGS -fno-exceptions"
17205      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17206$as_echo_n "checking for sin in -lm... " >&6; }
17207if ${ac_cv_lib_m_sin+:} false; then :
17208  $as_echo_n "(cached) " >&6
17209else
17210  ac_check_lib_save_LIBS=$LIBS
17211LIBS="-lm  $LIBS"
17212if test x$gcc_no_link = xyes; then
17213  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17214fi
17215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216/* end confdefs.h.  */
17217
17218/* Override any GCC internal prototype to avoid an error.
17219   Use char because int might match the return type of a GCC
17220   builtin and then its argument prototype would still apply.  */
17221#ifdef __cplusplus
17222extern "C"
17223#endif
17224char sin ();
17225int
17226main ()
17227{
17228return sin ();
17229  ;
17230  return 0;
17231}
17232_ACEOF
17233if ac_fn_cxx_try_link "$LINENO"; then :
17234  ac_cv_lib_m_sin=yes
17235else
17236  ac_cv_lib_m_sin=no
17237fi
17238rm -f core conftest.err conftest.$ac_objext \
17239    conftest$ac_exeext conftest.$ac_ext
17240LIBS=$ac_check_lib_save_LIBS
17241fi
17242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17243$as_echo "$ac_cv_lib_m_sin" >&6; }
17244if test "x$ac_cv_lib_m_sin" = xyes; then :
17245  LIBS="$LIBS -lm"
17246else
17247
17248        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17249        gcc_no_link=yes
17250
17251fi
17252
17253    fi
17254
17255    # Check for the existence of <math.h> functions used if C99 is enabled.
17256    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17257$as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17258if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17259  $as_echo_n "(cached) " >&6
17260else
17261
17262      if test x$gcc_no_link = xyes; then
17263  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264/* end confdefs.h.  */
17265#include <math.h>
17266         volatile double d1, d2;
17267         volatile int i;
17268int
17269main ()
17270{
17271i = fpclassify(d1);
17272         i = isfinite(d1);
17273         i = isinf(d1);
17274         i = isnan(d1);
17275         i = isnormal(d1);
17276         i = signbit(d1);
17277         i = isgreater(d1, d2);
17278         i = isgreaterequal(d1, d2);
17279         i = isless(d1, d2);
17280         i = islessequal(d1, d2);
17281         i = islessgreater(d1, d2);
17282         i = islessgreater(d1, d2);
17283         i = isunordered(d1, d2);
17284
17285  ;
17286  return 0;
17287}
17288_ACEOF
17289if ac_fn_cxx_try_compile "$LINENO"; then :
17290  glibcxx_cv_c99_math_cxx98=yes
17291else
17292  glibcxx_cv_c99_math_cxx98=no
17293fi
17294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17295else
17296  if test x$gcc_no_link = xyes; then
17297  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17298fi
17299cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300/* end confdefs.h.  */
17301#include <math.h>
17302         volatile double d1, d2;
17303         volatile int i;
17304int
17305main ()
17306{
17307i = fpclassify(d1);
17308         i = isfinite(d1);
17309         i = isinf(d1);
17310         i = isnan(d1);
17311         i = isnormal(d1);
17312         i = signbit(d1);
17313         i = isgreater(d1, d2);
17314         i = isgreaterequal(d1, d2);
17315         i = isless(d1, d2);
17316         i = islessequal(d1, d2);
17317         i = islessgreater(d1, d2);
17318         i = islessgreater(d1, d2);
17319         i = isunordered(d1, d2);
17320
17321  ;
17322  return 0;
17323}
17324_ACEOF
17325if ac_fn_cxx_try_link "$LINENO"; then :
17326  glibcxx_cv_c99_math_cxx98=yes
17327else
17328  glibcxx_cv_c99_math_cxx98=no
17329fi
17330rm -f core conftest.err conftest.$ac_objext \
17331    conftest$ac_exeext conftest.$ac_ext
17332fi
17333
17334fi
17335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17336$as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17337    if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17338
17339$as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17340
17341    fi
17342
17343    # Check for the existence of <complex.h> complex math functions.
17344    # This is necessary even though libstdc++ uses the builtin versions
17345    # of these functions, because if the builtin cannot be used, a reference
17346    # to the library function is emitted.
17347    for ac_header in tgmath.h
17348do :
17349  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17350if test "x$ac_cv_header_tgmath_h" = xyes; then :
17351  cat >>confdefs.h <<_ACEOF
17352#define HAVE_TGMATH_H 1
17353_ACEOF
17354 ac_has_tgmath_h=yes
17355else
17356  ac_has_tgmath_h=no
17357fi
17358
17359done
17360
17361    for ac_header in complex.h
17362do :
17363  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17364if test "x$ac_cv_header_complex_h" = xyes; then :
17365  cat >>confdefs.h <<_ACEOF
17366#define HAVE_COMPLEX_H 1
17367_ACEOF
17368 ac_has_complex_h=yes
17369else
17370  ac_has_complex_h=no
17371fi
17372
17373done
17374
17375    if test x"$ac_has_complex_h" = x"yes"; then
17376      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17377$as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17378if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17379  $as_echo_n "(cached) " >&6
17380else
17381
17382        if test x$gcc_no_link = xyes; then
17383  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384/* end confdefs.h.  */
17385#include <complex.h>
17386           typedef __complex__ float float_type;
17387           typedef __complex__ double double_type;
17388           typedef __complex__ long double ld_type;
17389           volatile float_type tmpf;
17390           volatile double_type tmpd;
17391           volatile ld_type tmpld;
17392           volatile float f;
17393           volatile double d;
17394           volatile long double ld;
17395int
17396main ()
17397{
17398f = cabsf(tmpf);
17399           f = cargf(tmpf);
17400           tmpf = ccosf(tmpf);
17401           tmpf = ccoshf(tmpf);
17402           tmpf = cexpf(tmpf);
17403           tmpf = clogf(tmpf);
17404           tmpf = csinf(tmpf);
17405           tmpf = csinhf(tmpf);
17406           tmpf = csqrtf(tmpf);
17407           tmpf = ctanf(tmpf);
17408           tmpf = ctanhf(tmpf);
17409           tmpf = cpowf(tmpf, tmpf);
17410           tmpf = cprojf(tmpf);
17411           d = cabs(tmpd);
17412           d = carg(tmpd);
17413           tmpd = ccos(tmpd);
17414           tmpd = ccosh(tmpd);
17415           tmpd = cexp(tmpd);
17416           tmpd = clog(tmpd);
17417           tmpd = csin(tmpd);
17418           tmpd = csinh(tmpd);
17419           tmpd = csqrt(tmpd);
17420           tmpd = ctan(tmpd);
17421           tmpd = ctanh(tmpd);
17422           tmpd = cpow(tmpd, tmpd);
17423           tmpd = cproj(tmpd);
17424           ld = cabsl(tmpld);
17425           ld = cargl(tmpld);
17426           tmpld = ccosl(tmpld);
17427           tmpld = ccoshl(tmpld);
17428           tmpld = cexpl(tmpld);
17429           tmpld = clogl(tmpld);
17430           tmpld = csinl(tmpld);
17431           tmpld = csinhl(tmpld);
17432           tmpld = csqrtl(tmpld);
17433           tmpld = ctanl(tmpld);
17434           tmpld = ctanhl(tmpld);
17435           tmpld = cpowl(tmpld, tmpld);
17436           tmpld = cprojl(tmpld);
17437
17438  ;
17439  return 0;
17440}
17441_ACEOF
17442if ac_fn_cxx_try_compile "$LINENO"; then :
17443  glibcxx_cv_c99_complex_cxx98=yes
17444else
17445  glibcxx_cv_c99_complex_cxx98=no
17446fi
17447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17448else
17449  if test x$gcc_no_link = xyes; then
17450  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17451fi
17452cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453/* end confdefs.h.  */
17454#include <complex.h>
17455           typedef __complex__ float float_type;
17456           typedef __complex__ double double_type;
17457           typedef __complex__ long double ld_type;
17458           volatile float_type tmpf;
17459           volatile double_type tmpd;
17460           volatile ld_type tmpld;
17461           volatile float f;
17462           volatile double d;
17463           volatile long double ld;
17464int
17465main ()
17466{
17467f = cabsf(tmpf);
17468           f = cargf(tmpf);
17469           tmpf = ccosf(tmpf);
17470           tmpf = ccoshf(tmpf);
17471           tmpf = cexpf(tmpf);
17472           tmpf = clogf(tmpf);
17473           tmpf = csinf(tmpf);
17474           tmpf = csinhf(tmpf);
17475           tmpf = csqrtf(tmpf);
17476           tmpf = ctanf(tmpf);
17477           tmpf = ctanhf(tmpf);
17478           tmpf = cpowf(tmpf, tmpf);
17479           tmpf = cprojf(tmpf);
17480           d = cabs(tmpd);
17481           d = carg(tmpd);
17482           tmpd = ccos(tmpd);
17483           tmpd = ccosh(tmpd);
17484           tmpd = cexp(tmpd);
17485           tmpd = clog(tmpd);
17486           tmpd = csin(tmpd);
17487           tmpd = csinh(tmpd);
17488           tmpd = csqrt(tmpd);
17489           tmpd = ctan(tmpd);
17490           tmpd = ctanh(tmpd);
17491           tmpd = cpow(tmpd, tmpd);
17492           tmpd = cproj(tmpd);
17493           ld = cabsl(tmpld);
17494           ld = cargl(tmpld);
17495           tmpld = ccosl(tmpld);
17496           tmpld = ccoshl(tmpld);
17497           tmpld = cexpl(tmpld);
17498           tmpld = clogl(tmpld);
17499           tmpld = csinl(tmpld);
17500           tmpld = csinhl(tmpld);
17501           tmpld = csqrtl(tmpld);
17502           tmpld = ctanl(tmpld);
17503           tmpld = ctanhl(tmpld);
17504           tmpld = cpowl(tmpld, tmpld);
17505           tmpld = cprojl(tmpld);
17506
17507  ;
17508  return 0;
17509}
17510_ACEOF
17511if ac_fn_cxx_try_link "$LINENO"; then :
17512  glibcxx_cv_c99_complex_cxx98=yes
17513else
17514  glibcxx_cv_c99_complex_cxx98=no
17515fi
17516rm -f core conftest.err conftest.$ac_objext \
17517    conftest$ac_exeext conftest.$ac_ext
17518fi
17519
17520fi
17521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17522$as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17523    fi
17524    if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17525
17526$as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17527
17528    fi
17529
17530    # Check for the existence in <stdio.h> of vscanf, et. al.
17531    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17532$as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17533if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17534  $as_echo_n "(cached) " >&6
17535else
17536
17537      if test x$gcc_no_link = xyes; then
17538  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539/* end confdefs.h.  */
17540#include <stdio.h>
17541         #include <stdarg.h>
17542         void foo(char* fmt, ...)
17543         {
17544           va_list args; va_start(args, fmt);
17545           vfscanf(stderr, "%i", args);
17546           vscanf("%i", args);
17547           vsnprintf(fmt, 0, "%i", args);
17548           vsscanf(fmt, "%i", args);
17549           snprintf(fmt, 0, "%i");
17550         }
17551int
17552main ()
17553{
17554
17555  ;
17556  return 0;
17557}
17558_ACEOF
17559if ac_fn_cxx_try_compile "$LINENO"; then :
17560  glibcxx_cv_c99_stdio_cxx98=yes
17561else
17562  glibcxx_cv_c99_stdio_cxx98=no
17563fi
17564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17565else
17566  if test x$gcc_no_link = xyes; then
17567  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17568fi
17569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570/* end confdefs.h.  */
17571#include <stdio.h>
17572         #include <stdarg.h>
17573         void foo(char* fmt, ...)
17574         {
17575           va_list args; va_start(args, fmt);
17576           vfscanf(stderr, "%i", args);
17577           vscanf("%i", args);
17578           vsnprintf(fmt, 0, "%i", args);
17579           vsscanf(fmt, "%i", args);
17580           snprintf(fmt, 0, "%i");
17581         }
17582int
17583main ()
17584{
17585
17586  ;
17587  return 0;
17588}
17589_ACEOF
17590if ac_fn_cxx_try_link "$LINENO"; then :
17591  glibcxx_cv_c99_stdio_cxx98=yes
17592else
17593  glibcxx_cv_c99_stdio_cxx98=no
17594fi
17595rm -f core conftest.err conftest.$ac_objext \
17596    conftest$ac_exeext conftest.$ac_ext
17597fi
17598
17599fi
17600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17601$as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17602    if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17603
17604$as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17605
17606    fi
17607
17608    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17609    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17610$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17611if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17612  $as_echo_n "(cached) " >&6
17613else
17614
17615      if test x$gcc_no_link = xyes; then
17616  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617/* end confdefs.h.  */
17618#include <stdlib.h>
17619         volatile float f;
17620         volatile long double ld;
17621         volatile unsigned long long ll;
17622         lldiv_t mydivt;
17623int
17624main ()
17625{
17626char* tmp;
17627         f = strtof("gnu", &tmp);
17628         ld = strtold("gnu", &tmp);
17629         ll = strtoll("gnu", &tmp, 10);
17630         ll = strtoull("gnu", &tmp, 10);
17631         ll = llabs(10);
17632         mydivt = lldiv(10,1);
17633         ll = mydivt.quot;
17634         ll = mydivt.rem;
17635         ll = atoll("10");
17636         _Exit(0);
17637
17638  ;
17639  return 0;
17640}
17641_ACEOF
17642if ac_fn_cxx_try_compile "$LINENO"; then :
17643  glibcxx_cv_c99_stdlib_cxx98=yes
17644else
17645  glibcxx_cv_c99_stdlib_cxx98=no
17646fi
17647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17648else
17649  if test x$gcc_no_link = xyes; then
17650  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17651fi
17652cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17653/* end confdefs.h.  */
17654#include <stdlib.h>
17655         volatile float f;
17656         volatile long double ld;
17657         volatile unsigned long long ll;
17658         lldiv_t mydivt;
17659int
17660main ()
17661{
17662char* tmp;
17663         f = strtof("gnu", &tmp);
17664         ld = strtold("gnu", &tmp);
17665         ll = strtoll("gnu", &tmp, 10);
17666         ll = strtoull("gnu", &tmp, 10);
17667         ll = llabs(10);
17668         mydivt = lldiv(10,1);
17669         ll = mydivt.quot;
17670         ll = mydivt.rem;
17671         ll = atoll("10");
17672         _Exit(0);
17673
17674  ;
17675  return 0;
17676}
17677_ACEOF
17678if ac_fn_cxx_try_link "$LINENO"; then :
17679  glibcxx_cv_c99_stdlib_cxx98=yes
17680else
17681  glibcxx_cv_c99_stdlib_cxx98=no
17682fi
17683rm -f core conftest.err conftest.$ac_objext \
17684    conftest$ac_exeext conftest.$ac_ext
17685fi
17686
17687fi
17688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17689$as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17690    if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17691
17692$as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17693
17694    fi
17695
17696    # Check for the existence in <wchar.h> of wcstold, etc.
17697    if test x"$ac_has_wchar_h" = xyes &&
17698       test x"$ac_has_wctype_h" = xyes; then
17699      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17700$as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17701if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17702  $as_echo_n "(cached) " >&6
17703else
17704
17705        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706/* end confdefs.h.  */
17707#include <wchar.h>
17708          namespace test
17709          {
17710            using ::wcstold;
17711            using ::wcstoll;
17712            using ::wcstoull;
17713          }
17714
17715int
17716main ()
17717{
17718
17719  ;
17720  return 0;
17721}
17722_ACEOF
17723if ac_fn_cxx_try_compile "$LINENO"; then :
17724  glibcxx_cv_c99_wchar_cxx98=yes
17725else
17726  glibcxx_cv_c99_wchar_cxx98=no
17727fi
17728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17729
17730fi
17731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17732$as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17733
17734      # Checks for wide character functions that may not be present.
17735      # Injection of these is wrapped with guard macros.
17736      # NB: only put functions here, instead of immediately above, if
17737      # absolutely necessary.
17738      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739/* end confdefs.h.  */
17740#include <wchar.h>
17741        namespace test { using ::vfwscanf; }
17742int
17743main ()
17744{
17745
17746  ;
17747  return 0;
17748}
17749_ACEOF
17750if ac_fn_cxx_try_compile "$LINENO"; then :
17751
17752$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17753
17754fi
17755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756
17757      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758/* end confdefs.h.  */
17759#include <wchar.h>
17760        namespace test { using ::vswscanf; }
17761int
17762main ()
17763{
17764
17765  ;
17766  return 0;
17767}
17768_ACEOF
17769if ac_fn_cxx_try_compile "$LINENO"; then :
17770
17771$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17772
17773fi
17774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17775
17776      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17777/* end confdefs.h.  */
17778#include <wchar.h>
17779        namespace test { using ::vwscanf; }
17780int
17781main ()
17782{
17783
17784  ;
17785  return 0;
17786}
17787_ACEOF
17788if ac_fn_cxx_try_compile "$LINENO"; then :
17789
17790$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17791
17792fi
17793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17794
17795      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796/* end confdefs.h.  */
17797#include <wchar.h>
17798        namespace test { using ::wcstof; }
17799int
17800main ()
17801{
17802
17803  ;
17804  return 0;
17805}
17806_ACEOF
17807if ac_fn_cxx_try_compile "$LINENO"; then :
17808
17809$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17810
17811fi
17812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17813
17814      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815/* end confdefs.h.  */
17816#include <wctype.h>
17817int
17818main ()
17819{
17820wint_t t; int i = iswblank(t);
17821  ;
17822  return 0;
17823}
17824_ACEOF
17825if ac_fn_cxx_try_compile "$LINENO"; then :
17826
17827$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17828
17829fi
17830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831
17832      if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17833
17834$as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17835
17836      fi
17837    fi
17838
17839    # Option parsed, now set things appropriately.
17840    if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17841       test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17842       test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17843       test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17844       test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17845      enable_c99=no;
17846    else
17847
17848$as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17849
17850    fi
17851
17852    gcc_no_link="$ac_save_gcc_no_link"
17853    LIBS="$ac_save_LIBS"
17854    CXXFLAGS="$ac_save_CXXFLAGS"
17855    ac_ext=c
17856ac_cpp='$CPP $CPPFLAGS'
17857ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17858ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17859ac_compiler_gnu=$ac_cv_c_compiler_gnu
17860
17861
17862
17863    ac_ext=cpp
17864ac_cpp='$CXXCPP $CPPFLAGS'
17865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17868
17869
17870    # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17871    # For the reasons given above we use -std=c++11 not -std=gnu++11.
17872    ac_save_CXXFLAGS="$CXXFLAGS"
17873    CXXFLAGS="$CXXFLAGS -std=c++11"
17874    ac_save_LIBS="$LIBS"
17875    ac_save_gcc_no_link="$gcc_no_link"
17876
17877    if test x$gcc_no_link != xyes; then
17878      # Use -fno-exceptions to that the C driver can link these tests without
17879      # hitting undefined references to personality routines.
17880      CXXFLAGS="$CXXFLAGS -fno-exceptions"
17881      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17882$as_echo_n "checking for sin in -lm... " >&6; }
17883if ${ac_cv_lib_m_sin+:} false; then :
17884  $as_echo_n "(cached) " >&6
17885else
17886  ac_check_lib_save_LIBS=$LIBS
17887LIBS="-lm  $LIBS"
17888if test x$gcc_no_link = xyes; then
17889  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17890fi
17891cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892/* end confdefs.h.  */
17893
17894/* Override any GCC internal prototype to avoid an error.
17895   Use char because int might match the return type of a GCC
17896   builtin and then its argument prototype would still apply.  */
17897#ifdef __cplusplus
17898extern "C"
17899#endif
17900char sin ();
17901int
17902main ()
17903{
17904return sin ();
17905  ;
17906  return 0;
17907}
17908_ACEOF
17909if ac_fn_cxx_try_link "$LINENO"; then :
17910  ac_cv_lib_m_sin=yes
17911else
17912  ac_cv_lib_m_sin=no
17913fi
17914rm -f core conftest.err conftest.$ac_objext \
17915    conftest$ac_exeext conftest.$ac_ext
17916LIBS=$ac_check_lib_save_LIBS
17917fi
17918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17919$as_echo "$ac_cv_lib_m_sin" >&6; }
17920if test "x$ac_cv_lib_m_sin" = xyes; then :
17921  LIBS="$LIBS -lm"
17922else
17923
17924        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17925        gcc_no_link=yes
17926
17927fi
17928
17929    fi
17930
17931    # Check for the existence of <math.h> functions used if C99 is enabled.
17932    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17933$as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17934if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17935  $as_echo_n "(cached) " >&6
17936else
17937
17938      if test x$gcc_no_link = xyes; then
17939  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17940/* end confdefs.h.  */
17941#include <math.h>
17942         volatile double d1, d2;
17943         volatile int i;
17944int
17945main ()
17946{
17947i = fpclassify(d1);
17948         i = isfinite(d1);
17949         i = isinf(d1);
17950         i = isnan(d1);
17951         i = isnormal(d1);
17952         i = signbit(d1);
17953         i = isgreater(d1, d2);
17954         i = isgreaterequal(d1, d2);
17955         i = isless(d1, d2);
17956         i = islessequal(d1, d2);
17957         i = islessgreater(d1, d2);
17958         i = islessgreater(d1, d2);
17959         i = isunordered(d1, d2);
17960
17961  ;
17962  return 0;
17963}
17964_ACEOF
17965if ac_fn_cxx_try_compile "$LINENO"; then :
17966  glibcxx_cv_c99_math_cxx11=yes
17967else
17968  glibcxx_cv_c99_math_cxx11=no
17969fi
17970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971else
17972  if test x$gcc_no_link = xyes; then
17973  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17974fi
17975cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976/* end confdefs.h.  */
17977#include <math.h>
17978         volatile double d1, d2;
17979         volatile int i;
17980int
17981main ()
17982{
17983i = fpclassify(d1);
17984         i = isfinite(d1);
17985         i = isinf(d1);
17986         i = isnan(d1);
17987         i = isnormal(d1);
17988         i = signbit(d1);
17989         i = isgreater(d1, d2);
17990         i = isgreaterequal(d1, d2);
17991         i = isless(d1, d2);
17992         i = islessequal(d1, d2);
17993         i = islessgreater(d1, d2);
17994         i = islessgreater(d1, d2);
17995         i = isunordered(d1, d2);
17996
17997  ;
17998  return 0;
17999}
18000_ACEOF
18001if ac_fn_cxx_try_link "$LINENO"; then :
18002  glibcxx_cv_c99_math_cxx11=yes
18003else
18004  glibcxx_cv_c99_math_cxx11=no
18005fi
18006rm -f core conftest.err conftest.$ac_objext \
18007    conftest$ac_exeext conftest.$ac_ext
18008fi
18009
18010fi
18011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18012$as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18013    if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18014
18015$as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18016
18017    fi
18018
18019    # Check for the existence of <complex.h> complex math functions.
18020    # This is necessary even though libstdc++ uses the builtin versions
18021    # of these functions, because if the builtin cannot be used, a reference
18022    # to the library function is emitted.
18023    for ac_header in tgmath.h
18024do :
18025  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18026if test "x$ac_cv_header_tgmath_h" = xyes; then :
18027  cat >>confdefs.h <<_ACEOF
18028#define HAVE_TGMATH_H 1
18029_ACEOF
18030 ac_has_tgmath_h=yes
18031else
18032  ac_has_tgmath_h=no
18033fi
18034
18035done
18036
18037    for ac_header in complex.h
18038do :
18039  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18040if test "x$ac_cv_header_complex_h" = xyes; then :
18041  cat >>confdefs.h <<_ACEOF
18042#define HAVE_COMPLEX_H 1
18043_ACEOF
18044 ac_has_complex_h=yes
18045else
18046  ac_has_complex_h=no
18047fi
18048
18049done
18050
18051    if test x"$ac_has_complex_h" = x"yes"; then
18052      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18053$as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18054if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18055  $as_echo_n "(cached) " >&6
18056else
18057
18058        if test x$gcc_no_link = xyes; then
18059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060/* end confdefs.h.  */
18061#include <complex.h>
18062           typedef __complex__ float float_type;
18063           typedef __complex__ double double_type;
18064           typedef __complex__ long double ld_type;
18065           volatile float_type tmpf;
18066           volatile double_type tmpd;
18067           volatile ld_type tmpld;
18068           volatile float f;
18069           volatile double d;
18070           volatile long double ld;
18071int
18072main ()
18073{
18074f = cabsf(tmpf);
18075           f = cargf(tmpf);
18076           tmpf = ccosf(tmpf);
18077           tmpf = ccoshf(tmpf);
18078           tmpf = cexpf(tmpf);
18079           tmpf = clogf(tmpf);
18080           tmpf = csinf(tmpf);
18081           tmpf = csinhf(tmpf);
18082           tmpf = csqrtf(tmpf);
18083           tmpf = ctanf(tmpf);
18084           tmpf = ctanhf(tmpf);
18085           tmpf = cpowf(tmpf, tmpf);
18086           tmpf = cprojf(tmpf);
18087           d = cabs(tmpd);
18088           d = carg(tmpd);
18089           tmpd = ccos(tmpd);
18090           tmpd = ccosh(tmpd);
18091           tmpd = cexp(tmpd);
18092           tmpd = clog(tmpd);
18093           tmpd = csin(tmpd);
18094           tmpd = csinh(tmpd);
18095           tmpd = csqrt(tmpd);
18096           tmpd = ctan(tmpd);
18097           tmpd = ctanh(tmpd);
18098           tmpd = cpow(tmpd, tmpd);
18099           tmpd = cproj(tmpd);
18100           ld = cabsl(tmpld);
18101           ld = cargl(tmpld);
18102           tmpld = ccosl(tmpld);
18103           tmpld = ccoshl(tmpld);
18104           tmpld = cexpl(tmpld);
18105           tmpld = clogl(tmpld);
18106           tmpld = csinl(tmpld);
18107           tmpld = csinhl(tmpld);
18108           tmpld = csqrtl(tmpld);
18109           tmpld = ctanl(tmpld);
18110           tmpld = ctanhl(tmpld);
18111           tmpld = cpowl(tmpld, tmpld);
18112           tmpld = cprojl(tmpld);
18113
18114  ;
18115  return 0;
18116}
18117_ACEOF
18118if ac_fn_cxx_try_compile "$LINENO"; then :
18119  glibcxx_cv_c99_complex_cxx11=yes
18120else
18121  glibcxx_cv_c99_complex_cxx11=no
18122fi
18123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18124else
18125  if test x$gcc_no_link = xyes; then
18126  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18127fi
18128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18129/* end confdefs.h.  */
18130#include <complex.h>
18131           typedef __complex__ float float_type;
18132           typedef __complex__ double double_type;
18133           typedef __complex__ long double ld_type;
18134           volatile float_type tmpf;
18135           volatile double_type tmpd;
18136           volatile ld_type tmpld;
18137           volatile float f;
18138           volatile double d;
18139           volatile long double ld;
18140int
18141main ()
18142{
18143f = cabsf(tmpf);
18144           f = cargf(tmpf);
18145           tmpf = ccosf(tmpf);
18146           tmpf = ccoshf(tmpf);
18147           tmpf = cexpf(tmpf);
18148           tmpf = clogf(tmpf);
18149           tmpf = csinf(tmpf);
18150           tmpf = csinhf(tmpf);
18151           tmpf = csqrtf(tmpf);
18152           tmpf = ctanf(tmpf);
18153           tmpf = ctanhf(tmpf);
18154           tmpf = cpowf(tmpf, tmpf);
18155           tmpf = cprojf(tmpf);
18156           d = cabs(tmpd);
18157           d = carg(tmpd);
18158           tmpd = ccos(tmpd);
18159           tmpd = ccosh(tmpd);
18160           tmpd = cexp(tmpd);
18161           tmpd = clog(tmpd);
18162           tmpd = csin(tmpd);
18163           tmpd = csinh(tmpd);
18164           tmpd = csqrt(tmpd);
18165           tmpd = ctan(tmpd);
18166           tmpd = ctanh(tmpd);
18167           tmpd = cpow(tmpd, tmpd);
18168           tmpd = cproj(tmpd);
18169           ld = cabsl(tmpld);
18170           ld = cargl(tmpld);
18171           tmpld = ccosl(tmpld);
18172           tmpld = ccoshl(tmpld);
18173           tmpld = cexpl(tmpld);
18174           tmpld = clogl(tmpld);
18175           tmpld = csinl(tmpld);
18176           tmpld = csinhl(tmpld);
18177           tmpld = csqrtl(tmpld);
18178           tmpld = ctanl(tmpld);
18179           tmpld = ctanhl(tmpld);
18180           tmpld = cpowl(tmpld, tmpld);
18181           tmpld = cprojl(tmpld);
18182
18183  ;
18184  return 0;
18185}
18186_ACEOF
18187if ac_fn_cxx_try_link "$LINENO"; then :
18188  glibcxx_cv_c99_complex_cxx11=yes
18189else
18190  glibcxx_cv_c99_complex_cxx11=no
18191fi
18192rm -f core conftest.err conftest.$ac_objext \
18193    conftest$ac_exeext conftest.$ac_ext
18194fi
18195
18196fi
18197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18198$as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18199    fi
18200    if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18201
18202$as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18203
18204    fi
18205
18206    # Check for the existence in <stdio.h> of vscanf, et. al.
18207    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18208$as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18209if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18210  $as_echo_n "(cached) " >&6
18211else
18212
18213      if test x$gcc_no_link = xyes; then
18214  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18215/* end confdefs.h.  */
18216#include <stdio.h>
18217         #include <stdarg.h>
18218         void foo(char* fmt, ...)
18219         {
18220           va_list args; va_start(args, fmt);
18221           vfscanf(stderr, "%i", args);
18222           vscanf("%i", args);
18223           vsnprintf(fmt, 0, "%i", args);
18224           vsscanf(fmt, "%i", args);
18225           snprintf(fmt, 0, "%i");
18226         }
18227int
18228main ()
18229{
18230
18231  ;
18232  return 0;
18233}
18234_ACEOF
18235if ac_fn_cxx_try_compile "$LINENO"; then :
18236  glibcxx_cv_c99_stdio_cxx11=yes
18237else
18238  glibcxx_cv_c99_stdio_cxx11=no
18239fi
18240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18241else
18242  if test x$gcc_no_link = xyes; then
18243  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18244fi
18245cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246/* end confdefs.h.  */
18247#include <stdio.h>
18248         #include <stdarg.h>
18249         void foo(char* fmt, ...)
18250         {
18251           va_list args; va_start(args, fmt);
18252           vfscanf(stderr, "%i", args);
18253           vscanf("%i", args);
18254           vsnprintf(fmt, 0, "%i", args);
18255           vsscanf(fmt, "%i", args);
18256           snprintf(fmt, 0, "%i");
18257         }
18258int
18259main ()
18260{
18261
18262  ;
18263  return 0;
18264}
18265_ACEOF
18266if ac_fn_cxx_try_link "$LINENO"; then :
18267  glibcxx_cv_c99_stdio_cxx11=yes
18268else
18269  glibcxx_cv_c99_stdio_cxx11=no
18270fi
18271rm -f core conftest.err conftest.$ac_objext \
18272    conftest$ac_exeext conftest.$ac_ext
18273fi
18274
18275fi
18276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18277$as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18278    if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18279
18280$as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18281
18282    fi
18283
18284    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18285    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18286$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18287if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18288  $as_echo_n "(cached) " >&6
18289else
18290
18291      if test x$gcc_no_link = xyes; then
18292  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293/* end confdefs.h.  */
18294#include <stdlib.h>
18295         volatile float f;
18296         volatile long double ld;
18297         volatile unsigned long long ll;
18298         lldiv_t mydivt;
18299int
18300main ()
18301{
18302char* tmp;
18303         f = strtof("gnu", &tmp);
18304         ld = strtold("gnu", &tmp);
18305         ll = strtoll("gnu", &tmp, 10);
18306         ll = strtoull("gnu", &tmp, 10);
18307         ll = llabs(10);
18308         mydivt = lldiv(10,1);
18309         ll = mydivt.quot;
18310         ll = mydivt.rem;
18311         ll = atoll("10");
18312         _Exit(0);
18313
18314  ;
18315  return 0;
18316}
18317_ACEOF
18318if ac_fn_cxx_try_compile "$LINENO"; then :
18319  glibcxx_cv_c99_stdlib_cxx11=yes
18320else
18321  glibcxx_cv_c99_stdlib_cxx11=no
18322fi
18323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324else
18325  if test x$gcc_no_link = xyes; then
18326  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18327fi
18328cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329/* end confdefs.h.  */
18330#include <stdlib.h>
18331         volatile float f;
18332         volatile long double ld;
18333         volatile unsigned long long ll;
18334         lldiv_t mydivt;
18335int
18336main ()
18337{
18338char* tmp;
18339         f = strtof("gnu", &tmp);
18340         ld = strtold("gnu", &tmp);
18341         ll = strtoll("gnu", &tmp, 10);
18342         ll = strtoull("gnu", &tmp, 10);
18343         ll = llabs(10);
18344         mydivt = lldiv(10,1);
18345         ll = mydivt.quot;
18346         ll = mydivt.rem;
18347         ll = atoll("10");
18348         _Exit(0);
18349
18350  ;
18351  return 0;
18352}
18353_ACEOF
18354if ac_fn_cxx_try_link "$LINENO"; then :
18355  glibcxx_cv_c99_stdlib_cxx11=yes
18356else
18357  glibcxx_cv_c99_stdlib_cxx11=no
18358fi
18359rm -f core conftest.err conftest.$ac_objext \
18360    conftest$ac_exeext conftest.$ac_ext
18361fi
18362
18363fi
18364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18365$as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18366    if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18367
18368$as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18369
18370    fi
18371
18372    # Check for the existence in <wchar.h> of wcstold, etc.
18373    if test x"$ac_has_wchar_h" = xyes &&
18374       test x"$ac_has_wctype_h" = xyes; then
18375      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18376$as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18377if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18378  $as_echo_n "(cached) " >&6
18379else
18380
18381        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382/* end confdefs.h.  */
18383#include <wchar.h>
18384          namespace test
18385          {
18386            using ::wcstold;
18387            using ::wcstoll;
18388            using ::wcstoull;
18389          }
18390
18391int
18392main ()
18393{
18394
18395  ;
18396  return 0;
18397}
18398_ACEOF
18399if ac_fn_cxx_try_compile "$LINENO"; then :
18400  glibcxx_cv_c99_wchar_cxx11=yes
18401else
18402  glibcxx_cv_c99_wchar_cxx11=no
18403fi
18404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18405
18406fi
18407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18408$as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18409
18410      # Checks for wide character functions that may not be present.
18411      # Injection of these is wrapped with guard macros.
18412      # NB: only put functions here, instead of immediately above, if
18413      # absolutely necessary.
18414      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415/* end confdefs.h.  */
18416#include <wchar.h>
18417        namespace test { using ::vfwscanf; }
18418int
18419main ()
18420{
18421
18422  ;
18423  return 0;
18424}
18425_ACEOF
18426if ac_fn_cxx_try_compile "$LINENO"; then :
18427
18428$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18429
18430fi
18431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432
18433      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434/* end confdefs.h.  */
18435#include <wchar.h>
18436        namespace test { using ::vswscanf; }
18437int
18438main ()
18439{
18440
18441  ;
18442  return 0;
18443}
18444_ACEOF
18445if ac_fn_cxx_try_compile "$LINENO"; then :
18446
18447$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18448
18449fi
18450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451
18452      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18453/* end confdefs.h.  */
18454#include <wchar.h>
18455        namespace test { using ::vwscanf; }
18456int
18457main ()
18458{
18459
18460  ;
18461  return 0;
18462}
18463_ACEOF
18464if ac_fn_cxx_try_compile "$LINENO"; then :
18465
18466$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18467
18468fi
18469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470
18471      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18472/* end confdefs.h.  */
18473#include <wchar.h>
18474        namespace test { using ::wcstof; }
18475int
18476main ()
18477{
18478
18479  ;
18480  return 0;
18481}
18482_ACEOF
18483if ac_fn_cxx_try_compile "$LINENO"; then :
18484
18485$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18486
18487fi
18488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489
18490      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491/* end confdefs.h.  */
18492#include <wctype.h>
18493int
18494main ()
18495{
18496wint_t t; int i = iswblank(t);
18497  ;
18498  return 0;
18499}
18500_ACEOF
18501if ac_fn_cxx_try_compile "$LINENO"; then :
18502
18503$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18504
18505fi
18506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18507
18508      if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18509
18510$as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18511
18512      fi
18513    fi
18514
18515    gcc_no_link="$ac_save_gcc_no_link"
18516    LIBS="$ac_save_LIBS"
18517    CXXFLAGS="$ac_save_CXXFLAGS"
18518    ac_ext=c
18519ac_cpp='$CPP $CPPFLAGS'
18520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18522ac_compiler_gnu=$ac_cv_c_compiler_gnu
18523
18524  fi
18525
18526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18527$as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18529$as_echo "$enable_c99" >&6; }
18530
18531
18532   # Check whether --enable-concept-checks was given.
18533if test "${enable_concept_checks+set}" = set; then :
18534  enableval=$enable_concept_checks;
18535      case "$enableval" in
18536       yes|no) ;;
18537       *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18538      esac
18539
18540else
18541  enable_concept_checks=no
18542fi
18543
18544
18545  if test $enable_concept_checks = yes; then
18546
18547$as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18548
18549  fi
18550
18551
18552   # Check whether --enable-libstdcxx-debug-flags was given.
18553if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18554  enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18555      xno | x)    enable_libstdcxx_debug_flags= ;;
18556      x-*)        ;;
18557      *)          as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18558     esac
18559else
18560  enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18561fi
18562
18563
18564
18565  # Option parsed, now set things appropriately
18566  DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18567
18568
18569  { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18570$as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18571
18572
18573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18574$as_echo_n "checking for additional debug build... " >&6; }
18575  skip_debug_build=
18576   # Check whether --enable-libstdcxx-debug was given.
18577if test "${enable_libstdcxx_debug+set}" = set; then :
18578  enableval=$enable_libstdcxx_debug;
18579      case "$enableval" in
18580       yes|no) ;;
18581       *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18582      esac
18583
18584else
18585  enable_libstdcxx_debug=no
18586fi
18587
18588
18589  if test x$enable_libstdcxx_debug = xyes; then
18590    if test -f $toplevel_builddir/../stage_final \
18591      && test -f $toplevel_builddir/../stage_current; then
18592      stage_final=`cat $toplevel_builddir/../stage_final`
18593      stage_current=`cat $toplevel_builddir/../stage_current`
18594      if test x$stage_current != x$stage_final ; then
18595	skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18596	enable_libstdcxx_debug=no
18597      fi
18598    fi
18599  fi
18600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18601$as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18602
18603
18604
18605
18606  enable_parallel=no;
18607
18608  # See if configured libgomp/omp.h exists. (libgomp may be in
18609  # noconfigdirs but not explicitly disabled.)
18610  if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18611    enable_parallel=yes;
18612  else
18613    { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18614$as_echo "$as_me: target-libgomp not built" >&6;}
18615  fi
18616
18617  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18618$as_echo_n "checking for parallel mode support... " >&6; }
18619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18620$as_echo "$enable_parallel" >&6; }
18621
18622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18623$as_echo_n "checking for extra compiler flags for building... " >&6; }
18624   # Check whether --enable-cxx-flags was given.
18625if test "${enable_cxx_flags+set}" = set; then :
18626  enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18627      xno | x)   enable_cxx_flags= ;;
18628      x-*)       ;;
18629      *)         as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18630     esac
18631else
18632  enable_cxx_flags=
18633fi
18634
18635
18636
18637  # Run through flags (either default or command-line) and set anything
18638  # extra (e.g., #defines) that must accompany particular g++ options.
18639  if test -n "$enable_cxx_flags"; then
18640    for f in $enable_cxx_flags; do
18641      case "$f" in
18642	-fhonor-std)  ;;
18643	-*)  ;;
18644	*)   # and we're trying to pass /what/ exactly?
18645	     as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18646      esac
18647    done
18648  fi
18649
18650  EXTRA_CXX_FLAGS="$enable_cxx_flags"
18651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18652$as_echo "$EXTRA_CXX_FLAGS" >&6; }
18653
18654
18655
18656   # Check whether --enable-fully-dynamic-string was given.
18657if test "${enable_fully_dynamic_string+set}" = set; then :
18658  enableval=$enable_fully_dynamic_string;
18659      case "$enableval" in
18660       yes|no) ;;
18661       *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18662      esac
18663
18664else
18665  enable_fully_dynamic_string=no
18666fi
18667
18668
18669  if test $enable_fully_dynamic_string = yes; then
18670    enable_fully_dynamic_string_def=1
18671  else
18672    enable_fully_dynamic_string_def=0
18673  fi
18674
18675cat >>confdefs.h <<_ACEOF
18676#define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18677_ACEOF
18678
18679
18680
18681
18682   # Check whether --enable-extern-template was given.
18683if test "${enable_extern_template+set}" = set; then :
18684  enableval=$enable_extern_template;
18685      case "$enableval" in
18686       yes|no) ;;
18687       *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18688      esac
18689
18690else
18691  enable_extern_template=yes
18692fi
18693
18694
18695
18696  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18697$as_echo_n "checking for extern template support... " >&6; }
18698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18699$as_echo "$enable_extern_template" >&6; }
18700
18701
18702
18703
18704
18705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18706$as_echo_n "checking for custom python install directory... " >&6; }
18707
18708# Check whether --with-python-dir was given.
18709if test "${with_python_dir+set}" = set; then :
18710  withval=$with_python_dir; with_python_dir=$withval
18711else
18712  with_python_dir="no"
18713fi
18714
18715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18716$as_echo "${with_python_dir}" >&6; }
18717
18718# Needed for installing Python modules during make install.
18719python_mod_dir="${with_python_dir}"
18720
18721
18722
18723
18724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18725$as_echo_n "checking for -Werror... " >&6; }
18726   # Check whether --enable-werror was given.
18727if test "${enable_werror+set}" = set; then :
18728  enableval=$enable_werror;
18729      case "$enableval" in
18730       yes|no) ;;
18731       *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18732      esac
18733
18734else
18735  enable_werror=no
18736fi
18737
18738
18739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18740$as_echo "$enable_werror" >&6; }
18741
18742
18743
18744
18745   # Check whether --enable-vtable-verify was given.
18746if test "${enable_vtable_verify+set}" = set; then :
18747  enableval=$enable_vtable_verify;
18748      case "$enableval" in
18749       yes|no) ;;
18750       *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18751      esac
18752
18753else
18754  enable_vtable_verify=no
18755fi
18756
18757
18758
18759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18760$as_echo_n "checking for vtable verify support... " >&6; }
18761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18762$as_echo "$enable_vtable_verify" >&6; }
18763
18764  vtv_cygmin=no
18765  if test $enable_vtable_verify = yes; then
18766    case ${target_os} in
18767      cygwin*|mingw32*)
18768        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18769        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18770        vtv_cygmin=yes
18771        ;;
18772      darwin*)
18773        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18774        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18775        ;;
18776      solaris2*)
18777        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18778        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18779        ;;
18780      *)
18781        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18782        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18783        ;;
18784    esac
18785    VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18786  else
18787    VTV_CXXFLAGS=
18788    VTV_PCH_CXXFLAGS=
18789    VTV_CXXLINKFLAGS=
18790  fi
18791
18792
18793
18794
18795   if test x$vtv_cygmin = xyes; then
18796  VTV_CYGMIN_TRUE=
18797  VTV_CYGMIN_FALSE='#'
18798else
18799  VTV_CYGMIN_TRUE='#'
18800  VTV_CYGMIN_FALSE=
18801fi
18802
18803
18804
18805
18806# Checks for operating systems support that doesn't require linking.
18807
18808
18809
18810  ac_ext=cpp
18811ac_cpp='$CXXCPP $CPPFLAGS'
18812ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18813ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18814ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18815
18816  # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18817  # and we don't need a declaration for C++14 anyway.
18818  ac_save_CXXFLAGS="$CXXFLAGS"
18819  CXXFLAGS="$CXXFLAGS -std=gnu++11"
18820
18821  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18822$as_echo_n "checking for gets declaration... " >&6; }
18823if ${glibcxx_cv_gets+:} false; then :
18824  $as_echo_n "(cached) " >&6
18825else
18826
18827  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828/* end confdefs.h.  */
18829#include <stdio.h>
18830	   namespace test
18831	   {
18832              using ::gets;
18833	   }
18834
18835_ACEOF
18836if ac_fn_cxx_try_compile "$LINENO"; then :
18837  glibcxx_cv_gets=yes
18838else
18839  glibcxx_cv_gets=no
18840
18841fi
18842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18843fi
18844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18845$as_echo "$glibcxx_cv_gets" >&6; }
18846
18847  if test $glibcxx_cv_gets = yes; then
18848
18849$as_echo "#define HAVE_GETS 1" >>confdefs.h
18850
18851  fi
18852
18853  CXXFLAGS="$ac_save_CXXFLAGS"
18854  ac_ext=c
18855ac_cpp='$CPP $CPPFLAGS'
18856ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18857ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18858ac_compiler_gnu=$ac_cv_c_compiler_gnu
18859
18860
18861
18862
18863
18864  ac_ext=cpp
18865ac_cpp='$CXXCPP $CPPFLAGS'
18866ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18869
18870  ac_save_CXXFLAGS="$CXXFLAGS"
18871  CXXFLAGS="$CXXFLAGS -std=c++11"
18872
18873  case "$host" in
18874    *-*-solaris2.*)
18875      # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18876      # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18877      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18878$as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18879if ${glibcxx_cv_math11_fp_overload+:} false; then :
18880  $as_echo_n "(cached) " >&6
18881else
18882
18883	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884/* end confdefs.h.  */
18885#include <math.h>
18886	   #undef isfinite
18887	   namespace std {
18888	     inline bool isfinite(float __x)
18889	     { return __builtin_isfinite(__x); }
18890	   }
18891
18892_ACEOF
18893if ac_fn_cxx_try_compile "$LINENO"; then :
18894  glibcxx_cv_math11_fp_overload=no
18895else
18896  glibcxx_cv_math11_fp_overload=yes
18897
18898fi
18899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18900fi
18901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18902$as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18903
18904      # autoheader cannot handle indented templates.
18905
18906
18907      if test $glibcxx_cv_math11_fp_overload = yes; then
18908        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18909
18910      fi
18911
18912      # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18913      # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18914      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18915$as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18916if ${glibcxx_cv_math11_int_overload+:} false; then :
18917  $as_echo_n "(cached) " >&6
18918else
18919
18920	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921/* end confdefs.h.  */
18922#include <math.h>
18923	   namespace std {
18924	     template<typename _Tp>
18925	       struct __is_integer;
18926	     template<>
18927	       struct __is_integer<int>
18928	       {
18929	         enum { __value = 1 };
18930	       };
18931	   }
18932	   namespace __gnu_cxx {
18933	     template<bool, typename>
18934	       struct __enable_if;
18935	     template<typename _Tp>
18936	       struct __enable_if<true, _Tp>
18937	       { typedef _Tp __type; };
18938	   }
18939	   namespace std {
18940	     template<typename _Tp>
18941	       constexpr typename __gnu_cxx::__enable_if
18942	       		 <__is_integer<_Tp>::__value, double>::__type
18943	       log2(_Tp __x)
18944	       { return __builtin_log2(__x); }
18945	   }
18946	   int
18947	   main (void)
18948	   {
18949	     int i = 1000;
18950	     return std::log2(i);
18951	   }
18952
18953_ACEOF
18954if ac_fn_cxx_try_compile "$LINENO"; then :
18955  glibcxx_cv_math11_int_overload=no
18956else
18957  glibcxx_cv_math11_int_overload=yes
18958
18959fi
18960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961fi
18962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18963$as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18964
18965      # autoheader cannot handle indented templates.
18966
18967
18968      if test $glibcxx_cv_math11_int_overload = yes; then
18969        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18970
18971      fi
18972      ;;
18973    *)
18974      # If <math.h> defines the obsolete isinf(double) and isnan(double)
18975      # functions (instead of or as well as the C99 generic macros) then we
18976      # can't define std::isinf(double) and std::isnan(double) in <cmath>
18977      # and must use the ones from <math.h> instead.
18978	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18979$as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18980if ${glibcxx_cv_obsolete_isinf+:} false; then :
18981  $as_echo_n "(cached) " >&6
18982else
18983
18984          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985/* end confdefs.h.  */
18986#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18987             #include <math.h>
18988             #undef isinf
18989             namespace std {
18990               using ::isinf;
18991               bool isinf(float);
18992               bool isinf(long double);
18993             }
18994             using std::isinf;
18995             bool b = isinf(0.0);
18996
18997_ACEOF
18998if ac_fn_cxx_try_compile "$LINENO"; then :
18999  glibcxx_cv_obsolete_isinf=yes
19000else
19001  glibcxx_cv_obsolete_isinf=no
19002
19003fi
19004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19005fi
19006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19007$as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19008      if test $glibcxx_cv_obsolete_isinf = yes; then
19009
19010$as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19011
19012      fi
19013
19014	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19015$as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19016if ${glibcxx_cv_obsolete_isnan+:} false; then :
19017  $as_echo_n "(cached) " >&6
19018else
19019
19020          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19021/* end confdefs.h.  */
19022#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19023             #include <math.h>
19024             #undef isnan
19025             namespace std {
19026               using ::isnan;
19027               bool isnan(float);
19028               bool isnan(long double);
19029             }
19030             using std::isnan;
19031             bool b = isnan(0.0);
19032
19033_ACEOF
19034if ac_fn_cxx_try_compile "$LINENO"; then :
19035  glibcxx_cv_obsolete_isnan=yes
19036else
19037  glibcxx_cv_obsolete_isnan=no
19038
19039fi
19040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19041fi
19042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19043$as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19044      if test $glibcxx_cv_obsolete_isnan = yes; then
19045
19046$as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19047
19048      fi
19049      ;;
19050  esac
19051
19052  CXXFLAGS="$ac_save_CXXFLAGS"
19053  ac_ext=c
19054ac_cpp='$CPP $CPPFLAGS'
19055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19057ac_compiler_gnu=$ac_cv_c_compiler_gnu
19058
19059
19060
19061
19062  # Test uchar.h.
19063  for ac_header in uchar.h
19064do :
19065  ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19066if test "x$ac_cv_header_uchar_h" = xyes; then :
19067  cat >>confdefs.h <<_ACEOF
19068#define HAVE_UCHAR_H 1
19069_ACEOF
19070 ac_has_uchar_h=yes
19071else
19072  ac_has_uchar_h=no
19073fi
19074
19075done
19076
19077
19078
19079  ac_ext=cpp
19080ac_cpp='$CXXCPP $CPPFLAGS'
19081ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19084
19085  ac_save_CXXFLAGS="$CXXFLAGS"
19086  CXXFLAGS="$CXXFLAGS -std=c++11"
19087
19088  if test x"$ac_has_uchar_h" = x"yes"; then
19089    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19090$as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19091    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19092/* end confdefs.h.  */
19093#include <uchar.h>
19094		    #ifdef __STDC_UTF_16__
19095		    long i = __STDC_UTF_16__;
19096		    #endif
19097		    #ifdef __STDC_UTF_32__
19098		    long j = __STDC_UTF_32__;
19099		    #endif
19100		    namespace test
19101		    {
19102		      using ::c16rtomb;
19103		      using ::c32rtomb;
19104		      using ::mbrtoc16;
19105		      using ::mbrtoc32;
19106		    }
19107
19108int
19109main ()
19110{
19111
19112  ;
19113  return 0;
19114}
19115_ACEOF
19116if ac_fn_cxx_try_compile "$LINENO"; then :
19117  ac_c11_uchar_cxx11=yes
19118else
19119  ac_c11_uchar_cxx11=no
19120fi
19121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19122    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19123$as_echo "$ac_c11_uchar_cxx11" >&6; }
19124  else
19125    ac_c11_uchar_cxx11=no
19126  fi
19127  if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19128
19129$as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19130
19131  fi
19132
19133  CXXFLAGS="$ac_save_CXXFLAGS"
19134  ac_ext=c
19135ac_cpp='$CPP $CPPFLAGS'
19136ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19137ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19138ac_compiler_gnu=$ac_cv_c_compiler_gnu
19139
19140
19141
19142# For LFS support.
19143
19144
19145  ac_ext=cpp
19146ac_cpp='$CXXCPP $CPPFLAGS'
19147ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19148ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19149ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19150
19151  ac_save_CXXFLAGS="$CXXFLAGS"
19152  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19154$as_echo_n "checking for LFS support... " >&6; }
19155if ${glibcxx_cv_LFS+:} false; then :
19156  $as_echo_n "(cached) " >&6
19157else
19158
19159    if test x$gcc_no_link = xyes; then
19160  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19161/* end confdefs.h.  */
19162#include <unistd.h>
19163       #include <stdio.h>
19164       #include <sys/stat.h>
19165
19166int
19167main ()
19168{
19169FILE* fp;
19170       fopen64("t", "w");
19171       fseeko64(fp, 0, SEEK_CUR);
19172       ftello64(fp);
19173       lseek64(1, 0, SEEK_CUR);
19174       struct stat64 buf;
19175       fstat64(1, &buf);
19176  ;
19177  return 0;
19178}
19179_ACEOF
19180if ac_fn_cxx_try_compile "$LINENO"; then :
19181  glibcxx_cv_LFS=yes
19182else
19183  glibcxx_cv_LFS=no
19184fi
19185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19186else
19187  if test x$gcc_no_link = xyes; then
19188  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19189fi
19190cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19191/* end confdefs.h.  */
19192#include <unistd.h>
19193       #include <stdio.h>
19194       #include <sys/stat.h>
19195
19196int
19197main ()
19198{
19199FILE* fp;
19200       fopen64("t", "w");
19201       fseeko64(fp, 0, SEEK_CUR);
19202       ftello64(fp);
19203       lseek64(1, 0, SEEK_CUR);
19204       struct stat64 buf;
19205       fstat64(1, &buf);
19206  ;
19207  return 0;
19208}
19209_ACEOF
19210if ac_fn_cxx_try_link "$LINENO"; then :
19211  glibcxx_cv_LFS=yes
19212else
19213  glibcxx_cv_LFS=no
19214fi
19215rm -f core conftest.err conftest.$ac_objext \
19216    conftest$ac_exeext conftest.$ac_ext
19217fi
19218
19219fi
19220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19221$as_echo "$glibcxx_cv_LFS" >&6; }
19222  if test $glibcxx_cv_LFS = yes; then
19223
19224$as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19225
19226  fi
19227  CXXFLAGS="$ac_save_CXXFLAGS"
19228  ac_ext=c
19229ac_cpp='$CPP $CPPFLAGS'
19230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19232ac_compiler_gnu=$ac_cv_c_compiler_gnu
19233
19234
19235
19236# For showmanyc_helper().
19237for ac_header in sys/ioctl.h sys/filio.h
19238do :
19239  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19240ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19241if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19242  cat >>confdefs.h <<_ACEOF
19243#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19244_ACEOF
19245
19246fi
19247
19248done
19249
19250
19251
19252
19253  ac_ext=cpp
19254ac_cpp='$CXXCPP $CPPFLAGS'
19255ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19256ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19257ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19258
19259  ac_save_CXXFLAGS="$CXXFLAGS"
19260  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19261
19262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19263$as_echo_n "checking for poll... " >&6; }
19264if ${glibcxx_cv_POLL+:} false; then :
19265  $as_echo_n "(cached) " >&6
19266else
19267
19268    if test x$gcc_no_link = xyes; then
19269  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270/* end confdefs.h.  */
19271#include <poll.h>
19272int
19273main ()
19274{
19275struct pollfd pfd[1];
19276       pfd[0].events = POLLIN;
19277       poll(pfd, 1, 0);
19278  ;
19279  return 0;
19280}
19281_ACEOF
19282if ac_fn_cxx_try_compile "$LINENO"; then :
19283  glibcxx_cv_POLL=yes
19284else
19285  glibcxx_cv_POLL=no
19286fi
19287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19288else
19289  if test x$gcc_no_link = xyes; then
19290  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19291fi
19292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293/* end confdefs.h.  */
19294#include <poll.h>
19295int
19296main ()
19297{
19298struct pollfd pfd[1];
19299       pfd[0].events = POLLIN;
19300       poll(pfd, 1, 0);
19301  ;
19302  return 0;
19303}
19304_ACEOF
19305if ac_fn_cxx_try_link "$LINENO"; then :
19306  glibcxx_cv_POLL=yes
19307else
19308  glibcxx_cv_POLL=no
19309fi
19310rm -f core conftest.err conftest.$ac_objext \
19311    conftest$ac_exeext conftest.$ac_ext
19312fi
19313
19314fi
19315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19316$as_echo "$glibcxx_cv_POLL" >&6; }
19317  if test $glibcxx_cv_POLL = yes; then
19318
19319$as_echo "#define HAVE_POLL 1" >>confdefs.h
19320
19321  fi
19322
19323  CXXFLAGS="$ac_save_CXXFLAGS"
19324  ac_ext=c
19325ac_cpp='$CPP $CPPFLAGS'
19326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19328ac_compiler_gnu=$ac_cv_c_compiler_gnu
19329
19330
19331
19332
19333
19334  ac_ext=cpp
19335ac_cpp='$CXXCPP $CPPFLAGS'
19336ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19337ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19338ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19339
19340  ac_save_CXXFLAGS="$CXXFLAGS"
19341  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19342
19343  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19344$as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19345  if ${glibcxx_cv_S_ISREG+:} false; then :
19346  $as_echo_n "(cached) " >&6
19347else
19348
19349    if test x$gcc_no_link = xyes; then
19350  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19351/* end confdefs.h.  */
19352#include <sys/stat.h>
19353int
19354main ()
19355{
19356struct stat buffer;
19357       fstat(0, &buffer);
19358       S_ISREG(buffer.st_mode);
19359  ;
19360  return 0;
19361}
19362_ACEOF
19363if ac_fn_cxx_try_compile "$LINENO"; then :
19364  glibcxx_cv_S_ISREG=yes
19365else
19366  glibcxx_cv_S_ISREG=no
19367fi
19368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369else
19370  if test x$gcc_no_link = xyes; then
19371  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19372fi
19373cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374/* end confdefs.h.  */
19375#include <sys/stat.h>
19376int
19377main ()
19378{
19379struct stat buffer;
19380       fstat(0, &buffer);
19381       S_ISREG(buffer.st_mode);
19382  ;
19383  return 0;
19384}
19385_ACEOF
19386if ac_fn_cxx_try_link "$LINENO"; then :
19387  glibcxx_cv_S_ISREG=yes
19388else
19389  glibcxx_cv_S_ISREG=no
19390fi
19391rm -f core conftest.err conftest.$ac_objext \
19392    conftest$ac_exeext conftest.$ac_ext
19393fi
19394
19395fi
19396
19397  if ${glibcxx_cv_S_IFREG+:} false; then :
19398  $as_echo_n "(cached) " >&6
19399else
19400
19401    if test x$gcc_no_link = xyes; then
19402  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19403/* end confdefs.h.  */
19404#include <sys/stat.h>
19405int
19406main ()
19407{
19408struct stat buffer;
19409       fstat(0, &buffer);
19410       S_IFREG & buffer.st_mode;
19411  ;
19412  return 0;
19413}
19414_ACEOF
19415if ac_fn_cxx_try_compile "$LINENO"; then :
19416  glibcxx_cv_S_IFREG=yes
19417else
19418  glibcxx_cv_S_IFREG=no
19419fi
19420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19421else
19422  if test x$gcc_no_link = xyes; then
19423  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19424fi
19425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426/* end confdefs.h.  */
19427#include <sys/stat.h>
19428int
19429main ()
19430{
19431struct stat buffer;
19432       fstat(0, &buffer);
19433       S_IFREG & buffer.st_mode;
19434  ;
19435  return 0;
19436}
19437_ACEOF
19438if ac_fn_cxx_try_link "$LINENO"; then :
19439  glibcxx_cv_S_IFREG=yes
19440else
19441  glibcxx_cv_S_IFREG=no
19442fi
19443rm -f core conftest.err conftest.$ac_objext \
19444    conftest$ac_exeext conftest.$ac_ext
19445fi
19446
19447fi
19448
19449  res=no
19450  if test $glibcxx_cv_S_ISREG = yes; then
19451
19452$as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19453
19454    res=S_ISREG
19455  elif test $glibcxx_cv_S_IFREG = yes; then
19456
19457$as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19458
19459    res=S_IFREG
19460  fi
19461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19462$as_echo "$res" >&6; }
19463
19464  CXXFLAGS="$ac_save_CXXFLAGS"
19465  ac_ext=c
19466ac_cpp='$CPP $CPPFLAGS'
19467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469ac_compiler_gnu=$ac_cv_c_compiler_gnu
19470
19471
19472
19473# For xsputn_2().
19474for ac_header in sys/uio.h
19475do :
19476  ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19477if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19478  cat >>confdefs.h <<_ACEOF
19479#define HAVE_SYS_UIO_H 1
19480_ACEOF
19481
19482fi
19483
19484done
19485
19486
19487
19488
19489  ac_ext=cpp
19490ac_cpp='$CXXCPP $CPPFLAGS'
19491ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19492ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19493ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19494
19495  ac_save_CXXFLAGS="$CXXFLAGS"
19496  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19497
19498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19499$as_echo_n "checking for writev... " >&6; }
19500if ${glibcxx_cv_WRITEV+:} false; then :
19501  $as_echo_n "(cached) " >&6
19502else
19503
19504    if test x$gcc_no_link = xyes; then
19505  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506/* end confdefs.h.  */
19507#include <sys/uio.h>
19508int
19509main ()
19510{
19511struct iovec iov[2];
19512       writev(0, iov, 0);
19513  ;
19514  return 0;
19515}
19516_ACEOF
19517if ac_fn_cxx_try_compile "$LINENO"; then :
19518  glibcxx_cv_WRITEV=yes
19519else
19520  glibcxx_cv_WRITEV=no
19521fi
19522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523else
19524  if test x$gcc_no_link = xyes; then
19525  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19526fi
19527cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528/* end confdefs.h.  */
19529#include <sys/uio.h>
19530int
19531main ()
19532{
19533struct iovec iov[2];
19534       writev(0, iov, 0);
19535  ;
19536  return 0;
19537}
19538_ACEOF
19539if ac_fn_cxx_try_link "$LINENO"; then :
19540  glibcxx_cv_WRITEV=yes
19541else
19542  glibcxx_cv_WRITEV=no
19543fi
19544rm -f core conftest.err conftest.$ac_objext \
19545    conftest$ac_exeext conftest.$ac_ext
19546fi
19547
19548fi
19549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19550$as_echo "$glibcxx_cv_WRITEV" >&6; }
19551  if test $glibcxx_cv_WRITEV = yes; then
19552
19553$as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19554
19555  fi
19556
19557  CXXFLAGS="$ac_save_CXXFLAGS"
19558  ac_ext=c
19559ac_cpp='$CPP $CPPFLAGS'
19560ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19561ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19562ac_compiler_gnu=$ac_cv_c_compiler_gnu
19563
19564
19565
19566# Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19567# so that the check is done with the C compiler (not C++).
19568# Checking with C++ can break a canadian cross build if either
19569# file does not exist in C but does in C++.
19570for ac_header in fenv.h complex.h
19571do :
19572  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19573ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19574if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19575  cat >>confdefs.h <<_ACEOF
19576#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19577_ACEOF
19578
19579fi
19580
19581done
19582
19583
19584# For C99 support to TR1.
19585
19586
19587
19588  ac_ext=cpp
19589ac_cpp='$CXXCPP $CPPFLAGS'
19590ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19591ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19592ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19593
19594
19595  # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19596  # undefined and fake C99 facilities may be spuriously enabled.
19597  ac_save_CXXFLAGS="$CXXFLAGS"
19598  CXXFLAGS="$CXXFLAGS -std=c++98"
19599
19600  # Check for the existence of <complex.h> complex math functions used
19601  # by tr1/complex.
19602  for ac_header in complex.h
19603do :
19604  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19605if test "x$ac_cv_header_complex_h" = xyes; then :
19606  cat >>confdefs.h <<_ACEOF
19607#define HAVE_COMPLEX_H 1
19608_ACEOF
19609 ac_has_complex_h=yes
19610else
19611  ac_has_complex_h=no
19612fi
19613
19614done
19615
19616  ac_c99_complex_tr1=no;
19617  if test x"$ac_has_complex_h" = x"yes"; then
19618    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19619$as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19620    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19621/* end confdefs.h.  */
19622#include <complex.h>
19623int
19624main ()
19625{
19626typedef __complex__ float float_type; float_type tmpf;
19627		    cacosf(tmpf);
19628		    casinf(tmpf);
19629		    catanf(tmpf);
19630		    cacoshf(tmpf);
19631		    casinhf(tmpf);
19632		    catanhf(tmpf);
19633		    typedef __complex__ double double_type; double_type tmpd;
19634		    cacos(tmpd);
19635		    casin(tmpd);
19636		    catan(tmpd);
19637		    cacosh(tmpd);
19638		    casinh(tmpd);
19639		    catanh(tmpd);
19640		    typedef __complex__ long double ld_type; ld_type tmpld;
19641		    cacosl(tmpld);
19642		    casinl(tmpld);
19643		    catanl(tmpld);
19644		    cacoshl(tmpld);
19645		    casinhl(tmpld);
19646		    catanhl(tmpld);
19647
19648  ;
19649  return 0;
19650}
19651_ACEOF
19652if ac_fn_cxx_try_compile "$LINENO"; then :
19653  ac_c99_complex_tr1=yes
19654else
19655  ac_c99_complex_tr1=no
19656fi
19657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19658  fi
19659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19660$as_echo "$ac_c99_complex_tr1" >&6; }
19661  if test x"$ac_c99_complex_tr1" = x"yes"; then
19662
19663$as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19664
19665  fi
19666
19667  # Check for the existence of <ctype.h> functions.
19668  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19669$as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19670if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19671  $as_echo_n "(cached) " >&6
19672else
19673
19674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675/* end confdefs.h.  */
19676#include <ctype.h>
19677int
19678main ()
19679{
19680int ch;
19681		  int ret;
19682		  ret = isblank(ch);
19683
19684  ;
19685  return 0;
19686}
19687_ACEOF
19688if ac_fn_cxx_try_compile "$LINENO"; then :
19689  glibcxx_cv_c99_ctype_tr1=yes
19690else
19691  glibcxx_cv_c99_ctype_tr1=no
19692fi
19693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19694
19695fi
19696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19697$as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19698  if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19699
19700$as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19701
19702  fi
19703
19704  # Check for the existence of <fenv.h> functions.
19705  for ac_header in fenv.h
19706do :
19707  ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19708if test "x$ac_cv_header_fenv_h" = xyes; then :
19709  cat >>confdefs.h <<_ACEOF
19710#define HAVE_FENV_H 1
19711_ACEOF
19712 ac_has_fenv_h=yes
19713else
19714  ac_has_fenv_h=no
19715fi
19716
19717done
19718
19719  ac_c99_fenv_tr1=no;
19720  if test x"$ac_has_fenv_h" = x"yes"; then
19721    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19722$as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19723    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19724/* end confdefs.h.  */
19725#include <fenv.h>
19726int
19727main ()
19728{
19729int except, mode;
19730		    fexcept_t* pflag;
19731		    fenv_t* penv;
19732		    int ret;
19733		    ret = feclearexcept(except);
19734		    ret = fegetexceptflag(pflag, except);
19735		    ret = feraiseexcept(except);
19736		    ret = fesetexceptflag(pflag, except);
19737		    ret = fetestexcept(except);
19738		    ret = fegetround();
19739		    ret = fesetround(mode);
19740		    ret = fegetenv(penv);
19741		    ret = feholdexcept(penv);
19742		    ret = fesetenv(penv);
19743		    ret = feupdateenv(penv);
19744
19745  ;
19746  return 0;
19747}
19748_ACEOF
19749if ac_fn_cxx_try_compile "$LINENO"; then :
19750  ac_c99_fenv_tr1=yes
19751else
19752  ac_c99_fenv_tr1=no
19753fi
19754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19755    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19756$as_echo "$ac_c99_fenv_tr1" >&6; }
19757  fi
19758  if test x"$ac_c99_fenv_tr1" = x"yes"; then
19759
19760$as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19761
19762  fi
19763
19764  # Check for the existence of <stdint.h> types.
19765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19766$as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19767if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19768  $as_echo_n "(cached) " >&6
19769else
19770
19771  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19772/* end confdefs.h.  */
19773#define __STDC_LIMIT_MACROS
19774		  #define __STDC_CONSTANT_MACROS
19775		  #include <stdint.h>
19776int
19777main ()
19778{
19779typedef int8_t          my_int8_t;
19780		  my_int8_t               i8 = INT8_MIN;
19781		  i8 = INT8_MAX;
19782		  typedef int16_t         my_int16_t;
19783		  my_int16_t              i16 = INT16_MIN;
19784		  i16 = INT16_MAX;
19785		  typedef int32_t         my_int32_t;
19786		  my_int32_t              i32 = INT32_MIN;
19787		  i32 = INT32_MAX;
19788		  typedef int64_t         my_int64_t;
19789		  my_int64_t              i64 = INT64_MIN;
19790		  i64 = INT64_MAX;
19791		  typedef int_fast8_t     my_int_fast8_t;
19792		  my_int_fast8_t          if8 = INT_FAST8_MIN;
19793		  if8 = INT_FAST8_MAX;
19794		  typedef int_fast16_t    my_int_fast16_t;
19795		  my_int_fast16_t         if16 = INT_FAST16_MIN;
19796		  if16 = INT_FAST16_MAX;
19797		  typedef int_fast32_t    my_int_fast32_t;
19798		  my_int_fast32_t         if32 = INT_FAST32_MIN;
19799		  if32 = INT_FAST32_MAX;
19800		  typedef int_fast64_t    my_int_fast64_t;
19801		  my_int_fast64_t         if64 = INT_FAST64_MIN;
19802		  if64 = INT_FAST64_MAX;
19803		  typedef int_least8_t    my_int_least8_t;
19804		  my_int_least8_t         il8 = INT_LEAST8_MIN;
19805		  il8 = INT_LEAST8_MAX;
19806		  typedef int_least16_t   my_int_least16_t;
19807		  my_int_least16_t        il16 = INT_LEAST16_MIN;
19808		  il16 = INT_LEAST16_MAX;
19809		  typedef int_least32_t   my_int_least32_t;
19810		  my_int_least32_t        il32 = INT_LEAST32_MIN;
19811		  il32 = INT_LEAST32_MAX;
19812		  typedef int_least64_t   my_int_least64_t;
19813		  my_int_least64_t        il64 = INT_LEAST64_MIN;
19814		  il64 = INT_LEAST64_MAX;
19815		  typedef intmax_t        my_intmax_t;
19816		  my_intmax_t             im = INTMAX_MAX;
19817		  im = INTMAX_MIN;
19818		  typedef intptr_t        my_intptr_t;
19819		  my_intptr_t             ip = INTPTR_MAX;
19820		  ip = INTPTR_MIN;
19821		  typedef uint8_t         my_uint8_t;
19822		  my_uint8_t              ui8 = UINT8_MAX;
19823		  ui8 = UINT8_MAX;
19824		  typedef uint16_t        my_uint16_t;
19825		  my_uint16_t             ui16 = UINT16_MAX;
19826		  ui16 = UINT16_MAX;
19827		  typedef uint32_t        my_uint32_t;
19828		  my_uint32_t             ui32 = UINT32_MAX;
19829		  ui32 = UINT32_MAX;
19830		  typedef uint64_t        my_uint64_t;
19831		  my_uint64_t             ui64 = UINT64_MAX;
19832		  ui64 = UINT64_MAX;
19833		  typedef uint_fast8_t    my_uint_fast8_t;
19834		  my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
19835		  uif8 = UINT_FAST8_MAX;
19836		  typedef uint_fast16_t   my_uint_fast16_t;
19837		  my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
19838		  uif16 = UINT_FAST16_MAX;
19839		  typedef uint_fast32_t   my_uint_fast32_t;
19840		  my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
19841		  uif32 = UINT_FAST32_MAX;
19842		  typedef uint_fast64_t   my_uint_fast64_t;
19843		  my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
19844		  uif64 = UINT_FAST64_MAX;
19845		  typedef uint_least8_t   my_uint_least8_t;
19846		  my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
19847		  uil8 = UINT_LEAST8_MAX;
19848		  typedef uint_least16_t  my_uint_least16_t;
19849		  my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
19850		  uil16 = UINT_LEAST16_MAX;
19851		  typedef uint_least32_t  my_uint_least32_t;
19852		  my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
19853		  uil32 = UINT_LEAST32_MAX;
19854		  typedef uint_least64_t  my_uint_least64_t;
19855		  my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
19856		  uil64 = UINT_LEAST64_MAX;
19857		  typedef uintmax_t       my_uintmax_t;
19858		  my_uintmax_t            uim = UINTMAX_MAX;
19859		  uim = UINTMAX_MAX;
19860		  typedef uintptr_t       my_uintptr_t;
19861		  my_uintptr_t            uip = UINTPTR_MAX;
19862		  uip = UINTPTR_MAX;
19863
19864  ;
19865  return 0;
19866}
19867_ACEOF
19868if ac_fn_cxx_try_compile "$LINENO"; then :
19869  glibcxx_cv_c99_stdint_tr1=yes
19870else
19871  glibcxx_cv_c99_stdint_tr1=no
19872fi
19873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19874
19875fi
19876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19877$as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19878  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19879
19880$as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19881
19882  fi
19883
19884  # Check for the existence of <math.h> functions.
19885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19886$as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19887if ${glibcxx_cv_c99_math_tr1+:} false; then :
19888  $as_echo_n "(cached) " >&6
19889else
19890
19891  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892/* end confdefs.h.  */
19893#include <math.h>
19894int
19895main ()
19896{
19897typedef double_t  my_double_t;
19898		  typedef float_t   my_float_t;
19899		  acosh(0.0);
19900		  acoshf(0.0f);
19901		  acoshl(0.0l);
19902		  asinh(0.0);
19903		  asinhf(0.0f);
19904		  asinhl(0.0l);
19905		  atanh(0.0);
19906		  atanhf(0.0f);
19907		  atanhl(0.0l);
19908		  cbrt(0.0);
19909		  cbrtf(0.0f);
19910		  cbrtl(0.0l);
19911		  copysign(0.0, 0.0);
19912		  copysignf(0.0f, 0.0f);
19913		  copysignl(0.0l, 0.0l);
19914		  erf(0.0);
19915		  erff(0.0f);
19916		  erfl(0.0l);
19917		  erfc(0.0);
19918		  erfcf(0.0f);
19919		  erfcl(0.0l);
19920		  exp2(0.0);
19921		  exp2f(0.0f);
19922		  exp2l(0.0l);
19923		  expm1(0.0);
19924		  expm1f(0.0f);
19925		  expm1l(0.0l);
19926		  fdim(0.0, 0.0);
19927		  fdimf(0.0f, 0.0f);
19928		  fdiml(0.0l, 0.0l);
19929		  fma(0.0, 0.0, 0.0);
19930		  fmaf(0.0f, 0.0f, 0.0f);
19931		  fmal(0.0l, 0.0l, 0.0l);
19932		  fmax(0.0, 0.0);
19933		  fmaxf(0.0f, 0.0f);
19934		  fmaxl(0.0l, 0.0l);
19935		  fmin(0.0, 0.0);
19936		  fminf(0.0f, 0.0f);
19937		  fminl(0.0l, 0.0l);
19938		  hypot(0.0, 0.0);
19939		  hypotf(0.0f, 0.0f);
19940		  hypotl(0.0l, 0.0l);
19941		  ilogb(0.0);
19942		  ilogbf(0.0f);
19943		  ilogbl(0.0l);
19944		  lgamma(0.0);
19945		  lgammaf(0.0f);
19946		  lgammal(0.0l);
19947		  #ifndef __APPLE__ /* see below */
19948		  llrint(0.0);
19949		  llrintf(0.0f);
19950		  llrintl(0.0l);
19951		  llround(0.0);
19952		  llroundf(0.0f);
19953		  llroundl(0.0l);
19954		  #endif
19955		  log1p(0.0);
19956		  log1pf(0.0f);
19957		  log1pl(0.0l);
19958		  log2(0.0);
19959		  log2f(0.0f);
19960		  log2l(0.0l);
19961		  logb(0.0);
19962		  logbf(0.0f);
19963		  logbl(0.0l);
19964		  lrint(0.0);
19965		  lrintf(0.0f);
19966		  lrintl(0.0l);
19967		  lround(0.0);
19968		  lroundf(0.0f);
19969		  lroundl(0.0l);
19970		  nan(0);
19971		  nanf(0);
19972		  nanl(0);
19973		  nearbyint(0.0);
19974		  nearbyintf(0.0f);
19975		  nearbyintl(0.0l);
19976		  nextafter(0.0, 0.0);
19977		  nextafterf(0.0f, 0.0f);
19978		  nextafterl(0.0l, 0.0l);
19979		  nexttoward(0.0, 0.0);
19980		  nexttowardf(0.0f, 0.0f);
19981		  nexttowardl(0.0l, 0.0l);
19982		  remainder(0.0, 0.0);
19983		  remainderf(0.0f, 0.0f);
19984		  remainderl(0.0l, 0.0l);
19985		  remquo(0.0, 0.0, 0);
19986		  remquof(0.0f, 0.0f, 0);
19987		  remquol(0.0l, 0.0l, 0);
19988		  rint(0.0);
19989		  rintf(0.0f);
19990		  rintl(0.0l);
19991		  round(0.0);
19992		  roundf(0.0f);
19993		  roundl(0.0l);
19994		  scalbln(0.0, 0l);
19995		  scalblnf(0.0f, 0l);
19996		  scalblnl(0.0l, 0l);
19997		  scalbn(0.0, 0);
19998		  scalbnf(0.0f, 0);
19999		  scalbnl(0.0l, 0);
20000		  tgamma(0.0);
20001		  tgammaf(0.0f);
20002		  tgammal(0.0l);
20003		  trunc(0.0);
20004		  truncf(0.0f);
20005		  truncl(0.0l);
20006
20007  ;
20008  return 0;
20009}
20010_ACEOF
20011if ac_fn_cxx_try_compile "$LINENO"; then :
20012  glibcxx_cv_c99_math_tr1=yes
20013else
20014  glibcxx_cv_c99_math_tr1=no
20015fi
20016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20017
20018fi
20019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20020$as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20021  if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20022
20023$as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20024
20025
20026    case "${target_os}" in
20027      darwin*)
20028	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20029$as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20030if ${glibcxx_cv_c99_math_llround+:} false; then :
20031  $as_echo_n "(cached) " >&6
20032else
20033
20034          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20035/* end confdefs.h.  */
20036#include <math.h>
20037int
20038main ()
20039{
20040llrint(0.0);
20041		  llrintf(0.0f);
20042		  llrintl(0.0l);
20043		  llround(0.0);
20044		  llroundf(0.0f);
20045		  llroundl(0.0l);
20046
20047  ;
20048  return 0;
20049}
20050_ACEOF
20051if ac_fn_cxx_try_compile "$LINENO"; then :
20052  glibcxx_cv_c99_math_llround=yes
20053else
20054  glibcxx_cv_c99_math_llround=no
20055fi
20056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20057
20058fi
20059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20060$as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20061        ;;
20062    esac
20063    if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20064
20065$as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20066
20067    fi
20068  fi
20069
20070  # Check for the existence of <inttypes.h> functions (NB: doesn't make
20071  # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20072  ac_c99_inttypes_tr1=no;
20073  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20074    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20075$as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20076    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20077/* end confdefs.h.  */
20078#include <inttypes.h>
20079int
20080main ()
20081{
20082intmax_t i, numer, denom, base;
20083		    const char* s;
20084		    char** endptr;
20085		    intmax_t ret = imaxabs(i);
20086		    imaxdiv_t dret = imaxdiv(numer, denom);
20087		    ret = strtoimax(s, endptr, base);
20088		    uintmax_t uret = strtoumax(s, endptr, base);
20089
20090  ;
20091  return 0;
20092}
20093_ACEOF
20094if ac_fn_cxx_try_compile "$LINENO"; then :
20095  ac_c99_inttypes_tr1=yes
20096else
20097  ac_c99_inttypes_tr1=no
20098fi
20099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20100    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20101$as_echo "$ac_c99_inttypes_tr1" >&6; }
20102  fi
20103  if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20104
20105$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20106
20107  fi
20108
20109  # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20110  # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20111  ac_c99_inttypes_wchar_t_tr1=no;
20112  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20113    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20114$as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20115    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20116/* end confdefs.h.  */
20117#include <inttypes.h>
20118int
20119main ()
20120{
20121intmax_t base;
20122		    const wchar_t* s;
20123		    wchar_t** endptr;
20124		    intmax_t ret = wcstoimax(s, endptr, base);
20125		    uintmax_t uret = wcstoumax(s, endptr, base);
20126
20127  ;
20128  return 0;
20129}
20130_ACEOF
20131if ac_fn_cxx_try_compile "$LINENO"; then :
20132  ac_c99_inttypes_wchar_t_tr1=yes
20133else
20134  ac_c99_inttypes_wchar_t_tr1=no
20135fi
20136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20138$as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20139  fi
20140  if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20141
20142$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20143
20144  fi
20145
20146  # Check for the existence of the <stdbool.h> header.
20147  for ac_header in stdbool.h
20148do :
20149  ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20150if test "x$ac_cv_header_stdbool_h" = xyes; then :
20151  cat >>confdefs.h <<_ACEOF
20152#define HAVE_STDBOOL_H 1
20153_ACEOF
20154
20155fi
20156
20157done
20158
20159
20160  # Check for the existence of the <stdalign.h> header.
20161  for ac_header in stdalign.h
20162do :
20163  ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20164if test "x$ac_cv_header_stdalign_h" = xyes; then :
20165  cat >>confdefs.h <<_ACEOF
20166#define HAVE_STDALIGN_H 1
20167_ACEOF
20168
20169fi
20170
20171done
20172
20173
20174  CXXFLAGS="$ac_save_CXXFLAGS"
20175  ac_ext=c
20176ac_cpp='$CPP $CPPFLAGS'
20177ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20178ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20179ac_compiler_gnu=$ac_cv_c_compiler_gnu
20180
20181
20182
20183# For the EOF, SEEK_CUR, and SEEK_END integer constants.
20184
20185
20186  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20187$as_echo_n "checking for the value of EOF... " >&6; }
20188if ${glibcxx_cv_stdio_eof+:} false; then :
20189  $as_echo_n "(cached) " >&6
20190else
20191
20192  if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
20193
20194else
20195  as_fn_error $? "computing EOF failed" "$LINENO" 5
20196fi
20197
20198
20199fi
20200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20201$as_echo "$glibcxx_cv_stdio_eof" >&6; }
20202
20203cat >>confdefs.h <<_ACEOF
20204#define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20205_ACEOF
20206
20207
20208  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20209$as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20210if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20211  $as_echo_n "(cached) " >&6
20212else
20213
20214  if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
20215
20216else
20217  as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20218fi
20219
20220
20221fi
20222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20223$as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20224
20225cat >>confdefs.h <<_ACEOF
20226#define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20227_ACEOF
20228
20229
20230  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20231$as_echo_n "checking for the value of SEEK_END... " >&6; }
20232if ${glibcxx_cv_stdio_seek_end+:} false; then :
20233  $as_echo_n "(cached) " >&6
20234else
20235
20236  if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
20237
20238else
20239  as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20240fi
20241
20242
20243fi
20244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20245$as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20246
20247cat >>confdefs.h <<_ACEOF
20248#define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20249_ACEOF
20250
20251
20252
20253# For gettimeofday support.
20254
20255
20256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20257$as_echo_n "checking for gettimeofday... " >&6; }
20258
20259
20260  ac_ext=cpp
20261ac_cpp='$CXXCPP $CPPFLAGS'
20262ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20263ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20264ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20265
20266  ac_save_CXXFLAGS="$CXXFLAGS"
20267  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20268
20269  ac_has_gettimeofday=no;
20270  for ac_header in sys/time.h
20271do :
20272  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20273if test "x$ac_cv_header_sys_time_h" = xyes; then :
20274  cat >>confdefs.h <<_ACEOF
20275#define HAVE_SYS_TIME_H 1
20276_ACEOF
20277 ac_has_sys_time_h=yes
20278else
20279  ac_has_sys_time_h=no
20280fi
20281
20282done
20283
20284  if test x"$ac_has_sys_time_h" = x"yes"; then
20285    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20286$as_echo_n "checking for gettimeofday... " >&6; }
20287    if test x$gcc_no_link = xyes; then
20288  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20289/* end confdefs.h.  */
20290#include <sys/time.h>
20291int
20292main ()
20293{
20294timeval tv; gettimeofday(&tv, 0);
20295  ;
20296  return 0;
20297}
20298_ACEOF
20299if ac_fn_cxx_try_compile "$LINENO"; then :
20300  ac_has_gettimeofday=yes
20301else
20302  ac_has_gettimeofday=no
20303fi
20304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20305else
20306  if test x$gcc_no_link = xyes; then
20307  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20308fi
20309cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20310/* end confdefs.h.  */
20311#include <sys/time.h>
20312int
20313main ()
20314{
20315timeval tv; gettimeofday(&tv, 0);
20316  ;
20317  return 0;
20318}
20319_ACEOF
20320if ac_fn_cxx_try_link "$LINENO"; then :
20321  ac_has_gettimeofday=yes
20322else
20323  ac_has_gettimeofday=no
20324fi
20325rm -f core conftest.err conftest.$ac_objext \
20326    conftest$ac_exeext conftest.$ac_ext
20327fi
20328
20329    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20330$as_echo "$ac_has_gettimeofday" >&6; }
20331  fi
20332
20333  if test x"$ac_has_gettimeofday" = x"yes"; then
20334
20335$as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20336
20337  fi
20338
20339  CXXFLAGS="$ac_save_CXXFLAGS"
20340  ac_ext=c
20341ac_cpp='$CPP $CPPFLAGS'
20342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20344ac_compiler_gnu=$ac_cv_c_compiler_gnu
20345
20346
20347
20348# For clock_gettime, nanosleep and sched_yield support.
20349
20350
20351   # Check whether --enable-libstdcxx-time was given.
20352if test "${enable_libstdcxx_time+set}" = set; then :
20353  enableval=$enable_libstdcxx_time;
20354      case "$enableval" in
20355       yes|no|rt) ;;
20356       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20357	  	        esac
20358
20359else
20360  enable_libstdcxx_time=auto
20361fi
20362
20363
20364
20365
20366  ac_ext=cpp
20367ac_cpp='$CXXCPP $CPPFLAGS'
20368ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20369ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20370ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20371
20372  ac_save_CXXFLAGS="$CXXFLAGS"
20373  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20374  ac_save_LIBS="$LIBS"
20375
20376  ac_has_clock_monotonic=no
20377  ac_has_clock_realtime=no
20378  ac_has_nanosleep=no
20379  ac_has_sched_yield=no
20380
20381  if test x"$enable_libstdcxx_time" = x"auto"; then
20382
20383    case "${target_os}" in
20384      cygwin*)
20385        ac_has_nanosleep=yes
20386        ;;
20387      darwin*)
20388        ac_has_nanosleep=yes
20389        ac_has_sched_yield=yes
20390        ;;
20391      # VxWorks has nanosleep as soon as the kernel is configured with
20392      # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20393      vxworks*)
20394        ac_has_nanosleep=yes
20395        ;;
20396      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20397        # Don't use link test for freestanding library, in case gcc_no_link=yes
20398        if test x"$is_hosted" = xyes; then
20399          # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20400          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20401$as_echo_n "checking for library containing clock_gettime... " >&6; }
20402if ${ac_cv_search_clock_gettime+:} false; then :
20403  $as_echo_n "(cached) " >&6
20404else
20405  ac_func_search_save_LIBS=$LIBS
20406cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20407/* end confdefs.h.  */
20408
20409/* Override any GCC internal prototype to avoid an error.
20410   Use char because int might match the return type of a GCC
20411   builtin and then its argument prototype would still apply.  */
20412#ifdef __cplusplus
20413extern "C"
20414#endif
20415char clock_gettime ();
20416int
20417main ()
20418{
20419return clock_gettime ();
20420  ;
20421  return 0;
20422}
20423_ACEOF
20424for ac_lib in '' rt; do
20425  if test -z "$ac_lib"; then
20426    ac_res="none required"
20427  else
20428    ac_res=-l$ac_lib
20429    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20430  fi
20431  if test x$gcc_no_link = xyes; then
20432  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20433fi
20434if ac_fn_cxx_try_link "$LINENO"; then :
20435  ac_cv_search_clock_gettime=$ac_res
20436fi
20437rm -f core conftest.err conftest.$ac_objext \
20438    conftest$ac_exeext
20439  if ${ac_cv_search_clock_gettime+:} false; then :
20440  break
20441fi
20442done
20443if ${ac_cv_search_clock_gettime+:} false; then :
20444
20445else
20446  ac_cv_search_clock_gettime=no
20447fi
20448rm conftest.$ac_ext
20449LIBS=$ac_func_search_save_LIBS
20450fi
20451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20452$as_echo "$ac_cv_search_clock_gettime" >&6; }
20453ac_res=$ac_cv_search_clock_gettime
20454if test "$ac_res" != no; then :
20455  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20456
20457fi
20458
20459          if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20460            ac_has_clock_monotonic=yes
20461            ac_has_clock_realtime=yes
20462          fi
20463        fi
20464        ac_has_nanosleep=yes
20465        ac_has_sched_yield=yes
20466        ;;
20467      freebsd*|netbsd*|dragonfly*|rtems*)
20468        ac_has_clock_monotonic=yes
20469        ac_has_clock_realtime=yes
20470        ac_has_nanosleep=yes
20471        ac_has_sched_yield=yes
20472        ;;
20473      openbsd*)
20474        ac_has_clock_monotonic=yes
20475        ac_has_clock_realtime=yes
20476        ac_has_nanosleep=yes
20477        ;;
20478      solaris*)
20479        ac_has_clock_monotonic=yes
20480        ac_has_clock_realtime=yes
20481        ac_has_nanosleep=yes
20482        ac_has_sched_yield=yes
20483        ;;
20484      uclinux*)
20485        ac_has_nanosleep=yes
20486        ac_has_sched_yield=yes
20487    esac
20488
20489  elif test x"$enable_libstdcxx_time" != x"no"; then
20490
20491    if test x"$enable_libstdcxx_time" = x"rt"; then
20492      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20493$as_echo_n "checking for library containing clock_gettime... " >&6; }
20494if ${ac_cv_search_clock_gettime+:} false; then :
20495  $as_echo_n "(cached) " >&6
20496else
20497  ac_func_search_save_LIBS=$LIBS
20498cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20499/* end confdefs.h.  */
20500
20501/* Override any GCC internal prototype to avoid an error.
20502   Use char because int might match the return type of a GCC
20503   builtin and then its argument prototype would still apply.  */
20504#ifdef __cplusplus
20505extern "C"
20506#endif
20507char clock_gettime ();
20508int
20509main ()
20510{
20511return clock_gettime ();
20512  ;
20513  return 0;
20514}
20515_ACEOF
20516for ac_lib in '' rt; do
20517  if test -z "$ac_lib"; then
20518    ac_res="none required"
20519  else
20520    ac_res=-l$ac_lib
20521    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20522  fi
20523  if test x$gcc_no_link = xyes; then
20524  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20525fi
20526if ac_fn_cxx_try_link "$LINENO"; then :
20527  ac_cv_search_clock_gettime=$ac_res
20528fi
20529rm -f core conftest.err conftest.$ac_objext \
20530    conftest$ac_exeext
20531  if ${ac_cv_search_clock_gettime+:} false; then :
20532  break
20533fi
20534done
20535if ${ac_cv_search_clock_gettime+:} false; then :
20536
20537else
20538  ac_cv_search_clock_gettime=no
20539fi
20540rm conftest.$ac_ext
20541LIBS=$ac_func_search_save_LIBS
20542fi
20543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20544$as_echo "$ac_cv_search_clock_gettime" >&6; }
20545ac_res=$ac_cv_search_clock_gettime
20546if test "$ac_res" != no; then :
20547  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20548
20549fi
20550
20551      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20552$as_echo_n "checking for library containing nanosleep... " >&6; }
20553if ${ac_cv_search_nanosleep+:} false; then :
20554  $as_echo_n "(cached) " >&6
20555else
20556  ac_func_search_save_LIBS=$LIBS
20557cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20558/* end confdefs.h.  */
20559
20560/* Override any GCC internal prototype to avoid an error.
20561   Use char because int might match the return type of a GCC
20562   builtin and then its argument prototype would still apply.  */
20563#ifdef __cplusplus
20564extern "C"
20565#endif
20566char nanosleep ();
20567int
20568main ()
20569{
20570return nanosleep ();
20571  ;
20572  return 0;
20573}
20574_ACEOF
20575for ac_lib in '' rt; do
20576  if test -z "$ac_lib"; then
20577    ac_res="none required"
20578  else
20579    ac_res=-l$ac_lib
20580    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20581  fi
20582  if test x$gcc_no_link = xyes; then
20583  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20584fi
20585if ac_fn_cxx_try_link "$LINENO"; then :
20586  ac_cv_search_nanosleep=$ac_res
20587fi
20588rm -f core conftest.err conftest.$ac_objext \
20589    conftest$ac_exeext
20590  if ${ac_cv_search_nanosleep+:} false; then :
20591  break
20592fi
20593done
20594if ${ac_cv_search_nanosleep+:} false; then :
20595
20596else
20597  ac_cv_search_nanosleep=no
20598fi
20599rm conftest.$ac_ext
20600LIBS=$ac_func_search_save_LIBS
20601fi
20602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20603$as_echo "$ac_cv_search_nanosleep" >&6; }
20604ac_res=$ac_cv_search_nanosleep
20605if test "$ac_res" != no; then :
20606  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20607
20608fi
20609
20610    else
20611      ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20612if test "x$ac_cv_func_clock_gettime" = xyes; then :
20613
20614fi
20615
20616      ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20617if test "x$ac_cv_func_nanosleep" = xyes; then :
20618
20619fi
20620
20621    fi
20622
20623    case "$ac_cv_search_clock_gettime" in
20624      -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20625      ;;
20626    esac
20627    case "$ac_cv_search_nanosleep" in
20628      -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20629      ;;
20630    esac
20631
20632    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20633$as_echo_n "checking for library containing sched_yield... " >&6; }
20634if ${ac_cv_search_sched_yield+:} false; then :
20635  $as_echo_n "(cached) " >&6
20636else
20637  ac_func_search_save_LIBS=$LIBS
20638cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20639/* end confdefs.h.  */
20640
20641/* Override any GCC internal prototype to avoid an error.
20642   Use char because int might match the return type of a GCC
20643   builtin and then its argument prototype would still apply.  */
20644#ifdef __cplusplus
20645extern "C"
20646#endif
20647char sched_yield ();
20648int
20649main ()
20650{
20651return sched_yield ();
20652  ;
20653  return 0;
20654}
20655_ACEOF
20656for ac_lib in '' rt; do
20657  if test -z "$ac_lib"; then
20658    ac_res="none required"
20659  else
20660    ac_res=-l$ac_lib
20661    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20662  fi
20663  if test x$gcc_no_link = xyes; then
20664  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20665fi
20666if ac_fn_cxx_try_link "$LINENO"; then :
20667  ac_cv_search_sched_yield=$ac_res
20668fi
20669rm -f core conftest.err conftest.$ac_objext \
20670    conftest$ac_exeext
20671  if ${ac_cv_search_sched_yield+:} false; then :
20672  break
20673fi
20674done
20675if ${ac_cv_search_sched_yield+:} false; then :
20676
20677else
20678  ac_cv_search_sched_yield=no
20679fi
20680rm conftest.$ac_ext
20681LIBS=$ac_func_search_save_LIBS
20682fi
20683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20684$as_echo "$ac_cv_search_sched_yield" >&6; }
20685ac_res=$ac_cv_search_sched_yield
20686if test "$ac_res" != no; then :
20687  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20688
20689fi
20690
20691
20692    case "$ac_cv_search_sched_yield" in
20693      -lrt*)
20694      if test x"$enable_libstdcxx_time" = x"rt"; then
20695	GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20696        ac_has_sched_yield=yes
20697      fi
20698      ;;
20699      *)
20700      ac_has_sched_yield=yes
20701      ;;
20702    esac
20703
20704    for ac_header in unistd.h
20705do :
20706  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20707if test "x$ac_cv_header_unistd_h" = xyes; then :
20708  cat >>confdefs.h <<_ACEOF
20709#define HAVE_UNISTD_H 1
20710_ACEOF
20711 ac_has_unistd_h=yes
20712else
20713  ac_has_unistd_h=no
20714fi
20715
20716done
20717
20718
20719    if test x"$ac_has_unistd_h" = x"yes"; then
20720      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20721$as_echo_n "checking for monotonic clock... " >&6; }
20722      if test x$gcc_no_link = xyes; then
20723  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20724fi
20725cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726/* end confdefs.h.  */
20727#include <unistd.h>
20728	 #include <time.h>
20729
20730int
20731main ()
20732{
20733#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20734	  timespec tp;
20735	 #endif
20736	  clock_gettime(CLOCK_MONOTONIC, &tp);
20737
20738  ;
20739  return 0;
20740}
20741_ACEOF
20742if ac_fn_cxx_try_link "$LINENO"; then :
20743  ac_has_clock_monotonic=yes
20744else
20745  ac_has_clock_monotonic=no
20746fi
20747rm -f core conftest.err conftest.$ac_objext \
20748    conftest$ac_exeext conftest.$ac_ext
20749
20750      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20751$as_echo "$ac_has_clock_monotonic" >&6; }
20752
20753      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20754$as_echo_n "checking for realtime clock... " >&6; }
20755      if test x$gcc_no_link = xyes; then
20756  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20757fi
20758cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759/* end confdefs.h.  */
20760#include <unistd.h>
20761	 #include <time.h>
20762
20763int
20764main ()
20765{
20766#if _POSIX_TIMERS > 0
20767	  timespec tp;
20768	 #endif
20769	  clock_gettime(CLOCK_REALTIME, &tp);
20770
20771  ;
20772  return 0;
20773}
20774_ACEOF
20775if ac_fn_cxx_try_link "$LINENO"; then :
20776  ac_has_clock_realtime=yes
20777else
20778  ac_has_clock_realtime=no
20779fi
20780rm -f core conftest.err conftest.$ac_objext \
20781    conftest$ac_exeext conftest.$ac_ext
20782
20783      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20784$as_echo "$ac_has_clock_realtime" >&6; }
20785
20786      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20787$as_echo_n "checking for nanosleep... " >&6; }
20788      if test x$gcc_no_link = xyes; then
20789  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20790fi
20791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20792/* end confdefs.h.  */
20793#include <unistd.h>
20794	 #include <time.h>
20795
20796int
20797main ()
20798{
20799#if _POSIX_TIMERS > 0
20800	  timespec tp;
20801	 #endif
20802	  nanosleep(&tp, 0);
20803
20804  ;
20805  return 0;
20806}
20807_ACEOF
20808if ac_fn_cxx_try_link "$LINENO"; then :
20809  ac_has_nanosleep=yes
20810else
20811  ac_has_nanosleep=no
20812fi
20813rm -f core conftest.err conftest.$ac_objext \
20814    conftest$ac_exeext conftest.$ac_ext
20815
20816      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20817$as_echo "$ac_has_nanosleep" >&6; }
20818    fi
20819  fi
20820
20821  if test x"$ac_has_clock_monotonic" != x"yes"; then
20822    case ${target_os} in
20823      linux* | uclinux*)
20824	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20825$as_echo_n "checking for clock_gettime syscall... " >&6; }
20826	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20827/* end confdefs.h.  */
20828#include <unistd.h>
20829	   #include <time.h>
20830	   #include <sys/syscall.h>
20831
20832int
20833main ()
20834{
20835#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20836	    timespec tp;
20837	   #endif
20838	   syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20839	   syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20840
20841  ;
20842  return 0;
20843}
20844_ACEOF
20845if ac_fn_cxx_try_compile "$LINENO"; then :
20846  ac_has_clock_gettime_syscall=yes
20847else
20848  ac_has_clock_gettime_syscall=no
20849fi
20850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20851	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20852$as_echo "$ac_has_clock_gettime_syscall" >&6; }
20853	if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
20854
20855$as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20856
20857	  ac_has_clock_monotonic=yes
20858	  ac_has_clock_realtime=yes
20859	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
20860$as_echo_n "checking for struct timespec that matches syscall... " >&6; }
20861	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20862/* end confdefs.h.  */
20863#include <time.h>
20864	     #include <sys/syscall.h>
20865
20866int
20867main ()
20868{
20869#ifdef SYS_clock_gettime64
20870	     #if SYS_clock_gettime64 != SYS_clock_gettime
20871	     // We need to use SYS_clock_gettime and libc appears to
20872	     // also know about the SYS_clock_gettime64 syscall.
20873	     // Check that userspace doesn't use time64 version of timespec.
20874	     static_assert(sizeof(timespec::tv_sec) == sizeof(long),
20875	       "struct timespec must be compatible with SYS_clock_gettime");
20876	     #endif
20877	     #endif
20878
20879  ;
20880  return 0;
20881}
20882_ACEOF
20883if ac_fn_cxx_try_compile "$LINENO"; then :
20884  ac_timespec_matches_syscall=yes
20885else
20886  ac_timespec_matches_syscall=no
20887fi
20888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20889	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
20890$as_echo "$ac_timespec_matches_syscall" >&6; }
20891	  if test x"$ac_timespec_matches_syscall" = no; then
20892	    as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
20893	  fi
20894	fi;;
20895    esac
20896  fi
20897
20898  if test x"$ac_has_clock_monotonic" = x"yes"; then
20899
20900$as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20901
20902  fi
20903
20904  if test x"$ac_has_clock_realtime" = x"yes"; then
20905
20906$as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20907
20908  fi
20909
20910  if test x"$ac_has_sched_yield" = x"yes"; then
20911
20912$as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20913
20914  fi
20915
20916  if test x"$ac_has_nanosleep" = x"yes"; then
20917
20918$as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20919
20920  else
20921      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20922$as_echo_n "checking for sleep... " >&6; }
20923      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924/* end confdefs.h.  */
20925#include <unistd.h>
20926int
20927main ()
20928{
20929sleep(1)
20930  ;
20931  return 0;
20932}
20933_ACEOF
20934if ac_fn_cxx_try_compile "$LINENO"; then :
20935  ac_has_sleep=yes
20936else
20937  ac_has_sleep=no
20938fi
20939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940      if test x"$ac_has_sleep" = x"yes"; then
20941
20942$as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20943
20944      fi
20945      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20946$as_echo "$ac_has_sleep" >&6; }
20947      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20948$as_echo_n "checking for usleep... " >&6; }
20949      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20950/* end confdefs.h.  */
20951#include <unistd.h>
20952int
20953main ()
20954{
20955sleep(1);
20956                      usleep(100);
20957  ;
20958  return 0;
20959}
20960_ACEOF
20961if ac_fn_cxx_try_compile "$LINENO"; then :
20962  ac_has_usleep=yes
20963else
20964  ac_has_usleep=no
20965fi
20966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20967      if test x"$ac_has_usleep" = x"yes"; then
20968
20969$as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20970
20971      fi
20972      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20973$as_echo "$ac_has_usleep" >&6; }
20974  fi
20975
20976  if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20977      ac_no_sleep=yes
20978      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20979$as_echo_n "checking for Sleep... " >&6; }
20980      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981/* end confdefs.h.  */
20982#include <windows.h>
20983int
20984main ()
20985{
20986Sleep(1)
20987  ;
20988  return 0;
20989}
20990_ACEOF
20991if ac_fn_cxx_try_compile "$LINENO"; then :
20992  ac_has_win32_sleep=yes
20993else
20994  ac_has_win32_sleep=no
20995fi
20996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20997      if test x"$ac_has_win32_sleep" = x"yes"; then
20998
20999$as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21000
21001	ac_no_sleep=no
21002      fi
21003      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21004$as_echo "$ac_has_win32_sleep" >&6; }
21005  fi
21006
21007  if test x"$ac_no_sleep" = x"yes"; then
21008
21009$as_echo "#define NO_SLEEP 1" >>confdefs.h
21010
21011  fi
21012
21013
21014
21015  CXXFLAGS="$ac_save_CXXFLAGS"
21016  LIBS="$ac_save_LIBS"
21017  ac_ext=c
21018ac_cpp='$CPP $CPPFLAGS'
21019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021ac_compiler_gnu=$ac_cv_c_compiler_gnu
21022
21023
21024
21025# Check for tmpnam which is obsolescent in POSIX.1-2008
21026
21027  ac_ext=cpp
21028ac_cpp='$CXXCPP $CPPFLAGS'
21029ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21030ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21031ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21032
21033  ac_save_CXXFLAGS="$CXXFLAGS"
21034  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21036$as_echo_n "checking for tmpnam... " >&6; }
21037if ${glibcxx_cv_TMPNAM+:} false; then :
21038  $as_echo_n "(cached) " >&6
21039else
21040      if test x$gcc_no_link = xyes; then
21041  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042/* end confdefs.h.  */
21043#include <stdio.h>
21044int
21045main ()
21046{
21047char *tmp = tmpnam(NULL);
21048  ;
21049  return 0;
21050}
21051_ACEOF
21052if ac_fn_cxx_try_compile "$LINENO"; then :
21053  glibcxx_cv_TMPNAM=yes
21054else
21055  glibcxx_cv_TMPNAM=no
21056fi
21057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21058else
21059  if test x$gcc_no_link = xyes; then
21060  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21061fi
21062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21063/* end confdefs.h.  */
21064#include <stdio.h>
21065int
21066main ()
21067{
21068char *tmp = tmpnam(NULL);
21069  ;
21070  return 0;
21071}
21072_ACEOF
21073if ac_fn_cxx_try_link "$LINENO"; then :
21074  glibcxx_cv_TMPNAM=yes
21075else
21076  glibcxx_cv_TMPNAM=no
21077fi
21078rm -f core conftest.err conftest.$ac_objext \
21079    conftest$ac_exeext conftest.$ac_ext
21080fi
21081
21082fi
21083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21084$as_echo "$glibcxx_cv_TMPNAM" >&6; }
21085  if test $glibcxx_cv_TMPNAM = yes; then
21086
21087$as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21088
21089  fi
21090  CXXFLAGS="$ac_save_CXXFLAGS"
21091  ac_ext=c
21092ac_cpp='$CPP $CPPFLAGS'
21093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21095ac_compiler_gnu=$ac_cv_c_compiler_gnu
21096
21097
21098
21099# For pthread_cond_clockwait
21100
21101
21102
21103  ac_ext=cpp
21104ac_cpp='$CXXCPP $CPPFLAGS'
21105ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21106ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21107ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21108
21109  ac_save_CXXFLAGS="$CXXFLAGS"
21110  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21111  ac_save_LIBS="$LIBS"
21112  LIBS="$LIBS -lpthread"
21113
21114  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21115$as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21116if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21117  $as_echo_n "(cached) " >&6
21118else
21119
21120    if test x$gcc_no_link = xyes; then
21121  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122/* end confdefs.h.  */
21123#include <pthread.h>
21124int
21125main ()
21126{
21127pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21128  ;
21129  return 0;
21130}
21131_ACEOF
21132if ac_fn_cxx_try_compile "$LINENO"; then :
21133  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21134else
21135  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21136fi
21137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21138else
21139  if test x$gcc_no_link = xyes; then
21140  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21141fi
21142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21143/* end confdefs.h.  */
21144#include <pthread.h>
21145int
21146main ()
21147{
21148pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21149  ;
21150  return 0;
21151}
21152_ACEOF
21153if ac_fn_cxx_try_link "$LINENO"; then :
21154  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21155else
21156  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21157fi
21158rm -f core conftest.err conftest.$ac_objext \
21159    conftest$ac_exeext conftest.$ac_ext
21160fi
21161
21162fi
21163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21164$as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21165  if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21166
21167$as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21168
21169  fi
21170
21171  CXXFLAGS="$ac_save_CXXFLAGS"
21172  LIBS="$ac_save_LIBS"
21173  ac_ext=c
21174ac_cpp='$CPP $CPPFLAGS'
21175ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21176ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21177ac_compiler_gnu=$ac_cv_c_compiler_gnu
21178
21179
21180
21181# For pthread_mutex_clocklock
21182
21183
21184
21185  ac_ext=cpp
21186ac_cpp='$CXXCPP $CPPFLAGS'
21187ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21188ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21189ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21190
21191  ac_save_CXXFLAGS="$CXXFLAGS"
21192  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21193  ac_save_LIBS="$LIBS"
21194  LIBS="$LIBS -lpthread"
21195
21196  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21197$as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21198if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21199  $as_echo_n "(cached) " >&6
21200else
21201
21202    if test x$gcc_no_link = xyes; then
21203  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21204/* end confdefs.h.  */
21205#include <pthread.h>
21206int
21207main ()
21208{
21209pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21210  ;
21211  return 0;
21212}
21213_ACEOF
21214if ac_fn_cxx_try_compile "$LINENO"; then :
21215  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21216else
21217  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21218fi
21219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21220else
21221  if test x$gcc_no_link = xyes; then
21222  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21223fi
21224cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21225/* end confdefs.h.  */
21226#include <pthread.h>
21227int
21228main ()
21229{
21230pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21231  ;
21232  return 0;
21233}
21234_ACEOF
21235if ac_fn_cxx_try_link "$LINENO"; then :
21236  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21237else
21238  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21239fi
21240rm -f core conftest.err conftest.$ac_objext \
21241    conftest$ac_exeext conftest.$ac_ext
21242fi
21243
21244fi
21245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21246$as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21247  if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21248
21249$as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21250
21251  fi
21252
21253  CXXFLAGS="$ac_save_CXXFLAGS"
21254  LIBS="$ac_save_LIBS"
21255  ac_ext=c
21256ac_cpp='$CPP $CPPFLAGS'
21257ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21258ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21259ac_compiler_gnu=$ac_cv_c_compiler_gnu
21260
21261
21262
21263# For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21264
21265
21266
21267  ac_ext=cpp
21268ac_cpp='$CXXCPP $CPPFLAGS'
21269ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21270ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21271ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21272
21273  ac_save_CXXFLAGS="$CXXFLAGS"
21274  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21275  ac_save_LIBS="$LIBS"
21276  LIBS="$LIBS -lpthread"
21277
21278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21279$as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21280if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21281  $as_echo_n "(cached) " >&6
21282else
21283
21284    if test x$gcc_no_link = xyes; then
21285  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21286/* end confdefs.h.  */
21287#include <pthread.h>
21288int
21289main ()
21290{
21291pthread_rwlock_t rwl; struct timespec ts;
21292      int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21293      int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21294  ;
21295  return 0;
21296}
21297_ACEOF
21298if ac_fn_cxx_try_compile "$LINENO"; then :
21299  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21300else
21301  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21302fi
21303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21304else
21305  if test x$gcc_no_link = xyes; then
21306  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21307fi
21308cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21309/* end confdefs.h.  */
21310#include <pthread.h>
21311int
21312main ()
21313{
21314pthread_rwlock_t rwl; struct timespec ts;
21315      int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21316      int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21317  ;
21318  return 0;
21319}
21320_ACEOF
21321if ac_fn_cxx_try_link "$LINENO"; then :
21322  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21323else
21324  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21325fi
21326rm -f core conftest.err conftest.$ac_objext \
21327    conftest$ac_exeext conftest.$ac_ext
21328fi
21329
21330fi
21331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21332$as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21333  if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21334
21335$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21336
21337  fi
21338
21339  CXXFLAGS="$ac_save_CXXFLAGS"
21340  LIBS="$ac_save_LIBS"
21341  ac_ext=c
21342ac_cpp='$CPP $CPPFLAGS'
21343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21345ac_compiler_gnu=$ac_cv_c_compiler_gnu
21346
21347
21348
21349
21350  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21351if test "x$ac_cv_header_locale_h" = xyes; then :
21352
21353    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21354$as_echo_n "checking for LC_MESSAGES... " >&6; }
21355if ${ac_cv_val_LC_MESSAGES+:} false; then :
21356  $as_echo_n "(cached) " >&6
21357else
21358  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21359/* end confdefs.h.  */
21360#include <locale.h>
21361int
21362main ()
21363{
21364return LC_MESSAGES
21365  ;
21366  return 0;
21367}
21368_ACEOF
21369if ac_fn_c_try_compile "$LINENO"; then :
21370  ac_cv_val_LC_MESSAGES=yes
21371else
21372  ac_cv_val_LC_MESSAGES=no
21373fi
21374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21375fi
21376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21377$as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21378    if test $ac_cv_val_LC_MESSAGES = yes; then
21379
21380$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21381
21382    fi
21383
21384fi
21385
21386
21387
21388
21389# For hardware_concurrency
21390for ac_header in sys/sysinfo.h
21391do :
21392  ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21393if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21394  cat >>confdefs.h <<_ACEOF
21395#define HAVE_SYS_SYSINFO_H 1
21396_ACEOF
21397
21398fi
21399
21400done
21401
21402
21403
21404
21405  ac_ext=cpp
21406ac_cpp='$CXXCPP $CPPFLAGS'
21407ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21410
21411  ac_save_CXXFLAGS="$CXXFLAGS"
21412  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21413
21414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21415$as_echo_n "checking for get_nprocs... " >&6; }
21416if ${glibcxx_cv_GET_NPROCS+:} false; then :
21417  $as_echo_n "(cached) " >&6
21418else
21419
21420    if test x$gcc_no_link = xyes; then
21421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21422/* end confdefs.h.  */
21423#include <sys/sysinfo.h>
21424int
21425main ()
21426{
21427int n = get_nprocs();
21428  ;
21429  return 0;
21430}
21431_ACEOF
21432if ac_fn_cxx_try_compile "$LINENO"; then :
21433  glibcxx_cv_GET_NPROCS=yes
21434else
21435  glibcxx_cv_GET_NPROCS=no
21436fi
21437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21438else
21439  if test x$gcc_no_link = xyes; then
21440  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21441fi
21442cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21443/* end confdefs.h.  */
21444#include <sys/sysinfo.h>
21445int
21446main ()
21447{
21448int n = get_nprocs();
21449  ;
21450  return 0;
21451}
21452_ACEOF
21453if ac_fn_cxx_try_link "$LINENO"; then :
21454  glibcxx_cv_GET_NPROCS=yes
21455else
21456  glibcxx_cv_GET_NPROCS=no
21457fi
21458rm -f core conftest.err conftest.$ac_objext \
21459    conftest$ac_exeext conftest.$ac_ext
21460fi
21461
21462fi
21463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21464$as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21465  if test $glibcxx_cv_GET_NPROCS = yes; then
21466
21467$as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21468
21469  fi
21470
21471  CXXFLAGS="$ac_save_CXXFLAGS"
21472  ac_ext=c
21473ac_cpp='$CPP $CPPFLAGS'
21474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21475ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21476ac_compiler_gnu=$ac_cv_c_compiler_gnu
21477
21478
21479for ac_header in unistd.h
21480do :
21481  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21482if test "x$ac_cv_header_unistd_h" = xyes; then :
21483  cat >>confdefs.h <<_ACEOF
21484#define HAVE_UNISTD_H 1
21485_ACEOF
21486
21487fi
21488
21489done
21490
21491
21492
21493
21494  ac_ext=cpp
21495ac_cpp='$CXXCPP $CPPFLAGS'
21496ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21499
21500  ac_save_CXXFLAGS="$CXXFLAGS"
21501  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21502
21503  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21504$as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21505if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21506  $as_echo_n "(cached) " >&6
21507else
21508
21509    if test x$gcc_no_link = xyes; then
21510  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21511/* end confdefs.h.  */
21512#include <unistd.h>
21513int
21514main ()
21515{
21516int n = sysconf(_SC_NPROCESSORS_ONLN);
21517  ;
21518  return 0;
21519}
21520_ACEOF
21521if ac_fn_cxx_try_compile "$LINENO"; then :
21522  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21523else
21524  glibcxx_cv_SC_NPROCESSORS_ONLN=no
21525fi
21526rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21527else
21528  if test x$gcc_no_link = xyes; then
21529  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21530fi
21531cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21532/* end confdefs.h.  */
21533#include <unistd.h>
21534int
21535main ()
21536{
21537int n = sysconf(_SC_NPROCESSORS_ONLN);
21538  ;
21539  return 0;
21540}
21541_ACEOF
21542if ac_fn_cxx_try_link "$LINENO"; then :
21543  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21544else
21545  glibcxx_cv_SC_NPROCESSORS_ONLN=no
21546fi
21547rm -f core conftest.err conftest.$ac_objext \
21548    conftest$ac_exeext conftest.$ac_ext
21549fi
21550
21551fi
21552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21553$as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21554  if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21555
21556$as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21557
21558  fi
21559
21560  CXXFLAGS="$ac_save_CXXFLAGS"
21561  ac_ext=c
21562ac_cpp='$CPP $CPPFLAGS'
21563ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21564ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21565ac_compiler_gnu=$ac_cv_c_compiler_gnu
21566
21567
21568
21569
21570
21571  ac_ext=cpp
21572ac_cpp='$CXXCPP $CPPFLAGS'
21573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21576
21577  ac_save_CXXFLAGS="$CXXFLAGS"
21578  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21579
21580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21581$as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21582if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21583  $as_echo_n "(cached) " >&6
21584else
21585
21586    if test x$gcc_no_link = xyes; then
21587  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21588/* end confdefs.h.  */
21589#include <unistd.h>
21590int
21591main ()
21592{
21593int n = sysconf(_SC_NPROC_ONLN);
21594  ;
21595  return 0;
21596}
21597_ACEOF
21598if ac_fn_cxx_try_compile "$LINENO"; then :
21599  glibcxx_cv_SC_NPROC_ONLN=yes
21600else
21601  glibcxx_cv_SC_NPROC_ONLN=no
21602fi
21603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21604else
21605  if test x$gcc_no_link = xyes; then
21606  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21607fi
21608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21609/* end confdefs.h.  */
21610#include <unistd.h>
21611int
21612main ()
21613{
21614int n = sysconf(_SC_NPROC_ONLN);
21615  ;
21616  return 0;
21617}
21618_ACEOF
21619if ac_fn_cxx_try_link "$LINENO"; then :
21620  glibcxx_cv_SC_NPROC_ONLN=yes
21621else
21622  glibcxx_cv_SC_NPROC_ONLN=no
21623fi
21624rm -f core conftest.err conftest.$ac_objext \
21625    conftest$ac_exeext conftest.$ac_ext
21626fi
21627
21628fi
21629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21630$as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21631  if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21632
21633$as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21634
21635  fi
21636
21637  CXXFLAGS="$ac_save_CXXFLAGS"
21638  ac_ext=c
21639ac_cpp='$CPP $CPPFLAGS'
21640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642ac_compiler_gnu=$ac_cv_c_compiler_gnu
21643
21644
21645
21646
21647
21648  ac_ext=cpp
21649ac_cpp='$CXXCPP $CPPFLAGS'
21650ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21651ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21652ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21653
21654  ac_save_CXXFLAGS="$CXXFLAGS"
21655  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21656
21657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21658$as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21659if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21660  $as_echo_n "(cached) " >&6
21661else
21662
21663    if test x$gcc_no_link = xyes; then
21664  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21665/* end confdefs.h.  */
21666#include <pthread.h>
21667int
21668main ()
21669{
21670int n = pthread_num_processors_np();
21671  ;
21672  return 0;
21673}
21674_ACEOF
21675if ac_fn_cxx_try_compile "$LINENO"; then :
21676  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21677else
21678  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21679fi
21680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21681else
21682  if test x$gcc_no_link = xyes; then
21683  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21684fi
21685cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21686/* end confdefs.h.  */
21687#include <pthread.h>
21688int
21689main ()
21690{
21691int n = pthread_num_processors_np();
21692  ;
21693  return 0;
21694}
21695_ACEOF
21696if ac_fn_cxx_try_link "$LINENO"; then :
21697  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21698else
21699  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21700fi
21701rm -f core conftest.err conftest.$ac_objext \
21702    conftest$ac_exeext conftest.$ac_ext
21703fi
21704
21705fi
21706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21707$as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21708  if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21709
21710$as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21711
21712  fi
21713
21714  CXXFLAGS="$ac_save_CXXFLAGS"
21715  ac_ext=c
21716ac_cpp='$CPP $CPPFLAGS'
21717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21719ac_compiler_gnu=$ac_cv_c_compiler_gnu
21720
21721
21722
21723
21724
21725  ac_ext=cpp
21726ac_cpp='$CXXCPP $CPPFLAGS'
21727ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21728ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21729ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21730
21731  ac_save_CXXFLAGS="$CXXFLAGS"
21732  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21733
21734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21735$as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21736if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21737  $as_echo_n "(cached) " >&6
21738else
21739
21740    if test x$gcc_no_link = xyes; then
21741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21742/* end confdefs.h.  */
21743
21744       #include <stddef.h>
21745       #include <sys/sysctl.h>
21746
21747int
21748main ()
21749{
21750
21751       int count;
21752       size_t size = sizeof(count);
21753       int mib[] = { CTL_HW, HW_NCPU };
21754       sysctl(mib, 2, &count, &size, NULL, 0);
21755
21756  ;
21757  return 0;
21758}
21759_ACEOF
21760if ac_fn_cxx_try_compile "$LINENO"; then :
21761  glibcxx_cv_SYSCTL_HW_NCPU=yes
21762else
21763  glibcxx_cv_SYSCTL_HW_NCPU=no
21764fi
21765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21766else
21767  if test x$gcc_no_link = xyes; then
21768  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21769fi
21770cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21771/* end confdefs.h.  */
21772
21773       #include <stddef.h>
21774       #include <sys/sysctl.h>
21775
21776int
21777main ()
21778{
21779
21780       int count;
21781       size_t size = sizeof(count);
21782       int mib[] = { CTL_HW, HW_NCPU };
21783       sysctl(mib, 2, &count, &size, NULL, 0);
21784
21785  ;
21786  return 0;
21787}
21788_ACEOF
21789if ac_fn_cxx_try_link "$LINENO"; then :
21790  glibcxx_cv_SYSCTL_HW_NCPU=yes
21791else
21792  glibcxx_cv_SYSCTL_HW_NCPU=no
21793fi
21794rm -f core conftest.err conftest.$ac_objext \
21795    conftest$ac_exeext conftest.$ac_ext
21796fi
21797
21798fi
21799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21800$as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21801  if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21802
21803$as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21804
21805  fi
21806
21807  CXXFLAGS="$ac_save_CXXFLAGS"
21808  ac_ext=c
21809ac_cpp='$CPP $CPPFLAGS'
21810ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812ac_compiler_gnu=$ac_cv_c_compiler_gnu
21813
21814
21815
21816  # Note that this test has to be run with the C language.
21817  # Otherwise, sdt.h will try to include some headers from
21818  # libstdc++ itself.
21819
21820  ac_ext=c
21821ac_cpp='$CPP $CPPFLAGS'
21822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21824ac_compiler_gnu=$ac_cv_c_compiler_gnu
21825
21826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21827$as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21828if ${glibcxx_cv_sys_sdt_h+:} false; then :
21829  $as_echo_n "(cached) " >&6
21830else
21831
21832    # Because we have to run the test in C, we use grep rather
21833    # than the compiler to check for the bug.  The bug is that
21834    # were strings without trailing whitespace, causing g++
21835    # to look for operator"".  The pattern searches for the fixed
21836    # output.
21837    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21838/* end confdefs.h.  */
21839
21840      #include <sys/sdt.h>
21841      int f() { STAP_PROBE(hi, bob); }
21842
21843_ACEOF
21844if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21845  $EGREP " \",\" " >/dev/null 2>&1; then :
21846  glibcxx_cv_sys_sdt_h=yes
21847else
21848  glibcxx_cv_sys_sdt_h=no
21849fi
21850rm -f conftest*
21851
21852
21853fi
21854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21855$as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21856  ac_ext=c
21857ac_cpp='$CPP $CPPFLAGS'
21858ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860ac_compiler_gnu=$ac_cv_c_compiler_gnu
21861
21862  if test $glibcxx_cv_sys_sdt_h = yes; then
21863
21864$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21865
21866  fi
21867
21868
21869# Check for available headers.
21870for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21871locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21872strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21873sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21874wchar.h wctype.h linux/types.h
21875do :
21876  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21877ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21878if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21879  cat >>confdefs.h <<_ACEOF
21880#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21881_ACEOF
21882
21883fi
21884
21885done
21886
21887
21888for ac_header in linux/random.h
21889do :
21890  ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21891# include <linux/types.h>
21892#endif
21893
21894"
21895if test "x$ac_cv_header_linux_random_h" = xyes; then :
21896  cat >>confdefs.h <<_ACEOF
21897#define HAVE_LINUX_RANDOM_H 1
21898_ACEOF
21899
21900fi
21901
21902done
21903
21904
21905for ac_header in xlocale.h
21906do :
21907  ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
21908if test "x$ac_cv_header_xlocale_h" = xyes; then :
21909  cat >>confdefs.h <<_ACEOF
21910#define HAVE_XLOCALE_H 1
21911_ACEOF
21912
21913fi
21914
21915done
21916
21917
21918# Only do link tests if native. Else, hardcode.
21919if $GLIBCXX_IS_NATIVE; then
21920
21921  # We can do more elaborate tests that assume a working linker.
21922  CANADIAN=no
21923
21924
21925
21926# Check whether --with-gnu-ld was given.
21927if test "${with_gnu_ld+set}" = set; then :
21928  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21929else
21930  with_gnu_ld=no
21931fi
21932
21933ac_prog=ld
21934if test "$GCC" = yes; then
21935  # Check if gcc -print-prog-name=ld gives a path.
21936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21937$as_echo_n "checking for ld used by $CC... " >&6; }
21938  case $host in
21939  *-*-mingw*)
21940    # gcc leaves a trailing carriage return which upsets mingw
21941    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21942  *)
21943    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21944  esac
21945  case $ac_prog in
21946    # Accept absolute paths.
21947    [\\/]* | ?:[\\/]*)
21948      re_direlt='/[^/][^/]*/\.\./'
21949      # Canonicalize the pathname of ld
21950      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21951      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21952	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21953      done
21954      test -z "$LD" && LD="$ac_prog"
21955      ;;
21956  "")
21957    # If it fails, then pretend we aren't using GCC.
21958    ac_prog=ld
21959    ;;
21960  *)
21961    # If it is relative, then search for the first ld in PATH.
21962    with_gnu_ld=unknown
21963    ;;
21964  esac
21965elif test "$with_gnu_ld" = yes; then
21966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21967$as_echo_n "checking for GNU ld... " >&6; }
21968else
21969  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21970$as_echo_n "checking for non-GNU ld... " >&6; }
21971fi
21972if ${lt_cv_path_LD+:} false; then :
21973  $as_echo_n "(cached) " >&6
21974else
21975  if test -z "$LD"; then
21976  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21977  for ac_dir in $PATH; do
21978    IFS="$lt_save_ifs"
21979    test -z "$ac_dir" && ac_dir=.
21980    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21981      lt_cv_path_LD="$ac_dir/$ac_prog"
21982      # Check to see if the program is GNU ld.  I'd rather use --version,
21983      # but apparently some variants of GNU ld only accept -v.
21984      # Break only if it was the GNU/non-GNU ld that we prefer.
21985      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21986      *GNU* | *'with BFD'*)
21987	test "$with_gnu_ld" != no && break
21988	;;
21989      *)
21990	test "$with_gnu_ld" != yes && break
21991	;;
21992      esac
21993    fi
21994  done
21995  IFS="$lt_save_ifs"
21996else
21997  lt_cv_path_LD="$LD" # Let the user override the test with a path.
21998fi
21999fi
22000
22001LD="$lt_cv_path_LD"
22002if test -n "$LD"; then
22003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22004$as_echo "$LD" >&6; }
22005else
22006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22007$as_echo "no" >&6; }
22008fi
22009test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22011$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22012if ${lt_cv_prog_gnu_ld+:} false; then :
22013  $as_echo_n "(cached) " >&6
22014else
22015  # I'd rather use --version here, but apparently some GNU lds only accept -v.
22016case `$LD -v 2>&1 </dev/null` in
22017*GNU* | *'with BFD'*)
22018  lt_cv_prog_gnu_ld=yes
22019  ;;
22020*)
22021  lt_cv_prog_gnu_ld=no
22022  ;;
22023esac
22024fi
22025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22026$as_echo "$lt_cv_prog_gnu_ld" >&6; }
22027with_gnu_ld=$lt_cv_prog_gnu_ld
22028
22029
22030
22031
22032
22033
22034
22035  # If we're not using GNU ld, then there's no point in even trying these
22036  # tests.  Check for that first.  We should have already tested for gld
22037  # by now (in libtool), but require it now just to be safe...
22038  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22039  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22040
22041
22042
22043  # The name set by libtool depends on the version of libtool.  Shame on us
22044  # for depending on an impl detail, but c'est la vie.  Older versions used
22045  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22046  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22047  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
22048  # set (hence we're using an older libtool), then set it.
22049  if test x${with_gnu_ld+set} != xset; then
22050    if test x${ac_cv_prog_gnu_ld+set} != xset; then
22051      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
22052      with_gnu_ld=no
22053    else
22054      with_gnu_ld=$ac_cv_prog_gnu_ld
22055    fi
22056  fi
22057
22058  # Start by getting the version number.  I think the libtool test already
22059  # does some of this, but throws away the result.
22060  glibcxx_ld_is_gold=no
22061  if test x"$with_gnu_ld" = x"yes"; then
22062    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22063$as_echo_n "checking for ld version... " >&6; }
22064
22065    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22066      glibcxx_ld_is_gold=yes
22067    fi
22068    ldver=`$LD --version 2>/dev/null |
22069	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22070
22071    glibcxx_gnu_ld_version=`echo $ldver | \
22072	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22073    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22074$as_echo "$glibcxx_gnu_ld_version" >&6; }
22075  fi
22076
22077  # Set --gc-sections.
22078  glibcxx_have_gc_sections=no
22079  if test "$glibcxx_ld_is_gold" = "yes"; then
22080    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22081      glibcxx_have_gc_sections=yes
22082    fi
22083  else
22084    glibcxx_gcsections_min_ld=21602
22085    if test x"$with_gnu_ld" = x"yes" &&
22086	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22087      glibcxx_have_gc_sections=yes
22088    fi
22089  fi
22090  if test "$glibcxx_have_gc_sections" = "yes"; then
22091    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
22092    # NB: This flag only works reliably after 2.16.1. Configure tests
22093    # for this are difficult, so hard wire a value that should work.
22094
22095    ac_test_CFLAGS="${CFLAGS+set}"
22096    ac_save_CFLAGS="$CFLAGS"
22097    CFLAGS='-Wl,--gc-sections'
22098
22099    # Check for -Wl,--gc-sections
22100    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22101$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22102    if test x$gcc_no_link = xyes; then
22103  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22104fi
22105cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106/* end confdefs.h.  */
22107 int one(void) { return 1; }
22108     int two(void) { return 2; }
22109
22110int
22111main ()
22112{
22113 two();
22114  ;
22115  return 0;
22116}
22117_ACEOF
22118if ac_fn_c_try_link "$LINENO"; then :
22119  ac_gcsections=yes
22120else
22121  ac_gcsections=no
22122fi
22123rm -f core conftest.err conftest.$ac_objext \
22124    conftest$ac_exeext conftest.$ac_ext
22125    if test "$ac_gcsections" = "yes"; then
22126      rm -f conftest.c
22127      touch conftest.c
22128      if $CC -c conftest.c; then
22129	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22130	   grep "Warning: gc-sections option ignored" > /dev/null; then
22131	  ac_gcsections=no
22132	fi
22133      fi
22134      rm -f conftest.c conftest.o conftest
22135    fi
22136    if test "$ac_gcsections" = "yes"; then
22137      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22138    fi
22139    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22140$as_echo "$ac_gcsections" >&6; }
22141
22142    if test "$ac_test_CFLAGS" = set; then
22143      CFLAGS="$ac_save_CFLAGS"
22144    else
22145      # this is the suspicious part
22146      CFLAGS=''
22147    fi
22148  fi
22149
22150  # Set -z,relro.
22151  # Note this is only for shared objects.
22152  ac_ld_relro=no
22153  if test x"$with_gnu_ld" = x"yes"; then
22154    # cygwin and mingw uses PE, which has no ELF relro support,
22155    # multi target ld may confuse configure machinery
22156    case "$host" in
22157    *-*-cygwin*)
22158     ;;
22159    *-*-mingw*)
22160     ;;
22161    *)
22162      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22163$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22164      cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22165      if test -n "$cxx_z_relo"; then
22166        OPT_LDFLAGS="-Wl,-z,relro"
22167        ac_ld_relro=yes
22168      fi
22169      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22170$as_echo "$ac_ld_relro" >&6; }
22171    esac
22172  fi
22173
22174  # Set linker optimization flags.
22175  if test x"$with_gnu_ld" = x"yes"; then
22176    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22177  fi
22178
22179
22180
22181
22182
22183  ac_test_CXXFLAGS="${CXXFLAGS+set}"
22184  ac_save_CXXFLAGS="$CXXFLAGS"
22185  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22186
22187    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22188$as_echo_n "checking for sin in -lm... " >&6; }
22189if ${ac_cv_lib_m_sin+:} false; then :
22190  $as_echo_n "(cached) " >&6
22191else
22192  ac_check_lib_save_LIBS=$LIBS
22193LIBS="-lm  $LIBS"
22194if test x$gcc_no_link = xyes; then
22195  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22196fi
22197cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22198/* end confdefs.h.  */
22199
22200/* Override any GCC internal prototype to avoid an error.
22201   Use char because int might match the return type of a GCC
22202   builtin and then its argument prototype would still apply.  */
22203#ifdef __cplusplus
22204extern "C"
22205#endif
22206char sin ();
22207int
22208main ()
22209{
22210return sin ();
22211  ;
22212  return 0;
22213}
22214_ACEOF
22215if ac_fn_c_try_link "$LINENO"; then :
22216  ac_cv_lib_m_sin=yes
22217else
22218  ac_cv_lib_m_sin=no
22219fi
22220rm -f core conftest.err conftest.$ac_objext \
22221    conftest$ac_exeext conftest.$ac_ext
22222LIBS=$ac_check_lib_save_LIBS
22223fi
22224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22225$as_echo "$ac_cv_lib_m_sin" >&6; }
22226if test "x$ac_cv_lib_m_sin" = xyes; then :
22227  libm="-lm"
22228fi
22229
22230  ac_save_LIBS="$LIBS"
22231  LIBS="$LIBS $libm"
22232
22233
22234
22235  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22236$as_echo_n "checking for isinf declaration... " >&6; }
22237  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22238    if ${glibcxx_cv_func_isinf_use+:} false; then :
22239  $as_echo_n "(cached) " >&6
22240else
22241
22242
22243      ac_ext=cpp
22244ac_cpp='$CXXCPP $CPPFLAGS'
22245ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22246ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22247ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22248
22249      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22250/* end confdefs.h.  */
22251#include <math.h>
22252		      #ifdef HAVE_IEEEFP_H
22253		      #include <ieeefp.h>
22254		      #endif
22255
22256int
22257main ()
22258{
22259 isinf(0);
22260  ;
22261  return 0;
22262}
22263_ACEOF
22264if ac_fn_cxx_try_compile "$LINENO"; then :
22265  glibcxx_cv_func_isinf_use=yes
22266else
22267  glibcxx_cv_func_isinf_use=no
22268fi
22269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22270      ac_ext=c
22271ac_cpp='$CPP $CPPFLAGS'
22272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22274ac_compiler_gnu=$ac_cv_c_compiler_gnu
22275
22276
22277fi
22278
22279  fi
22280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22281$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22282
22283  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22284    for ac_func in isinf
22285do :
22286  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22287if test "x$ac_cv_func_isinf" = xyes; then :
22288  cat >>confdefs.h <<_ACEOF
22289#define HAVE_ISINF 1
22290_ACEOF
22291
22292fi
22293done
22294
22295  else
22296
22297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22298$as_echo_n "checking for _isinf declaration... " >&6; }
22299  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22300    if ${glibcxx_cv_func__isinf_use+:} false; then :
22301  $as_echo_n "(cached) " >&6
22302else
22303
22304
22305      ac_ext=cpp
22306ac_cpp='$CXXCPP $CPPFLAGS'
22307ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22308ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22309ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22310
22311      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22312/* end confdefs.h.  */
22313#include <math.h>
22314		      #ifdef HAVE_IEEEFP_H
22315		      #include <ieeefp.h>
22316		      #endif
22317
22318int
22319main ()
22320{
22321 _isinf(0);
22322  ;
22323  return 0;
22324}
22325_ACEOF
22326if ac_fn_cxx_try_compile "$LINENO"; then :
22327  glibcxx_cv_func__isinf_use=yes
22328else
22329  glibcxx_cv_func__isinf_use=no
22330fi
22331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22332      ac_ext=c
22333ac_cpp='$CPP $CPPFLAGS'
22334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22336ac_compiler_gnu=$ac_cv_c_compiler_gnu
22337
22338
22339fi
22340
22341  fi
22342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22343$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22344
22345    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22346      for ac_func in _isinf
22347do :
22348  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22349if test "x$ac_cv_func__isinf" = xyes; then :
22350  cat >>confdefs.h <<_ACEOF
22351#define HAVE__ISINF 1
22352_ACEOF
22353
22354fi
22355done
22356
22357    fi
22358  fi
22359
22360
22361
22362
22363
22364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22365$as_echo_n "checking for isnan declaration... " >&6; }
22366  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22367    if ${glibcxx_cv_func_isnan_use+:} false; then :
22368  $as_echo_n "(cached) " >&6
22369else
22370
22371
22372      ac_ext=cpp
22373ac_cpp='$CXXCPP $CPPFLAGS'
22374ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22377
22378      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22379/* end confdefs.h.  */
22380#include <math.h>
22381		      #ifdef HAVE_IEEEFP_H
22382		      #include <ieeefp.h>
22383		      #endif
22384
22385int
22386main ()
22387{
22388 isnan(0);
22389  ;
22390  return 0;
22391}
22392_ACEOF
22393if ac_fn_cxx_try_compile "$LINENO"; then :
22394  glibcxx_cv_func_isnan_use=yes
22395else
22396  glibcxx_cv_func_isnan_use=no
22397fi
22398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22399      ac_ext=c
22400ac_cpp='$CPP $CPPFLAGS'
22401ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22402ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22403ac_compiler_gnu=$ac_cv_c_compiler_gnu
22404
22405
22406fi
22407
22408  fi
22409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22410$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22411
22412  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22413    for ac_func in isnan
22414do :
22415  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22416if test "x$ac_cv_func_isnan" = xyes; then :
22417  cat >>confdefs.h <<_ACEOF
22418#define HAVE_ISNAN 1
22419_ACEOF
22420
22421fi
22422done
22423
22424  else
22425
22426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22427$as_echo_n "checking for _isnan declaration... " >&6; }
22428  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22429    if ${glibcxx_cv_func__isnan_use+:} false; then :
22430  $as_echo_n "(cached) " >&6
22431else
22432
22433
22434      ac_ext=cpp
22435ac_cpp='$CXXCPP $CPPFLAGS'
22436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22439
22440      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441/* end confdefs.h.  */
22442#include <math.h>
22443		      #ifdef HAVE_IEEEFP_H
22444		      #include <ieeefp.h>
22445		      #endif
22446
22447int
22448main ()
22449{
22450 _isnan(0);
22451  ;
22452  return 0;
22453}
22454_ACEOF
22455if ac_fn_cxx_try_compile "$LINENO"; then :
22456  glibcxx_cv_func__isnan_use=yes
22457else
22458  glibcxx_cv_func__isnan_use=no
22459fi
22460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461      ac_ext=c
22462ac_cpp='$CPP $CPPFLAGS'
22463ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22464ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22465ac_compiler_gnu=$ac_cv_c_compiler_gnu
22466
22467
22468fi
22469
22470  fi
22471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22472$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22473
22474    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22475      for ac_func in _isnan
22476do :
22477  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22478if test "x$ac_cv_func__isnan" = xyes; then :
22479  cat >>confdefs.h <<_ACEOF
22480#define HAVE__ISNAN 1
22481_ACEOF
22482
22483fi
22484done
22485
22486    fi
22487  fi
22488
22489
22490
22491
22492
22493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22494$as_echo_n "checking for finite declaration... " >&6; }
22495  if test x${glibcxx_cv_func_finite_use+set} != xset; then
22496    if ${glibcxx_cv_func_finite_use+:} false; then :
22497  $as_echo_n "(cached) " >&6
22498else
22499
22500
22501      ac_ext=cpp
22502ac_cpp='$CXXCPP $CPPFLAGS'
22503ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22506
22507      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22508/* end confdefs.h.  */
22509#include <math.h>
22510		      #ifdef HAVE_IEEEFP_H
22511		      #include <ieeefp.h>
22512		      #endif
22513
22514int
22515main ()
22516{
22517 finite(0);
22518  ;
22519  return 0;
22520}
22521_ACEOF
22522if ac_fn_cxx_try_compile "$LINENO"; then :
22523  glibcxx_cv_func_finite_use=yes
22524else
22525  glibcxx_cv_func_finite_use=no
22526fi
22527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22528      ac_ext=c
22529ac_cpp='$CPP $CPPFLAGS'
22530ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532ac_compiler_gnu=$ac_cv_c_compiler_gnu
22533
22534
22535fi
22536
22537  fi
22538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22539$as_echo "$glibcxx_cv_func_finite_use" >&6; }
22540
22541  if test x$glibcxx_cv_func_finite_use = x"yes"; then
22542    for ac_func in finite
22543do :
22544  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22545if test "x$ac_cv_func_finite" = xyes; then :
22546  cat >>confdefs.h <<_ACEOF
22547#define HAVE_FINITE 1
22548_ACEOF
22549
22550fi
22551done
22552
22553  else
22554
22555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22556$as_echo_n "checking for _finite declaration... " >&6; }
22557  if test x${glibcxx_cv_func__finite_use+set} != xset; then
22558    if ${glibcxx_cv_func__finite_use+:} false; then :
22559  $as_echo_n "(cached) " >&6
22560else
22561
22562
22563      ac_ext=cpp
22564ac_cpp='$CXXCPP $CPPFLAGS'
22565ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22566ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22567ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22568
22569      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22570/* end confdefs.h.  */
22571#include <math.h>
22572		      #ifdef HAVE_IEEEFP_H
22573		      #include <ieeefp.h>
22574		      #endif
22575
22576int
22577main ()
22578{
22579 _finite(0);
22580  ;
22581  return 0;
22582}
22583_ACEOF
22584if ac_fn_cxx_try_compile "$LINENO"; then :
22585  glibcxx_cv_func__finite_use=yes
22586else
22587  glibcxx_cv_func__finite_use=no
22588fi
22589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590      ac_ext=c
22591ac_cpp='$CPP $CPPFLAGS'
22592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594ac_compiler_gnu=$ac_cv_c_compiler_gnu
22595
22596
22597fi
22598
22599  fi
22600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22601$as_echo "$glibcxx_cv_func__finite_use" >&6; }
22602
22603    if test x$glibcxx_cv_func__finite_use = x"yes"; then
22604      for ac_func in _finite
22605do :
22606  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22607if test "x$ac_cv_func__finite" = xyes; then :
22608  cat >>confdefs.h <<_ACEOF
22609#define HAVE__FINITE 1
22610_ACEOF
22611
22612fi
22613done
22614
22615    fi
22616  fi
22617
22618
22619
22620
22621
22622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22623$as_echo_n "checking for sincos declaration... " >&6; }
22624  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22625    if ${glibcxx_cv_func_sincos_use+:} false; then :
22626  $as_echo_n "(cached) " >&6
22627else
22628
22629
22630      ac_ext=cpp
22631ac_cpp='$CXXCPP $CPPFLAGS'
22632ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22635
22636      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637/* end confdefs.h.  */
22638#include <math.h>
22639int
22640main ()
22641{
22642 sincos(0, 0, 0);
22643  ;
22644  return 0;
22645}
22646_ACEOF
22647if ac_fn_cxx_try_compile "$LINENO"; then :
22648  glibcxx_cv_func_sincos_use=yes
22649else
22650  glibcxx_cv_func_sincos_use=no
22651fi
22652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22653      ac_ext=c
22654ac_cpp='$CPP $CPPFLAGS'
22655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657ac_compiler_gnu=$ac_cv_c_compiler_gnu
22658
22659
22660fi
22661
22662  fi
22663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22664$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22665
22666  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22667    for ac_func in sincos
22668do :
22669  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22670if test "x$ac_cv_func_sincos" = xyes; then :
22671  cat >>confdefs.h <<_ACEOF
22672#define HAVE_SINCOS 1
22673_ACEOF
22674
22675fi
22676done
22677
22678  else
22679
22680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22681$as_echo_n "checking for _sincos declaration... " >&6; }
22682  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22683    if ${glibcxx_cv_func__sincos_use+:} false; then :
22684  $as_echo_n "(cached) " >&6
22685else
22686
22687
22688      ac_ext=cpp
22689ac_cpp='$CXXCPP $CPPFLAGS'
22690ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22691ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22692ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22693
22694      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22695/* end confdefs.h.  */
22696#include <math.h>
22697int
22698main ()
22699{
22700 _sincos(0, 0, 0);
22701  ;
22702  return 0;
22703}
22704_ACEOF
22705if ac_fn_cxx_try_compile "$LINENO"; then :
22706  glibcxx_cv_func__sincos_use=yes
22707else
22708  glibcxx_cv_func__sincos_use=no
22709fi
22710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22711      ac_ext=c
22712ac_cpp='$CPP $CPPFLAGS'
22713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715ac_compiler_gnu=$ac_cv_c_compiler_gnu
22716
22717
22718fi
22719
22720  fi
22721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22722$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22723
22724    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22725      for ac_func in _sincos
22726do :
22727  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22728if test "x$ac_cv_func__sincos" = xyes; then :
22729  cat >>confdefs.h <<_ACEOF
22730#define HAVE__SINCOS 1
22731_ACEOF
22732
22733fi
22734done
22735
22736    fi
22737  fi
22738
22739
22740
22741
22742
22743  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22744$as_echo_n "checking for fpclass declaration... " >&6; }
22745  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22746    if ${glibcxx_cv_func_fpclass_use+:} false; then :
22747  $as_echo_n "(cached) " >&6
22748else
22749
22750
22751      ac_ext=cpp
22752ac_cpp='$CXXCPP $CPPFLAGS'
22753ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22754ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22755ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22756
22757      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22758/* end confdefs.h.  */
22759#include <math.h>
22760		      #ifdef HAVE_IEEEFP_H
22761		      #include <ieeefp.h>
22762		      #endif
22763
22764int
22765main ()
22766{
22767 fpclass(0);
22768  ;
22769  return 0;
22770}
22771_ACEOF
22772if ac_fn_cxx_try_compile "$LINENO"; then :
22773  glibcxx_cv_func_fpclass_use=yes
22774else
22775  glibcxx_cv_func_fpclass_use=no
22776fi
22777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22778      ac_ext=c
22779ac_cpp='$CPP $CPPFLAGS'
22780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22782ac_compiler_gnu=$ac_cv_c_compiler_gnu
22783
22784
22785fi
22786
22787  fi
22788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22789$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22790
22791  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22792    for ac_func in fpclass
22793do :
22794  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22795if test "x$ac_cv_func_fpclass" = xyes; then :
22796  cat >>confdefs.h <<_ACEOF
22797#define HAVE_FPCLASS 1
22798_ACEOF
22799
22800fi
22801done
22802
22803  else
22804
22805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22806$as_echo_n "checking for _fpclass declaration... " >&6; }
22807  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22808    if ${glibcxx_cv_func__fpclass_use+:} false; then :
22809  $as_echo_n "(cached) " >&6
22810else
22811
22812
22813      ac_ext=cpp
22814ac_cpp='$CXXCPP $CPPFLAGS'
22815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22818
22819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22820/* end confdefs.h.  */
22821#include <math.h>
22822		      #ifdef HAVE_IEEEFP_H
22823		      #include <ieeefp.h>
22824		      #endif
22825
22826int
22827main ()
22828{
22829 _fpclass(0);
22830  ;
22831  return 0;
22832}
22833_ACEOF
22834if ac_fn_cxx_try_compile "$LINENO"; then :
22835  glibcxx_cv_func__fpclass_use=yes
22836else
22837  glibcxx_cv_func__fpclass_use=no
22838fi
22839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840      ac_ext=c
22841ac_cpp='$CPP $CPPFLAGS'
22842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844ac_compiler_gnu=$ac_cv_c_compiler_gnu
22845
22846
22847fi
22848
22849  fi
22850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22851$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22852
22853    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22854      for ac_func in _fpclass
22855do :
22856  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22857if test "x$ac_cv_func__fpclass" = xyes; then :
22858  cat >>confdefs.h <<_ACEOF
22859#define HAVE__FPCLASS 1
22860_ACEOF
22861
22862fi
22863done
22864
22865    fi
22866  fi
22867
22868
22869
22870
22871
22872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22873$as_echo_n "checking for qfpclass declaration... " >&6; }
22874  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22875    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22876  $as_echo_n "(cached) " >&6
22877else
22878
22879
22880      ac_ext=cpp
22881ac_cpp='$CXXCPP $CPPFLAGS'
22882ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22885
22886      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22887/* end confdefs.h.  */
22888#include <math.h>
22889		      #ifdef HAVE_IEEEFP_H
22890		      #include <ieeefp.h>
22891		      #endif
22892
22893int
22894main ()
22895{
22896 qfpclass(0);
22897  ;
22898  return 0;
22899}
22900_ACEOF
22901if ac_fn_cxx_try_compile "$LINENO"; then :
22902  glibcxx_cv_func_qfpclass_use=yes
22903else
22904  glibcxx_cv_func_qfpclass_use=no
22905fi
22906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22907      ac_ext=c
22908ac_cpp='$CPP $CPPFLAGS'
22909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911ac_compiler_gnu=$ac_cv_c_compiler_gnu
22912
22913
22914fi
22915
22916  fi
22917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22918$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22919
22920  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22921    for ac_func in qfpclass
22922do :
22923  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22924if test "x$ac_cv_func_qfpclass" = xyes; then :
22925  cat >>confdefs.h <<_ACEOF
22926#define HAVE_QFPCLASS 1
22927_ACEOF
22928
22929fi
22930done
22931
22932  else
22933
22934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22935$as_echo_n "checking for _qfpclass declaration... " >&6; }
22936  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22937    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
22938  $as_echo_n "(cached) " >&6
22939else
22940
22941
22942      ac_ext=cpp
22943ac_cpp='$CXXCPP $CPPFLAGS'
22944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22947
22948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949/* end confdefs.h.  */
22950#include <math.h>
22951		      #ifdef HAVE_IEEEFP_H
22952		      #include <ieeefp.h>
22953		      #endif
22954
22955int
22956main ()
22957{
22958 _qfpclass(0);
22959  ;
22960  return 0;
22961}
22962_ACEOF
22963if ac_fn_cxx_try_compile "$LINENO"; then :
22964  glibcxx_cv_func__qfpclass_use=yes
22965else
22966  glibcxx_cv_func__qfpclass_use=no
22967fi
22968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969      ac_ext=c
22970ac_cpp='$CPP $CPPFLAGS'
22971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973ac_compiler_gnu=$ac_cv_c_compiler_gnu
22974
22975
22976fi
22977
22978  fi
22979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22980$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22981
22982    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22983      for ac_func in _qfpclass
22984do :
22985  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22986if test "x$ac_cv_func__qfpclass" = xyes; then :
22987  cat >>confdefs.h <<_ACEOF
22988#define HAVE__QFPCLASS 1
22989_ACEOF
22990
22991fi
22992done
22993
22994    fi
22995  fi
22996
22997
22998
22999
23000
23001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23002$as_echo_n "checking for hypot declaration... " >&6; }
23003  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23004    if ${glibcxx_cv_func_hypot_use+:} false; then :
23005  $as_echo_n "(cached) " >&6
23006else
23007
23008
23009      ac_ext=cpp
23010ac_cpp='$CXXCPP $CPPFLAGS'
23011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23014
23015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23016/* end confdefs.h.  */
23017#include <math.h>
23018int
23019main ()
23020{
23021 hypot(0, 0);
23022  ;
23023  return 0;
23024}
23025_ACEOF
23026if ac_fn_cxx_try_compile "$LINENO"; then :
23027  glibcxx_cv_func_hypot_use=yes
23028else
23029  glibcxx_cv_func_hypot_use=no
23030fi
23031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23032      ac_ext=c
23033ac_cpp='$CPP $CPPFLAGS'
23034ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036ac_compiler_gnu=$ac_cv_c_compiler_gnu
23037
23038
23039fi
23040
23041  fi
23042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23043$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23044
23045  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23046    for ac_func in hypot
23047do :
23048  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23049if test "x$ac_cv_func_hypot" = xyes; then :
23050  cat >>confdefs.h <<_ACEOF
23051#define HAVE_HYPOT 1
23052_ACEOF
23053
23054fi
23055done
23056
23057  else
23058
23059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23060$as_echo_n "checking for _hypot declaration... " >&6; }
23061  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23062    if ${glibcxx_cv_func__hypot_use+:} false; then :
23063  $as_echo_n "(cached) " >&6
23064else
23065
23066
23067      ac_ext=cpp
23068ac_cpp='$CXXCPP $CPPFLAGS'
23069ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23070ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23071ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23072
23073      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23074/* end confdefs.h.  */
23075#include <math.h>
23076int
23077main ()
23078{
23079 _hypot(0, 0);
23080  ;
23081  return 0;
23082}
23083_ACEOF
23084if ac_fn_cxx_try_compile "$LINENO"; then :
23085  glibcxx_cv_func__hypot_use=yes
23086else
23087  glibcxx_cv_func__hypot_use=no
23088fi
23089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23090      ac_ext=c
23091ac_cpp='$CPP $CPPFLAGS'
23092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23093ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23094ac_compiler_gnu=$ac_cv_c_compiler_gnu
23095
23096
23097fi
23098
23099  fi
23100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23101$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23102
23103    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23104      for ac_func in _hypot
23105do :
23106  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23107if test "x$ac_cv_func__hypot" = xyes; then :
23108  cat >>confdefs.h <<_ACEOF
23109#define HAVE__HYPOT 1
23110_ACEOF
23111
23112fi
23113done
23114
23115    fi
23116  fi
23117
23118
23119
23120
23121
23122    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23123$as_echo_n "checking for float trig functions... " >&6; }
23124  if ${glibcxx_cv_func_float_trig_use+:} false; then :
23125  $as_echo_n "(cached) " >&6
23126else
23127
23128
23129    ac_ext=cpp
23130ac_cpp='$CXXCPP $CPPFLAGS'
23131ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23134
23135    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23136/* end confdefs.h.  */
23137#include <math.h>
23138int
23139main ()
23140{
23141acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23142  ;
23143  return 0;
23144}
23145_ACEOF
23146if ac_fn_cxx_try_compile "$LINENO"; then :
23147  glibcxx_cv_func_float_trig_use=yes
23148else
23149  glibcxx_cv_func_float_trig_use=no
23150fi
23151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152    ac_ext=c
23153ac_cpp='$CPP $CPPFLAGS'
23154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23156ac_compiler_gnu=$ac_cv_c_compiler_gnu
23157
23158fi
23159
23160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23161$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23162  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23163    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23164do :
23165  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23166ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23167if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23168  cat >>confdefs.h <<_ACEOF
23169#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23170_ACEOF
23171
23172fi
23173done
23174
23175  else
23176    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23177$as_echo_n "checking for _float trig functions... " >&6; }
23178    if ${glibcxx_cv_func__float_trig_use+:} false; then :
23179  $as_echo_n "(cached) " >&6
23180else
23181
23182
23183      ac_ext=cpp
23184ac_cpp='$CXXCPP $CPPFLAGS'
23185ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23186ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23187ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23188
23189      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23190/* end confdefs.h.  */
23191#include <math.h>
23192int
23193main ()
23194{
23195_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23196  ;
23197  return 0;
23198}
23199_ACEOF
23200if ac_fn_cxx_try_compile "$LINENO"; then :
23201  glibcxx_cv_func__float_trig_use=yes
23202else
23203  glibcxx_cv_func__float_trig_use=no
23204fi
23205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23206      ac_ext=c
23207ac_cpp='$CPP $CPPFLAGS'
23208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23210ac_compiler_gnu=$ac_cv_c_compiler_gnu
23211
23212fi
23213
23214    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23215$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23216    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23217      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23218do :
23219  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23220ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23221if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23222  cat >>confdefs.h <<_ACEOF
23223#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23224_ACEOF
23225
23226fi
23227done
23228
23229    fi
23230  fi
23231
23232
23233
23234
23235
23236    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23237$as_echo_n "checking for float round functions... " >&6; }
23238  if ${glibcxx_cv_func_float_round_use+:} false; then :
23239  $as_echo_n "(cached) " >&6
23240else
23241
23242
23243    ac_ext=cpp
23244ac_cpp='$CXXCPP $CPPFLAGS'
23245ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23246ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23247ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23248
23249    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23250/* end confdefs.h.  */
23251#include <math.h>
23252int
23253main ()
23254{
23255ceilf (0); floorf (0);
23256  ;
23257  return 0;
23258}
23259_ACEOF
23260if ac_fn_cxx_try_compile "$LINENO"; then :
23261  glibcxx_cv_func_float_round_use=yes
23262else
23263  glibcxx_cv_func_float_round_use=no
23264fi
23265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23266    ac_ext=c
23267ac_cpp='$CPP $CPPFLAGS'
23268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23270ac_compiler_gnu=$ac_cv_c_compiler_gnu
23271
23272fi
23273
23274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23275$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23276  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23277    for ac_func in ceilf floorf
23278do :
23279  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23280ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23281if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23282  cat >>confdefs.h <<_ACEOF
23283#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23284_ACEOF
23285
23286fi
23287done
23288
23289  else
23290    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23291$as_echo_n "checking for _float round functions... " >&6; }
23292    if ${glibcxx_cv_func__float_round_use+:} false; then :
23293  $as_echo_n "(cached) " >&6
23294else
23295
23296
23297      ac_ext=cpp
23298ac_cpp='$CXXCPP $CPPFLAGS'
23299ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23302
23303      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23304/* end confdefs.h.  */
23305#include <math.h>
23306int
23307main ()
23308{
23309_ceilf (0); _floorf (0);
23310  ;
23311  return 0;
23312}
23313_ACEOF
23314if ac_fn_cxx_try_compile "$LINENO"; then :
23315  glibcxx_cv_func__float_round_use=yes
23316else
23317  glibcxx_cv_func__float_round_use=no
23318fi
23319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23320      ac_ext=c
23321ac_cpp='$CPP $CPPFLAGS'
23322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23324ac_compiler_gnu=$ac_cv_c_compiler_gnu
23325
23326fi
23327
23328    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23329$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23330    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23331      for ac_func in _ceilf _floorf
23332do :
23333  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23334ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23335if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23336  cat >>confdefs.h <<_ACEOF
23337#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23338_ACEOF
23339
23340fi
23341done
23342
23343    fi
23344  fi
23345
23346
23347
23348
23349
23350
23351  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23352$as_echo_n "checking for expf declaration... " >&6; }
23353  if test x${glibcxx_cv_func_expf_use+set} != xset; then
23354    if ${glibcxx_cv_func_expf_use+:} false; then :
23355  $as_echo_n "(cached) " >&6
23356else
23357
23358
23359      ac_ext=cpp
23360ac_cpp='$CXXCPP $CPPFLAGS'
23361ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23362ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23363ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23364
23365      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23366/* end confdefs.h.  */
23367#include <math.h>
23368		      #ifdef HAVE_IEEEFP_H
23369		      #include <ieeefp.h>
23370		      #endif
23371
23372int
23373main ()
23374{
23375 expf(0);
23376  ;
23377  return 0;
23378}
23379_ACEOF
23380if ac_fn_cxx_try_compile "$LINENO"; then :
23381  glibcxx_cv_func_expf_use=yes
23382else
23383  glibcxx_cv_func_expf_use=no
23384fi
23385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23386      ac_ext=c
23387ac_cpp='$CPP $CPPFLAGS'
23388ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390ac_compiler_gnu=$ac_cv_c_compiler_gnu
23391
23392
23393fi
23394
23395  fi
23396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23397$as_echo "$glibcxx_cv_func_expf_use" >&6; }
23398
23399  if test x$glibcxx_cv_func_expf_use = x"yes"; then
23400    for ac_func in expf
23401do :
23402  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23403if test "x$ac_cv_func_expf" = xyes; then :
23404  cat >>confdefs.h <<_ACEOF
23405#define HAVE_EXPF 1
23406_ACEOF
23407
23408fi
23409done
23410
23411  else
23412
23413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23414$as_echo_n "checking for _expf declaration... " >&6; }
23415  if test x${glibcxx_cv_func__expf_use+set} != xset; then
23416    if ${glibcxx_cv_func__expf_use+:} false; then :
23417  $as_echo_n "(cached) " >&6
23418else
23419
23420
23421      ac_ext=cpp
23422ac_cpp='$CXXCPP $CPPFLAGS'
23423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23426
23427      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23428/* end confdefs.h.  */
23429#include <math.h>
23430		      #ifdef HAVE_IEEEFP_H
23431		      #include <ieeefp.h>
23432		      #endif
23433
23434int
23435main ()
23436{
23437 _expf(0);
23438  ;
23439  return 0;
23440}
23441_ACEOF
23442if ac_fn_cxx_try_compile "$LINENO"; then :
23443  glibcxx_cv_func__expf_use=yes
23444else
23445  glibcxx_cv_func__expf_use=no
23446fi
23447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23448      ac_ext=c
23449ac_cpp='$CPP $CPPFLAGS'
23450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452ac_compiler_gnu=$ac_cv_c_compiler_gnu
23453
23454
23455fi
23456
23457  fi
23458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23459$as_echo "$glibcxx_cv_func__expf_use" >&6; }
23460
23461    if test x$glibcxx_cv_func__expf_use = x"yes"; then
23462      for ac_func in _expf
23463do :
23464  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23465if test "x$ac_cv_func__expf" = xyes; then :
23466  cat >>confdefs.h <<_ACEOF
23467#define HAVE__EXPF 1
23468_ACEOF
23469
23470fi
23471done
23472
23473    fi
23474  fi
23475
23476
23477
23478
23479
23480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23481$as_echo_n "checking for isnanf declaration... " >&6; }
23482  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23483    if ${glibcxx_cv_func_isnanf_use+:} false; then :
23484  $as_echo_n "(cached) " >&6
23485else
23486
23487
23488      ac_ext=cpp
23489ac_cpp='$CXXCPP $CPPFLAGS'
23490ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23493
23494      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23495/* end confdefs.h.  */
23496#include <math.h>
23497		      #ifdef HAVE_IEEEFP_H
23498		      #include <ieeefp.h>
23499		      #endif
23500
23501int
23502main ()
23503{
23504 isnanf(0);
23505  ;
23506  return 0;
23507}
23508_ACEOF
23509if ac_fn_cxx_try_compile "$LINENO"; then :
23510  glibcxx_cv_func_isnanf_use=yes
23511else
23512  glibcxx_cv_func_isnanf_use=no
23513fi
23514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515      ac_ext=c
23516ac_cpp='$CPP $CPPFLAGS'
23517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519ac_compiler_gnu=$ac_cv_c_compiler_gnu
23520
23521
23522fi
23523
23524  fi
23525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23526$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23527
23528  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23529    for ac_func in isnanf
23530do :
23531  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23532if test "x$ac_cv_func_isnanf" = xyes; then :
23533  cat >>confdefs.h <<_ACEOF
23534#define HAVE_ISNANF 1
23535_ACEOF
23536
23537fi
23538done
23539
23540  else
23541
23542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23543$as_echo_n "checking for _isnanf declaration... " >&6; }
23544  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23545    if ${glibcxx_cv_func__isnanf_use+:} false; then :
23546  $as_echo_n "(cached) " >&6
23547else
23548
23549
23550      ac_ext=cpp
23551ac_cpp='$CXXCPP $CPPFLAGS'
23552ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23555
23556      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23557/* end confdefs.h.  */
23558#include <math.h>
23559		      #ifdef HAVE_IEEEFP_H
23560		      #include <ieeefp.h>
23561		      #endif
23562
23563int
23564main ()
23565{
23566 _isnanf(0);
23567  ;
23568  return 0;
23569}
23570_ACEOF
23571if ac_fn_cxx_try_compile "$LINENO"; then :
23572  glibcxx_cv_func__isnanf_use=yes
23573else
23574  glibcxx_cv_func__isnanf_use=no
23575fi
23576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23577      ac_ext=c
23578ac_cpp='$CPP $CPPFLAGS'
23579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581ac_compiler_gnu=$ac_cv_c_compiler_gnu
23582
23583
23584fi
23585
23586  fi
23587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23588$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23589
23590    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23591      for ac_func in _isnanf
23592do :
23593  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23594if test "x$ac_cv_func__isnanf" = xyes; then :
23595  cat >>confdefs.h <<_ACEOF
23596#define HAVE__ISNANF 1
23597_ACEOF
23598
23599fi
23600done
23601
23602    fi
23603  fi
23604
23605
23606
23607
23608
23609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23610$as_echo_n "checking for isinff declaration... " >&6; }
23611  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23612    if ${glibcxx_cv_func_isinff_use+:} false; then :
23613  $as_echo_n "(cached) " >&6
23614else
23615
23616
23617      ac_ext=cpp
23618ac_cpp='$CXXCPP $CPPFLAGS'
23619ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23622
23623      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624/* end confdefs.h.  */
23625#include <math.h>
23626		      #ifdef HAVE_IEEEFP_H
23627		      #include <ieeefp.h>
23628		      #endif
23629
23630int
23631main ()
23632{
23633 isinff(0);
23634  ;
23635  return 0;
23636}
23637_ACEOF
23638if ac_fn_cxx_try_compile "$LINENO"; then :
23639  glibcxx_cv_func_isinff_use=yes
23640else
23641  glibcxx_cv_func_isinff_use=no
23642fi
23643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23644      ac_ext=c
23645ac_cpp='$CPP $CPPFLAGS'
23646ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648ac_compiler_gnu=$ac_cv_c_compiler_gnu
23649
23650
23651fi
23652
23653  fi
23654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23655$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23656
23657  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23658    for ac_func in isinff
23659do :
23660  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23661if test "x$ac_cv_func_isinff" = xyes; then :
23662  cat >>confdefs.h <<_ACEOF
23663#define HAVE_ISINFF 1
23664_ACEOF
23665
23666fi
23667done
23668
23669  else
23670
23671  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23672$as_echo_n "checking for _isinff declaration... " >&6; }
23673  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23674    if ${glibcxx_cv_func__isinff_use+:} false; then :
23675  $as_echo_n "(cached) " >&6
23676else
23677
23678
23679      ac_ext=cpp
23680ac_cpp='$CXXCPP $CPPFLAGS'
23681ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23682ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23683ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23684
23685      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23686/* end confdefs.h.  */
23687#include <math.h>
23688		      #ifdef HAVE_IEEEFP_H
23689		      #include <ieeefp.h>
23690		      #endif
23691
23692int
23693main ()
23694{
23695 _isinff(0);
23696  ;
23697  return 0;
23698}
23699_ACEOF
23700if ac_fn_cxx_try_compile "$LINENO"; then :
23701  glibcxx_cv_func__isinff_use=yes
23702else
23703  glibcxx_cv_func__isinff_use=no
23704fi
23705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23706      ac_ext=c
23707ac_cpp='$CPP $CPPFLAGS'
23708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710ac_compiler_gnu=$ac_cv_c_compiler_gnu
23711
23712
23713fi
23714
23715  fi
23716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23717$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23718
23719    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23720      for ac_func in _isinff
23721do :
23722  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23723if test "x$ac_cv_func__isinff" = xyes; then :
23724  cat >>confdefs.h <<_ACEOF
23725#define HAVE__ISINFF 1
23726_ACEOF
23727
23728fi
23729done
23730
23731    fi
23732  fi
23733
23734
23735
23736
23737
23738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23739$as_echo_n "checking for atan2f declaration... " >&6; }
23740  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23741    if ${glibcxx_cv_func_atan2f_use+:} false; then :
23742  $as_echo_n "(cached) " >&6
23743else
23744
23745
23746      ac_ext=cpp
23747ac_cpp='$CXXCPP $CPPFLAGS'
23748ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23751
23752      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23753/* end confdefs.h.  */
23754#include <math.h>
23755int
23756main ()
23757{
23758 atan2f(0, 0);
23759  ;
23760  return 0;
23761}
23762_ACEOF
23763if ac_fn_cxx_try_compile "$LINENO"; then :
23764  glibcxx_cv_func_atan2f_use=yes
23765else
23766  glibcxx_cv_func_atan2f_use=no
23767fi
23768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23769      ac_ext=c
23770ac_cpp='$CPP $CPPFLAGS'
23771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773ac_compiler_gnu=$ac_cv_c_compiler_gnu
23774
23775
23776fi
23777
23778  fi
23779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23780$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23781
23782  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23783    for ac_func in atan2f
23784do :
23785  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23786if test "x$ac_cv_func_atan2f" = xyes; then :
23787  cat >>confdefs.h <<_ACEOF
23788#define HAVE_ATAN2F 1
23789_ACEOF
23790
23791fi
23792done
23793
23794  else
23795
23796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23797$as_echo_n "checking for _atan2f declaration... " >&6; }
23798  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23799    if ${glibcxx_cv_func__atan2f_use+:} false; then :
23800  $as_echo_n "(cached) " >&6
23801else
23802
23803
23804      ac_ext=cpp
23805ac_cpp='$CXXCPP $CPPFLAGS'
23806ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23807ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23808ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23809
23810      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23811/* end confdefs.h.  */
23812#include <math.h>
23813int
23814main ()
23815{
23816 _atan2f(0, 0);
23817  ;
23818  return 0;
23819}
23820_ACEOF
23821if ac_fn_cxx_try_compile "$LINENO"; then :
23822  glibcxx_cv_func__atan2f_use=yes
23823else
23824  glibcxx_cv_func__atan2f_use=no
23825fi
23826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23827      ac_ext=c
23828ac_cpp='$CPP $CPPFLAGS'
23829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831ac_compiler_gnu=$ac_cv_c_compiler_gnu
23832
23833
23834fi
23835
23836  fi
23837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23838$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23839
23840    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23841      for ac_func in _atan2f
23842do :
23843  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23844if test "x$ac_cv_func__atan2f" = xyes; then :
23845  cat >>confdefs.h <<_ACEOF
23846#define HAVE__ATAN2F 1
23847_ACEOF
23848
23849fi
23850done
23851
23852    fi
23853  fi
23854
23855
23856
23857
23858
23859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23860$as_echo_n "checking for fabsf declaration... " >&6; }
23861  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23862    if ${glibcxx_cv_func_fabsf_use+:} false; then :
23863  $as_echo_n "(cached) " >&6
23864else
23865
23866
23867      ac_ext=cpp
23868ac_cpp='$CXXCPP $CPPFLAGS'
23869ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23872
23873      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23874/* end confdefs.h.  */
23875#include <math.h>
23876		      #ifdef HAVE_IEEEFP_H
23877		      #include <ieeefp.h>
23878		      #endif
23879
23880int
23881main ()
23882{
23883 fabsf(0);
23884  ;
23885  return 0;
23886}
23887_ACEOF
23888if ac_fn_cxx_try_compile "$LINENO"; then :
23889  glibcxx_cv_func_fabsf_use=yes
23890else
23891  glibcxx_cv_func_fabsf_use=no
23892fi
23893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23894      ac_ext=c
23895ac_cpp='$CPP $CPPFLAGS'
23896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898ac_compiler_gnu=$ac_cv_c_compiler_gnu
23899
23900
23901fi
23902
23903  fi
23904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23905$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23906
23907  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23908    for ac_func in fabsf
23909do :
23910  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23911if test "x$ac_cv_func_fabsf" = xyes; then :
23912  cat >>confdefs.h <<_ACEOF
23913#define HAVE_FABSF 1
23914_ACEOF
23915
23916fi
23917done
23918
23919  else
23920
23921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23922$as_echo_n "checking for _fabsf declaration... " >&6; }
23923  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23924    if ${glibcxx_cv_func__fabsf_use+:} false; then :
23925  $as_echo_n "(cached) " >&6
23926else
23927
23928
23929      ac_ext=cpp
23930ac_cpp='$CXXCPP $CPPFLAGS'
23931ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23932ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23933ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23934
23935      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23936/* end confdefs.h.  */
23937#include <math.h>
23938		      #ifdef HAVE_IEEEFP_H
23939		      #include <ieeefp.h>
23940		      #endif
23941
23942int
23943main ()
23944{
23945 _fabsf(0);
23946  ;
23947  return 0;
23948}
23949_ACEOF
23950if ac_fn_cxx_try_compile "$LINENO"; then :
23951  glibcxx_cv_func__fabsf_use=yes
23952else
23953  glibcxx_cv_func__fabsf_use=no
23954fi
23955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23956      ac_ext=c
23957ac_cpp='$CPP $CPPFLAGS'
23958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960ac_compiler_gnu=$ac_cv_c_compiler_gnu
23961
23962
23963fi
23964
23965  fi
23966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23967$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23968
23969    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23970      for ac_func in _fabsf
23971do :
23972  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23973if test "x$ac_cv_func__fabsf" = xyes; then :
23974  cat >>confdefs.h <<_ACEOF
23975#define HAVE__FABSF 1
23976_ACEOF
23977
23978fi
23979done
23980
23981    fi
23982  fi
23983
23984
23985
23986
23987
23988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23989$as_echo_n "checking for fmodf declaration... " >&6; }
23990  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23991    if ${glibcxx_cv_func_fmodf_use+:} false; then :
23992  $as_echo_n "(cached) " >&6
23993else
23994
23995
23996      ac_ext=cpp
23997ac_cpp='$CXXCPP $CPPFLAGS'
23998ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23999ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24000ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24001
24002      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24003/* end confdefs.h.  */
24004#include <math.h>
24005int
24006main ()
24007{
24008 fmodf(0, 0);
24009  ;
24010  return 0;
24011}
24012_ACEOF
24013if ac_fn_cxx_try_compile "$LINENO"; then :
24014  glibcxx_cv_func_fmodf_use=yes
24015else
24016  glibcxx_cv_func_fmodf_use=no
24017fi
24018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24019      ac_ext=c
24020ac_cpp='$CPP $CPPFLAGS'
24021ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24022ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24023ac_compiler_gnu=$ac_cv_c_compiler_gnu
24024
24025
24026fi
24027
24028  fi
24029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24030$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24031
24032  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24033    for ac_func in fmodf
24034do :
24035  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24036if test "x$ac_cv_func_fmodf" = xyes; then :
24037  cat >>confdefs.h <<_ACEOF
24038#define HAVE_FMODF 1
24039_ACEOF
24040
24041fi
24042done
24043
24044  else
24045
24046  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24047$as_echo_n "checking for _fmodf declaration... " >&6; }
24048  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24049    if ${glibcxx_cv_func__fmodf_use+:} false; then :
24050  $as_echo_n "(cached) " >&6
24051else
24052
24053
24054      ac_ext=cpp
24055ac_cpp='$CXXCPP $CPPFLAGS'
24056ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24059
24060      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24061/* end confdefs.h.  */
24062#include <math.h>
24063int
24064main ()
24065{
24066 _fmodf(0, 0);
24067  ;
24068  return 0;
24069}
24070_ACEOF
24071if ac_fn_cxx_try_compile "$LINENO"; then :
24072  glibcxx_cv_func__fmodf_use=yes
24073else
24074  glibcxx_cv_func__fmodf_use=no
24075fi
24076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24077      ac_ext=c
24078ac_cpp='$CPP $CPPFLAGS'
24079ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24080ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24081ac_compiler_gnu=$ac_cv_c_compiler_gnu
24082
24083
24084fi
24085
24086  fi
24087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24088$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24089
24090    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24091      for ac_func in _fmodf
24092do :
24093  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24094if test "x$ac_cv_func__fmodf" = xyes; then :
24095  cat >>confdefs.h <<_ACEOF
24096#define HAVE__FMODF 1
24097_ACEOF
24098
24099fi
24100done
24101
24102    fi
24103  fi
24104
24105
24106
24107
24108
24109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24110$as_echo_n "checking for frexpf declaration... " >&6; }
24111  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24112    if ${glibcxx_cv_func_frexpf_use+:} false; then :
24113  $as_echo_n "(cached) " >&6
24114else
24115
24116
24117      ac_ext=cpp
24118ac_cpp='$CXXCPP $CPPFLAGS'
24119ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24122
24123      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24124/* end confdefs.h.  */
24125#include <math.h>
24126int
24127main ()
24128{
24129 frexpf(0, 0);
24130  ;
24131  return 0;
24132}
24133_ACEOF
24134if ac_fn_cxx_try_compile "$LINENO"; then :
24135  glibcxx_cv_func_frexpf_use=yes
24136else
24137  glibcxx_cv_func_frexpf_use=no
24138fi
24139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24140      ac_ext=c
24141ac_cpp='$CPP $CPPFLAGS'
24142ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24143ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24144ac_compiler_gnu=$ac_cv_c_compiler_gnu
24145
24146
24147fi
24148
24149  fi
24150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24151$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24152
24153  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24154    for ac_func in frexpf
24155do :
24156  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24157if test "x$ac_cv_func_frexpf" = xyes; then :
24158  cat >>confdefs.h <<_ACEOF
24159#define HAVE_FREXPF 1
24160_ACEOF
24161
24162fi
24163done
24164
24165  else
24166
24167  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24168$as_echo_n "checking for _frexpf declaration... " >&6; }
24169  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24170    if ${glibcxx_cv_func__frexpf_use+:} false; then :
24171  $as_echo_n "(cached) " >&6
24172else
24173
24174
24175      ac_ext=cpp
24176ac_cpp='$CXXCPP $CPPFLAGS'
24177ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24178ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24179ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24180
24181      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24182/* end confdefs.h.  */
24183#include <math.h>
24184int
24185main ()
24186{
24187 _frexpf(0, 0);
24188  ;
24189  return 0;
24190}
24191_ACEOF
24192if ac_fn_cxx_try_compile "$LINENO"; then :
24193  glibcxx_cv_func__frexpf_use=yes
24194else
24195  glibcxx_cv_func__frexpf_use=no
24196fi
24197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24198      ac_ext=c
24199ac_cpp='$CPP $CPPFLAGS'
24200ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24201ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24202ac_compiler_gnu=$ac_cv_c_compiler_gnu
24203
24204
24205fi
24206
24207  fi
24208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24209$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24210
24211    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24212      for ac_func in _frexpf
24213do :
24214  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24215if test "x$ac_cv_func__frexpf" = xyes; then :
24216  cat >>confdefs.h <<_ACEOF
24217#define HAVE__FREXPF 1
24218_ACEOF
24219
24220fi
24221done
24222
24223    fi
24224  fi
24225
24226
24227
24228
24229
24230  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24231$as_echo_n "checking for hypotf declaration... " >&6; }
24232  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24233    if ${glibcxx_cv_func_hypotf_use+:} false; then :
24234  $as_echo_n "(cached) " >&6
24235else
24236
24237
24238      ac_ext=cpp
24239ac_cpp='$CXXCPP $CPPFLAGS'
24240ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24243
24244      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24245/* end confdefs.h.  */
24246#include <math.h>
24247int
24248main ()
24249{
24250 hypotf(0, 0);
24251  ;
24252  return 0;
24253}
24254_ACEOF
24255if ac_fn_cxx_try_compile "$LINENO"; then :
24256  glibcxx_cv_func_hypotf_use=yes
24257else
24258  glibcxx_cv_func_hypotf_use=no
24259fi
24260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24261      ac_ext=c
24262ac_cpp='$CPP $CPPFLAGS'
24263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265ac_compiler_gnu=$ac_cv_c_compiler_gnu
24266
24267
24268fi
24269
24270  fi
24271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24272$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24273
24274  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24275    for ac_func in hypotf
24276do :
24277  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24278if test "x$ac_cv_func_hypotf" = xyes; then :
24279  cat >>confdefs.h <<_ACEOF
24280#define HAVE_HYPOTF 1
24281_ACEOF
24282
24283fi
24284done
24285
24286  else
24287
24288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24289$as_echo_n "checking for _hypotf declaration... " >&6; }
24290  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24291    if ${glibcxx_cv_func__hypotf_use+:} false; then :
24292  $as_echo_n "(cached) " >&6
24293else
24294
24295
24296      ac_ext=cpp
24297ac_cpp='$CXXCPP $CPPFLAGS'
24298ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24301
24302      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24303/* end confdefs.h.  */
24304#include <math.h>
24305int
24306main ()
24307{
24308 _hypotf(0, 0);
24309  ;
24310  return 0;
24311}
24312_ACEOF
24313if ac_fn_cxx_try_compile "$LINENO"; then :
24314  glibcxx_cv_func__hypotf_use=yes
24315else
24316  glibcxx_cv_func__hypotf_use=no
24317fi
24318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24319      ac_ext=c
24320ac_cpp='$CPP $CPPFLAGS'
24321ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323ac_compiler_gnu=$ac_cv_c_compiler_gnu
24324
24325
24326fi
24327
24328  fi
24329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24330$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24331
24332    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24333      for ac_func in _hypotf
24334do :
24335  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24336if test "x$ac_cv_func__hypotf" = xyes; then :
24337  cat >>confdefs.h <<_ACEOF
24338#define HAVE__HYPOTF 1
24339_ACEOF
24340
24341fi
24342done
24343
24344    fi
24345  fi
24346
24347
24348
24349
24350
24351  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24352$as_echo_n "checking for ldexpf declaration... " >&6; }
24353  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24354    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24355  $as_echo_n "(cached) " >&6
24356else
24357
24358
24359      ac_ext=cpp
24360ac_cpp='$CXXCPP $CPPFLAGS'
24361ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24364
24365      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24366/* end confdefs.h.  */
24367#include <math.h>
24368int
24369main ()
24370{
24371 ldexpf(0, 0);
24372  ;
24373  return 0;
24374}
24375_ACEOF
24376if ac_fn_cxx_try_compile "$LINENO"; then :
24377  glibcxx_cv_func_ldexpf_use=yes
24378else
24379  glibcxx_cv_func_ldexpf_use=no
24380fi
24381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24382      ac_ext=c
24383ac_cpp='$CPP $CPPFLAGS'
24384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24386ac_compiler_gnu=$ac_cv_c_compiler_gnu
24387
24388
24389fi
24390
24391  fi
24392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24393$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24394
24395  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24396    for ac_func in ldexpf
24397do :
24398  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24399if test "x$ac_cv_func_ldexpf" = xyes; then :
24400  cat >>confdefs.h <<_ACEOF
24401#define HAVE_LDEXPF 1
24402_ACEOF
24403
24404fi
24405done
24406
24407  else
24408
24409  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24410$as_echo_n "checking for _ldexpf declaration... " >&6; }
24411  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24412    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24413  $as_echo_n "(cached) " >&6
24414else
24415
24416
24417      ac_ext=cpp
24418ac_cpp='$CXXCPP $CPPFLAGS'
24419ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24420ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24421ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24422
24423      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424/* end confdefs.h.  */
24425#include <math.h>
24426int
24427main ()
24428{
24429 _ldexpf(0, 0);
24430  ;
24431  return 0;
24432}
24433_ACEOF
24434if ac_fn_cxx_try_compile "$LINENO"; then :
24435  glibcxx_cv_func__ldexpf_use=yes
24436else
24437  glibcxx_cv_func__ldexpf_use=no
24438fi
24439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24440      ac_ext=c
24441ac_cpp='$CPP $CPPFLAGS'
24442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444ac_compiler_gnu=$ac_cv_c_compiler_gnu
24445
24446
24447fi
24448
24449  fi
24450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24451$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24452
24453    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24454      for ac_func in _ldexpf
24455do :
24456  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24457if test "x$ac_cv_func__ldexpf" = xyes; then :
24458  cat >>confdefs.h <<_ACEOF
24459#define HAVE__LDEXPF 1
24460_ACEOF
24461
24462fi
24463done
24464
24465    fi
24466  fi
24467
24468
24469
24470
24471
24472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24473$as_echo_n "checking for logf declaration... " >&6; }
24474  if test x${glibcxx_cv_func_logf_use+set} != xset; then
24475    if ${glibcxx_cv_func_logf_use+:} false; then :
24476  $as_echo_n "(cached) " >&6
24477else
24478
24479
24480      ac_ext=cpp
24481ac_cpp='$CXXCPP $CPPFLAGS'
24482ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24483ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24484ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24485
24486      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24487/* end confdefs.h.  */
24488#include <math.h>
24489		      #ifdef HAVE_IEEEFP_H
24490		      #include <ieeefp.h>
24491		      #endif
24492
24493int
24494main ()
24495{
24496 logf(0);
24497  ;
24498  return 0;
24499}
24500_ACEOF
24501if ac_fn_cxx_try_compile "$LINENO"; then :
24502  glibcxx_cv_func_logf_use=yes
24503else
24504  glibcxx_cv_func_logf_use=no
24505fi
24506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24507      ac_ext=c
24508ac_cpp='$CPP $CPPFLAGS'
24509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511ac_compiler_gnu=$ac_cv_c_compiler_gnu
24512
24513
24514fi
24515
24516  fi
24517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24518$as_echo "$glibcxx_cv_func_logf_use" >&6; }
24519
24520  if test x$glibcxx_cv_func_logf_use = x"yes"; then
24521    for ac_func in logf
24522do :
24523  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24524if test "x$ac_cv_func_logf" = xyes; then :
24525  cat >>confdefs.h <<_ACEOF
24526#define HAVE_LOGF 1
24527_ACEOF
24528
24529fi
24530done
24531
24532  else
24533
24534  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24535$as_echo_n "checking for _logf declaration... " >&6; }
24536  if test x${glibcxx_cv_func__logf_use+set} != xset; then
24537    if ${glibcxx_cv_func__logf_use+:} false; then :
24538  $as_echo_n "(cached) " >&6
24539else
24540
24541
24542      ac_ext=cpp
24543ac_cpp='$CXXCPP $CPPFLAGS'
24544ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24545ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24546ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24547
24548      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24549/* end confdefs.h.  */
24550#include <math.h>
24551		      #ifdef HAVE_IEEEFP_H
24552		      #include <ieeefp.h>
24553		      #endif
24554
24555int
24556main ()
24557{
24558 _logf(0);
24559  ;
24560  return 0;
24561}
24562_ACEOF
24563if ac_fn_cxx_try_compile "$LINENO"; then :
24564  glibcxx_cv_func__logf_use=yes
24565else
24566  glibcxx_cv_func__logf_use=no
24567fi
24568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24569      ac_ext=c
24570ac_cpp='$CPP $CPPFLAGS'
24571ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24572ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24573ac_compiler_gnu=$ac_cv_c_compiler_gnu
24574
24575
24576fi
24577
24578  fi
24579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24580$as_echo "$glibcxx_cv_func__logf_use" >&6; }
24581
24582    if test x$glibcxx_cv_func__logf_use = x"yes"; then
24583      for ac_func in _logf
24584do :
24585  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24586if test "x$ac_cv_func__logf" = xyes; then :
24587  cat >>confdefs.h <<_ACEOF
24588#define HAVE__LOGF 1
24589_ACEOF
24590
24591fi
24592done
24593
24594    fi
24595  fi
24596
24597
24598
24599
24600
24601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24602$as_echo_n "checking for log10f declaration... " >&6; }
24603  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24604    if ${glibcxx_cv_func_log10f_use+:} false; then :
24605  $as_echo_n "(cached) " >&6
24606else
24607
24608
24609      ac_ext=cpp
24610ac_cpp='$CXXCPP $CPPFLAGS'
24611ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24614
24615      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24616/* end confdefs.h.  */
24617#include <math.h>
24618		      #ifdef HAVE_IEEEFP_H
24619		      #include <ieeefp.h>
24620		      #endif
24621
24622int
24623main ()
24624{
24625 log10f(0);
24626  ;
24627  return 0;
24628}
24629_ACEOF
24630if ac_fn_cxx_try_compile "$LINENO"; then :
24631  glibcxx_cv_func_log10f_use=yes
24632else
24633  glibcxx_cv_func_log10f_use=no
24634fi
24635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636      ac_ext=c
24637ac_cpp='$CPP $CPPFLAGS'
24638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24640ac_compiler_gnu=$ac_cv_c_compiler_gnu
24641
24642
24643fi
24644
24645  fi
24646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24647$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24648
24649  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24650    for ac_func in log10f
24651do :
24652  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24653if test "x$ac_cv_func_log10f" = xyes; then :
24654  cat >>confdefs.h <<_ACEOF
24655#define HAVE_LOG10F 1
24656_ACEOF
24657
24658fi
24659done
24660
24661  else
24662
24663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24664$as_echo_n "checking for _log10f declaration... " >&6; }
24665  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24666    if ${glibcxx_cv_func__log10f_use+:} false; then :
24667  $as_echo_n "(cached) " >&6
24668else
24669
24670
24671      ac_ext=cpp
24672ac_cpp='$CXXCPP $CPPFLAGS'
24673ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24674ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24675ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24676
24677      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24678/* end confdefs.h.  */
24679#include <math.h>
24680		      #ifdef HAVE_IEEEFP_H
24681		      #include <ieeefp.h>
24682		      #endif
24683
24684int
24685main ()
24686{
24687 _log10f(0);
24688  ;
24689  return 0;
24690}
24691_ACEOF
24692if ac_fn_cxx_try_compile "$LINENO"; then :
24693  glibcxx_cv_func__log10f_use=yes
24694else
24695  glibcxx_cv_func__log10f_use=no
24696fi
24697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24698      ac_ext=c
24699ac_cpp='$CPP $CPPFLAGS'
24700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702ac_compiler_gnu=$ac_cv_c_compiler_gnu
24703
24704
24705fi
24706
24707  fi
24708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24709$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24710
24711    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24712      for ac_func in _log10f
24713do :
24714  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24715if test "x$ac_cv_func__log10f" = xyes; then :
24716  cat >>confdefs.h <<_ACEOF
24717#define HAVE__LOG10F 1
24718_ACEOF
24719
24720fi
24721done
24722
24723    fi
24724  fi
24725
24726
24727
24728
24729
24730  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24731$as_echo_n "checking for modff declaration... " >&6; }
24732  if test x${glibcxx_cv_func_modff_use+set} != xset; then
24733    if ${glibcxx_cv_func_modff_use+:} false; then :
24734  $as_echo_n "(cached) " >&6
24735else
24736
24737
24738      ac_ext=cpp
24739ac_cpp='$CXXCPP $CPPFLAGS'
24740ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24741ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24742ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24743
24744      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24745/* end confdefs.h.  */
24746#include <math.h>
24747int
24748main ()
24749{
24750 modff(0, 0);
24751  ;
24752  return 0;
24753}
24754_ACEOF
24755if ac_fn_cxx_try_compile "$LINENO"; then :
24756  glibcxx_cv_func_modff_use=yes
24757else
24758  glibcxx_cv_func_modff_use=no
24759fi
24760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761      ac_ext=c
24762ac_cpp='$CPP $CPPFLAGS'
24763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765ac_compiler_gnu=$ac_cv_c_compiler_gnu
24766
24767
24768fi
24769
24770  fi
24771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24772$as_echo "$glibcxx_cv_func_modff_use" >&6; }
24773
24774  if test x$glibcxx_cv_func_modff_use = x"yes"; then
24775    for ac_func in modff
24776do :
24777  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24778if test "x$ac_cv_func_modff" = xyes; then :
24779  cat >>confdefs.h <<_ACEOF
24780#define HAVE_MODFF 1
24781_ACEOF
24782
24783fi
24784done
24785
24786  else
24787
24788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24789$as_echo_n "checking for _modff declaration... " >&6; }
24790  if test x${glibcxx_cv_func__modff_use+set} != xset; then
24791    if ${glibcxx_cv_func__modff_use+:} false; then :
24792  $as_echo_n "(cached) " >&6
24793else
24794
24795
24796      ac_ext=cpp
24797ac_cpp='$CXXCPP $CPPFLAGS'
24798ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24799ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24800ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24801
24802      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24803/* end confdefs.h.  */
24804#include <math.h>
24805int
24806main ()
24807{
24808 _modff(0, 0);
24809  ;
24810  return 0;
24811}
24812_ACEOF
24813if ac_fn_cxx_try_compile "$LINENO"; then :
24814  glibcxx_cv_func__modff_use=yes
24815else
24816  glibcxx_cv_func__modff_use=no
24817fi
24818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24819      ac_ext=c
24820ac_cpp='$CPP $CPPFLAGS'
24821ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823ac_compiler_gnu=$ac_cv_c_compiler_gnu
24824
24825
24826fi
24827
24828  fi
24829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24830$as_echo "$glibcxx_cv_func__modff_use" >&6; }
24831
24832    if test x$glibcxx_cv_func__modff_use = x"yes"; then
24833      for ac_func in _modff
24834do :
24835  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24836if test "x$ac_cv_func__modff" = xyes; then :
24837  cat >>confdefs.h <<_ACEOF
24838#define HAVE__MODFF 1
24839_ACEOF
24840
24841fi
24842done
24843
24844    fi
24845  fi
24846
24847
24848
24849
24850
24851  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24852$as_echo_n "checking for modf declaration... " >&6; }
24853  if test x${glibcxx_cv_func_modf_use+set} != xset; then
24854    if ${glibcxx_cv_func_modf_use+:} false; then :
24855  $as_echo_n "(cached) " >&6
24856else
24857
24858
24859      ac_ext=cpp
24860ac_cpp='$CXXCPP $CPPFLAGS'
24861ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24862ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24863ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24864
24865      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24866/* end confdefs.h.  */
24867#include <math.h>
24868int
24869main ()
24870{
24871 modf(0, 0);
24872  ;
24873  return 0;
24874}
24875_ACEOF
24876if ac_fn_cxx_try_compile "$LINENO"; then :
24877  glibcxx_cv_func_modf_use=yes
24878else
24879  glibcxx_cv_func_modf_use=no
24880fi
24881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24882      ac_ext=c
24883ac_cpp='$CPP $CPPFLAGS'
24884ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886ac_compiler_gnu=$ac_cv_c_compiler_gnu
24887
24888
24889fi
24890
24891  fi
24892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24893$as_echo "$glibcxx_cv_func_modf_use" >&6; }
24894
24895  if test x$glibcxx_cv_func_modf_use = x"yes"; then
24896    for ac_func in modf
24897do :
24898  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24899if test "x$ac_cv_func_modf" = xyes; then :
24900  cat >>confdefs.h <<_ACEOF
24901#define HAVE_MODF 1
24902_ACEOF
24903
24904fi
24905done
24906
24907  else
24908
24909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24910$as_echo_n "checking for _modf declaration... " >&6; }
24911  if test x${glibcxx_cv_func__modf_use+set} != xset; then
24912    if ${glibcxx_cv_func__modf_use+:} false; then :
24913  $as_echo_n "(cached) " >&6
24914else
24915
24916
24917      ac_ext=cpp
24918ac_cpp='$CXXCPP $CPPFLAGS'
24919ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24920ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24921ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24922
24923      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24924/* end confdefs.h.  */
24925#include <math.h>
24926int
24927main ()
24928{
24929 _modf(0, 0);
24930  ;
24931  return 0;
24932}
24933_ACEOF
24934if ac_fn_cxx_try_compile "$LINENO"; then :
24935  glibcxx_cv_func__modf_use=yes
24936else
24937  glibcxx_cv_func__modf_use=no
24938fi
24939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24940      ac_ext=c
24941ac_cpp='$CPP $CPPFLAGS'
24942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944ac_compiler_gnu=$ac_cv_c_compiler_gnu
24945
24946
24947fi
24948
24949  fi
24950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24951$as_echo "$glibcxx_cv_func__modf_use" >&6; }
24952
24953    if test x$glibcxx_cv_func__modf_use = x"yes"; then
24954      for ac_func in _modf
24955do :
24956  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24957if test "x$ac_cv_func__modf" = xyes; then :
24958  cat >>confdefs.h <<_ACEOF
24959#define HAVE__MODF 1
24960_ACEOF
24961
24962fi
24963done
24964
24965    fi
24966  fi
24967
24968
24969
24970
24971
24972  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24973$as_echo_n "checking for powf declaration... " >&6; }
24974  if test x${glibcxx_cv_func_powf_use+set} != xset; then
24975    if ${glibcxx_cv_func_powf_use+:} false; then :
24976  $as_echo_n "(cached) " >&6
24977else
24978
24979
24980      ac_ext=cpp
24981ac_cpp='$CXXCPP $CPPFLAGS'
24982ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24983ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24984ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24985
24986      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24987/* end confdefs.h.  */
24988#include <math.h>
24989int
24990main ()
24991{
24992 powf(0, 0);
24993  ;
24994  return 0;
24995}
24996_ACEOF
24997if ac_fn_cxx_try_compile "$LINENO"; then :
24998  glibcxx_cv_func_powf_use=yes
24999else
25000  glibcxx_cv_func_powf_use=no
25001fi
25002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25003      ac_ext=c
25004ac_cpp='$CPP $CPPFLAGS'
25005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007ac_compiler_gnu=$ac_cv_c_compiler_gnu
25008
25009
25010fi
25011
25012  fi
25013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25014$as_echo "$glibcxx_cv_func_powf_use" >&6; }
25015
25016  if test x$glibcxx_cv_func_powf_use = x"yes"; then
25017    for ac_func in powf
25018do :
25019  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25020if test "x$ac_cv_func_powf" = xyes; then :
25021  cat >>confdefs.h <<_ACEOF
25022#define HAVE_POWF 1
25023_ACEOF
25024
25025fi
25026done
25027
25028  else
25029
25030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25031$as_echo_n "checking for _powf declaration... " >&6; }
25032  if test x${glibcxx_cv_func__powf_use+set} != xset; then
25033    if ${glibcxx_cv_func__powf_use+:} false; then :
25034  $as_echo_n "(cached) " >&6
25035else
25036
25037
25038      ac_ext=cpp
25039ac_cpp='$CXXCPP $CPPFLAGS'
25040ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25041ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25043
25044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25045/* end confdefs.h.  */
25046#include <math.h>
25047int
25048main ()
25049{
25050 _powf(0, 0);
25051  ;
25052  return 0;
25053}
25054_ACEOF
25055if ac_fn_cxx_try_compile "$LINENO"; then :
25056  glibcxx_cv_func__powf_use=yes
25057else
25058  glibcxx_cv_func__powf_use=no
25059fi
25060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25061      ac_ext=c
25062ac_cpp='$CPP $CPPFLAGS'
25063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25065ac_compiler_gnu=$ac_cv_c_compiler_gnu
25066
25067
25068fi
25069
25070  fi
25071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25072$as_echo "$glibcxx_cv_func__powf_use" >&6; }
25073
25074    if test x$glibcxx_cv_func__powf_use = x"yes"; then
25075      for ac_func in _powf
25076do :
25077  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25078if test "x$ac_cv_func__powf" = xyes; then :
25079  cat >>confdefs.h <<_ACEOF
25080#define HAVE__POWF 1
25081_ACEOF
25082
25083fi
25084done
25085
25086    fi
25087  fi
25088
25089
25090
25091
25092
25093  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25094$as_echo_n "checking for sqrtf declaration... " >&6; }
25095  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25096    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25097  $as_echo_n "(cached) " >&6
25098else
25099
25100
25101      ac_ext=cpp
25102ac_cpp='$CXXCPP $CPPFLAGS'
25103ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25104ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25105ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25106
25107      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25108/* end confdefs.h.  */
25109#include <math.h>
25110		      #ifdef HAVE_IEEEFP_H
25111		      #include <ieeefp.h>
25112		      #endif
25113
25114int
25115main ()
25116{
25117 sqrtf(0);
25118  ;
25119  return 0;
25120}
25121_ACEOF
25122if ac_fn_cxx_try_compile "$LINENO"; then :
25123  glibcxx_cv_func_sqrtf_use=yes
25124else
25125  glibcxx_cv_func_sqrtf_use=no
25126fi
25127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128      ac_ext=c
25129ac_cpp='$CPP $CPPFLAGS'
25130ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132ac_compiler_gnu=$ac_cv_c_compiler_gnu
25133
25134
25135fi
25136
25137  fi
25138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25139$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25140
25141  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25142    for ac_func in sqrtf
25143do :
25144  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25145if test "x$ac_cv_func_sqrtf" = xyes; then :
25146  cat >>confdefs.h <<_ACEOF
25147#define HAVE_SQRTF 1
25148_ACEOF
25149
25150fi
25151done
25152
25153  else
25154
25155  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25156$as_echo_n "checking for _sqrtf declaration... " >&6; }
25157  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25158    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25159  $as_echo_n "(cached) " >&6
25160else
25161
25162
25163      ac_ext=cpp
25164ac_cpp='$CXXCPP $CPPFLAGS'
25165ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25166ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25167ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25168
25169      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25170/* end confdefs.h.  */
25171#include <math.h>
25172		      #ifdef HAVE_IEEEFP_H
25173		      #include <ieeefp.h>
25174		      #endif
25175
25176int
25177main ()
25178{
25179 _sqrtf(0);
25180  ;
25181  return 0;
25182}
25183_ACEOF
25184if ac_fn_cxx_try_compile "$LINENO"; then :
25185  glibcxx_cv_func__sqrtf_use=yes
25186else
25187  glibcxx_cv_func__sqrtf_use=no
25188fi
25189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25190      ac_ext=c
25191ac_cpp='$CPP $CPPFLAGS'
25192ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194ac_compiler_gnu=$ac_cv_c_compiler_gnu
25195
25196
25197fi
25198
25199  fi
25200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25201$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25202
25203    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25204      for ac_func in _sqrtf
25205do :
25206  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25207if test "x$ac_cv_func__sqrtf" = xyes; then :
25208  cat >>confdefs.h <<_ACEOF
25209#define HAVE__SQRTF 1
25210_ACEOF
25211
25212fi
25213done
25214
25215    fi
25216  fi
25217
25218
25219
25220
25221
25222  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25223$as_echo_n "checking for sincosf declaration... " >&6; }
25224  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25225    if ${glibcxx_cv_func_sincosf_use+:} false; then :
25226  $as_echo_n "(cached) " >&6
25227else
25228
25229
25230      ac_ext=cpp
25231ac_cpp='$CXXCPP $CPPFLAGS'
25232ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25233ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25234ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25235
25236      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25237/* end confdefs.h.  */
25238#include <math.h>
25239int
25240main ()
25241{
25242 sincosf(0, 0, 0);
25243  ;
25244  return 0;
25245}
25246_ACEOF
25247if ac_fn_cxx_try_compile "$LINENO"; then :
25248  glibcxx_cv_func_sincosf_use=yes
25249else
25250  glibcxx_cv_func_sincosf_use=no
25251fi
25252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25253      ac_ext=c
25254ac_cpp='$CPP $CPPFLAGS'
25255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25257ac_compiler_gnu=$ac_cv_c_compiler_gnu
25258
25259
25260fi
25261
25262  fi
25263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25264$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25265
25266  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25267    for ac_func in sincosf
25268do :
25269  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25270if test "x$ac_cv_func_sincosf" = xyes; then :
25271  cat >>confdefs.h <<_ACEOF
25272#define HAVE_SINCOSF 1
25273_ACEOF
25274
25275fi
25276done
25277
25278  else
25279
25280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25281$as_echo_n "checking for _sincosf declaration... " >&6; }
25282  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25283    if ${glibcxx_cv_func__sincosf_use+:} false; then :
25284  $as_echo_n "(cached) " >&6
25285else
25286
25287
25288      ac_ext=cpp
25289ac_cpp='$CXXCPP $CPPFLAGS'
25290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25293
25294      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25295/* end confdefs.h.  */
25296#include <math.h>
25297int
25298main ()
25299{
25300 _sincosf(0, 0, 0);
25301  ;
25302  return 0;
25303}
25304_ACEOF
25305if ac_fn_cxx_try_compile "$LINENO"; then :
25306  glibcxx_cv_func__sincosf_use=yes
25307else
25308  glibcxx_cv_func__sincosf_use=no
25309fi
25310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25311      ac_ext=c
25312ac_cpp='$CPP $CPPFLAGS'
25313ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315ac_compiler_gnu=$ac_cv_c_compiler_gnu
25316
25317
25318fi
25319
25320  fi
25321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25322$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25323
25324    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25325      for ac_func in _sincosf
25326do :
25327  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25328if test "x$ac_cv_func__sincosf" = xyes; then :
25329  cat >>confdefs.h <<_ACEOF
25330#define HAVE__SINCOSF 1
25331_ACEOF
25332
25333fi
25334done
25335
25336    fi
25337  fi
25338
25339
25340
25341
25342
25343  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25344$as_echo_n "checking for finitef declaration... " >&6; }
25345  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25346    if ${glibcxx_cv_func_finitef_use+:} false; then :
25347  $as_echo_n "(cached) " >&6
25348else
25349
25350
25351      ac_ext=cpp
25352ac_cpp='$CXXCPP $CPPFLAGS'
25353ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25354ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25355ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25356
25357      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25358/* end confdefs.h.  */
25359#include <math.h>
25360		      #ifdef HAVE_IEEEFP_H
25361		      #include <ieeefp.h>
25362		      #endif
25363
25364int
25365main ()
25366{
25367 finitef(0);
25368  ;
25369  return 0;
25370}
25371_ACEOF
25372if ac_fn_cxx_try_compile "$LINENO"; then :
25373  glibcxx_cv_func_finitef_use=yes
25374else
25375  glibcxx_cv_func_finitef_use=no
25376fi
25377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25378      ac_ext=c
25379ac_cpp='$CPP $CPPFLAGS'
25380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25382ac_compiler_gnu=$ac_cv_c_compiler_gnu
25383
25384
25385fi
25386
25387  fi
25388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25389$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25390
25391  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25392    for ac_func in finitef
25393do :
25394  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25395if test "x$ac_cv_func_finitef" = xyes; then :
25396  cat >>confdefs.h <<_ACEOF
25397#define HAVE_FINITEF 1
25398_ACEOF
25399
25400fi
25401done
25402
25403  else
25404
25405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25406$as_echo_n "checking for _finitef declaration... " >&6; }
25407  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25408    if ${glibcxx_cv_func__finitef_use+:} false; then :
25409  $as_echo_n "(cached) " >&6
25410else
25411
25412
25413      ac_ext=cpp
25414ac_cpp='$CXXCPP $CPPFLAGS'
25415ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25416ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25417ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25418
25419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25420/* end confdefs.h.  */
25421#include <math.h>
25422		      #ifdef HAVE_IEEEFP_H
25423		      #include <ieeefp.h>
25424		      #endif
25425
25426int
25427main ()
25428{
25429 _finitef(0);
25430  ;
25431  return 0;
25432}
25433_ACEOF
25434if ac_fn_cxx_try_compile "$LINENO"; then :
25435  glibcxx_cv_func__finitef_use=yes
25436else
25437  glibcxx_cv_func__finitef_use=no
25438fi
25439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25440      ac_ext=c
25441ac_cpp='$CPP $CPPFLAGS'
25442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444ac_compiler_gnu=$ac_cv_c_compiler_gnu
25445
25446
25447fi
25448
25449  fi
25450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25451$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25452
25453    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25454      for ac_func in _finitef
25455do :
25456  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25457if test "x$ac_cv_func__finitef" = xyes; then :
25458  cat >>confdefs.h <<_ACEOF
25459#define HAVE__FINITEF 1
25460_ACEOF
25461
25462fi
25463done
25464
25465    fi
25466  fi
25467
25468
25469
25470
25471
25472    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25473$as_echo_n "checking for long double trig functions... " >&6; }
25474  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25475  $as_echo_n "(cached) " >&6
25476else
25477
25478
25479    ac_ext=cpp
25480ac_cpp='$CXXCPP $CPPFLAGS'
25481ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25482ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25483ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25484
25485    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25486/* end confdefs.h.  */
25487#include <math.h>
25488int
25489main ()
25490{
25491acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25492  ;
25493  return 0;
25494}
25495_ACEOF
25496if ac_fn_cxx_try_compile "$LINENO"; then :
25497  glibcxx_cv_func_long_double_trig_use=yes
25498else
25499  glibcxx_cv_func_long_double_trig_use=no
25500fi
25501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25502    ac_ext=c
25503ac_cpp='$CPP $CPPFLAGS'
25504ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25506ac_compiler_gnu=$ac_cv_c_compiler_gnu
25507
25508fi
25509
25510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25511$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25512  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25513    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25514do :
25515  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25516ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25517if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25518  cat >>confdefs.h <<_ACEOF
25519#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25520_ACEOF
25521
25522fi
25523done
25524
25525  else
25526    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25527$as_echo_n "checking for _long double trig functions... " >&6; }
25528    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25529  $as_echo_n "(cached) " >&6
25530else
25531
25532
25533      ac_ext=cpp
25534ac_cpp='$CXXCPP $CPPFLAGS'
25535ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25536ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25537ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25538
25539      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25540/* end confdefs.h.  */
25541#include <math.h>
25542int
25543main ()
25544{
25545_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25546  ;
25547  return 0;
25548}
25549_ACEOF
25550if ac_fn_cxx_try_compile "$LINENO"; then :
25551  glibcxx_cv_func__long_double_trig_use=yes
25552else
25553  glibcxx_cv_func__long_double_trig_use=no
25554fi
25555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25556      ac_ext=c
25557ac_cpp='$CPP $CPPFLAGS'
25558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25560ac_compiler_gnu=$ac_cv_c_compiler_gnu
25561
25562fi
25563
25564    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25565$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25566    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25567      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25568do :
25569  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25570ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25571if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25572  cat >>confdefs.h <<_ACEOF
25573#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25574_ACEOF
25575
25576fi
25577done
25578
25579    fi
25580  fi
25581
25582
25583
25584
25585
25586    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25587$as_echo_n "checking for long double round functions... " >&6; }
25588  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25589  $as_echo_n "(cached) " >&6
25590else
25591
25592
25593    ac_ext=cpp
25594ac_cpp='$CXXCPP $CPPFLAGS'
25595ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25596ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25597ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25598
25599    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25600/* end confdefs.h.  */
25601#include <math.h>
25602int
25603main ()
25604{
25605ceill (0); floorl (0);
25606  ;
25607  return 0;
25608}
25609_ACEOF
25610if ac_fn_cxx_try_compile "$LINENO"; then :
25611  glibcxx_cv_func_long_double_round_use=yes
25612else
25613  glibcxx_cv_func_long_double_round_use=no
25614fi
25615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25616    ac_ext=c
25617ac_cpp='$CPP $CPPFLAGS'
25618ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25619ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25620ac_compiler_gnu=$ac_cv_c_compiler_gnu
25621
25622fi
25623
25624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25625$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25626  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25627    for ac_func in ceill floorl
25628do :
25629  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25630ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25631if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25632  cat >>confdefs.h <<_ACEOF
25633#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25634_ACEOF
25635
25636fi
25637done
25638
25639  else
25640    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25641$as_echo_n "checking for _long double round functions... " >&6; }
25642    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25643  $as_echo_n "(cached) " >&6
25644else
25645
25646
25647      ac_ext=cpp
25648ac_cpp='$CXXCPP $CPPFLAGS'
25649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25652
25653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25654/* end confdefs.h.  */
25655#include <math.h>
25656int
25657main ()
25658{
25659_ceill (0); _floorl (0);
25660  ;
25661  return 0;
25662}
25663_ACEOF
25664if ac_fn_cxx_try_compile "$LINENO"; then :
25665  glibcxx_cv_func__long_double_round_use=yes
25666else
25667  glibcxx_cv_func__long_double_round_use=no
25668fi
25669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25670      ac_ext=c
25671ac_cpp='$CPP $CPPFLAGS'
25672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25674ac_compiler_gnu=$ac_cv_c_compiler_gnu
25675
25676fi
25677
25678    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25679$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25680    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25681      for ac_func in _ceill _floorl
25682do :
25683  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25684ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25685if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25686  cat >>confdefs.h <<_ACEOF
25687#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25688_ACEOF
25689
25690fi
25691done
25692
25693    fi
25694  fi
25695
25696
25697
25698
25699
25700
25701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25702$as_echo_n "checking for isnanl declaration... " >&6; }
25703  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25704    if ${glibcxx_cv_func_isnanl_use+:} false; then :
25705  $as_echo_n "(cached) " >&6
25706else
25707
25708
25709      ac_ext=cpp
25710ac_cpp='$CXXCPP $CPPFLAGS'
25711ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25712ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25713ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25714
25715      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25716/* end confdefs.h.  */
25717#include <math.h>
25718		      #ifdef HAVE_IEEEFP_H
25719		      #include <ieeefp.h>
25720		      #endif
25721
25722int
25723main ()
25724{
25725 isnanl(0);
25726  ;
25727  return 0;
25728}
25729_ACEOF
25730if ac_fn_cxx_try_compile "$LINENO"; then :
25731  glibcxx_cv_func_isnanl_use=yes
25732else
25733  glibcxx_cv_func_isnanl_use=no
25734fi
25735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25736      ac_ext=c
25737ac_cpp='$CPP $CPPFLAGS'
25738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25740ac_compiler_gnu=$ac_cv_c_compiler_gnu
25741
25742
25743fi
25744
25745  fi
25746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25747$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25748
25749  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25750    for ac_func in isnanl
25751do :
25752  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25753if test "x$ac_cv_func_isnanl" = xyes; then :
25754  cat >>confdefs.h <<_ACEOF
25755#define HAVE_ISNANL 1
25756_ACEOF
25757
25758fi
25759done
25760
25761  else
25762
25763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25764$as_echo_n "checking for _isnanl declaration... " >&6; }
25765  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25766    if ${glibcxx_cv_func__isnanl_use+:} false; then :
25767  $as_echo_n "(cached) " >&6
25768else
25769
25770
25771      ac_ext=cpp
25772ac_cpp='$CXXCPP $CPPFLAGS'
25773ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25774ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25775ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25776
25777      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25778/* end confdefs.h.  */
25779#include <math.h>
25780		      #ifdef HAVE_IEEEFP_H
25781		      #include <ieeefp.h>
25782		      #endif
25783
25784int
25785main ()
25786{
25787 _isnanl(0);
25788  ;
25789  return 0;
25790}
25791_ACEOF
25792if ac_fn_cxx_try_compile "$LINENO"; then :
25793  glibcxx_cv_func__isnanl_use=yes
25794else
25795  glibcxx_cv_func__isnanl_use=no
25796fi
25797rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25798      ac_ext=c
25799ac_cpp='$CPP $CPPFLAGS'
25800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25802ac_compiler_gnu=$ac_cv_c_compiler_gnu
25803
25804
25805fi
25806
25807  fi
25808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25809$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25810
25811    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25812      for ac_func in _isnanl
25813do :
25814  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25815if test "x$ac_cv_func__isnanl" = xyes; then :
25816  cat >>confdefs.h <<_ACEOF
25817#define HAVE__ISNANL 1
25818_ACEOF
25819
25820fi
25821done
25822
25823    fi
25824  fi
25825
25826
25827
25828
25829
25830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25831$as_echo_n "checking for isinfl declaration... " >&6; }
25832  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25833    if ${glibcxx_cv_func_isinfl_use+:} false; then :
25834  $as_echo_n "(cached) " >&6
25835else
25836
25837
25838      ac_ext=cpp
25839ac_cpp='$CXXCPP $CPPFLAGS'
25840ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25841ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25842ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25843
25844      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25845/* end confdefs.h.  */
25846#include <math.h>
25847		      #ifdef HAVE_IEEEFP_H
25848		      #include <ieeefp.h>
25849		      #endif
25850
25851int
25852main ()
25853{
25854 isinfl(0);
25855  ;
25856  return 0;
25857}
25858_ACEOF
25859if ac_fn_cxx_try_compile "$LINENO"; then :
25860  glibcxx_cv_func_isinfl_use=yes
25861else
25862  glibcxx_cv_func_isinfl_use=no
25863fi
25864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25865      ac_ext=c
25866ac_cpp='$CPP $CPPFLAGS'
25867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25869ac_compiler_gnu=$ac_cv_c_compiler_gnu
25870
25871
25872fi
25873
25874  fi
25875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25876$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25877
25878  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25879    for ac_func in isinfl
25880do :
25881  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25882if test "x$ac_cv_func_isinfl" = xyes; then :
25883  cat >>confdefs.h <<_ACEOF
25884#define HAVE_ISINFL 1
25885_ACEOF
25886
25887fi
25888done
25889
25890  else
25891
25892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25893$as_echo_n "checking for _isinfl declaration... " >&6; }
25894  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25895    if ${glibcxx_cv_func__isinfl_use+:} false; then :
25896  $as_echo_n "(cached) " >&6
25897else
25898
25899
25900      ac_ext=cpp
25901ac_cpp='$CXXCPP $CPPFLAGS'
25902ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25905
25906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25907/* end confdefs.h.  */
25908#include <math.h>
25909		      #ifdef HAVE_IEEEFP_H
25910		      #include <ieeefp.h>
25911		      #endif
25912
25913int
25914main ()
25915{
25916 _isinfl(0);
25917  ;
25918  return 0;
25919}
25920_ACEOF
25921if ac_fn_cxx_try_compile "$LINENO"; then :
25922  glibcxx_cv_func__isinfl_use=yes
25923else
25924  glibcxx_cv_func__isinfl_use=no
25925fi
25926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25927      ac_ext=c
25928ac_cpp='$CPP $CPPFLAGS'
25929ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25930ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25931ac_compiler_gnu=$ac_cv_c_compiler_gnu
25932
25933
25934fi
25935
25936  fi
25937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25938$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25939
25940    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25941      for ac_func in _isinfl
25942do :
25943  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25944if test "x$ac_cv_func__isinfl" = xyes; then :
25945  cat >>confdefs.h <<_ACEOF
25946#define HAVE__ISINFL 1
25947_ACEOF
25948
25949fi
25950done
25951
25952    fi
25953  fi
25954
25955
25956
25957
25958
25959  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25960$as_echo_n "checking for atan2l declaration... " >&6; }
25961  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25962    if ${glibcxx_cv_func_atan2l_use+:} false; then :
25963  $as_echo_n "(cached) " >&6
25964else
25965
25966
25967      ac_ext=cpp
25968ac_cpp='$CXXCPP $CPPFLAGS'
25969ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25970ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25971ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25972
25973      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25974/* end confdefs.h.  */
25975#include <math.h>
25976int
25977main ()
25978{
25979 atan2l(0, 0);
25980  ;
25981  return 0;
25982}
25983_ACEOF
25984if ac_fn_cxx_try_compile "$LINENO"; then :
25985  glibcxx_cv_func_atan2l_use=yes
25986else
25987  glibcxx_cv_func_atan2l_use=no
25988fi
25989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25990      ac_ext=c
25991ac_cpp='$CPP $CPPFLAGS'
25992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25994ac_compiler_gnu=$ac_cv_c_compiler_gnu
25995
25996
25997fi
25998
25999  fi
26000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26001$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26002
26003  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26004    for ac_func in atan2l
26005do :
26006  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26007if test "x$ac_cv_func_atan2l" = xyes; then :
26008  cat >>confdefs.h <<_ACEOF
26009#define HAVE_ATAN2L 1
26010_ACEOF
26011
26012fi
26013done
26014
26015  else
26016
26017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26018$as_echo_n "checking for _atan2l declaration... " >&6; }
26019  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26020    if ${glibcxx_cv_func__atan2l_use+:} false; then :
26021  $as_echo_n "(cached) " >&6
26022else
26023
26024
26025      ac_ext=cpp
26026ac_cpp='$CXXCPP $CPPFLAGS'
26027ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26028ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26029ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26030
26031      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26032/* end confdefs.h.  */
26033#include <math.h>
26034int
26035main ()
26036{
26037 _atan2l(0, 0);
26038  ;
26039  return 0;
26040}
26041_ACEOF
26042if ac_fn_cxx_try_compile "$LINENO"; then :
26043  glibcxx_cv_func__atan2l_use=yes
26044else
26045  glibcxx_cv_func__atan2l_use=no
26046fi
26047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26048      ac_ext=c
26049ac_cpp='$CPP $CPPFLAGS'
26050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26052ac_compiler_gnu=$ac_cv_c_compiler_gnu
26053
26054
26055fi
26056
26057  fi
26058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26059$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26060
26061    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26062      for ac_func in _atan2l
26063do :
26064  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26065if test "x$ac_cv_func__atan2l" = xyes; then :
26066  cat >>confdefs.h <<_ACEOF
26067#define HAVE__ATAN2L 1
26068_ACEOF
26069
26070fi
26071done
26072
26073    fi
26074  fi
26075
26076
26077
26078
26079
26080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26081$as_echo_n "checking for expl declaration... " >&6; }
26082  if test x${glibcxx_cv_func_expl_use+set} != xset; then
26083    if ${glibcxx_cv_func_expl_use+:} false; then :
26084  $as_echo_n "(cached) " >&6
26085else
26086
26087
26088      ac_ext=cpp
26089ac_cpp='$CXXCPP $CPPFLAGS'
26090ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26093
26094      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26095/* end confdefs.h.  */
26096#include <math.h>
26097		      #ifdef HAVE_IEEEFP_H
26098		      #include <ieeefp.h>
26099		      #endif
26100
26101int
26102main ()
26103{
26104 expl(0);
26105  ;
26106  return 0;
26107}
26108_ACEOF
26109if ac_fn_cxx_try_compile "$LINENO"; then :
26110  glibcxx_cv_func_expl_use=yes
26111else
26112  glibcxx_cv_func_expl_use=no
26113fi
26114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26115      ac_ext=c
26116ac_cpp='$CPP $CPPFLAGS'
26117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119ac_compiler_gnu=$ac_cv_c_compiler_gnu
26120
26121
26122fi
26123
26124  fi
26125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26126$as_echo "$glibcxx_cv_func_expl_use" >&6; }
26127
26128  if test x$glibcxx_cv_func_expl_use = x"yes"; then
26129    for ac_func in expl
26130do :
26131  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26132if test "x$ac_cv_func_expl" = xyes; then :
26133  cat >>confdefs.h <<_ACEOF
26134#define HAVE_EXPL 1
26135_ACEOF
26136
26137fi
26138done
26139
26140  else
26141
26142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26143$as_echo_n "checking for _expl declaration... " >&6; }
26144  if test x${glibcxx_cv_func__expl_use+set} != xset; then
26145    if ${glibcxx_cv_func__expl_use+:} false; then :
26146  $as_echo_n "(cached) " >&6
26147else
26148
26149
26150      ac_ext=cpp
26151ac_cpp='$CXXCPP $CPPFLAGS'
26152ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26153ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26154ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26155
26156      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26157/* end confdefs.h.  */
26158#include <math.h>
26159		      #ifdef HAVE_IEEEFP_H
26160		      #include <ieeefp.h>
26161		      #endif
26162
26163int
26164main ()
26165{
26166 _expl(0);
26167  ;
26168  return 0;
26169}
26170_ACEOF
26171if ac_fn_cxx_try_compile "$LINENO"; then :
26172  glibcxx_cv_func__expl_use=yes
26173else
26174  glibcxx_cv_func__expl_use=no
26175fi
26176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26177      ac_ext=c
26178ac_cpp='$CPP $CPPFLAGS'
26179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26181ac_compiler_gnu=$ac_cv_c_compiler_gnu
26182
26183
26184fi
26185
26186  fi
26187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26188$as_echo "$glibcxx_cv_func__expl_use" >&6; }
26189
26190    if test x$glibcxx_cv_func__expl_use = x"yes"; then
26191      for ac_func in _expl
26192do :
26193  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26194if test "x$ac_cv_func__expl" = xyes; then :
26195  cat >>confdefs.h <<_ACEOF
26196#define HAVE__EXPL 1
26197_ACEOF
26198
26199fi
26200done
26201
26202    fi
26203  fi
26204
26205
26206
26207
26208
26209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26210$as_echo_n "checking for fabsl declaration... " >&6; }
26211  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26212    if ${glibcxx_cv_func_fabsl_use+:} false; then :
26213  $as_echo_n "(cached) " >&6
26214else
26215
26216
26217      ac_ext=cpp
26218ac_cpp='$CXXCPP $CPPFLAGS'
26219ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26222
26223      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26224/* end confdefs.h.  */
26225#include <math.h>
26226		      #ifdef HAVE_IEEEFP_H
26227		      #include <ieeefp.h>
26228		      #endif
26229
26230int
26231main ()
26232{
26233 fabsl(0);
26234  ;
26235  return 0;
26236}
26237_ACEOF
26238if ac_fn_cxx_try_compile "$LINENO"; then :
26239  glibcxx_cv_func_fabsl_use=yes
26240else
26241  glibcxx_cv_func_fabsl_use=no
26242fi
26243rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244      ac_ext=c
26245ac_cpp='$CPP $CPPFLAGS'
26246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248ac_compiler_gnu=$ac_cv_c_compiler_gnu
26249
26250
26251fi
26252
26253  fi
26254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26255$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26256
26257  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26258    for ac_func in fabsl
26259do :
26260  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26261if test "x$ac_cv_func_fabsl" = xyes; then :
26262  cat >>confdefs.h <<_ACEOF
26263#define HAVE_FABSL 1
26264_ACEOF
26265
26266fi
26267done
26268
26269  else
26270
26271  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26272$as_echo_n "checking for _fabsl declaration... " >&6; }
26273  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26274    if ${glibcxx_cv_func__fabsl_use+:} false; then :
26275  $as_echo_n "(cached) " >&6
26276else
26277
26278
26279      ac_ext=cpp
26280ac_cpp='$CXXCPP $CPPFLAGS'
26281ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26282ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26283ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26284
26285      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26286/* end confdefs.h.  */
26287#include <math.h>
26288		      #ifdef HAVE_IEEEFP_H
26289		      #include <ieeefp.h>
26290		      #endif
26291
26292int
26293main ()
26294{
26295 _fabsl(0);
26296  ;
26297  return 0;
26298}
26299_ACEOF
26300if ac_fn_cxx_try_compile "$LINENO"; then :
26301  glibcxx_cv_func__fabsl_use=yes
26302else
26303  glibcxx_cv_func__fabsl_use=no
26304fi
26305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26306      ac_ext=c
26307ac_cpp='$CPP $CPPFLAGS'
26308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26310ac_compiler_gnu=$ac_cv_c_compiler_gnu
26311
26312
26313fi
26314
26315  fi
26316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26317$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26318
26319    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26320      for ac_func in _fabsl
26321do :
26322  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26323if test "x$ac_cv_func__fabsl" = xyes; then :
26324  cat >>confdefs.h <<_ACEOF
26325#define HAVE__FABSL 1
26326_ACEOF
26327
26328fi
26329done
26330
26331    fi
26332  fi
26333
26334
26335
26336
26337
26338  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26339$as_echo_n "checking for fmodl declaration... " >&6; }
26340  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26341    if ${glibcxx_cv_func_fmodl_use+:} false; then :
26342  $as_echo_n "(cached) " >&6
26343else
26344
26345
26346      ac_ext=cpp
26347ac_cpp='$CXXCPP $CPPFLAGS'
26348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26351
26352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26353/* end confdefs.h.  */
26354#include <math.h>
26355int
26356main ()
26357{
26358 fmodl(0, 0);
26359  ;
26360  return 0;
26361}
26362_ACEOF
26363if ac_fn_cxx_try_compile "$LINENO"; then :
26364  glibcxx_cv_func_fmodl_use=yes
26365else
26366  glibcxx_cv_func_fmodl_use=no
26367fi
26368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26369      ac_ext=c
26370ac_cpp='$CPP $CPPFLAGS'
26371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26373ac_compiler_gnu=$ac_cv_c_compiler_gnu
26374
26375
26376fi
26377
26378  fi
26379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26380$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26381
26382  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26383    for ac_func in fmodl
26384do :
26385  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26386if test "x$ac_cv_func_fmodl" = xyes; then :
26387  cat >>confdefs.h <<_ACEOF
26388#define HAVE_FMODL 1
26389_ACEOF
26390
26391fi
26392done
26393
26394  else
26395
26396  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26397$as_echo_n "checking for _fmodl declaration... " >&6; }
26398  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26399    if ${glibcxx_cv_func__fmodl_use+:} false; then :
26400  $as_echo_n "(cached) " >&6
26401else
26402
26403
26404      ac_ext=cpp
26405ac_cpp='$CXXCPP $CPPFLAGS'
26406ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26407ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26408ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26409
26410      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26411/* end confdefs.h.  */
26412#include <math.h>
26413int
26414main ()
26415{
26416 _fmodl(0, 0);
26417  ;
26418  return 0;
26419}
26420_ACEOF
26421if ac_fn_cxx_try_compile "$LINENO"; then :
26422  glibcxx_cv_func__fmodl_use=yes
26423else
26424  glibcxx_cv_func__fmodl_use=no
26425fi
26426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26427      ac_ext=c
26428ac_cpp='$CPP $CPPFLAGS'
26429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26431ac_compiler_gnu=$ac_cv_c_compiler_gnu
26432
26433
26434fi
26435
26436  fi
26437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26438$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26439
26440    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26441      for ac_func in _fmodl
26442do :
26443  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26444if test "x$ac_cv_func__fmodl" = xyes; then :
26445  cat >>confdefs.h <<_ACEOF
26446#define HAVE__FMODL 1
26447_ACEOF
26448
26449fi
26450done
26451
26452    fi
26453  fi
26454
26455
26456
26457
26458
26459  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26460$as_echo_n "checking for frexpl declaration... " >&6; }
26461  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26462    if ${glibcxx_cv_func_frexpl_use+:} false; then :
26463  $as_echo_n "(cached) " >&6
26464else
26465
26466
26467      ac_ext=cpp
26468ac_cpp='$CXXCPP $CPPFLAGS'
26469ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26470ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26471ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26472
26473      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26474/* end confdefs.h.  */
26475#include <math.h>
26476int
26477main ()
26478{
26479 frexpl(0, 0);
26480  ;
26481  return 0;
26482}
26483_ACEOF
26484if ac_fn_cxx_try_compile "$LINENO"; then :
26485  glibcxx_cv_func_frexpl_use=yes
26486else
26487  glibcxx_cv_func_frexpl_use=no
26488fi
26489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26490      ac_ext=c
26491ac_cpp='$CPP $CPPFLAGS'
26492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26494ac_compiler_gnu=$ac_cv_c_compiler_gnu
26495
26496
26497fi
26498
26499  fi
26500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26501$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26502
26503  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26504    for ac_func in frexpl
26505do :
26506  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26507if test "x$ac_cv_func_frexpl" = xyes; then :
26508  cat >>confdefs.h <<_ACEOF
26509#define HAVE_FREXPL 1
26510_ACEOF
26511
26512fi
26513done
26514
26515  else
26516
26517  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26518$as_echo_n "checking for _frexpl declaration... " >&6; }
26519  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26520    if ${glibcxx_cv_func__frexpl_use+:} false; then :
26521  $as_echo_n "(cached) " >&6
26522else
26523
26524
26525      ac_ext=cpp
26526ac_cpp='$CXXCPP $CPPFLAGS'
26527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26530
26531      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26532/* end confdefs.h.  */
26533#include <math.h>
26534int
26535main ()
26536{
26537 _frexpl(0, 0);
26538  ;
26539  return 0;
26540}
26541_ACEOF
26542if ac_fn_cxx_try_compile "$LINENO"; then :
26543  glibcxx_cv_func__frexpl_use=yes
26544else
26545  glibcxx_cv_func__frexpl_use=no
26546fi
26547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26548      ac_ext=c
26549ac_cpp='$CPP $CPPFLAGS'
26550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552ac_compiler_gnu=$ac_cv_c_compiler_gnu
26553
26554
26555fi
26556
26557  fi
26558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26559$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26560
26561    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26562      for ac_func in _frexpl
26563do :
26564  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26565if test "x$ac_cv_func__frexpl" = xyes; then :
26566  cat >>confdefs.h <<_ACEOF
26567#define HAVE__FREXPL 1
26568_ACEOF
26569
26570fi
26571done
26572
26573    fi
26574  fi
26575
26576
26577
26578
26579
26580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26581$as_echo_n "checking for hypotl declaration... " >&6; }
26582  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26583    if ${glibcxx_cv_func_hypotl_use+:} false; then :
26584  $as_echo_n "(cached) " >&6
26585else
26586
26587
26588      ac_ext=cpp
26589ac_cpp='$CXXCPP $CPPFLAGS'
26590ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26591ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26592ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26593
26594      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26595/* end confdefs.h.  */
26596#include <math.h>
26597int
26598main ()
26599{
26600 hypotl(0, 0);
26601  ;
26602  return 0;
26603}
26604_ACEOF
26605if ac_fn_cxx_try_compile "$LINENO"; then :
26606  glibcxx_cv_func_hypotl_use=yes
26607else
26608  glibcxx_cv_func_hypotl_use=no
26609fi
26610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26611      ac_ext=c
26612ac_cpp='$CPP $CPPFLAGS'
26613ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26614ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26615ac_compiler_gnu=$ac_cv_c_compiler_gnu
26616
26617
26618fi
26619
26620  fi
26621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26622$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26623
26624  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26625    for ac_func in hypotl
26626do :
26627  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26628if test "x$ac_cv_func_hypotl" = xyes; then :
26629  cat >>confdefs.h <<_ACEOF
26630#define HAVE_HYPOTL 1
26631_ACEOF
26632
26633fi
26634done
26635
26636  else
26637
26638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26639$as_echo_n "checking for _hypotl declaration... " >&6; }
26640  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26641    if ${glibcxx_cv_func__hypotl_use+:} false; then :
26642  $as_echo_n "(cached) " >&6
26643else
26644
26645
26646      ac_ext=cpp
26647ac_cpp='$CXXCPP $CPPFLAGS'
26648ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26649ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26650ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26651
26652      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26653/* end confdefs.h.  */
26654#include <math.h>
26655int
26656main ()
26657{
26658 _hypotl(0, 0);
26659  ;
26660  return 0;
26661}
26662_ACEOF
26663if ac_fn_cxx_try_compile "$LINENO"; then :
26664  glibcxx_cv_func__hypotl_use=yes
26665else
26666  glibcxx_cv_func__hypotl_use=no
26667fi
26668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26669      ac_ext=c
26670ac_cpp='$CPP $CPPFLAGS'
26671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26673ac_compiler_gnu=$ac_cv_c_compiler_gnu
26674
26675
26676fi
26677
26678  fi
26679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26680$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26681
26682    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26683      for ac_func in _hypotl
26684do :
26685  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26686if test "x$ac_cv_func__hypotl" = xyes; then :
26687  cat >>confdefs.h <<_ACEOF
26688#define HAVE__HYPOTL 1
26689_ACEOF
26690
26691fi
26692done
26693
26694    fi
26695  fi
26696
26697
26698
26699
26700
26701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26702$as_echo_n "checking for ldexpl declaration... " >&6; }
26703  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26704    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26705  $as_echo_n "(cached) " >&6
26706else
26707
26708
26709      ac_ext=cpp
26710ac_cpp='$CXXCPP $CPPFLAGS'
26711ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26714
26715      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26716/* end confdefs.h.  */
26717#include <math.h>
26718int
26719main ()
26720{
26721 ldexpl(0, 0);
26722  ;
26723  return 0;
26724}
26725_ACEOF
26726if ac_fn_cxx_try_compile "$LINENO"; then :
26727  glibcxx_cv_func_ldexpl_use=yes
26728else
26729  glibcxx_cv_func_ldexpl_use=no
26730fi
26731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26732      ac_ext=c
26733ac_cpp='$CPP $CPPFLAGS'
26734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26736ac_compiler_gnu=$ac_cv_c_compiler_gnu
26737
26738
26739fi
26740
26741  fi
26742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26743$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26744
26745  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26746    for ac_func in ldexpl
26747do :
26748  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26749if test "x$ac_cv_func_ldexpl" = xyes; then :
26750  cat >>confdefs.h <<_ACEOF
26751#define HAVE_LDEXPL 1
26752_ACEOF
26753
26754fi
26755done
26756
26757  else
26758
26759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26760$as_echo_n "checking for _ldexpl declaration... " >&6; }
26761  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26762    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26763  $as_echo_n "(cached) " >&6
26764else
26765
26766
26767      ac_ext=cpp
26768ac_cpp='$CXXCPP $CPPFLAGS'
26769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26772
26773      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26774/* end confdefs.h.  */
26775#include <math.h>
26776int
26777main ()
26778{
26779 _ldexpl(0, 0);
26780  ;
26781  return 0;
26782}
26783_ACEOF
26784if ac_fn_cxx_try_compile "$LINENO"; then :
26785  glibcxx_cv_func__ldexpl_use=yes
26786else
26787  glibcxx_cv_func__ldexpl_use=no
26788fi
26789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26790      ac_ext=c
26791ac_cpp='$CPP $CPPFLAGS'
26792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26794ac_compiler_gnu=$ac_cv_c_compiler_gnu
26795
26796
26797fi
26798
26799  fi
26800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26801$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26802
26803    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26804      for ac_func in _ldexpl
26805do :
26806  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26807if test "x$ac_cv_func__ldexpl" = xyes; then :
26808  cat >>confdefs.h <<_ACEOF
26809#define HAVE__LDEXPL 1
26810_ACEOF
26811
26812fi
26813done
26814
26815    fi
26816  fi
26817
26818
26819
26820
26821
26822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26823$as_echo_n "checking for logl declaration... " >&6; }
26824  if test x${glibcxx_cv_func_logl_use+set} != xset; then
26825    if ${glibcxx_cv_func_logl_use+:} false; then :
26826  $as_echo_n "(cached) " >&6
26827else
26828
26829
26830      ac_ext=cpp
26831ac_cpp='$CXXCPP $CPPFLAGS'
26832ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26833ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26834ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26835
26836      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26837/* end confdefs.h.  */
26838#include <math.h>
26839		      #ifdef HAVE_IEEEFP_H
26840		      #include <ieeefp.h>
26841		      #endif
26842
26843int
26844main ()
26845{
26846 logl(0);
26847  ;
26848  return 0;
26849}
26850_ACEOF
26851if ac_fn_cxx_try_compile "$LINENO"; then :
26852  glibcxx_cv_func_logl_use=yes
26853else
26854  glibcxx_cv_func_logl_use=no
26855fi
26856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26857      ac_ext=c
26858ac_cpp='$CPP $CPPFLAGS'
26859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26861ac_compiler_gnu=$ac_cv_c_compiler_gnu
26862
26863
26864fi
26865
26866  fi
26867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26868$as_echo "$glibcxx_cv_func_logl_use" >&6; }
26869
26870  if test x$glibcxx_cv_func_logl_use = x"yes"; then
26871    for ac_func in logl
26872do :
26873  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26874if test "x$ac_cv_func_logl" = xyes; then :
26875  cat >>confdefs.h <<_ACEOF
26876#define HAVE_LOGL 1
26877_ACEOF
26878
26879fi
26880done
26881
26882  else
26883
26884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26885$as_echo_n "checking for _logl declaration... " >&6; }
26886  if test x${glibcxx_cv_func__logl_use+set} != xset; then
26887    if ${glibcxx_cv_func__logl_use+:} false; then :
26888  $as_echo_n "(cached) " >&6
26889else
26890
26891
26892      ac_ext=cpp
26893ac_cpp='$CXXCPP $CPPFLAGS'
26894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26897
26898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26899/* end confdefs.h.  */
26900#include <math.h>
26901		      #ifdef HAVE_IEEEFP_H
26902		      #include <ieeefp.h>
26903		      #endif
26904
26905int
26906main ()
26907{
26908 _logl(0);
26909  ;
26910  return 0;
26911}
26912_ACEOF
26913if ac_fn_cxx_try_compile "$LINENO"; then :
26914  glibcxx_cv_func__logl_use=yes
26915else
26916  glibcxx_cv_func__logl_use=no
26917fi
26918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919      ac_ext=c
26920ac_cpp='$CPP $CPPFLAGS'
26921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26923ac_compiler_gnu=$ac_cv_c_compiler_gnu
26924
26925
26926fi
26927
26928  fi
26929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26930$as_echo "$glibcxx_cv_func__logl_use" >&6; }
26931
26932    if test x$glibcxx_cv_func__logl_use = x"yes"; then
26933      for ac_func in _logl
26934do :
26935  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26936if test "x$ac_cv_func__logl" = xyes; then :
26937  cat >>confdefs.h <<_ACEOF
26938#define HAVE__LOGL 1
26939_ACEOF
26940
26941fi
26942done
26943
26944    fi
26945  fi
26946
26947
26948
26949
26950
26951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26952$as_echo_n "checking for log10l declaration... " >&6; }
26953  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26954    if ${glibcxx_cv_func_log10l_use+:} false; then :
26955  $as_echo_n "(cached) " >&6
26956else
26957
26958
26959      ac_ext=cpp
26960ac_cpp='$CXXCPP $CPPFLAGS'
26961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26964
26965      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26966/* end confdefs.h.  */
26967#include <math.h>
26968		      #ifdef HAVE_IEEEFP_H
26969		      #include <ieeefp.h>
26970		      #endif
26971
26972int
26973main ()
26974{
26975 log10l(0);
26976  ;
26977  return 0;
26978}
26979_ACEOF
26980if ac_fn_cxx_try_compile "$LINENO"; then :
26981  glibcxx_cv_func_log10l_use=yes
26982else
26983  glibcxx_cv_func_log10l_use=no
26984fi
26985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26986      ac_ext=c
26987ac_cpp='$CPP $CPPFLAGS'
26988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26990ac_compiler_gnu=$ac_cv_c_compiler_gnu
26991
26992
26993fi
26994
26995  fi
26996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26997$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26998
26999  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27000    for ac_func in log10l
27001do :
27002  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27003if test "x$ac_cv_func_log10l" = xyes; then :
27004  cat >>confdefs.h <<_ACEOF
27005#define HAVE_LOG10L 1
27006_ACEOF
27007
27008fi
27009done
27010
27011  else
27012
27013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27014$as_echo_n "checking for _log10l declaration... " >&6; }
27015  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27016    if ${glibcxx_cv_func__log10l_use+:} false; then :
27017  $as_echo_n "(cached) " >&6
27018else
27019
27020
27021      ac_ext=cpp
27022ac_cpp='$CXXCPP $CPPFLAGS'
27023ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27024ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27025ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27026
27027      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27028/* end confdefs.h.  */
27029#include <math.h>
27030		      #ifdef HAVE_IEEEFP_H
27031		      #include <ieeefp.h>
27032		      #endif
27033
27034int
27035main ()
27036{
27037 _log10l(0);
27038  ;
27039  return 0;
27040}
27041_ACEOF
27042if ac_fn_cxx_try_compile "$LINENO"; then :
27043  glibcxx_cv_func__log10l_use=yes
27044else
27045  glibcxx_cv_func__log10l_use=no
27046fi
27047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27048      ac_ext=c
27049ac_cpp='$CPP $CPPFLAGS'
27050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27052ac_compiler_gnu=$ac_cv_c_compiler_gnu
27053
27054
27055fi
27056
27057  fi
27058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27059$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27060
27061    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27062      for ac_func in _log10l
27063do :
27064  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27065if test "x$ac_cv_func__log10l" = xyes; then :
27066  cat >>confdefs.h <<_ACEOF
27067#define HAVE__LOG10L 1
27068_ACEOF
27069
27070fi
27071done
27072
27073    fi
27074  fi
27075
27076
27077
27078
27079
27080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27081$as_echo_n "checking for modfl declaration... " >&6; }
27082  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27083    if ${glibcxx_cv_func_modfl_use+:} false; then :
27084  $as_echo_n "(cached) " >&6
27085else
27086
27087
27088      ac_ext=cpp
27089ac_cpp='$CXXCPP $CPPFLAGS'
27090ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27091ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27092ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27093
27094      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095/* end confdefs.h.  */
27096#include <math.h>
27097int
27098main ()
27099{
27100 modfl(0, 0);
27101  ;
27102  return 0;
27103}
27104_ACEOF
27105if ac_fn_cxx_try_compile "$LINENO"; then :
27106  glibcxx_cv_func_modfl_use=yes
27107else
27108  glibcxx_cv_func_modfl_use=no
27109fi
27110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27111      ac_ext=c
27112ac_cpp='$CPP $CPPFLAGS'
27113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27115ac_compiler_gnu=$ac_cv_c_compiler_gnu
27116
27117
27118fi
27119
27120  fi
27121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27122$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27123
27124  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27125    for ac_func in modfl
27126do :
27127  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27128if test "x$ac_cv_func_modfl" = xyes; then :
27129  cat >>confdefs.h <<_ACEOF
27130#define HAVE_MODFL 1
27131_ACEOF
27132
27133fi
27134done
27135
27136  else
27137
27138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27139$as_echo_n "checking for _modfl declaration... " >&6; }
27140  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27141    if ${glibcxx_cv_func__modfl_use+:} false; then :
27142  $as_echo_n "(cached) " >&6
27143else
27144
27145
27146      ac_ext=cpp
27147ac_cpp='$CXXCPP $CPPFLAGS'
27148ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27149ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27150ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27151
27152      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27153/* end confdefs.h.  */
27154#include <math.h>
27155int
27156main ()
27157{
27158 _modfl(0, 0);
27159  ;
27160  return 0;
27161}
27162_ACEOF
27163if ac_fn_cxx_try_compile "$LINENO"; then :
27164  glibcxx_cv_func__modfl_use=yes
27165else
27166  glibcxx_cv_func__modfl_use=no
27167fi
27168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27169      ac_ext=c
27170ac_cpp='$CPP $CPPFLAGS'
27171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27173ac_compiler_gnu=$ac_cv_c_compiler_gnu
27174
27175
27176fi
27177
27178  fi
27179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27180$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27181
27182    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27183      for ac_func in _modfl
27184do :
27185  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27186if test "x$ac_cv_func__modfl" = xyes; then :
27187  cat >>confdefs.h <<_ACEOF
27188#define HAVE__MODFL 1
27189_ACEOF
27190
27191fi
27192done
27193
27194    fi
27195  fi
27196
27197
27198
27199
27200
27201  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27202$as_echo_n "checking for powl declaration... " >&6; }
27203  if test x${glibcxx_cv_func_powl_use+set} != xset; then
27204    if ${glibcxx_cv_func_powl_use+:} false; then :
27205  $as_echo_n "(cached) " >&6
27206else
27207
27208
27209      ac_ext=cpp
27210ac_cpp='$CXXCPP $CPPFLAGS'
27211ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27212ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27213ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27214
27215      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27216/* end confdefs.h.  */
27217#include <math.h>
27218int
27219main ()
27220{
27221 powl(0, 0);
27222  ;
27223  return 0;
27224}
27225_ACEOF
27226if ac_fn_cxx_try_compile "$LINENO"; then :
27227  glibcxx_cv_func_powl_use=yes
27228else
27229  glibcxx_cv_func_powl_use=no
27230fi
27231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27232      ac_ext=c
27233ac_cpp='$CPP $CPPFLAGS'
27234ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27235ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27236ac_compiler_gnu=$ac_cv_c_compiler_gnu
27237
27238
27239fi
27240
27241  fi
27242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27243$as_echo "$glibcxx_cv_func_powl_use" >&6; }
27244
27245  if test x$glibcxx_cv_func_powl_use = x"yes"; then
27246    for ac_func in powl
27247do :
27248  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27249if test "x$ac_cv_func_powl" = xyes; then :
27250  cat >>confdefs.h <<_ACEOF
27251#define HAVE_POWL 1
27252_ACEOF
27253
27254fi
27255done
27256
27257  else
27258
27259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27260$as_echo_n "checking for _powl declaration... " >&6; }
27261  if test x${glibcxx_cv_func__powl_use+set} != xset; then
27262    if ${glibcxx_cv_func__powl_use+:} false; then :
27263  $as_echo_n "(cached) " >&6
27264else
27265
27266
27267      ac_ext=cpp
27268ac_cpp='$CXXCPP $CPPFLAGS'
27269ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27270ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27271ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27272
27273      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27274/* end confdefs.h.  */
27275#include <math.h>
27276int
27277main ()
27278{
27279 _powl(0, 0);
27280  ;
27281  return 0;
27282}
27283_ACEOF
27284if ac_fn_cxx_try_compile "$LINENO"; then :
27285  glibcxx_cv_func__powl_use=yes
27286else
27287  glibcxx_cv_func__powl_use=no
27288fi
27289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27290      ac_ext=c
27291ac_cpp='$CPP $CPPFLAGS'
27292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294ac_compiler_gnu=$ac_cv_c_compiler_gnu
27295
27296
27297fi
27298
27299  fi
27300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27301$as_echo "$glibcxx_cv_func__powl_use" >&6; }
27302
27303    if test x$glibcxx_cv_func__powl_use = x"yes"; then
27304      for ac_func in _powl
27305do :
27306  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27307if test "x$ac_cv_func__powl" = xyes; then :
27308  cat >>confdefs.h <<_ACEOF
27309#define HAVE__POWL 1
27310_ACEOF
27311
27312fi
27313done
27314
27315    fi
27316  fi
27317
27318
27319
27320
27321
27322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27323$as_echo_n "checking for sqrtl declaration... " >&6; }
27324  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27325    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27326  $as_echo_n "(cached) " >&6
27327else
27328
27329
27330      ac_ext=cpp
27331ac_cpp='$CXXCPP $CPPFLAGS'
27332ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27333ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27334ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27335
27336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27337/* end confdefs.h.  */
27338#include <math.h>
27339		      #ifdef HAVE_IEEEFP_H
27340		      #include <ieeefp.h>
27341		      #endif
27342
27343int
27344main ()
27345{
27346 sqrtl(0);
27347  ;
27348  return 0;
27349}
27350_ACEOF
27351if ac_fn_cxx_try_compile "$LINENO"; then :
27352  glibcxx_cv_func_sqrtl_use=yes
27353else
27354  glibcxx_cv_func_sqrtl_use=no
27355fi
27356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27357      ac_ext=c
27358ac_cpp='$CPP $CPPFLAGS'
27359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27361ac_compiler_gnu=$ac_cv_c_compiler_gnu
27362
27363
27364fi
27365
27366  fi
27367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27368$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27369
27370  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27371    for ac_func in sqrtl
27372do :
27373  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27374if test "x$ac_cv_func_sqrtl" = xyes; then :
27375  cat >>confdefs.h <<_ACEOF
27376#define HAVE_SQRTL 1
27377_ACEOF
27378
27379fi
27380done
27381
27382  else
27383
27384  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27385$as_echo_n "checking for _sqrtl declaration... " >&6; }
27386  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27387    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27388  $as_echo_n "(cached) " >&6
27389else
27390
27391
27392      ac_ext=cpp
27393ac_cpp='$CXXCPP $CPPFLAGS'
27394ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27395ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27396ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27397
27398      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27399/* end confdefs.h.  */
27400#include <math.h>
27401		      #ifdef HAVE_IEEEFP_H
27402		      #include <ieeefp.h>
27403		      #endif
27404
27405int
27406main ()
27407{
27408 _sqrtl(0);
27409  ;
27410  return 0;
27411}
27412_ACEOF
27413if ac_fn_cxx_try_compile "$LINENO"; then :
27414  glibcxx_cv_func__sqrtl_use=yes
27415else
27416  glibcxx_cv_func__sqrtl_use=no
27417fi
27418rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27419      ac_ext=c
27420ac_cpp='$CPP $CPPFLAGS'
27421ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27422ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27423ac_compiler_gnu=$ac_cv_c_compiler_gnu
27424
27425
27426fi
27427
27428  fi
27429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27430$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27431
27432    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27433      for ac_func in _sqrtl
27434do :
27435  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27436if test "x$ac_cv_func__sqrtl" = xyes; then :
27437  cat >>confdefs.h <<_ACEOF
27438#define HAVE__SQRTL 1
27439_ACEOF
27440
27441fi
27442done
27443
27444    fi
27445  fi
27446
27447
27448
27449
27450
27451  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27452$as_echo_n "checking for sincosl declaration... " >&6; }
27453  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27454    if ${glibcxx_cv_func_sincosl_use+:} false; then :
27455  $as_echo_n "(cached) " >&6
27456else
27457
27458
27459      ac_ext=cpp
27460ac_cpp='$CXXCPP $CPPFLAGS'
27461ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27464
27465      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27466/* end confdefs.h.  */
27467#include <math.h>
27468int
27469main ()
27470{
27471 sincosl(0, 0, 0);
27472  ;
27473  return 0;
27474}
27475_ACEOF
27476if ac_fn_cxx_try_compile "$LINENO"; then :
27477  glibcxx_cv_func_sincosl_use=yes
27478else
27479  glibcxx_cv_func_sincosl_use=no
27480fi
27481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27482      ac_ext=c
27483ac_cpp='$CPP $CPPFLAGS'
27484ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27485ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27486ac_compiler_gnu=$ac_cv_c_compiler_gnu
27487
27488
27489fi
27490
27491  fi
27492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27493$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27494
27495  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27496    for ac_func in sincosl
27497do :
27498  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27499if test "x$ac_cv_func_sincosl" = xyes; then :
27500  cat >>confdefs.h <<_ACEOF
27501#define HAVE_SINCOSL 1
27502_ACEOF
27503
27504fi
27505done
27506
27507  else
27508
27509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27510$as_echo_n "checking for _sincosl declaration... " >&6; }
27511  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27512    if ${glibcxx_cv_func__sincosl_use+:} false; then :
27513  $as_echo_n "(cached) " >&6
27514else
27515
27516
27517      ac_ext=cpp
27518ac_cpp='$CXXCPP $CPPFLAGS'
27519ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27520ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27521ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27522
27523      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27524/* end confdefs.h.  */
27525#include <math.h>
27526int
27527main ()
27528{
27529 _sincosl(0, 0, 0);
27530  ;
27531  return 0;
27532}
27533_ACEOF
27534if ac_fn_cxx_try_compile "$LINENO"; then :
27535  glibcxx_cv_func__sincosl_use=yes
27536else
27537  glibcxx_cv_func__sincosl_use=no
27538fi
27539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27540      ac_ext=c
27541ac_cpp='$CPP $CPPFLAGS'
27542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27544ac_compiler_gnu=$ac_cv_c_compiler_gnu
27545
27546
27547fi
27548
27549  fi
27550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27551$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27552
27553    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27554      for ac_func in _sincosl
27555do :
27556  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27557if test "x$ac_cv_func__sincosl" = xyes; then :
27558  cat >>confdefs.h <<_ACEOF
27559#define HAVE__SINCOSL 1
27560_ACEOF
27561
27562fi
27563done
27564
27565    fi
27566  fi
27567
27568
27569
27570
27571
27572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27573$as_echo_n "checking for finitel declaration... " >&6; }
27574  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27575    if ${glibcxx_cv_func_finitel_use+:} false; then :
27576  $as_echo_n "(cached) " >&6
27577else
27578
27579
27580      ac_ext=cpp
27581ac_cpp='$CXXCPP $CPPFLAGS'
27582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27585
27586      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27587/* end confdefs.h.  */
27588#include <math.h>
27589		      #ifdef HAVE_IEEEFP_H
27590		      #include <ieeefp.h>
27591		      #endif
27592
27593int
27594main ()
27595{
27596 finitel(0);
27597  ;
27598  return 0;
27599}
27600_ACEOF
27601if ac_fn_cxx_try_compile "$LINENO"; then :
27602  glibcxx_cv_func_finitel_use=yes
27603else
27604  glibcxx_cv_func_finitel_use=no
27605fi
27606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27607      ac_ext=c
27608ac_cpp='$CPP $CPPFLAGS'
27609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27611ac_compiler_gnu=$ac_cv_c_compiler_gnu
27612
27613
27614fi
27615
27616  fi
27617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27618$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27619
27620  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27621    for ac_func in finitel
27622do :
27623  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27624if test "x$ac_cv_func_finitel" = xyes; then :
27625  cat >>confdefs.h <<_ACEOF
27626#define HAVE_FINITEL 1
27627_ACEOF
27628
27629fi
27630done
27631
27632  else
27633
27634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27635$as_echo_n "checking for _finitel declaration... " >&6; }
27636  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27637    if ${glibcxx_cv_func__finitel_use+:} false; then :
27638  $as_echo_n "(cached) " >&6
27639else
27640
27641
27642      ac_ext=cpp
27643ac_cpp='$CXXCPP $CPPFLAGS'
27644ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27645ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27646ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27647
27648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27649/* end confdefs.h.  */
27650#include <math.h>
27651		      #ifdef HAVE_IEEEFP_H
27652		      #include <ieeefp.h>
27653		      #endif
27654
27655int
27656main ()
27657{
27658 _finitel(0);
27659  ;
27660  return 0;
27661}
27662_ACEOF
27663if ac_fn_cxx_try_compile "$LINENO"; then :
27664  glibcxx_cv_func__finitel_use=yes
27665else
27666  glibcxx_cv_func__finitel_use=no
27667fi
27668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27669      ac_ext=c
27670ac_cpp='$CPP $CPPFLAGS'
27671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673ac_compiler_gnu=$ac_cv_c_compiler_gnu
27674
27675
27676fi
27677
27678  fi
27679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27680$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27681
27682    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27683      for ac_func in _finitel
27684do :
27685  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27686if test "x$ac_cv_func__finitel" = xyes; then :
27687  cat >>confdefs.h <<_ACEOF
27688#define HAVE__FINITEL 1
27689_ACEOF
27690
27691fi
27692done
27693
27694    fi
27695  fi
27696
27697
27698
27699
27700  LIBS="$ac_save_LIBS"
27701  CXXFLAGS="$ac_save_CXXFLAGS"
27702
27703
27704  ac_test_CXXFLAGS="${CXXFLAGS+set}"
27705  ac_save_CXXFLAGS="$CXXFLAGS"
27706  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27707
27708
27709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27710$as_echo_n "checking for at_quick_exit declaration... " >&6; }
27711  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27712    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27713  $as_echo_n "(cached) " >&6
27714else
27715
27716
27717      ac_ext=cpp
27718ac_cpp='$CXXCPP $CPPFLAGS'
27719ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27720ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27721ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27722
27723      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27724/* end confdefs.h.  */
27725#include <stdlib.h>
27726int
27727main ()
27728{
27729 at_quick_exit(0);
27730  ;
27731  return 0;
27732}
27733_ACEOF
27734if ac_fn_cxx_try_compile "$LINENO"; then :
27735  glibcxx_cv_func_at_quick_exit_use=yes
27736else
27737  glibcxx_cv_func_at_quick_exit_use=no
27738fi
27739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27740      ac_ext=c
27741ac_cpp='$CPP $CPPFLAGS'
27742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744ac_compiler_gnu=$ac_cv_c_compiler_gnu
27745
27746
27747fi
27748
27749  fi
27750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27751$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27752  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27753    for ac_func in at_quick_exit
27754do :
27755  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27756if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27757  cat >>confdefs.h <<_ACEOF
27758#define HAVE_AT_QUICK_EXIT 1
27759_ACEOF
27760
27761fi
27762done
27763
27764  fi
27765
27766
27767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27768$as_echo_n "checking for quick_exit declaration... " >&6; }
27769  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27770    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27771  $as_echo_n "(cached) " >&6
27772else
27773
27774
27775      ac_ext=cpp
27776ac_cpp='$CXXCPP $CPPFLAGS'
27777ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27778ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27779ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27780
27781      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27782/* end confdefs.h.  */
27783#include <stdlib.h>
27784int
27785main ()
27786{
27787 quick_exit(0);
27788  ;
27789  return 0;
27790}
27791_ACEOF
27792if ac_fn_cxx_try_compile "$LINENO"; then :
27793  glibcxx_cv_func_quick_exit_use=yes
27794else
27795  glibcxx_cv_func_quick_exit_use=no
27796fi
27797rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27798      ac_ext=c
27799ac_cpp='$CPP $CPPFLAGS'
27800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27802ac_compiler_gnu=$ac_cv_c_compiler_gnu
27803
27804
27805fi
27806
27807  fi
27808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27809$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27810  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27811    for ac_func in quick_exit
27812do :
27813  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27814if test "x$ac_cv_func_quick_exit" = xyes; then :
27815  cat >>confdefs.h <<_ACEOF
27816#define HAVE_QUICK_EXIT 1
27817_ACEOF
27818
27819fi
27820done
27821
27822  fi
27823
27824
27825  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27826$as_echo_n "checking for strtold declaration... " >&6; }
27827  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27828    if ${glibcxx_cv_func_strtold_use+:} false; then :
27829  $as_echo_n "(cached) " >&6
27830else
27831
27832
27833      ac_ext=cpp
27834ac_cpp='$CXXCPP $CPPFLAGS'
27835ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27836ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27837ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27838
27839      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27840/* end confdefs.h.  */
27841#include <stdlib.h>
27842int
27843main ()
27844{
27845 strtold(0, 0);
27846  ;
27847  return 0;
27848}
27849_ACEOF
27850if ac_fn_cxx_try_compile "$LINENO"; then :
27851  glibcxx_cv_func_strtold_use=yes
27852else
27853  glibcxx_cv_func_strtold_use=no
27854fi
27855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27856      ac_ext=c
27857ac_cpp='$CPP $CPPFLAGS'
27858ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27859ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27860ac_compiler_gnu=$ac_cv_c_compiler_gnu
27861
27862
27863fi
27864
27865  fi
27866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27867$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27868  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27869    for ac_func in strtold
27870do :
27871  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27872if test "x$ac_cv_func_strtold" = xyes; then :
27873  cat >>confdefs.h <<_ACEOF
27874#define HAVE_STRTOLD 1
27875_ACEOF
27876
27877fi
27878done
27879
27880  fi
27881
27882
27883
27884
27885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27886$as_echo_n "checking for strtof declaration... " >&6; }
27887  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27888    if ${glibcxx_cv_func_strtof_use+:} false; then :
27889  $as_echo_n "(cached) " >&6
27890else
27891
27892
27893      ac_ext=cpp
27894ac_cpp='$CXXCPP $CPPFLAGS'
27895ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27896ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27897ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27898
27899      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27900/* end confdefs.h.  */
27901#include <stdlib.h>
27902int
27903main ()
27904{
27905 strtof(0, 0);
27906  ;
27907  return 0;
27908}
27909_ACEOF
27910if ac_fn_cxx_try_compile "$LINENO"; then :
27911  glibcxx_cv_func_strtof_use=yes
27912else
27913  glibcxx_cv_func_strtof_use=no
27914fi
27915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27916      ac_ext=c
27917ac_cpp='$CPP $CPPFLAGS'
27918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27920ac_compiler_gnu=$ac_cv_c_compiler_gnu
27921
27922
27923fi
27924
27925  fi
27926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27927$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27928  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27929    for ac_func in strtof
27930do :
27931  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27932if test "x$ac_cv_func_strtof" = xyes; then :
27933  cat >>confdefs.h <<_ACEOF
27934#define HAVE_STRTOF 1
27935_ACEOF
27936
27937fi
27938done
27939
27940  fi
27941
27942
27943
27944
27945  CXXFLAGS="$ac_save_CXXFLAGS"
27946
27947
27948  # For /dev/random and /dev/urandom for std::random_device.
27949
27950
27951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
27952$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
27953if ${glibcxx_cv_dev_random+:} false; then :
27954  $as_echo_n "(cached) " >&6
27955else
27956
27957    if test -r /dev/random && test -r /dev/urandom; then
27958  ## For MSys environment the test above is detected as false-positive
27959  ## on mingw-targets.  So disable it explicitly for them.
27960      case ${target_os} in
27961	*mingw*) glibcxx_cv_dev_random=no ;;
27962	*) glibcxx_cv_dev_random=yes ;;
27963      esac
27964    else
27965      glibcxx_cv_dev_random=no;
27966    fi
27967
27968fi
27969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
27970$as_echo "$glibcxx_cv_dev_random" >&6; }
27971
27972  if test x"$glibcxx_cv_dev_random" = x"yes"; then
27973
27974$as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
27975
27976
27977$as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27978
27979  fi
27980
27981
27982
27983  # For TLS support.
27984
27985
27986   # Check whether --enable-tls was given.
27987if test "${enable_tls+set}" = set; then :
27988  enableval=$enable_tls;
27989      case "$enableval" in
27990       yes|no) ;;
27991       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27992      esac
27993
27994else
27995  enable_tls=yes
27996fi
27997
27998
27999  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28000$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28001if ${gcc_cv_have_tls+:} false; then :
28002  $as_echo_n "(cached) " >&6
28003else
28004
28005    if test "$cross_compiling" = yes; then :
28006                if test x$gcc_no_link = xyes; then
28007  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28008fi
28009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28010/* end confdefs.h.  */
28011__thread int a; int b; int main() { return a = b; }
28012_ACEOF
28013if ac_fn_c_try_link "$LINENO"; then :
28014  chktls_save_LDFLAGS="$LDFLAGS"
28015	  	  	  case $host in
28016	    *-*-linux* | -*-uclinuxfdpic*)
28017	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28018	      ;;
28019	  esac
28020	  chktls_save_CFLAGS="$CFLAGS"
28021	  CFLAGS="-fPIC $CFLAGS"
28022	  	  if test x$gcc_no_link = xyes; then
28023  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28024fi
28025cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28026/* end confdefs.h.  */
28027int f() { return 0; }
28028_ACEOF
28029if ac_fn_c_try_link "$LINENO"; then :
28030  if test x$gcc_no_link = xyes; then
28031  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28032fi
28033cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28034/* end confdefs.h.  */
28035__thread int a; int b; int f() { return a = b; }
28036_ACEOF
28037if ac_fn_c_try_link "$LINENO"; then :
28038  gcc_cv_have_tls=yes
28039else
28040  gcc_cv_have_tls=no
28041fi
28042rm -f core conftest.err conftest.$ac_objext \
28043    conftest$ac_exeext conftest.$ac_ext
28044else
28045  gcc_cv_have_tls=yes
28046fi
28047rm -f core conftest.err conftest.$ac_objext \
28048    conftest$ac_exeext conftest.$ac_ext
28049	  CFLAGS="$chktls_save_CFLAGS"
28050	  LDFLAGS="$chktls_save_LDFLAGS"
28051else
28052  gcc_cv_have_tls=no
28053fi
28054rm -f core conftest.err conftest.$ac_objext \
28055    conftest$ac_exeext conftest.$ac_ext
28056
28057
28058else
28059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28060/* end confdefs.h.  */
28061__thread int a; int b; int main() { return a = b; }
28062_ACEOF
28063if ac_fn_c_try_run "$LINENO"; then :
28064                      chktls_save_LDFLAGS="$LDFLAGS"
28065      LDFLAGS="-static $LDFLAGS"
28066      if test x$gcc_no_link = xyes; then
28067  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28068fi
28069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28070/* end confdefs.h.  */
28071int main() { return 0; }
28072_ACEOF
28073if ac_fn_c_try_link "$LINENO"; then :
28074  if test "$cross_compiling" = yes; then :
28075  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28076$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28077as_fn_error $? "cannot run test program while cross compiling
28078See \`config.log' for more details" "$LINENO" 5; }
28079else
28080  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28081/* end confdefs.h.  */
28082__thread int a; int b; int main() { return a = b; }
28083_ACEOF
28084if ac_fn_c_try_run "$LINENO"; then :
28085  gcc_cv_have_tls=yes
28086else
28087  gcc_cv_have_tls=no
28088fi
28089rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28090  conftest.$ac_objext conftest.beam conftest.$ac_ext
28091fi
28092
28093else
28094  gcc_cv_have_tls=yes
28095fi
28096rm -f core conftest.err conftest.$ac_objext \
28097    conftest$ac_exeext conftest.$ac_ext
28098      LDFLAGS="$chktls_save_LDFLAGS"
28099      if test $gcc_cv_have_tls = yes; then
28100						chktls_save_CFLAGS="$CFLAGS"
28101	thread_CFLAGS=failed
28102	for flag in '' '-pthread' '-lpthread'; do
28103	  CFLAGS="$flag $chktls_save_CFLAGS"
28104	  if test x$gcc_no_link = xyes; then
28105  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28106fi
28107cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28108/* end confdefs.h.  */
28109#include <pthread.h>
28110		void *g(void *d) { return NULL; }
28111int
28112main ()
28113{
28114pthread_t t; pthread_create(&t,NULL,g,NULL);
28115  ;
28116  return 0;
28117}
28118_ACEOF
28119if ac_fn_c_try_link "$LINENO"; then :
28120  thread_CFLAGS="$flag"
28121fi
28122rm -f core conftest.err conftest.$ac_objext \
28123    conftest$ac_exeext conftest.$ac_ext
28124	  if test "X$thread_CFLAGS" != Xfailed; then
28125	    break
28126	  fi
28127	done
28128	CFLAGS="$chktls_save_CFLAGS"
28129	if test "X$thread_CFLAGS" != Xfailed; then
28130	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28131 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
28132  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28134as_fn_error $? "cannot run test program while cross compiling
28135See \`config.log' for more details" "$LINENO" 5; }
28136else
28137  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28138/* end confdefs.h.  */
28139#include <pthread.h>
28140		__thread int a;
28141		static int *volatile a_in_other_thread;
28142		static void *
28143		thread_func (void *arg)
28144		{
28145		  a_in_other_thread = &a;
28146		  return (void *)0;
28147		}
28148int
28149main ()
28150{
28151pthread_t thread;
28152		void *thread_retval;
28153		int *volatile a_in_main_thread;
28154		a_in_main_thread = &a;
28155		if (pthread_create (&thread, (pthread_attr_t *)0,
28156				    thread_func, (void *)0))
28157		  return 0;
28158		if (pthread_join (thread, &thread_retval))
28159		  return 0;
28160		return (a_in_other_thread == a_in_main_thread);
28161  ;
28162  return 0;
28163}
28164_ACEOF
28165if ac_fn_c_try_run "$LINENO"; then :
28166  gcc_cv_have_tls=yes
28167else
28168  gcc_cv_have_tls=no
28169fi
28170rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28171  conftest.$ac_objext conftest.beam conftest.$ac_ext
28172fi
28173
28174	  CFLAGS="$chktls_save_CFLAGS"
28175	fi
28176      fi
28177else
28178  gcc_cv_have_tls=no
28179fi
28180rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28181  conftest.$ac_objext conftest.beam conftest.$ac_ext
28182fi
28183
28184fi
28185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28186$as_echo "$gcc_cv_have_tls" >&6; }
28187  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28188
28189$as_echo "#define HAVE_TLS 1" >>confdefs.h
28190
28191  fi
28192
28193  for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28194do :
28195  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28196ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28197if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28198  cat >>confdefs.h <<_ACEOF
28199#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28200_ACEOF
28201
28202fi
28203done
28204
28205  for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28206do :
28207  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28208ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28209if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28210  cat >>confdefs.h <<_ACEOF
28211#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28212_ACEOF
28213
28214fi
28215done
28216
28217  for ac_func in _wfopen
28218do :
28219  ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28220if test "x$ac_cv_func__wfopen" = xyes; then :
28221  cat >>confdefs.h <<_ACEOF
28222#define HAVE__WFOPEN 1
28223_ACEOF
28224
28225fi
28226done
28227
28228  for ac_func in secure_getenv
28229do :
28230  ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28231if test "x$ac_cv_func_secure_getenv" = xyes; then :
28232  cat >>confdefs.h <<_ACEOF
28233#define HAVE_SECURE_GETENV 1
28234_ACEOF
28235
28236fi
28237done
28238
28239
28240  # C11 functions for C++17 library
28241  for ac_func in timespec_get
28242do :
28243  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28244if test "x$ac_cv_func_timespec_get" = xyes; then :
28245  cat >>confdefs.h <<_ACEOF
28246#define HAVE_TIMESPEC_GET 1
28247_ACEOF
28248
28249fi
28250done
28251
28252
28253  # For Networking TS.
28254  for ac_func in sockatmark
28255do :
28256  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28257if test "x$ac_cv_func_sockatmark" = xyes; then :
28258  cat >>confdefs.h <<_ACEOF
28259#define HAVE_SOCKATMARK 1
28260_ACEOF
28261
28262fi
28263done
28264
28265
28266  # Non-standard functions used by C++17 std::from_chars
28267  for ac_func in uselocale
28268do :
28269  ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28270if test "x$ac_cv_func_uselocale" = xyes; then :
28271  cat >>confdefs.h <<_ACEOF
28272#define HAVE_USELOCALE 1
28273_ACEOF
28274
28275fi
28276done
28277
28278
28279  # For iconv support.
28280
28281      if test "X$prefix" = "XNONE"; then
28282    acl_final_prefix="$ac_default_prefix"
28283  else
28284    acl_final_prefix="$prefix"
28285  fi
28286  if test "X$exec_prefix" = "XNONE"; then
28287    acl_final_exec_prefix='${prefix}'
28288  else
28289    acl_final_exec_prefix="$exec_prefix"
28290  fi
28291  acl_save_prefix="$prefix"
28292  prefix="$acl_final_prefix"
28293  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28294  prefix="$acl_save_prefix"
28295
28296
28297# Check whether --with-gnu-ld was given.
28298if test "${with_gnu_ld+set}" = set; then :
28299  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28300else
28301  with_gnu_ld=no
28302fi
28303
28304# Prepare PATH_SEPARATOR.
28305# The user is always right.
28306if test "${PATH_SEPARATOR+set}" != set; then
28307  echo "#! /bin/sh" >conf$$.sh
28308  echo  "exit 0"   >>conf$$.sh
28309  chmod +x conf$$.sh
28310  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28311    PATH_SEPARATOR=';'
28312  else
28313    PATH_SEPARATOR=:
28314  fi
28315  rm -f conf$$.sh
28316fi
28317ac_prog=ld
28318if test "$GCC" = yes; then
28319  # Check if gcc -print-prog-name=ld gives a path.
28320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28321$as_echo_n "checking for ld used by GCC... " >&6; }
28322  case $host in
28323  *-*-mingw*)
28324    # gcc leaves a trailing carriage return which upsets mingw
28325    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28326  *)
28327    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28328  esac
28329  case $ac_prog in
28330    # Accept absolute paths.
28331    [\\/]* | [A-Za-z]:[\\/]*)
28332      re_direlt='/[^/][^/]*/\.\./'
28333      # Canonicalize the path of ld
28334      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28335      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28336	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28337      done
28338      test -z "$LD" && LD="$ac_prog"
28339      ;;
28340  "")
28341    # If it fails, then pretend we aren't using GCC.
28342    ac_prog=ld
28343    ;;
28344  *)
28345    # If it is relative, then search for the first ld in PATH.
28346    with_gnu_ld=unknown
28347    ;;
28348  esac
28349elif test "$with_gnu_ld" = yes; then
28350  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28351$as_echo_n "checking for GNU ld... " >&6; }
28352else
28353  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28354$as_echo_n "checking for non-GNU ld... " >&6; }
28355fi
28356if ${acl_cv_path_LD+:} false; then :
28357  $as_echo_n "(cached) " >&6
28358else
28359  if test -z "$LD"; then
28360  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28361  for ac_dir in $PATH; do
28362    test -z "$ac_dir" && ac_dir=.
28363    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28364      acl_cv_path_LD="$ac_dir/$ac_prog"
28365      # Check to see if the program is GNU ld.  I'd rather use --version,
28366      # but apparently some GNU ld's only accept -v.
28367      # Break only if it was the GNU/non-GNU ld that we prefer.
28368      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28369	test "$with_gnu_ld" != no && break
28370      else
28371	test "$with_gnu_ld" != yes && break
28372      fi
28373    fi
28374  done
28375  IFS="$ac_save_ifs"
28376else
28377  acl_cv_path_LD="$LD" # Let the user override the test with a path.
28378fi
28379fi
28380
28381LD="$acl_cv_path_LD"
28382if test -n "$LD"; then
28383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28384$as_echo "$LD" >&6; }
28385else
28386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28387$as_echo "no" >&6; }
28388fi
28389test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28391$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28392if ${acl_cv_prog_gnu_ld+:} false; then :
28393  $as_echo_n "(cached) " >&6
28394else
28395  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28396if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28397  acl_cv_prog_gnu_ld=yes
28398else
28399  acl_cv_prog_gnu_ld=no
28400fi
28401fi
28402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28403$as_echo "$acl_cv_prog_gnu_ld" >&6; }
28404with_gnu_ld=$acl_cv_prog_gnu_ld
28405
28406
28407
28408                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28409$as_echo_n "checking for shared library run path origin... " >&6; }
28410if ${acl_cv_rpath+:} false; then :
28411  $as_echo_n "(cached) " >&6
28412else
28413
28414    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28415    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28416    . ./conftest.sh
28417    rm -f ./conftest.sh
28418    acl_cv_rpath=done
28419
28420fi
28421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28422$as_echo "$acl_cv_rpath" >&6; }
28423  wl="$acl_cv_wl"
28424  libext="$acl_cv_libext"
28425  shlibext="$acl_cv_shlibext"
28426  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28427  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28428  hardcode_direct="$acl_cv_hardcode_direct"
28429  hardcode_minus_L="$acl_cv_hardcode_minus_L"
28430    # Check whether --enable-rpath was given.
28431if test "${enable_rpath+set}" = set; then :
28432  enableval=$enable_rpath; :
28433else
28434  enable_rpath=yes
28435fi
28436
28437
28438
28439
28440
28441
28442
28443
28444    use_additional=yes
28445
28446  acl_save_prefix="$prefix"
28447  prefix="$acl_final_prefix"
28448  acl_save_exec_prefix="$exec_prefix"
28449  exec_prefix="$acl_final_exec_prefix"
28450
28451    eval additional_includedir=\"$includedir\"
28452    eval additional_libdir=\"$libdir\"
28453
28454  exec_prefix="$acl_save_exec_prefix"
28455  prefix="$acl_save_prefix"
28456
28457
28458# Check whether --with-libiconv-prefix was given.
28459if test "${with_libiconv_prefix+set}" = set; then :
28460  withval=$with_libiconv_prefix;
28461    if test "X$withval" = "Xno"; then
28462      use_additional=no
28463    else
28464      if test "X$withval" = "X"; then
28465
28466  acl_save_prefix="$prefix"
28467  prefix="$acl_final_prefix"
28468  acl_save_exec_prefix="$exec_prefix"
28469  exec_prefix="$acl_final_exec_prefix"
28470
28471          eval additional_includedir=\"$includedir\"
28472          eval additional_libdir=\"$libdir\"
28473
28474  exec_prefix="$acl_save_exec_prefix"
28475  prefix="$acl_save_prefix"
28476
28477      else
28478        additional_includedir="$withval/include"
28479        additional_libdir="$withval/lib"
28480      fi
28481    fi
28482
28483fi
28484
28485
28486# Check whether --with-libiconv-type was given.
28487if test "${with_libiconv_type+set}" = set; then :
28488  withval=$with_libiconv_type;  with_libiconv_type=$withval
28489else
28490   with_libiconv_type=auto
28491fi
28492
28493  lib_type=`eval echo \$with_libiconv_type`
28494
28495      LIBICONV=
28496  LTLIBICONV=
28497  INCICONV=
28498  rpathdirs=
28499  ltrpathdirs=
28500  names_already_handled=
28501  names_next_round='iconv '
28502  while test -n "$names_next_round"; do
28503    names_this_round="$names_next_round"
28504    names_next_round=
28505    for name in $names_this_round; do
28506      already_handled=
28507      for n in $names_already_handled; do
28508        if test "$n" = "$name"; then
28509          already_handled=yes
28510          break
28511        fi
28512      done
28513      if test -z "$already_handled"; then
28514        names_already_handled="$names_already_handled $name"
28515                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28516        eval value=\"\$HAVE_LIB$uppername\"
28517        if test -n "$value"; then
28518          if test "$value" = yes; then
28519            eval value=\"\$LIB$uppername\"
28520            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28521            eval value=\"\$LTLIB$uppername\"
28522            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28523          else
28524                                    :
28525          fi
28526        else
28527                              found_dir=
28528          found_la=
28529          found_so=
28530          found_a=
28531          if test $use_additional = yes; then
28532            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28533              found_dir="$additional_libdir"
28534              found_so="$additional_libdir/lib$name.$shlibext"
28535              if test -f "$additional_libdir/lib$name.la"; then
28536                found_la="$additional_libdir/lib$name.la"
28537              fi
28538            elif test x$lib_type != xshared; then
28539              if test -f "$additional_libdir/lib$name.$libext"; then
28540                found_dir="$additional_libdir"
28541                found_a="$additional_libdir/lib$name.$libext"
28542                if test -f "$additional_libdir/lib$name.la"; then
28543                  found_la="$additional_libdir/lib$name.la"
28544                fi
28545              fi
28546            fi
28547          fi
28548          if test "X$found_dir" = "X"; then
28549            for x in $LDFLAGS $LTLIBICONV; do
28550
28551  acl_save_prefix="$prefix"
28552  prefix="$acl_final_prefix"
28553  acl_save_exec_prefix="$exec_prefix"
28554  exec_prefix="$acl_final_exec_prefix"
28555  eval x=\"$x\"
28556  exec_prefix="$acl_save_exec_prefix"
28557  prefix="$acl_save_prefix"
28558
28559              case "$x" in
28560                -L*)
28561                  dir=`echo "X$x" | sed -e 's/^X-L//'`
28562                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28563                    found_dir="$dir"
28564                    found_so="$dir/lib$name.$shlibext"
28565                    if test -f "$dir/lib$name.la"; then
28566                      found_la="$dir/lib$name.la"
28567                    fi
28568                  elif test x$lib_type != xshared; then
28569                    if test -f "$dir/lib$name.$libext"; then
28570                      found_dir="$dir"
28571                      found_a="$dir/lib$name.$libext"
28572                      if test -f "$dir/lib$name.la"; then
28573                        found_la="$dir/lib$name.la"
28574                      fi
28575                    fi
28576                  fi
28577                  ;;
28578              esac
28579              if test "X$found_dir" != "X"; then
28580                break
28581              fi
28582            done
28583          fi
28584          if test "X$found_dir" != "X"; then
28585                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28586            if test "X$found_so" != "X"; then
28587                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28588                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28589              else
28590                                                                                haveit=
28591                for x in $ltrpathdirs; do
28592                  if test "X$x" = "X$found_dir"; then
28593                    haveit=yes
28594                    break
28595                  fi
28596                done
28597                if test -z "$haveit"; then
28598                  ltrpathdirs="$ltrpathdirs $found_dir"
28599                fi
28600                                if test "$hardcode_direct" = yes; then
28601                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28602                else
28603                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28604                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28605                                                            haveit=
28606                    for x in $rpathdirs; do
28607                      if test "X$x" = "X$found_dir"; then
28608                        haveit=yes
28609                        break
28610                      fi
28611                    done
28612                    if test -z "$haveit"; then
28613                      rpathdirs="$rpathdirs $found_dir"
28614                    fi
28615                  else
28616                                                                                haveit=
28617                    for x in $LDFLAGS $LIBICONV; do
28618
28619  acl_save_prefix="$prefix"
28620  prefix="$acl_final_prefix"
28621  acl_save_exec_prefix="$exec_prefix"
28622  exec_prefix="$acl_final_exec_prefix"
28623  eval x=\"$x\"
28624  exec_prefix="$acl_save_exec_prefix"
28625  prefix="$acl_save_prefix"
28626
28627                      if test "X$x" = "X-L$found_dir"; then
28628                        haveit=yes
28629                        break
28630                      fi
28631                    done
28632                    if test -z "$haveit"; then
28633                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28634                    fi
28635                    if test "$hardcode_minus_L" != no; then
28636                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28637                    else
28638                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28639                    fi
28640                  fi
28641                fi
28642              fi
28643            else
28644              if test "X$found_a" != "X"; then
28645                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28646              else
28647                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28648              fi
28649            fi
28650                        additional_includedir=
28651            case "$found_dir" in
28652              */lib | */lib/)
28653                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28654                additional_includedir="$basedir/include"
28655                ;;
28656            esac
28657            if test "X$additional_includedir" != "X"; then
28658                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
28659                haveit=
28660                if test "X$additional_includedir" = "X/usr/local/include"; then
28661                  if test -n "$GCC"; then
28662                    case $host_os in
28663                      linux*) haveit=yes;;
28664                    esac
28665                  fi
28666                fi
28667                if test -z "$haveit"; then
28668                  for x in $CPPFLAGS $INCICONV; do
28669
28670  acl_save_prefix="$prefix"
28671  prefix="$acl_final_prefix"
28672  acl_save_exec_prefix="$exec_prefix"
28673  exec_prefix="$acl_final_exec_prefix"
28674  eval x=\"$x\"
28675  exec_prefix="$acl_save_exec_prefix"
28676  prefix="$acl_save_prefix"
28677
28678                    if test "X$x" = "X-I$additional_includedir"; then
28679                      haveit=yes
28680                      break
28681                    fi
28682                  done
28683                  if test -z "$haveit"; then
28684                    if test -d "$additional_includedir"; then
28685                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28686                    fi
28687                  fi
28688                fi
28689              fi
28690            fi
28691                        if test -n "$found_la"; then
28692                                                        save_libdir="$libdir"
28693              case "$found_la" in
28694                */* | *\\*) . "$found_la" ;;
28695                *) . "./$found_la" ;;
28696              esac
28697              libdir="$save_libdir"
28698                            for dep in $dependency_libs; do
28699                case "$dep" in
28700                  -L*)
28701                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28702                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
28703                      haveit=
28704                      if test "X$additional_libdir" = "X/usr/local/lib"; then
28705                        if test -n "$GCC"; then
28706                          case $host_os in
28707                            linux*) haveit=yes;;
28708                          esac
28709                        fi
28710                      fi
28711                      if test -z "$haveit"; then
28712                        haveit=
28713                        for x in $LDFLAGS $LIBICONV; do
28714
28715  acl_save_prefix="$prefix"
28716  prefix="$acl_final_prefix"
28717  acl_save_exec_prefix="$exec_prefix"
28718  exec_prefix="$acl_final_exec_prefix"
28719  eval x=\"$x\"
28720  exec_prefix="$acl_save_exec_prefix"
28721  prefix="$acl_save_prefix"
28722
28723                          if test "X$x" = "X-L$additional_libdir"; then
28724                            haveit=yes
28725                            break
28726                          fi
28727                        done
28728                        if test -z "$haveit"; then
28729                          if test -d "$additional_libdir"; then
28730                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28731                          fi
28732                        fi
28733                        haveit=
28734                        for x in $LDFLAGS $LTLIBICONV; do
28735
28736  acl_save_prefix="$prefix"
28737  prefix="$acl_final_prefix"
28738  acl_save_exec_prefix="$exec_prefix"
28739  exec_prefix="$acl_final_exec_prefix"
28740  eval x=\"$x\"
28741  exec_prefix="$acl_save_exec_prefix"
28742  prefix="$acl_save_prefix"
28743
28744                          if test "X$x" = "X-L$additional_libdir"; then
28745                            haveit=yes
28746                            break
28747                          fi
28748                        done
28749                        if test -z "$haveit"; then
28750                          if test -d "$additional_libdir"; then
28751                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28752                          fi
28753                        fi
28754                      fi
28755                    fi
28756                    ;;
28757                  -R*)
28758                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
28759                    if test "$enable_rpath" != no; then
28760                                                                  haveit=
28761                      for x in $rpathdirs; do
28762                        if test "X$x" = "X$dir"; then
28763                          haveit=yes
28764                          break
28765                        fi
28766                      done
28767                      if test -z "$haveit"; then
28768                        rpathdirs="$rpathdirs $dir"
28769                      fi
28770                                                                  haveit=
28771                      for x in $ltrpathdirs; do
28772                        if test "X$x" = "X$dir"; then
28773                          haveit=yes
28774                          break
28775                        fi
28776                      done
28777                      if test -z "$haveit"; then
28778                        ltrpathdirs="$ltrpathdirs $dir"
28779                      fi
28780                    fi
28781                    ;;
28782                  -l*)
28783                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28784                    ;;
28785                  *.la)
28786                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28787                    ;;
28788                  *)
28789                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28790                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28791                    ;;
28792                esac
28793              done
28794            fi
28795          else
28796                                                            if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28797              LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28798              LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28799            else
28800              LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28801              LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28802            fi
28803          fi
28804        fi
28805      fi
28806    done
28807  done
28808  if test "X$rpathdirs" != "X"; then
28809    if test -n "$hardcode_libdir_separator"; then
28810                        alldirs=
28811      for found_dir in $rpathdirs; do
28812        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28813      done
28814            acl_save_libdir="$libdir"
28815      libdir="$alldirs"
28816      eval flag=\"$hardcode_libdir_flag_spec\"
28817      libdir="$acl_save_libdir"
28818      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28819    else
28820            for found_dir in $rpathdirs; do
28821        acl_save_libdir="$libdir"
28822        libdir="$found_dir"
28823        eval flag=\"$hardcode_libdir_flag_spec\"
28824        libdir="$acl_save_libdir"
28825        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28826      done
28827    fi
28828  fi
28829  if test "X$ltrpathdirs" != "X"; then
28830            for found_dir in $ltrpathdirs; do
28831      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28832    done
28833  fi
28834
28835
28836
28837
28838
28839
28840
28841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28842$as_echo_n "checking for iconv... " >&6; }
28843if ${am_cv_func_iconv+:} false; then :
28844  $as_echo_n "(cached) " >&6
28845else
28846
28847    am_cv_func_iconv="no, consider installing GNU libiconv"
28848    am_cv_lib_iconv=no
28849                    am_save_CPPFLAGS="$CPPFLAGS"
28850    CPPFLAGS="$CPPFLAGS $INCICONV"
28851    if test x$gcc_no_link = xyes; then
28852  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28853fi
28854cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28855/* end confdefs.h.  */
28856#include <stdlib.h>
28857#include <iconv.h>
28858int
28859main ()
28860{
28861iconv_t cd = iconv_open("","");
28862       iconv(cd,NULL,NULL,NULL,NULL);
28863       iconv_close(cd);
28864  ;
28865  return 0;
28866}
28867_ACEOF
28868if ac_fn_c_try_link "$LINENO"; then :
28869  am_cv_func_iconv=yes
28870fi
28871rm -f core conftest.err conftest.$ac_objext \
28872    conftest$ac_exeext conftest.$ac_ext
28873    CPPFLAGS="$am_save_CPPFLAGS"
28874
28875    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28876      for _libs in .libs _libs; do
28877        am_save_CPPFLAGS="$CPPFLAGS"
28878        am_save_LIBS="$LIBS"
28879        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28880        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28881        if test x$gcc_no_link = xyes; then
28882  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28883fi
28884cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28885/* end confdefs.h.  */
28886#include <stdlib.h>
28887#include <iconv.h>
28888int
28889main ()
28890{
28891iconv_t cd = iconv_open("","");
28892           iconv(cd,NULL,NULL,NULL,NULL);
28893           iconv_close(cd);
28894  ;
28895  return 0;
28896}
28897_ACEOF
28898if ac_fn_c_try_link "$LINENO"; then :
28899  INCICONV="-I../libiconv/include"
28900          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28901          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28902          am_cv_lib_iconv=yes
28903          am_cv_func_iconv=yes
28904fi
28905rm -f core conftest.err conftest.$ac_objext \
28906    conftest$ac_exeext conftest.$ac_ext
28907        CPPFLAGS="$am_save_CPPFLAGS"
28908        LIBS="$am_save_LIBS"
28909        if test "$am_cv_func_iconv" = "yes"; then
28910          break
28911        fi
28912      done
28913    fi
28914
28915    if test "$am_cv_func_iconv" != yes; then
28916      am_save_CPPFLAGS="$CPPFLAGS"
28917      am_save_LIBS="$LIBS"
28918      CPPFLAGS="$CPPFLAGS $INCICONV"
28919      LIBS="$LIBS $LIBICONV"
28920      if test x$gcc_no_link = xyes; then
28921  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28922fi
28923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28924/* end confdefs.h.  */
28925#include <stdlib.h>
28926#include <iconv.h>
28927int
28928main ()
28929{
28930iconv_t cd = iconv_open("","");
28931         iconv(cd,NULL,NULL,NULL,NULL);
28932         iconv_close(cd);
28933  ;
28934  return 0;
28935}
28936_ACEOF
28937if ac_fn_c_try_link "$LINENO"; then :
28938  am_cv_lib_iconv=yes
28939        am_cv_func_iconv=yes
28940fi
28941rm -f core conftest.err conftest.$ac_objext \
28942    conftest$ac_exeext conftest.$ac_ext
28943      CPPFLAGS="$am_save_CPPFLAGS"
28944      LIBS="$am_save_LIBS"
28945    fi
28946
28947fi
28948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28949$as_echo "$am_cv_func_iconv" >&6; }
28950  if test "$am_cv_func_iconv" = yes; then
28951
28952$as_echo "#define HAVE_ICONV 1" >>confdefs.h
28953
28954  fi
28955  if test "$am_cv_lib_iconv" = yes; then
28956
28957  for element in $INCICONV; do
28958    haveit=
28959    for x in $CPPFLAGS; do
28960
28961  acl_save_prefix="$prefix"
28962  prefix="$acl_final_prefix"
28963  acl_save_exec_prefix="$exec_prefix"
28964  exec_prefix="$acl_final_exec_prefix"
28965  eval x=\"$x\"
28966  exec_prefix="$acl_save_exec_prefix"
28967  prefix="$acl_save_prefix"
28968
28969      if test "X$x" = "X$element"; then
28970        haveit=yes
28971        break
28972      fi
28973    done
28974    if test -z "$haveit"; then
28975      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28976    fi
28977  done
28978
28979    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28980$as_echo_n "checking how to link with libiconv... " >&6; }
28981    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28982$as_echo "$LIBICONV" >&6; }
28983  else
28984    LIBICONV=
28985    LTLIBICONV=
28986  fi
28987
28988
28989
28990  if test "$am_cv_func_iconv" = yes; then
28991    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28992$as_echo_n "checking for iconv declaration... " >&6; }
28993    if ${am_cv_proto_iconv+:} false; then :
28994  $as_echo_n "(cached) " >&6
28995else
28996
28997      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28998/* end confdefs.h.  */
28999
29000#include <stdlib.h>
29001#include <iconv.h>
29002extern
29003#ifdef __cplusplus
29004"C"
29005#endif
29006#if defined(__STDC__) || defined(__cplusplus)
29007size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29008#else
29009size_t iconv();
29010#endif
29011
29012int
29013main ()
29014{
29015
29016  ;
29017  return 0;
29018}
29019_ACEOF
29020if ac_fn_c_try_compile "$LINENO"; then :
29021  am_cv_proto_iconv_arg1=""
29022else
29023  am_cv_proto_iconv_arg1="const"
29024fi
29025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29026      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);"
29027fi
29028
29029    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29030    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29031         }$am_cv_proto_iconv" >&5
29032$as_echo "${ac_t:-
29033         }$am_cv_proto_iconv" >&6; }
29034
29035cat >>confdefs.h <<_ACEOF
29036#define ICONV_CONST $am_cv_proto_iconv_arg1
29037_ACEOF
29038
29039  fi
29040
29041
29042else
29043
29044  # This lets us hard-code the functionality we know we'll have in the cross
29045  # target environment.  "Let" is a sugar-coated word placed on an especially
29046  # dull and tedious hack, actually.
29047  #
29048  # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29049  # that involve linking, can't be used:
29050  #    "cannot open sim-crt0.o"
29051  #    "cannot open crt0.o"
29052  # etc.  All this is because there currently exists no unified, consistent
29053  # way for top level CC information to be passed down to target directories:
29054  # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29055  # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29056  # crosses can be removed.
29057
29058  # If Canadian cross, then don't pick up tools from the build directory.
29059  # Used only in GLIBCXX_EXPORT_INCLUDES.
29060  if test -n "$with_cross_host" &&
29061     test x"$build_alias" != x"$with_cross_host" &&
29062     test x"$build" != x"$target";
29063  then
29064    CANADIAN=yes
29065  else
29066    CANADIAN=no
29067  fi
29068
29069  # Construct crosses by hand, eliminating bits that need ld...
29070  # GLIBCXX_CHECK_MATH_SUPPORT
29071
29072  # First, test for "known" system libraries.  We may be using newlib even
29073  # on a hosted environment.
29074  if test "x${with_newlib}" = "xyes"; then
29075    os_include_dir="os/newlib"
29076    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29077
29078
29079    # GLIBCXX_CHECK_STDLIB_SUPPORT
29080    $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29081
29082
29083    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29084
29085    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29086
29087    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29088
29089    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29090
29091    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29092
29093    $as_echo "#define HAVE_COSF 1" >>confdefs.h
29094
29095    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29096
29097    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29098
29099    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29100
29101    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29102
29103    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29104
29105    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29106
29107    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29108
29109    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29110
29111    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29112
29113    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29114
29115    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29116
29117    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29118
29119    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29120
29121    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29122
29123    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29124
29125    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29126
29127
29128    $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29129
29130    $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29131
29132  else
29133
29134# Base decisions on target environment.
29135case "${host}" in
29136  arm*-*-symbianelf*)
29137    # This is a freestanding configuration; there is nothing to do here.
29138    ;;
29139
29140  avr*-*-*)
29141    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29142
29143    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29144
29145    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29146
29147    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29148
29149    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29150
29151    $as_echo "#define HAVE_COSF 1" >>confdefs.h
29152
29153    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29154
29155    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29156
29157    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29158
29159    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29160
29161    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29162
29163    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29164
29165    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29166
29167    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29168
29169    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29170
29171    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29172
29173    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29174
29175    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29176
29177    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29178
29179    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29180
29181    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29182
29183    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29184
29185    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29186
29187    ;;
29188
29189  mips*-sde-elf*)
29190    # These definitions are for the SDE C library rather than newlib.
29191    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29192
29193
29194  # All these tests are for C++; save the language and the compiler flags.
29195  # The CXXFLAGS thing is suspicious, but based on similar bits previously
29196  # found in GLIBCXX_CONFIGURE.
29197
29198  ac_ext=cpp
29199ac_cpp='$CXXCPP $CPPFLAGS'
29200ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29201ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29202ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29203
29204  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29205  ac_save_CXXFLAGS="$CXXFLAGS"
29206
29207  # Check for -ffunction-sections -fdata-sections
29208  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29209$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29210  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29211  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29212/* end confdefs.h.  */
29213int foo; void bar() { };
29214int
29215main ()
29216{
29217
29218  ;
29219  return 0;
29220}
29221_ACEOF
29222if ac_fn_cxx_try_compile "$LINENO"; then :
29223  ac_fdsections=yes
29224else
29225  ac_fdsections=no
29226fi
29227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29228  if test "$ac_test_CXXFLAGS" = set; then
29229    CXXFLAGS="$ac_save_CXXFLAGS"
29230  else
29231    # this is the suspicious part
29232    CXXFLAGS=''
29233  fi
29234  if test x"$ac_fdsections" = x"yes"; then
29235    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29236  fi
29237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29238$as_echo "$ac_fdsections" >&6; }
29239
29240  ac_ext=c
29241ac_cpp='$CPP $CPPFLAGS'
29242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244ac_compiler_gnu=$ac_cv_c_compiler_gnu
29245
29246
29247
29248
29249  # If we're not using GNU ld, then there's no point in even trying these
29250  # tests.  Check for that first.  We should have already tested for gld
29251  # by now (in libtool), but require it now just to be safe...
29252  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29253  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29254
29255
29256
29257  # The name set by libtool depends on the version of libtool.  Shame on us
29258  # for depending on an impl detail, but c'est la vie.  Older versions used
29259  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29260  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29261  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
29262  # set (hence we're using an older libtool), then set it.
29263  if test x${with_gnu_ld+set} != xset; then
29264    if test x${ac_cv_prog_gnu_ld+set} != xset; then
29265      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
29266      with_gnu_ld=no
29267    else
29268      with_gnu_ld=$ac_cv_prog_gnu_ld
29269    fi
29270  fi
29271
29272  # Start by getting the version number.  I think the libtool test already
29273  # does some of this, but throws away the result.
29274  glibcxx_ld_is_gold=no
29275  if test x"$with_gnu_ld" = x"yes"; then
29276    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29277$as_echo_n "checking for ld version... " >&6; }
29278
29279    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29280      glibcxx_ld_is_gold=yes
29281    fi
29282    ldver=`$LD --version 2>/dev/null |
29283	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29284
29285    glibcxx_gnu_ld_version=`echo $ldver | \
29286	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29287    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29288$as_echo "$glibcxx_gnu_ld_version" >&6; }
29289  fi
29290
29291  # Set --gc-sections.
29292  glibcxx_have_gc_sections=no
29293  if test "$glibcxx_ld_is_gold" = "yes"; then
29294    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29295      glibcxx_have_gc_sections=yes
29296    fi
29297  else
29298    glibcxx_gcsections_min_ld=21602
29299    if test x"$with_gnu_ld" = x"yes" &&
29300	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29301      glibcxx_have_gc_sections=yes
29302    fi
29303  fi
29304  if test "$glibcxx_have_gc_sections" = "yes"; then
29305    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
29306    # NB: This flag only works reliably after 2.16.1. Configure tests
29307    # for this are difficult, so hard wire a value that should work.
29308
29309    ac_test_CFLAGS="${CFLAGS+set}"
29310    ac_save_CFLAGS="$CFLAGS"
29311    CFLAGS='-Wl,--gc-sections'
29312
29313    # Check for -Wl,--gc-sections
29314    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29315$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29316    if test x$gcc_no_link = xyes; then
29317  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29318fi
29319cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29320/* end confdefs.h.  */
29321 int one(void) { return 1; }
29322     int two(void) { return 2; }
29323
29324int
29325main ()
29326{
29327 two();
29328  ;
29329  return 0;
29330}
29331_ACEOF
29332if ac_fn_c_try_link "$LINENO"; then :
29333  ac_gcsections=yes
29334else
29335  ac_gcsections=no
29336fi
29337rm -f core conftest.err conftest.$ac_objext \
29338    conftest$ac_exeext conftest.$ac_ext
29339    if test "$ac_gcsections" = "yes"; then
29340      rm -f conftest.c
29341      touch conftest.c
29342      if $CC -c conftest.c; then
29343	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29344	   grep "Warning: gc-sections option ignored" > /dev/null; then
29345	  ac_gcsections=no
29346	fi
29347      fi
29348      rm -f conftest.c conftest.o conftest
29349    fi
29350    if test "$ac_gcsections" = "yes"; then
29351      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29352    fi
29353    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29354$as_echo "$ac_gcsections" >&6; }
29355
29356    if test "$ac_test_CFLAGS" = set; then
29357      CFLAGS="$ac_save_CFLAGS"
29358    else
29359      # this is the suspicious part
29360      CFLAGS=''
29361    fi
29362  fi
29363
29364  # Set -z,relro.
29365  # Note this is only for shared objects.
29366  ac_ld_relro=no
29367  if test x"$with_gnu_ld" = x"yes"; then
29368    # cygwin and mingw uses PE, which has no ELF relro support,
29369    # multi target ld may confuse configure machinery
29370    case "$host" in
29371    *-*-cygwin*)
29372     ;;
29373    *-*-mingw*)
29374     ;;
29375    *)
29376      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29377$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29378      cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29379      if test -n "$cxx_z_relo"; then
29380        OPT_LDFLAGS="-Wl,-z,relro"
29381        ac_ld_relro=yes
29382      fi
29383      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29384$as_echo "$ac_ld_relro" >&6; }
29385    esac
29386  fi
29387
29388  # Set linker optimization flags.
29389  if test x"$with_gnu_ld" = x"yes"; then
29390    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29391  fi
29392
29393
29394
29395
29396
29397  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29398  ac_save_CXXFLAGS="$CXXFLAGS"
29399  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29400
29401    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29402$as_echo_n "checking for sin in -lm... " >&6; }
29403if ${ac_cv_lib_m_sin+:} false; then :
29404  $as_echo_n "(cached) " >&6
29405else
29406  ac_check_lib_save_LIBS=$LIBS
29407LIBS="-lm  $LIBS"
29408if test x$gcc_no_link = xyes; then
29409  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29410fi
29411cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29412/* end confdefs.h.  */
29413
29414/* Override any GCC internal prototype to avoid an error.
29415   Use char because int might match the return type of a GCC
29416   builtin and then its argument prototype would still apply.  */
29417#ifdef __cplusplus
29418extern "C"
29419#endif
29420char sin ();
29421int
29422main ()
29423{
29424return sin ();
29425  ;
29426  return 0;
29427}
29428_ACEOF
29429if ac_fn_c_try_link "$LINENO"; then :
29430  ac_cv_lib_m_sin=yes
29431else
29432  ac_cv_lib_m_sin=no
29433fi
29434rm -f core conftest.err conftest.$ac_objext \
29435    conftest$ac_exeext conftest.$ac_ext
29436LIBS=$ac_check_lib_save_LIBS
29437fi
29438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29439$as_echo "$ac_cv_lib_m_sin" >&6; }
29440if test "x$ac_cv_lib_m_sin" = xyes; then :
29441  libm="-lm"
29442fi
29443
29444  ac_save_LIBS="$LIBS"
29445  LIBS="$LIBS $libm"
29446
29447
29448
29449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29450$as_echo_n "checking for isinf declaration... " >&6; }
29451  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29452    if ${glibcxx_cv_func_isinf_use+:} false; then :
29453  $as_echo_n "(cached) " >&6
29454else
29455
29456
29457      ac_ext=cpp
29458ac_cpp='$CXXCPP $CPPFLAGS'
29459ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29460ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29461ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29462
29463      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29464/* end confdefs.h.  */
29465#include <math.h>
29466		      #ifdef HAVE_IEEEFP_H
29467		      #include <ieeefp.h>
29468		      #endif
29469
29470int
29471main ()
29472{
29473 isinf(0);
29474  ;
29475  return 0;
29476}
29477_ACEOF
29478if ac_fn_cxx_try_compile "$LINENO"; then :
29479  glibcxx_cv_func_isinf_use=yes
29480else
29481  glibcxx_cv_func_isinf_use=no
29482fi
29483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29484      ac_ext=c
29485ac_cpp='$CPP $CPPFLAGS'
29486ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29488ac_compiler_gnu=$ac_cv_c_compiler_gnu
29489
29490
29491fi
29492
29493  fi
29494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29495$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29496
29497  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29498    for ac_func in isinf
29499do :
29500  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29501if test "x$ac_cv_func_isinf" = xyes; then :
29502  cat >>confdefs.h <<_ACEOF
29503#define HAVE_ISINF 1
29504_ACEOF
29505
29506fi
29507done
29508
29509  else
29510
29511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29512$as_echo_n "checking for _isinf declaration... " >&6; }
29513  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29514    if ${glibcxx_cv_func__isinf_use+:} false; then :
29515  $as_echo_n "(cached) " >&6
29516else
29517
29518
29519      ac_ext=cpp
29520ac_cpp='$CXXCPP $CPPFLAGS'
29521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29524
29525      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29526/* end confdefs.h.  */
29527#include <math.h>
29528		      #ifdef HAVE_IEEEFP_H
29529		      #include <ieeefp.h>
29530		      #endif
29531
29532int
29533main ()
29534{
29535 _isinf(0);
29536  ;
29537  return 0;
29538}
29539_ACEOF
29540if ac_fn_cxx_try_compile "$LINENO"; then :
29541  glibcxx_cv_func__isinf_use=yes
29542else
29543  glibcxx_cv_func__isinf_use=no
29544fi
29545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29546      ac_ext=c
29547ac_cpp='$CPP $CPPFLAGS'
29548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29550ac_compiler_gnu=$ac_cv_c_compiler_gnu
29551
29552
29553fi
29554
29555  fi
29556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29557$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29558
29559    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29560      for ac_func in _isinf
29561do :
29562  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29563if test "x$ac_cv_func__isinf" = xyes; then :
29564  cat >>confdefs.h <<_ACEOF
29565#define HAVE__ISINF 1
29566_ACEOF
29567
29568fi
29569done
29570
29571    fi
29572  fi
29573
29574
29575
29576
29577
29578  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29579$as_echo_n "checking for isnan declaration... " >&6; }
29580  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29581    if ${glibcxx_cv_func_isnan_use+:} false; then :
29582  $as_echo_n "(cached) " >&6
29583else
29584
29585
29586      ac_ext=cpp
29587ac_cpp='$CXXCPP $CPPFLAGS'
29588ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29589ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29590ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29591
29592      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29593/* end confdefs.h.  */
29594#include <math.h>
29595		      #ifdef HAVE_IEEEFP_H
29596		      #include <ieeefp.h>
29597		      #endif
29598
29599int
29600main ()
29601{
29602 isnan(0);
29603  ;
29604  return 0;
29605}
29606_ACEOF
29607if ac_fn_cxx_try_compile "$LINENO"; then :
29608  glibcxx_cv_func_isnan_use=yes
29609else
29610  glibcxx_cv_func_isnan_use=no
29611fi
29612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29613      ac_ext=c
29614ac_cpp='$CPP $CPPFLAGS'
29615ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617ac_compiler_gnu=$ac_cv_c_compiler_gnu
29618
29619
29620fi
29621
29622  fi
29623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29624$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29625
29626  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29627    for ac_func in isnan
29628do :
29629  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29630if test "x$ac_cv_func_isnan" = xyes; then :
29631  cat >>confdefs.h <<_ACEOF
29632#define HAVE_ISNAN 1
29633_ACEOF
29634
29635fi
29636done
29637
29638  else
29639
29640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29641$as_echo_n "checking for _isnan declaration... " >&6; }
29642  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29643    if ${glibcxx_cv_func__isnan_use+:} false; then :
29644  $as_echo_n "(cached) " >&6
29645else
29646
29647
29648      ac_ext=cpp
29649ac_cpp='$CXXCPP $CPPFLAGS'
29650ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29653
29654      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29655/* end confdefs.h.  */
29656#include <math.h>
29657		      #ifdef HAVE_IEEEFP_H
29658		      #include <ieeefp.h>
29659		      #endif
29660
29661int
29662main ()
29663{
29664 _isnan(0);
29665  ;
29666  return 0;
29667}
29668_ACEOF
29669if ac_fn_cxx_try_compile "$LINENO"; then :
29670  glibcxx_cv_func__isnan_use=yes
29671else
29672  glibcxx_cv_func__isnan_use=no
29673fi
29674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29675      ac_ext=c
29676ac_cpp='$CPP $CPPFLAGS'
29677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29679ac_compiler_gnu=$ac_cv_c_compiler_gnu
29680
29681
29682fi
29683
29684  fi
29685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29686$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29687
29688    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29689      for ac_func in _isnan
29690do :
29691  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29692if test "x$ac_cv_func__isnan" = xyes; then :
29693  cat >>confdefs.h <<_ACEOF
29694#define HAVE__ISNAN 1
29695_ACEOF
29696
29697fi
29698done
29699
29700    fi
29701  fi
29702
29703
29704
29705
29706
29707  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29708$as_echo_n "checking for finite declaration... " >&6; }
29709  if test x${glibcxx_cv_func_finite_use+set} != xset; then
29710    if ${glibcxx_cv_func_finite_use+:} false; then :
29711  $as_echo_n "(cached) " >&6
29712else
29713
29714
29715      ac_ext=cpp
29716ac_cpp='$CXXCPP $CPPFLAGS'
29717ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29718ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29719ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29720
29721      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29722/* end confdefs.h.  */
29723#include <math.h>
29724		      #ifdef HAVE_IEEEFP_H
29725		      #include <ieeefp.h>
29726		      #endif
29727
29728int
29729main ()
29730{
29731 finite(0);
29732  ;
29733  return 0;
29734}
29735_ACEOF
29736if ac_fn_cxx_try_compile "$LINENO"; then :
29737  glibcxx_cv_func_finite_use=yes
29738else
29739  glibcxx_cv_func_finite_use=no
29740fi
29741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29742      ac_ext=c
29743ac_cpp='$CPP $CPPFLAGS'
29744ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746ac_compiler_gnu=$ac_cv_c_compiler_gnu
29747
29748
29749fi
29750
29751  fi
29752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29753$as_echo "$glibcxx_cv_func_finite_use" >&6; }
29754
29755  if test x$glibcxx_cv_func_finite_use = x"yes"; then
29756    for ac_func in finite
29757do :
29758  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29759if test "x$ac_cv_func_finite" = xyes; then :
29760  cat >>confdefs.h <<_ACEOF
29761#define HAVE_FINITE 1
29762_ACEOF
29763
29764fi
29765done
29766
29767  else
29768
29769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29770$as_echo_n "checking for _finite declaration... " >&6; }
29771  if test x${glibcxx_cv_func__finite_use+set} != xset; then
29772    if ${glibcxx_cv_func__finite_use+:} false; then :
29773  $as_echo_n "(cached) " >&6
29774else
29775
29776
29777      ac_ext=cpp
29778ac_cpp='$CXXCPP $CPPFLAGS'
29779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29782
29783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29784/* end confdefs.h.  */
29785#include <math.h>
29786		      #ifdef HAVE_IEEEFP_H
29787		      #include <ieeefp.h>
29788		      #endif
29789
29790int
29791main ()
29792{
29793 _finite(0);
29794  ;
29795  return 0;
29796}
29797_ACEOF
29798if ac_fn_cxx_try_compile "$LINENO"; then :
29799  glibcxx_cv_func__finite_use=yes
29800else
29801  glibcxx_cv_func__finite_use=no
29802fi
29803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29804      ac_ext=c
29805ac_cpp='$CPP $CPPFLAGS'
29806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808ac_compiler_gnu=$ac_cv_c_compiler_gnu
29809
29810
29811fi
29812
29813  fi
29814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29815$as_echo "$glibcxx_cv_func__finite_use" >&6; }
29816
29817    if test x$glibcxx_cv_func__finite_use = x"yes"; then
29818      for ac_func in _finite
29819do :
29820  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29821if test "x$ac_cv_func__finite" = xyes; then :
29822  cat >>confdefs.h <<_ACEOF
29823#define HAVE__FINITE 1
29824_ACEOF
29825
29826fi
29827done
29828
29829    fi
29830  fi
29831
29832
29833
29834
29835
29836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29837$as_echo_n "checking for sincos declaration... " >&6; }
29838  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29839    if ${glibcxx_cv_func_sincos_use+:} false; then :
29840  $as_echo_n "(cached) " >&6
29841else
29842
29843
29844      ac_ext=cpp
29845ac_cpp='$CXXCPP $CPPFLAGS'
29846ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29847ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29848ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29849
29850      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29851/* end confdefs.h.  */
29852#include <math.h>
29853int
29854main ()
29855{
29856 sincos(0, 0, 0);
29857  ;
29858  return 0;
29859}
29860_ACEOF
29861if ac_fn_cxx_try_compile "$LINENO"; then :
29862  glibcxx_cv_func_sincos_use=yes
29863else
29864  glibcxx_cv_func_sincos_use=no
29865fi
29866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29867      ac_ext=c
29868ac_cpp='$CPP $CPPFLAGS'
29869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871ac_compiler_gnu=$ac_cv_c_compiler_gnu
29872
29873
29874fi
29875
29876  fi
29877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29878$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29879
29880  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29881    for ac_func in sincos
29882do :
29883  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29884if test "x$ac_cv_func_sincos" = xyes; then :
29885  cat >>confdefs.h <<_ACEOF
29886#define HAVE_SINCOS 1
29887_ACEOF
29888
29889fi
29890done
29891
29892  else
29893
29894  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29895$as_echo_n "checking for _sincos declaration... " >&6; }
29896  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29897    if ${glibcxx_cv_func__sincos_use+:} false; then :
29898  $as_echo_n "(cached) " >&6
29899else
29900
29901
29902      ac_ext=cpp
29903ac_cpp='$CXXCPP $CPPFLAGS'
29904ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29905ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29906ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29907
29908      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29909/* end confdefs.h.  */
29910#include <math.h>
29911int
29912main ()
29913{
29914 _sincos(0, 0, 0);
29915  ;
29916  return 0;
29917}
29918_ACEOF
29919if ac_fn_cxx_try_compile "$LINENO"; then :
29920  glibcxx_cv_func__sincos_use=yes
29921else
29922  glibcxx_cv_func__sincos_use=no
29923fi
29924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29925      ac_ext=c
29926ac_cpp='$CPP $CPPFLAGS'
29927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29929ac_compiler_gnu=$ac_cv_c_compiler_gnu
29930
29931
29932fi
29933
29934  fi
29935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29936$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29937
29938    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29939      for ac_func in _sincos
29940do :
29941  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29942if test "x$ac_cv_func__sincos" = xyes; then :
29943  cat >>confdefs.h <<_ACEOF
29944#define HAVE__SINCOS 1
29945_ACEOF
29946
29947fi
29948done
29949
29950    fi
29951  fi
29952
29953
29954
29955
29956
29957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29958$as_echo_n "checking for fpclass declaration... " >&6; }
29959  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29960    if ${glibcxx_cv_func_fpclass_use+:} false; then :
29961  $as_echo_n "(cached) " >&6
29962else
29963
29964
29965      ac_ext=cpp
29966ac_cpp='$CXXCPP $CPPFLAGS'
29967ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29970
29971      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972/* end confdefs.h.  */
29973#include <math.h>
29974		      #ifdef HAVE_IEEEFP_H
29975		      #include <ieeefp.h>
29976		      #endif
29977
29978int
29979main ()
29980{
29981 fpclass(0);
29982  ;
29983  return 0;
29984}
29985_ACEOF
29986if ac_fn_cxx_try_compile "$LINENO"; then :
29987  glibcxx_cv_func_fpclass_use=yes
29988else
29989  glibcxx_cv_func_fpclass_use=no
29990fi
29991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29992      ac_ext=c
29993ac_cpp='$CPP $CPPFLAGS'
29994ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996ac_compiler_gnu=$ac_cv_c_compiler_gnu
29997
29998
29999fi
30000
30001  fi
30002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30003$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30004
30005  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30006    for ac_func in fpclass
30007do :
30008  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30009if test "x$ac_cv_func_fpclass" = xyes; then :
30010  cat >>confdefs.h <<_ACEOF
30011#define HAVE_FPCLASS 1
30012_ACEOF
30013
30014fi
30015done
30016
30017  else
30018
30019  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30020$as_echo_n "checking for _fpclass declaration... " >&6; }
30021  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30022    if ${glibcxx_cv_func__fpclass_use+:} false; then :
30023  $as_echo_n "(cached) " >&6
30024else
30025
30026
30027      ac_ext=cpp
30028ac_cpp='$CXXCPP $CPPFLAGS'
30029ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30032
30033      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30034/* end confdefs.h.  */
30035#include <math.h>
30036		      #ifdef HAVE_IEEEFP_H
30037		      #include <ieeefp.h>
30038		      #endif
30039
30040int
30041main ()
30042{
30043 _fpclass(0);
30044  ;
30045  return 0;
30046}
30047_ACEOF
30048if ac_fn_cxx_try_compile "$LINENO"; then :
30049  glibcxx_cv_func__fpclass_use=yes
30050else
30051  glibcxx_cv_func__fpclass_use=no
30052fi
30053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30054      ac_ext=c
30055ac_cpp='$CPP $CPPFLAGS'
30056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058ac_compiler_gnu=$ac_cv_c_compiler_gnu
30059
30060
30061fi
30062
30063  fi
30064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30065$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30066
30067    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30068      for ac_func in _fpclass
30069do :
30070  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30071if test "x$ac_cv_func__fpclass" = xyes; then :
30072  cat >>confdefs.h <<_ACEOF
30073#define HAVE__FPCLASS 1
30074_ACEOF
30075
30076fi
30077done
30078
30079    fi
30080  fi
30081
30082
30083
30084
30085
30086  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30087$as_echo_n "checking for qfpclass declaration... " >&6; }
30088  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30089    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30090  $as_echo_n "(cached) " >&6
30091else
30092
30093
30094      ac_ext=cpp
30095ac_cpp='$CXXCPP $CPPFLAGS'
30096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30099
30100      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30101/* end confdefs.h.  */
30102#include <math.h>
30103		      #ifdef HAVE_IEEEFP_H
30104		      #include <ieeefp.h>
30105		      #endif
30106
30107int
30108main ()
30109{
30110 qfpclass(0);
30111  ;
30112  return 0;
30113}
30114_ACEOF
30115if ac_fn_cxx_try_compile "$LINENO"; then :
30116  glibcxx_cv_func_qfpclass_use=yes
30117else
30118  glibcxx_cv_func_qfpclass_use=no
30119fi
30120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30121      ac_ext=c
30122ac_cpp='$CPP $CPPFLAGS'
30123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30125ac_compiler_gnu=$ac_cv_c_compiler_gnu
30126
30127
30128fi
30129
30130  fi
30131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30132$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30133
30134  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30135    for ac_func in qfpclass
30136do :
30137  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30138if test "x$ac_cv_func_qfpclass" = xyes; then :
30139  cat >>confdefs.h <<_ACEOF
30140#define HAVE_QFPCLASS 1
30141_ACEOF
30142
30143fi
30144done
30145
30146  else
30147
30148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30149$as_echo_n "checking for _qfpclass declaration... " >&6; }
30150  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30151    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30152  $as_echo_n "(cached) " >&6
30153else
30154
30155
30156      ac_ext=cpp
30157ac_cpp='$CXXCPP $CPPFLAGS'
30158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30161
30162      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30163/* end confdefs.h.  */
30164#include <math.h>
30165		      #ifdef HAVE_IEEEFP_H
30166		      #include <ieeefp.h>
30167		      #endif
30168
30169int
30170main ()
30171{
30172 _qfpclass(0);
30173  ;
30174  return 0;
30175}
30176_ACEOF
30177if ac_fn_cxx_try_compile "$LINENO"; then :
30178  glibcxx_cv_func__qfpclass_use=yes
30179else
30180  glibcxx_cv_func__qfpclass_use=no
30181fi
30182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30183      ac_ext=c
30184ac_cpp='$CPP $CPPFLAGS'
30185ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187ac_compiler_gnu=$ac_cv_c_compiler_gnu
30188
30189
30190fi
30191
30192  fi
30193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30194$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30195
30196    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30197      for ac_func in _qfpclass
30198do :
30199  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30200if test "x$ac_cv_func__qfpclass" = xyes; then :
30201  cat >>confdefs.h <<_ACEOF
30202#define HAVE__QFPCLASS 1
30203_ACEOF
30204
30205fi
30206done
30207
30208    fi
30209  fi
30210
30211
30212
30213
30214
30215  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30216$as_echo_n "checking for hypot declaration... " >&6; }
30217  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30218    if ${glibcxx_cv_func_hypot_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>
30232int
30233main ()
30234{
30235 hypot(0, 0);
30236  ;
30237  return 0;
30238}
30239_ACEOF
30240if ac_fn_cxx_try_compile "$LINENO"; then :
30241  glibcxx_cv_func_hypot_use=yes
30242else
30243  glibcxx_cv_func_hypot_use=no
30244fi
30245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30246      ac_ext=c
30247ac_cpp='$CPP $CPPFLAGS'
30248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30250ac_compiler_gnu=$ac_cv_c_compiler_gnu
30251
30252
30253fi
30254
30255  fi
30256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30257$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30258
30259  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30260    for ac_func in hypot
30261do :
30262  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30263if test "x$ac_cv_func_hypot" = xyes; then :
30264  cat >>confdefs.h <<_ACEOF
30265#define HAVE_HYPOT 1
30266_ACEOF
30267
30268fi
30269done
30270
30271  else
30272
30273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30274$as_echo_n "checking for _hypot declaration... " >&6; }
30275  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30276    if ${glibcxx_cv_func__hypot_use+:} false; then :
30277  $as_echo_n "(cached) " >&6
30278else
30279
30280
30281      ac_ext=cpp
30282ac_cpp='$CXXCPP $CPPFLAGS'
30283ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30284ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30285ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30286
30287      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30288/* end confdefs.h.  */
30289#include <math.h>
30290int
30291main ()
30292{
30293 _hypot(0, 0);
30294  ;
30295  return 0;
30296}
30297_ACEOF
30298if ac_fn_cxx_try_compile "$LINENO"; then :
30299  glibcxx_cv_func__hypot_use=yes
30300else
30301  glibcxx_cv_func__hypot_use=no
30302fi
30303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30304      ac_ext=c
30305ac_cpp='$CPP $CPPFLAGS'
30306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308ac_compiler_gnu=$ac_cv_c_compiler_gnu
30309
30310
30311fi
30312
30313  fi
30314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30315$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30316
30317    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30318      for ac_func in _hypot
30319do :
30320  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30321if test "x$ac_cv_func__hypot" = xyes; then :
30322  cat >>confdefs.h <<_ACEOF
30323#define HAVE__HYPOT 1
30324_ACEOF
30325
30326fi
30327done
30328
30329    fi
30330  fi
30331
30332
30333
30334
30335
30336    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30337$as_echo_n "checking for float trig functions... " >&6; }
30338  if ${glibcxx_cv_func_float_trig_use+:} false; then :
30339  $as_echo_n "(cached) " >&6
30340else
30341
30342
30343    ac_ext=cpp
30344ac_cpp='$CXXCPP $CPPFLAGS'
30345ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30346ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30347ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30348
30349    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30350/* end confdefs.h.  */
30351#include <math.h>
30352int
30353main ()
30354{
30355acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30356  ;
30357  return 0;
30358}
30359_ACEOF
30360if ac_fn_cxx_try_compile "$LINENO"; then :
30361  glibcxx_cv_func_float_trig_use=yes
30362else
30363  glibcxx_cv_func_float_trig_use=no
30364fi
30365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30366    ac_ext=c
30367ac_cpp='$CPP $CPPFLAGS'
30368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30370ac_compiler_gnu=$ac_cv_c_compiler_gnu
30371
30372fi
30373
30374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30375$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30376  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30377    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30378do :
30379  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30380ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30381if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30382  cat >>confdefs.h <<_ACEOF
30383#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30384_ACEOF
30385
30386fi
30387done
30388
30389  else
30390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30391$as_echo_n "checking for _float trig functions... " >&6; }
30392    if ${glibcxx_cv_func__float_trig_use+:} false; then :
30393  $as_echo_n "(cached) " >&6
30394else
30395
30396
30397      ac_ext=cpp
30398ac_cpp='$CXXCPP $CPPFLAGS'
30399ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30400ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30401ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30402
30403      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30404/* end confdefs.h.  */
30405#include <math.h>
30406int
30407main ()
30408{
30409_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30410  ;
30411  return 0;
30412}
30413_ACEOF
30414if ac_fn_cxx_try_compile "$LINENO"; then :
30415  glibcxx_cv_func__float_trig_use=yes
30416else
30417  glibcxx_cv_func__float_trig_use=no
30418fi
30419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30420      ac_ext=c
30421ac_cpp='$CPP $CPPFLAGS'
30422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30424ac_compiler_gnu=$ac_cv_c_compiler_gnu
30425
30426fi
30427
30428    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30429$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30430    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30431      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30432do :
30433  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30434ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30435if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30436  cat >>confdefs.h <<_ACEOF
30437#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30438_ACEOF
30439
30440fi
30441done
30442
30443    fi
30444  fi
30445
30446
30447
30448
30449
30450    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30451$as_echo_n "checking for float round functions... " >&6; }
30452  if ${glibcxx_cv_func_float_round_use+:} false; then :
30453  $as_echo_n "(cached) " >&6
30454else
30455
30456
30457    ac_ext=cpp
30458ac_cpp='$CXXCPP $CPPFLAGS'
30459ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30462
30463    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30464/* end confdefs.h.  */
30465#include <math.h>
30466int
30467main ()
30468{
30469ceilf (0); floorf (0);
30470  ;
30471  return 0;
30472}
30473_ACEOF
30474if ac_fn_cxx_try_compile "$LINENO"; then :
30475  glibcxx_cv_func_float_round_use=yes
30476else
30477  glibcxx_cv_func_float_round_use=no
30478fi
30479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30480    ac_ext=c
30481ac_cpp='$CPP $CPPFLAGS'
30482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484ac_compiler_gnu=$ac_cv_c_compiler_gnu
30485
30486fi
30487
30488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30489$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30490  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30491    for ac_func in ceilf floorf
30492do :
30493  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30494ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30495if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30496  cat >>confdefs.h <<_ACEOF
30497#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30498_ACEOF
30499
30500fi
30501done
30502
30503  else
30504    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30505$as_echo_n "checking for _float round functions... " >&6; }
30506    if ${glibcxx_cv_func__float_round_use+:} false; then :
30507  $as_echo_n "(cached) " >&6
30508else
30509
30510
30511      ac_ext=cpp
30512ac_cpp='$CXXCPP $CPPFLAGS'
30513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30516
30517      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30518/* end confdefs.h.  */
30519#include <math.h>
30520int
30521main ()
30522{
30523_ceilf (0); _floorf (0);
30524  ;
30525  return 0;
30526}
30527_ACEOF
30528if ac_fn_cxx_try_compile "$LINENO"; then :
30529  glibcxx_cv_func__float_round_use=yes
30530else
30531  glibcxx_cv_func__float_round_use=no
30532fi
30533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30534      ac_ext=c
30535ac_cpp='$CPP $CPPFLAGS'
30536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30538ac_compiler_gnu=$ac_cv_c_compiler_gnu
30539
30540fi
30541
30542    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30543$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30544    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30545      for ac_func in _ceilf _floorf
30546do :
30547  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30548ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30549if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30550  cat >>confdefs.h <<_ACEOF
30551#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30552_ACEOF
30553
30554fi
30555done
30556
30557    fi
30558  fi
30559
30560
30561
30562
30563
30564
30565  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30566$as_echo_n "checking for expf declaration... " >&6; }
30567  if test x${glibcxx_cv_func_expf_use+set} != xset; then
30568    if ${glibcxx_cv_func_expf_use+:} false; then :
30569  $as_echo_n "(cached) " >&6
30570else
30571
30572
30573      ac_ext=cpp
30574ac_cpp='$CXXCPP $CPPFLAGS'
30575ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30576ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30577ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30578
30579      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30580/* end confdefs.h.  */
30581#include <math.h>
30582		      #ifdef HAVE_IEEEFP_H
30583		      #include <ieeefp.h>
30584		      #endif
30585
30586int
30587main ()
30588{
30589 expf(0);
30590  ;
30591  return 0;
30592}
30593_ACEOF
30594if ac_fn_cxx_try_compile "$LINENO"; then :
30595  glibcxx_cv_func_expf_use=yes
30596else
30597  glibcxx_cv_func_expf_use=no
30598fi
30599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30600      ac_ext=c
30601ac_cpp='$CPP $CPPFLAGS'
30602ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30603ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30604ac_compiler_gnu=$ac_cv_c_compiler_gnu
30605
30606
30607fi
30608
30609  fi
30610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30611$as_echo "$glibcxx_cv_func_expf_use" >&6; }
30612
30613  if test x$glibcxx_cv_func_expf_use = x"yes"; then
30614    for ac_func in expf
30615do :
30616  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30617if test "x$ac_cv_func_expf" = xyes; then :
30618  cat >>confdefs.h <<_ACEOF
30619#define HAVE_EXPF 1
30620_ACEOF
30621
30622fi
30623done
30624
30625  else
30626
30627  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30628$as_echo_n "checking for _expf declaration... " >&6; }
30629  if test x${glibcxx_cv_func__expf_use+set} != xset; then
30630    if ${glibcxx_cv_func__expf_use+:} false; then :
30631  $as_echo_n "(cached) " >&6
30632else
30633
30634
30635      ac_ext=cpp
30636ac_cpp='$CXXCPP $CPPFLAGS'
30637ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30638ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30639ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30640
30641      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30642/* end confdefs.h.  */
30643#include <math.h>
30644		      #ifdef HAVE_IEEEFP_H
30645		      #include <ieeefp.h>
30646		      #endif
30647
30648int
30649main ()
30650{
30651 _expf(0);
30652  ;
30653  return 0;
30654}
30655_ACEOF
30656if ac_fn_cxx_try_compile "$LINENO"; then :
30657  glibcxx_cv_func__expf_use=yes
30658else
30659  glibcxx_cv_func__expf_use=no
30660fi
30661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30662      ac_ext=c
30663ac_cpp='$CPP $CPPFLAGS'
30664ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30665ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30666ac_compiler_gnu=$ac_cv_c_compiler_gnu
30667
30668
30669fi
30670
30671  fi
30672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30673$as_echo "$glibcxx_cv_func__expf_use" >&6; }
30674
30675    if test x$glibcxx_cv_func__expf_use = x"yes"; then
30676      for ac_func in _expf
30677do :
30678  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30679if test "x$ac_cv_func__expf" = xyes; then :
30680  cat >>confdefs.h <<_ACEOF
30681#define HAVE__EXPF 1
30682_ACEOF
30683
30684fi
30685done
30686
30687    fi
30688  fi
30689
30690
30691
30692
30693
30694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30695$as_echo_n "checking for isnanf declaration... " >&6; }
30696  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30697    if ${glibcxx_cv_func_isnanf_use+:} false; then :
30698  $as_echo_n "(cached) " >&6
30699else
30700
30701
30702      ac_ext=cpp
30703ac_cpp='$CXXCPP $CPPFLAGS'
30704ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30707
30708      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30709/* end confdefs.h.  */
30710#include <math.h>
30711		      #ifdef HAVE_IEEEFP_H
30712		      #include <ieeefp.h>
30713		      #endif
30714
30715int
30716main ()
30717{
30718 isnanf(0);
30719  ;
30720  return 0;
30721}
30722_ACEOF
30723if ac_fn_cxx_try_compile "$LINENO"; then :
30724  glibcxx_cv_func_isnanf_use=yes
30725else
30726  glibcxx_cv_func_isnanf_use=no
30727fi
30728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30729      ac_ext=c
30730ac_cpp='$CPP $CPPFLAGS'
30731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30733ac_compiler_gnu=$ac_cv_c_compiler_gnu
30734
30735
30736fi
30737
30738  fi
30739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30740$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30741
30742  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30743    for ac_func in isnanf
30744do :
30745  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30746if test "x$ac_cv_func_isnanf" = xyes; then :
30747  cat >>confdefs.h <<_ACEOF
30748#define HAVE_ISNANF 1
30749_ACEOF
30750
30751fi
30752done
30753
30754  else
30755
30756  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30757$as_echo_n "checking for _isnanf declaration... " >&6; }
30758  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30759    if ${glibcxx_cv_func__isnanf_use+:} false; then :
30760  $as_echo_n "(cached) " >&6
30761else
30762
30763
30764      ac_ext=cpp
30765ac_cpp='$CXXCPP $CPPFLAGS'
30766ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30769
30770      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30771/* end confdefs.h.  */
30772#include <math.h>
30773		      #ifdef HAVE_IEEEFP_H
30774		      #include <ieeefp.h>
30775		      #endif
30776
30777int
30778main ()
30779{
30780 _isnanf(0);
30781  ;
30782  return 0;
30783}
30784_ACEOF
30785if ac_fn_cxx_try_compile "$LINENO"; then :
30786  glibcxx_cv_func__isnanf_use=yes
30787else
30788  glibcxx_cv_func__isnanf_use=no
30789fi
30790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30791      ac_ext=c
30792ac_cpp='$CPP $CPPFLAGS'
30793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30795ac_compiler_gnu=$ac_cv_c_compiler_gnu
30796
30797
30798fi
30799
30800  fi
30801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30802$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30803
30804    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30805      for ac_func in _isnanf
30806do :
30807  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30808if test "x$ac_cv_func__isnanf" = xyes; then :
30809  cat >>confdefs.h <<_ACEOF
30810#define HAVE__ISNANF 1
30811_ACEOF
30812
30813fi
30814done
30815
30816    fi
30817  fi
30818
30819
30820
30821
30822
30823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30824$as_echo_n "checking for isinff declaration... " >&6; }
30825  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30826    if ${glibcxx_cv_func_isinff_use+:} false; then :
30827  $as_echo_n "(cached) " >&6
30828else
30829
30830
30831      ac_ext=cpp
30832ac_cpp='$CXXCPP $CPPFLAGS'
30833ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30834ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30835ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30836
30837      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30838/* end confdefs.h.  */
30839#include <math.h>
30840		      #ifdef HAVE_IEEEFP_H
30841		      #include <ieeefp.h>
30842		      #endif
30843
30844int
30845main ()
30846{
30847 isinff(0);
30848  ;
30849  return 0;
30850}
30851_ACEOF
30852if ac_fn_cxx_try_compile "$LINENO"; then :
30853  glibcxx_cv_func_isinff_use=yes
30854else
30855  glibcxx_cv_func_isinff_use=no
30856fi
30857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30858      ac_ext=c
30859ac_cpp='$CPP $CPPFLAGS'
30860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862ac_compiler_gnu=$ac_cv_c_compiler_gnu
30863
30864
30865fi
30866
30867  fi
30868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30869$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30870
30871  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30872    for ac_func in isinff
30873do :
30874  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30875if test "x$ac_cv_func_isinff" = xyes; then :
30876  cat >>confdefs.h <<_ACEOF
30877#define HAVE_ISINFF 1
30878_ACEOF
30879
30880fi
30881done
30882
30883  else
30884
30885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30886$as_echo_n "checking for _isinff declaration... " >&6; }
30887  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30888    if ${glibcxx_cv_func__isinff_use+:} false; then :
30889  $as_echo_n "(cached) " >&6
30890else
30891
30892
30893      ac_ext=cpp
30894ac_cpp='$CXXCPP $CPPFLAGS'
30895ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30898
30899      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30900/* end confdefs.h.  */
30901#include <math.h>
30902		      #ifdef HAVE_IEEEFP_H
30903		      #include <ieeefp.h>
30904		      #endif
30905
30906int
30907main ()
30908{
30909 _isinff(0);
30910  ;
30911  return 0;
30912}
30913_ACEOF
30914if ac_fn_cxx_try_compile "$LINENO"; then :
30915  glibcxx_cv_func__isinff_use=yes
30916else
30917  glibcxx_cv_func__isinff_use=no
30918fi
30919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30920      ac_ext=c
30921ac_cpp='$CPP $CPPFLAGS'
30922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30924ac_compiler_gnu=$ac_cv_c_compiler_gnu
30925
30926
30927fi
30928
30929  fi
30930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30931$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30932
30933    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30934      for ac_func in _isinff
30935do :
30936  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30937if test "x$ac_cv_func__isinff" = xyes; then :
30938  cat >>confdefs.h <<_ACEOF
30939#define HAVE__ISINFF 1
30940_ACEOF
30941
30942fi
30943done
30944
30945    fi
30946  fi
30947
30948
30949
30950
30951
30952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30953$as_echo_n "checking for atan2f declaration... " >&6; }
30954  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30955    if ${glibcxx_cv_func_atan2f_use+:} false; then :
30956  $as_echo_n "(cached) " >&6
30957else
30958
30959
30960      ac_ext=cpp
30961ac_cpp='$CXXCPP $CPPFLAGS'
30962ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30963ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30964ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30965
30966      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30967/* end confdefs.h.  */
30968#include <math.h>
30969int
30970main ()
30971{
30972 atan2f(0, 0);
30973  ;
30974  return 0;
30975}
30976_ACEOF
30977if ac_fn_cxx_try_compile "$LINENO"; then :
30978  glibcxx_cv_func_atan2f_use=yes
30979else
30980  glibcxx_cv_func_atan2f_use=no
30981fi
30982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30983      ac_ext=c
30984ac_cpp='$CPP $CPPFLAGS'
30985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987ac_compiler_gnu=$ac_cv_c_compiler_gnu
30988
30989
30990fi
30991
30992  fi
30993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30994$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30995
30996  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30997    for ac_func in atan2f
30998do :
30999  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31000if test "x$ac_cv_func_atan2f" = xyes; then :
31001  cat >>confdefs.h <<_ACEOF
31002#define HAVE_ATAN2F 1
31003_ACEOF
31004
31005fi
31006done
31007
31008  else
31009
31010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31011$as_echo_n "checking for _atan2f declaration... " >&6; }
31012  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31013    if ${glibcxx_cv_func__atan2f_use+:} false; then :
31014  $as_echo_n "(cached) " >&6
31015else
31016
31017
31018      ac_ext=cpp
31019ac_cpp='$CXXCPP $CPPFLAGS'
31020ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31021ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31022ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31023
31024      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31025/* end confdefs.h.  */
31026#include <math.h>
31027int
31028main ()
31029{
31030 _atan2f(0, 0);
31031  ;
31032  return 0;
31033}
31034_ACEOF
31035if ac_fn_cxx_try_compile "$LINENO"; then :
31036  glibcxx_cv_func__atan2f_use=yes
31037else
31038  glibcxx_cv_func__atan2f_use=no
31039fi
31040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31041      ac_ext=c
31042ac_cpp='$CPP $CPPFLAGS'
31043ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31044ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31045ac_compiler_gnu=$ac_cv_c_compiler_gnu
31046
31047
31048fi
31049
31050  fi
31051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31052$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31053
31054    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31055      for ac_func in _atan2f
31056do :
31057  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31058if test "x$ac_cv_func__atan2f" = xyes; then :
31059  cat >>confdefs.h <<_ACEOF
31060#define HAVE__ATAN2F 1
31061_ACEOF
31062
31063fi
31064done
31065
31066    fi
31067  fi
31068
31069
31070
31071
31072
31073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31074$as_echo_n "checking for fabsf declaration... " >&6; }
31075  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31076    if ${glibcxx_cv_func_fabsf_use+:} false; then :
31077  $as_echo_n "(cached) " >&6
31078else
31079
31080
31081      ac_ext=cpp
31082ac_cpp='$CXXCPP $CPPFLAGS'
31083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31086
31087      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31088/* end confdefs.h.  */
31089#include <math.h>
31090		      #ifdef HAVE_IEEEFP_H
31091		      #include <ieeefp.h>
31092		      #endif
31093
31094int
31095main ()
31096{
31097 fabsf(0);
31098  ;
31099  return 0;
31100}
31101_ACEOF
31102if ac_fn_cxx_try_compile "$LINENO"; then :
31103  glibcxx_cv_func_fabsf_use=yes
31104else
31105  glibcxx_cv_func_fabsf_use=no
31106fi
31107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31108      ac_ext=c
31109ac_cpp='$CPP $CPPFLAGS'
31110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31112ac_compiler_gnu=$ac_cv_c_compiler_gnu
31113
31114
31115fi
31116
31117  fi
31118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31119$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31120
31121  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31122    for ac_func in fabsf
31123do :
31124  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31125if test "x$ac_cv_func_fabsf" = xyes; then :
31126  cat >>confdefs.h <<_ACEOF
31127#define HAVE_FABSF 1
31128_ACEOF
31129
31130fi
31131done
31132
31133  else
31134
31135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31136$as_echo_n "checking for _fabsf declaration... " >&6; }
31137  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31138    if ${glibcxx_cv_func__fabsf_use+:} false; then :
31139  $as_echo_n "(cached) " >&6
31140else
31141
31142
31143      ac_ext=cpp
31144ac_cpp='$CXXCPP $CPPFLAGS'
31145ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31146ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31147ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31148
31149      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31150/* end confdefs.h.  */
31151#include <math.h>
31152		      #ifdef HAVE_IEEEFP_H
31153		      #include <ieeefp.h>
31154		      #endif
31155
31156int
31157main ()
31158{
31159 _fabsf(0);
31160  ;
31161  return 0;
31162}
31163_ACEOF
31164if ac_fn_cxx_try_compile "$LINENO"; then :
31165  glibcxx_cv_func__fabsf_use=yes
31166else
31167  glibcxx_cv_func__fabsf_use=no
31168fi
31169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31170      ac_ext=c
31171ac_cpp='$CPP $CPPFLAGS'
31172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31174ac_compiler_gnu=$ac_cv_c_compiler_gnu
31175
31176
31177fi
31178
31179  fi
31180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31181$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31182
31183    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31184      for ac_func in _fabsf
31185do :
31186  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31187if test "x$ac_cv_func__fabsf" = xyes; then :
31188  cat >>confdefs.h <<_ACEOF
31189#define HAVE__FABSF 1
31190_ACEOF
31191
31192fi
31193done
31194
31195    fi
31196  fi
31197
31198
31199
31200
31201
31202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31203$as_echo_n "checking for fmodf declaration... " >&6; }
31204  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31205    if ${glibcxx_cv_func_fmodf_use+:} false; then :
31206  $as_echo_n "(cached) " >&6
31207else
31208
31209
31210      ac_ext=cpp
31211ac_cpp='$CXXCPP $CPPFLAGS'
31212ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31213ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31214ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31215
31216      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31217/* end confdefs.h.  */
31218#include <math.h>
31219int
31220main ()
31221{
31222 fmodf(0, 0);
31223  ;
31224  return 0;
31225}
31226_ACEOF
31227if ac_fn_cxx_try_compile "$LINENO"; then :
31228  glibcxx_cv_func_fmodf_use=yes
31229else
31230  glibcxx_cv_func_fmodf_use=no
31231fi
31232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31233      ac_ext=c
31234ac_cpp='$CPP $CPPFLAGS'
31235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237ac_compiler_gnu=$ac_cv_c_compiler_gnu
31238
31239
31240fi
31241
31242  fi
31243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31244$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31245
31246  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31247    for ac_func in fmodf
31248do :
31249  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31250if test "x$ac_cv_func_fmodf" = xyes; then :
31251  cat >>confdefs.h <<_ACEOF
31252#define HAVE_FMODF 1
31253_ACEOF
31254
31255fi
31256done
31257
31258  else
31259
31260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31261$as_echo_n "checking for _fmodf declaration... " >&6; }
31262  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31263    if ${glibcxx_cv_func__fmodf_use+:} false; then :
31264  $as_echo_n "(cached) " >&6
31265else
31266
31267
31268      ac_ext=cpp
31269ac_cpp='$CXXCPP $CPPFLAGS'
31270ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31271ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31272ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31273
31274      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31275/* end confdefs.h.  */
31276#include <math.h>
31277int
31278main ()
31279{
31280 _fmodf(0, 0);
31281  ;
31282  return 0;
31283}
31284_ACEOF
31285if ac_fn_cxx_try_compile "$LINENO"; then :
31286  glibcxx_cv_func__fmodf_use=yes
31287else
31288  glibcxx_cv_func__fmodf_use=no
31289fi
31290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31291      ac_ext=c
31292ac_cpp='$CPP $CPPFLAGS'
31293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31295ac_compiler_gnu=$ac_cv_c_compiler_gnu
31296
31297
31298fi
31299
31300  fi
31301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31302$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31303
31304    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31305      for ac_func in _fmodf
31306do :
31307  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31308if test "x$ac_cv_func__fmodf" = xyes; then :
31309  cat >>confdefs.h <<_ACEOF
31310#define HAVE__FMODF 1
31311_ACEOF
31312
31313fi
31314done
31315
31316    fi
31317  fi
31318
31319
31320
31321
31322
31323  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31324$as_echo_n "checking for frexpf declaration... " >&6; }
31325  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31326    if ${glibcxx_cv_func_frexpf_use+:} false; then :
31327  $as_echo_n "(cached) " >&6
31328else
31329
31330
31331      ac_ext=cpp
31332ac_cpp='$CXXCPP $CPPFLAGS'
31333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31336
31337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31338/* end confdefs.h.  */
31339#include <math.h>
31340int
31341main ()
31342{
31343 frexpf(0, 0);
31344  ;
31345  return 0;
31346}
31347_ACEOF
31348if ac_fn_cxx_try_compile "$LINENO"; then :
31349  glibcxx_cv_func_frexpf_use=yes
31350else
31351  glibcxx_cv_func_frexpf_use=no
31352fi
31353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31354      ac_ext=c
31355ac_cpp='$CPP $CPPFLAGS'
31356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358ac_compiler_gnu=$ac_cv_c_compiler_gnu
31359
31360
31361fi
31362
31363  fi
31364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31365$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31366
31367  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31368    for ac_func in frexpf
31369do :
31370  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31371if test "x$ac_cv_func_frexpf" = xyes; then :
31372  cat >>confdefs.h <<_ACEOF
31373#define HAVE_FREXPF 1
31374_ACEOF
31375
31376fi
31377done
31378
31379  else
31380
31381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31382$as_echo_n "checking for _frexpf declaration... " >&6; }
31383  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31384    if ${glibcxx_cv_func__frexpf_use+:} false; then :
31385  $as_echo_n "(cached) " >&6
31386else
31387
31388
31389      ac_ext=cpp
31390ac_cpp='$CXXCPP $CPPFLAGS'
31391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31394
31395      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31396/* end confdefs.h.  */
31397#include <math.h>
31398int
31399main ()
31400{
31401 _frexpf(0, 0);
31402  ;
31403  return 0;
31404}
31405_ACEOF
31406if ac_fn_cxx_try_compile "$LINENO"; then :
31407  glibcxx_cv_func__frexpf_use=yes
31408else
31409  glibcxx_cv_func__frexpf_use=no
31410fi
31411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31412      ac_ext=c
31413ac_cpp='$CPP $CPPFLAGS'
31414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31416ac_compiler_gnu=$ac_cv_c_compiler_gnu
31417
31418
31419fi
31420
31421  fi
31422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31423$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31424
31425    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31426      for ac_func in _frexpf
31427do :
31428  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31429if test "x$ac_cv_func__frexpf" = xyes; then :
31430  cat >>confdefs.h <<_ACEOF
31431#define HAVE__FREXPF 1
31432_ACEOF
31433
31434fi
31435done
31436
31437    fi
31438  fi
31439
31440
31441
31442
31443
31444  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31445$as_echo_n "checking for hypotf declaration... " >&6; }
31446  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31447    if ${glibcxx_cv_func_hypotf_use+:} false; then :
31448  $as_echo_n "(cached) " >&6
31449else
31450
31451
31452      ac_ext=cpp
31453ac_cpp='$CXXCPP $CPPFLAGS'
31454ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31455ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31456ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31457
31458      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31459/* end confdefs.h.  */
31460#include <math.h>
31461int
31462main ()
31463{
31464 hypotf(0, 0);
31465  ;
31466  return 0;
31467}
31468_ACEOF
31469if ac_fn_cxx_try_compile "$LINENO"; then :
31470  glibcxx_cv_func_hypotf_use=yes
31471else
31472  glibcxx_cv_func_hypotf_use=no
31473fi
31474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31475      ac_ext=c
31476ac_cpp='$CPP $CPPFLAGS'
31477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479ac_compiler_gnu=$ac_cv_c_compiler_gnu
31480
31481
31482fi
31483
31484  fi
31485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31486$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31487
31488  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31489    for ac_func in hypotf
31490do :
31491  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31492if test "x$ac_cv_func_hypotf" = xyes; then :
31493  cat >>confdefs.h <<_ACEOF
31494#define HAVE_HYPOTF 1
31495_ACEOF
31496
31497fi
31498done
31499
31500  else
31501
31502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31503$as_echo_n "checking for _hypotf declaration... " >&6; }
31504  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31505    if ${glibcxx_cv_func__hypotf_use+:} false; then :
31506  $as_echo_n "(cached) " >&6
31507else
31508
31509
31510      ac_ext=cpp
31511ac_cpp='$CXXCPP $CPPFLAGS'
31512ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31513ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31514ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31515
31516      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31517/* end confdefs.h.  */
31518#include <math.h>
31519int
31520main ()
31521{
31522 _hypotf(0, 0);
31523  ;
31524  return 0;
31525}
31526_ACEOF
31527if ac_fn_cxx_try_compile "$LINENO"; then :
31528  glibcxx_cv_func__hypotf_use=yes
31529else
31530  glibcxx_cv_func__hypotf_use=no
31531fi
31532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31533      ac_ext=c
31534ac_cpp='$CPP $CPPFLAGS'
31535ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31536ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31537ac_compiler_gnu=$ac_cv_c_compiler_gnu
31538
31539
31540fi
31541
31542  fi
31543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31544$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31545
31546    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31547      for ac_func in _hypotf
31548do :
31549  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31550if test "x$ac_cv_func__hypotf" = xyes; then :
31551  cat >>confdefs.h <<_ACEOF
31552#define HAVE__HYPOTF 1
31553_ACEOF
31554
31555fi
31556done
31557
31558    fi
31559  fi
31560
31561
31562
31563
31564
31565  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31566$as_echo_n "checking for ldexpf declaration... " >&6; }
31567  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31568    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31569  $as_echo_n "(cached) " >&6
31570else
31571
31572
31573      ac_ext=cpp
31574ac_cpp='$CXXCPP $CPPFLAGS'
31575ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31576ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31577ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31578
31579      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31580/* end confdefs.h.  */
31581#include <math.h>
31582int
31583main ()
31584{
31585 ldexpf(0, 0);
31586  ;
31587  return 0;
31588}
31589_ACEOF
31590if ac_fn_cxx_try_compile "$LINENO"; then :
31591  glibcxx_cv_func_ldexpf_use=yes
31592else
31593  glibcxx_cv_func_ldexpf_use=no
31594fi
31595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31596      ac_ext=c
31597ac_cpp='$CPP $CPPFLAGS'
31598ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600ac_compiler_gnu=$ac_cv_c_compiler_gnu
31601
31602
31603fi
31604
31605  fi
31606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31607$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31608
31609  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31610    for ac_func in ldexpf
31611do :
31612  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31613if test "x$ac_cv_func_ldexpf" = xyes; then :
31614  cat >>confdefs.h <<_ACEOF
31615#define HAVE_LDEXPF 1
31616_ACEOF
31617
31618fi
31619done
31620
31621  else
31622
31623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31624$as_echo_n "checking for _ldexpf declaration... " >&6; }
31625  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31626    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31627  $as_echo_n "(cached) " >&6
31628else
31629
31630
31631      ac_ext=cpp
31632ac_cpp='$CXXCPP $CPPFLAGS'
31633ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31636
31637      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31638/* end confdefs.h.  */
31639#include <math.h>
31640int
31641main ()
31642{
31643 _ldexpf(0, 0);
31644  ;
31645  return 0;
31646}
31647_ACEOF
31648if ac_fn_cxx_try_compile "$LINENO"; then :
31649  glibcxx_cv_func__ldexpf_use=yes
31650else
31651  glibcxx_cv_func__ldexpf_use=no
31652fi
31653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31654      ac_ext=c
31655ac_cpp='$CPP $CPPFLAGS'
31656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31658ac_compiler_gnu=$ac_cv_c_compiler_gnu
31659
31660
31661fi
31662
31663  fi
31664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31665$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31666
31667    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31668      for ac_func in _ldexpf
31669do :
31670  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31671if test "x$ac_cv_func__ldexpf" = xyes; then :
31672  cat >>confdefs.h <<_ACEOF
31673#define HAVE__LDEXPF 1
31674_ACEOF
31675
31676fi
31677done
31678
31679    fi
31680  fi
31681
31682
31683
31684
31685
31686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31687$as_echo_n "checking for logf declaration... " >&6; }
31688  if test x${glibcxx_cv_func_logf_use+set} != xset; then
31689    if ${glibcxx_cv_func_logf_use+:} false; then :
31690  $as_echo_n "(cached) " >&6
31691else
31692
31693
31694      ac_ext=cpp
31695ac_cpp='$CXXCPP $CPPFLAGS'
31696ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31697ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31698ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31699
31700      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31701/* end confdefs.h.  */
31702#include <math.h>
31703		      #ifdef HAVE_IEEEFP_H
31704		      #include <ieeefp.h>
31705		      #endif
31706
31707int
31708main ()
31709{
31710 logf(0);
31711  ;
31712  return 0;
31713}
31714_ACEOF
31715if ac_fn_cxx_try_compile "$LINENO"; then :
31716  glibcxx_cv_func_logf_use=yes
31717else
31718  glibcxx_cv_func_logf_use=no
31719fi
31720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31721      ac_ext=c
31722ac_cpp='$CPP $CPPFLAGS'
31723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725ac_compiler_gnu=$ac_cv_c_compiler_gnu
31726
31727
31728fi
31729
31730  fi
31731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31732$as_echo "$glibcxx_cv_func_logf_use" >&6; }
31733
31734  if test x$glibcxx_cv_func_logf_use = x"yes"; then
31735    for ac_func in logf
31736do :
31737  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31738if test "x$ac_cv_func_logf" = xyes; then :
31739  cat >>confdefs.h <<_ACEOF
31740#define HAVE_LOGF 1
31741_ACEOF
31742
31743fi
31744done
31745
31746  else
31747
31748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31749$as_echo_n "checking for _logf declaration... " >&6; }
31750  if test x${glibcxx_cv_func__logf_use+set} != xset; then
31751    if ${glibcxx_cv_func__logf_use+:} false; then :
31752  $as_echo_n "(cached) " >&6
31753else
31754
31755
31756      ac_ext=cpp
31757ac_cpp='$CXXCPP $CPPFLAGS'
31758ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31759ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31760ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31761
31762      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31763/* end confdefs.h.  */
31764#include <math.h>
31765		      #ifdef HAVE_IEEEFP_H
31766		      #include <ieeefp.h>
31767		      #endif
31768
31769int
31770main ()
31771{
31772 _logf(0);
31773  ;
31774  return 0;
31775}
31776_ACEOF
31777if ac_fn_cxx_try_compile "$LINENO"; then :
31778  glibcxx_cv_func__logf_use=yes
31779else
31780  glibcxx_cv_func__logf_use=no
31781fi
31782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31783      ac_ext=c
31784ac_cpp='$CPP $CPPFLAGS'
31785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31787ac_compiler_gnu=$ac_cv_c_compiler_gnu
31788
31789
31790fi
31791
31792  fi
31793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31794$as_echo "$glibcxx_cv_func__logf_use" >&6; }
31795
31796    if test x$glibcxx_cv_func__logf_use = x"yes"; then
31797      for ac_func in _logf
31798do :
31799  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31800if test "x$ac_cv_func__logf" = xyes; then :
31801  cat >>confdefs.h <<_ACEOF
31802#define HAVE__LOGF 1
31803_ACEOF
31804
31805fi
31806done
31807
31808    fi
31809  fi
31810
31811
31812
31813
31814
31815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31816$as_echo_n "checking for log10f declaration... " >&6; }
31817  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31818    if ${glibcxx_cv_func_log10f_use+:} false; then :
31819  $as_echo_n "(cached) " >&6
31820else
31821
31822
31823      ac_ext=cpp
31824ac_cpp='$CXXCPP $CPPFLAGS'
31825ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31826ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31827ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31828
31829      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31830/* end confdefs.h.  */
31831#include <math.h>
31832		      #ifdef HAVE_IEEEFP_H
31833		      #include <ieeefp.h>
31834		      #endif
31835
31836int
31837main ()
31838{
31839 log10f(0);
31840  ;
31841  return 0;
31842}
31843_ACEOF
31844if ac_fn_cxx_try_compile "$LINENO"; then :
31845  glibcxx_cv_func_log10f_use=yes
31846else
31847  glibcxx_cv_func_log10f_use=no
31848fi
31849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31850      ac_ext=c
31851ac_cpp='$CPP $CPPFLAGS'
31852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854ac_compiler_gnu=$ac_cv_c_compiler_gnu
31855
31856
31857fi
31858
31859  fi
31860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31861$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31862
31863  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31864    for ac_func in log10f
31865do :
31866  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31867if test "x$ac_cv_func_log10f" = xyes; then :
31868  cat >>confdefs.h <<_ACEOF
31869#define HAVE_LOG10F 1
31870_ACEOF
31871
31872fi
31873done
31874
31875  else
31876
31877  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31878$as_echo_n "checking for _log10f declaration... " >&6; }
31879  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31880    if ${glibcxx_cv_func__log10f_use+:} false; then :
31881  $as_echo_n "(cached) " >&6
31882else
31883
31884
31885      ac_ext=cpp
31886ac_cpp='$CXXCPP $CPPFLAGS'
31887ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31890
31891      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31892/* end confdefs.h.  */
31893#include <math.h>
31894		      #ifdef HAVE_IEEEFP_H
31895		      #include <ieeefp.h>
31896		      #endif
31897
31898int
31899main ()
31900{
31901 _log10f(0);
31902  ;
31903  return 0;
31904}
31905_ACEOF
31906if ac_fn_cxx_try_compile "$LINENO"; then :
31907  glibcxx_cv_func__log10f_use=yes
31908else
31909  glibcxx_cv_func__log10f_use=no
31910fi
31911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31912      ac_ext=c
31913ac_cpp='$CPP $CPPFLAGS'
31914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31916ac_compiler_gnu=$ac_cv_c_compiler_gnu
31917
31918
31919fi
31920
31921  fi
31922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31923$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31924
31925    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31926      for ac_func in _log10f
31927do :
31928  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31929if test "x$ac_cv_func__log10f" = xyes; then :
31930  cat >>confdefs.h <<_ACEOF
31931#define HAVE__LOG10F 1
31932_ACEOF
31933
31934fi
31935done
31936
31937    fi
31938  fi
31939
31940
31941
31942
31943
31944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31945$as_echo_n "checking for modff declaration... " >&6; }
31946  if test x${glibcxx_cv_func_modff_use+set} != xset; then
31947    if ${glibcxx_cv_func_modff_use+:} false; then :
31948  $as_echo_n "(cached) " >&6
31949else
31950
31951
31952      ac_ext=cpp
31953ac_cpp='$CXXCPP $CPPFLAGS'
31954ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31955ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31956ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31957
31958      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31959/* end confdefs.h.  */
31960#include <math.h>
31961int
31962main ()
31963{
31964 modff(0, 0);
31965  ;
31966  return 0;
31967}
31968_ACEOF
31969if ac_fn_cxx_try_compile "$LINENO"; then :
31970  glibcxx_cv_func_modff_use=yes
31971else
31972  glibcxx_cv_func_modff_use=no
31973fi
31974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31975      ac_ext=c
31976ac_cpp='$CPP $CPPFLAGS'
31977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979ac_compiler_gnu=$ac_cv_c_compiler_gnu
31980
31981
31982fi
31983
31984  fi
31985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31986$as_echo "$glibcxx_cv_func_modff_use" >&6; }
31987
31988  if test x$glibcxx_cv_func_modff_use = x"yes"; then
31989    for ac_func in modff
31990do :
31991  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31992if test "x$ac_cv_func_modff" = xyes; then :
31993  cat >>confdefs.h <<_ACEOF
31994#define HAVE_MODFF 1
31995_ACEOF
31996
31997fi
31998done
31999
32000  else
32001
32002  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32003$as_echo_n "checking for _modff declaration... " >&6; }
32004  if test x${glibcxx_cv_func__modff_use+set} != xset; then
32005    if ${glibcxx_cv_func__modff_use+:} false; then :
32006  $as_echo_n "(cached) " >&6
32007else
32008
32009
32010      ac_ext=cpp
32011ac_cpp='$CXXCPP $CPPFLAGS'
32012ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32013ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32014ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32015
32016      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32017/* end confdefs.h.  */
32018#include <math.h>
32019int
32020main ()
32021{
32022 _modff(0, 0);
32023  ;
32024  return 0;
32025}
32026_ACEOF
32027if ac_fn_cxx_try_compile "$LINENO"; then :
32028  glibcxx_cv_func__modff_use=yes
32029else
32030  glibcxx_cv_func__modff_use=no
32031fi
32032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32033      ac_ext=c
32034ac_cpp='$CPP $CPPFLAGS'
32035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32037ac_compiler_gnu=$ac_cv_c_compiler_gnu
32038
32039
32040fi
32041
32042  fi
32043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32044$as_echo "$glibcxx_cv_func__modff_use" >&6; }
32045
32046    if test x$glibcxx_cv_func__modff_use = x"yes"; then
32047      for ac_func in _modff
32048do :
32049  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32050if test "x$ac_cv_func__modff" = xyes; then :
32051  cat >>confdefs.h <<_ACEOF
32052#define HAVE__MODFF 1
32053_ACEOF
32054
32055fi
32056done
32057
32058    fi
32059  fi
32060
32061
32062
32063
32064
32065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32066$as_echo_n "checking for modf declaration... " >&6; }
32067  if test x${glibcxx_cv_func_modf_use+set} != xset; then
32068    if ${glibcxx_cv_func_modf_use+:} false; then :
32069  $as_echo_n "(cached) " >&6
32070else
32071
32072
32073      ac_ext=cpp
32074ac_cpp='$CXXCPP $CPPFLAGS'
32075ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32076ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32077ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32078
32079      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32080/* end confdefs.h.  */
32081#include <math.h>
32082int
32083main ()
32084{
32085 modf(0, 0);
32086  ;
32087  return 0;
32088}
32089_ACEOF
32090if ac_fn_cxx_try_compile "$LINENO"; then :
32091  glibcxx_cv_func_modf_use=yes
32092else
32093  glibcxx_cv_func_modf_use=no
32094fi
32095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32096      ac_ext=c
32097ac_cpp='$CPP $CPPFLAGS'
32098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100ac_compiler_gnu=$ac_cv_c_compiler_gnu
32101
32102
32103fi
32104
32105  fi
32106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32107$as_echo "$glibcxx_cv_func_modf_use" >&6; }
32108
32109  if test x$glibcxx_cv_func_modf_use = x"yes"; then
32110    for ac_func in modf
32111do :
32112  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32113if test "x$ac_cv_func_modf" = xyes; then :
32114  cat >>confdefs.h <<_ACEOF
32115#define HAVE_MODF 1
32116_ACEOF
32117
32118fi
32119done
32120
32121  else
32122
32123  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32124$as_echo_n "checking for _modf declaration... " >&6; }
32125  if test x${glibcxx_cv_func__modf_use+set} != xset; then
32126    if ${glibcxx_cv_func__modf_use+:} false; then :
32127  $as_echo_n "(cached) " >&6
32128else
32129
32130
32131      ac_ext=cpp
32132ac_cpp='$CXXCPP $CPPFLAGS'
32133ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32134ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32135ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32136
32137      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32138/* end confdefs.h.  */
32139#include <math.h>
32140int
32141main ()
32142{
32143 _modf(0, 0);
32144  ;
32145  return 0;
32146}
32147_ACEOF
32148if ac_fn_cxx_try_compile "$LINENO"; then :
32149  glibcxx_cv_func__modf_use=yes
32150else
32151  glibcxx_cv_func__modf_use=no
32152fi
32153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32154      ac_ext=c
32155ac_cpp='$CPP $CPPFLAGS'
32156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158ac_compiler_gnu=$ac_cv_c_compiler_gnu
32159
32160
32161fi
32162
32163  fi
32164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32165$as_echo "$glibcxx_cv_func__modf_use" >&6; }
32166
32167    if test x$glibcxx_cv_func__modf_use = x"yes"; then
32168      for ac_func in _modf
32169do :
32170  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32171if test "x$ac_cv_func__modf" = xyes; then :
32172  cat >>confdefs.h <<_ACEOF
32173#define HAVE__MODF 1
32174_ACEOF
32175
32176fi
32177done
32178
32179    fi
32180  fi
32181
32182
32183
32184
32185
32186  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32187$as_echo_n "checking for powf declaration... " >&6; }
32188  if test x${glibcxx_cv_func_powf_use+set} != xset; then
32189    if ${glibcxx_cv_func_powf_use+:} false; then :
32190  $as_echo_n "(cached) " >&6
32191else
32192
32193
32194      ac_ext=cpp
32195ac_cpp='$CXXCPP $CPPFLAGS'
32196ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32199
32200      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32201/* end confdefs.h.  */
32202#include <math.h>
32203int
32204main ()
32205{
32206 powf(0, 0);
32207  ;
32208  return 0;
32209}
32210_ACEOF
32211if ac_fn_cxx_try_compile "$LINENO"; then :
32212  glibcxx_cv_func_powf_use=yes
32213else
32214  glibcxx_cv_func_powf_use=no
32215fi
32216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32217      ac_ext=c
32218ac_cpp='$CPP $CPPFLAGS'
32219ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221ac_compiler_gnu=$ac_cv_c_compiler_gnu
32222
32223
32224fi
32225
32226  fi
32227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32228$as_echo "$glibcxx_cv_func_powf_use" >&6; }
32229
32230  if test x$glibcxx_cv_func_powf_use = x"yes"; then
32231    for ac_func in powf
32232do :
32233  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32234if test "x$ac_cv_func_powf" = xyes; then :
32235  cat >>confdefs.h <<_ACEOF
32236#define HAVE_POWF 1
32237_ACEOF
32238
32239fi
32240done
32241
32242  else
32243
32244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32245$as_echo_n "checking for _powf declaration... " >&6; }
32246  if test x${glibcxx_cv_func__powf_use+set} != xset; then
32247    if ${glibcxx_cv_func__powf_use+:} false; then :
32248  $as_echo_n "(cached) " >&6
32249else
32250
32251
32252      ac_ext=cpp
32253ac_cpp='$CXXCPP $CPPFLAGS'
32254ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32257
32258      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32259/* end confdefs.h.  */
32260#include <math.h>
32261int
32262main ()
32263{
32264 _powf(0, 0);
32265  ;
32266  return 0;
32267}
32268_ACEOF
32269if ac_fn_cxx_try_compile "$LINENO"; then :
32270  glibcxx_cv_func__powf_use=yes
32271else
32272  glibcxx_cv_func__powf_use=no
32273fi
32274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32275      ac_ext=c
32276ac_cpp='$CPP $CPPFLAGS'
32277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32279ac_compiler_gnu=$ac_cv_c_compiler_gnu
32280
32281
32282fi
32283
32284  fi
32285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32286$as_echo "$glibcxx_cv_func__powf_use" >&6; }
32287
32288    if test x$glibcxx_cv_func__powf_use = x"yes"; then
32289      for ac_func in _powf
32290do :
32291  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32292if test "x$ac_cv_func__powf" = xyes; then :
32293  cat >>confdefs.h <<_ACEOF
32294#define HAVE__POWF 1
32295_ACEOF
32296
32297fi
32298done
32299
32300    fi
32301  fi
32302
32303
32304
32305
32306
32307  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32308$as_echo_n "checking for sqrtf declaration... " >&6; }
32309  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32310    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32311  $as_echo_n "(cached) " >&6
32312else
32313
32314
32315      ac_ext=cpp
32316ac_cpp='$CXXCPP $CPPFLAGS'
32317ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32318ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32319ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32320
32321      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32322/* end confdefs.h.  */
32323#include <math.h>
32324		      #ifdef HAVE_IEEEFP_H
32325		      #include <ieeefp.h>
32326		      #endif
32327
32328int
32329main ()
32330{
32331 sqrtf(0);
32332  ;
32333  return 0;
32334}
32335_ACEOF
32336if ac_fn_cxx_try_compile "$LINENO"; then :
32337  glibcxx_cv_func_sqrtf_use=yes
32338else
32339  glibcxx_cv_func_sqrtf_use=no
32340fi
32341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32342      ac_ext=c
32343ac_cpp='$CPP $CPPFLAGS'
32344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346ac_compiler_gnu=$ac_cv_c_compiler_gnu
32347
32348
32349fi
32350
32351  fi
32352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32353$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32354
32355  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32356    for ac_func in sqrtf
32357do :
32358  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32359if test "x$ac_cv_func_sqrtf" = xyes; then :
32360  cat >>confdefs.h <<_ACEOF
32361#define HAVE_SQRTF 1
32362_ACEOF
32363
32364fi
32365done
32366
32367  else
32368
32369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32370$as_echo_n "checking for _sqrtf declaration... " >&6; }
32371  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32372    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32373  $as_echo_n "(cached) " >&6
32374else
32375
32376
32377      ac_ext=cpp
32378ac_cpp='$CXXCPP $CPPFLAGS'
32379ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32380ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32381ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32382
32383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32384/* end confdefs.h.  */
32385#include <math.h>
32386		      #ifdef HAVE_IEEEFP_H
32387		      #include <ieeefp.h>
32388		      #endif
32389
32390int
32391main ()
32392{
32393 _sqrtf(0);
32394  ;
32395  return 0;
32396}
32397_ACEOF
32398if ac_fn_cxx_try_compile "$LINENO"; then :
32399  glibcxx_cv_func__sqrtf_use=yes
32400else
32401  glibcxx_cv_func__sqrtf_use=no
32402fi
32403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32404      ac_ext=c
32405ac_cpp='$CPP $CPPFLAGS'
32406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32408ac_compiler_gnu=$ac_cv_c_compiler_gnu
32409
32410
32411fi
32412
32413  fi
32414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32415$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32416
32417    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32418      for ac_func in _sqrtf
32419do :
32420  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32421if test "x$ac_cv_func__sqrtf" = xyes; then :
32422  cat >>confdefs.h <<_ACEOF
32423#define HAVE__SQRTF 1
32424_ACEOF
32425
32426fi
32427done
32428
32429    fi
32430  fi
32431
32432
32433
32434
32435
32436  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32437$as_echo_n "checking for sincosf declaration... " >&6; }
32438  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32439    if ${glibcxx_cv_func_sincosf_use+:} false; then :
32440  $as_echo_n "(cached) " >&6
32441else
32442
32443
32444      ac_ext=cpp
32445ac_cpp='$CXXCPP $CPPFLAGS'
32446ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32447ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32448ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32449
32450      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32451/* end confdefs.h.  */
32452#include <math.h>
32453int
32454main ()
32455{
32456 sincosf(0, 0, 0);
32457  ;
32458  return 0;
32459}
32460_ACEOF
32461if ac_fn_cxx_try_compile "$LINENO"; then :
32462  glibcxx_cv_func_sincosf_use=yes
32463else
32464  glibcxx_cv_func_sincosf_use=no
32465fi
32466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32467      ac_ext=c
32468ac_cpp='$CPP $CPPFLAGS'
32469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471ac_compiler_gnu=$ac_cv_c_compiler_gnu
32472
32473
32474fi
32475
32476  fi
32477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32478$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32479
32480  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32481    for ac_func in sincosf
32482do :
32483  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32484if test "x$ac_cv_func_sincosf" = xyes; then :
32485  cat >>confdefs.h <<_ACEOF
32486#define HAVE_SINCOSF 1
32487_ACEOF
32488
32489fi
32490done
32491
32492  else
32493
32494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32495$as_echo_n "checking for _sincosf declaration... " >&6; }
32496  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32497    if ${glibcxx_cv_func__sincosf_use+:} false; then :
32498  $as_echo_n "(cached) " >&6
32499else
32500
32501
32502      ac_ext=cpp
32503ac_cpp='$CXXCPP $CPPFLAGS'
32504ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32505ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32506ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32507
32508      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32509/* end confdefs.h.  */
32510#include <math.h>
32511int
32512main ()
32513{
32514 _sincosf(0, 0, 0);
32515  ;
32516  return 0;
32517}
32518_ACEOF
32519if ac_fn_cxx_try_compile "$LINENO"; then :
32520  glibcxx_cv_func__sincosf_use=yes
32521else
32522  glibcxx_cv_func__sincosf_use=no
32523fi
32524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32525      ac_ext=c
32526ac_cpp='$CPP $CPPFLAGS'
32527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32529ac_compiler_gnu=$ac_cv_c_compiler_gnu
32530
32531
32532fi
32533
32534  fi
32535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32536$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32537
32538    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32539      for ac_func in _sincosf
32540do :
32541  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32542if test "x$ac_cv_func__sincosf" = xyes; then :
32543  cat >>confdefs.h <<_ACEOF
32544#define HAVE__SINCOSF 1
32545_ACEOF
32546
32547fi
32548done
32549
32550    fi
32551  fi
32552
32553
32554
32555
32556
32557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32558$as_echo_n "checking for finitef declaration... " >&6; }
32559  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32560    if ${glibcxx_cv_func_finitef_use+:} false; then :
32561  $as_echo_n "(cached) " >&6
32562else
32563
32564
32565      ac_ext=cpp
32566ac_cpp='$CXXCPP $CPPFLAGS'
32567ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32568ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32569ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32570
32571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32572/* end confdefs.h.  */
32573#include <math.h>
32574		      #ifdef HAVE_IEEEFP_H
32575		      #include <ieeefp.h>
32576		      #endif
32577
32578int
32579main ()
32580{
32581 finitef(0);
32582  ;
32583  return 0;
32584}
32585_ACEOF
32586if ac_fn_cxx_try_compile "$LINENO"; then :
32587  glibcxx_cv_func_finitef_use=yes
32588else
32589  glibcxx_cv_func_finitef_use=no
32590fi
32591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32592      ac_ext=c
32593ac_cpp='$CPP $CPPFLAGS'
32594ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596ac_compiler_gnu=$ac_cv_c_compiler_gnu
32597
32598
32599fi
32600
32601  fi
32602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32603$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32604
32605  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32606    for ac_func in finitef
32607do :
32608  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32609if test "x$ac_cv_func_finitef" = xyes; then :
32610  cat >>confdefs.h <<_ACEOF
32611#define HAVE_FINITEF 1
32612_ACEOF
32613
32614fi
32615done
32616
32617  else
32618
32619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32620$as_echo_n "checking for _finitef declaration... " >&6; }
32621  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32622    if ${glibcxx_cv_func__finitef_use+:} false; then :
32623  $as_echo_n "(cached) " >&6
32624else
32625
32626
32627      ac_ext=cpp
32628ac_cpp='$CXXCPP $CPPFLAGS'
32629ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32632
32633      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32634/* end confdefs.h.  */
32635#include <math.h>
32636		      #ifdef HAVE_IEEEFP_H
32637		      #include <ieeefp.h>
32638		      #endif
32639
32640int
32641main ()
32642{
32643 _finitef(0);
32644  ;
32645  return 0;
32646}
32647_ACEOF
32648if ac_fn_cxx_try_compile "$LINENO"; then :
32649  glibcxx_cv_func__finitef_use=yes
32650else
32651  glibcxx_cv_func__finitef_use=no
32652fi
32653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32654      ac_ext=c
32655ac_cpp='$CPP $CPPFLAGS'
32656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32658ac_compiler_gnu=$ac_cv_c_compiler_gnu
32659
32660
32661fi
32662
32663  fi
32664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32665$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32666
32667    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32668      for ac_func in _finitef
32669do :
32670  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32671if test "x$ac_cv_func__finitef" = xyes; then :
32672  cat >>confdefs.h <<_ACEOF
32673#define HAVE__FINITEF 1
32674_ACEOF
32675
32676fi
32677done
32678
32679    fi
32680  fi
32681
32682
32683
32684
32685
32686    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32687$as_echo_n "checking for long double trig functions... " >&6; }
32688  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32689  $as_echo_n "(cached) " >&6
32690else
32691
32692
32693    ac_ext=cpp
32694ac_cpp='$CXXCPP $CPPFLAGS'
32695ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32696ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32697ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32698
32699    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32700/* end confdefs.h.  */
32701#include <math.h>
32702int
32703main ()
32704{
32705acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32706  ;
32707  return 0;
32708}
32709_ACEOF
32710if ac_fn_cxx_try_compile "$LINENO"; then :
32711  glibcxx_cv_func_long_double_trig_use=yes
32712else
32713  glibcxx_cv_func_long_double_trig_use=no
32714fi
32715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32716    ac_ext=c
32717ac_cpp='$CPP $CPPFLAGS'
32718ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32719ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32720ac_compiler_gnu=$ac_cv_c_compiler_gnu
32721
32722fi
32723
32724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32725$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32726  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32727    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32728do :
32729  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32730ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32731if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32732  cat >>confdefs.h <<_ACEOF
32733#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32734_ACEOF
32735
32736fi
32737done
32738
32739  else
32740    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32741$as_echo_n "checking for _long double trig functions... " >&6; }
32742    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32743  $as_echo_n "(cached) " >&6
32744else
32745
32746
32747      ac_ext=cpp
32748ac_cpp='$CXXCPP $CPPFLAGS'
32749ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32752
32753      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32754/* end confdefs.h.  */
32755#include <math.h>
32756int
32757main ()
32758{
32759_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32760  ;
32761  return 0;
32762}
32763_ACEOF
32764if ac_fn_cxx_try_compile "$LINENO"; then :
32765  glibcxx_cv_func__long_double_trig_use=yes
32766else
32767  glibcxx_cv_func__long_double_trig_use=no
32768fi
32769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32770      ac_ext=c
32771ac_cpp='$CPP $CPPFLAGS'
32772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774ac_compiler_gnu=$ac_cv_c_compiler_gnu
32775
32776fi
32777
32778    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32779$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32780    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32781      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32782do :
32783  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32784ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32785if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32786  cat >>confdefs.h <<_ACEOF
32787#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32788_ACEOF
32789
32790fi
32791done
32792
32793    fi
32794  fi
32795
32796
32797
32798
32799
32800    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32801$as_echo_n "checking for long double round functions... " >&6; }
32802  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32803  $as_echo_n "(cached) " >&6
32804else
32805
32806
32807    ac_ext=cpp
32808ac_cpp='$CXXCPP $CPPFLAGS'
32809ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32810ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32811ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32812
32813    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32814/* end confdefs.h.  */
32815#include <math.h>
32816int
32817main ()
32818{
32819ceill (0); floorl (0);
32820  ;
32821  return 0;
32822}
32823_ACEOF
32824if ac_fn_cxx_try_compile "$LINENO"; then :
32825  glibcxx_cv_func_long_double_round_use=yes
32826else
32827  glibcxx_cv_func_long_double_round_use=no
32828fi
32829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32830    ac_ext=c
32831ac_cpp='$CPP $CPPFLAGS'
32832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32834ac_compiler_gnu=$ac_cv_c_compiler_gnu
32835
32836fi
32837
32838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32839$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32840  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32841    for ac_func in ceill floorl
32842do :
32843  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32844ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32845if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32846  cat >>confdefs.h <<_ACEOF
32847#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32848_ACEOF
32849
32850fi
32851done
32852
32853  else
32854    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32855$as_echo_n "checking for _long double round functions... " >&6; }
32856    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32857  $as_echo_n "(cached) " >&6
32858else
32859
32860
32861      ac_ext=cpp
32862ac_cpp='$CXXCPP $CPPFLAGS'
32863ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32866
32867      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32868/* end confdefs.h.  */
32869#include <math.h>
32870int
32871main ()
32872{
32873_ceill (0); _floorl (0);
32874  ;
32875  return 0;
32876}
32877_ACEOF
32878if ac_fn_cxx_try_compile "$LINENO"; then :
32879  glibcxx_cv_func__long_double_round_use=yes
32880else
32881  glibcxx_cv_func__long_double_round_use=no
32882fi
32883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32884      ac_ext=c
32885ac_cpp='$CPP $CPPFLAGS'
32886ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32887ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32888ac_compiler_gnu=$ac_cv_c_compiler_gnu
32889
32890fi
32891
32892    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32893$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32894    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32895      for ac_func in _ceill _floorl
32896do :
32897  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32898ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32899if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32900  cat >>confdefs.h <<_ACEOF
32901#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32902_ACEOF
32903
32904fi
32905done
32906
32907    fi
32908  fi
32909
32910
32911
32912
32913
32914
32915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32916$as_echo_n "checking for isnanl declaration... " >&6; }
32917  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32918    if ${glibcxx_cv_func_isnanl_use+:} false; then :
32919  $as_echo_n "(cached) " >&6
32920else
32921
32922
32923      ac_ext=cpp
32924ac_cpp='$CXXCPP $CPPFLAGS'
32925ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32926ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32927ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32928
32929      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32930/* end confdefs.h.  */
32931#include <math.h>
32932		      #ifdef HAVE_IEEEFP_H
32933		      #include <ieeefp.h>
32934		      #endif
32935
32936int
32937main ()
32938{
32939 isnanl(0);
32940  ;
32941  return 0;
32942}
32943_ACEOF
32944if ac_fn_cxx_try_compile "$LINENO"; then :
32945  glibcxx_cv_func_isnanl_use=yes
32946else
32947  glibcxx_cv_func_isnanl_use=no
32948fi
32949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32950      ac_ext=c
32951ac_cpp='$CPP $CPPFLAGS'
32952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954ac_compiler_gnu=$ac_cv_c_compiler_gnu
32955
32956
32957fi
32958
32959  fi
32960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32961$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32962
32963  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32964    for ac_func in isnanl
32965do :
32966  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32967if test "x$ac_cv_func_isnanl" = xyes; then :
32968  cat >>confdefs.h <<_ACEOF
32969#define HAVE_ISNANL 1
32970_ACEOF
32971
32972fi
32973done
32974
32975  else
32976
32977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32978$as_echo_n "checking for _isnanl declaration... " >&6; }
32979  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32980    if ${glibcxx_cv_func__isnanl_use+:} false; then :
32981  $as_echo_n "(cached) " >&6
32982else
32983
32984
32985      ac_ext=cpp
32986ac_cpp='$CXXCPP $CPPFLAGS'
32987ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32990
32991      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32992/* end confdefs.h.  */
32993#include <math.h>
32994		      #ifdef HAVE_IEEEFP_H
32995		      #include <ieeefp.h>
32996		      #endif
32997
32998int
32999main ()
33000{
33001 _isnanl(0);
33002  ;
33003  return 0;
33004}
33005_ACEOF
33006if ac_fn_cxx_try_compile "$LINENO"; then :
33007  glibcxx_cv_func__isnanl_use=yes
33008else
33009  glibcxx_cv_func__isnanl_use=no
33010fi
33011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33012      ac_ext=c
33013ac_cpp='$CPP $CPPFLAGS'
33014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33016ac_compiler_gnu=$ac_cv_c_compiler_gnu
33017
33018
33019fi
33020
33021  fi
33022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33023$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33024
33025    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33026      for ac_func in _isnanl
33027do :
33028  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33029if test "x$ac_cv_func__isnanl" = xyes; then :
33030  cat >>confdefs.h <<_ACEOF
33031#define HAVE__ISNANL 1
33032_ACEOF
33033
33034fi
33035done
33036
33037    fi
33038  fi
33039
33040
33041
33042
33043
33044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33045$as_echo_n "checking for isinfl declaration... " >&6; }
33046  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33047    if ${glibcxx_cv_func_isinfl_use+:} false; then :
33048  $as_echo_n "(cached) " >&6
33049else
33050
33051
33052      ac_ext=cpp
33053ac_cpp='$CXXCPP $CPPFLAGS'
33054ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33057
33058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33059/* end confdefs.h.  */
33060#include <math.h>
33061		      #ifdef HAVE_IEEEFP_H
33062		      #include <ieeefp.h>
33063		      #endif
33064
33065int
33066main ()
33067{
33068 isinfl(0);
33069  ;
33070  return 0;
33071}
33072_ACEOF
33073if ac_fn_cxx_try_compile "$LINENO"; then :
33074  glibcxx_cv_func_isinfl_use=yes
33075else
33076  glibcxx_cv_func_isinfl_use=no
33077fi
33078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33079      ac_ext=c
33080ac_cpp='$CPP $CPPFLAGS'
33081ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083ac_compiler_gnu=$ac_cv_c_compiler_gnu
33084
33085
33086fi
33087
33088  fi
33089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33090$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33091
33092  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33093    for ac_func in isinfl
33094do :
33095  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33096if test "x$ac_cv_func_isinfl" = xyes; then :
33097  cat >>confdefs.h <<_ACEOF
33098#define HAVE_ISINFL 1
33099_ACEOF
33100
33101fi
33102done
33103
33104  else
33105
33106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33107$as_echo_n "checking for _isinfl declaration... " >&6; }
33108  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33109    if ${glibcxx_cv_func__isinfl_use+:} false; then :
33110  $as_echo_n "(cached) " >&6
33111else
33112
33113
33114      ac_ext=cpp
33115ac_cpp='$CXXCPP $CPPFLAGS'
33116ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33117ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33118ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33119
33120      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33121/* end confdefs.h.  */
33122#include <math.h>
33123		      #ifdef HAVE_IEEEFP_H
33124		      #include <ieeefp.h>
33125		      #endif
33126
33127int
33128main ()
33129{
33130 _isinfl(0);
33131  ;
33132  return 0;
33133}
33134_ACEOF
33135if ac_fn_cxx_try_compile "$LINENO"; then :
33136  glibcxx_cv_func__isinfl_use=yes
33137else
33138  glibcxx_cv_func__isinfl_use=no
33139fi
33140rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33141      ac_ext=c
33142ac_cpp='$CPP $CPPFLAGS'
33143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33145ac_compiler_gnu=$ac_cv_c_compiler_gnu
33146
33147
33148fi
33149
33150  fi
33151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33152$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33153
33154    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33155      for ac_func in _isinfl
33156do :
33157  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33158if test "x$ac_cv_func__isinfl" = xyes; then :
33159  cat >>confdefs.h <<_ACEOF
33160#define HAVE__ISINFL 1
33161_ACEOF
33162
33163fi
33164done
33165
33166    fi
33167  fi
33168
33169
33170
33171
33172
33173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33174$as_echo_n "checking for atan2l declaration... " >&6; }
33175  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33176    if ${glibcxx_cv_func_atan2l_use+:} false; then :
33177  $as_echo_n "(cached) " >&6
33178else
33179
33180
33181      ac_ext=cpp
33182ac_cpp='$CXXCPP $CPPFLAGS'
33183ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33186
33187      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33188/* end confdefs.h.  */
33189#include <math.h>
33190int
33191main ()
33192{
33193 atan2l(0, 0);
33194  ;
33195  return 0;
33196}
33197_ACEOF
33198if ac_fn_cxx_try_compile "$LINENO"; then :
33199  glibcxx_cv_func_atan2l_use=yes
33200else
33201  glibcxx_cv_func_atan2l_use=no
33202fi
33203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33204      ac_ext=c
33205ac_cpp='$CPP $CPPFLAGS'
33206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33208ac_compiler_gnu=$ac_cv_c_compiler_gnu
33209
33210
33211fi
33212
33213  fi
33214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33215$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33216
33217  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33218    for ac_func in atan2l
33219do :
33220  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33221if test "x$ac_cv_func_atan2l" = xyes; then :
33222  cat >>confdefs.h <<_ACEOF
33223#define HAVE_ATAN2L 1
33224_ACEOF
33225
33226fi
33227done
33228
33229  else
33230
33231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33232$as_echo_n "checking for _atan2l declaration... " >&6; }
33233  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33234    if ${glibcxx_cv_func__atan2l_use+:} false; then :
33235  $as_echo_n "(cached) " >&6
33236else
33237
33238
33239      ac_ext=cpp
33240ac_cpp='$CXXCPP $CPPFLAGS'
33241ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33242ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33243ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33244
33245      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33246/* end confdefs.h.  */
33247#include <math.h>
33248int
33249main ()
33250{
33251 _atan2l(0, 0);
33252  ;
33253  return 0;
33254}
33255_ACEOF
33256if ac_fn_cxx_try_compile "$LINENO"; then :
33257  glibcxx_cv_func__atan2l_use=yes
33258else
33259  glibcxx_cv_func__atan2l_use=no
33260fi
33261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33262      ac_ext=c
33263ac_cpp='$CPP $CPPFLAGS'
33264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33266ac_compiler_gnu=$ac_cv_c_compiler_gnu
33267
33268
33269fi
33270
33271  fi
33272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33273$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33274
33275    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33276      for ac_func in _atan2l
33277do :
33278  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33279if test "x$ac_cv_func__atan2l" = xyes; then :
33280  cat >>confdefs.h <<_ACEOF
33281#define HAVE__ATAN2L 1
33282_ACEOF
33283
33284fi
33285done
33286
33287    fi
33288  fi
33289
33290
33291
33292
33293
33294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33295$as_echo_n "checking for expl declaration... " >&6; }
33296  if test x${glibcxx_cv_func_expl_use+set} != xset; then
33297    if ${glibcxx_cv_func_expl_use+:} false; then :
33298  $as_echo_n "(cached) " >&6
33299else
33300
33301
33302      ac_ext=cpp
33303ac_cpp='$CXXCPP $CPPFLAGS'
33304ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33307
33308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33309/* end confdefs.h.  */
33310#include <math.h>
33311		      #ifdef HAVE_IEEEFP_H
33312		      #include <ieeefp.h>
33313		      #endif
33314
33315int
33316main ()
33317{
33318 expl(0);
33319  ;
33320  return 0;
33321}
33322_ACEOF
33323if ac_fn_cxx_try_compile "$LINENO"; then :
33324  glibcxx_cv_func_expl_use=yes
33325else
33326  glibcxx_cv_func_expl_use=no
33327fi
33328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33329      ac_ext=c
33330ac_cpp='$CPP $CPPFLAGS'
33331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33333ac_compiler_gnu=$ac_cv_c_compiler_gnu
33334
33335
33336fi
33337
33338  fi
33339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33340$as_echo "$glibcxx_cv_func_expl_use" >&6; }
33341
33342  if test x$glibcxx_cv_func_expl_use = x"yes"; then
33343    for ac_func in expl
33344do :
33345  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33346if test "x$ac_cv_func_expl" = xyes; then :
33347  cat >>confdefs.h <<_ACEOF
33348#define HAVE_EXPL 1
33349_ACEOF
33350
33351fi
33352done
33353
33354  else
33355
33356  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33357$as_echo_n "checking for _expl declaration... " >&6; }
33358  if test x${glibcxx_cv_func__expl_use+set} != xset; then
33359    if ${glibcxx_cv_func__expl_use+:} false; then :
33360  $as_echo_n "(cached) " >&6
33361else
33362
33363
33364      ac_ext=cpp
33365ac_cpp='$CXXCPP $CPPFLAGS'
33366ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33369
33370      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33371/* end confdefs.h.  */
33372#include <math.h>
33373		      #ifdef HAVE_IEEEFP_H
33374		      #include <ieeefp.h>
33375		      #endif
33376
33377int
33378main ()
33379{
33380 _expl(0);
33381  ;
33382  return 0;
33383}
33384_ACEOF
33385if ac_fn_cxx_try_compile "$LINENO"; then :
33386  glibcxx_cv_func__expl_use=yes
33387else
33388  glibcxx_cv_func__expl_use=no
33389fi
33390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33391      ac_ext=c
33392ac_cpp='$CPP $CPPFLAGS'
33393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33395ac_compiler_gnu=$ac_cv_c_compiler_gnu
33396
33397
33398fi
33399
33400  fi
33401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33402$as_echo "$glibcxx_cv_func__expl_use" >&6; }
33403
33404    if test x$glibcxx_cv_func__expl_use = x"yes"; then
33405      for ac_func in _expl
33406do :
33407  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33408if test "x$ac_cv_func__expl" = xyes; then :
33409  cat >>confdefs.h <<_ACEOF
33410#define HAVE__EXPL 1
33411_ACEOF
33412
33413fi
33414done
33415
33416    fi
33417  fi
33418
33419
33420
33421
33422
33423  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33424$as_echo_n "checking for fabsl declaration... " >&6; }
33425  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33426    if ${glibcxx_cv_func_fabsl_use+:} false; then :
33427  $as_echo_n "(cached) " >&6
33428else
33429
33430
33431      ac_ext=cpp
33432ac_cpp='$CXXCPP $CPPFLAGS'
33433ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33436
33437      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33438/* end confdefs.h.  */
33439#include <math.h>
33440		      #ifdef HAVE_IEEEFP_H
33441		      #include <ieeefp.h>
33442		      #endif
33443
33444int
33445main ()
33446{
33447 fabsl(0);
33448  ;
33449  return 0;
33450}
33451_ACEOF
33452if ac_fn_cxx_try_compile "$LINENO"; then :
33453  glibcxx_cv_func_fabsl_use=yes
33454else
33455  glibcxx_cv_func_fabsl_use=no
33456fi
33457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33458      ac_ext=c
33459ac_cpp='$CPP $CPPFLAGS'
33460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33462ac_compiler_gnu=$ac_cv_c_compiler_gnu
33463
33464
33465fi
33466
33467  fi
33468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33469$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33470
33471  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33472    for ac_func in fabsl
33473do :
33474  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33475if test "x$ac_cv_func_fabsl" = xyes; then :
33476  cat >>confdefs.h <<_ACEOF
33477#define HAVE_FABSL 1
33478_ACEOF
33479
33480fi
33481done
33482
33483  else
33484
33485  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33486$as_echo_n "checking for _fabsl declaration... " >&6; }
33487  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33488    if ${glibcxx_cv_func__fabsl_use+:} false; then :
33489  $as_echo_n "(cached) " >&6
33490else
33491
33492
33493      ac_ext=cpp
33494ac_cpp='$CXXCPP $CPPFLAGS'
33495ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33496ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33497ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33498
33499      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33500/* end confdefs.h.  */
33501#include <math.h>
33502		      #ifdef HAVE_IEEEFP_H
33503		      #include <ieeefp.h>
33504		      #endif
33505
33506int
33507main ()
33508{
33509 _fabsl(0);
33510  ;
33511  return 0;
33512}
33513_ACEOF
33514if ac_fn_cxx_try_compile "$LINENO"; then :
33515  glibcxx_cv_func__fabsl_use=yes
33516else
33517  glibcxx_cv_func__fabsl_use=no
33518fi
33519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33520      ac_ext=c
33521ac_cpp='$CPP $CPPFLAGS'
33522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33524ac_compiler_gnu=$ac_cv_c_compiler_gnu
33525
33526
33527fi
33528
33529  fi
33530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33531$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33532
33533    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33534      for ac_func in _fabsl
33535do :
33536  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33537if test "x$ac_cv_func__fabsl" = xyes; then :
33538  cat >>confdefs.h <<_ACEOF
33539#define HAVE__FABSL 1
33540_ACEOF
33541
33542fi
33543done
33544
33545    fi
33546  fi
33547
33548
33549
33550
33551
33552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33553$as_echo_n "checking for fmodl declaration... " >&6; }
33554  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33555    if ${glibcxx_cv_func_fmodl_use+:} false; then :
33556  $as_echo_n "(cached) " >&6
33557else
33558
33559
33560      ac_ext=cpp
33561ac_cpp='$CXXCPP $CPPFLAGS'
33562ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33563ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33564ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33565
33566      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33567/* end confdefs.h.  */
33568#include <math.h>
33569int
33570main ()
33571{
33572 fmodl(0, 0);
33573  ;
33574  return 0;
33575}
33576_ACEOF
33577if ac_fn_cxx_try_compile "$LINENO"; then :
33578  glibcxx_cv_func_fmodl_use=yes
33579else
33580  glibcxx_cv_func_fmodl_use=no
33581fi
33582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33583      ac_ext=c
33584ac_cpp='$CPP $CPPFLAGS'
33585ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587ac_compiler_gnu=$ac_cv_c_compiler_gnu
33588
33589
33590fi
33591
33592  fi
33593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33594$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33595
33596  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33597    for ac_func in fmodl
33598do :
33599  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33600if test "x$ac_cv_func_fmodl" = xyes; then :
33601  cat >>confdefs.h <<_ACEOF
33602#define HAVE_FMODL 1
33603_ACEOF
33604
33605fi
33606done
33607
33608  else
33609
33610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33611$as_echo_n "checking for _fmodl declaration... " >&6; }
33612  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33613    if ${glibcxx_cv_func__fmodl_use+:} false; then :
33614  $as_echo_n "(cached) " >&6
33615else
33616
33617
33618      ac_ext=cpp
33619ac_cpp='$CXXCPP $CPPFLAGS'
33620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33623
33624      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33625/* end confdefs.h.  */
33626#include <math.h>
33627int
33628main ()
33629{
33630 _fmodl(0, 0);
33631  ;
33632  return 0;
33633}
33634_ACEOF
33635if ac_fn_cxx_try_compile "$LINENO"; then :
33636  glibcxx_cv_func__fmodl_use=yes
33637else
33638  glibcxx_cv_func__fmodl_use=no
33639fi
33640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33641      ac_ext=c
33642ac_cpp='$CPP $CPPFLAGS'
33643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33645ac_compiler_gnu=$ac_cv_c_compiler_gnu
33646
33647
33648fi
33649
33650  fi
33651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33652$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33653
33654    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33655      for ac_func in _fmodl
33656do :
33657  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33658if test "x$ac_cv_func__fmodl" = xyes; then :
33659  cat >>confdefs.h <<_ACEOF
33660#define HAVE__FMODL 1
33661_ACEOF
33662
33663fi
33664done
33665
33666    fi
33667  fi
33668
33669
33670
33671
33672
33673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33674$as_echo_n "checking for frexpl declaration... " >&6; }
33675  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33676    if ${glibcxx_cv_func_frexpl_use+:} false; then :
33677  $as_echo_n "(cached) " >&6
33678else
33679
33680
33681      ac_ext=cpp
33682ac_cpp='$CXXCPP $CPPFLAGS'
33683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33686
33687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33688/* end confdefs.h.  */
33689#include <math.h>
33690int
33691main ()
33692{
33693 frexpl(0, 0);
33694  ;
33695  return 0;
33696}
33697_ACEOF
33698if ac_fn_cxx_try_compile "$LINENO"; then :
33699  glibcxx_cv_func_frexpl_use=yes
33700else
33701  glibcxx_cv_func_frexpl_use=no
33702fi
33703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33704      ac_ext=c
33705ac_cpp='$CPP $CPPFLAGS'
33706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33708ac_compiler_gnu=$ac_cv_c_compiler_gnu
33709
33710
33711fi
33712
33713  fi
33714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33715$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33716
33717  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33718    for ac_func in frexpl
33719do :
33720  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33721if test "x$ac_cv_func_frexpl" = xyes; then :
33722  cat >>confdefs.h <<_ACEOF
33723#define HAVE_FREXPL 1
33724_ACEOF
33725
33726fi
33727done
33728
33729  else
33730
33731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33732$as_echo_n "checking for _frexpl declaration... " >&6; }
33733  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33734    if ${glibcxx_cv_func__frexpl_use+:} false; then :
33735  $as_echo_n "(cached) " >&6
33736else
33737
33738
33739      ac_ext=cpp
33740ac_cpp='$CXXCPP $CPPFLAGS'
33741ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33742ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33743ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33744
33745      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33746/* end confdefs.h.  */
33747#include <math.h>
33748int
33749main ()
33750{
33751 _frexpl(0, 0);
33752  ;
33753  return 0;
33754}
33755_ACEOF
33756if ac_fn_cxx_try_compile "$LINENO"; then :
33757  glibcxx_cv_func__frexpl_use=yes
33758else
33759  glibcxx_cv_func__frexpl_use=no
33760fi
33761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33762      ac_ext=c
33763ac_cpp='$CPP $CPPFLAGS'
33764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33766ac_compiler_gnu=$ac_cv_c_compiler_gnu
33767
33768
33769fi
33770
33771  fi
33772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33773$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33774
33775    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33776      for ac_func in _frexpl
33777do :
33778  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33779if test "x$ac_cv_func__frexpl" = xyes; then :
33780  cat >>confdefs.h <<_ACEOF
33781#define HAVE__FREXPL 1
33782_ACEOF
33783
33784fi
33785done
33786
33787    fi
33788  fi
33789
33790
33791
33792
33793
33794  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33795$as_echo_n "checking for hypotl declaration... " >&6; }
33796  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33797    if ${glibcxx_cv_func_hypotl_use+:} false; then :
33798  $as_echo_n "(cached) " >&6
33799else
33800
33801
33802      ac_ext=cpp
33803ac_cpp='$CXXCPP $CPPFLAGS'
33804ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33805ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33806ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33807
33808      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33809/* end confdefs.h.  */
33810#include <math.h>
33811int
33812main ()
33813{
33814 hypotl(0, 0);
33815  ;
33816  return 0;
33817}
33818_ACEOF
33819if ac_fn_cxx_try_compile "$LINENO"; then :
33820  glibcxx_cv_func_hypotl_use=yes
33821else
33822  glibcxx_cv_func_hypotl_use=no
33823fi
33824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33825      ac_ext=c
33826ac_cpp='$CPP $CPPFLAGS'
33827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33829ac_compiler_gnu=$ac_cv_c_compiler_gnu
33830
33831
33832fi
33833
33834  fi
33835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33836$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33837
33838  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33839    for ac_func in hypotl
33840do :
33841  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33842if test "x$ac_cv_func_hypotl" = xyes; then :
33843  cat >>confdefs.h <<_ACEOF
33844#define HAVE_HYPOTL 1
33845_ACEOF
33846
33847fi
33848done
33849
33850  else
33851
33852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33853$as_echo_n "checking for _hypotl declaration... " >&6; }
33854  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33855    if ${glibcxx_cv_func__hypotl_use+:} false; then :
33856  $as_echo_n "(cached) " >&6
33857else
33858
33859
33860      ac_ext=cpp
33861ac_cpp='$CXXCPP $CPPFLAGS'
33862ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33863ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33864ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33865
33866      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33867/* end confdefs.h.  */
33868#include <math.h>
33869int
33870main ()
33871{
33872 _hypotl(0, 0);
33873  ;
33874  return 0;
33875}
33876_ACEOF
33877if ac_fn_cxx_try_compile "$LINENO"; then :
33878  glibcxx_cv_func__hypotl_use=yes
33879else
33880  glibcxx_cv_func__hypotl_use=no
33881fi
33882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33883      ac_ext=c
33884ac_cpp='$CPP $CPPFLAGS'
33885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33887ac_compiler_gnu=$ac_cv_c_compiler_gnu
33888
33889
33890fi
33891
33892  fi
33893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33894$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33895
33896    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33897      for ac_func in _hypotl
33898do :
33899  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33900if test "x$ac_cv_func__hypotl" = xyes; then :
33901  cat >>confdefs.h <<_ACEOF
33902#define HAVE__HYPOTL 1
33903_ACEOF
33904
33905fi
33906done
33907
33908    fi
33909  fi
33910
33911
33912
33913
33914
33915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33916$as_echo_n "checking for ldexpl declaration... " >&6; }
33917  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33918    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
33919  $as_echo_n "(cached) " >&6
33920else
33921
33922
33923      ac_ext=cpp
33924ac_cpp='$CXXCPP $CPPFLAGS'
33925ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33926ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33927ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33928
33929      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33930/* end confdefs.h.  */
33931#include <math.h>
33932int
33933main ()
33934{
33935 ldexpl(0, 0);
33936  ;
33937  return 0;
33938}
33939_ACEOF
33940if ac_fn_cxx_try_compile "$LINENO"; then :
33941  glibcxx_cv_func_ldexpl_use=yes
33942else
33943  glibcxx_cv_func_ldexpl_use=no
33944fi
33945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33946      ac_ext=c
33947ac_cpp='$CPP $CPPFLAGS'
33948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33950ac_compiler_gnu=$ac_cv_c_compiler_gnu
33951
33952
33953fi
33954
33955  fi
33956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33957$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33958
33959  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33960    for ac_func in ldexpl
33961do :
33962  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33963if test "x$ac_cv_func_ldexpl" = xyes; then :
33964  cat >>confdefs.h <<_ACEOF
33965#define HAVE_LDEXPL 1
33966_ACEOF
33967
33968fi
33969done
33970
33971  else
33972
33973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33974$as_echo_n "checking for _ldexpl declaration... " >&6; }
33975  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33976    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
33977  $as_echo_n "(cached) " >&6
33978else
33979
33980
33981      ac_ext=cpp
33982ac_cpp='$CXXCPP $CPPFLAGS'
33983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33986
33987      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33988/* end confdefs.h.  */
33989#include <math.h>
33990int
33991main ()
33992{
33993 _ldexpl(0, 0);
33994  ;
33995  return 0;
33996}
33997_ACEOF
33998if ac_fn_cxx_try_compile "$LINENO"; then :
33999  glibcxx_cv_func__ldexpl_use=yes
34000else
34001  glibcxx_cv_func__ldexpl_use=no
34002fi
34003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34004      ac_ext=c
34005ac_cpp='$CPP $CPPFLAGS'
34006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34008ac_compiler_gnu=$ac_cv_c_compiler_gnu
34009
34010
34011fi
34012
34013  fi
34014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34015$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34016
34017    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34018      for ac_func in _ldexpl
34019do :
34020  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34021if test "x$ac_cv_func__ldexpl" = xyes; then :
34022  cat >>confdefs.h <<_ACEOF
34023#define HAVE__LDEXPL 1
34024_ACEOF
34025
34026fi
34027done
34028
34029    fi
34030  fi
34031
34032
34033
34034
34035
34036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34037$as_echo_n "checking for logl declaration... " >&6; }
34038  if test x${glibcxx_cv_func_logl_use+set} != xset; then
34039    if ${glibcxx_cv_func_logl_use+:} false; then :
34040  $as_echo_n "(cached) " >&6
34041else
34042
34043
34044      ac_ext=cpp
34045ac_cpp='$CXXCPP $CPPFLAGS'
34046ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34049
34050      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34051/* end confdefs.h.  */
34052#include <math.h>
34053		      #ifdef HAVE_IEEEFP_H
34054		      #include <ieeefp.h>
34055		      #endif
34056
34057int
34058main ()
34059{
34060 logl(0);
34061  ;
34062  return 0;
34063}
34064_ACEOF
34065if ac_fn_cxx_try_compile "$LINENO"; then :
34066  glibcxx_cv_func_logl_use=yes
34067else
34068  glibcxx_cv_func_logl_use=no
34069fi
34070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34071      ac_ext=c
34072ac_cpp='$CPP $CPPFLAGS'
34073ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34074ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34075ac_compiler_gnu=$ac_cv_c_compiler_gnu
34076
34077
34078fi
34079
34080  fi
34081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34082$as_echo "$glibcxx_cv_func_logl_use" >&6; }
34083
34084  if test x$glibcxx_cv_func_logl_use = x"yes"; then
34085    for ac_func in logl
34086do :
34087  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34088if test "x$ac_cv_func_logl" = xyes; then :
34089  cat >>confdefs.h <<_ACEOF
34090#define HAVE_LOGL 1
34091_ACEOF
34092
34093fi
34094done
34095
34096  else
34097
34098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34099$as_echo_n "checking for _logl declaration... " >&6; }
34100  if test x${glibcxx_cv_func__logl_use+set} != xset; then
34101    if ${glibcxx_cv_func__logl_use+:} false; then :
34102  $as_echo_n "(cached) " >&6
34103else
34104
34105
34106      ac_ext=cpp
34107ac_cpp='$CXXCPP $CPPFLAGS'
34108ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34109ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34110ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34111
34112      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34113/* end confdefs.h.  */
34114#include <math.h>
34115		      #ifdef HAVE_IEEEFP_H
34116		      #include <ieeefp.h>
34117		      #endif
34118
34119int
34120main ()
34121{
34122 _logl(0);
34123  ;
34124  return 0;
34125}
34126_ACEOF
34127if ac_fn_cxx_try_compile "$LINENO"; then :
34128  glibcxx_cv_func__logl_use=yes
34129else
34130  glibcxx_cv_func__logl_use=no
34131fi
34132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34133      ac_ext=c
34134ac_cpp='$CPP $CPPFLAGS'
34135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137ac_compiler_gnu=$ac_cv_c_compiler_gnu
34138
34139
34140fi
34141
34142  fi
34143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34144$as_echo "$glibcxx_cv_func__logl_use" >&6; }
34145
34146    if test x$glibcxx_cv_func__logl_use = x"yes"; then
34147      for ac_func in _logl
34148do :
34149  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34150if test "x$ac_cv_func__logl" = xyes; then :
34151  cat >>confdefs.h <<_ACEOF
34152#define HAVE__LOGL 1
34153_ACEOF
34154
34155fi
34156done
34157
34158    fi
34159  fi
34160
34161
34162
34163
34164
34165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34166$as_echo_n "checking for log10l declaration... " >&6; }
34167  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34168    if ${glibcxx_cv_func_log10l_use+:} false; then :
34169  $as_echo_n "(cached) " >&6
34170else
34171
34172
34173      ac_ext=cpp
34174ac_cpp='$CXXCPP $CPPFLAGS'
34175ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34176ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34177ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34178
34179      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34180/* end confdefs.h.  */
34181#include <math.h>
34182		      #ifdef HAVE_IEEEFP_H
34183		      #include <ieeefp.h>
34184		      #endif
34185
34186int
34187main ()
34188{
34189 log10l(0);
34190  ;
34191  return 0;
34192}
34193_ACEOF
34194if ac_fn_cxx_try_compile "$LINENO"; then :
34195  glibcxx_cv_func_log10l_use=yes
34196else
34197  glibcxx_cv_func_log10l_use=no
34198fi
34199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34200      ac_ext=c
34201ac_cpp='$CPP $CPPFLAGS'
34202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34204ac_compiler_gnu=$ac_cv_c_compiler_gnu
34205
34206
34207fi
34208
34209  fi
34210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34211$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34212
34213  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34214    for ac_func in log10l
34215do :
34216  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34217if test "x$ac_cv_func_log10l" = xyes; then :
34218  cat >>confdefs.h <<_ACEOF
34219#define HAVE_LOG10L 1
34220_ACEOF
34221
34222fi
34223done
34224
34225  else
34226
34227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34228$as_echo_n "checking for _log10l declaration... " >&6; }
34229  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34230    if ${glibcxx_cv_func__log10l_use+:} false; then :
34231  $as_echo_n "(cached) " >&6
34232else
34233
34234
34235      ac_ext=cpp
34236ac_cpp='$CXXCPP $CPPFLAGS'
34237ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34238ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34239ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34240
34241      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34242/* end confdefs.h.  */
34243#include <math.h>
34244		      #ifdef HAVE_IEEEFP_H
34245		      #include <ieeefp.h>
34246		      #endif
34247
34248int
34249main ()
34250{
34251 _log10l(0);
34252  ;
34253  return 0;
34254}
34255_ACEOF
34256if ac_fn_cxx_try_compile "$LINENO"; then :
34257  glibcxx_cv_func__log10l_use=yes
34258else
34259  glibcxx_cv_func__log10l_use=no
34260fi
34261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34262      ac_ext=c
34263ac_cpp='$CPP $CPPFLAGS'
34264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34266ac_compiler_gnu=$ac_cv_c_compiler_gnu
34267
34268
34269fi
34270
34271  fi
34272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34273$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34274
34275    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34276      for ac_func in _log10l
34277do :
34278  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34279if test "x$ac_cv_func__log10l" = xyes; then :
34280  cat >>confdefs.h <<_ACEOF
34281#define HAVE__LOG10L 1
34282_ACEOF
34283
34284fi
34285done
34286
34287    fi
34288  fi
34289
34290
34291
34292
34293
34294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34295$as_echo_n "checking for modfl declaration... " >&6; }
34296  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34297    if ${glibcxx_cv_func_modfl_use+:} false; then :
34298  $as_echo_n "(cached) " >&6
34299else
34300
34301
34302      ac_ext=cpp
34303ac_cpp='$CXXCPP $CPPFLAGS'
34304ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34305ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34306ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34307
34308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34309/* end confdefs.h.  */
34310#include <math.h>
34311int
34312main ()
34313{
34314 modfl(0, 0);
34315  ;
34316  return 0;
34317}
34318_ACEOF
34319if ac_fn_cxx_try_compile "$LINENO"; then :
34320  glibcxx_cv_func_modfl_use=yes
34321else
34322  glibcxx_cv_func_modfl_use=no
34323fi
34324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34325      ac_ext=c
34326ac_cpp='$CPP $CPPFLAGS'
34327ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34328ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34329ac_compiler_gnu=$ac_cv_c_compiler_gnu
34330
34331
34332fi
34333
34334  fi
34335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34336$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34337
34338  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34339    for ac_func in modfl
34340do :
34341  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34342if test "x$ac_cv_func_modfl" = xyes; then :
34343  cat >>confdefs.h <<_ACEOF
34344#define HAVE_MODFL 1
34345_ACEOF
34346
34347fi
34348done
34349
34350  else
34351
34352  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34353$as_echo_n "checking for _modfl declaration... " >&6; }
34354  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34355    if ${glibcxx_cv_func__modfl_use+:} false; then :
34356  $as_echo_n "(cached) " >&6
34357else
34358
34359
34360      ac_ext=cpp
34361ac_cpp='$CXXCPP $CPPFLAGS'
34362ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34363ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34364ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34365
34366      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34367/* end confdefs.h.  */
34368#include <math.h>
34369int
34370main ()
34371{
34372 _modfl(0, 0);
34373  ;
34374  return 0;
34375}
34376_ACEOF
34377if ac_fn_cxx_try_compile "$LINENO"; then :
34378  glibcxx_cv_func__modfl_use=yes
34379else
34380  glibcxx_cv_func__modfl_use=no
34381fi
34382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34383      ac_ext=c
34384ac_cpp='$CPP $CPPFLAGS'
34385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34387ac_compiler_gnu=$ac_cv_c_compiler_gnu
34388
34389
34390fi
34391
34392  fi
34393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34394$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34395
34396    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34397      for ac_func in _modfl
34398do :
34399  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34400if test "x$ac_cv_func__modfl" = xyes; then :
34401  cat >>confdefs.h <<_ACEOF
34402#define HAVE__MODFL 1
34403_ACEOF
34404
34405fi
34406done
34407
34408    fi
34409  fi
34410
34411
34412
34413
34414
34415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34416$as_echo_n "checking for powl declaration... " >&6; }
34417  if test x${glibcxx_cv_func_powl_use+set} != xset; then
34418    if ${glibcxx_cv_func_powl_use+:} false; then :
34419  $as_echo_n "(cached) " >&6
34420else
34421
34422
34423      ac_ext=cpp
34424ac_cpp='$CXXCPP $CPPFLAGS'
34425ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34426ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34427ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34428
34429      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34430/* end confdefs.h.  */
34431#include <math.h>
34432int
34433main ()
34434{
34435 powl(0, 0);
34436  ;
34437  return 0;
34438}
34439_ACEOF
34440if ac_fn_cxx_try_compile "$LINENO"; then :
34441  glibcxx_cv_func_powl_use=yes
34442else
34443  glibcxx_cv_func_powl_use=no
34444fi
34445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34446      ac_ext=c
34447ac_cpp='$CPP $CPPFLAGS'
34448ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34449ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34450ac_compiler_gnu=$ac_cv_c_compiler_gnu
34451
34452
34453fi
34454
34455  fi
34456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34457$as_echo "$glibcxx_cv_func_powl_use" >&6; }
34458
34459  if test x$glibcxx_cv_func_powl_use = x"yes"; then
34460    for ac_func in powl
34461do :
34462  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34463if test "x$ac_cv_func_powl" = xyes; then :
34464  cat >>confdefs.h <<_ACEOF
34465#define HAVE_POWL 1
34466_ACEOF
34467
34468fi
34469done
34470
34471  else
34472
34473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34474$as_echo_n "checking for _powl declaration... " >&6; }
34475  if test x${glibcxx_cv_func__powl_use+set} != xset; then
34476    if ${glibcxx_cv_func__powl_use+:} false; then :
34477  $as_echo_n "(cached) " >&6
34478else
34479
34480
34481      ac_ext=cpp
34482ac_cpp='$CXXCPP $CPPFLAGS'
34483ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34484ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34485ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34486
34487      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34488/* end confdefs.h.  */
34489#include <math.h>
34490int
34491main ()
34492{
34493 _powl(0, 0);
34494  ;
34495  return 0;
34496}
34497_ACEOF
34498if ac_fn_cxx_try_compile "$LINENO"; then :
34499  glibcxx_cv_func__powl_use=yes
34500else
34501  glibcxx_cv_func__powl_use=no
34502fi
34503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34504      ac_ext=c
34505ac_cpp='$CPP $CPPFLAGS'
34506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34508ac_compiler_gnu=$ac_cv_c_compiler_gnu
34509
34510
34511fi
34512
34513  fi
34514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34515$as_echo "$glibcxx_cv_func__powl_use" >&6; }
34516
34517    if test x$glibcxx_cv_func__powl_use = x"yes"; then
34518      for ac_func in _powl
34519do :
34520  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34521if test "x$ac_cv_func__powl" = xyes; then :
34522  cat >>confdefs.h <<_ACEOF
34523#define HAVE__POWL 1
34524_ACEOF
34525
34526fi
34527done
34528
34529    fi
34530  fi
34531
34532
34533
34534
34535
34536  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34537$as_echo_n "checking for sqrtl declaration... " >&6; }
34538  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34539    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34540  $as_echo_n "(cached) " >&6
34541else
34542
34543
34544      ac_ext=cpp
34545ac_cpp='$CXXCPP $CPPFLAGS'
34546ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34549
34550      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34551/* end confdefs.h.  */
34552#include <math.h>
34553		      #ifdef HAVE_IEEEFP_H
34554		      #include <ieeefp.h>
34555		      #endif
34556
34557int
34558main ()
34559{
34560 sqrtl(0);
34561  ;
34562  return 0;
34563}
34564_ACEOF
34565if ac_fn_cxx_try_compile "$LINENO"; then :
34566  glibcxx_cv_func_sqrtl_use=yes
34567else
34568  glibcxx_cv_func_sqrtl_use=no
34569fi
34570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34571      ac_ext=c
34572ac_cpp='$CPP $CPPFLAGS'
34573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575ac_compiler_gnu=$ac_cv_c_compiler_gnu
34576
34577
34578fi
34579
34580  fi
34581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34582$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34583
34584  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34585    for ac_func in sqrtl
34586do :
34587  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34588if test "x$ac_cv_func_sqrtl" = xyes; then :
34589  cat >>confdefs.h <<_ACEOF
34590#define HAVE_SQRTL 1
34591_ACEOF
34592
34593fi
34594done
34595
34596  else
34597
34598  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34599$as_echo_n "checking for _sqrtl declaration... " >&6; }
34600  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34601    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34602  $as_echo_n "(cached) " >&6
34603else
34604
34605
34606      ac_ext=cpp
34607ac_cpp='$CXXCPP $CPPFLAGS'
34608ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34609ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34610ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34611
34612      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34613/* end confdefs.h.  */
34614#include <math.h>
34615		      #ifdef HAVE_IEEEFP_H
34616		      #include <ieeefp.h>
34617		      #endif
34618
34619int
34620main ()
34621{
34622 _sqrtl(0);
34623  ;
34624  return 0;
34625}
34626_ACEOF
34627if ac_fn_cxx_try_compile "$LINENO"; then :
34628  glibcxx_cv_func__sqrtl_use=yes
34629else
34630  glibcxx_cv_func__sqrtl_use=no
34631fi
34632rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34633      ac_ext=c
34634ac_cpp='$CPP $CPPFLAGS'
34635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637ac_compiler_gnu=$ac_cv_c_compiler_gnu
34638
34639
34640fi
34641
34642  fi
34643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34644$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34645
34646    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34647      for ac_func in _sqrtl
34648do :
34649  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34650if test "x$ac_cv_func__sqrtl" = xyes; then :
34651  cat >>confdefs.h <<_ACEOF
34652#define HAVE__SQRTL 1
34653_ACEOF
34654
34655fi
34656done
34657
34658    fi
34659  fi
34660
34661
34662
34663
34664
34665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34666$as_echo_n "checking for sincosl declaration... " >&6; }
34667  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34668    if ${glibcxx_cv_func_sincosl_use+:} false; then :
34669  $as_echo_n "(cached) " >&6
34670else
34671
34672
34673      ac_ext=cpp
34674ac_cpp='$CXXCPP $CPPFLAGS'
34675ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34676ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34677ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34678
34679      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34680/* end confdefs.h.  */
34681#include <math.h>
34682int
34683main ()
34684{
34685 sincosl(0, 0, 0);
34686  ;
34687  return 0;
34688}
34689_ACEOF
34690if ac_fn_cxx_try_compile "$LINENO"; then :
34691  glibcxx_cv_func_sincosl_use=yes
34692else
34693  glibcxx_cv_func_sincosl_use=no
34694fi
34695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34696      ac_ext=c
34697ac_cpp='$CPP $CPPFLAGS'
34698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34700ac_compiler_gnu=$ac_cv_c_compiler_gnu
34701
34702
34703fi
34704
34705  fi
34706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34707$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34708
34709  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34710    for ac_func in sincosl
34711do :
34712  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34713if test "x$ac_cv_func_sincosl" = xyes; then :
34714  cat >>confdefs.h <<_ACEOF
34715#define HAVE_SINCOSL 1
34716_ACEOF
34717
34718fi
34719done
34720
34721  else
34722
34723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34724$as_echo_n "checking for _sincosl declaration... " >&6; }
34725  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34726    if ${glibcxx_cv_func__sincosl_use+:} false; then :
34727  $as_echo_n "(cached) " >&6
34728else
34729
34730
34731      ac_ext=cpp
34732ac_cpp='$CXXCPP $CPPFLAGS'
34733ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34734ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34735ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34736
34737      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34738/* end confdefs.h.  */
34739#include <math.h>
34740int
34741main ()
34742{
34743 _sincosl(0, 0, 0);
34744  ;
34745  return 0;
34746}
34747_ACEOF
34748if ac_fn_cxx_try_compile "$LINENO"; then :
34749  glibcxx_cv_func__sincosl_use=yes
34750else
34751  glibcxx_cv_func__sincosl_use=no
34752fi
34753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34754      ac_ext=c
34755ac_cpp='$CPP $CPPFLAGS'
34756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34758ac_compiler_gnu=$ac_cv_c_compiler_gnu
34759
34760
34761fi
34762
34763  fi
34764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34765$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34766
34767    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34768      for ac_func in _sincosl
34769do :
34770  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34771if test "x$ac_cv_func__sincosl" = xyes; then :
34772  cat >>confdefs.h <<_ACEOF
34773#define HAVE__SINCOSL 1
34774_ACEOF
34775
34776fi
34777done
34778
34779    fi
34780  fi
34781
34782
34783
34784
34785
34786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34787$as_echo_n "checking for finitel declaration... " >&6; }
34788  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34789    if ${glibcxx_cv_func_finitel_use+:} false; then :
34790  $as_echo_n "(cached) " >&6
34791else
34792
34793
34794      ac_ext=cpp
34795ac_cpp='$CXXCPP $CPPFLAGS'
34796ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34797ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34798ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34799
34800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34801/* end confdefs.h.  */
34802#include <math.h>
34803		      #ifdef HAVE_IEEEFP_H
34804		      #include <ieeefp.h>
34805		      #endif
34806
34807int
34808main ()
34809{
34810 finitel(0);
34811  ;
34812  return 0;
34813}
34814_ACEOF
34815if ac_fn_cxx_try_compile "$LINENO"; then :
34816  glibcxx_cv_func_finitel_use=yes
34817else
34818  glibcxx_cv_func_finitel_use=no
34819fi
34820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34821      ac_ext=c
34822ac_cpp='$CPP $CPPFLAGS'
34823ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34824ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34825ac_compiler_gnu=$ac_cv_c_compiler_gnu
34826
34827
34828fi
34829
34830  fi
34831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34832$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34833
34834  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34835    for ac_func in finitel
34836do :
34837  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34838if test "x$ac_cv_func_finitel" = xyes; then :
34839  cat >>confdefs.h <<_ACEOF
34840#define HAVE_FINITEL 1
34841_ACEOF
34842
34843fi
34844done
34845
34846  else
34847
34848  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34849$as_echo_n "checking for _finitel declaration... " >&6; }
34850  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34851    if ${glibcxx_cv_func__finitel_use+:} false; then :
34852  $as_echo_n "(cached) " >&6
34853else
34854
34855
34856      ac_ext=cpp
34857ac_cpp='$CXXCPP $CPPFLAGS'
34858ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34859ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34860ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34861
34862      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34863/* end confdefs.h.  */
34864#include <math.h>
34865		      #ifdef HAVE_IEEEFP_H
34866		      #include <ieeefp.h>
34867		      #endif
34868
34869int
34870main ()
34871{
34872 _finitel(0);
34873  ;
34874  return 0;
34875}
34876_ACEOF
34877if ac_fn_cxx_try_compile "$LINENO"; then :
34878  glibcxx_cv_func__finitel_use=yes
34879else
34880  glibcxx_cv_func__finitel_use=no
34881fi
34882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34883      ac_ext=c
34884ac_cpp='$CPP $CPPFLAGS'
34885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34887ac_compiler_gnu=$ac_cv_c_compiler_gnu
34888
34889
34890fi
34891
34892  fi
34893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34894$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34895
34896    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34897      for ac_func in _finitel
34898do :
34899  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34900if test "x$ac_cv_func__finitel" = xyes; then :
34901  cat >>confdefs.h <<_ACEOF
34902#define HAVE__FINITEL 1
34903_ACEOF
34904
34905fi
34906done
34907
34908    fi
34909  fi
34910
34911
34912
34913
34914  LIBS="$ac_save_LIBS"
34915  CXXFLAGS="$ac_save_CXXFLAGS"
34916
34917
34918  ac_test_CXXFLAGS="${CXXFLAGS+set}"
34919  ac_save_CXXFLAGS="$CXXFLAGS"
34920  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34921
34922
34923  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34924$as_echo_n "checking for at_quick_exit declaration... " >&6; }
34925  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34926    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
34927  $as_echo_n "(cached) " >&6
34928else
34929
34930
34931      ac_ext=cpp
34932ac_cpp='$CXXCPP $CPPFLAGS'
34933ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34934ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34935ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34936
34937      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34938/* end confdefs.h.  */
34939#include <stdlib.h>
34940int
34941main ()
34942{
34943 at_quick_exit(0);
34944  ;
34945  return 0;
34946}
34947_ACEOF
34948if ac_fn_cxx_try_compile "$LINENO"; then :
34949  glibcxx_cv_func_at_quick_exit_use=yes
34950else
34951  glibcxx_cv_func_at_quick_exit_use=no
34952fi
34953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34954      ac_ext=c
34955ac_cpp='$CPP $CPPFLAGS'
34956ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34957ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34958ac_compiler_gnu=$ac_cv_c_compiler_gnu
34959
34960
34961fi
34962
34963  fi
34964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34965$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34966  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34967    for ac_func in at_quick_exit
34968do :
34969  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34970if test "x$ac_cv_func_at_quick_exit" = xyes; then :
34971  cat >>confdefs.h <<_ACEOF
34972#define HAVE_AT_QUICK_EXIT 1
34973_ACEOF
34974
34975fi
34976done
34977
34978  fi
34979
34980
34981  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34982$as_echo_n "checking for quick_exit declaration... " >&6; }
34983  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34984    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
34985  $as_echo_n "(cached) " >&6
34986else
34987
34988
34989      ac_ext=cpp
34990ac_cpp='$CXXCPP $CPPFLAGS'
34991ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34992ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34993ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34994
34995      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34996/* end confdefs.h.  */
34997#include <stdlib.h>
34998int
34999main ()
35000{
35001 quick_exit(0);
35002  ;
35003  return 0;
35004}
35005_ACEOF
35006if ac_fn_cxx_try_compile "$LINENO"; then :
35007  glibcxx_cv_func_quick_exit_use=yes
35008else
35009  glibcxx_cv_func_quick_exit_use=no
35010fi
35011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35012      ac_ext=c
35013ac_cpp='$CPP $CPPFLAGS'
35014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016ac_compiler_gnu=$ac_cv_c_compiler_gnu
35017
35018
35019fi
35020
35021  fi
35022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35023$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35024  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35025    for ac_func in quick_exit
35026do :
35027  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35028if test "x$ac_cv_func_quick_exit" = xyes; then :
35029  cat >>confdefs.h <<_ACEOF
35030#define HAVE_QUICK_EXIT 1
35031_ACEOF
35032
35033fi
35034done
35035
35036  fi
35037
35038
35039  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35040$as_echo_n "checking for strtold declaration... " >&6; }
35041  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35042    if ${glibcxx_cv_func_strtold_use+:} false; then :
35043  $as_echo_n "(cached) " >&6
35044else
35045
35046
35047      ac_ext=cpp
35048ac_cpp='$CXXCPP $CPPFLAGS'
35049ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35052
35053      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054/* end confdefs.h.  */
35055#include <stdlib.h>
35056int
35057main ()
35058{
35059 strtold(0, 0);
35060  ;
35061  return 0;
35062}
35063_ACEOF
35064if ac_fn_cxx_try_compile "$LINENO"; then :
35065  glibcxx_cv_func_strtold_use=yes
35066else
35067  glibcxx_cv_func_strtold_use=no
35068fi
35069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070      ac_ext=c
35071ac_cpp='$CPP $CPPFLAGS'
35072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35074ac_compiler_gnu=$ac_cv_c_compiler_gnu
35075
35076
35077fi
35078
35079  fi
35080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35081$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35082  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35083    for ac_func in strtold
35084do :
35085  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35086if test "x$ac_cv_func_strtold" = xyes; then :
35087  cat >>confdefs.h <<_ACEOF
35088#define HAVE_STRTOLD 1
35089_ACEOF
35090
35091fi
35092done
35093
35094  fi
35095
35096
35097
35098
35099  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35100$as_echo_n "checking for strtof declaration... " >&6; }
35101  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35102    if ${glibcxx_cv_func_strtof_use+:} false; then :
35103  $as_echo_n "(cached) " >&6
35104else
35105
35106
35107      ac_ext=cpp
35108ac_cpp='$CXXCPP $CPPFLAGS'
35109ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35110ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35111ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35112
35113      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35114/* end confdefs.h.  */
35115#include <stdlib.h>
35116int
35117main ()
35118{
35119 strtof(0, 0);
35120  ;
35121  return 0;
35122}
35123_ACEOF
35124if ac_fn_cxx_try_compile "$LINENO"; then :
35125  glibcxx_cv_func_strtof_use=yes
35126else
35127  glibcxx_cv_func_strtof_use=no
35128fi
35129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35130      ac_ext=c
35131ac_cpp='$CPP $CPPFLAGS'
35132ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35133ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35134ac_compiler_gnu=$ac_cv_c_compiler_gnu
35135
35136
35137fi
35138
35139  fi
35140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35141$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35142  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35143    for ac_func in strtof
35144do :
35145  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35146if test "x$ac_cv_func_strtof" = xyes; then :
35147  cat >>confdefs.h <<_ACEOF
35148#define HAVE_STRTOF 1
35149_ACEOF
35150
35151fi
35152done
35153
35154  fi
35155
35156
35157
35158
35159  CXXFLAGS="$ac_save_CXXFLAGS"
35160
35161
35162    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35163
35164    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35165
35166    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35167
35168    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35169
35170
35171    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35172
35173    $as_echo "#define HAVE_MODF 1" >>confdefs.h
35174
35175    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35176
35177    ;;
35178
35179  *-aix*)
35180
35181  # If we're not using GNU ld, then there's no point in even trying these
35182  # tests.  Check for that first.  We should have already tested for gld
35183  # by now (in libtool), but require it now just to be safe...
35184  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35185  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35186
35187
35188
35189  # The name set by libtool depends on the version of libtool.  Shame on us
35190  # for depending on an impl detail, but c'est la vie.  Older versions used
35191  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35192  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35193  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
35194  # set (hence we're using an older libtool), then set it.
35195  if test x${with_gnu_ld+set} != xset; then
35196    if test x${ac_cv_prog_gnu_ld+set} != xset; then
35197      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
35198      with_gnu_ld=no
35199    else
35200      with_gnu_ld=$ac_cv_prog_gnu_ld
35201    fi
35202  fi
35203
35204  # Start by getting the version number.  I think the libtool test already
35205  # does some of this, but throws away the result.
35206  glibcxx_ld_is_gold=no
35207  if test x"$with_gnu_ld" = x"yes"; then
35208    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35209$as_echo_n "checking for ld version... " >&6; }
35210
35211    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35212      glibcxx_ld_is_gold=yes
35213    fi
35214    ldver=`$LD --version 2>/dev/null |
35215	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35216
35217    glibcxx_gnu_ld_version=`echo $ldver | \
35218	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35219    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35220$as_echo "$glibcxx_gnu_ld_version" >&6; }
35221  fi
35222
35223  # Set --gc-sections.
35224  glibcxx_have_gc_sections=no
35225  if test "$glibcxx_ld_is_gold" = "yes"; then
35226    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35227      glibcxx_have_gc_sections=yes
35228    fi
35229  else
35230    glibcxx_gcsections_min_ld=21602
35231    if test x"$with_gnu_ld" = x"yes" &&
35232	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35233      glibcxx_have_gc_sections=yes
35234    fi
35235  fi
35236  if test "$glibcxx_have_gc_sections" = "yes"; then
35237    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
35238    # NB: This flag only works reliably after 2.16.1. Configure tests
35239    # for this are difficult, so hard wire a value that should work.
35240
35241    ac_test_CFLAGS="${CFLAGS+set}"
35242    ac_save_CFLAGS="$CFLAGS"
35243    CFLAGS='-Wl,--gc-sections'
35244
35245    # Check for -Wl,--gc-sections
35246    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35247$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35248    if test x$gcc_no_link = xyes; then
35249  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35250fi
35251cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35252/* end confdefs.h.  */
35253 int one(void) { return 1; }
35254     int two(void) { return 2; }
35255
35256int
35257main ()
35258{
35259 two();
35260  ;
35261  return 0;
35262}
35263_ACEOF
35264if ac_fn_c_try_link "$LINENO"; then :
35265  ac_gcsections=yes
35266else
35267  ac_gcsections=no
35268fi
35269rm -f core conftest.err conftest.$ac_objext \
35270    conftest$ac_exeext conftest.$ac_ext
35271    if test "$ac_gcsections" = "yes"; then
35272      rm -f conftest.c
35273      touch conftest.c
35274      if $CC -c conftest.c; then
35275	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35276	   grep "Warning: gc-sections option ignored" > /dev/null; then
35277	  ac_gcsections=no
35278	fi
35279      fi
35280      rm -f conftest.c conftest.o conftest
35281    fi
35282    if test "$ac_gcsections" = "yes"; then
35283      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35284    fi
35285    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35286$as_echo "$ac_gcsections" >&6; }
35287
35288    if test "$ac_test_CFLAGS" = set; then
35289      CFLAGS="$ac_save_CFLAGS"
35290    else
35291      # this is the suspicious part
35292      CFLAGS=''
35293    fi
35294  fi
35295
35296  # Set -z,relro.
35297  # Note this is only for shared objects.
35298  ac_ld_relro=no
35299  if test x"$with_gnu_ld" = x"yes"; then
35300    # cygwin and mingw uses PE, which has no ELF relro support,
35301    # multi target ld may confuse configure machinery
35302    case "$host" in
35303    *-*-cygwin*)
35304     ;;
35305    *-*-mingw*)
35306     ;;
35307    *)
35308      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35309$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35310      cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35311      if test -n "$cxx_z_relo"; then
35312        OPT_LDFLAGS="-Wl,-z,relro"
35313        ac_ld_relro=yes
35314      fi
35315      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35316$as_echo "$ac_ld_relro" >&6; }
35317    esac
35318  fi
35319
35320  # Set linker optimization flags.
35321  if test x"$with_gnu_ld" = x"yes"; then
35322    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35323  fi
35324
35325
35326
35327
35328
35329  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35330  ac_save_CXXFLAGS="$CXXFLAGS"
35331  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35332
35333    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35334$as_echo_n "checking for sin in -lm... " >&6; }
35335if ${ac_cv_lib_m_sin+:} false; then :
35336  $as_echo_n "(cached) " >&6
35337else
35338  ac_check_lib_save_LIBS=$LIBS
35339LIBS="-lm  $LIBS"
35340if test x$gcc_no_link = xyes; then
35341  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35342fi
35343cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35344/* end confdefs.h.  */
35345
35346/* Override any GCC internal prototype to avoid an error.
35347   Use char because int might match the return type of a GCC
35348   builtin and then its argument prototype would still apply.  */
35349#ifdef __cplusplus
35350extern "C"
35351#endif
35352char sin ();
35353int
35354main ()
35355{
35356return sin ();
35357  ;
35358  return 0;
35359}
35360_ACEOF
35361if ac_fn_c_try_link "$LINENO"; then :
35362  ac_cv_lib_m_sin=yes
35363else
35364  ac_cv_lib_m_sin=no
35365fi
35366rm -f core conftest.err conftest.$ac_objext \
35367    conftest$ac_exeext conftest.$ac_ext
35368LIBS=$ac_check_lib_save_LIBS
35369fi
35370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35371$as_echo "$ac_cv_lib_m_sin" >&6; }
35372if test "x$ac_cv_lib_m_sin" = xyes; then :
35373  libm="-lm"
35374fi
35375
35376  ac_save_LIBS="$LIBS"
35377  LIBS="$LIBS $libm"
35378
35379
35380
35381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35382$as_echo_n "checking for isinf declaration... " >&6; }
35383  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35384    if ${glibcxx_cv_func_isinf_use+:} false; then :
35385  $as_echo_n "(cached) " >&6
35386else
35387
35388
35389      ac_ext=cpp
35390ac_cpp='$CXXCPP $CPPFLAGS'
35391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35394
35395      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35396/* end confdefs.h.  */
35397#include <math.h>
35398		      #ifdef HAVE_IEEEFP_H
35399		      #include <ieeefp.h>
35400		      #endif
35401
35402int
35403main ()
35404{
35405 isinf(0);
35406  ;
35407  return 0;
35408}
35409_ACEOF
35410if ac_fn_cxx_try_compile "$LINENO"; then :
35411  glibcxx_cv_func_isinf_use=yes
35412else
35413  glibcxx_cv_func_isinf_use=no
35414fi
35415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35416      ac_ext=c
35417ac_cpp='$CPP $CPPFLAGS'
35418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35420ac_compiler_gnu=$ac_cv_c_compiler_gnu
35421
35422
35423fi
35424
35425  fi
35426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35427$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35428
35429  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35430    for ac_func in isinf
35431do :
35432  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35433if test "x$ac_cv_func_isinf" = xyes; then :
35434  cat >>confdefs.h <<_ACEOF
35435#define HAVE_ISINF 1
35436_ACEOF
35437
35438fi
35439done
35440
35441  else
35442
35443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35444$as_echo_n "checking for _isinf declaration... " >&6; }
35445  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35446    if ${glibcxx_cv_func__isinf_use+:} false; then :
35447  $as_echo_n "(cached) " >&6
35448else
35449
35450
35451      ac_ext=cpp
35452ac_cpp='$CXXCPP $CPPFLAGS'
35453ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35454ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35455ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35456
35457      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35458/* end confdefs.h.  */
35459#include <math.h>
35460		      #ifdef HAVE_IEEEFP_H
35461		      #include <ieeefp.h>
35462		      #endif
35463
35464int
35465main ()
35466{
35467 _isinf(0);
35468  ;
35469  return 0;
35470}
35471_ACEOF
35472if ac_fn_cxx_try_compile "$LINENO"; then :
35473  glibcxx_cv_func__isinf_use=yes
35474else
35475  glibcxx_cv_func__isinf_use=no
35476fi
35477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35478      ac_ext=c
35479ac_cpp='$CPP $CPPFLAGS'
35480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35482ac_compiler_gnu=$ac_cv_c_compiler_gnu
35483
35484
35485fi
35486
35487  fi
35488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35489$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35490
35491    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35492      for ac_func in _isinf
35493do :
35494  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35495if test "x$ac_cv_func__isinf" = xyes; then :
35496  cat >>confdefs.h <<_ACEOF
35497#define HAVE__ISINF 1
35498_ACEOF
35499
35500fi
35501done
35502
35503    fi
35504  fi
35505
35506
35507
35508
35509
35510  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35511$as_echo_n "checking for isnan declaration... " >&6; }
35512  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35513    if ${glibcxx_cv_func_isnan_use+:} false; then :
35514  $as_echo_n "(cached) " >&6
35515else
35516
35517
35518      ac_ext=cpp
35519ac_cpp='$CXXCPP $CPPFLAGS'
35520ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35523
35524      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35525/* end confdefs.h.  */
35526#include <math.h>
35527		      #ifdef HAVE_IEEEFP_H
35528		      #include <ieeefp.h>
35529		      #endif
35530
35531int
35532main ()
35533{
35534 isnan(0);
35535  ;
35536  return 0;
35537}
35538_ACEOF
35539if ac_fn_cxx_try_compile "$LINENO"; then :
35540  glibcxx_cv_func_isnan_use=yes
35541else
35542  glibcxx_cv_func_isnan_use=no
35543fi
35544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35545      ac_ext=c
35546ac_cpp='$CPP $CPPFLAGS'
35547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35549ac_compiler_gnu=$ac_cv_c_compiler_gnu
35550
35551
35552fi
35553
35554  fi
35555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35556$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35557
35558  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35559    for ac_func in isnan
35560do :
35561  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35562if test "x$ac_cv_func_isnan" = xyes; then :
35563  cat >>confdefs.h <<_ACEOF
35564#define HAVE_ISNAN 1
35565_ACEOF
35566
35567fi
35568done
35569
35570  else
35571
35572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35573$as_echo_n "checking for _isnan declaration... " >&6; }
35574  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35575    if ${glibcxx_cv_func__isnan_use+:} false; then :
35576  $as_echo_n "(cached) " >&6
35577else
35578
35579
35580      ac_ext=cpp
35581ac_cpp='$CXXCPP $CPPFLAGS'
35582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35585
35586      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35587/* end confdefs.h.  */
35588#include <math.h>
35589		      #ifdef HAVE_IEEEFP_H
35590		      #include <ieeefp.h>
35591		      #endif
35592
35593int
35594main ()
35595{
35596 _isnan(0);
35597  ;
35598  return 0;
35599}
35600_ACEOF
35601if ac_fn_cxx_try_compile "$LINENO"; then :
35602  glibcxx_cv_func__isnan_use=yes
35603else
35604  glibcxx_cv_func__isnan_use=no
35605fi
35606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35607      ac_ext=c
35608ac_cpp='$CPP $CPPFLAGS'
35609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35611ac_compiler_gnu=$ac_cv_c_compiler_gnu
35612
35613
35614fi
35615
35616  fi
35617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35618$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35619
35620    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35621      for ac_func in _isnan
35622do :
35623  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35624if test "x$ac_cv_func__isnan" = xyes; then :
35625  cat >>confdefs.h <<_ACEOF
35626#define HAVE__ISNAN 1
35627_ACEOF
35628
35629fi
35630done
35631
35632    fi
35633  fi
35634
35635
35636
35637
35638
35639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35640$as_echo_n "checking for finite declaration... " >&6; }
35641  if test x${glibcxx_cv_func_finite_use+set} != xset; then
35642    if ${glibcxx_cv_func_finite_use+:} false; then :
35643  $as_echo_n "(cached) " >&6
35644else
35645
35646
35647      ac_ext=cpp
35648ac_cpp='$CXXCPP $CPPFLAGS'
35649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35652
35653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35654/* end confdefs.h.  */
35655#include <math.h>
35656		      #ifdef HAVE_IEEEFP_H
35657		      #include <ieeefp.h>
35658		      #endif
35659
35660int
35661main ()
35662{
35663 finite(0);
35664  ;
35665  return 0;
35666}
35667_ACEOF
35668if ac_fn_cxx_try_compile "$LINENO"; then :
35669  glibcxx_cv_func_finite_use=yes
35670else
35671  glibcxx_cv_func_finite_use=no
35672fi
35673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35674      ac_ext=c
35675ac_cpp='$CPP $CPPFLAGS'
35676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35678ac_compiler_gnu=$ac_cv_c_compiler_gnu
35679
35680
35681fi
35682
35683  fi
35684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35685$as_echo "$glibcxx_cv_func_finite_use" >&6; }
35686
35687  if test x$glibcxx_cv_func_finite_use = x"yes"; then
35688    for ac_func in finite
35689do :
35690  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35691if test "x$ac_cv_func_finite" = xyes; then :
35692  cat >>confdefs.h <<_ACEOF
35693#define HAVE_FINITE 1
35694_ACEOF
35695
35696fi
35697done
35698
35699  else
35700
35701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35702$as_echo_n "checking for _finite declaration... " >&6; }
35703  if test x${glibcxx_cv_func__finite_use+set} != xset; then
35704    if ${glibcxx_cv_func__finite_use+:} false; then :
35705  $as_echo_n "(cached) " >&6
35706else
35707
35708
35709      ac_ext=cpp
35710ac_cpp='$CXXCPP $CPPFLAGS'
35711ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35712ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35713ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35714
35715      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35716/* end confdefs.h.  */
35717#include <math.h>
35718		      #ifdef HAVE_IEEEFP_H
35719		      #include <ieeefp.h>
35720		      #endif
35721
35722int
35723main ()
35724{
35725 _finite(0);
35726  ;
35727  return 0;
35728}
35729_ACEOF
35730if ac_fn_cxx_try_compile "$LINENO"; then :
35731  glibcxx_cv_func__finite_use=yes
35732else
35733  glibcxx_cv_func__finite_use=no
35734fi
35735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35736      ac_ext=c
35737ac_cpp='$CPP $CPPFLAGS'
35738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740ac_compiler_gnu=$ac_cv_c_compiler_gnu
35741
35742
35743fi
35744
35745  fi
35746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35747$as_echo "$glibcxx_cv_func__finite_use" >&6; }
35748
35749    if test x$glibcxx_cv_func__finite_use = x"yes"; then
35750      for ac_func in _finite
35751do :
35752  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35753if test "x$ac_cv_func__finite" = xyes; then :
35754  cat >>confdefs.h <<_ACEOF
35755#define HAVE__FINITE 1
35756_ACEOF
35757
35758fi
35759done
35760
35761    fi
35762  fi
35763
35764
35765
35766
35767
35768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35769$as_echo_n "checking for sincos declaration... " >&6; }
35770  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35771    if ${glibcxx_cv_func_sincos_use+:} false; then :
35772  $as_echo_n "(cached) " >&6
35773else
35774
35775
35776      ac_ext=cpp
35777ac_cpp='$CXXCPP $CPPFLAGS'
35778ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35779ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35780ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35781
35782      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35783/* end confdefs.h.  */
35784#include <math.h>
35785int
35786main ()
35787{
35788 sincos(0, 0, 0);
35789  ;
35790  return 0;
35791}
35792_ACEOF
35793if ac_fn_cxx_try_compile "$LINENO"; then :
35794  glibcxx_cv_func_sincos_use=yes
35795else
35796  glibcxx_cv_func_sincos_use=no
35797fi
35798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35799      ac_ext=c
35800ac_cpp='$CPP $CPPFLAGS'
35801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803ac_compiler_gnu=$ac_cv_c_compiler_gnu
35804
35805
35806fi
35807
35808  fi
35809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35810$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35811
35812  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35813    for ac_func in sincos
35814do :
35815  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35816if test "x$ac_cv_func_sincos" = xyes; then :
35817  cat >>confdefs.h <<_ACEOF
35818#define HAVE_SINCOS 1
35819_ACEOF
35820
35821fi
35822done
35823
35824  else
35825
35826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35827$as_echo_n "checking for _sincos declaration... " >&6; }
35828  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35829    if ${glibcxx_cv_func__sincos_use+:} false; then :
35830  $as_echo_n "(cached) " >&6
35831else
35832
35833
35834      ac_ext=cpp
35835ac_cpp='$CXXCPP $CPPFLAGS'
35836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35839
35840      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35841/* end confdefs.h.  */
35842#include <math.h>
35843int
35844main ()
35845{
35846 _sincos(0, 0, 0);
35847  ;
35848  return 0;
35849}
35850_ACEOF
35851if ac_fn_cxx_try_compile "$LINENO"; then :
35852  glibcxx_cv_func__sincos_use=yes
35853else
35854  glibcxx_cv_func__sincos_use=no
35855fi
35856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35857      ac_ext=c
35858ac_cpp='$CPP $CPPFLAGS'
35859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35861ac_compiler_gnu=$ac_cv_c_compiler_gnu
35862
35863
35864fi
35865
35866  fi
35867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35868$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35869
35870    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35871      for ac_func in _sincos
35872do :
35873  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35874if test "x$ac_cv_func__sincos" = xyes; then :
35875  cat >>confdefs.h <<_ACEOF
35876#define HAVE__SINCOS 1
35877_ACEOF
35878
35879fi
35880done
35881
35882    fi
35883  fi
35884
35885
35886
35887
35888
35889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35890$as_echo_n "checking for fpclass declaration... " >&6; }
35891  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35892    if ${glibcxx_cv_func_fpclass_use+:} false; then :
35893  $as_echo_n "(cached) " >&6
35894else
35895
35896
35897      ac_ext=cpp
35898ac_cpp='$CXXCPP $CPPFLAGS'
35899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35902
35903      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35904/* end confdefs.h.  */
35905#include <math.h>
35906		      #ifdef HAVE_IEEEFP_H
35907		      #include <ieeefp.h>
35908		      #endif
35909
35910int
35911main ()
35912{
35913 fpclass(0);
35914  ;
35915  return 0;
35916}
35917_ACEOF
35918if ac_fn_cxx_try_compile "$LINENO"; then :
35919  glibcxx_cv_func_fpclass_use=yes
35920else
35921  glibcxx_cv_func_fpclass_use=no
35922fi
35923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35924      ac_ext=c
35925ac_cpp='$CPP $CPPFLAGS'
35926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35928ac_compiler_gnu=$ac_cv_c_compiler_gnu
35929
35930
35931fi
35932
35933  fi
35934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35935$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35936
35937  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35938    for ac_func in fpclass
35939do :
35940  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35941if test "x$ac_cv_func_fpclass" = xyes; then :
35942  cat >>confdefs.h <<_ACEOF
35943#define HAVE_FPCLASS 1
35944_ACEOF
35945
35946fi
35947done
35948
35949  else
35950
35951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35952$as_echo_n "checking for _fpclass declaration... " >&6; }
35953  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35954    if ${glibcxx_cv_func__fpclass_use+:} false; then :
35955  $as_echo_n "(cached) " >&6
35956else
35957
35958
35959      ac_ext=cpp
35960ac_cpp='$CXXCPP $CPPFLAGS'
35961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35964
35965      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35966/* end confdefs.h.  */
35967#include <math.h>
35968		      #ifdef HAVE_IEEEFP_H
35969		      #include <ieeefp.h>
35970		      #endif
35971
35972int
35973main ()
35974{
35975 _fpclass(0);
35976  ;
35977  return 0;
35978}
35979_ACEOF
35980if ac_fn_cxx_try_compile "$LINENO"; then :
35981  glibcxx_cv_func__fpclass_use=yes
35982else
35983  glibcxx_cv_func__fpclass_use=no
35984fi
35985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35986      ac_ext=c
35987ac_cpp='$CPP $CPPFLAGS'
35988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35990ac_compiler_gnu=$ac_cv_c_compiler_gnu
35991
35992
35993fi
35994
35995  fi
35996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35997$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35998
35999    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36000      for ac_func in _fpclass
36001do :
36002  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36003if test "x$ac_cv_func__fpclass" = xyes; then :
36004  cat >>confdefs.h <<_ACEOF
36005#define HAVE__FPCLASS 1
36006_ACEOF
36007
36008fi
36009done
36010
36011    fi
36012  fi
36013
36014
36015
36016
36017
36018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36019$as_echo_n "checking for qfpclass declaration... " >&6; }
36020  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36021    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36022  $as_echo_n "(cached) " >&6
36023else
36024
36025
36026      ac_ext=cpp
36027ac_cpp='$CXXCPP $CPPFLAGS'
36028ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36031
36032      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36033/* end confdefs.h.  */
36034#include <math.h>
36035		      #ifdef HAVE_IEEEFP_H
36036		      #include <ieeefp.h>
36037		      #endif
36038
36039int
36040main ()
36041{
36042 qfpclass(0);
36043  ;
36044  return 0;
36045}
36046_ACEOF
36047if ac_fn_cxx_try_compile "$LINENO"; then :
36048  glibcxx_cv_func_qfpclass_use=yes
36049else
36050  glibcxx_cv_func_qfpclass_use=no
36051fi
36052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36053      ac_ext=c
36054ac_cpp='$CPP $CPPFLAGS'
36055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058
36059
36060fi
36061
36062  fi
36063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36064$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36065
36066  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36067    for ac_func in qfpclass
36068do :
36069  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36070if test "x$ac_cv_func_qfpclass" = xyes; then :
36071  cat >>confdefs.h <<_ACEOF
36072#define HAVE_QFPCLASS 1
36073_ACEOF
36074
36075fi
36076done
36077
36078  else
36079
36080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36081$as_echo_n "checking for _qfpclass declaration... " >&6; }
36082  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36083    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36084  $as_echo_n "(cached) " >&6
36085else
36086
36087
36088      ac_ext=cpp
36089ac_cpp='$CXXCPP $CPPFLAGS'
36090ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36093
36094      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36095/* end confdefs.h.  */
36096#include <math.h>
36097		      #ifdef HAVE_IEEEFP_H
36098		      #include <ieeefp.h>
36099		      #endif
36100
36101int
36102main ()
36103{
36104 _qfpclass(0);
36105  ;
36106  return 0;
36107}
36108_ACEOF
36109if ac_fn_cxx_try_compile "$LINENO"; then :
36110  glibcxx_cv_func__qfpclass_use=yes
36111else
36112  glibcxx_cv_func__qfpclass_use=no
36113fi
36114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36115      ac_ext=c
36116ac_cpp='$CPP $CPPFLAGS'
36117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119ac_compiler_gnu=$ac_cv_c_compiler_gnu
36120
36121
36122fi
36123
36124  fi
36125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36126$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36127
36128    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36129      for ac_func in _qfpclass
36130do :
36131  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36132if test "x$ac_cv_func__qfpclass" = xyes; then :
36133  cat >>confdefs.h <<_ACEOF
36134#define HAVE__QFPCLASS 1
36135_ACEOF
36136
36137fi
36138done
36139
36140    fi
36141  fi
36142
36143
36144
36145
36146
36147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36148$as_echo_n "checking for hypot declaration... " >&6; }
36149  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36150    if ${glibcxx_cv_func_hypot_use+:} false; then :
36151  $as_echo_n "(cached) " >&6
36152else
36153
36154
36155      ac_ext=cpp
36156ac_cpp='$CXXCPP $CPPFLAGS'
36157ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36158ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36159ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36160
36161      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36162/* end confdefs.h.  */
36163#include <math.h>
36164int
36165main ()
36166{
36167 hypot(0, 0);
36168  ;
36169  return 0;
36170}
36171_ACEOF
36172if ac_fn_cxx_try_compile "$LINENO"; then :
36173  glibcxx_cv_func_hypot_use=yes
36174else
36175  glibcxx_cv_func_hypot_use=no
36176fi
36177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36178      ac_ext=c
36179ac_cpp='$CPP $CPPFLAGS'
36180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182ac_compiler_gnu=$ac_cv_c_compiler_gnu
36183
36184
36185fi
36186
36187  fi
36188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36189$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36190
36191  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36192    for ac_func in hypot
36193do :
36194  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36195if test "x$ac_cv_func_hypot" = xyes; then :
36196  cat >>confdefs.h <<_ACEOF
36197#define HAVE_HYPOT 1
36198_ACEOF
36199
36200fi
36201done
36202
36203  else
36204
36205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36206$as_echo_n "checking for _hypot declaration... " >&6; }
36207  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36208    if ${glibcxx_cv_func__hypot_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>
36222int
36223main ()
36224{
36225 _hypot(0, 0);
36226  ;
36227  return 0;
36228}
36229_ACEOF
36230if ac_fn_cxx_try_compile "$LINENO"; then :
36231  glibcxx_cv_func__hypot_use=yes
36232else
36233  glibcxx_cv_func__hypot_use=no
36234fi
36235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36236      ac_ext=c
36237ac_cpp='$CPP $CPPFLAGS'
36238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36240ac_compiler_gnu=$ac_cv_c_compiler_gnu
36241
36242
36243fi
36244
36245  fi
36246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36247$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36248
36249    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36250      for ac_func in _hypot
36251do :
36252  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36253if test "x$ac_cv_func__hypot" = xyes; then :
36254  cat >>confdefs.h <<_ACEOF
36255#define HAVE__HYPOT 1
36256_ACEOF
36257
36258fi
36259done
36260
36261    fi
36262  fi
36263
36264
36265
36266
36267
36268    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36269$as_echo_n "checking for float trig functions... " >&6; }
36270  if ${glibcxx_cv_func_float_trig_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>
36284int
36285main ()
36286{
36287acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36288  ;
36289  return 0;
36290}
36291_ACEOF
36292if ac_fn_cxx_try_compile "$LINENO"; then :
36293  glibcxx_cv_func_float_trig_use=yes
36294else
36295  glibcxx_cv_func_float_trig_use=no
36296fi
36297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36298    ac_ext=c
36299ac_cpp='$CPP $CPPFLAGS'
36300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302ac_compiler_gnu=$ac_cv_c_compiler_gnu
36303
36304fi
36305
36306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36307$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36308  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36309    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36310do :
36311  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36312ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36313if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36314  cat >>confdefs.h <<_ACEOF
36315#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36316_ACEOF
36317
36318fi
36319done
36320
36321  else
36322    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36323$as_echo_n "checking for _float trig functions... " >&6; }
36324    if ${glibcxx_cv_func__float_trig_use+:} false; then :
36325  $as_echo_n "(cached) " >&6
36326else
36327
36328
36329      ac_ext=cpp
36330ac_cpp='$CXXCPP $CPPFLAGS'
36331ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36334
36335      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36336/* end confdefs.h.  */
36337#include <math.h>
36338int
36339main ()
36340{
36341_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36342  ;
36343  return 0;
36344}
36345_ACEOF
36346if ac_fn_cxx_try_compile "$LINENO"; then :
36347  glibcxx_cv_func__float_trig_use=yes
36348else
36349  glibcxx_cv_func__float_trig_use=no
36350fi
36351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36352      ac_ext=c
36353ac_cpp='$CPP $CPPFLAGS'
36354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36356ac_compiler_gnu=$ac_cv_c_compiler_gnu
36357
36358fi
36359
36360    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36361$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36362    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36363      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36364do :
36365  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36366ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36367if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36368  cat >>confdefs.h <<_ACEOF
36369#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36370_ACEOF
36371
36372fi
36373done
36374
36375    fi
36376  fi
36377
36378
36379
36380
36381
36382    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36383$as_echo_n "checking for float round functions... " >&6; }
36384  if ${glibcxx_cv_func_float_round_use+:} false; then :
36385  $as_echo_n "(cached) " >&6
36386else
36387
36388
36389    ac_ext=cpp
36390ac_cpp='$CXXCPP $CPPFLAGS'
36391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36394
36395    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36396/* end confdefs.h.  */
36397#include <math.h>
36398int
36399main ()
36400{
36401ceilf (0); floorf (0);
36402  ;
36403  return 0;
36404}
36405_ACEOF
36406if ac_fn_cxx_try_compile "$LINENO"; then :
36407  glibcxx_cv_func_float_round_use=yes
36408else
36409  glibcxx_cv_func_float_round_use=no
36410fi
36411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36412    ac_ext=c
36413ac_cpp='$CPP $CPPFLAGS'
36414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36416ac_compiler_gnu=$ac_cv_c_compiler_gnu
36417
36418fi
36419
36420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36421$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36422  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36423    for ac_func in ceilf floorf
36424do :
36425  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36426ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36427if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36428  cat >>confdefs.h <<_ACEOF
36429#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36430_ACEOF
36431
36432fi
36433done
36434
36435  else
36436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36437$as_echo_n "checking for _float round functions... " >&6; }
36438    if ${glibcxx_cv_func__float_round_use+:} false; then :
36439  $as_echo_n "(cached) " >&6
36440else
36441
36442
36443      ac_ext=cpp
36444ac_cpp='$CXXCPP $CPPFLAGS'
36445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36448
36449      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36450/* end confdefs.h.  */
36451#include <math.h>
36452int
36453main ()
36454{
36455_ceilf (0); _floorf (0);
36456  ;
36457  return 0;
36458}
36459_ACEOF
36460if ac_fn_cxx_try_compile "$LINENO"; then :
36461  glibcxx_cv_func__float_round_use=yes
36462else
36463  glibcxx_cv_func__float_round_use=no
36464fi
36465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36466      ac_ext=c
36467ac_cpp='$CPP $CPPFLAGS'
36468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36470ac_compiler_gnu=$ac_cv_c_compiler_gnu
36471
36472fi
36473
36474    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36475$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36476    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36477      for ac_func in _ceilf _floorf
36478do :
36479  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36480ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36481if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36482  cat >>confdefs.h <<_ACEOF
36483#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36484_ACEOF
36485
36486fi
36487done
36488
36489    fi
36490  fi
36491
36492
36493
36494
36495
36496
36497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36498$as_echo_n "checking for expf declaration... " >&6; }
36499  if test x${glibcxx_cv_func_expf_use+set} != xset; then
36500    if ${glibcxx_cv_func_expf_use+:} false; then :
36501  $as_echo_n "(cached) " >&6
36502else
36503
36504
36505      ac_ext=cpp
36506ac_cpp='$CXXCPP $CPPFLAGS'
36507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36510
36511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36512/* end confdefs.h.  */
36513#include <math.h>
36514		      #ifdef HAVE_IEEEFP_H
36515		      #include <ieeefp.h>
36516		      #endif
36517
36518int
36519main ()
36520{
36521 expf(0);
36522  ;
36523  return 0;
36524}
36525_ACEOF
36526if ac_fn_cxx_try_compile "$LINENO"; then :
36527  glibcxx_cv_func_expf_use=yes
36528else
36529  glibcxx_cv_func_expf_use=no
36530fi
36531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36532      ac_ext=c
36533ac_cpp='$CPP $CPPFLAGS'
36534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36536ac_compiler_gnu=$ac_cv_c_compiler_gnu
36537
36538
36539fi
36540
36541  fi
36542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36543$as_echo "$glibcxx_cv_func_expf_use" >&6; }
36544
36545  if test x$glibcxx_cv_func_expf_use = x"yes"; then
36546    for ac_func in expf
36547do :
36548  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36549if test "x$ac_cv_func_expf" = xyes; then :
36550  cat >>confdefs.h <<_ACEOF
36551#define HAVE_EXPF 1
36552_ACEOF
36553
36554fi
36555done
36556
36557  else
36558
36559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36560$as_echo_n "checking for _expf declaration... " >&6; }
36561  if test x${glibcxx_cv_func__expf_use+set} != xset; then
36562    if ${glibcxx_cv_func__expf_use+:} false; then :
36563  $as_echo_n "(cached) " >&6
36564else
36565
36566
36567      ac_ext=cpp
36568ac_cpp='$CXXCPP $CPPFLAGS'
36569ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36572
36573      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36574/* end confdefs.h.  */
36575#include <math.h>
36576		      #ifdef HAVE_IEEEFP_H
36577		      #include <ieeefp.h>
36578		      #endif
36579
36580int
36581main ()
36582{
36583 _expf(0);
36584  ;
36585  return 0;
36586}
36587_ACEOF
36588if ac_fn_cxx_try_compile "$LINENO"; then :
36589  glibcxx_cv_func__expf_use=yes
36590else
36591  glibcxx_cv_func__expf_use=no
36592fi
36593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36594      ac_ext=c
36595ac_cpp='$CPP $CPPFLAGS'
36596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598ac_compiler_gnu=$ac_cv_c_compiler_gnu
36599
36600
36601fi
36602
36603  fi
36604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36605$as_echo "$glibcxx_cv_func__expf_use" >&6; }
36606
36607    if test x$glibcxx_cv_func__expf_use = x"yes"; then
36608      for ac_func in _expf
36609do :
36610  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36611if test "x$ac_cv_func__expf" = xyes; then :
36612  cat >>confdefs.h <<_ACEOF
36613#define HAVE__EXPF 1
36614_ACEOF
36615
36616fi
36617done
36618
36619    fi
36620  fi
36621
36622
36623
36624
36625
36626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36627$as_echo_n "checking for isnanf declaration... " >&6; }
36628  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36629    if ${glibcxx_cv_func_isnanf_use+:} false; then :
36630  $as_echo_n "(cached) " >&6
36631else
36632
36633
36634      ac_ext=cpp
36635ac_cpp='$CXXCPP $CPPFLAGS'
36636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36639
36640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36641/* end confdefs.h.  */
36642#include <math.h>
36643		      #ifdef HAVE_IEEEFP_H
36644		      #include <ieeefp.h>
36645		      #endif
36646
36647int
36648main ()
36649{
36650 isnanf(0);
36651  ;
36652  return 0;
36653}
36654_ACEOF
36655if ac_fn_cxx_try_compile "$LINENO"; then :
36656  glibcxx_cv_func_isnanf_use=yes
36657else
36658  glibcxx_cv_func_isnanf_use=no
36659fi
36660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36661      ac_ext=c
36662ac_cpp='$CPP $CPPFLAGS'
36663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36665ac_compiler_gnu=$ac_cv_c_compiler_gnu
36666
36667
36668fi
36669
36670  fi
36671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36672$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36673
36674  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36675    for ac_func in isnanf
36676do :
36677  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36678if test "x$ac_cv_func_isnanf" = xyes; then :
36679  cat >>confdefs.h <<_ACEOF
36680#define HAVE_ISNANF 1
36681_ACEOF
36682
36683fi
36684done
36685
36686  else
36687
36688  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36689$as_echo_n "checking for _isnanf declaration... " >&6; }
36690  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36691    if ${glibcxx_cv_func__isnanf_use+:} false; then :
36692  $as_echo_n "(cached) " >&6
36693else
36694
36695
36696      ac_ext=cpp
36697ac_cpp='$CXXCPP $CPPFLAGS'
36698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36701
36702      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36703/* end confdefs.h.  */
36704#include <math.h>
36705		      #ifdef HAVE_IEEEFP_H
36706		      #include <ieeefp.h>
36707		      #endif
36708
36709int
36710main ()
36711{
36712 _isnanf(0);
36713  ;
36714  return 0;
36715}
36716_ACEOF
36717if ac_fn_cxx_try_compile "$LINENO"; then :
36718  glibcxx_cv_func__isnanf_use=yes
36719else
36720  glibcxx_cv_func__isnanf_use=no
36721fi
36722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36723      ac_ext=c
36724ac_cpp='$CPP $CPPFLAGS'
36725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727ac_compiler_gnu=$ac_cv_c_compiler_gnu
36728
36729
36730fi
36731
36732  fi
36733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36734$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36735
36736    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36737      for ac_func in _isnanf
36738do :
36739  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36740if test "x$ac_cv_func__isnanf" = xyes; then :
36741  cat >>confdefs.h <<_ACEOF
36742#define HAVE__ISNANF 1
36743_ACEOF
36744
36745fi
36746done
36747
36748    fi
36749  fi
36750
36751
36752
36753
36754
36755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36756$as_echo_n "checking for isinff declaration... " >&6; }
36757  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36758    if ${glibcxx_cv_func_isinff_use+:} false; then :
36759  $as_echo_n "(cached) " >&6
36760else
36761
36762
36763      ac_ext=cpp
36764ac_cpp='$CXXCPP $CPPFLAGS'
36765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36768
36769      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36770/* end confdefs.h.  */
36771#include <math.h>
36772		      #ifdef HAVE_IEEEFP_H
36773		      #include <ieeefp.h>
36774		      #endif
36775
36776int
36777main ()
36778{
36779 isinff(0);
36780  ;
36781  return 0;
36782}
36783_ACEOF
36784if ac_fn_cxx_try_compile "$LINENO"; then :
36785  glibcxx_cv_func_isinff_use=yes
36786else
36787  glibcxx_cv_func_isinff_use=no
36788fi
36789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36790      ac_ext=c
36791ac_cpp='$CPP $CPPFLAGS'
36792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36794ac_compiler_gnu=$ac_cv_c_compiler_gnu
36795
36796
36797fi
36798
36799  fi
36800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36801$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36802
36803  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36804    for ac_func in isinff
36805do :
36806  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36807if test "x$ac_cv_func_isinff" = xyes; then :
36808  cat >>confdefs.h <<_ACEOF
36809#define HAVE_ISINFF 1
36810_ACEOF
36811
36812fi
36813done
36814
36815  else
36816
36817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36818$as_echo_n "checking for _isinff declaration... " >&6; }
36819  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36820    if ${glibcxx_cv_func__isinff_use+:} false; then :
36821  $as_echo_n "(cached) " >&6
36822else
36823
36824
36825      ac_ext=cpp
36826ac_cpp='$CXXCPP $CPPFLAGS'
36827ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36830
36831      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36832/* end confdefs.h.  */
36833#include <math.h>
36834		      #ifdef HAVE_IEEEFP_H
36835		      #include <ieeefp.h>
36836		      #endif
36837
36838int
36839main ()
36840{
36841 _isinff(0);
36842  ;
36843  return 0;
36844}
36845_ACEOF
36846if ac_fn_cxx_try_compile "$LINENO"; then :
36847  glibcxx_cv_func__isinff_use=yes
36848else
36849  glibcxx_cv_func__isinff_use=no
36850fi
36851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36852      ac_ext=c
36853ac_cpp='$CPP $CPPFLAGS'
36854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36856ac_compiler_gnu=$ac_cv_c_compiler_gnu
36857
36858
36859fi
36860
36861  fi
36862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36863$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36864
36865    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36866      for ac_func in _isinff
36867do :
36868  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36869if test "x$ac_cv_func__isinff" = xyes; then :
36870  cat >>confdefs.h <<_ACEOF
36871#define HAVE__ISINFF 1
36872_ACEOF
36873
36874fi
36875done
36876
36877    fi
36878  fi
36879
36880
36881
36882
36883
36884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36885$as_echo_n "checking for atan2f declaration... " >&6; }
36886  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36887    if ${glibcxx_cv_func_atan2f_use+:} false; then :
36888  $as_echo_n "(cached) " >&6
36889else
36890
36891
36892      ac_ext=cpp
36893ac_cpp='$CXXCPP $CPPFLAGS'
36894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36897
36898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36899/* end confdefs.h.  */
36900#include <math.h>
36901int
36902main ()
36903{
36904 atan2f(0, 0);
36905  ;
36906  return 0;
36907}
36908_ACEOF
36909if ac_fn_cxx_try_compile "$LINENO"; then :
36910  glibcxx_cv_func_atan2f_use=yes
36911else
36912  glibcxx_cv_func_atan2f_use=no
36913fi
36914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36915      ac_ext=c
36916ac_cpp='$CPP $CPPFLAGS'
36917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919ac_compiler_gnu=$ac_cv_c_compiler_gnu
36920
36921
36922fi
36923
36924  fi
36925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36926$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36927
36928  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36929    for ac_func in atan2f
36930do :
36931  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36932if test "x$ac_cv_func_atan2f" = xyes; then :
36933  cat >>confdefs.h <<_ACEOF
36934#define HAVE_ATAN2F 1
36935_ACEOF
36936
36937fi
36938done
36939
36940  else
36941
36942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36943$as_echo_n "checking for _atan2f declaration... " >&6; }
36944  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36945    if ${glibcxx_cv_func__atan2f_use+:} false; then :
36946  $as_echo_n "(cached) " >&6
36947else
36948
36949
36950      ac_ext=cpp
36951ac_cpp='$CXXCPP $CPPFLAGS'
36952ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36953ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36954ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36955
36956      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36957/* end confdefs.h.  */
36958#include <math.h>
36959int
36960main ()
36961{
36962 _atan2f(0, 0);
36963  ;
36964  return 0;
36965}
36966_ACEOF
36967if ac_fn_cxx_try_compile "$LINENO"; then :
36968  glibcxx_cv_func__atan2f_use=yes
36969else
36970  glibcxx_cv_func__atan2f_use=no
36971fi
36972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36973      ac_ext=c
36974ac_cpp='$CPP $CPPFLAGS'
36975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977ac_compiler_gnu=$ac_cv_c_compiler_gnu
36978
36979
36980fi
36981
36982  fi
36983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36984$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36985
36986    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36987      for ac_func in _atan2f
36988do :
36989  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36990if test "x$ac_cv_func__atan2f" = xyes; then :
36991  cat >>confdefs.h <<_ACEOF
36992#define HAVE__ATAN2F 1
36993_ACEOF
36994
36995fi
36996done
36997
36998    fi
36999  fi
37000
37001
37002
37003
37004
37005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37006$as_echo_n "checking for fabsf declaration... " >&6; }
37007  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37008    if ${glibcxx_cv_func_fabsf_use+:} false; then :
37009  $as_echo_n "(cached) " >&6
37010else
37011
37012
37013      ac_ext=cpp
37014ac_cpp='$CXXCPP $CPPFLAGS'
37015ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37016ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37017ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37018
37019      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37020/* end confdefs.h.  */
37021#include <math.h>
37022		      #ifdef HAVE_IEEEFP_H
37023		      #include <ieeefp.h>
37024		      #endif
37025
37026int
37027main ()
37028{
37029 fabsf(0);
37030  ;
37031  return 0;
37032}
37033_ACEOF
37034if ac_fn_cxx_try_compile "$LINENO"; then :
37035  glibcxx_cv_func_fabsf_use=yes
37036else
37037  glibcxx_cv_func_fabsf_use=no
37038fi
37039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040      ac_ext=c
37041ac_cpp='$CPP $CPPFLAGS'
37042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044ac_compiler_gnu=$ac_cv_c_compiler_gnu
37045
37046
37047fi
37048
37049  fi
37050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37051$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37052
37053  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37054    for ac_func in fabsf
37055do :
37056  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37057if test "x$ac_cv_func_fabsf" = xyes; then :
37058  cat >>confdefs.h <<_ACEOF
37059#define HAVE_FABSF 1
37060_ACEOF
37061
37062fi
37063done
37064
37065  else
37066
37067  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37068$as_echo_n "checking for _fabsf declaration... " >&6; }
37069  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37070    if ${glibcxx_cv_func__fabsf_use+:} false; then :
37071  $as_echo_n "(cached) " >&6
37072else
37073
37074
37075      ac_ext=cpp
37076ac_cpp='$CXXCPP $CPPFLAGS'
37077ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37080
37081      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37082/* end confdefs.h.  */
37083#include <math.h>
37084		      #ifdef HAVE_IEEEFP_H
37085		      #include <ieeefp.h>
37086		      #endif
37087
37088int
37089main ()
37090{
37091 _fabsf(0);
37092  ;
37093  return 0;
37094}
37095_ACEOF
37096if ac_fn_cxx_try_compile "$LINENO"; then :
37097  glibcxx_cv_func__fabsf_use=yes
37098else
37099  glibcxx_cv_func__fabsf_use=no
37100fi
37101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37102      ac_ext=c
37103ac_cpp='$CPP $CPPFLAGS'
37104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106ac_compiler_gnu=$ac_cv_c_compiler_gnu
37107
37108
37109fi
37110
37111  fi
37112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37113$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37114
37115    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37116      for ac_func in _fabsf
37117do :
37118  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37119if test "x$ac_cv_func__fabsf" = xyes; then :
37120  cat >>confdefs.h <<_ACEOF
37121#define HAVE__FABSF 1
37122_ACEOF
37123
37124fi
37125done
37126
37127    fi
37128  fi
37129
37130
37131
37132
37133
37134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37135$as_echo_n "checking for fmodf declaration... " >&6; }
37136  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37137    if ${glibcxx_cv_func_fmodf_use+:} false; then :
37138  $as_echo_n "(cached) " >&6
37139else
37140
37141
37142      ac_ext=cpp
37143ac_cpp='$CXXCPP $CPPFLAGS'
37144ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37147
37148      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37149/* end confdefs.h.  */
37150#include <math.h>
37151int
37152main ()
37153{
37154 fmodf(0, 0);
37155  ;
37156  return 0;
37157}
37158_ACEOF
37159if ac_fn_cxx_try_compile "$LINENO"; then :
37160  glibcxx_cv_func_fmodf_use=yes
37161else
37162  glibcxx_cv_func_fmodf_use=no
37163fi
37164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37165      ac_ext=c
37166ac_cpp='$CPP $CPPFLAGS'
37167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169ac_compiler_gnu=$ac_cv_c_compiler_gnu
37170
37171
37172fi
37173
37174  fi
37175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37176$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37177
37178  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37179    for ac_func in fmodf
37180do :
37181  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37182if test "x$ac_cv_func_fmodf" = xyes; then :
37183  cat >>confdefs.h <<_ACEOF
37184#define HAVE_FMODF 1
37185_ACEOF
37186
37187fi
37188done
37189
37190  else
37191
37192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37193$as_echo_n "checking for _fmodf declaration... " >&6; }
37194  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37195    if ${glibcxx_cv_func__fmodf_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>
37209int
37210main ()
37211{
37212 _fmodf(0, 0);
37213  ;
37214  return 0;
37215}
37216_ACEOF
37217if ac_fn_cxx_try_compile "$LINENO"; then :
37218  glibcxx_cv_func__fmodf_use=yes
37219else
37220  glibcxx_cv_func__fmodf_use=no
37221fi
37222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37223      ac_ext=c
37224ac_cpp='$CPP $CPPFLAGS'
37225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37227ac_compiler_gnu=$ac_cv_c_compiler_gnu
37228
37229
37230fi
37231
37232  fi
37233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37234$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37235
37236    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37237      for ac_func in _fmodf
37238do :
37239  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37240if test "x$ac_cv_func__fmodf" = xyes; then :
37241  cat >>confdefs.h <<_ACEOF
37242#define HAVE__FMODF 1
37243_ACEOF
37244
37245fi
37246done
37247
37248    fi
37249  fi
37250
37251
37252
37253
37254
37255  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37256$as_echo_n "checking for frexpf declaration... " >&6; }
37257  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37258    if ${glibcxx_cv_func_frexpf_use+:} false; then :
37259  $as_echo_n "(cached) " >&6
37260else
37261
37262
37263      ac_ext=cpp
37264ac_cpp='$CXXCPP $CPPFLAGS'
37265ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37266ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37267ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37268
37269      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37270/* end confdefs.h.  */
37271#include <math.h>
37272int
37273main ()
37274{
37275 frexpf(0, 0);
37276  ;
37277  return 0;
37278}
37279_ACEOF
37280if ac_fn_cxx_try_compile "$LINENO"; then :
37281  glibcxx_cv_func_frexpf_use=yes
37282else
37283  glibcxx_cv_func_frexpf_use=no
37284fi
37285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37286      ac_ext=c
37287ac_cpp='$CPP $CPPFLAGS'
37288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290ac_compiler_gnu=$ac_cv_c_compiler_gnu
37291
37292
37293fi
37294
37295  fi
37296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37297$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37298
37299  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37300    for ac_func in frexpf
37301do :
37302  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37303if test "x$ac_cv_func_frexpf" = xyes; then :
37304  cat >>confdefs.h <<_ACEOF
37305#define HAVE_FREXPF 1
37306_ACEOF
37307
37308fi
37309done
37310
37311  else
37312
37313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37314$as_echo_n "checking for _frexpf declaration... " >&6; }
37315  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37316    if ${glibcxx_cv_func__frexpf_use+:} false; then :
37317  $as_echo_n "(cached) " >&6
37318else
37319
37320
37321      ac_ext=cpp
37322ac_cpp='$CXXCPP $CPPFLAGS'
37323ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37326
37327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37328/* end confdefs.h.  */
37329#include <math.h>
37330int
37331main ()
37332{
37333 _frexpf(0, 0);
37334  ;
37335  return 0;
37336}
37337_ACEOF
37338if ac_fn_cxx_try_compile "$LINENO"; then :
37339  glibcxx_cv_func__frexpf_use=yes
37340else
37341  glibcxx_cv_func__frexpf_use=no
37342fi
37343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37344      ac_ext=c
37345ac_cpp='$CPP $CPPFLAGS'
37346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37348ac_compiler_gnu=$ac_cv_c_compiler_gnu
37349
37350
37351fi
37352
37353  fi
37354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37355$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37356
37357    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37358      for ac_func in _frexpf
37359do :
37360  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37361if test "x$ac_cv_func__frexpf" = xyes; then :
37362  cat >>confdefs.h <<_ACEOF
37363#define HAVE__FREXPF 1
37364_ACEOF
37365
37366fi
37367done
37368
37369    fi
37370  fi
37371
37372
37373
37374
37375
37376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37377$as_echo_n "checking for hypotf declaration... " >&6; }
37378  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37379    if ${glibcxx_cv_func_hypotf_use+:} false; then :
37380  $as_echo_n "(cached) " >&6
37381else
37382
37383
37384      ac_ext=cpp
37385ac_cpp='$CXXCPP $CPPFLAGS'
37386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37389
37390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37391/* end confdefs.h.  */
37392#include <math.h>
37393int
37394main ()
37395{
37396 hypotf(0, 0);
37397  ;
37398  return 0;
37399}
37400_ACEOF
37401if ac_fn_cxx_try_compile "$LINENO"; then :
37402  glibcxx_cv_func_hypotf_use=yes
37403else
37404  glibcxx_cv_func_hypotf_use=no
37405fi
37406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37407      ac_ext=c
37408ac_cpp='$CPP $CPPFLAGS'
37409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411ac_compiler_gnu=$ac_cv_c_compiler_gnu
37412
37413
37414fi
37415
37416  fi
37417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37418$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37419
37420  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37421    for ac_func in hypotf
37422do :
37423  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37424if test "x$ac_cv_func_hypotf" = xyes; then :
37425  cat >>confdefs.h <<_ACEOF
37426#define HAVE_HYPOTF 1
37427_ACEOF
37428
37429fi
37430done
37431
37432  else
37433
37434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37435$as_echo_n "checking for _hypotf declaration... " >&6; }
37436  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37437    if ${glibcxx_cv_func__hypotf_use+:} false; then :
37438  $as_echo_n "(cached) " >&6
37439else
37440
37441
37442      ac_ext=cpp
37443ac_cpp='$CXXCPP $CPPFLAGS'
37444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37447
37448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37449/* end confdefs.h.  */
37450#include <math.h>
37451int
37452main ()
37453{
37454 _hypotf(0, 0);
37455  ;
37456  return 0;
37457}
37458_ACEOF
37459if ac_fn_cxx_try_compile "$LINENO"; then :
37460  glibcxx_cv_func__hypotf_use=yes
37461else
37462  glibcxx_cv_func__hypotf_use=no
37463fi
37464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37465      ac_ext=c
37466ac_cpp='$CPP $CPPFLAGS'
37467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37469ac_compiler_gnu=$ac_cv_c_compiler_gnu
37470
37471
37472fi
37473
37474  fi
37475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37476$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37477
37478    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37479      for ac_func in _hypotf
37480do :
37481  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37482if test "x$ac_cv_func__hypotf" = xyes; then :
37483  cat >>confdefs.h <<_ACEOF
37484#define HAVE__HYPOTF 1
37485_ACEOF
37486
37487fi
37488done
37489
37490    fi
37491  fi
37492
37493
37494
37495
37496
37497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37498$as_echo_n "checking for ldexpf declaration... " >&6; }
37499  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37500    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37501  $as_echo_n "(cached) " >&6
37502else
37503
37504
37505      ac_ext=cpp
37506ac_cpp='$CXXCPP $CPPFLAGS'
37507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37510
37511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37512/* end confdefs.h.  */
37513#include <math.h>
37514int
37515main ()
37516{
37517 ldexpf(0, 0);
37518  ;
37519  return 0;
37520}
37521_ACEOF
37522if ac_fn_cxx_try_compile "$LINENO"; then :
37523  glibcxx_cv_func_ldexpf_use=yes
37524else
37525  glibcxx_cv_func_ldexpf_use=no
37526fi
37527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37528      ac_ext=c
37529ac_cpp='$CPP $CPPFLAGS'
37530ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37531ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37532ac_compiler_gnu=$ac_cv_c_compiler_gnu
37533
37534
37535fi
37536
37537  fi
37538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37539$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37540
37541  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37542    for ac_func in ldexpf
37543do :
37544  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37545if test "x$ac_cv_func_ldexpf" = xyes; then :
37546  cat >>confdefs.h <<_ACEOF
37547#define HAVE_LDEXPF 1
37548_ACEOF
37549
37550fi
37551done
37552
37553  else
37554
37555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37556$as_echo_n "checking for _ldexpf declaration... " >&6; }
37557  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37558    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37559  $as_echo_n "(cached) " >&6
37560else
37561
37562
37563      ac_ext=cpp
37564ac_cpp='$CXXCPP $CPPFLAGS'
37565ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37566ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37567ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37568
37569      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37570/* end confdefs.h.  */
37571#include <math.h>
37572int
37573main ()
37574{
37575 _ldexpf(0, 0);
37576  ;
37577  return 0;
37578}
37579_ACEOF
37580if ac_fn_cxx_try_compile "$LINENO"; then :
37581  glibcxx_cv_func__ldexpf_use=yes
37582else
37583  glibcxx_cv_func__ldexpf_use=no
37584fi
37585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37586      ac_ext=c
37587ac_cpp='$CPP $CPPFLAGS'
37588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37590ac_compiler_gnu=$ac_cv_c_compiler_gnu
37591
37592
37593fi
37594
37595  fi
37596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37597$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37598
37599    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37600      for ac_func in _ldexpf
37601do :
37602  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37603if test "x$ac_cv_func__ldexpf" = xyes; then :
37604  cat >>confdefs.h <<_ACEOF
37605#define HAVE__LDEXPF 1
37606_ACEOF
37607
37608fi
37609done
37610
37611    fi
37612  fi
37613
37614
37615
37616
37617
37618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37619$as_echo_n "checking for logf declaration... " >&6; }
37620  if test x${glibcxx_cv_func_logf_use+set} != xset; then
37621    if ${glibcxx_cv_func_logf_use+:} false; then :
37622  $as_echo_n "(cached) " >&6
37623else
37624
37625
37626      ac_ext=cpp
37627ac_cpp='$CXXCPP $CPPFLAGS'
37628ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37629ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37630ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37631
37632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37633/* end confdefs.h.  */
37634#include <math.h>
37635		      #ifdef HAVE_IEEEFP_H
37636		      #include <ieeefp.h>
37637		      #endif
37638
37639int
37640main ()
37641{
37642 logf(0);
37643  ;
37644  return 0;
37645}
37646_ACEOF
37647if ac_fn_cxx_try_compile "$LINENO"; then :
37648  glibcxx_cv_func_logf_use=yes
37649else
37650  glibcxx_cv_func_logf_use=no
37651fi
37652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37653      ac_ext=c
37654ac_cpp='$CPP $CPPFLAGS'
37655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37657ac_compiler_gnu=$ac_cv_c_compiler_gnu
37658
37659
37660fi
37661
37662  fi
37663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37664$as_echo "$glibcxx_cv_func_logf_use" >&6; }
37665
37666  if test x$glibcxx_cv_func_logf_use = x"yes"; then
37667    for ac_func in logf
37668do :
37669  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37670if test "x$ac_cv_func_logf" = xyes; then :
37671  cat >>confdefs.h <<_ACEOF
37672#define HAVE_LOGF 1
37673_ACEOF
37674
37675fi
37676done
37677
37678  else
37679
37680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37681$as_echo_n "checking for _logf declaration... " >&6; }
37682  if test x${glibcxx_cv_func__logf_use+set} != xset; then
37683    if ${glibcxx_cv_func__logf_use+:} false; then :
37684  $as_echo_n "(cached) " >&6
37685else
37686
37687
37688      ac_ext=cpp
37689ac_cpp='$CXXCPP $CPPFLAGS'
37690ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37693
37694      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37695/* end confdefs.h.  */
37696#include <math.h>
37697		      #ifdef HAVE_IEEEFP_H
37698		      #include <ieeefp.h>
37699		      #endif
37700
37701int
37702main ()
37703{
37704 _logf(0);
37705  ;
37706  return 0;
37707}
37708_ACEOF
37709if ac_fn_cxx_try_compile "$LINENO"; then :
37710  glibcxx_cv_func__logf_use=yes
37711else
37712  glibcxx_cv_func__logf_use=no
37713fi
37714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37715      ac_ext=c
37716ac_cpp='$CPP $CPPFLAGS'
37717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37719ac_compiler_gnu=$ac_cv_c_compiler_gnu
37720
37721
37722fi
37723
37724  fi
37725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37726$as_echo "$glibcxx_cv_func__logf_use" >&6; }
37727
37728    if test x$glibcxx_cv_func__logf_use = x"yes"; then
37729      for ac_func in _logf
37730do :
37731  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37732if test "x$ac_cv_func__logf" = xyes; then :
37733  cat >>confdefs.h <<_ACEOF
37734#define HAVE__LOGF 1
37735_ACEOF
37736
37737fi
37738done
37739
37740    fi
37741  fi
37742
37743
37744
37745
37746
37747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37748$as_echo_n "checking for log10f declaration... " >&6; }
37749  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37750    if ${glibcxx_cv_func_log10f_use+:} false; then :
37751  $as_echo_n "(cached) " >&6
37752else
37753
37754
37755      ac_ext=cpp
37756ac_cpp='$CXXCPP $CPPFLAGS'
37757ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37758ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37759ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37760
37761      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37762/* end confdefs.h.  */
37763#include <math.h>
37764		      #ifdef HAVE_IEEEFP_H
37765		      #include <ieeefp.h>
37766		      #endif
37767
37768int
37769main ()
37770{
37771 log10f(0);
37772  ;
37773  return 0;
37774}
37775_ACEOF
37776if ac_fn_cxx_try_compile "$LINENO"; then :
37777  glibcxx_cv_func_log10f_use=yes
37778else
37779  glibcxx_cv_func_log10f_use=no
37780fi
37781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37782      ac_ext=c
37783ac_cpp='$CPP $CPPFLAGS'
37784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786ac_compiler_gnu=$ac_cv_c_compiler_gnu
37787
37788
37789fi
37790
37791  fi
37792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37793$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37794
37795  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37796    for ac_func in log10f
37797do :
37798  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37799if test "x$ac_cv_func_log10f" = xyes; then :
37800  cat >>confdefs.h <<_ACEOF
37801#define HAVE_LOG10F 1
37802_ACEOF
37803
37804fi
37805done
37806
37807  else
37808
37809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37810$as_echo_n "checking for _log10f declaration... " >&6; }
37811  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37812    if ${glibcxx_cv_func__log10f_use+:} false; then :
37813  $as_echo_n "(cached) " >&6
37814else
37815
37816
37817      ac_ext=cpp
37818ac_cpp='$CXXCPP $CPPFLAGS'
37819ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37822
37823      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37824/* end confdefs.h.  */
37825#include <math.h>
37826		      #ifdef HAVE_IEEEFP_H
37827		      #include <ieeefp.h>
37828		      #endif
37829
37830int
37831main ()
37832{
37833 _log10f(0);
37834  ;
37835  return 0;
37836}
37837_ACEOF
37838if ac_fn_cxx_try_compile "$LINENO"; then :
37839  glibcxx_cv_func__log10f_use=yes
37840else
37841  glibcxx_cv_func__log10f_use=no
37842fi
37843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37844      ac_ext=c
37845ac_cpp='$CPP $CPPFLAGS'
37846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848ac_compiler_gnu=$ac_cv_c_compiler_gnu
37849
37850
37851fi
37852
37853  fi
37854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37855$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37856
37857    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37858      for ac_func in _log10f
37859do :
37860  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37861if test "x$ac_cv_func__log10f" = xyes; then :
37862  cat >>confdefs.h <<_ACEOF
37863#define HAVE__LOG10F 1
37864_ACEOF
37865
37866fi
37867done
37868
37869    fi
37870  fi
37871
37872
37873
37874
37875
37876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37877$as_echo_n "checking for modff declaration... " >&6; }
37878  if test x${glibcxx_cv_func_modff_use+set} != xset; then
37879    if ${glibcxx_cv_func_modff_use+:} false; then :
37880  $as_echo_n "(cached) " >&6
37881else
37882
37883
37884      ac_ext=cpp
37885ac_cpp='$CXXCPP $CPPFLAGS'
37886ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37887ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37888ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37889
37890      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37891/* end confdefs.h.  */
37892#include <math.h>
37893int
37894main ()
37895{
37896 modff(0, 0);
37897  ;
37898  return 0;
37899}
37900_ACEOF
37901if ac_fn_cxx_try_compile "$LINENO"; then :
37902  glibcxx_cv_func_modff_use=yes
37903else
37904  glibcxx_cv_func_modff_use=no
37905fi
37906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37907      ac_ext=c
37908ac_cpp='$CPP $CPPFLAGS'
37909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911ac_compiler_gnu=$ac_cv_c_compiler_gnu
37912
37913
37914fi
37915
37916  fi
37917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37918$as_echo "$glibcxx_cv_func_modff_use" >&6; }
37919
37920  if test x$glibcxx_cv_func_modff_use = x"yes"; then
37921    for ac_func in modff
37922do :
37923  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37924if test "x$ac_cv_func_modff" = xyes; then :
37925  cat >>confdefs.h <<_ACEOF
37926#define HAVE_MODFF 1
37927_ACEOF
37928
37929fi
37930done
37931
37932  else
37933
37934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37935$as_echo_n "checking for _modff declaration... " >&6; }
37936  if test x${glibcxx_cv_func__modff_use+set} != xset; then
37937    if ${glibcxx_cv_func__modff_use+:} false; then :
37938  $as_echo_n "(cached) " >&6
37939else
37940
37941
37942      ac_ext=cpp
37943ac_cpp='$CXXCPP $CPPFLAGS'
37944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37947
37948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37949/* end confdefs.h.  */
37950#include <math.h>
37951int
37952main ()
37953{
37954 _modff(0, 0);
37955  ;
37956  return 0;
37957}
37958_ACEOF
37959if ac_fn_cxx_try_compile "$LINENO"; then :
37960  glibcxx_cv_func__modff_use=yes
37961else
37962  glibcxx_cv_func__modff_use=no
37963fi
37964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37965      ac_ext=c
37966ac_cpp='$CPP $CPPFLAGS'
37967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969ac_compiler_gnu=$ac_cv_c_compiler_gnu
37970
37971
37972fi
37973
37974  fi
37975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37976$as_echo "$glibcxx_cv_func__modff_use" >&6; }
37977
37978    if test x$glibcxx_cv_func__modff_use = x"yes"; then
37979      for ac_func in _modff
37980do :
37981  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37982if test "x$ac_cv_func__modff" = xyes; then :
37983  cat >>confdefs.h <<_ACEOF
37984#define HAVE__MODFF 1
37985_ACEOF
37986
37987fi
37988done
37989
37990    fi
37991  fi
37992
37993
37994
37995
37996
37997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37998$as_echo_n "checking for modf declaration... " >&6; }
37999  if test x${glibcxx_cv_func_modf_use+set} != xset; then
38000    if ${glibcxx_cv_func_modf_use+:} false; then :
38001  $as_echo_n "(cached) " >&6
38002else
38003
38004
38005      ac_ext=cpp
38006ac_cpp='$CXXCPP $CPPFLAGS'
38007ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38008ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38009ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38010
38011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38012/* end confdefs.h.  */
38013#include <math.h>
38014int
38015main ()
38016{
38017 modf(0, 0);
38018  ;
38019  return 0;
38020}
38021_ACEOF
38022if ac_fn_cxx_try_compile "$LINENO"; then :
38023  glibcxx_cv_func_modf_use=yes
38024else
38025  glibcxx_cv_func_modf_use=no
38026fi
38027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38028      ac_ext=c
38029ac_cpp='$CPP $CPPFLAGS'
38030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032ac_compiler_gnu=$ac_cv_c_compiler_gnu
38033
38034
38035fi
38036
38037  fi
38038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38039$as_echo "$glibcxx_cv_func_modf_use" >&6; }
38040
38041  if test x$glibcxx_cv_func_modf_use = x"yes"; then
38042    for ac_func in modf
38043do :
38044  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38045if test "x$ac_cv_func_modf" = xyes; then :
38046  cat >>confdefs.h <<_ACEOF
38047#define HAVE_MODF 1
38048_ACEOF
38049
38050fi
38051done
38052
38053  else
38054
38055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38056$as_echo_n "checking for _modf declaration... " >&6; }
38057  if test x${glibcxx_cv_func__modf_use+set} != xset; then
38058    if ${glibcxx_cv_func__modf_use+:} false; then :
38059  $as_echo_n "(cached) " >&6
38060else
38061
38062
38063      ac_ext=cpp
38064ac_cpp='$CXXCPP $CPPFLAGS'
38065ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38066ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38067ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38068
38069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38070/* end confdefs.h.  */
38071#include <math.h>
38072int
38073main ()
38074{
38075 _modf(0, 0);
38076  ;
38077  return 0;
38078}
38079_ACEOF
38080if ac_fn_cxx_try_compile "$LINENO"; then :
38081  glibcxx_cv_func__modf_use=yes
38082else
38083  glibcxx_cv_func__modf_use=no
38084fi
38085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38086      ac_ext=c
38087ac_cpp='$CPP $CPPFLAGS'
38088ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38089ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38090ac_compiler_gnu=$ac_cv_c_compiler_gnu
38091
38092
38093fi
38094
38095  fi
38096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38097$as_echo "$glibcxx_cv_func__modf_use" >&6; }
38098
38099    if test x$glibcxx_cv_func__modf_use = x"yes"; then
38100      for ac_func in _modf
38101do :
38102  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38103if test "x$ac_cv_func__modf" = xyes; then :
38104  cat >>confdefs.h <<_ACEOF
38105#define HAVE__MODF 1
38106_ACEOF
38107
38108fi
38109done
38110
38111    fi
38112  fi
38113
38114
38115
38116
38117
38118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38119$as_echo_n "checking for powf declaration... " >&6; }
38120  if test x${glibcxx_cv_func_powf_use+set} != xset; then
38121    if ${glibcxx_cv_func_powf_use+:} false; then :
38122  $as_echo_n "(cached) " >&6
38123else
38124
38125
38126      ac_ext=cpp
38127ac_cpp='$CXXCPP $CPPFLAGS'
38128ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38129ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38130ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38131
38132      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38133/* end confdefs.h.  */
38134#include <math.h>
38135int
38136main ()
38137{
38138 powf(0, 0);
38139  ;
38140  return 0;
38141}
38142_ACEOF
38143if ac_fn_cxx_try_compile "$LINENO"; then :
38144  glibcxx_cv_func_powf_use=yes
38145else
38146  glibcxx_cv_func_powf_use=no
38147fi
38148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38149      ac_ext=c
38150ac_cpp='$CPP $CPPFLAGS'
38151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38153ac_compiler_gnu=$ac_cv_c_compiler_gnu
38154
38155
38156fi
38157
38158  fi
38159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38160$as_echo "$glibcxx_cv_func_powf_use" >&6; }
38161
38162  if test x$glibcxx_cv_func_powf_use = x"yes"; then
38163    for ac_func in powf
38164do :
38165  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38166if test "x$ac_cv_func_powf" = xyes; then :
38167  cat >>confdefs.h <<_ACEOF
38168#define HAVE_POWF 1
38169_ACEOF
38170
38171fi
38172done
38173
38174  else
38175
38176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38177$as_echo_n "checking for _powf declaration... " >&6; }
38178  if test x${glibcxx_cv_func__powf_use+set} != xset; then
38179    if ${glibcxx_cv_func__powf_use+:} false; then :
38180  $as_echo_n "(cached) " >&6
38181else
38182
38183
38184      ac_ext=cpp
38185ac_cpp='$CXXCPP $CPPFLAGS'
38186ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38187ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38188ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38189
38190      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38191/* end confdefs.h.  */
38192#include <math.h>
38193int
38194main ()
38195{
38196 _powf(0, 0);
38197  ;
38198  return 0;
38199}
38200_ACEOF
38201if ac_fn_cxx_try_compile "$LINENO"; then :
38202  glibcxx_cv_func__powf_use=yes
38203else
38204  glibcxx_cv_func__powf_use=no
38205fi
38206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38207      ac_ext=c
38208ac_cpp='$CPP $CPPFLAGS'
38209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38211ac_compiler_gnu=$ac_cv_c_compiler_gnu
38212
38213
38214fi
38215
38216  fi
38217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38218$as_echo "$glibcxx_cv_func__powf_use" >&6; }
38219
38220    if test x$glibcxx_cv_func__powf_use = x"yes"; then
38221      for ac_func in _powf
38222do :
38223  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38224if test "x$ac_cv_func__powf" = xyes; then :
38225  cat >>confdefs.h <<_ACEOF
38226#define HAVE__POWF 1
38227_ACEOF
38228
38229fi
38230done
38231
38232    fi
38233  fi
38234
38235
38236
38237
38238
38239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38240$as_echo_n "checking for sqrtf declaration... " >&6; }
38241  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38242    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38243  $as_echo_n "(cached) " >&6
38244else
38245
38246
38247      ac_ext=cpp
38248ac_cpp='$CXXCPP $CPPFLAGS'
38249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38252
38253      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38254/* end confdefs.h.  */
38255#include <math.h>
38256		      #ifdef HAVE_IEEEFP_H
38257		      #include <ieeefp.h>
38258		      #endif
38259
38260int
38261main ()
38262{
38263 sqrtf(0);
38264  ;
38265  return 0;
38266}
38267_ACEOF
38268if ac_fn_cxx_try_compile "$LINENO"; then :
38269  glibcxx_cv_func_sqrtf_use=yes
38270else
38271  glibcxx_cv_func_sqrtf_use=no
38272fi
38273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38274      ac_ext=c
38275ac_cpp='$CPP $CPPFLAGS'
38276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38278ac_compiler_gnu=$ac_cv_c_compiler_gnu
38279
38280
38281fi
38282
38283  fi
38284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38285$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38286
38287  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38288    for ac_func in sqrtf
38289do :
38290  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38291if test "x$ac_cv_func_sqrtf" = xyes; then :
38292  cat >>confdefs.h <<_ACEOF
38293#define HAVE_SQRTF 1
38294_ACEOF
38295
38296fi
38297done
38298
38299  else
38300
38301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38302$as_echo_n "checking for _sqrtf declaration... " >&6; }
38303  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38304    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38305  $as_echo_n "(cached) " >&6
38306else
38307
38308
38309      ac_ext=cpp
38310ac_cpp='$CXXCPP $CPPFLAGS'
38311ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38314
38315      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38316/* end confdefs.h.  */
38317#include <math.h>
38318		      #ifdef HAVE_IEEEFP_H
38319		      #include <ieeefp.h>
38320		      #endif
38321
38322int
38323main ()
38324{
38325 _sqrtf(0);
38326  ;
38327  return 0;
38328}
38329_ACEOF
38330if ac_fn_cxx_try_compile "$LINENO"; then :
38331  glibcxx_cv_func__sqrtf_use=yes
38332else
38333  glibcxx_cv_func__sqrtf_use=no
38334fi
38335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38336      ac_ext=c
38337ac_cpp='$CPP $CPPFLAGS'
38338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38340ac_compiler_gnu=$ac_cv_c_compiler_gnu
38341
38342
38343fi
38344
38345  fi
38346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38347$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38348
38349    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38350      for ac_func in _sqrtf
38351do :
38352  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38353if test "x$ac_cv_func__sqrtf" = xyes; then :
38354  cat >>confdefs.h <<_ACEOF
38355#define HAVE__SQRTF 1
38356_ACEOF
38357
38358fi
38359done
38360
38361    fi
38362  fi
38363
38364
38365
38366
38367
38368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38369$as_echo_n "checking for sincosf declaration... " >&6; }
38370  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38371    if ${glibcxx_cv_func_sincosf_use+:} false; then :
38372  $as_echo_n "(cached) " >&6
38373else
38374
38375
38376      ac_ext=cpp
38377ac_cpp='$CXXCPP $CPPFLAGS'
38378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38381
38382      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38383/* end confdefs.h.  */
38384#include <math.h>
38385int
38386main ()
38387{
38388 sincosf(0, 0, 0);
38389  ;
38390  return 0;
38391}
38392_ACEOF
38393if ac_fn_cxx_try_compile "$LINENO"; then :
38394  glibcxx_cv_func_sincosf_use=yes
38395else
38396  glibcxx_cv_func_sincosf_use=no
38397fi
38398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38399      ac_ext=c
38400ac_cpp='$CPP $CPPFLAGS'
38401ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403ac_compiler_gnu=$ac_cv_c_compiler_gnu
38404
38405
38406fi
38407
38408  fi
38409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38410$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38411
38412  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38413    for ac_func in sincosf
38414do :
38415  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38416if test "x$ac_cv_func_sincosf" = xyes; then :
38417  cat >>confdefs.h <<_ACEOF
38418#define HAVE_SINCOSF 1
38419_ACEOF
38420
38421fi
38422done
38423
38424  else
38425
38426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38427$as_echo_n "checking for _sincosf declaration... " >&6; }
38428  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38429    if ${glibcxx_cv_func__sincosf_use+:} false; then :
38430  $as_echo_n "(cached) " >&6
38431else
38432
38433
38434      ac_ext=cpp
38435ac_cpp='$CXXCPP $CPPFLAGS'
38436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38439
38440      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38441/* end confdefs.h.  */
38442#include <math.h>
38443int
38444main ()
38445{
38446 _sincosf(0, 0, 0);
38447  ;
38448  return 0;
38449}
38450_ACEOF
38451if ac_fn_cxx_try_compile "$LINENO"; then :
38452  glibcxx_cv_func__sincosf_use=yes
38453else
38454  glibcxx_cv_func__sincosf_use=no
38455fi
38456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38457      ac_ext=c
38458ac_cpp='$CPP $CPPFLAGS'
38459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38461ac_compiler_gnu=$ac_cv_c_compiler_gnu
38462
38463
38464fi
38465
38466  fi
38467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38468$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38469
38470    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38471      for ac_func in _sincosf
38472do :
38473  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38474if test "x$ac_cv_func__sincosf" = xyes; then :
38475  cat >>confdefs.h <<_ACEOF
38476#define HAVE__SINCOSF 1
38477_ACEOF
38478
38479fi
38480done
38481
38482    fi
38483  fi
38484
38485
38486
38487
38488
38489  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38490$as_echo_n "checking for finitef declaration... " >&6; }
38491  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38492    if ${glibcxx_cv_func_finitef_use+:} false; then :
38493  $as_echo_n "(cached) " >&6
38494else
38495
38496
38497      ac_ext=cpp
38498ac_cpp='$CXXCPP $CPPFLAGS'
38499ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38500ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38501ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38502
38503      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38504/* end confdefs.h.  */
38505#include <math.h>
38506		      #ifdef HAVE_IEEEFP_H
38507		      #include <ieeefp.h>
38508		      #endif
38509
38510int
38511main ()
38512{
38513 finitef(0);
38514  ;
38515  return 0;
38516}
38517_ACEOF
38518if ac_fn_cxx_try_compile "$LINENO"; then :
38519  glibcxx_cv_func_finitef_use=yes
38520else
38521  glibcxx_cv_func_finitef_use=no
38522fi
38523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38524      ac_ext=c
38525ac_cpp='$CPP $CPPFLAGS'
38526ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38527ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38528ac_compiler_gnu=$ac_cv_c_compiler_gnu
38529
38530
38531fi
38532
38533  fi
38534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38535$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38536
38537  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38538    for ac_func in finitef
38539do :
38540  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38541if test "x$ac_cv_func_finitef" = xyes; then :
38542  cat >>confdefs.h <<_ACEOF
38543#define HAVE_FINITEF 1
38544_ACEOF
38545
38546fi
38547done
38548
38549  else
38550
38551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38552$as_echo_n "checking for _finitef declaration... " >&6; }
38553  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38554    if ${glibcxx_cv_func__finitef_use+:} false; then :
38555  $as_echo_n "(cached) " >&6
38556else
38557
38558
38559      ac_ext=cpp
38560ac_cpp='$CXXCPP $CPPFLAGS'
38561ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38562ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38563ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38564
38565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38566/* end confdefs.h.  */
38567#include <math.h>
38568		      #ifdef HAVE_IEEEFP_H
38569		      #include <ieeefp.h>
38570		      #endif
38571
38572int
38573main ()
38574{
38575 _finitef(0);
38576  ;
38577  return 0;
38578}
38579_ACEOF
38580if ac_fn_cxx_try_compile "$LINENO"; then :
38581  glibcxx_cv_func__finitef_use=yes
38582else
38583  glibcxx_cv_func__finitef_use=no
38584fi
38585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38586      ac_ext=c
38587ac_cpp='$CPP $CPPFLAGS'
38588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590ac_compiler_gnu=$ac_cv_c_compiler_gnu
38591
38592
38593fi
38594
38595  fi
38596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38597$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38598
38599    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38600      for ac_func in _finitef
38601do :
38602  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38603if test "x$ac_cv_func__finitef" = xyes; then :
38604  cat >>confdefs.h <<_ACEOF
38605#define HAVE__FINITEF 1
38606_ACEOF
38607
38608fi
38609done
38610
38611    fi
38612  fi
38613
38614
38615
38616
38617
38618    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38619$as_echo_n "checking for long double trig functions... " >&6; }
38620  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38621  $as_echo_n "(cached) " >&6
38622else
38623
38624
38625    ac_ext=cpp
38626ac_cpp='$CXXCPP $CPPFLAGS'
38627ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38630
38631    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38632/* end confdefs.h.  */
38633#include <math.h>
38634int
38635main ()
38636{
38637acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38638  ;
38639  return 0;
38640}
38641_ACEOF
38642if ac_fn_cxx_try_compile "$LINENO"; then :
38643  glibcxx_cv_func_long_double_trig_use=yes
38644else
38645  glibcxx_cv_func_long_double_trig_use=no
38646fi
38647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38648    ac_ext=c
38649ac_cpp='$CPP $CPPFLAGS'
38650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652ac_compiler_gnu=$ac_cv_c_compiler_gnu
38653
38654fi
38655
38656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38657$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38658  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38659    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38660do :
38661  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38662ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38663if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38664  cat >>confdefs.h <<_ACEOF
38665#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38666_ACEOF
38667
38668fi
38669done
38670
38671  else
38672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38673$as_echo_n "checking for _long double trig functions... " >&6; }
38674    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38675  $as_echo_n "(cached) " >&6
38676else
38677
38678
38679      ac_ext=cpp
38680ac_cpp='$CXXCPP $CPPFLAGS'
38681ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38682ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38683ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38684
38685      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38686/* end confdefs.h.  */
38687#include <math.h>
38688int
38689main ()
38690{
38691_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38692  ;
38693  return 0;
38694}
38695_ACEOF
38696if ac_fn_cxx_try_compile "$LINENO"; then :
38697  glibcxx_cv_func__long_double_trig_use=yes
38698else
38699  glibcxx_cv_func__long_double_trig_use=no
38700fi
38701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38702      ac_ext=c
38703ac_cpp='$CPP $CPPFLAGS'
38704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706ac_compiler_gnu=$ac_cv_c_compiler_gnu
38707
38708fi
38709
38710    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38711$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38712    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38713      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38714do :
38715  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38716ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38717if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38718  cat >>confdefs.h <<_ACEOF
38719#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38720_ACEOF
38721
38722fi
38723done
38724
38725    fi
38726  fi
38727
38728
38729
38730
38731
38732    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38733$as_echo_n "checking for long double round functions... " >&6; }
38734  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38735  $as_echo_n "(cached) " >&6
38736else
38737
38738
38739    ac_ext=cpp
38740ac_cpp='$CXXCPP $CPPFLAGS'
38741ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38744
38745    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38746/* end confdefs.h.  */
38747#include <math.h>
38748int
38749main ()
38750{
38751ceill (0); floorl (0);
38752  ;
38753  return 0;
38754}
38755_ACEOF
38756if ac_fn_cxx_try_compile "$LINENO"; then :
38757  glibcxx_cv_func_long_double_round_use=yes
38758else
38759  glibcxx_cv_func_long_double_round_use=no
38760fi
38761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38762    ac_ext=c
38763ac_cpp='$CPP $CPPFLAGS'
38764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38766ac_compiler_gnu=$ac_cv_c_compiler_gnu
38767
38768fi
38769
38770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38771$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38772  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38773    for ac_func in ceill floorl
38774do :
38775  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38776ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38777if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38778  cat >>confdefs.h <<_ACEOF
38779#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38780_ACEOF
38781
38782fi
38783done
38784
38785  else
38786    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38787$as_echo_n "checking for _long double round functions... " >&6; }
38788    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38789  $as_echo_n "(cached) " >&6
38790else
38791
38792
38793      ac_ext=cpp
38794ac_cpp='$CXXCPP $CPPFLAGS'
38795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38798
38799      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800/* end confdefs.h.  */
38801#include <math.h>
38802int
38803main ()
38804{
38805_ceill (0); _floorl (0);
38806  ;
38807  return 0;
38808}
38809_ACEOF
38810if ac_fn_cxx_try_compile "$LINENO"; then :
38811  glibcxx_cv_func__long_double_round_use=yes
38812else
38813  glibcxx_cv_func__long_double_round_use=no
38814fi
38815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38816      ac_ext=c
38817ac_cpp='$CPP $CPPFLAGS'
38818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38820ac_compiler_gnu=$ac_cv_c_compiler_gnu
38821
38822fi
38823
38824    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38825$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38826    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38827      for ac_func in _ceill _floorl
38828do :
38829  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38830ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38831if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38832  cat >>confdefs.h <<_ACEOF
38833#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38834_ACEOF
38835
38836fi
38837done
38838
38839    fi
38840  fi
38841
38842
38843
38844
38845
38846
38847  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38848$as_echo_n "checking for isnanl declaration... " >&6; }
38849  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38850    if ${glibcxx_cv_func_isnanl_use+:} false; then :
38851  $as_echo_n "(cached) " >&6
38852else
38853
38854
38855      ac_ext=cpp
38856ac_cpp='$CXXCPP $CPPFLAGS'
38857ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38858ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38859ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38860
38861      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38862/* end confdefs.h.  */
38863#include <math.h>
38864		      #ifdef HAVE_IEEEFP_H
38865		      #include <ieeefp.h>
38866		      #endif
38867
38868int
38869main ()
38870{
38871 isnanl(0);
38872  ;
38873  return 0;
38874}
38875_ACEOF
38876if ac_fn_cxx_try_compile "$LINENO"; then :
38877  glibcxx_cv_func_isnanl_use=yes
38878else
38879  glibcxx_cv_func_isnanl_use=no
38880fi
38881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38882      ac_ext=c
38883ac_cpp='$CPP $CPPFLAGS'
38884ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38885ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38886ac_compiler_gnu=$ac_cv_c_compiler_gnu
38887
38888
38889fi
38890
38891  fi
38892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38893$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38894
38895  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38896    for ac_func in isnanl
38897do :
38898  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38899if test "x$ac_cv_func_isnanl" = xyes; then :
38900  cat >>confdefs.h <<_ACEOF
38901#define HAVE_ISNANL 1
38902_ACEOF
38903
38904fi
38905done
38906
38907  else
38908
38909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38910$as_echo_n "checking for _isnanl declaration... " >&6; }
38911  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38912    if ${glibcxx_cv_func__isnanl_use+:} false; then :
38913  $as_echo_n "(cached) " >&6
38914else
38915
38916
38917      ac_ext=cpp
38918ac_cpp='$CXXCPP $CPPFLAGS'
38919ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38920ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38921ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38922
38923      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38924/* end confdefs.h.  */
38925#include <math.h>
38926		      #ifdef HAVE_IEEEFP_H
38927		      #include <ieeefp.h>
38928		      #endif
38929
38930int
38931main ()
38932{
38933 _isnanl(0);
38934  ;
38935  return 0;
38936}
38937_ACEOF
38938if ac_fn_cxx_try_compile "$LINENO"; then :
38939  glibcxx_cv_func__isnanl_use=yes
38940else
38941  glibcxx_cv_func__isnanl_use=no
38942fi
38943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38944      ac_ext=c
38945ac_cpp='$CPP $CPPFLAGS'
38946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948ac_compiler_gnu=$ac_cv_c_compiler_gnu
38949
38950
38951fi
38952
38953  fi
38954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38955$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38956
38957    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38958      for ac_func in _isnanl
38959do :
38960  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38961if test "x$ac_cv_func__isnanl" = xyes; then :
38962  cat >>confdefs.h <<_ACEOF
38963#define HAVE__ISNANL 1
38964_ACEOF
38965
38966fi
38967done
38968
38969    fi
38970  fi
38971
38972
38973
38974
38975
38976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38977$as_echo_n "checking for isinfl declaration... " >&6; }
38978  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38979    if ${glibcxx_cv_func_isinfl_use+:} false; then :
38980  $as_echo_n "(cached) " >&6
38981else
38982
38983
38984      ac_ext=cpp
38985ac_cpp='$CXXCPP $CPPFLAGS'
38986ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38989
38990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38991/* end confdefs.h.  */
38992#include <math.h>
38993		      #ifdef HAVE_IEEEFP_H
38994		      #include <ieeefp.h>
38995		      #endif
38996
38997int
38998main ()
38999{
39000 isinfl(0);
39001  ;
39002  return 0;
39003}
39004_ACEOF
39005if ac_fn_cxx_try_compile "$LINENO"; then :
39006  glibcxx_cv_func_isinfl_use=yes
39007else
39008  glibcxx_cv_func_isinfl_use=no
39009fi
39010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39011      ac_ext=c
39012ac_cpp='$CPP $CPPFLAGS'
39013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39015ac_compiler_gnu=$ac_cv_c_compiler_gnu
39016
39017
39018fi
39019
39020  fi
39021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39022$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39023
39024  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39025    for ac_func in isinfl
39026do :
39027  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39028if test "x$ac_cv_func_isinfl" = xyes; then :
39029  cat >>confdefs.h <<_ACEOF
39030#define HAVE_ISINFL 1
39031_ACEOF
39032
39033fi
39034done
39035
39036  else
39037
39038  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39039$as_echo_n "checking for _isinfl declaration... " >&6; }
39040  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39041    if ${glibcxx_cv_func__isinfl_use+:} false; then :
39042  $as_echo_n "(cached) " >&6
39043else
39044
39045
39046      ac_ext=cpp
39047ac_cpp='$CXXCPP $CPPFLAGS'
39048ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39051
39052      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39053/* end confdefs.h.  */
39054#include <math.h>
39055		      #ifdef HAVE_IEEEFP_H
39056		      #include <ieeefp.h>
39057		      #endif
39058
39059int
39060main ()
39061{
39062 _isinfl(0);
39063  ;
39064  return 0;
39065}
39066_ACEOF
39067if ac_fn_cxx_try_compile "$LINENO"; then :
39068  glibcxx_cv_func__isinfl_use=yes
39069else
39070  glibcxx_cv_func__isinfl_use=no
39071fi
39072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39073      ac_ext=c
39074ac_cpp='$CPP $CPPFLAGS'
39075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39077ac_compiler_gnu=$ac_cv_c_compiler_gnu
39078
39079
39080fi
39081
39082  fi
39083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39084$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39085
39086    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39087      for ac_func in _isinfl
39088do :
39089  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39090if test "x$ac_cv_func__isinfl" = xyes; then :
39091  cat >>confdefs.h <<_ACEOF
39092#define HAVE__ISINFL 1
39093_ACEOF
39094
39095fi
39096done
39097
39098    fi
39099  fi
39100
39101
39102
39103
39104
39105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39106$as_echo_n "checking for atan2l declaration... " >&6; }
39107  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39108    if ${glibcxx_cv_func_atan2l_use+:} false; then :
39109  $as_echo_n "(cached) " >&6
39110else
39111
39112
39113      ac_ext=cpp
39114ac_cpp='$CXXCPP $CPPFLAGS'
39115ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39116ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39117ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39118
39119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39120/* end confdefs.h.  */
39121#include <math.h>
39122int
39123main ()
39124{
39125 atan2l(0, 0);
39126  ;
39127  return 0;
39128}
39129_ACEOF
39130if ac_fn_cxx_try_compile "$LINENO"; then :
39131  glibcxx_cv_func_atan2l_use=yes
39132else
39133  glibcxx_cv_func_atan2l_use=no
39134fi
39135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39136      ac_ext=c
39137ac_cpp='$CPP $CPPFLAGS'
39138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39140ac_compiler_gnu=$ac_cv_c_compiler_gnu
39141
39142
39143fi
39144
39145  fi
39146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39147$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39148
39149  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39150    for ac_func in atan2l
39151do :
39152  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39153if test "x$ac_cv_func_atan2l" = xyes; then :
39154  cat >>confdefs.h <<_ACEOF
39155#define HAVE_ATAN2L 1
39156_ACEOF
39157
39158fi
39159done
39160
39161  else
39162
39163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39164$as_echo_n "checking for _atan2l declaration... " >&6; }
39165  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39166    if ${glibcxx_cv_func__atan2l_use+:} false; then :
39167  $as_echo_n "(cached) " >&6
39168else
39169
39170
39171      ac_ext=cpp
39172ac_cpp='$CXXCPP $CPPFLAGS'
39173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39176
39177      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39178/* end confdefs.h.  */
39179#include <math.h>
39180int
39181main ()
39182{
39183 _atan2l(0, 0);
39184  ;
39185  return 0;
39186}
39187_ACEOF
39188if ac_fn_cxx_try_compile "$LINENO"; then :
39189  glibcxx_cv_func__atan2l_use=yes
39190else
39191  glibcxx_cv_func__atan2l_use=no
39192fi
39193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39194      ac_ext=c
39195ac_cpp='$CPP $CPPFLAGS'
39196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198ac_compiler_gnu=$ac_cv_c_compiler_gnu
39199
39200
39201fi
39202
39203  fi
39204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39205$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39206
39207    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39208      for ac_func in _atan2l
39209do :
39210  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39211if test "x$ac_cv_func__atan2l" = xyes; then :
39212  cat >>confdefs.h <<_ACEOF
39213#define HAVE__ATAN2L 1
39214_ACEOF
39215
39216fi
39217done
39218
39219    fi
39220  fi
39221
39222
39223
39224
39225
39226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39227$as_echo_n "checking for expl declaration... " >&6; }
39228  if test x${glibcxx_cv_func_expl_use+set} != xset; then
39229    if ${glibcxx_cv_func_expl_use+:} false; then :
39230  $as_echo_n "(cached) " >&6
39231else
39232
39233
39234      ac_ext=cpp
39235ac_cpp='$CXXCPP $CPPFLAGS'
39236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39239
39240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39241/* end confdefs.h.  */
39242#include <math.h>
39243		      #ifdef HAVE_IEEEFP_H
39244		      #include <ieeefp.h>
39245		      #endif
39246
39247int
39248main ()
39249{
39250 expl(0);
39251  ;
39252  return 0;
39253}
39254_ACEOF
39255if ac_fn_cxx_try_compile "$LINENO"; then :
39256  glibcxx_cv_func_expl_use=yes
39257else
39258  glibcxx_cv_func_expl_use=no
39259fi
39260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39261      ac_ext=c
39262ac_cpp='$CPP $CPPFLAGS'
39263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265ac_compiler_gnu=$ac_cv_c_compiler_gnu
39266
39267
39268fi
39269
39270  fi
39271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39272$as_echo "$glibcxx_cv_func_expl_use" >&6; }
39273
39274  if test x$glibcxx_cv_func_expl_use = x"yes"; then
39275    for ac_func in expl
39276do :
39277  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39278if test "x$ac_cv_func_expl" = xyes; then :
39279  cat >>confdefs.h <<_ACEOF
39280#define HAVE_EXPL 1
39281_ACEOF
39282
39283fi
39284done
39285
39286  else
39287
39288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39289$as_echo_n "checking for _expl declaration... " >&6; }
39290  if test x${glibcxx_cv_func__expl_use+set} != xset; then
39291    if ${glibcxx_cv_func__expl_use+:} false; then :
39292  $as_echo_n "(cached) " >&6
39293else
39294
39295
39296      ac_ext=cpp
39297ac_cpp='$CXXCPP $CPPFLAGS'
39298ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39301
39302      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39303/* end confdefs.h.  */
39304#include <math.h>
39305		      #ifdef HAVE_IEEEFP_H
39306		      #include <ieeefp.h>
39307		      #endif
39308
39309int
39310main ()
39311{
39312 _expl(0);
39313  ;
39314  return 0;
39315}
39316_ACEOF
39317if ac_fn_cxx_try_compile "$LINENO"; then :
39318  glibcxx_cv_func__expl_use=yes
39319else
39320  glibcxx_cv_func__expl_use=no
39321fi
39322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39323      ac_ext=c
39324ac_cpp='$CPP $CPPFLAGS'
39325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327ac_compiler_gnu=$ac_cv_c_compiler_gnu
39328
39329
39330fi
39331
39332  fi
39333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39334$as_echo "$glibcxx_cv_func__expl_use" >&6; }
39335
39336    if test x$glibcxx_cv_func__expl_use = x"yes"; then
39337      for ac_func in _expl
39338do :
39339  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39340if test "x$ac_cv_func__expl" = xyes; then :
39341  cat >>confdefs.h <<_ACEOF
39342#define HAVE__EXPL 1
39343_ACEOF
39344
39345fi
39346done
39347
39348    fi
39349  fi
39350
39351
39352
39353
39354
39355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39356$as_echo_n "checking for fabsl declaration... " >&6; }
39357  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39358    if ${glibcxx_cv_func_fabsl_use+:} false; then :
39359  $as_echo_n "(cached) " >&6
39360else
39361
39362
39363      ac_ext=cpp
39364ac_cpp='$CXXCPP $CPPFLAGS'
39365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39368
39369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39370/* end confdefs.h.  */
39371#include <math.h>
39372		      #ifdef HAVE_IEEEFP_H
39373		      #include <ieeefp.h>
39374		      #endif
39375
39376int
39377main ()
39378{
39379 fabsl(0);
39380  ;
39381  return 0;
39382}
39383_ACEOF
39384if ac_fn_cxx_try_compile "$LINENO"; then :
39385  glibcxx_cv_func_fabsl_use=yes
39386else
39387  glibcxx_cv_func_fabsl_use=no
39388fi
39389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39390      ac_ext=c
39391ac_cpp='$CPP $CPPFLAGS'
39392ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39393ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39394ac_compiler_gnu=$ac_cv_c_compiler_gnu
39395
39396
39397fi
39398
39399  fi
39400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39401$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39402
39403  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39404    for ac_func in fabsl
39405do :
39406  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39407if test "x$ac_cv_func_fabsl" = xyes; then :
39408  cat >>confdefs.h <<_ACEOF
39409#define HAVE_FABSL 1
39410_ACEOF
39411
39412fi
39413done
39414
39415  else
39416
39417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39418$as_echo_n "checking for _fabsl declaration... " >&6; }
39419  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39420    if ${glibcxx_cv_func__fabsl_use+:} false; then :
39421  $as_echo_n "(cached) " >&6
39422else
39423
39424
39425      ac_ext=cpp
39426ac_cpp='$CXXCPP $CPPFLAGS'
39427ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39430
39431      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39432/* end confdefs.h.  */
39433#include <math.h>
39434		      #ifdef HAVE_IEEEFP_H
39435		      #include <ieeefp.h>
39436		      #endif
39437
39438int
39439main ()
39440{
39441 _fabsl(0);
39442  ;
39443  return 0;
39444}
39445_ACEOF
39446if ac_fn_cxx_try_compile "$LINENO"; then :
39447  glibcxx_cv_func__fabsl_use=yes
39448else
39449  glibcxx_cv_func__fabsl_use=no
39450fi
39451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39452      ac_ext=c
39453ac_cpp='$CPP $CPPFLAGS'
39454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39456ac_compiler_gnu=$ac_cv_c_compiler_gnu
39457
39458
39459fi
39460
39461  fi
39462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39463$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39464
39465    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39466      for ac_func in _fabsl
39467do :
39468  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39469if test "x$ac_cv_func__fabsl" = xyes; then :
39470  cat >>confdefs.h <<_ACEOF
39471#define HAVE__FABSL 1
39472_ACEOF
39473
39474fi
39475done
39476
39477    fi
39478  fi
39479
39480
39481
39482
39483
39484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39485$as_echo_n "checking for fmodl declaration... " >&6; }
39486  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39487    if ${glibcxx_cv_func_fmodl_use+:} false; then :
39488  $as_echo_n "(cached) " >&6
39489else
39490
39491
39492      ac_ext=cpp
39493ac_cpp='$CXXCPP $CPPFLAGS'
39494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39497
39498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39499/* end confdefs.h.  */
39500#include <math.h>
39501int
39502main ()
39503{
39504 fmodl(0, 0);
39505  ;
39506  return 0;
39507}
39508_ACEOF
39509if ac_fn_cxx_try_compile "$LINENO"; then :
39510  glibcxx_cv_func_fmodl_use=yes
39511else
39512  glibcxx_cv_func_fmodl_use=no
39513fi
39514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39515      ac_ext=c
39516ac_cpp='$CPP $CPPFLAGS'
39517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39519ac_compiler_gnu=$ac_cv_c_compiler_gnu
39520
39521
39522fi
39523
39524  fi
39525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39526$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39527
39528  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39529    for ac_func in fmodl
39530do :
39531  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39532if test "x$ac_cv_func_fmodl" = xyes; then :
39533  cat >>confdefs.h <<_ACEOF
39534#define HAVE_FMODL 1
39535_ACEOF
39536
39537fi
39538done
39539
39540  else
39541
39542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39543$as_echo_n "checking for _fmodl declaration... " >&6; }
39544  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39545    if ${glibcxx_cv_func__fmodl_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>
39559int
39560main ()
39561{
39562 _fmodl(0, 0);
39563  ;
39564  return 0;
39565}
39566_ACEOF
39567if ac_fn_cxx_try_compile "$LINENO"; then :
39568  glibcxx_cv_func__fmodl_use=yes
39569else
39570  glibcxx_cv_func__fmodl_use=no
39571fi
39572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39573      ac_ext=c
39574ac_cpp='$CPP $CPPFLAGS'
39575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577ac_compiler_gnu=$ac_cv_c_compiler_gnu
39578
39579
39580fi
39581
39582  fi
39583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39584$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39585
39586    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39587      for ac_func in _fmodl
39588do :
39589  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39590if test "x$ac_cv_func__fmodl" = xyes; then :
39591  cat >>confdefs.h <<_ACEOF
39592#define HAVE__FMODL 1
39593_ACEOF
39594
39595fi
39596done
39597
39598    fi
39599  fi
39600
39601
39602
39603
39604
39605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39606$as_echo_n "checking for frexpl declaration... " >&6; }
39607  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39608    if ${glibcxx_cv_func_frexpl_use+:} false; then :
39609  $as_echo_n "(cached) " >&6
39610else
39611
39612
39613      ac_ext=cpp
39614ac_cpp='$CXXCPP $CPPFLAGS'
39615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39618
39619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39620/* end confdefs.h.  */
39621#include <math.h>
39622int
39623main ()
39624{
39625 frexpl(0, 0);
39626  ;
39627  return 0;
39628}
39629_ACEOF
39630if ac_fn_cxx_try_compile "$LINENO"; then :
39631  glibcxx_cv_func_frexpl_use=yes
39632else
39633  glibcxx_cv_func_frexpl_use=no
39634fi
39635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39636      ac_ext=c
39637ac_cpp='$CPP $CPPFLAGS'
39638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39640ac_compiler_gnu=$ac_cv_c_compiler_gnu
39641
39642
39643fi
39644
39645  fi
39646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39647$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39648
39649  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39650    for ac_func in frexpl
39651do :
39652  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39653if test "x$ac_cv_func_frexpl" = xyes; then :
39654  cat >>confdefs.h <<_ACEOF
39655#define HAVE_FREXPL 1
39656_ACEOF
39657
39658fi
39659done
39660
39661  else
39662
39663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39664$as_echo_n "checking for _frexpl declaration... " >&6; }
39665  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39666    if ${glibcxx_cv_func__frexpl_use+:} false; then :
39667  $as_echo_n "(cached) " >&6
39668else
39669
39670
39671      ac_ext=cpp
39672ac_cpp='$CXXCPP $CPPFLAGS'
39673ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39674ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39675ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39676
39677      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39678/* end confdefs.h.  */
39679#include <math.h>
39680int
39681main ()
39682{
39683 _frexpl(0, 0);
39684  ;
39685  return 0;
39686}
39687_ACEOF
39688if ac_fn_cxx_try_compile "$LINENO"; then :
39689  glibcxx_cv_func__frexpl_use=yes
39690else
39691  glibcxx_cv_func__frexpl_use=no
39692fi
39693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39694      ac_ext=c
39695ac_cpp='$CPP $CPPFLAGS'
39696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39698ac_compiler_gnu=$ac_cv_c_compiler_gnu
39699
39700
39701fi
39702
39703  fi
39704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39705$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39706
39707    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39708      for ac_func in _frexpl
39709do :
39710  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39711if test "x$ac_cv_func__frexpl" = xyes; then :
39712  cat >>confdefs.h <<_ACEOF
39713#define HAVE__FREXPL 1
39714_ACEOF
39715
39716fi
39717done
39718
39719    fi
39720  fi
39721
39722
39723
39724
39725
39726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39727$as_echo_n "checking for hypotl declaration... " >&6; }
39728  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39729    if ${glibcxx_cv_func_hypotl_use+:} false; then :
39730  $as_echo_n "(cached) " >&6
39731else
39732
39733
39734      ac_ext=cpp
39735ac_cpp='$CXXCPP $CPPFLAGS'
39736ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39737ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39738ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39739
39740      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39741/* end confdefs.h.  */
39742#include <math.h>
39743int
39744main ()
39745{
39746 hypotl(0, 0);
39747  ;
39748  return 0;
39749}
39750_ACEOF
39751if ac_fn_cxx_try_compile "$LINENO"; then :
39752  glibcxx_cv_func_hypotl_use=yes
39753else
39754  glibcxx_cv_func_hypotl_use=no
39755fi
39756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39757      ac_ext=c
39758ac_cpp='$CPP $CPPFLAGS'
39759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39761ac_compiler_gnu=$ac_cv_c_compiler_gnu
39762
39763
39764fi
39765
39766  fi
39767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39768$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39769
39770  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39771    for ac_func in hypotl
39772do :
39773  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39774if test "x$ac_cv_func_hypotl" = xyes; then :
39775  cat >>confdefs.h <<_ACEOF
39776#define HAVE_HYPOTL 1
39777_ACEOF
39778
39779fi
39780done
39781
39782  else
39783
39784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39785$as_echo_n "checking for _hypotl declaration... " >&6; }
39786  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39787    if ${glibcxx_cv_func__hypotl_use+:} false; then :
39788  $as_echo_n "(cached) " >&6
39789else
39790
39791
39792      ac_ext=cpp
39793ac_cpp='$CXXCPP $CPPFLAGS'
39794ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39795ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39796ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39797
39798      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39799/* end confdefs.h.  */
39800#include <math.h>
39801int
39802main ()
39803{
39804 _hypotl(0, 0);
39805  ;
39806  return 0;
39807}
39808_ACEOF
39809if ac_fn_cxx_try_compile "$LINENO"; then :
39810  glibcxx_cv_func__hypotl_use=yes
39811else
39812  glibcxx_cv_func__hypotl_use=no
39813fi
39814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39815      ac_ext=c
39816ac_cpp='$CPP $CPPFLAGS'
39817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39819ac_compiler_gnu=$ac_cv_c_compiler_gnu
39820
39821
39822fi
39823
39824  fi
39825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39826$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39827
39828    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39829      for ac_func in _hypotl
39830do :
39831  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39832if test "x$ac_cv_func__hypotl" = xyes; then :
39833  cat >>confdefs.h <<_ACEOF
39834#define HAVE__HYPOTL 1
39835_ACEOF
39836
39837fi
39838done
39839
39840    fi
39841  fi
39842
39843
39844
39845
39846
39847  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39848$as_echo_n "checking for ldexpl declaration... " >&6; }
39849  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39850    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39851  $as_echo_n "(cached) " >&6
39852else
39853
39854
39855      ac_ext=cpp
39856ac_cpp='$CXXCPP $CPPFLAGS'
39857ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39858ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39859ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39860
39861      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39862/* end confdefs.h.  */
39863#include <math.h>
39864int
39865main ()
39866{
39867 ldexpl(0, 0);
39868  ;
39869  return 0;
39870}
39871_ACEOF
39872if ac_fn_cxx_try_compile "$LINENO"; then :
39873  glibcxx_cv_func_ldexpl_use=yes
39874else
39875  glibcxx_cv_func_ldexpl_use=no
39876fi
39877rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39878      ac_ext=c
39879ac_cpp='$CPP $CPPFLAGS'
39880ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39881ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39882ac_compiler_gnu=$ac_cv_c_compiler_gnu
39883
39884
39885fi
39886
39887  fi
39888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39889$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39890
39891  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39892    for ac_func in ldexpl
39893do :
39894  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39895if test "x$ac_cv_func_ldexpl" = xyes; then :
39896  cat >>confdefs.h <<_ACEOF
39897#define HAVE_LDEXPL 1
39898_ACEOF
39899
39900fi
39901done
39902
39903  else
39904
39905  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39906$as_echo_n "checking for _ldexpl declaration... " >&6; }
39907  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39908    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
39909  $as_echo_n "(cached) " >&6
39910else
39911
39912
39913      ac_ext=cpp
39914ac_cpp='$CXXCPP $CPPFLAGS'
39915ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39918
39919      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39920/* end confdefs.h.  */
39921#include <math.h>
39922int
39923main ()
39924{
39925 _ldexpl(0, 0);
39926  ;
39927  return 0;
39928}
39929_ACEOF
39930if ac_fn_cxx_try_compile "$LINENO"; then :
39931  glibcxx_cv_func__ldexpl_use=yes
39932else
39933  glibcxx_cv_func__ldexpl_use=no
39934fi
39935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39936      ac_ext=c
39937ac_cpp='$CPP $CPPFLAGS'
39938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39940ac_compiler_gnu=$ac_cv_c_compiler_gnu
39941
39942
39943fi
39944
39945  fi
39946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39947$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39948
39949    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39950      for ac_func in _ldexpl
39951do :
39952  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39953if test "x$ac_cv_func__ldexpl" = xyes; then :
39954  cat >>confdefs.h <<_ACEOF
39955#define HAVE__LDEXPL 1
39956_ACEOF
39957
39958fi
39959done
39960
39961    fi
39962  fi
39963
39964
39965
39966
39967
39968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39969$as_echo_n "checking for logl declaration... " >&6; }
39970  if test x${glibcxx_cv_func_logl_use+set} != xset; then
39971    if ${glibcxx_cv_func_logl_use+:} false; then :
39972  $as_echo_n "(cached) " >&6
39973else
39974
39975
39976      ac_ext=cpp
39977ac_cpp='$CXXCPP $CPPFLAGS'
39978ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39979ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39980ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39981
39982      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39983/* end confdefs.h.  */
39984#include <math.h>
39985		      #ifdef HAVE_IEEEFP_H
39986		      #include <ieeefp.h>
39987		      #endif
39988
39989int
39990main ()
39991{
39992 logl(0);
39993  ;
39994  return 0;
39995}
39996_ACEOF
39997if ac_fn_cxx_try_compile "$LINENO"; then :
39998  glibcxx_cv_func_logl_use=yes
39999else
40000  glibcxx_cv_func_logl_use=no
40001fi
40002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40003      ac_ext=c
40004ac_cpp='$CPP $CPPFLAGS'
40005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007ac_compiler_gnu=$ac_cv_c_compiler_gnu
40008
40009
40010fi
40011
40012  fi
40013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40014$as_echo "$glibcxx_cv_func_logl_use" >&6; }
40015
40016  if test x$glibcxx_cv_func_logl_use = x"yes"; then
40017    for ac_func in logl
40018do :
40019  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40020if test "x$ac_cv_func_logl" = xyes; then :
40021  cat >>confdefs.h <<_ACEOF
40022#define HAVE_LOGL 1
40023_ACEOF
40024
40025fi
40026done
40027
40028  else
40029
40030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40031$as_echo_n "checking for _logl declaration... " >&6; }
40032  if test x${glibcxx_cv_func__logl_use+set} != xset; then
40033    if ${glibcxx_cv_func__logl_use+:} false; then :
40034  $as_echo_n "(cached) " >&6
40035else
40036
40037
40038      ac_ext=cpp
40039ac_cpp='$CXXCPP $CPPFLAGS'
40040ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40043
40044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40045/* end confdefs.h.  */
40046#include <math.h>
40047		      #ifdef HAVE_IEEEFP_H
40048		      #include <ieeefp.h>
40049		      #endif
40050
40051int
40052main ()
40053{
40054 _logl(0);
40055  ;
40056  return 0;
40057}
40058_ACEOF
40059if ac_fn_cxx_try_compile "$LINENO"; then :
40060  glibcxx_cv_func__logl_use=yes
40061else
40062  glibcxx_cv_func__logl_use=no
40063fi
40064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40065      ac_ext=c
40066ac_cpp='$CPP $CPPFLAGS'
40067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40069ac_compiler_gnu=$ac_cv_c_compiler_gnu
40070
40071
40072fi
40073
40074  fi
40075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40076$as_echo "$glibcxx_cv_func__logl_use" >&6; }
40077
40078    if test x$glibcxx_cv_func__logl_use = x"yes"; then
40079      for ac_func in _logl
40080do :
40081  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40082if test "x$ac_cv_func__logl" = xyes; then :
40083  cat >>confdefs.h <<_ACEOF
40084#define HAVE__LOGL 1
40085_ACEOF
40086
40087fi
40088done
40089
40090    fi
40091  fi
40092
40093
40094
40095
40096
40097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40098$as_echo_n "checking for log10l declaration... " >&6; }
40099  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40100    if ${glibcxx_cv_func_log10l_use+:} false; then :
40101  $as_echo_n "(cached) " >&6
40102else
40103
40104
40105      ac_ext=cpp
40106ac_cpp='$CXXCPP $CPPFLAGS'
40107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40110
40111      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40112/* end confdefs.h.  */
40113#include <math.h>
40114		      #ifdef HAVE_IEEEFP_H
40115		      #include <ieeefp.h>
40116		      #endif
40117
40118int
40119main ()
40120{
40121 log10l(0);
40122  ;
40123  return 0;
40124}
40125_ACEOF
40126if ac_fn_cxx_try_compile "$LINENO"; then :
40127  glibcxx_cv_func_log10l_use=yes
40128else
40129  glibcxx_cv_func_log10l_use=no
40130fi
40131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40132      ac_ext=c
40133ac_cpp='$CPP $CPPFLAGS'
40134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40136ac_compiler_gnu=$ac_cv_c_compiler_gnu
40137
40138
40139fi
40140
40141  fi
40142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40143$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40144
40145  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40146    for ac_func in log10l
40147do :
40148  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40149if test "x$ac_cv_func_log10l" = xyes; then :
40150  cat >>confdefs.h <<_ACEOF
40151#define HAVE_LOG10L 1
40152_ACEOF
40153
40154fi
40155done
40156
40157  else
40158
40159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40160$as_echo_n "checking for _log10l declaration... " >&6; }
40161  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40162    if ${glibcxx_cv_func__log10l_use+:} false; then :
40163  $as_echo_n "(cached) " >&6
40164else
40165
40166
40167      ac_ext=cpp
40168ac_cpp='$CXXCPP $CPPFLAGS'
40169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40172
40173      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40174/* end confdefs.h.  */
40175#include <math.h>
40176		      #ifdef HAVE_IEEEFP_H
40177		      #include <ieeefp.h>
40178		      #endif
40179
40180int
40181main ()
40182{
40183 _log10l(0);
40184  ;
40185  return 0;
40186}
40187_ACEOF
40188if ac_fn_cxx_try_compile "$LINENO"; then :
40189  glibcxx_cv_func__log10l_use=yes
40190else
40191  glibcxx_cv_func__log10l_use=no
40192fi
40193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40194      ac_ext=c
40195ac_cpp='$CPP $CPPFLAGS'
40196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40198ac_compiler_gnu=$ac_cv_c_compiler_gnu
40199
40200
40201fi
40202
40203  fi
40204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40205$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40206
40207    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40208      for ac_func in _log10l
40209do :
40210  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40211if test "x$ac_cv_func__log10l" = xyes; then :
40212  cat >>confdefs.h <<_ACEOF
40213#define HAVE__LOG10L 1
40214_ACEOF
40215
40216fi
40217done
40218
40219    fi
40220  fi
40221
40222
40223
40224
40225
40226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40227$as_echo_n "checking for modfl declaration... " >&6; }
40228  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40229    if ${glibcxx_cv_func_modfl_use+:} false; then :
40230  $as_echo_n "(cached) " >&6
40231else
40232
40233
40234      ac_ext=cpp
40235ac_cpp='$CXXCPP $CPPFLAGS'
40236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40239
40240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40241/* end confdefs.h.  */
40242#include <math.h>
40243int
40244main ()
40245{
40246 modfl(0, 0);
40247  ;
40248  return 0;
40249}
40250_ACEOF
40251if ac_fn_cxx_try_compile "$LINENO"; then :
40252  glibcxx_cv_func_modfl_use=yes
40253else
40254  glibcxx_cv_func_modfl_use=no
40255fi
40256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40257      ac_ext=c
40258ac_cpp='$CPP $CPPFLAGS'
40259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40261ac_compiler_gnu=$ac_cv_c_compiler_gnu
40262
40263
40264fi
40265
40266  fi
40267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40268$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40269
40270  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40271    for ac_func in modfl
40272do :
40273  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40274if test "x$ac_cv_func_modfl" = xyes; then :
40275  cat >>confdefs.h <<_ACEOF
40276#define HAVE_MODFL 1
40277_ACEOF
40278
40279fi
40280done
40281
40282  else
40283
40284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40285$as_echo_n "checking for _modfl declaration... " >&6; }
40286  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40287    if ${glibcxx_cv_func__modfl_use+:} false; then :
40288  $as_echo_n "(cached) " >&6
40289else
40290
40291
40292      ac_ext=cpp
40293ac_cpp='$CXXCPP $CPPFLAGS'
40294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40297
40298      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40299/* end confdefs.h.  */
40300#include <math.h>
40301int
40302main ()
40303{
40304 _modfl(0, 0);
40305  ;
40306  return 0;
40307}
40308_ACEOF
40309if ac_fn_cxx_try_compile "$LINENO"; then :
40310  glibcxx_cv_func__modfl_use=yes
40311else
40312  glibcxx_cv_func__modfl_use=no
40313fi
40314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40315      ac_ext=c
40316ac_cpp='$CPP $CPPFLAGS'
40317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40319ac_compiler_gnu=$ac_cv_c_compiler_gnu
40320
40321
40322fi
40323
40324  fi
40325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40326$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40327
40328    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40329      for ac_func in _modfl
40330do :
40331  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40332if test "x$ac_cv_func__modfl" = xyes; then :
40333  cat >>confdefs.h <<_ACEOF
40334#define HAVE__MODFL 1
40335_ACEOF
40336
40337fi
40338done
40339
40340    fi
40341  fi
40342
40343
40344
40345
40346
40347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40348$as_echo_n "checking for powl declaration... " >&6; }
40349  if test x${glibcxx_cv_func_powl_use+set} != xset; then
40350    if ${glibcxx_cv_func_powl_use+:} false; then :
40351  $as_echo_n "(cached) " >&6
40352else
40353
40354
40355      ac_ext=cpp
40356ac_cpp='$CXXCPP $CPPFLAGS'
40357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40360
40361      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40362/* end confdefs.h.  */
40363#include <math.h>
40364int
40365main ()
40366{
40367 powl(0, 0);
40368  ;
40369  return 0;
40370}
40371_ACEOF
40372if ac_fn_cxx_try_compile "$LINENO"; then :
40373  glibcxx_cv_func_powl_use=yes
40374else
40375  glibcxx_cv_func_powl_use=no
40376fi
40377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40378      ac_ext=c
40379ac_cpp='$CPP $CPPFLAGS'
40380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40382ac_compiler_gnu=$ac_cv_c_compiler_gnu
40383
40384
40385fi
40386
40387  fi
40388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40389$as_echo "$glibcxx_cv_func_powl_use" >&6; }
40390
40391  if test x$glibcxx_cv_func_powl_use = x"yes"; then
40392    for ac_func in powl
40393do :
40394  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40395if test "x$ac_cv_func_powl" = xyes; then :
40396  cat >>confdefs.h <<_ACEOF
40397#define HAVE_POWL 1
40398_ACEOF
40399
40400fi
40401done
40402
40403  else
40404
40405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40406$as_echo_n "checking for _powl declaration... " >&6; }
40407  if test x${glibcxx_cv_func__powl_use+set} != xset; then
40408    if ${glibcxx_cv_func__powl_use+:} false; then :
40409  $as_echo_n "(cached) " >&6
40410else
40411
40412
40413      ac_ext=cpp
40414ac_cpp='$CXXCPP $CPPFLAGS'
40415ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40418
40419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40420/* end confdefs.h.  */
40421#include <math.h>
40422int
40423main ()
40424{
40425 _powl(0, 0);
40426  ;
40427  return 0;
40428}
40429_ACEOF
40430if ac_fn_cxx_try_compile "$LINENO"; then :
40431  glibcxx_cv_func__powl_use=yes
40432else
40433  glibcxx_cv_func__powl_use=no
40434fi
40435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40436      ac_ext=c
40437ac_cpp='$CPP $CPPFLAGS'
40438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40440ac_compiler_gnu=$ac_cv_c_compiler_gnu
40441
40442
40443fi
40444
40445  fi
40446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40447$as_echo "$glibcxx_cv_func__powl_use" >&6; }
40448
40449    if test x$glibcxx_cv_func__powl_use = x"yes"; then
40450      for ac_func in _powl
40451do :
40452  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40453if test "x$ac_cv_func__powl" = xyes; then :
40454  cat >>confdefs.h <<_ACEOF
40455#define HAVE__POWL 1
40456_ACEOF
40457
40458fi
40459done
40460
40461    fi
40462  fi
40463
40464
40465
40466
40467
40468  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40469$as_echo_n "checking for sqrtl declaration... " >&6; }
40470  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40471    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40472  $as_echo_n "(cached) " >&6
40473else
40474
40475
40476      ac_ext=cpp
40477ac_cpp='$CXXCPP $CPPFLAGS'
40478ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40479ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40480ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40481
40482      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40483/* end confdefs.h.  */
40484#include <math.h>
40485		      #ifdef HAVE_IEEEFP_H
40486		      #include <ieeefp.h>
40487		      #endif
40488
40489int
40490main ()
40491{
40492 sqrtl(0);
40493  ;
40494  return 0;
40495}
40496_ACEOF
40497if ac_fn_cxx_try_compile "$LINENO"; then :
40498  glibcxx_cv_func_sqrtl_use=yes
40499else
40500  glibcxx_cv_func_sqrtl_use=no
40501fi
40502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40503      ac_ext=c
40504ac_cpp='$CPP $CPPFLAGS'
40505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40507ac_compiler_gnu=$ac_cv_c_compiler_gnu
40508
40509
40510fi
40511
40512  fi
40513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40514$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40515
40516  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40517    for ac_func in sqrtl
40518do :
40519  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40520if test "x$ac_cv_func_sqrtl" = xyes; then :
40521  cat >>confdefs.h <<_ACEOF
40522#define HAVE_SQRTL 1
40523_ACEOF
40524
40525fi
40526done
40527
40528  else
40529
40530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40531$as_echo_n "checking for _sqrtl declaration... " >&6; }
40532  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40533    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40534  $as_echo_n "(cached) " >&6
40535else
40536
40537
40538      ac_ext=cpp
40539ac_cpp='$CXXCPP $CPPFLAGS'
40540ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40543
40544      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40545/* end confdefs.h.  */
40546#include <math.h>
40547		      #ifdef HAVE_IEEEFP_H
40548		      #include <ieeefp.h>
40549		      #endif
40550
40551int
40552main ()
40553{
40554 _sqrtl(0);
40555  ;
40556  return 0;
40557}
40558_ACEOF
40559if ac_fn_cxx_try_compile "$LINENO"; then :
40560  glibcxx_cv_func__sqrtl_use=yes
40561else
40562  glibcxx_cv_func__sqrtl_use=no
40563fi
40564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40565      ac_ext=c
40566ac_cpp='$CPP $CPPFLAGS'
40567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40569ac_compiler_gnu=$ac_cv_c_compiler_gnu
40570
40571
40572fi
40573
40574  fi
40575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40576$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40577
40578    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40579      for ac_func in _sqrtl
40580do :
40581  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40582if test "x$ac_cv_func__sqrtl" = xyes; then :
40583  cat >>confdefs.h <<_ACEOF
40584#define HAVE__SQRTL 1
40585_ACEOF
40586
40587fi
40588done
40589
40590    fi
40591  fi
40592
40593
40594
40595
40596
40597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40598$as_echo_n "checking for sincosl declaration... " >&6; }
40599  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40600    if ${glibcxx_cv_func_sincosl_use+:} false; then :
40601  $as_echo_n "(cached) " >&6
40602else
40603
40604
40605      ac_ext=cpp
40606ac_cpp='$CXXCPP $CPPFLAGS'
40607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40608ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40610
40611      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40612/* end confdefs.h.  */
40613#include <math.h>
40614int
40615main ()
40616{
40617 sincosl(0, 0, 0);
40618  ;
40619  return 0;
40620}
40621_ACEOF
40622if ac_fn_cxx_try_compile "$LINENO"; then :
40623  glibcxx_cv_func_sincosl_use=yes
40624else
40625  glibcxx_cv_func_sincosl_use=no
40626fi
40627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40628      ac_ext=c
40629ac_cpp='$CPP $CPPFLAGS'
40630ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40631ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40632ac_compiler_gnu=$ac_cv_c_compiler_gnu
40633
40634
40635fi
40636
40637  fi
40638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40639$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40640
40641  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40642    for ac_func in sincosl
40643do :
40644  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40645if test "x$ac_cv_func_sincosl" = xyes; then :
40646  cat >>confdefs.h <<_ACEOF
40647#define HAVE_SINCOSL 1
40648_ACEOF
40649
40650fi
40651done
40652
40653  else
40654
40655  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40656$as_echo_n "checking for _sincosl declaration... " >&6; }
40657  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40658    if ${glibcxx_cv_func__sincosl_use+:} false; then :
40659  $as_echo_n "(cached) " >&6
40660else
40661
40662
40663      ac_ext=cpp
40664ac_cpp='$CXXCPP $CPPFLAGS'
40665ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40666ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40667ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40668
40669      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40670/* end confdefs.h.  */
40671#include <math.h>
40672int
40673main ()
40674{
40675 _sincosl(0, 0, 0);
40676  ;
40677  return 0;
40678}
40679_ACEOF
40680if ac_fn_cxx_try_compile "$LINENO"; then :
40681  glibcxx_cv_func__sincosl_use=yes
40682else
40683  glibcxx_cv_func__sincosl_use=no
40684fi
40685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40686      ac_ext=c
40687ac_cpp='$CPP $CPPFLAGS'
40688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40690ac_compiler_gnu=$ac_cv_c_compiler_gnu
40691
40692
40693fi
40694
40695  fi
40696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40697$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40698
40699    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40700      for ac_func in _sincosl
40701do :
40702  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40703if test "x$ac_cv_func__sincosl" = xyes; then :
40704  cat >>confdefs.h <<_ACEOF
40705#define HAVE__SINCOSL 1
40706_ACEOF
40707
40708fi
40709done
40710
40711    fi
40712  fi
40713
40714
40715
40716
40717
40718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40719$as_echo_n "checking for finitel declaration... " >&6; }
40720  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40721    if ${glibcxx_cv_func_finitel_use+:} false; then :
40722  $as_echo_n "(cached) " >&6
40723else
40724
40725
40726      ac_ext=cpp
40727ac_cpp='$CXXCPP $CPPFLAGS'
40728ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40729ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40730ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40731
40732      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40733/* end confdefs.h.  */
40734#include <math.h>
40735		      #ifdef HAVE_IEEEFP_H
40736		      #include <ieeefp.h>
40737		      #endif
40738
40739int
40740main ()
40741{
40742 finitel(0);
40743  ;
40744  return 0;
40745}
40746_ACEOF
40747if ac_fn_cxx_try_compile "$LINENO"; then :
40748  glibcxx_cv_func_finitel_use=yes
40749else
40750  glibcxx_cv_func_finitel_use=no
40751fi
40752rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40753      ac_ext=c
40754ac_cpp='$CPP $CPPFLAGS'
40755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40757ac_compiler_gnu=$ac_cv_c_compiler_gnu
40758
40759
40760fi
40761
40762  fi
40763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40764$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40765
40766  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40767    for ac_func in finitel
40768do :
40769  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40770if test "x$ac_cv_func_finitel" = xyes; then :
40771  cat >>confdefs.h <<_ACEOF
40772#define HAVE_FINITEL 1
40773_ACEOF
40774
40775fi
40776done
40777
40778  else
40779
40780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40781$as_echo_n "checking for _finitel declaration... " >&6; }
40782  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40783    if ${glibcxx_cv_func__finitel_use+:} false; then :
40784  $as_echo_n "(cached) " >&6
40785else
40786
40787
40788      ac_ext=cpp
40789ac_cpp='$CXXCPP $CPPFLAGS'
40790ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40791ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40792ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40793
40794      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40795/* end confdefs.h.  */
40796#include <math.h>
40797		      #ifdef HAVE_IEEEFP_H
40798		      #include <ieeefp.h>
40799		      #endif
40800
40801int
40802main ()
40803{
40804 _finitel(0);
40805  ;
40806  return 0;
40807}
40808_ACEOF
40809if ac_fn_cxx_try_compile "$LINENO"; then :
40810  glibcxx_cv_func__finitel_use=yes
40811else
40812  glibcxx_cv_func__finitel_use=no
40813fi
40814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40815      ac_ext=c
40816ac_cpp='$CPP $CPPFLAGS'
40817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40819ac_compiler_gnu=$ac_cv_c_compiler_gnu
40820
40821
40822fi
40823
40824  fi
40825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40826$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40827
40828    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40829      for ac_func in _finitel
40830do :
40831  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40832if test "x$ac_cv_func__finitel" = xyes; then :
40833  cat >>confdefs.h <<_ACEOF
40834#define HAVE__FINITEL 1
40835_ACEOF
40836
40837fi
40838done
40839
40840    fi
40841  fi
40842
40843
40844
40845
40846  LIBS="$ac_save_LIBS"
40847  CXXFLAGS="$ac_save_CXXFLAGS"
40848
40849
40850  ac_test_CXXFLAGS="${CXXFLAGS+set}"
40851  ac_save_CXXFLAGS="$CXXFLAGS"
40852  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40853
40854
40855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40856$as_echo_n "checking for at_quick_exit declaration... " >&6; }
40857  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40858    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40859  $as_echo_n "(cached) " >&6
40860else
40861
40862
40863      ac_ext=cpp
40864ac_cpp='$CXXCPP $CPPFLAGS'
40865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40868
40869      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40870/* end confdefs.h.  */
40871#include <stdlib.h>
40872int
40873main ()
40874{
40875 at_quick_exit(0);
40876  ;
40877  return 0;
40878}
40879_ACEOF
40880if ac_fn_cxx_try_compile "$LINENO"; then :
40881  glibcxx_cv_func_at_quick_exit_use=yes
40882else
40883  glibcxx_cv_func_at_quick_exit_use=no
40884fi
40885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40886      ac_ext=c
40887ac_cpp='$CPP $CPPFLAGS'
40888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40890ac_compiler_gnu=$ac_cv_c_compiler_gnu
40891
40892
40893fi
40894
40895  fi
40896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40897$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40898  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40899    for ac_func in at_quick_exit
40900do :
40901  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40902if test "x$ac_cv_func_at_quick_exit" = xyes; then :
40903  cat >>confdefs.h <<_ACEOF
40904#define HAVE_AT_QUICK_EXIT 1
40905_ACEOF
40906
40907fi
40908done
40909
40910  fi
40911
40912
40913  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40914$as_echo_n "checking for quick_exit declaration... " >&6; }
40915  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40916    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
40917  $as_echo_n "(cached) " >&6
40918else
40919
40920
40921      ac_ext=cpp
40922ac_cpp='$CXXCPP $CPPFLAGS'
40923ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40924ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40925ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40926
40927      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40928/* end confdefs.h.  */
40929#include <stdlib.h>
40930int
40931main ()
40932{
40933 quick_exit(0);
40934  ;
40935  return 0;
40936}
40937_ACEOF
40938if ac_fn_cxx_try_compile "$LINENO"; then :
40939  glibcxx_cv_func_quick_exit_use=yes
40940else
40941  glibcxx_cv_func_quick_exit_use=no
40942fi
40943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40944      ac_ext=c
40945ac_cpp='$CPP $CPPFLAGS'
40946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40948ac_compiler_gnu=$ac_cv_c_compiler_gnu
40949
40950
40951fi
40952
40953  fi
40954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40955$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40956  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40957    for ac_func in quick_exit
40958do :
40959  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40960if test "x$ac_cv_func_quick_exit" = xyes; then :
40961  cat >>confdefs.h <<_ACEOF
40962#define HAVE_QUICK_EXIT 1
40963_ACEOF
40964
40965fi
40966done
40967
40968  fi
40969
40970
40971  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40972$as_echo_n "checking for strtold declaration... " >&6; }
40973  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40974    if ${glibcxx_cv_func_strtold_use+:} false; then :
40975  $as_echo_n "(cached) " >&6
40976else
40977
40978
40979      ac_ext=cpp
40980ac_cpp='$CXXCPP $CPPFLAGS'
40981ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40982ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40983ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40984
40985      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40986/* end confdefs.h.  */
40987#include <stdlib.h>
40988int
40989main ()
40990{
40991 strtold(0, 0);
40992  ;
40993  return 0;
40994}
40995_ACEOF
40996if ac_fn_cxx_try_compile "$LINENO"; then :
40997  glibcxx_cv_func_strtold_use=yes
40998else
40999  glibcxx_cv_func_strtold_use=no
41000fi
41001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41002      ac_ext=c
41003ac_cpp='$CPP $CPPFLAGS'
41004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41006ac_compiler_gnu=$ac_cv_c_compiler_gnu
41007
41008
41009fi
41010
41011  fi
41012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41013$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41014  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41015    for ac_func in strtold
41016do :
41017  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41018if test "x$ac_cv_func_strtold" = xyes; then :
41019  cat >>confdefs.h <<_ACEOF
41020#define HAVE_STRTOLD 1
41021_ACEOF
41022
41023fi
41024done
41025
41026  fi
41027
41028
41029
41030
41031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41032$as_echo_n "checking for strtof declaration... " >&6; }
41033  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41034    if ${glibcxx_cv_func_strtof_use+:} false; then :
41035  $as_echo_n "(cached) " >&6
41036else
41037
41038
41039      ac_ext=cpp
41040ac_cpp='$CXXCPP $CPPFLAGS'
41041ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41042ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41043ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41044
41045      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41046/* end confdefs.h.  */
41047#include <stdlib.h>
41048int
41049main ()
41050{
41051 strtof(0, 0);
41052  ;
41053  return 0;
41054}
41055_ACEOF
41056if ac_fn_cxx_try_compile "$LINENO"; then :
41057  glibcxx_cv_func_strtof_use=yes
41058else
41059  glibcxx_cv_func_strtof_use=no
41060fi
41061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41062      ac_ext=c
41063ac_cpp='$CPP $CPPFLAGS'
41064ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41065ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41066ac_compiler_gnu=$ac_cv_c_compiler_gnu
41067
41068
41069fi
41070
41071  fi
41072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41073$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41074  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41075    for ac_func in strtof
41076do :
41077  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41078if test "x$ac_cv_func_strtof" = xyes; then :
41079  cat >>confdefs.h <<_ACEOF
41080#define HAVE_STRTOF 1
41081_ACEOF
41082
41083fi
41084done
41085
41086  fi
41087
41088
41089
41090
41091  CXXFLAGS="$ac_save_CXXFLAGS"
41092
41093    $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41094
41095    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41096
41097    # We don't yet support AIX's TLS ABI.
41098    #GCC_CHECK_TLS
41099
41100
41101
41102
41103
41104  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41105$as_echo_n "checking for iconv... " >&6; }
41106if ${am_cv_func_iconv+:} false; then :
41107  $as_echo_n "(cached) " >&6
41108else
41109
41110    am_cv_func_iconv="no, consider installing GNU libiconv"
41111    am_cv_lib_iconv=no
41112                    am_save_CPPFLAGS="$CPPFLAGS"
41113    CPPFLAGS="$CPPFLAGS $INCICONV"
41114    if test x$gcc_no_link = xyes; then
41115  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41116fi
41117cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41118/* end confdefs.h.  */
41119#include <stdlib.h>
41120#include <iconv.h>
41121int
41122main ()
41123{
41124iconv_t cd = iconv_open("","");
41125       iconv(cd,NULL,NULL,NULL,NULL);
41126       iconv_close(cd);
41127  ;
41128  return 0;
41129}
41130_ACEOF
41131if ac_fn_c_try_link "$LINENO"; then :
41132  am_cv_func_iconv=yes
41133fi
41134rm -f core conftest.err conftest.$ac_objext \
41135    conftest$ac_exeext conftest.$ac_ext
41136    CPPFLAGS="$am_save_CPPFLAGS"
41137
41138    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41139      for _libs in .libs _libs; do
41140        am_save_CPPFLAGS="$CPPFLAGS"
41141        am_save_LIBS="$LIBS"
41142        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41143        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41144        if test x$gcc_no_link = xyes; then
41145  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41146fi
41147cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41148/* end confdefs.h.  */
41149#include <stdlib.h>
41150#include <iconv.h>
41151int
41152main ()
41153{
41154iconv_t cd = iconv_open("","");
41155           iconv(cd,NULL,NULL,NULL,NULL);
41156           iconv_close(cd);
41157  ;
41158  return 0;
41159}
41160_ACEOF
41161if ac_fn_c_try_link "$LINENO"; then :
41162  INCICONV="-I../libiconv/include"
41163          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41164          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41165          am_cv_lib_iconv=yes
41166          am_cv_func_iconv=yes
41167fi
41168rm -f core conftest.err conftest.$ac_objext \
41169    conftest$ac_exeext conftest.$ac_ext
41170        CPPFLAGS="$am_save_CPPFLAGS"
41171        LIBS="$am_save_LIBS"
41172        if test "$am_cv_func_iconv" = "yes"; then
41173          break
41174        fi
41175      done
41176    fi
41177
41178    if test "$am_cv_func_iconv" != yes; then
41179      am_save_CPPFLAGS="$CPPFLAGS"
41180      am_save_LIBS="$LIBS"
41181      CPPFLAGS="$CPPFLAGS $INCICONV"
41182      LIBS="$LIBS $LIBICONV"
41183      if test x$gcc_no_link = xyes; then
41184  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41185fi
41186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41187/* end confdefs.h.  */
41188#include <stdlib.h>
41189#include <iconv.h>
41190int
41191main ()
41192{
41193iconv_t cd = iconv_open("","");
41194         iconv(cd,NULL,NULL,NULL,NULL);
41195         iconv_close(cd);
41196  ;
41197  return 0;
41198}
41199_ACEOF
41200if ac_fn_c_try_link "$LINENO"; then :
41201  am_cv_lib_iconv=yes
41202        am_cv_func_iconv=yes
41203fi
41204rm -f core conftest.err conftest.$ac_objext \
41205    conftest$ac_exeext conftest.$ac_ext
41206      CPPFLAGS="$am_save_CPPFLAGS"
41207      LIBS="$am_save_LIBS"
41208    fi
41209
41210fi
41211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41212$as_echo "$am_cv_func_iconv" >&6; }
41213  if test "$am_cv_func_iconv" = yes; then
41214
41215$as_echo "#define HAVE_ICONV 1" >>confdefs.h
41216
41217  fi
41218  if test "$am_cv_lib_iconv" = yes; then
41219
41220  for element in $INCICONV; do
41221    haveit=
41222    for x in $CPPFLAGS; do
41223
41224  acl_save_prefix="$prefix"
41225  prefix="$acl_final_prefix"
41226  acl_save_exec_prefix="$exec_prefix"
41227  exec_prefix="$acl_final_exec_prefix"
41228  eval x=\"$x\"
41229  exec_prefix="$acl_save_exec_prefix"
41230  prefix="$acl_save_prefix"
41231
41232      if test "X$x" = "X$element"; then
41233        haveit=yes
41234        break
41235      fi
41236    done
41237    if test -z "$haveit"; then
41238      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41239    fi
41240  done
41241
41242    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41243$as_echo_n "checking how to link with libiconv... " >&6; }
41244    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41245$as_echo "$LIBICONV" >&6; }
41246  else
41247    LIBICONV=
41248    LTLIBICONV=
41249  fi
41250
41251
41252
41253  if test "$am_cv_func_iconv" = yes; then
41254    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41255$as_echo_n "checking for iconv declaration... " >&6; }
41256    if ${am_cv_proto_iconv+:} false; then :
41257  $as_echo_n "(cached) " >&6
41258else
41259
41260      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41261/* end confdefs.h.  */
41262
41263#include <stdlib.h>
41264#include <iconv.h>
41265extern
41266#ifdef __cplusplus
41267"C"
41268#endif
41269#if defined(__STDC__) || defined(__cplusplus)
41270size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41271#else
41272size_t iconv();
41273#endif
41274
41275int
41276main ()
41277{
41278
41279  ;
41280  return 0;
41281}
41282_ACEOF
41283if ac_fn_c_try_compile "$LINENO"; then :
41284  am_cv_proto_iconv_arg1=""
41285else
41286  am_cv_proto_iconv_arg1="const"
41287fi
41288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41289      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);"
41290fi
41291
41292    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41293    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41294         }$am_cv_proto_iconv" >&5
41295$as_echo "${ac_t:-
41296         }$am_cv_proto_iconv" >&6; }
41297
41298cat >>confdefs.h <<_ACEOF
41299#define ICONV_CONST $am_cv_proto_iconv_arg1
41300_ACEOF
41301
41302  fi
41303
41304
41305    $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41306
41307    ;;
41308
41309  *-darwin*)
41310    # Darwin versions vary, but the linker should work in a cross environment,
41311    # so we just check for all the features here.
41312    # Check for available headers.
41313
41314    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41315
41316  ac_test_CXXFLAGS="${CXXFLAGS+set}"
41317  ac_save_CXXFLAGS="$CXXFLAGS"
41318  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41319
41320    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41321$as_echo_n "checking for sin in -lm... " >&6; }
41322if ${ac_cv_lib_m_sin+:} false; then :
41323  $as_echo_n "(cached) " >&6
41324else
41325  ac_check_lib_save_LIBS=$LIBS
41326LIBS="-lm  $LIBS"
41327if test x$gcc_no_link = xyes; then
41328  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41329fi
41330cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41331/* end confdefs.h.  */
41332
41333/* Override any GCC internal prototype to avoid an error.
41334   Use char because int might match the return type of a GCC
41335   builtin and then its argument prototype would still apply.  */
41336#ifdef __cplusplus
41337extern "C"
41338#endif
41339char sin ();
41340int
41341main ()
41342{
41343return sin ();
41344  ;
41345  return 0;
41346}
41347_ACEOF
41348if ac_fn_c_try_link "$LINENO"; then :
41349  ac_cv_lib_m_sin=yes
41350else
41351  ac_cv_lib_m_sin=no
41352fi
41353rm -f core conftest.err conftest.$ac_objext \
41354    conftest$ac_exeext conftest.$ac_ext
41355LIBS=$ac_check_lib_save_LIBS
41356fi
41357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41358$as_echo "$ac_cv_lib_m_sin" >&6; }
41359if test "x$ac_cv_lib_m_sin" = xyes; then :
41360  libm="-lm"
41361fi
41362
41363  ac_save_LIBS="$LIBS"
41364  LIBS="$LIBS $libm"
41365
41366
41367
41368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41369$as_echo_n "checking for isinf declaration... " >&6; }
41370  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41371    if ${glibcxx_cv_func_isinf_use+:} false; then :
41372  $as_echo_n "(cached) " >&6
41373else
41374
41375
41376      ac_ext=cpp
41377ac_cpp='$CXXCPP $CPPFLAGS'
41378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41381
41382      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41383/* end confdefs.h.  */
41384#include <math.h>
41385		      #ifdef HAVE_IEEEFP_H
41386		      #include <ieeefp.h>
41387		      #endif
41388
41389int
41390main ()
41391{
41392 isinf(0);
41393  ;
41394  return 0;
41395}
41396_ACEOF
41397if ac_fn_cxx_try_compile "$LINENO"; then :
41398  glibcxx_cv_func_isinf_use=yes
41399else
41400  glibcxx_cv_func_isinf_use=no
41401fi
41402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41403      ac_ext=c
41404ac_cpp='$CPP $CPPFLAGS'
41405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41407ac_compiler_gnu=$ac_cv_c_compiler_gnu
41408
41409
41410fi
41411
41412  fi
41413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41414$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41415
41416  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41417    for ac_func in isinf
41418do :
41419  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41420if test "x$ac_cv_func_isinf" = xyes; then :
41421  cat >>confdefs.h <<_ACEOF
41422#define HAVE_ISINF 1
41423_ACEOF
41424
41425fi
41426done
41427
41428  else
41429
41430  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41431$as_echo_n "checking for _isinf declaration... " >&6; }
41432  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41433    if ${glibcxx_cv_func__isinf_use+:} false; then :
41434  $as_echo_n "(cached) " >&6
41435else
41436
41437
41438      ac_ext=cpp
41439ac_cpp='$CXXCPP $CPPFLAGS'
41440ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41441ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41442ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41443
41444      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41445/* end confdefs.h.  */
41446#include <math.h>
41447		      #ifdef HAVE_IEEEFP_H
41448		      #include <ieeefp.h>
41449		      #endif
41450
41451int
41452main ()
41453{
41454 _isinf(0);
41455  ;
41456  return 0;
41457}
41458_ACEOF
41459if ac_fn_cxx_try_compile "$LINENO"; then :
41460  glibcxx_cv_func__isinf_use=yes
41461else
41462  glibcxx_cv_func__isinf_use=no
41463fi
41464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41465      ac_ext=c
41466ac_cpp='$CPP $CPPFLAGS'
41467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41469ac_compiler_gnu=$ac_cv_c_compiler_gnu
41470
41471
41472fi
41473
41474  fi
41475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41476$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41477
41478    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41479      for ac_func in _isinf
41480do :
41481  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41482if test "x$ac_cv_func__isinf" = xyes; then :
41483  cat >>confdefs.h <<_ACEOF
41484#define HAVE__ISINF 1
41485_ACEOF
41486
41487fi
41488done
41489
41490    fi
41491  fi
41492
41493
41494
41495
41496
41497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41498$as_echo_n "checking for isnan declaration... " >&6; }
41499  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41500    if ${glibcxx_cv_func_isnan_use+:} false; then :
41501  $as_echo_n "(cached) " >&6
41502else
41503
41504
41505      ac_ext=cpp
41506ac_cpp='$CXXCPP $CPPFLAGS'
41507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41510
41511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41512/* end confdefs.h.  */
41513#include <math.h>
41514		      #ifdef HAVE_IEEEFP_H
41515		      #include <ieeefp.h>
41516		      #endif
41517
41518int
41519main ()
41520{
41521 isnan(0);
41522  ;
41523  return 0;
41524}
41525_ACEOF
41526if ac_fn_cxx_try_compile "$LINENO"; then :
41527  glibcxx_cv_func_isnan_use=yes
41528else
41529  glibcxx_cv_func_isnan_use=no
41530fi
41531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41532      ac_ext=c
41533ac_cpp='$CPP $CPPFLAGS'
41534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41536ac_compiler_gnu=$ac_cv_c_compiler_gnu
41537
41538
41539fi
41540
41541  fi
41542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41543$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41544
41545  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41546    for ac_func in isnan
41547do :
41548  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41549if test "x$ac_cv_func_isnan" = xyes; then :
41550  cat >>confdefs.h <<_ACEOF
41551#define HAVE_ISNAN 1
41552_ACEOF
41553
41554fi
41555done
41556
41557  else
41558
41559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41560$as_echo_n "checking for _isnan declaration... " >&6; }
41561  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41562    if ${glibcxx_cv_func__isnan_use+:} false; then :
41563  $as_echo_n "(cached) " >&6
41564else
41565
41566
41567      ac_ext=cpp
41568ac_cpp='$CXXCPP $CPPFLAGS'
41569ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41572
41573      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41574/* end confdefs.h.  */
41575#include <math.h>
41576		      #ifdef HAVE_IEEEFP_H
41577		      #include <ieeefp.h>
41578		      #endif
41579
41580int
41581main ()
41582{
41583 _isnan(0);
41584  ;
41585  return 0;
41586}
41587_ACEOF
41588if ac_fn_cxx_try_compile "$LINENO"; then :
41589  glibcxx_cv_func__isnan_use=yes
41590else
41591  glibcxx_cv_func__isnan_use=no
41592fi
41593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41594      ac_ext=c
41595ac_cpp='$CPP $CPPFLAGS'
41596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598ac_compiler_gnu=$ac_cv_c_compiler_gnu
41599
41600
41601fi
41602
41603  fi
41604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41605$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41606
41607    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41608      for ac_func in _isnan
41609do :
41610  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41611if test "x$ac_cv_func__isnan" = xyes; then :
41612  cat >>confdefs.h <<_ACEOF
41613#define HAVE__ISNAN 1
41614_ACEOF
41615
41616fi
41617done
41618
41619    fi
41620  fi
41621
41622
41623
41624
41625
41626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41627$as_echo_n "checking for finite declaration... " >&6; }
41628  if test x${glibcxx_cv_func_finite_use+set} != xset; then
41629    if ${glibcxx_cv_func_finite_use+:} false; then :
41630  $as_echo_n "(cached) " >&6
41631else
41632
41633
41634      ac_ext=cpp
41635ac_cpp='$CXXCPP $CPPFLAGS'
41636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41639
41640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41641/* end confdefs.h.  */
41642#include <math.h>
41643		      #ifdef HAVE_IEEEFP_H
41644		      #include <ieeefp.h>
41645		      #endif
41646
41647int
41648main ()
41649{
41650 finite(0);
41651  ;
41652  return 0;
41653}
41654_ACEOF
41655if ac_fn_cxx_try_compile "$LINENO"; then :
41656  glibcxx_cv_func_finite_use=yes
41657else
41658  glibcxx_cv_func_finite_use=no
41659fi
41660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41661      ac_ext=c
41662ac_cpp='$CPP $CPPFLAGS'
41663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665ac_compiler_gnu=$ac_cv_c_compiler_gnu
41666
41667
41668fi
41669
41670  fi
41671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41672$as_echo "$glibcxx_cv_func_finite_use" >&6; }
41673
41674  if test x$glibcxx_cv_func_finite_use = x"yes"; then
41675    for ac_func in finite
41676do :
41677  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41678if test "x$ac_cv_func_finite" = xyes; then :
41679  cat >>confdefs.h <<_ACEOF
41680#define HAVE_FINITE 1
41681_ACEOF
41682
41683fi
41684done
41685
41686  else
41687
41688  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41689$as_echo_n "checking for _finite declaration... " >&6; }
41690  if test x${glibcxx_cv_func__finite_use+set} != xset; then
41691    if ${glibcxx_cv_func__finite_use+:} false; then :
41692  $as_echo_n "(cached) " >&6
41693else
41694
41695
41696      ac_ext=cpp
41697ac_cpp='$CXXCPP $CPPFLAGS'
41698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41701
41702      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41703/* end confdefs.h.  */
41704#include <math.h>
41705		      #ifdef HAVE_IEEEFP_H
41706		      #include <ieeefp.h>
41707		      #endif
41708
41709int
41710main ()
41711{
41712 _finite(0);
41713  ;
41714  return 0;
41715}
41716_ACEOF
41717if ac_fn_cxx_try_compile "$LINENO"; then :
41718  glibcxx_cv_func__finite_use=yes
41719else
41720  glibcxx_cv_func__finite_use=no
41721fi
41722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41723      ac_ext=c
41724ac_cpp='$CPP $CPPFLAGS'
41725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41727ac_compiler_gnu=$ac_cv_c_compiler_gnu
41728
41729
41730fi
41731
41732  fi
41733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41734$as_echo "$glibcxx_cv_func__finite_use" >&6; }
41735
41736    if test x$glibcxx_cv_func__finite_use = x"yes"; then
41737      for ac_func in _finite
41738do :
41739  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41740if test "x$ac_cv_func__finite" = xyes; then :
41741  cat >>confdefs.h <<_ACEOF
41742#define HAVE__FINITE 1
41743_ACEOF
41744
41745fi
41746done
41747
41748    fi
41749  fi
41750
41751
41752
41753
41754
41755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41756$as_echo_n "checking for sincos declaration... " >&6; }
41757  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41758    if ${glibcxx_cv_func_sincos_use+:} false; then :
41759  $as_echo_n "(cached) " >&6
41760else
41761
41762
41763      ac_ext=cpp
41764ac_cpp='$CXXCPP $CPPFLAGS'
41765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41768
41769      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41770/* end confdefs.h.  */
41771#include <math.h>
41772int
41773main ()
41774{
41775 sincos(0, 0, 0);
41776  ;
41777  return 0;
41778}
41779_ACEOF
41780if ac_fn_cxx_try_compile "$LINENO"; then :
41781  glibcxx_cv_func_sincos_use=yes
41782else
41783  glibcxx_cv_func_sincos_use=no
41784fi
41785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41786      ac_ext=c
41787ac_cpp='$CPP $CPPFLAGS'
41788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790ac_compiler_gnu=$ac_cv_c_compiler_gnu
41791
41792
41793fi
41794
41795  fi
41796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41797$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41798
41799  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41800    for ac_func in sincos
41801do :
41802  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41803if test "x$ac_cv_func_sincos" = xyes; then :
41804  cat >>confdefs.h <<_ACEOF
41805#define HAVE_SINCOS 1
41806_ACEOF
41807
41808fi
41809done
41810
41811  else
41812
41813  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41814$as_echo_n "checking for _sincos declaration... " >&6; }
41815  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41816    if ${glibcxx_cv_func__sincos_use+:} false; then :
41817  $as_echo_n "(cached) " >&6
41818else
41819
41820
41821      ac_ext=cpp
41822ac_cpp='$CXXCPP $CPPFLAGS'
41823ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41826
41827      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41828/* end confdefs.h.  */
41829#include <math.h>
41830int
41831main ()
41832{
41833 _sincos(0, 0, 0);
41834  ;
41835  return 0;
41836}
41837_ACEOF
41838if ac_fn_cxx_try_compile "$LINENO"; then :
41839  glibcxx_cv_func__sincos_use=yes
41840else
41841  glibcxx_cv_func__sincos_use=no
41842fi
41843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41844      ac_ext=c
41845ac_cpp='$CPP $CPPFLAGS'
41846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848ac_compiler_gnu=$ac_cv_c_compiler_gnu
41849
41850
41851fi
41852
41853  fi
41854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41855$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41856
41857    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41858      for ac_func in _sincos
41859do :
41860  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41861if test "x$ac_cv_func__sincos" = xyes; then :
41862  cat >>confdefs.h <<_ACEOF
41863#define HAVE__SINCOS 1
41864_ACEOF
41865
41866fi
41867done
41868
41869    fi
41870  fi
41871
41872
41873
41874
41875
41876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41877$as_echo_n "checking for fpclass declaration... " >&6; }
41878  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41879    if ${glibcxx_cv_func_fpclass_use+:} false; then :
41880  $as_echo_n "(cached) " >&6
41881else
41882
41883
41884      ac_ext=cpp
41885ac_cpp='$CXXCPP $CPPFLAGS'
41886ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41887ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41888ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41889
41890      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41891/* end confdefs.h.  */
41892#include <math.h>
41893		      #ifdef HAVE_IEEEFP_H
41894		      #include <ieeefp.h>
41895		      #endif
41896
41897int
41898main ()
41899{
41900 fpclass(0);
41901  ;
41902  return 0;
41903}
41904_ACEOF
41905if ac_fn_cxx_try_compile "$LINENO"; then :
41906  glibcxx_cv_func_fpclass_use=yes
41907else
41908  glibcxx_cv_func_fpclass_use=no
41909fi
41910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41911      ac_ext=c
41912ac_cpp='$CPP $CPPFLAGS'
41913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41915ac_compiler_gnu=$ac_cv_c_compiler_gnu
41916
41917
41918fi
41919
41920  fi
41921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41922$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41923
41924  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41925    for ac_func in fpclass
41926do :
41927  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41928if test "x$ac_cv_func_fpclass" = xyes; then :
41929  cat >>confdefs.h <<_ACEOF
41930#define HAVE_FPCLASS 1
41931_ACEOF
41932
41933fi
41934done
41935
41936  else
41937
41938  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41939$as_echo_n "checking for _fpclass declaration... " >&6; }
41940  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41941    if ${glibcxx_cv_func__fpclass_use+:} false; then :
41942  $as_echo_n "(cached) " >&6
41943else
41944
41945
41946      ac_ext=cpp
41947ac_cpp='$CXXCPP $CPPFLAGS'
41948ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41949ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41950ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41951
41952      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41953/* end confdefs.h.  */
41954#include <math.h>
41955		      #ifdef HAVE_IEEEFP_H
41956		      #include <ieeefp.h>
41957		      #endif
41958
41959int
41960main ()
41961{
41962 _fpclass(0);
41963  ;
41964  return 0;
41965}
41966_ACEOF
41967if ac_fn_cxx_try_compile "$LINENO"; then :
41968  glibcxx_cv_func__fpclass_use=yes
41969else
41970  glibcxx_cv_func__fpclass_use=no
41971fi
41972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41973      ac_ext=c
41974ac_cpp='$CPP $CPPFLAGS'
41975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41977ac_compiler_gnu=$ac_cv_c_compiler_gnu
41978
41979
41980fi
41981
41982  fi
41983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41984$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41985
41986    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41987      for ac_func in _fpclass
41988do :
41989  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41990if test "x$ac_cv_func__fpclass" = xyes; then :
41991  cat >>confdefs.h <<_ACEOF
41992#define HAVE__FPCLASS 1
41993_ACEOF
41994
41995fi
41996done
41997
41998    fi
41999  fi
42000
42001
42002
42003
42004
42005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42006$as_echo_n "checking for qfpclass declaration... " >&6; }
42007  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42008    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42009  $as_echo_n "(cached) " >&6
42010else
42011
42012
42013      ac_ext=cpp
42014ac_cpp='$CXXCPP $CPPFLAGS'
42015ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42018
42019      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42020/* end confdefs.h.  */
42021#include <math.h>
42022		      #ifdef HAVE_IEEEFP_H
42023		      #include <ieeefp.h>
42024		      #endif
42025
42026int
42027main ()
42028{
42029 qfpclass(0);
42030  ;
42031  return 0;
42032}
42033_ACEOF
42034if ac_fn_cxx_try_compile "$LINENO"; then :
42035  glibcxx_cv_func_qfpclass_use=yes
42036else
42037  glibcxx_cv_func_qfpclass_use=no
42038fi
42039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42040      ac_ext=c
42041ac_cpp='$CPP $CPPFLAGS'
42042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42044ac_compiler_gnu=$ac_cv_c_compiler_gnu
42045
42046
42047fi
42048
42049  fi
42050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42051$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42052
42053  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42054    for ac_func in qfpclass
42055do :
42056  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42057if test "x$ac_cv_func_qfpclass" = xyes; then :
42058  cat >>confdefs.h <<_ACEOF
42059#define HAVE_QFPCLASS 1
42060_ACEOF
42061
42062fi
42063done
42064
42065  else
42066
42067  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42068$as_echo_n "checking for _qfpclass declaration... " >&6; }
42069  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42070    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42071  $as_echo_n "(cached) " >&6
42072else
42073
42074
42075      ac_ext=cpp
42076ac_cpp='$CXXCPP $CPPFLAGS'
42077ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42080
42081      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42082/* end confdefs.h.  */
42083#include <math.h>
42084		      #ifdef HAVE_IEEEFP_H
42085		      #include <ieeefp.h>
42086		      #endif
42087
42088int
42089main ()
42090{
42091 _qfpclass(0);
42092  ;
42093  return 0;
42094}
42095_ACEOF
42096if ac_fn_cxx_try_compile "$LINENO"; then :
42097  glibcxx_cv_func__qfpclass_use=yes
42098else
42099  glibcxx_cv_func__qfpclass_use=no
42100fi
42101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42102      ac_ext=c
42103ac_cpp='$CPP $CPPFLAGS'
42104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106ac_compiler_gnu=$ac_cv_c_compiler_gnu
42107
42108
42109fi
42110
42111  fi
42112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42113$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42114
42115    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42116      for ac_func in _qfpclass
42117do :
42118  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42119if test "x$ac_cv_func__qfpclass" = xyes; then :
42120  cat >>confdefs.h <<_ACEOF
42121#define HAVE__QFPCLASS 1
42122_ACEOF
42123
42124fi
42125done
42126
42127    fi
42128  fi
42129
42130
42131
42132
42133
42134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42135$as_echo_n "checking for hypot declaration... " >&6; }
42136  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42137    if ${glibcxx_cv_func_hypot_use+:} false; then :
42138  $as_echo_n "(cached) " >&6
42139else
42140
42141
42142      ac_ext=cpp
42143ac_cpp='$CXXCPP $CPPFLAGS'
42144ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42145ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42146ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42147
42148      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42149/* end confdefs.h.  */
42150#include <math.h>
42151int
42152main ()
42153{
42154 hypot(0, 0);
42155  ;
42156  return 0;
42157}
42158_ACEOF
42159if ac_fn_cxx_try_compile "$LINENO"; then :
42160  glibcxx_cv_func_hypot_use=yes
42161else
42162  glibcxx_cv_func_hypot_use=no
42163fi
42164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42165      ac_ext=c
42166ac_cpp='$CPP $CPPFLAGS'
42167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169ac_compiler_gnu=$ac_cv_c_compiler_gnu
42170
42171
42172fi
42173
42174  fi
42175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42176$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42177
42178  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42179    for ac_func in hypot
42180do :
42181  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42182if test "x$ac_cv_func_hypot" = xyes; then :
42183  cat >>confdefs.h <<_ACEOF
42184#define HAVE_HYPOT 1
42185_ACEOF
42186
42187fi
42188done
42189
42190  else
42191
42192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42193$as_echo_n "checking for _hypot declaration... " >&6; }
42194  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42195    if ${glibcxx_cv_func__hypot_use+:} false; then :
42196  $as_echo_n "(cached) " >&6
42197else
42198
42199
42200      ac_ext=cpp
42201ac_cpp='$CXXCPP $CPPFLAGS'
42202ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42205
42206      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42207/* end confdefs.h.  */
42208#include <math.h>
42209int
42210main ()
42211{
42212 _hypot(0, 0);
42213  ;
42214  return 0;
42215}
42216_ACEOF
42217if ac_fn_cxx_try_compile "$LINENO"; then :
42218  glibcxx_cv_func__hypot_use=yes
42219else
42220  glibcxx_cv_func__hypot_use=no
42221fi
42222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42223      ac_ext=c
42224ac_cpp='$CPP $CPPFLAGS'
42225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42227ac_compiler_gnu=$ac_cv_c_compiler_gnu
42228
42229
42230fi
42231
42232  fi
42233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42234$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42235
42236    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42237      for ac_func in _hypot
42238do :
42239  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42240if test "x$ac_cv_func__hypot" = xyes; then :
42241  cat >>confdefs.h <<_ACEOF
42242#define HAVE__HYPOT 1
42243_ACEOF
42244
42245fi
42246done
42247
42248    fi
42249  fi
42250
42251
42252
42253
42254
42255    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42256$as_echo_n "checking for float trig functions... " >&6; }
42257  if ${glibcxx_cv_func_float_trig_use+:} false; then :
42258  $as_echo_n "(cached) " >&6
42259else
42260
42261
42262    ac_ext=cpp
42263ac_cpp='$CXXCPP $CPPFLAGS'
42264ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42265ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42266ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42267
42268    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42269/* end confdefs.h.  */
42270#include <math.h>
42271int
42272main ()
42273{
42274acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42275  ;
42276  return 0;
42277}
42278_ACEOF
42279if ac_fn_cxx_try_compile "$LINENO"; then :
42280  glibcxx_cv_func_float_trig_use=yes
42281else
42282  glibcxx_cv_func_float_trig_use=no
42283fi
42284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42285    ac_ext=c
42286ac_cpp='$CPP $CPPFLAGS'
42287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42289ac_compiler_gnu=$ac_cv_c_compiler_gnu
42290
42291fi
42292
42293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42294$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42295  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42296    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42297do :
42298  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42299ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42300if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42301  cat >>confdefs.h <<_ACEOF
42302#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42303_ACEOF
42304
42305fi
42306done
42307
42308  else
42309    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42310$as_echo_n "checking for _float trig functions... " >&6; }
42311    if ${glibcxx_cv_func__float_trig_use+:} false; then :
42312  $as_echo_n "(cached) " >&6
42313else
42314
42315
42316      ac_ext=cpp
42317ac_cpp='$CXXCPP $CPPFLAGS'
42318ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42319ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42320ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42321
42322      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42323/* end confdefs.h.  */
42324#include <math.h>
42325int
42326main ()
42327{
42328_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42329  ;
42330  return 0;
42331}
42332_ACEOF
42333if ac_fn_cxx_try_compile "$LINENO"; then :
42334  glibcxx_cv_func__float_trig_use=yes
42335else
42336  glibcxx_cv_func__float_trig_use=no
42337fi
42338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42339      ac_ext=c
42340ac_cpp='$CPP $CPPFLAGS'
42341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42343ac_compiler_gnu=$ac_cv_c_compiler_gnu
42344
42345fi
42346
42347    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42348$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42349    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42350      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42351do :
42352  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42353ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42354if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42355  cat >>confdefs.h <<_ACEOF
42356#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42357_ACEOF
42358
42359fi
42360done
42361
42362    fi
42363  fi
42364
42365
42366
42367
42368
42369    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42370$as_echo_n "checking for float round functions... " >&6; }
42371  if ${glibcxx_cv_func_float_round_use+:} false; then :
42372  $as_echo_n "(cached) " >&6
42373else
42374
42375
42376    ac_ext=cpp
42377ac_cpp='$CXXCPP $CPPFLAGS'
42378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42381
42382    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42383/* end confdefs.h.  */
42384#include <math.h>
42385int
42386main ()
42387{
42388ceilf (0); floorf (0);
42389  ;
42390  return 0;
42391}
42392_ACEOF
42393if ac_fn_cxx_try_compile "$LINENO"; then :
42394  glibcxx_cv_func_float_round_use=yes
42395else
42396  glibcxx_cv_func_float_round_use=no
42397fi
42398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42399    ac_ext=c
42400ac_cpp='$CPP $CPPFLAGS'
42401ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403ac_compiler_gnu=$ac_cv_c_compiler_gnu
42404
42405fi
42406
42407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42408$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42409  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42410    for ac_func in ceilf floorf
42411do :
42412  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42413ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42414if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42415  cat >>confdefs.h <<_ACEOF
42416#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42417_ACEOF
42418
42419fi
42420done
42421
42422  else
42423    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42424$as_echo_n "checking for _float round functions... " >&6; }
42425    if ${glibcxx_cv_func__float_round_use+:} false; then :
42426  $as_echo_n "(cached) " >&6
42427else
42428
42429
42430      ac_ext=cpp
42431ac_cpp='$CXXCPP $CPPFLAGS'
42432ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42433ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42434ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42435
42436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42437/* end confdefs.h.  */
42438#include <math.h>
42439int
42440main ()
42441{
42442_ceilf (0); _floorf (0);
42443  ;
42444  return 0;
42445}
42446_ACEOF
42447if ac_fn_cxx_try_compile "$LINENO"; then :
42448  glibcxx_cv_func__float_round_use=yes
42449else
42450  glibcxx_cv_func__float_round_use=no
42451fi
42452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42453      ac_ext=c
42454ac_cpp='$CPP $CPPFLAGS'
42455ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457ac_compiler_gnu=$ac_cv_c_compiler_gnu
42458
42459fi
42460
42461    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42462$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42463    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42464      for ac_func in _ceilf _floorf
42465do :
42466  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42467ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42468if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42469  cat >>confdefs.h <<_ACEOF
42470#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42471_ACEOF
42472
42473fi
42474done
42475
42476    fi
42477  fi
42478
42479
42480
42481
42482
42483
42484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42485$as_echo_n "checking for expf declaration... " >&6; }
42486  if test x${glibcxx_cv_func_expf_use+set} != xset; then
42487    if ${glibcxx_cv_func_expf_use+:} false; then :
42488  $as_echo_n "(cached) " >&6
42489else
42490
42491
42492      ac_ext=cpp
42493ac_cpp='$CXXCPP $CPPFLAGS'
42494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42497
42498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42499/* end confdefs.h.  */
42500#include <math.h>
42501		      #ifdef HAVE_IEEEFP_H
42502		      #include <ieeefp.h>
42503		      #endif
42504
42505int
42506main ()
42507{
42508 expf(0);
42509  ;
42510  return 0;
42511}
42512_ACEOF
42513if ac_fn_cxx_try_compile "$LINENO"; then :
42514  glibcxx_cv_func_expf_use=yes
42515else
42516  glibcxx_cv_func_expf_use=no
42517fi
42518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42519      ac_ext=c
42520ac_cpp='$CPP $CPPFLAGS'
42521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523ac_compiler_gnu=$ac_cv_c_compiler_gnu
42524
42525
42526fi
42527
42528  fi
42529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42530$as_echo "$glibcxx_cv_func_expf_use" >&6; }
42531
42532  if test x$glibcxx_cv_func_expf_use = x"yes"; then
42533    for ac_func in expf
42534do :
42535  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42536if test "x$ac_cv_func_expf" = xyes; then :
42537  cat >>confdefs.h <<_ACEOF
42538#define HAVE_EXPF 1
42539_ACEOF
42540
42541fi
42542done
42543
42544  else
42545
42546  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42547$as_echo_n "checking for _expf declaration... " >&6; }
42548  if test x${glibcxx_cv_func__expf_use+set} != xset; then
42549    if ${glibcxx_cv_func__expf_use+:} false; then :
42550  $as_echo_n "(cached) " >&6
42551else
42552
42553
42554      ac_ext=cpp
42555ac_cpp='$CXXCPP $CPPFLAGS'
42556ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42557ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42558ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42559
42560      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42561/* end confdefs.h.  */
42562#include <math.h>
42563		      #ifdef HAVE_IEEEFP_H
42564		      #include <ieeefp.h>
42565		      #endif
42566
42567int
42568main ()
42569{
42570 _expf(0);
42571  ;
42572  return 0;
42573}
42574_ACEOF
42575if ac_fn_cxx_try_compile "$LINENO"; then :
42576  glibcxx_cv_func__expf_use=yes
42577else
42578  glibcxx_cv_func__expf_use=no
42579fi
42580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42581      ac_ext=c
42582ac_cpp='$CPP $CPPFLAGS'
42583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42585ac_compiler_gnu=$ac_cv_c_compiler_gnu
42586
42587
42588fi
42589
42590  fi
42591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42592$as_echo "$glibcxx_cv_func__expf_use" >&6; }
42593
42594    if test x$glibcxx_cv_func__expf_use = x"yes"; then
42595      for ac_func in _expf
42596do :
42597  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42598if test "x$ac_cv_func__expf" = xyes; then :
42599  cat >>confdefs.h <<_ACEOF
42600#define HAVE__EXPF 1
42601_ACEOF
42602
42603fi
42604done
42605
42606    fi
42607  fi
42608
42609
42610
42611
42612
42613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42614$as_echo_n "checking for isnanf declaration... " >&6; }
42615  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42616    if ${glibcxx_cv_func_isnanf_use+:} false; then :
42617  $as_echo_n "(cached) " >&6
42618else
42619
42620
42621      ac_ext=cpp
42622ac_cpp='$CXXCPP $CPPFLAGS'
42623ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42624ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42625ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42626
42627      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42628/* end confdefs.h.  */
42629#include <math.h>
42630		      #ifdef HAVE_IEEEFP_H
42631		      #include <ieeefp.h>
42632		      #endif
42633
42634int
42635main ()
42636{
42637 isnanf(0);
42638  ;
42639  return 0;
42640}
42641_ACEOF
42642if ac_fn_cxx_try_compile "$LINENO"; then :
42643  glibcxx_cv_func_isnanf_use=yes
42644else
42645  glibcxx_cv_func_isnanf_use=no
42646fi
42647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42648      ac_ext=c
42649ac_cpp='$CPP $CPPFLAGS'
42650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42652ac_compiler_gnu=$ac_cv_c_compiler_gnu
42653
42654
42655fi
42656
42657  fi
42658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42659$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42660
42661  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42662    for ac_func in isnanf
42663do :
42664  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42665if test "x$ac_cv_func_isnanf" = xyes; then :
42666  cat >>confdefs.h <<_ACEOF
42667#define HAVE_ISNANF 1
42668_ACEOF
42669
42670fi
42671done
42672
42673  else
42674
42675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42676$as_echo_n "checking for _isnanf declaration... " >&6; }
42677  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42678    if ${glibcxx_cv_func__isnanf_use+:} false; then :
42679  $as_echo_n "(cached) " >&6
42680else
42681
42682
42683      ac_ext=cpp
42684ac_cpp='$CXXCPP $CPPFLAGS'
42685ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42688
42689      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42690/* end confdefs.h.  */
42691#include <math.h>
42692		      #ifdef HAVE_IEEEFP_H
42693		      #include <ieeefp.h>
42694		      #endif
42695
42696int
42697main ()
42698{
42699 _isnanf(0);
42700  ;
42701  return 0;
42702}
42703_ACEOF
42704if ac_fn_cxx_try_compile "$LINENO"; then :
42705  glibcxx_cv_func__isnanf_use=yes
42706else
42707  glibcxx_cv_func__isnanf_use=no
42708fi
42709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710      ac_ext=c
42711ac_cpp='$CPP $CPPFLAGS'
42712ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714ac_compiler_gnu=$ac_cv_c_compiler_gnu
42715
42716
42717fi
42718
42719  fi
42720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42721$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42722
42723    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42724      for ac_func in _isnanf
42725do :
42726  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42727if test "x$ac_cv_func__isnanf" = xyes; then :
42728  cat >>confdefs.h <<_ACEOF
42729#define HAVE__ISNANF 1
42730_ACEOF
42731
42732fi
42733done
42734
42735    fi
42736  fi
42737
42738
42739
42740
42741
42742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42743$as_echo_n "checking for isinff declaration... " >&6; }
42744  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42745    if ${glibcxx_cv_func_isinff_use+:} false; then :
42746  $as_echo_n "(cached) " >&6
42747else
42748
42749
42750      ac_ext=cpp
42751ac_cpp='$CXXCPP $CPPFLAGS'
42752ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42755
42756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42757/* end confdefs.h.  */
42758#include <math.h>
42759		      #ifdef HAVE_IEEEFP_H
42760		      #include <ieeefp.h>
42761		      #endif
42762
42763int
42764main ()
42765{
42766 isinff(0);
42767  ;
42768  return 0;
42769}
42770_ACEOF
42771if ac_fn_cxx_try_compile "$LINENO"; then :
42772  glibcxx_cv_func_isinff_use=yes
42773else
42774  glibcxx_cv_func_isinff_use=no
42775fi
42776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42777      ac_ext=c
42778ac_cpp='$CPP $CPPFLAGS'
42779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42781ac_compiler_gnu=$ac_cv_c_compiler_gnu
42782
42783
42784fi
42785
42786  fi
42787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42788$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42789
42790  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42791    for ac_func in isinff
42792do :
42793  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42794if test "x$ac_cv_func_isinff" = xyes; then :
42795  cat >>confdefs.h <<_ACEOF
42796#define HAVE_ISINFF 1
42797_ACEOF
42798
42799fi
42800done
42801
42802  else
42803
42804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42805$as_echo_n "checking for _isinff declaration... " >&6; }
42806  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42807    if ${glibcxx_cv_func__isinff_use+:} false; then :
42808  $as_echo_n "(cached) " >&6
42809else
42810
42811
42812      ac_ext=cpp
42813ac_cpp='$CXXCPP $CPPFLAGS'
42814ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42817
42818      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42819/* end confdefs.h.  */
42820#include <math.h>
42821		      #ifdef HAVE_IEEEFP_H
42822		      #include <ieeefp.h>
42823		      #endif
42824
42825int
42826main ()
42827{
42828 _isinff(0);
42829  ;
42830  return 0;
42831}
42832_ACEOF
42833if ac_fn_cxx_try_compile "$LINENO"; then :
42834  glibcxx_cv_func__isinff_use=yes
42835else
42836  glibcxx_cv_func__isinff_use=no
42837fi
42838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42839      ac_ext=c
42840ac_cpp='$CPP $CPPFLAGS'
42841ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42842ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42843ac_compiler_gnu=$ac_cv_c_compiler_gnu
42844
42845
42846fi
42847
42848  fi
42849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42850$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42851
42852    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42853      for ac_func in _isinff
42854do :
42855  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42856if test "x$ac_cv_func__isinff" = xyes; then :
42857  cat >>confdefs.h <<_ACEOF
42858#define HAVE__ISINFF 1
42859_ACEOF
42860
42861fi
42862done
42863
42864    fi
42865  fi
42866
42867
42868
42869
42870
42871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42872$as_echo_n "checking for atan2f declaration... " >&6; }
42873  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42874    if ${glibcxx_cv_func_atan2f_use+:} false; then :
42875  $as_echo_n "(cached) " >&6
42876else
42877
42878
42879      ac_ext=cpp
42880ac_cpp='$CXXCPP $CPPFLAGS'
42881ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42884
42885      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42886/* end confdefs.h.  */
42887#include <math.h>
42888int
42889main ()
42890{
42891 atan2f(0, 0);
42892  ;
42893  return 0;
42894}
42895_ACEOF
42896if ac_fn_cxx_try_compile "$LINENO"; then :
42897  glibcxx_cv_func_atan2f_use=yes
42898else
42899  glibcxx_cv_func_atan2f_use=no
42900fi
42901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42902      ac_ext=c
42903ac_cpp='$CPP $CPPFLAGS'
42904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906ac_compiler_gnu=$ac_cv_c_compiler_gnu
42907
42908
42909fi
42910
42911  fi
42912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42913$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42914
42915  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42916    for ac_func in atan2f
42917do :
42918  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42919if test "x$ac_cv_func_atan2f" = xyes; then :
42920  cat >>confdefs.h <<_ACEOF
42921#define HAVE_ATAN2F 1
42922_ACEOF
42923
42924fi
42925done
42926
42927  else
42928
42929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42930$as_echo_n "checking for _atan2f declaration... " >&6; }
42931  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42932    if ${glibcxx_cv_func__atan2f_use+:} false; then :
42933  $as_echo_n "(cached) " >&6
42934else
42935
42936
42937      ac_ext=cpp
42938ac_cpp='$CXXCPP $CPPFLAGS'
42939ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42942
42943      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42944/* end confdefs.h.  */
42945#include <math.h>
42946int
42947main ()
42948{
42949 _atan2f(0, 0);
42950  ;
42951  return 0;
42952}
42953_ACEOF
42954if ac_fn_cxx_try_compile "$LINENO"; then :
42955  glibcxx_cv_func__atan2f_use=yes
42956else
42957  glibcxx_cv_func__atan2f_use=no
42958fi
42959rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42960      ac_ext=c
42961ac_cpp='$CPP $CPPFLAGS'
42962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964ac_compiler_gnu=$ac_cv_c_compiler_gnu
42965
42966
42967fi
42968
42969  fi
42970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42971$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42972
42973    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42974      for ac_func in _atan2f
42975do :
42976  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42977if test "x$ac_cv_func__atan2f" = xyes; then :
42978  cat >>confdefs.h <<_ACEOF
42979#define HAVE__ATAN2F 1
42980_ACEOF
42981
42982fi
42983done
42984
42985    fi
42986  fi
42987
42988
42989
42990
42991
42992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42993$as_echo_n "checking for fabsf declaration... " >&6; }
42994  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42995    if ${glibcxx_cv_func_fabsf_use+:} false; then :
42996  $as_echo_n "(cached) " >&6
42997else
42998
42999
43000      ac_ext=cpp
43001ac_cpp='$CXXCPP $CPPFLAGS'
43002ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43005
43006      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43007/* end confdefs.h.  */
43008#include <math.h>
43009		      #ifdef HAVE_IEEEFP_H
43010		      #include <ieeefp.h>
43011		      #endif
43012
43013int
43014main ()
43015{
43016 fabsf(0);
43017  ;
43018  return 0;
43019}
43020_ACEOF
43021if ac_fn_cxx_try_compile "$LINENO"; then :
43022  glibcxx_cv_func_fabsf_use=yes
43023else
43024  glibcxx_cv_func_fabsf_use=no
43025fi
43026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43027      ac_ext=c
43028ac_cpp='$CPP $CPPFLAGS'
43029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031ac_compiler_gnu=$ac_cv_c_compiler_gnu
43032
43033
43034fi
43035
43036  fi
43037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43038$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43039
43040  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43041    for ac_func in fabsf
43042do :
43043  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43044if test "x$ac_cv_func_fabsf" = xyes; then :
43045  cat >>confdefs.h <<_ACEOF
43046#define HAVE_FABSF 1
43047_ACEOF
43048
43049fi
43050done
43051
43052  else
43053
43054  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43055$as_echo_n "checking for _fabsf declaration... " >&6; }
43056  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43057    if ${glibcxx_cv_func__fabsf_use+:} false; then :
43058  $as_echo_n "(cached) " >&6
43059else
43060
43061
43062      ac_ext=cpp
43063ac_cpp='$CXXCPP $CPPFLAGS'
43064ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43067
43068      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43069/* end confdefs.h.  */
43070#include <math.h>
43071		      #ifdef HAVE_IEEEFP_H
43072		      #include <ieeefp.h>
43073		      #endif
43074
43075int
43076main ()
43077{
43078 _fabsf(0);
43079  ;
43080  return 0;
43081}
43082_ACEOF
43083if ac_fn_cxx_try_compile "$LINENO"; then :
43084  glibcxx_cv_func__fabsf_use=yes
43085else
43086  glibcxx_cv_func__fabsf_use=no
43087fi
43088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43089      ac_ext=c
43090ac_cpp='$CPP $CPPFLAGS'
43091ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093ac_compiler_gnu=$ac_cv_c_compiler_gnu
43094
43095
43096fi
43097
43098  fi
43099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43100$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43101
43102    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43103      for ac_func in _fabsf
43104do :
43105  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43106if test "x$ac_cv_func__fabsf" = xyes; then :
43107  cat >>confdefs.h <<_ACEOF
43108#define HAVE__FABSF 1
43109_ACEOF
43110
43111fi
43112done
43113
43114    fi
43115  fi
43116
43117
43118
43119
43120
43121  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43122$as_echo_n "checking for fmodf declaration... " >&6; }
43123  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43124    if ${glibcxx_cv_func_fmodf_use+:} false; then :
43125  $as_echo_n "(cached) " >&6
43126else
43127
43128
43129      ac_ext=cpp
43130ac_cpp='$CXXCPP $CPPFLAGS'
43131ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43134
43135      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43136/* end confdefs.h.  */
43137#include <math.h>
43138int
43139main ()
43140{
43141 fmodf(0, 0);
43142  ;
43143  return 0;
43144}
43145_ACEOF
43146if ac_fn_cxx_try_compile "$LINENO"; then :
43147  glibcxx_cv_func_fmodf_use=yes
43148else
43149  glibcxx_cv_func_fmodf_use=no
43150fi
43151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43152      ac_ext=c
43153ac_cpp='$CPP $CPPFLAGS'
43154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156ac_compiler_gnu=$ac_cv_c_compiler_gnu
43157
43158
43159fi
43160
43161  fi
43162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43163$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43164
43165  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43166    for ac_func in fmodf
43167do :
43168  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43169if test "x$ac_cv_func_fmodf" = xyes; then :
43170  cat >>confdefs.h <<_ACEOF
43171#define HAVE_FMODF 1
43172_ACEOF
43173
43174fi
43175done
43176
43177  else
43178
43179  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43180$as_echo_n "checking for _fmodf declaration... " >&6; }
43181  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43182    if ${glibcxx_cv_func__fmodf_use+:} false; then :
43183  $as_echo_n "(cached) " >&6
43184else
43185
43186
43187      ac_ext=cpp
43188ac_cpp='$CXXCPP $CPPFLAGS'
43189ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43192
43193      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43194/* end confdefs.h.  */
43195#include <math.h>
43196int
43197main ()
43198{
43199 _fmodf(0, 0);
43200  ;
43201  return 0;
43202}
43203_ACEOF
43204if ac_fn_cxx_try_compile "$LINENO"; then :
43205  glibcxx_cv_func__fmodf_use=yes
43206else
43207  glibcxx_cv_func__fmodf_use=no
43208fi
43209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43210      ac_ext=c
43211ac_cpp='$CPP $CPPFLAGS'
43212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214ac_compiler_gnu=$ac_cv_c_compiler_gnu
43215
43216
43217fi
43218
43219  fi
43220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43221$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43222
43223    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43224      for ac_func in _fmodf
43225do :
43226  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43227if test "x$ac_cv_func__fmodf" = xyes; then :
43228  cat >>confdefs.h <<_ACEOF
43229#define HAVE__FMODF 1
43230_ACEOF
43231
43232fi
43233done
43234
43235    fi
43236  fi
43237
43238
43239
43240
43241
43242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43243$as_echo_n "checking for frexpf declaration... " >&6; }
43244  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43245    if ${glibcxx_cv_func_frexpf_use+:} false; then :
43246  $as_echo_n "(cached) " >&6
43247else
43248
43249
43250      ac_ext=cpp
43251ac_cpp='$CXXCPP $CPPFLAGS'
43252ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43253ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43254ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43255
43256      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43257/* end confdefs.h.  */
43258#include <math.h>
43259int
43260main ()
43261{
43262 frexpf(0, 0);
43263  ;
43264  return 0;
43265}
43266_ACEOF
43267if ac_fn_cxx_try_compile "$LINENO"; then :
43268  glibcxx_cv_func_frexpf_use=yes
43269else
43270  glibcxx_cv_func_frexpf_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_frexpf_use" >&5
43284$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43285
43286  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43287    for ac_func in frexpf
43288do :
43289  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43290if test "x$ac_cv_func_frexpf" = xyes; then :
43291  cat >>confdefs.h <<_ACEOF
43292#define HAVE_FREXPF 1
43293_ACEOF
43294
43295fi
43296done
43297
43298  else
43299
43300  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43301$as_echo_n "checking for _frexpf declaration... " >&6; }
43302  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43303    if ${glibcxx_cv_func__frexpf_use+:} false; then :
43304  $as_echo_n "(cached) " >&6
43305else
43306
43307
43308      ac_ext=cpp
43309ac_cpp='$CXXCPP $CPPFLAGS'
43310ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43313
43314      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43315/* end confdefs.h.  */
43316#include <math.h>
43317int
43318main ()
43319{
43320 _frexpf(0, 0);
43321  ;
43322  return 0;
43323}
43324_ACEOF
43325if ac_fn_cxx_try_compile "$LINENO"; then :
43326  glibcxx_cv_func__frexpf_use=yes
43327else
43328  glibcxx_cv_func__frexpf_use=no
43329fi
43330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43331      ac_ext=c
43332ac_cpp='$CPP $CPPFLAGS'
43333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335ac_compiler_gnu=$ac_cv_c_compiler_gnu
43336
43337
43338fi
43339
43340  fi
43341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43342$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43343
43344    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43345      for ac_func in _frexpf
43346do :
43347  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43348if test "x$ac_cv_func__frexpf" = xyes; then :
43349  cat >>confdefs.h <<_ACEOF
43350#define HAVE__FREXPF 1
43351_ACEOF
43352
43353fi
43354done
43355
43356    fi
43357  fi
43358
43359
43360
43361
43362
43363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43364$as_echo_n "checking for hypotf declaration... " >&6; }
43365  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43366    if ${glibcxx_cv_func_hypotf_use+:} false; then :
43367  $as_echo_n "(cached) " >&6
43368else
43369
43370
43371      ac_ext=cpp
43372ac_cpp='$CXXCPP $CPPFLAGS'
43373ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43374ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43375ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43376
43377      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43378/* end confdefs.h.  */
43379#include <math.h>
43380int
43381main ()
43382{
43383 hypotf(0, 0);
43384  ;
43385  return 0;
43386}
43387_ACEOF
43388if ac_fn_cxx_try_compile "$LINENO"; then :
43389  glibcxx_cv_func_hypotf_use=yes
43390else
43391  glibcxx_cv_func_hypotf_use=no
43392fi
43393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394      ac_ext=c
43395ac_cpp='$CPP $CPPFLAGS'
43396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43398ac_compiler_gnu=$ac_cv_c_compiler_gnu
43399
43400
43401fi
43402
43403  fi
43404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43405$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43406
43407  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43408    for ac_func in hypotf
43409do :
43410  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43411if test "x$ac_cv_func_hypotf" = xyes; then :
43412  cat >>confdefs.h <<_ACEOF
43413#define HAVE_HYPOTF 1
43414_ACEOF
43415
43416fi
43417done
43418
43419  else
43420
43421  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43422$as_echo_n "checking for _hypotf declaration... " >&6; }
43423  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43424    if ${glibcxx_cv_func__hypotf_use+:} false; then :
43425  $as_echo_n "(cached) " >&6
43426else
43427
43428
43429      ac_ext=cpp
43430ac_cpp='$CXXCPP $CPPFLAGS'
43431ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43434
43435      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43436/* end confdefs.h.  */
43437#include <math.h>
43438int
43439main ()
43440{
43441 _hypotf(0, 0);
43442  ;
43443  return 0;
43444}
43445_ACEOF
43446if ac_fn_cxx_try_compile "$LINENO"; then :
43447  glibcxx_cv_func__hypotf_use=yes
43448else
43449  glibcxx_cv_func__hypotf_use=no
43450fi
43451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43452      ac_ext=c
43453ac_cpp='$CPP $CPPFLAGS'
43454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456ac_compiler_gnu=$ac_cv_c_compiler_gnu
43457
43458
43459fi
43460
43461  fi
43462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43463$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43464
43465    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43466      for ac_func in _hypotf
43467do :
43468  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43469if test "x$ac_cv_func__hypotf" = xyes; then :
43470  cat >>confdefs.h <<_ACEOF
43471#define HAVE__HYPOTF 1
43472_ACEOF
43473
43474fi
43475done
43476
43477    fi
43478  fi
43479
43480
43481
43482
43483
43484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43485$as_echo_n "checking for ldexpf declaration... " >&6; }
43486  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43487    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43488  $as_echo_n "(cached) " >&6
43489else
43490
43491
43492      ac_ext=cpp
43493ac_cpp='$CXXCPP $CPPFLAGS'
43494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43497
43498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43499/* end confdefs.h.  */
43500#include <math.h>
43501int
43502main ()
43503{
43504 ldexpf(0, 0);
43505  ;
43506  return 0;
43507}
43508_ACEOF
43509if ac_fn_cxx_try_compile "$LINENO"; then :
43510  glibcxx_cv_func_ldexpf_use=yes
43511else
43512  glibcxx_cv_func_ldexpf_use=no
43513fi
43514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43515      ac_ext=c
43516ac_cpp='$CPP $CPPFLAGS'
43517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43519ac_compiler_gnu=$ac_cv_c_compiler_gnu
43520
43521
43522fi
43523
43524  fi
43525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43526$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43527
43528  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43529    for ac_func in ldexpf
43530do :
43531  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43532if test "x$ac_cv_func_ldexpf" = xyes; then :
43533  cat >>confdefs.h <<_ACEOF
43534#define HAVE_LDEXPF 1
43535_ACEOF
43536
43537fi
43538done
43539
43540  else
43541
43542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43543$as_echo_n "checking for _ldexpf declaration... " >&6; }
43544  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43545    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43546  $as_echo_n "(cached) " >&6
43547else
43548
43549
43550      ac_ext=cpp
43551ac_cpp='$CXXCPP $CPPFLAGS'
43552ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43553ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43554ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43555
43556      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43557/* end confdefs.h.  */
43558#include <math.h>
43559int
43560main ()
43561{
43562 _ldexpf(0, 0);
43563  ;
43564  return 0;
43565}
43566_ACEOF
43567if ac_fn_cxx_try_compile "$LINENO"; then :
43568  glibcxx_cv_func__ldexpf_use=yes
43569else
43570  glibcxx_cv_func__ldexpf_use=no
43571fi
43572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43573      ac_ext=c
43574ac_cpp='$CPP $CPPFLAGS'
43575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577ac_compiler_gnu=$ac_cv_c_compiler_gnu
43578
43579
43580fi
43581
43582  fi
43583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43584$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43585
43586    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43587      for ac_func in _ldexpf
43588do :
43589  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43590if test "x$ac_cv_func__ldexpf" = xyes; then :
43591  cat >>confdefs.h <<_ACEOF
43592#define HAVE__LDEXPF 1
43593_ACEOF
43594
43595fi
43596done
43597
43598    fi
43599  fi
43600
43601
43602
43603
43604
43605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43606$as_echo_n "checking for logf declaration... " >&6; }
43607  if test x${glibcxx_cv_func_logf_use+set} != xset; then
43608    if ${glibcxx_cv_func_logf_use+:} false; then :
43609  $as_echo_n "(cached) " >&6
43610else
43611
43612
43613      ac_ext=cpp
43614ac_cpp='$CXXCPP $CPPFLAGS'
43615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43618
43619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43620/* end confdefs.h.  */
43621#include <math.h>
43622		      #ifdef HAVE_IEEEFP_H
43623		      #include <ieeefp.h>
43624		      #endif
43625
43626int
43627main ()
43628{
43629 logf(0);
43630  ;
43631  return 0;
43632}
43633_ACEOF
43634if ac_fn_cxx_try_compile "$LINENO"; then :
43635  glibcxx_cv_func_logf_use=yes
43636else
43637  glibcxx_cv_func_logf_use=no
43638fi
43639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43640      ac_ext=c
43641ac_cpp='$CPP $CPPFLAGS'
43642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43644ac_compiler_gnu=$ac_cv_c_compiler_gnu
43645
43646
43647fi
43648
43649  fi
43650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43651$as_echo "$glibcxx_cv_func_logf_use" >&6; }
43652
43653  if test x$glibcxx_cv_func_logf_use = x"yes"; then
43654    for ac_func in logf
43655do :
43656  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43657if test "x$ac_cv_func_logf" = xyes; then :
43658  cat >>confdefs.h <<_ACEOF
43659#define HAVE_LOGF 1
43660_ACEOF
43661
43662fi
43663done
43664
43665  else
43666
43667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43668$as_echo_n "checking for _logf declaration... " >&6; }
43669  if test x${glibcxx_cv_func__logf_use+set} != xset; then
43670    if ${glibcxx_cv_func__logf_use+:} false; then :
43671  $as_echo_n "(cached) " >&6
43672else
43673
43674
43675      ac_ext=cpp
43676ac_cpp='$CXXCPP $CPPFLAGS'
43677ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43680
43681      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43682/* end confdefs.h.  */
43683#include <math.h>
43684		      #ifdef HAVE_IEEEFP_H
43685		      #include <ieeefp.h>
43686		      #endif
43687
43688int
43689main ()
43690{
43691 _logf(0);
43692  ;
43693  return 0;
43694}
43695_ACEOF
43696if ac_fn_cxx_try_compile "$LINENO"; then :
43697  glibcxx_cv_func__logf_use=yes
43698else
43699  glibcxx_cv_func__logf_use=no
43700fi
43701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43702      ac_ext=c
43703ac_cpp='$CPP $CPPFLAGS'
43704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43706ac_compiler_gnu=$ac_cv_c_compiler_gnu
43707
43708
43709fi
43710
43711  fi
43712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43713$as_echo "$glibcxx_cv_func__logf_use" >&6; }
43714
43715    if test x$glibcxx_cv_func__logf_use = x"yes"; then
43716      for ac_func in _logf
43717do :
43718  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43719if test "x$ac_cv_func__logf" = xyes; then :
43720  cat >>confdefs.h <<_ACEOF
43721#define HAVE__LOGF 1
43722_ACEOF
43723
43724fi
43725done
43726
43727    fi
43728  fi
43729
43730
43731
43732
43733
43734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43735$as_echo_n "checking for log10f declaration... " >&6; }
43736  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43737    if ${glibcxx_cv_func_log10f_use+:} false; then :
43738  $as_echo_n "(cached) " >&6
43739else
43740
43741
43742      ac_ext=cpp
43743ac_cpp='$CXXCPP $CPPFLAGS'
43744ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43747
43748      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43749/* end confdefs.h.  */
43750#include <math.h>
43751		      #ifdef HAVE_IEEEFP_H
43752		      #include <ieeefp.h>
43753		      #endif
43754
43755int
43756main ()
43757{
43758 log10f(0);
43759  ;
43760  return 0;
43761}
43762_ACEOF
43763if ac_fn_cxx_try_compile "$LINENO"; then :
43764  glibcxx_cv_func_log10f_use=yes
43765else
43766  glibcxx_cv_func_log10f_use=no
43767fi
43768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43769      ac_ext=c
43770ac_cpp='$CPP $CPPFLAGS'
43771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773ac_compiler_gnu=$ac_cv_c_compiler_gnu
43774
43775
43776fi
43777
43778  fi
43779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43780$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43781
43782  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43783    for ac_func in log10f
43784do :
43785  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43786if test "x$ac_cv_func_log10f" = xyes; then :
43787  cat >>confdefs.h <<_ACEOF
43788#define HAVE_LOG10F 1
43789_ACEOF
43790
43791fi
43792done
43793
43794  else
43795
43796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43797$as_echo_n "checking for _log10f declaration... " >&6; }
43798  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43799    if ${glibcxx_cv_func__log10f_use+:} false; then :
43800  $as_echo_n "(cached) " >&6
43801else
43802
43803
43804      ac_ext=cpp
43805ac_cpp='$CXXCPP $CPPFLAGS'
43806ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43807ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43808ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43809
43810      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43811/* end confdefs.h.  */
43812#include <math.h>
43813		      #ifdef HAVE_IEEEFP_H
43814		      #include <ieeefp.h>
43815		      #endif
43816
43817int
43818main ()
43819{
43820 _log10f(0);
43821  ;
43822  return 0;
43823}
43824_ACEOF
43825if ac_fn_cxx_try_compile "$LINENO"; then :
43826  glibcxx_cv_func__log10f_use=yes
43827else
43828  glibcxx_cv_func__log10f_use=no
43829fi
43830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43831      ac_ext=c
43832ac_cpp='$CPP $CPPFLAGS'
43833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835ac_compiler_gnu=$ac_cv_c_compiler_gnu
43836
43837
43838fi
43839
43840  fi
43841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43842$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43843
43844    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43845      for ac_func in _log10f
43846do :
43847  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43848if test "x$ac_cv_func__log10f" = xyes; then :
43849  cat >>confdefs.h <<_ACEOF
43850#define HAVE__LOG10F 1
43851_ACEOF
43852
43853fi
43854done
43855
43856    fi
43857  fi
43858
43859
43860
43861
43862
43863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43864$as_echo_n "checking for modff declaration... " >&6; }
43865  if test x${glibcxx_cv_func_modff_use+set} != xset; then
43866    if ${glibcxx_cv_func_modff_use+:} false; then :
43867  $as_echo_n "(cached) " >&6
43868else
43869
43870
43871      ac_ext=cpp
43872ac_cpp='$CXXCPP $CPPFLAGS'
43873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43876
43877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43878/* end confdefs.h.  */
43879#include <math.h>
43880int
43881main ()
43882{
43883 modff(0, 0);
43884  ;
43885  return 0;
43886}
43887_ACEOF
43888if ac_fn_cxx_try_compile "$LINENO"; then :
43889  glibcxx_cv_func_modff_use=yes
43890else
43891  glibcxx_cv_func_modff_use=no
43892fi
43893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43894      ac_ext=c
43895ac_cpp='$CPP $CPPFLAGS'
43896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898ac_compiler_gnu=$ac_cv_c_compiler_gnu
43899
43900
43901fi
43902
43903  fi
43904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43905$as_echo "$glibcxx_cv_func_modff_use" >&6; }
43906
43907  if test x$glibcxx_cv_func_modff_use = x"yes"; then
43908    for ac_func in modff
43909do :
43910  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43911if test "x$ac_cv_func_modff" = xyes; then :
43912  cat >>confdefs.h <<_ACEOF
43913#define HAVE_MODFF 1
43914_ACEOF
43915
43916fi
43917done
43918
43919  else
43920
43921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43922$as_echo_n "checking for _modff declaration... " >&6; }
43923  if test x${glibcxx_cv_func__modff_use+set} != xset; then
43924    if ${glibcxx_cv_func__modff_use+:} false; then :
43925  $as_echo_n "(cached) " >&6
43926else
43927
43928
43929      ac_ext=cpp
43930ac_cpp='$CXXCPP $CPPFLAGS'
43931ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43934
43935      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43936/* end confdefs.h.  */
43937#include <math.h>
43938int
43939main ()
43940{
43941 _modff(0, 0);
43942  ;
43943  return 0;
43944}
43945_ACEOF
43946if ac_fn_cxx_try_compile "$LINENO"; then :
43947  glibcxx_cv_func__modff_use=yes
43948else
43949  glibcxx_cv_func__modff_use=no
43950fi
43951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43952      ac_ext=c
43953ac_cpp='$CPP $CPPFLAGS'
43954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956ac_compiler_gnu=$ac_cv_c_compiler_gnu
43957
43958
43959fi
43960
43961  fi
43962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43963$as_echo "$glibcxx_cv_func__modff_use" >&6; }
43964
43965    if test x$glibcxx_cv_func__modff_use = x"yes"; then
43966      for ac_func in _modff
43967do :
43968  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43969if test "x$ac_cv_func__modff" = xyes; then :
43970  cat >>confdefs.h <<_ACEOF
43971#define HAVE__MODFF 1
43972_ACEOF
43973
43974fi
43975done
43976
43977    fi
43978  fi
43979
43980
43981
43982
43983
43984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43985$as_echo_n "checking for modf declaration... " >&6; }
43986  if test x${glibcxx_cv_func_modf_use+set} != xset; then
43987    if ${glibcxx_cv_func_modf_use+:} false; then :
43988  $as_echo_n "(cached) " >&6
43989else
43990
43991
43992      ac_ext=cpp
43993ac_cpp='$CXXCPP $CPPFLAGS'
43994ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43995ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43996ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43997
43998      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43999/* end confdefs.h.  */
44000#include <math.h>
44001int
44002main ()
44003{
44004 modf(0, 0);
44005  ;
44006  return 0;
44007}
44008_ACEOF
44009if ac_fn_cxx_try_compile "$LINENO"; then :
44010  glibcxx_cv_func_modf_use=yes
44011else
44012  glibcxx_cv_func_modf_use=no
44013fi
44014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44015      ac_ext=c
44016ac_cpp='$CPP $CPPFLAGS'
44017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44019ac_compiler_gnu=$ac_cv_c_compiler_gnu
44020
44021
44022fi
44023
44024  fi
44025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44026$as_echo "$glibcxx_cv_func_modf_use" >&6; }
44027
44028  if test x$glibcxx_cv_func_modf_use = x"yes"; then
44029    for ac_func in modf
44030do :
44031  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44032if test "x$ac_cv_func_modf" = xyes; then :
44033  cat >>confdefs.h <<_ACEOF
44034#define HAVE_MODF 1
44035_ACEOF
44036
44037fi
44038done
44039
44040  else
44041
44042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44043$as_echo_n "checking for _modf declaration... " >&6; }
44044  if test x${glibcxx_cv_func__modf_use+set} != xset; then
44045    if ${glibcxx_cv_func__modf_use+:} false; then :
44046  $as_echo_n "(cached) " >&6
44047else
44048
44049
44050      ac_ext=cpp
44051ac_cpp='$CXXCPP $CPPFLAGS'
44052ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44055
44056      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44057/* end confdefs.h.  */
44058#include <math.h>
44059int
44060main ()
44061{
44062 _modf(0, 0);
44063  ;
44064  return 0;
44065}
44066_ACEOF
44067if ac_fn_cxx_try_compile "$LINENO"; then :
44068  glibcxx_cv_func__modf_use=yes
44069else
44070  glibcxx_cv_func__modf_use=no
44071fi
44072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073      ac_ext=c
44074ac_cpp='$CPP $CPPFLAGS'
44075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077ac_compiler_gnu=$ac_cv_c_compiler_gnu
44078
44079
44080fi
44081
44082  fi
44083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44084$as_echo "$glibcxx_cv_func__modf_use" >&6; }
44085
44086    if test x$glibcxx_cv_func__modf_use = x"yes"; then
44087      for ac_func in _modf
44088do :
44089  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44090if test "x$ac_cv_func__modf" = xyes; then :
44091  cat >>confdefs.h <<_ACEOF
44092#define HAVE__MODF 1
44093_ACEOF
44094
44095fi
44096done
44097
44098    fi
44099  fi
44100
44101
44102
44103
44104
44105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44106$as_echo_n "checking for powf declaration... " >&6; }
44107  if test x${glibcxx_cv_func_powf_use+set} != xset; then
44108    if ${glibcxx_cv_func_powf_use+:} false; then :
44109  $as_echo_n "(cached) " >&6
44110else
44111
44112
44113      ac_ext=cpp
44114ac_cpp='$CXXCPP $CPPFLAGS'
44115ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44116ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44117ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44118
44119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44120/* end confdefs.h.  */
44121#include <math.h>
44122int
44123main ()
44124{
44125 powf(0, 0);
44126  ;
44127  return 0;
44128}
44129_ACEOF
44130if ac_fn_cxx_try_compile "$LINENO"; then :
44131  glibcxx_cv_func_powf_use=yes
44132else
44133  glibcxx_cv_func_powf_use=no
44134fi
44135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44136      ac_ext=c
44137ac_cpp='$CPP $CPPFLAGS'
44138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140ac_compiler_gnu=$ac_cv_c_compiler_gnu
44141
44142
44143fi
44144
44145  fi
44146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44147$as_echo "$glibcxx_cv_func_powf_use" >&6; }
44148
44149  if test x$glibcxx_cv_func_powf_use = x"yes"; then
44150    for ac_func in powf
44151do :
44152  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44153if test "x$ac_cv_func_powf" = xyes; then :
44154  cat >>confdefs.h <<_ACEOF
44155#define HAVE_POWF 1
44156_ACEOF
44157
44158fi
44159done
44160
44161  else
44162
44163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44164$as_echo_n "checking for _powf declaration... " >&6; }
44165  if test x${glibcxx_cv_func__powf_use+set} != xset; then
44166    if ${glibcxx_cv_func__powf_use+:} false; then :
44167  $as_echo_n "(cached) " >&6
44168else
44169
44170
44171      ac_ext=cpp
44172ac_cpp='$CXXCPP $CPPFLAGS'
44173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44176
44177      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44178/* end confdefs.h.  */
44179#include <math.h>
44180int
44181main ()
44182{
44183 _powf(0, 0);
44184  ;
44185  return 0;
44186}
44187_ACEOF
44188if ac_fn_cxx_try_compile "$LINENO"; then :
44189  glibcxx_cv_func__powf_use=yes
44190else
44191  glibcxx_cv_func__powf_use=no
44192fi
44193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44194      ac_ext=c
44195ac_cpp='$CPP $CPPFLAGS'
44196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198ac_compiler_gnu=$ac_cv_c_compiler_gnu
44199
44200
44201fi
44202
44203  fi
44204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44205$as_echo "$glibcxx_cv_func__powf_use" >&6; }
44206
44207    if test x$glibcxx_cv_func__powf_use = x"yes"; then
44208      for ac_func in _powf
44209do :
44210  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44211if test "x$ac_cv_func__powf" = xyes; then :
44212  cat >>confdefs.h <<_ACEOF
44213#define HAVE__POWF 1
44214_ACEOF
44215
44216fi
44217done
44218
44219    fi
44220  fi
44221
44222
44223
44224
44225
44226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44227$as_echo_n "checking for sqrtf declaration... " >&6; }
44228  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44229    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44230  $as_echo_n "(cached) " >&6
44231else
44232
44233
44234      ac_ext=cpp
44235ac_cpp='$CXXCPP $CPPFLAGS'
44236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44239
44240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44241/* end confdefs.h.  */
44242#include <math.h>
44243		      #ifdef HAVE_IEEEFP_H
44244		      #include <ieeefp.h>
44245		      #endif
44246
44247int
44248main ()
44249{
44250 sqrtf(0);
44251  ;
44252  return 0;
44253}
44254_ACEOF
44255if ac_fn_cxx_try_compile "$LINENO"; then :
44256  glibcxx_cv_func_sqrtf_use=yes
44257else
44258  glibcxx_cv_func_sqrtf_use=no
44259fi
44260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44261      ac_ext=c
44262ac_cpp='$CPP $CPPFLAGS'
44263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44265ac_compiler_gnu=$ac_cv_c_compiler_gnu
44266
44267
44268fi
44269
44270  fi
44271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44272$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44273
44274  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44275    for ac_func in sqrtf
44276do :
44277  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44278if test "x$ac_cv_func_sqrtf" = xyes; then :
44279  cat >>confdefs.h <<_ACEOF
44280#define HAVE_SQRTF 1
44281_ACEOF
44282
44283fi
44284done
44285
44286  else
44287
44288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44289$as_echo_n "checking for _sqrtf declaration... " >&6; }
44290  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44291    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44292  $as_echo_n "(cached) " >&6
44293else
44294
44295
44296      ac_ext=cpp
44297ac_cpp='$CXXCPP $CPPFLAGS'
44298ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44299ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44300ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44301
44302      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44303/* end confdefs.h.  */
44304#include <math.h>
44305		      #ifdef HAVE_IEEEFP_H
44306		      #include <ieeefp.h>
44307		      #endif
44308
44309int
44310main ()
44311{
44312 _sqrtf(0);
44313  ;
44314  return 0;
44315}
44316_ACEOF
44317if ac_fn_cxx_try_compile "$LINENO"; then :
44318  glibcxx_cv_func__sqrtf_use=yes
44319else
44320  glibcxx_cv_func__sqrtf_use=no
44321fi
44322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44323      ac_ext=c
44324ac_cpp='$CPP $CPPFLAGS'
44325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44327ac_compiler_gnu=$ac_cv_c_compiler_gnu
44328
44329
44330fi
44331
44332  fi
44333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44334$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44335
44336    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44337      for ac_func in _sqrtf
44338do :
44339  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44340if test "x$ac_cv_func__sqrtf" = xyes; then :
44341  cat >>confdefs.h <<_ACEOF
44342#define HAVE__SQRTF 1
44343_ACEOF
44344
44345fi
44346done
44347
44348    fi
44349  fi
44350
44351
44352
44353
44354
44355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44356$as_echo_n "checking for sincosf declaration... " >&6; }
44357  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44358    if ${glibcxx_cv_func_sincosf_use+:} false; then :
44359  $as_echo_n "(cached) " >&6
44360else
44361
44362
44363      ac_ext=cpp
44364ac_cpp='$CXXCPP $CPPFLAGS'
44365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44368
44369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44370/* end confdefs.h.  */
44371#include <math.h>
44372int
44373main ()
44374{
44375 sincosf(0, 0, 0);
44376  ;
44377  return 0;
44378}
44379_ACEOF
44380if ac_fn_cxx_try_compile "$LINENO"; then :
44381  glibcxx_cv_func_sincosf_use=yes
44382else
44383  glibcxx_cv_func_sincosf_use=no
44384fi
44385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44386      ac_ext=c
44387ac_cpp='$CPP $CPPFLAGS'
44388ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44389ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44390ac_compiler_gnu=$ac_cv_c_compiler_gnu
44391
44392
44393fi
44394
44395  fi
44396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44397$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44398
44399  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44400    for ac_func in sincosf
44401do :
44402  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44403if test "x$ac_cv_func_sincosf" = xyes; then :
44404  cat >>confdefs.h <<_ACEOF
44405#define HAVE_SINCOSF 1
44406_ACEOF
44407
44408fi
44409done
44410
44411  else
44412
44413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44414$as_echo_n "checking for _sincosf declaration... " >&6; }
44415  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44416    if ${glibcxx_cv_func__sincosf_use+:} false; then :
44417  $as_echo_n "(cached) " >&6
44418else
44419
44420
44421      ac_ext=cpp
44422ac_cpp='$CXXCPP $CPPFLAGS'
44423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44426
44427      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44428/* end confdefs.h.  */
44429#include <math.h>
44430int
44431main ()
44432{
44433 _sincosf(0, 0, 0);
44434  ;
44435  return 0;
44436}
44437_ACEOF
44438if ac_fn_cxx_try_compile "$LINENO"; then :
44439  glibcxx_cv_func__sincosf_use=yes
44440else
44441  glibcxx_cv_func__sincosf_use=no
44442fi
44443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44444      ac_ext=c
44445ac_cpp='$CPP $CPPFLAGS'
44446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44448ac_compiler_gnu=$ac_cv_c_compiler_gnu
44449
44450
44451fi
44452
44453  fi
44454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44455$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44456
44457    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44458      for ac_func in _sincosf
44459do :
44460  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44461if test "x$ac_cv_func__sincosf" = xyes; then :
44462  cat >>confdefs.h <<_ACEOF
44463#define HAVE__SINCOSF 1
44464_ACEOF
44465
44466fi
44467done
44468
44469    fi
44470  fi
44471
44472
44473
44474
44475
44476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44477$as_echo_n "checking for finitef declaration... " >&6; }
44478  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44479    if ${glibcxx_cv_func_finitef_use+:} false; then :
44480  $as_echo_n "(cached) " >&6
44481else
44482
44483
44484      ac_ext=cpp
44485ac_cpp='$CXXCPP $CPPFLAGS'
44486ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44487ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44488ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44489
44490      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44491/* end confdefs.h.  */
44492#include <math.h>
44493		      #ifdef HAVE_IEEEFP_H
44494		      #include <ieeefp.h>
44495		      #endif
44496
44497int
44498main ()
44499{
44500 finitef(0);
44501  ;
44502  return 0;
44503}
44504_ACEOF
44505if ac_fn_cxx_try_compile "$LINENO"; then :
44506  glibcxx_cv_func_finitef_use=yes
44507else
44508  glibcxx_cv_func_finitef_use=no
44509fi
44510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44511      ac_ext=c
44512ac_cpp='$CPP $CPPFLAGS'
44513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44515ac_compiler_gnu=$ac_cv_c_compiler_gnu
44516
44517
44518fi
44519
44520  fi
44521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44522$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44523
44524  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44525    for ac_func in finitef
44526do :
44527  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44528if test "x$ac_cv_func_finitef" = xyes; then :
44529  cat >>confdefs.h <<_ACEOF
44530#define HAVE_FINITEF 1
44531_ACEOF
44532
44533fi
44534done
44535
44536  else
44537
44538  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44539$as_echo_n "checking for _finitef declaration... " >&6; }
44540  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44541    if ${glibcxx_cv_func__finitef_use+:} false; then :
44542  $as_echo_n "(cached) " >&6
44543else
44544
44545
44546      ac_ext=cpp
44547ac_cpp='$CXXCPP $CPPFLAGS'
44548ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44551
44552      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44553/* end confdefs.h.  */
44554#include <math.h>
44555		      #ifdef HAVE_IEEEFP_H
44556		      #include <ieeefp.h>
44557		      #endif
44558
44559int
44560main ()
44561{
44562 _finitef(0);
44563  ;
44564  return 0;
44565}
44566_ACEOF
44567if ac_fn_cxx_try_compile "$LINENO"; then :
44568  glibcxx_cv_func__finitef_use=yes
44569else
44570  glibcxx_cv_func__finitef_use=no
44571fi
44572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44573      ac_ext=c
44574ac_cpp='$CPP $CPPFLAGS'
44575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44577ac_compiler_gnu=$ac_cv_c_compiler_gnu
44578
44579
44580fi
44581
44582  fi
44583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44584$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44585
44586    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44587      for ac_func in _finitef
44588do :
44589  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44590if test "x$ac_cv_func__finitef" = xyes; then :
44591  cat >>confdefs.h <<_ACEOF
44592#define HAVE__FINITEF 1
44593_ACEOF
44594
44595fi
44596done
44597
44598    fi
44599  fi
44600
44601
44602
44603
44604
44605    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44606$as_echo_n "checking for long double trig functions... " >&6; }
44607  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44608  $as_echo_n "(cached) " >&6
44609else
44610
44611
44612    ac_ext=cpp
44613ac_cpp='$CXXCPP $CPPFLAGS'
44614ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44617
44618    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44619/* end confdefs.h.  */
44620#include <math.h>
44621int
44622main ()
44623{
44624acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44625  ;
44626  return 0;
44627}
44628_ACEOF
44629if ac_fn_cxx_try_compile "$LINENO"; then :
44630  glibcxx_cv_func_long_double_trig_use=yes
44631else
44632  glibcxx_cv_func_long_double_trig_use=no
44633fi
44634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44635    ac_ext=c
44636ac_cpp='$CPP $CPPFLAGS'
44637ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44638ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44639ac_compiler_gnu=$ac_cv_c_compiler_gnu
44640
44641fi
44642
44643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44644$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44645  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44646    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44647do :
44648  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44649ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44650if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44651  cat >>confdefs.h <<_ACEOF
44652#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44653_ACEOF
44654
44655fi
44656done
44657
44658  else
44659    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44660$as_echo_n "checking for _long double trig functions... " >&6; }
44661    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44662  $as_echo_n "(cached) " >&6
44663else
44664
44665
44666      ac_ext=cpp
44667ac_cpp='$CXXCPP $CPPFLAGS'
44668ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44669ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44670ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44671
44672      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44673/* end confdefs.h.  */
44674#include <math.h>
44675int
44676main ()
44677{
44678_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44679  ;
44680  return 0;
44681}
44682_ACEOF
44683if ac_fn_cxx_try_compile "$LINENO"; then :
44684  glibcxx_cv_func__long_double_trig_use=yes
44685else
44686  glibcxx_cv_func__long_double_trig_use=no
44687fi
44688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44689      ac_ext=c
44690ac_cpp='$CPP $CPPFLAGS'
44691ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44692ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44693ac_compiler_gnu=$ac_cv_c_compiler_gnu
44694
44695fi
44696
44697    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44698$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44699    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44700      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44701do :
44702  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44703ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44704if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44705  cat >>confdefs.h <<_ACEOF
44706#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44707_ACEOF
44708
44709fi
44710done
44711
44712    fi
44713  fi
44714
44715
44716
44717
44718
44719    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44720$as_echo_n "checking for long double round functions... " >&6; }
44721  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44722  $as_echo_n "(cached) " >&6
44723else
44724
44725
44726    ac_ext=cpp
44727ac_cpp='$CXXCPP $CPPFLAGS'
44728ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44729ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44730ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44731
44732    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44733/* end confdefs.h.  */
44734#include <math.h>
44735int
44736main ()
44737{
44738ceill (0); floorl (0);
44739  ;
44740  return 0;
44741}
44742_ACEOF
44743if ac_fn_cxx_try_compile "$LINENO"; then :
44744  glibcxx_cv_func_long_double_round_use=yes
44745else
44746  glibcxx_cv_func_long_double_round_use=no
44747fi
44748rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44749    ac_ext=c
44750ac_cpp='$CPP $CPPFLAGS'
44751ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44752ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44753ac_compiler_gnu=$ac_cv_c_compiler_gnu
44754
44755fi
44756
44757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44758$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44759  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44760    for ac_func in ceill floorl
44761do :
44762  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44763ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44764if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44765  cat >>confdefs.h <<_ACEOF
44766#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44767_ACEOF
44768
44769fi
44770done
44771
44772  else
44773    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44774$as_echo_n "checking for _long double round functions... " >&6; }
44775    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44776  $as_echo_n "(cached) " >&6
44777else
44778
44779
44780      ac_ext=cpp
44781ac_cpp='$CXXCPP $CPPFLAGS'
44782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44785
44786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44787/* end confdefs.h.  */
44788#include <math.h>
44789int
44790main ()
44791{
44792_ceill (0); _floorl (0);
44793  ;
44794  return 0;
44795}
44796_ACEOF
44797if ac_fn_cxx_try_compile "$LINENO"; then :
44798  glibcxx_cv_func__long_double_round_use=yes
44799else
44800  glibcxx_cv_func__long_double_round_use=no
44801fi
44802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44803      ac_ext=c
44804ac_cpp='$CPP $CPPFLAGS'
44805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44807ac_compiler_gnu=$ac_cv_c_compiler_gnu
44808
44809fi
44810
44811    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44812$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44813    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44814      for ac_func in _ceill _floorl
44815do :
44816  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44817ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44818if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44819  cat >>confdefs.h <<_ACEOF
44820#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44821_ACEOF
44822
44823fi
44824done
44825
44826    fi
44827  fi
44828
44829
44830
44831
44832
44833
44834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44835$as_echo_n "checking for isnanl declaration... " >&6; }
44836  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44837    if ${glibcxx_cv_func_isnanl_use+:} false; then :
44838  $as_echo_n "(cached) " >&6
44839else
44840
44841
44842      ac_ext=cpp
44843ac_cpp='$CXXCPP $CPPFLAGS'
44844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44847
44848      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44849/* end confdefs.h.  */
44850#include <math.h>
44851		      #ifdef HAVE_IEEEFP_H
44852		      #include <ieeefp.h>
44853		      #endif
44854
44855int
44856main ()
44857{
44858 isnanl(0);
44859  ;
44860  return 0;
44861}
44862_ACEOF
44863if ac_fn_cxx_try_compile "$LINENO"; then :
44864  glibcxx_cv_func_isnanl_use=yes
44865else
44866  glibcxx_cv_func_isnanl_use=no
44867fi
44868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44869      ac_ext=c
44870ac_cpp='$CPP $CPPFLAGS'
44871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44873ac_compiler_gnu=$ac_cv_c_compiler_gnu
44874
44875
44876fi
44877
44878  fi
44879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44880$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44881
44882  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44883    for ac_func in isnanl
44884do :
44885  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44886if test "x$ac_cv_func_isnanl" = xyes; then :
44887  cat >>confdefs.h <<_ACEOF
44888#define HAVE_ISNANL 1
44889_ACEOF
44890
44891fi
44892done
44893
44894  else
44895
44896  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44897$as_echo_n "checking for _isnanl declaration... " >&6; }
44898  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44899    if ${glibcxx_cv_func__isnanl_use+:} false; then :
44900  $as_echo_n "(cached) " >&6
44901else
44902
44903
44904      ac_ext=cpp
44905ac_cpp='$CXXCPP $CPPFLAGS'
44906ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44907ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44908ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44909
44910      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44911/* end confdefs.h.  */
44912#include <math.h>
44913		      #ifdef HAVE_IEEEFP_H
44914		      #include <ieeefp.h>
44915		      #endif
44916
44917int
44918main ()
44919{
44920 _isnanl(0);
44921  ;
44922  return 0;
44923}
44924_ACEOF
44925if ac_fn_cxx_try_compile "$LINENO"; then :
44926  glibcxx_cv_func__isnanl_use=yes
44927else
44928  glibcxx_cv_func__isnanl_use=no
44929fi
44930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44931      ac_ext=c
44932ac_cpp='$CPP $CPPFLAGS'
44933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44935ac_compiler_gnu=$ac_cv_c_compiler_gnu
44936
44937
44938fi
44939
44940  fi
44941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44942$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44943
44944    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44945      for ac_func in _isnanl
44946do :
44947  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44948if test "x$ac_cv_func__isnanl" = xyes; then :
44949  cat >>confdefs.h <<_ACEOF
44950#define HAVE__ISNANL 1
44951_ACEOF
44952
44953fi
44954done
44955
44956    fi
44957  fi
44958
44959
44960
44961
44962
44963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44964$as_echo_n "checking for isinfl declaration... " >&6; }
44965  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44966    if ${glibcxx_cv_func_isinfl_use+:} false; then :
44967  $as_echo_n "(cached) " >&6
44968else
44969
44970
44971      ac_ext=cpp
44972ac_cpp='$CXXCPP $CPPFLAGS'
44973ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44974ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44975ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44976
44977      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44978/* end confdefs.h.  */
44979#include <math.h>
44980		      #ifdef HAVE_IEEEFP_H
44981		      #include <ieeefp.h>
44982		      #endif
44983
44984int
44985main ()
44986{
44987 isinfl(0);
44988  ;
44989  return 0;
44990}
44991_ACEOF
44992if ac_fn_cxx_try_compile "$LINENO"; then :
44993  glibcxx_cv_func_isinfl_use=yes
44994else
44995  glibcxx_cv_func_isinfl_use=no
44996fi
44997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44998      ac_ext=c
44999ac_cpp='$CPP $CPPFLAGS'
45000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45002ac_compiler_gnu=$ac_cv_c_compiler_gnu
45003
45004
45005fi
45006
45007  fi
45008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45009$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45010
45011  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45012    for ac_func in isinfl
45013do :
45014  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45015if test "x$ac_cv_func_isinfl" = xyes; then :
45016  cat >>confdefs.h <<_ACEOF
45017#define HAVE_ISINFL 1
45018_ACEOF
45019
45020fi
45021done
45022
45023  else
45024
45025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45026$as_echo_n "checking for _isinfl declaration... " >&6; }
45027  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45028    if ${glibcxx_cv_func__isinfl_use+:} false; then :
45029  $as_echo_n "(cached) " >&6
45030else
45031
45032
45033      ac_ext=cpp
45034ac_cpp='$CXXCPP $CPPFLAGS'
45035ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45036ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45037ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45038
45039      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45040/* end confdefs.h.  */
45041#include <math.h>
45042		      #ifdef HAVE_IEEEFP_H
45043		      #include <ieeefp.h>
45044		      #endif
45045
45046int
45047main ()
45048{
45049 _isinfl(0);
45050  ;
45051  return 0;
45052}
45053_ACEOF
45054if ac_fn_cxx_try_compile "$LINENO"; then :
45055  glibcxx_cv_func__isinfl_use=yes
45056else
45057  glibcxx_cv_func__isinfl_use=no
45058fi
45059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45060      ac_ext=c
45061ac_cpp='$CPP $CPPFLAGS'
45062ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45063ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45064ac_compiler_gnu=$ac_cv_c_compiler_gnu
45065
45066
45067fi
45068
45069  fi
45070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45071$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45072
45073    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45074      for ac_func in _isinfl
45075do :
45076  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45077if test "x$ac_cv_func__isinfl" = xyes; then :
45078  cat >>confdefs.h <<_ACEOF
45079#define HAVE__ISINFL 1
45080_ACEOF
45081
45082fi
45083done
45084
45085    fi
45086  fi
45087
45088
45089
45090
45091
45092  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45093$as_echo_n "checking for atan2l declaration... " >&6; }
45094  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45095    if ${glibcxx_cv_func_atan2l_use+:} false; then :
45096  $as_echo_n "(cached) " >&6
45097else
45098
45099
45100      ac_ext=cpp
45101ac_cpp='$CXXCPP $CPPFLAGS'
45102ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45103ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45104ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45105
45106      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45107/* end confdefs.h.  */
45108#include <math.h>
45109int
45110main ()
45111{
45112 atan2l(0, 0);
45113  ;
45114  return 0;
45115}
45116_ACEOF
45117if ac_fn_cxx_try_compile "$LINENO"; then :
45118  glibcxx_cv_func_atan2l_use=yes
45119else
45120  glibcxx_cv_func_atan2l_use=no
45121fi
45122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45123      ac_ext=c
45124ac_cpp='$CPP $CPPFLAGS'
45125ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45126ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45127ac_compiler_gnu=$ac_cv_c_compiler_gnu
45128
45129
45130fi
45131
45132  fi
45133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45134$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45135
45136  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45137    for ac_func in atan2l
45138do :
45139  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45140if test "x$ac_cv_func_atan2l" = xyes; then :
45141  cat >>confdefs.h <<_ACEOF
45142#define HAVE_ATAN2L 1
45143_ACEOF
45144
45145fi
45146done
45147
45148  else
45149
45150  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45151$as_echo_n "checking for _atan2l declaration... " >&6; }
45152  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45153    if ${glibcxx_cv_func__atan2l_use+:} false; then :
45154  $as_echo_n "(cached) " >&6
45155else
45156
45157
45158      ac_ext=cpp
45159ac_cpp='$CXXCPP $CPPFLAGS'
45160ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45161ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45162ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45163
45164      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45165/* end confdefs.h.  */
45166#include <math.h>
45167int
45168main ()
45169{
45170 _atan2l(0, 0);
45171  ;
45172  return 0;
45173}
45174_ACEOF
45175if ac_fn_cxx_try_compile "$LINENO"; then :
45176  glibcxx_cv_func__atan2l_use=yes
45177else
45178  glibcxx_cv_func__atan2l_use=no
45179fi
45180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45181      ac_ext=c
45182ac_cpp='$CPP $CPPFLAGS'
45183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45185ac_compiler_gnu=$ac_cv_c_compiler_gnu
45186
45187
45188fi
45189
45190  fi
45191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45192$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45193
45194    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45195      for ac_func in _atan2l
45196do :
45197  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45198if test "x$ac_cv_func__atan2l" = xyes; then :
45199  cat >>confdefs.h <<_ACEOF
45200#define HAVE__ATAN2L 1
45201_ACEOF
45202
45203fi
45204done
45205
45206    fi
45207  fi
45208
45209
45210
45211
45212
45213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45214$as_echo_n "checking for expl declaration... " >&6; }
45215  if test x${glibcxx_cv_func_expl_use+set} != xset; then
45216    if ${glibcxx_cv_func_expl_use+:} false; then :
45217  $as_echo_n "(cached) " >&6
45218else
45219
45220
45221      ac_ext=cpp
45222ac_cpp='$CXXCPP $CPPFLAGS'
45223ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45224ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45225ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45226
45227      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45228/* end confdefs.h.  */
45229#include <math.h>
45230		      #ifdef HAVE_IEEEFP_H
45231		      #include <ieeefp.h>
45232		      #endif
45233
45234int
45235main ()
45236{
45237 expl(0);
45238  ;
45239  return 0;
45240}
45241_ACEOF
45242if ac_fn_cxx_try_compile "$LINENO"; then :
45243  glibcxx_cv_func_expl_use=yes
45244else
45245  glibcxx_cv_func_expl_use=no
45246fi
45247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45248      ac_ext=c
45249ac_cpp='$CPP $CPPFLAGS'
45250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252ac_compiler_gnu=$ac_cv_c_compiler_gnu
45253
45254
45255fi
45256
45257  fi
45258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45259$as_echo "$glibcxx_cv_func_expl_use" >&6; }
45260
45261  if test x$glibcxx_cv_func_expl_use = x"yes"; then
45262    for ac_func in expl
45263do :
45264  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45265if test "x$ac_cv_func_expl" = xyes; then :
45266  cat >>confdefs.h <<_ACEOF
45267#define HAVE_EXPL 1
45268_ACEOF
45269
45270fi
45271done
45272
45273  else
45274
45275  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45276$as_echo_n "checking for _expl declaration... " >&6; }
45277  if test x${glibcxx_cv_func__expl_use+set} != xset; then
45278    if ${glibcxx_cv_func__expl_use+:} false; then :
45279  $as_echo_n "(cached) " >&6
45280else
45281
45282
45283      ac_ext=cpp
45284ac_cpp='$CXXCPP $CPPFLAGS'
45285ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45286ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45287ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45288
45289      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45290/* end confdefs.h.  */
45291#include <math.h>
45292		      #ifdef HAVE_IEEEFP_H
45293		      #include <ieeefp.h>
45294		      #endif
45295
45296int
45297main ()
45298{
45299 _expl(0);
45300  ;
45301  return 0;
45302}
45303_ACEOF
45304if ac_fn_cxx_try_compile "$LINENO"; then :
45305  glibcxx_cv_func__expl_use=yes
45306else
45307  glibcxx_cv_func__expl_use=no
45308fi
45309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45310      ac_ext=c
45311ac_cpp='$CPP $CPPFLAGS'
45312ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45313ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45314ac_compiler_gnu=$ac_cv_c_compiler_gnu
45315
45316
45317fi
45318
45319  fi
45320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45321$as_echo "$glibcxx_cv_func__expl_use" >&6; }
45322
45323    if test x$glibcxx_cv_func__expl_use = x"yes"; then
45324      for ac_func in _expl
45325do :
45326  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45327if test "x$ac_cv_func__expl" = xyes; then :
45328  cat >>confdefs.h <<_ACEOF
45329#define HAVE__EXPL 1
45330_ACEOF
45331
45332fi
45333done
45334
45335    fi
45336  fi
45337
45338
45339
45340
45341
45342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45343$as_echo_n "checking for fabsl declaration... " >&6; }
45344  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45345    if ${glibcxx_cv_func_fabsl_use+:} false; then :
45346  $as_echo_n "(cached) " >&6
45347else
45348
45349
45350      ac_ext=cpp
45351ac_cpp='$CXXCPP $CPPFLAGS'
45352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45355
45356      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45357/* end confdefs.h.  */
45358#include <math.h>
45359		      #ifdef HAVE_IEEEFP_H
45360		      #include <ieeefp.h>
45361		      #endif
45362
45363int
45364main ()
45365{
45366 fabsl(0);
45367  ;
45368  return 0;
45369}
45370_ACEOF
45371if ac_fn_cxx_try_compile "$LINENO"; then :
45372  glibcxx_cv_func_fabsl_use=yes
45373else
45374  glibcxx_cv_func_fabsl_use=no
45375fi
45376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45377      ac_ext=c
45378ac_cpp='$CPP $CPPFLAGS'
45379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45381ac_compiler_gnu=$ac_cv_c_compiler_gnu
45382
45383
45384fi
45385
45386  fi
45387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45388$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45389
45390  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45391    for ac_func in fabsl
45392do :
45393  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45394if test "x$ac_cv_func_fabsl" = xyes; then :
45395  cat >>confdefs.h <<_ACEOF
45396#define HAVE_FABSL 1
45397_ACEOF
45398
45399fi
45400done
45401
45402  else
45403
45404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45405$as_echo_n "checking for _fabsl declaration... " >&6; }
45406  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45407    if ${glibcxx_cv_func__fabsl_use+:} false; then :
45408  $as_echo_n "(cached) " >&6
45409else
45410
45411
45412      ac_ext=cpp
45413ac_cpp='$CXXCPP $CPPFLAGS'
45414ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45415ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45416ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45417
45418      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45419/* end confdefs.h.  */
45420#include <math.h>
45421		      #ifdef HAVE_IEEEFP_H
45422		      #include <ieeefp.h>
45423		      #endif
45424
45425int
45426main ()
45427{
45428 _fabsl(0);
45429  ;
45430  return 0;
45431}
45432_ACEOF
45433if ac_fn_cxx_try_compile "$LINENO"; then :
45434  glibcxx_cv_func__fabsl_use=yes
45435else
45436  glibcxx_cv_func__fabsl_use=no
45437fi
45438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45439      ac_ext=c
45440ac_cpp='$CPP $CPPFLAGS'
45441ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45442ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45443ac_compiler_gnu=$ac_cv_c_compiler_gnu
45444
45445
45446fi
45447
45448  fi
45449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45450$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45451
45452    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45453      for ac_func in _fabsl
45454do :
45455  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45456if test "x$ac_cv_func__fabsl" = xyes; then :
45457  cat >>confdefs.h <<_ACEOF
45458#define HAVE__FABSL 1
45459_ACEOF
45460
45461fi
45462done
45463
45464    fi
45465  fi
45466
45467
45468
45469
45470
45471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45472$as_echo_n "checking for fmodl declaration... " >&6; }
45473  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45474    if ${glibcxx_cv_func_fmodl_use+:} false; then :
45475  $as_echo_n "(cached) " >&6
45476else
45477
45478
45479      ac_ext=cpp
45480ac_cpp='$CXXCPP $CPPFLAGS'
45481ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45482ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45483ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45484
45485      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45486/* end confdefs.h.  */
45487#include <math.h>
45488int
45489main ()
45490{
45491 fmodl(0, 0);
45492  ;
45493  return 0;
45494}
45495_ACEOF
45496if ac_fn_cxx_try_compile "$LINENO"; then :
45497  glibcxx_cv_func_fmodl_use=yes
45498else
45499  glibcxx_cv_func_fmodl_use=no
45500fi
45501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45502      ac_ext=c
45503ac_cpp='$CPP $CPPFLAGS'
45504ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45506ac_compiler_gnu=$ac_cv_c_compiler_gnu
45507
45508
45509fi
45510
45511  fi
45512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45513$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45514
45515  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45516    for ac_func in fmodl
45517do :
45518  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45519if test "x$ac_cv_func_fmodl" = xyes; then :
45520  cat >>confdefs.h <<_ACEOF
45521#define HAVE_FMODL 1
45522_ACEOF
45523
45524fi
45525done
45526
45527  else
45528
45529  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45530$as_echo_n "checking for _fmodl declaration... " >&6; }
45531  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45532    if ${glibcxx_cv_func__fmodl_use+:} false; then :
45533  $as_echo_n "(cached) " >&6
45534else
45535
45536
45537      ac_ext=cpp
45538ac_cpp='$CXXCPP $CPPFLAGS'
45539ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45540ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45541ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45542
45543      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45544/* end confdefs.h.  */
45545#include <math.h>
45546int
45547main ()
45548{
45549 _fmodl(0, 0);
45550  ;
45551  return 0;
45552}
45553_ACEOF
45554if ac_fn_cxx_try_compile "$LINENO"; then :
45555  glibcxx_cv_func__fmodl_use=yes
45556else
45557  glibcxx_cv_func__fmodl_use=no
45558fi
45559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45560      ac_ext=c
45561ac_cpp='$CPP $CPPFLAGS'
45562ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45563ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45564ac_compiler_gnu=$ac_cv_c_compiler_gnu
45565
45566
45567fi
45568
45569  fi
45570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45571$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45572
45573    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45574      for ac_func in _fmodl
45575do :
45576  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45577if test "x$ac_cv_func__fmodl" = xyes; then :
45578  cat >>confdefs.h <<_ACEOF
45579#define HAVE__FMODL 1
45580_ACEOF
45581
45582fi
45583done
45584
45585    fi
45586  fi
45587
45588
45589
45590
45591
45592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45593$as_echo_n "checking for frexpl declaration... " >&6; }
45594  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45595    if ${glibcxx_cv_func_frexpl_use+:} false; then :
45596  $as_echo_n "(cached) " >&6
45597else
45598
45599
45600      ac_ext=cpp
45601ac_cpp='$CXXCPP $CPPFLAGS'
45602ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45603ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45604ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45605
45606      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45607/* end confdefs.h.  */
45608#include <math.h>
45609int
45610main ()
45611{
45612 frexpl(0, 0);
45613  ;
45614  return 0;
45615}
45616_ACEOF
45617if ac_fn_cxx_try_compile "$LINENO"; then :
45618  glibcxx_cv_func_frexpl_use=yes
45619else
45620  glibcxx_cv_func_frexpl_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_frexpl_use" >&5
45634$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45635
45636  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45637    for ac_func in frexpl
45638do :
45639  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45640if test "x$ac_cv_func_frexpl" = xyes; then :
45641  cat >>confdefs.h <<_ACEOF
45642#define HAVE_FREXPL 1
45643_ACEOF
45644
45645fi
45646done
45647
45648  else
45649
45650  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45651$as_echo_n "checking for _frexpl declaration... " >&6; }
45652  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45653    if ${glibcxx_cv_func__frexpl_use+:} false; then :
45654  $as_echo_n "(cached) " >&6
45655else
45656
45657
45658      ac_ext=cpp
45659ac_cpp='$CXXCPP $CPPFLAGS'
45660ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45661ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45662ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45663
45664      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45665/* end confdefs.h.  */
45666#include <math.h>
45667int
45668main ()
45669{
45670 _frexpl(0, 0);
45671  ;
45672  return 0;
45673}
45674_ACEOF
45675if ac_fn_cxx_try_compile "$LINENO"; then :
45676  glibcxx_cv_func__frexpl_use=yes
45677else
45678  glibcxx_cv_func__frexpl_use=no
45679fi
45680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45681      ac_ext=c
45682ac_cpp='$CPP $CPPFLAGS'
45683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45685ac_compiler_gnu=$ac_cv_c_compiler_gnu
45686
45687
45688fi
45689
45690  fi
45691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45692$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45693
45694    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45695      for ac_func in _frexpl
45696do :
45697  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45698if test "x$ac_cv_func__frexpl" = xyes; then :
45699  cat >>confdefs.h <<_ACEOF
45700#define HAVE__FREXPL 1
45701_ACEOF
45702
45703fi
45704done
45705
45706    fi
45707  fi
45708
45709
45710
45711
45712
45713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45714$as_echo_n "checking for hypotl declaration... " >&6; }
45715  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45716    if ${glibcxx_cv_func_hypotl_use+:} false; then :
45717  $as_echo_n "(cached) " >&6
45718else
45719
45720
45721      ac_ext=cpp
45722ac_cpp='$CXXCPP $CPPFLAGS'
45723ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45724ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45725ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45726
45727      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45728/* end confdefs.h.  */
45729#include <math.h>
45730int
45731main ()
45732{
45733 hypotl(0, 0);
45734  ;
45735  return 0;
45736}
45737_ACEOF
45738if ac_fn_cxx_try_compile "$LINENO"; then :
45739  glibcxx_cv_func_hypotl_use=yes
45740else
45741  glibcxx_cv_func_hypotl_use=no
45742fi
45743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45744      ac_ext=c
45745ac_cpp='$CPP $CPPFLAGS'
45746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45748ac_compiler_gnu=$ac_cv_c_compiler_gnu
45749
45750
45751fi
45752
45753  fi
45754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45755$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45756
45757  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45758    for ac_func in hypotl
45759do :
45760  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45761if test "x$ac_cv_func_hypotl" = xyes; then :
45762  cat >>confdefs.h <<_ACEOF
45763#define HAVE_HYPOTL 1
45764_ACEOF
45765
45766fi
45767done
45768
45769  else
45770
45771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45772$as_echo_n "checking for _hypotl declaration... " >&6; }
45773  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45774    if ${glibcxx_cv_func__hypotl_use+:} false; then :
45775  $as_echo_n "(cached) " >&6
45776else
45777
45778
45779      ac_ext=cpp
45780ac_cpp='$CXXCPP $CPPFLAGS'
45781ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45782ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45783ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45784
45785      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45786/* end confdefs.h.  */
45787#include <math.h>
45788int
45789main ()
45790{
45791 _hypotl(0, 0);
45792  ;
45793  return 0;
45794}
45795_ACEOF
45796if ac_fn_cxx_try_compile "$LINENO"; then :
45797  glibcxx_cv_func__hypotl_use=yes
45798else
45799  glibcxx_cv_func__hypotl_use=no
45800fi
45801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45802      ac_ext=c
45803ac_cpp='$CPP $CPPFLAGS'
45804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45806ac_compiler_gnu=$ac_cv_c_compiler_gnu
45807
45808
45809fi
45810
45811  fi
45812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45813$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45814
45815    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45816      for ac_func in _hypotl
45817do :
45818  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45819if test "x$ac_cv_func__hypotl" = xyes; then :
45820  cat >>confdefs.h <<_ACEOF
45821#define HAVE__HYPOTL 1
45822_ACEOF
45823
45824fi
45825done
45826
45827    fi
45828  fi
45829
45830
45831
45832
45833
45834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45835$as_echo_n "checking for ldexpl declaration... " >&6; }
45836  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45837    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45838  $as_echo_n "(cached) " >&6
45839else
45840
45841
45842      ac_ext=cpp
45843ac_cpp='$CXXCPP $CPPFLAGS'
45844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45847
45848      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45849/* end confdefs.h.  */
45850#include <math.h>
45851int
45852main ()
45853{
45854 ldexpl(0, 0);
45855  ;
45856  return 0;
45857}
45858_ACEOF
45859if ac_fn_cxx_try_compile "$LINENO"; then :
45860  glibcxx_cv_func_ldexpl_use=yes
45861else
45862  glibcxx_cv_func_ldexpl_use=no
45863fi
45864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45865      ac_ext=c
45866ac_cpp='$CPP $CPPFLAGS'
45867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45869ac_compiler_gnu=$ac_cv_c_compiler_gnu
45870
45871
45872fi
45873
45874  fi
45875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45876$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45877
45878  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45879    for ac_func in ldexpl
45880do :
45881  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45882if test "x$ac_cv_func_ldexpl" = xyes; then :
45883  cat >>confdefs.h <<_ACEOF
45884#define HAVE_LDEXPL 1
45885_ACEOF
45886
45887fi
45888done
45889
45890  else
45891
45892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45893$as_echo_n "checking for _ldexpl declaration... " >&6; }
45894  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45895    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
45896  $as_echo_n "(cached) " >&6
45897else
45898
45899
45900      ac_ext=cpp
45901ac_cpp='$CXXCPP $CPPFLAGS'
45902ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45903ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45904ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45905
45906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45907/* end confdefs.h.  */
45908#include <math.h>
45909int
45910main ()
45911{
45912 _ldexpl(0, 0);
45913  ;
45914  return 0;
45915}
45916_ACEOF
45917if ac_fn_cxx_try_compile "$LINENO"; then :
45918  glibcxx_cv_func__ldexpl_use=yes
45919else
45920  glibcxx_cv_func__ldexpl_use=no
45921fi
45922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45923      ac_ext=c
45924ac_cpp='$CPP $CPPFLAGS'
45925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45927ac_compiler_gnu=$ac_cv_c_compiler_gnu
45928
45929
45930fi
45931
45932  fi
45933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45934$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45935
45936    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45937      for ac_func in _ldexpl
45938do :
45939  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45940if test "x$ac_cv_func__ldexpl" = xyes; then :
45941  cat >>confdefs.h <<_ACEOF
45942#define HAVE__LDEXPL 1
45943_ACEOF
45944
45945fi
45946done
45947
45948    fi
45949  fi
45950
45951
45952
45953
45954
45955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45956$as_echo_n "checking for logl declaration... " >&6; }
45957  if test x${glibcxx_cv_func_logl_use+set} != xset; then
45958    if ${glibcxx_cv_func_logl_use+:} false; then :
45959  $as_echo_n "(cached) " >&6
45960else
45961
45962
45963      ac_ext=cpp
45964ac_cpp='$CXXCPP $CPPFLAGS'
45965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45968
45969      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45970/* end confdefs.h.  */
45971#include <math.h>
45972		      #ifdef HAVE_IEEEFP_H
45973		      #include <ieeefp.h>
45974		      #endif
45975
45976int
45977main ()
45978{
45979 logl(0);
45980  ;
45981  return 0;
45982}
45983_ACEOF
45984if ac_fn_cxx_try_compile "$LINENO"; then :
45985  glibcxx_cv_func_logl_use=yes
45986else
45987  glibcxx_cv_func_logl_use=no
45988fi
45989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45990      ac_ext=c
45991ac_cpp='$CPP $CPPFLAGS'
45992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994ac_compiler_gnu=$ac_cv_c_compiler_gnu
45995
45996
45997fi
45998
45999  fi
46000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46001$as_echo "$glibcxx_cv_func_logl_use" >&6; }
46002
46003  if test x$glibcxx_cv_func_logl_use = x"yes"; then
46004    for ac_func in logl
46005do :
46006  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46007if test "x$ac_cv_func_logl" = xyes; then :
46008  cat >>confdefs.h <<_ACEOF
46009#define HAVE_LOGL 1
46010_ACEOF
46011
46012fi
46013done
46014
46015  else
46016
46017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46018$as_echo_n "checking for _logl declaration... " >&6; }
46019  if test x${glibcxx_cv_func__logl_use+set} != xset; then
46020    if ${glibcxx_cv_func__logl_use+:} false; then :
46021  $as_echo_n "(cached) " >&6
46022else
46023
46024
46025      ac_ext=cpp
46026ac_cpp='$CXXCPP $CPPFLAGS'
46027ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46028ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46029ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46030
46031      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46032/* end confdefs.h.  */
46033#include <math.h>
46034		      #ifdef HAVE_IEEEFP_H
46035		      #include <ieeefp.h>
46036		      #endif
46037
46038int
46039main ()
46040{
46041 _logl(0);
46042  ;
46043  return 0;
46044}
46045_ACEOF
46046if ac_fn_cxx_try_compile "$LINENO"; then :
46047  glibcxx_cv_func__logl_use=yes
46048else
46049  glibcxx_cv_func__logl_use=no
46050fi
46051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46052      ac_ext=c
46053ac_cpp='$CPP $CPPFLAGS'
46054ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46055ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46056ac_compiler_gnu=$ac_cv_c_compiler_gnu
46057
46058
46059fi
46060
46061  fi
46062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46063$as_echo "$glibcxx_cv_func__logl_use" >&6; }
46064
46065    if test x$glibcxx_cv_func__logl_use = x"yes"; then
46066      for ac_func in _logl
46067do :
46068  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46069if test "x$ac_cv_func__logl" = xyes; then :
46070  cat >>confdefs.h <<_ACEOF
46071#define HAVE__LOGL 1
46072_ACEOF
46073
46074fi
46075done
46076
46077    fi
46078  fi
46079
46080
46081
46082
46083
46084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46085$as_echo_n "checking for log10l declaration... " >&6; }
46086  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46087    if ${glibcxx_cv_func_log10l_use+:} false; then :
46088  $as_echo_n "(cached) " >&6
46089else
46090
46091
46092      ac_ext=cpp
46093ac_cpp='$CXXCPP $CPPFLAGS'
46094ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46097
46098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46099/* end confdefs.h.  */
46100#include <math.h>
46101		      #ifdef HAVE_IEEEFP_H
46102		      #include <ieeefp.h>
46103		      #endif
46104
46105int
46106main ()
46107{
46108 log10l(0);
46109  ;
46110  return 0;
46111}
46112_ACEOF
46113if ac_fn_cxx_try_compile "$LINENO"; then :
46114  glibcxx_cv_func_log10l_use=yes
46115else
46116  glibcxx_cv_func_log10l_use=no
46117fi
46118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46119      ac_ext=c
46120ac_cpp='$CPP $CPPFLAGS'
46121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46123ac_compiler_gnu=$ac_cv_c_compiler_gnu
46124
46125
46126fi
46127
46128  fi
46129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46130$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46131
46132  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46133    for ac_func in log10l
46134do :
46135  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46136if test "x$ac_cv_func_log10l" = xyes; then :
46137  cat >>confdefs.h <<_ACEOF
46138#define HAVE_LOG10L 1
46139_ACEOF
46140
46141fi
46142done
46143
46144  else
46145
46146  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46147$as_echo_n "checking for _log10l declaration... " >&6; }
46148  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46149    if ${glibcxx_cv_func__log10l_use+:} false; then :
46150  $as_echo_n "(cached) " >&6
46151else
46152
46153
46154      ac_ext=cpp
46155ac_cpp='$CXXCPP $CPPFLAGS'
46156ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46157ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46158ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46159
46160      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46161/* end confdefs.h.  */
46162#include <math.h>
46163		      #ifdef HAVE_IEEEFP_H
46164		      #include <ieeefp.h>
46165		      #endif
46166
46167int
46168main ()
46169{
46170 _log10l(0);
46171  ;
46172  return 0;
46173}
46174_ACEOF
46175if ac_fn_cxx_try_compile "$LINENO"; then :
46176  glibcxx_cv_func__log10l_use=yes
46177else
46178  glibcxx_cv_func__log10l_use=no
46179fi
46180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46181      ac_ext=c
46182ac_cpp='$CPP $CPPFLAGS'
46183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46185ac_compiler_gnu=$ac_cv_c_compiler_gnu
46186
46187
46188fi
46189
46190  fi
46191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46192$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46193
46194    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46195      for ac_func in _log10l
46196do :
46197  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46198if test "x$ac_cv_func__log10l" = xyes; then :
46199  cat >>confdefs.h <<_ACEOF
46200#define HAVE__LOG10L 1
46201_ACEOF
46202
46203fi
46204done
46205
46206    fi
46207  fi
46208
46209
46210
46211
46212
46213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46214$as_echo_n "checking for modfl declaration... " >&6; }
46215  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46216    if ${glibcxx_cv_func_modfl_use+:} false; then :
46217  $as_echo_n "(cached) " >&6
46218else
46219
46220
46221      ac_ext=cpp
46222ac_cpp='$CXXCPP $CPPFLAGS'
46223ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46226
46227      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46228/* end confdefs.h.  */
46229#include <math.h>
46230int
46231main ()
46232{
46233 modfl(0, 0);
46234  ;
46235  return 0;
46236}
46237_ACEOF
46238if ac_fn_cxx_try_compile "$LINENO"; then :
46239  glibcxx_cv_func_modfl_use=yes
46240else
46241  glibcxx_cv_func_modfl_use=no
46242fi
46243rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46244      ac_ext=c
46245ac_cpp='$CPP $CPPFLAGS'
46246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46248ac_compiler_gnu=$ac_cv_c_compiler_gnu
46249
46250
46251fi
46252
46253  fi
46254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46255$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46256
46257  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46258    for ac_func in modfl
46259do :
46260  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46261if test "x$ac_cv_func_modfl" = xyes; then :
46262  cat >>confdefs.h <<_ACEOF
46263#define HAVE_MODFL 1
46264_ACEOF
46265
46266fi
46267done
46268
46269  else
46270
46271  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46272$as_echo_n "checking for _modfl declaration... " >&6; }
46273  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46274    if ${glibcxx_cv_func__modfl_use+:} false; then :
46275  $as_echo_n "(cached) " >&6
46276else
46277
46278
46279      ac_ext=cpp
46280ac_cpp='$CXXCPP $CPPFLAGS'
46281ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46284
46285      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46286/* end confdefs.h.  */
46287#include <math.h>
46288int
46289main ()
46290{
46291 _modfl(0, 0);
46292  ;
46293  return 0;
46294}
46295_ACEOF
46296if ac_fn_cxx_try_compile "$LINENO"; then :
46297  glibcxx_cv_func__modfl_use=yes
46298else
46299  glibcxx_cv_func__modfl_use=no
46300fi
46301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46302      ac_ext=c
46303ac_cpp='$CPP $CPPFLAGS'
46304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306ac_compiler_gnu=$ac_cv_c_compiler_gnu
46307
46308
46309fi
46310
46311  fi
46312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46313$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46314
46315    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46316      for ac_func in _modfl
46317do :
46318  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46319if test "x$ac_cv_func__modfl" = xyes; then :
46320  cat >>confdefs.h <<_ACEOF
46321#define HAVE__MODFL 1
46322_ACEOF
46323
46324fi
46325done
46326
46327    fi
46328  fi
46329
46330
46331
46332
46333
46334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46335$as_echo_n "checking for powl declaration... " >&6; }
46336  if test x${glibcxx_cv_func_powl_use+set} != xset; then
46337    if ${glibcxx_cv_func_powl_use+:} false; then :
46338  $as_echo_n "(cached) " >&6
46339else
46340
46341
46342      ac_ext=cpp
46343ac_cpp='$CXXCPP $CPPFLAGS'
46344ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46345ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46346ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46347
46348      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46349/* end confdefs.h.  */
46350#include <math.h>
46351int
46352main ()
46353{
46354 powl(0, 0);
46355  ;
46356  return 0;
46357}
46358_ACEOF
46359if ac_fn_cxx_try_compile "$LINENO"; then :
46360  glibcxx_cv_func_powl_use=yes
46361else
46362  glibcxx_cv_func_powl_use=no
46363fi
46364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46365      ac_ext=c
46366ac_cpp='$CPP $CPPFLAGS'
46367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46369ac_compiler_gnu=$ac_cv_c_compiler_gnu
46370
46371
46372fi
46373
46374  fi
46375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46376$as_echo "$glibcxx_cv_func_powl_use" >&6; }
46377
46378  if test x$glibcxx_cv_func_powl_use = x"yes"; then
46379    for ac_func in powl
46380do :
46381  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46382if test "x$ac_cv_func_powl" = xyes; then :
46383  cat >>confdefs.h <<_ACEOF
46384#define HAVE_POWL 1
46385_ACEOF
46386
46387fi
46388done
46389
46390  else
46391
46392  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46393$as_echo_n "checking for _powl declaration... " >&6; }
46394  if test x${glibcxx_cv_func__powl_use+set} != xset; then
46395    if ${glibcxx_cv_func__powl_use+:} false; then :
46396  $as_echo_n "(cached) " >&6
46397else
46398
46399
46400      ac_ext=cpp
46401ac_cpp='$CXXCPP $CPPFLAGS'
46402ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46405
46406      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46407/* end confdefs.h.  */
46408#include <math.h>
46409int
46410main ()
46411{
46412 _powl(0, 0);
46413  ;
46414  return 0;
46415}
46416_ACEOF
46417if ac_fn_cxx_try_compile "$LINENO"; then :
46418  glibcxx_cv_func__powl_use=yes
46419else
46420  glibcxx_cv_func__powl_use=no
46421fi
46422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46423      ac_ext=c
46424ac_cpp='$CPP $CPPFLAGS'
46425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46427ac_compiler_gnu=$ac_cv_c_compiler_gnu
46428
46429
46430fi
46431
46432  fi
46433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46434$as_echo "$glibcxx_cv_func__powl_use" >&6; }
46435
46436    if test x$glibcxx_cv_func__powl_use = x"yes"; then
46437      for ac_func in _powl
46438do :
46439  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46440if test "x$ac_cv_func__powl" = xyes; then :
46441  cat >>confdefs.h <<_ACEOF
46442#define HAVE__POWL 1
46443_ACEOF
46444
46445fi
46446done
46447
46448    fi
46449  fi
46450
46451
46452
46453
46454
46455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46456$as_echo_n "checking for sqrtl declaration... " >&6; }
46457  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46458    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46459  $as_echo_n "(cached) " >&6
46460else
46461
46462
46463      ac_ext=cpp
46464ac_cpp='$CXXCPP $CPPFLAGS'
46465ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46466ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46467ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46468
46469      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46470/* end confdefs.h.  */
46471#include <math.h>
46472		      #ifdef HAVE_IEEEFP_H
46473		      #include <ieeefp.h>
46474		      #endif
46475
46476int
46477main ()
46478{
46479 sqrtl(0);
46480  ;
46481  return 0;
46482}
46483_ACEOF
46484if ac_fn_cxx_try_compile "$LINENO"; then :
46485  glibcxx_cv_func_sqrtl_use=yes
46486else
46487  glibcxx_cv_func_sqrtl_use=no
46488fi
46489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46490      ac_ext=c
46491ac_cpp='$CPP $CPPFLAGS'
46492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46494ac_compiler_gnu=$ac_cv_c_compiler_gnu
46495
46496
46497fi
46498
46499  fi
46500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46501$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46502
46503  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46504    for ac_func in sqrtl
46505do :
46506  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46507if test "x$ac_cv_func_sqrtl" = xyes; then :
46508  cat >>confdefs.h <<_ACEOF
46509#define HAVE_SQRTL 1
46510_ACEOF
46511
46512fi
46513done
46514
46515  else
46516
46517  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46518$as_echo_n "checking for _sqrtl declaration... " >&6; }
46519  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46520    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46521  $as_echo_n "(cached) " >&6
46522else
46523
46524
46525      ac_ext=cpp
46526ac_cpp='$CXXCPP $CPPFLAGS'
46527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46530
46531      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46532/* end confdefs.h.  */
46533#include <math.h>
46534		      #ifdef HAVE_IEEEFP_H
46535		      #include <ieeefp.h>
46536		      #endif
46537
46538int
46539main ()
46540{
46541 _sqrtl(0);
46542  ;
46543  return 0;
46544}
46545_ACEOF
46546if ac_fn_cxx_try_compile "$LINENO"; then :
46547  glibcxx_cv_func__sqrtl_use=yes
46548else
46549  glibcxx_cv_func__sqrtl_use=no
46550fi
46551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46552      ac_ext=c
46553ac_cpp='$CPP $CPPFLAGS'
46554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46556ac_compiler_gnu=$ac_cv_c_compiler_gnu
46557
46558
46559fi
46560
46561  fi
46562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46563$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46564
46565    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46566      for ac_func in _sqrtl
46567do :
46568  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46569if test "x$ac_cv_func__sqrtl" = xyes; then :
46570  cat >>confdefs.h <<_ACEOF
46571#define HAVE__SQRTL 1
46572_ACEOF
46573
46574fi
46575done
46576
46577    fi
46578  fi
46579
46580
46581
46582
46583
46584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46585$as_echo_n "checking for sincosl declaration... " >&6; }
46586  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46587    if ${glibcxx_cv_func_sincosl_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 sincosl(0, 0, 0);
46605  ;
46606  return 0;
46607}
46608_ACEOF
46609if ac_fn_cxx_try_compile "$LINENO"; then :
46610  glibcxx_cv_func_sincosl_use=yes
46611else
46612  glibcxx_cv_func_sincosl_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_sincosl_use" >&5
46626$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46627
46628  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46629    for ac_func in sincosl
46630do :
46631  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46632if test "x$ac_cv_func_sincosl" = xyes; then :
46633  cat >>confdefs.h <<_ACEOF
46634#define HAVE_SINCOSL 1
46635_ACEOF
46636
46637fi
46638done
46639
46640  else
46641
46642  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46643$as_echo_n "checking for _sincosl declaration... " >&6; }
46644  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46645    if ${glibcxx_cv_func__sincosl_use+:} false; then :
46646  $as_echo_n "(cached) " >&6
46647else
46648
46649
46650      ac_ext=cpp
46651ac_cpp='$CXXCPP $CPPFLAGS'
46652ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46653ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46654ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46655
46656      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46657/* end confdefs.h.  */
46658#include <math.h>
46659int
46660main ()
46661{
46662 _sincosl(0, 0, 0);
46663  ;
46664  return 0;
46665}
46666_ACEOF
46667if ac_fn_cxx_try_compile "$LINENO"; then :
46668  glibcxx_cv_func__sincosl_use=yes
46669else
46670  glibcxx_cv_func__sincosl_use=no
46671fi
46672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46673      ac_ext=c
46674ac_cpp='$CPP $CPPFLAGS'
46675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46677ac_compiler_gnu=$ac_cv_c_compiler_gnu
46678
46679
46680fi
46681
46682  fi
46683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46684$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46685
46686    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46687      for ac_func in _sincosl
46688do :
46689  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46690if test "x$ac_cv_func__sincosl" = xyes; then :
46691  cat >>confdefs.h <<_ACEOF
46692#define HAVE__SINCOSL 1
46693_ACEOF
46694
46695fi
46696done
46697
46698    fi
46699  fi
46700
46701
46702
46703
46704
46705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46706$as_echo_n "checking for finitel declaration... " >&6; }
46707  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46708    if ${glibcxx_cv_func_finitel_use+:} false; then :
46709  $as_echo_n "(cached) " >&6
46710else
46711
46712
46713      ac_ext=cpp
46714ac_cpp='$CXXCPP $CPPFLAGS'
46715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46718
46719      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46720/* end confdefs.h.  */
46721#include <math.h>
46722		      #ifdef HAVE_IEEEFP_H
46723		      #include <ieeefp.h>
46724		      #endif
46725
46726int
46727main ()
46728{
46729 finitel(0);
46730  ;
46731  return 0;
46732}
46733_ACEOF
46734if ac_fn_cxx_try_compile "$LINENO"; then :
46735  glibcxx_cv_func_finitel_use=yes
46736else
46737  glibcxx_cv_func_finitel_use=no
46738fi
46739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46740      ac_ext=c
46741ac_cpp='$CPP $CPPFLAGS'
46742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46744ac_compiler_gnu=$ac_cv_c_compiler_gnu
46745
46746
46747fi
46748
46749  fi
46750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46751$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46752
46753  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46754    for ac_func in finitel
46755do :
46756  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46757if test "x$ac_cv_func_finitel" = xyes; then :
46758  cat >>confdefs.h <<_ACEOF
46759#define HAVE_FINITEL 1
46760_ACEOF
46761
46762fi
46763done
46764
46765  else
46766
46767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46768$as_echo_n "checking for _finitel declaration... " >&6; }
46769  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46770    if ${glibcxx_cv_func__finitel_use+:} false; then :
46771  $as_echo_n "(cached) " >&6
46772else
46773
46774
46775      ac_ext=cpp
46776ac_cpp='$CXXCPP $CPPFLAGS'
46777ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46780
46781      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46782/* end confdefs.h.  */
46783#include <math.h>
46784		      #ifdef HAVE_IEEEFP_H
46785		      #include <ieeefp.h>
46786		      #endif
46787
46788int
46789main ()
46790{
46791 _finitel(0);
46792  ;
46793  return 0;
46794}
46795_ACEOF
46796if ac_fn_cxx_try_compile "$LINENO"; then :
46797  glibcxx_cv_func__finitel_use=yes
46798else
46799  glibcxx_cv_func__finitel_use=no
46800fi
46801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46802      ac_ext=c
46803ac_cpp='$CPP $CPPFLAGS'
46804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46806ac_compiler_gnu=$ac_cv_c_compiler_gnu
46807
46808
46809fi
46810
46811  fi
46812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46813$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46814
46815    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46816      for ac_func in _finitel
46817do :
46818  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46819if test "x$ac_cv_func__finitel" = xyes; then :
46820  cat >>confdefs.h <<_ACEOF
46821#define HAVE__FINITEL 1
46822_ACEOF
46823
46824fi
46825done
46826
46827    fi
46828  fi
46829
46830
46831
46832
46833  LIBS="$ac_save_LIBS"
46834  CXXFLAGS="$ac_save_CXXFLAGS"
46835
46836
46837  ac_test_CXXFLAGS="${CXXFLAGS+set}"
46838  ac_save_CXXFLAGS="$CXXFLAGS"
46839  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46840
46841
46842  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46843$as_echo_n "checking for at_quick_exit declaration... " >&6; }
46844  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46845    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46846  $as_echo_n "(cached) " >&6
46847else
46848
46849
46850      ac_ext=cpp
46851ac_cpp='$CXXCPP $CPPFLAGS'
46852ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46855
46856      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46857/* end confdefs.h.  */
46858#include <stdlib.h>
46859int
46860main ()
46861{
46862 at_quick_exit(0);
46863  ;
46864  return 0;
46865}
46866_ACEOF
46867if ac_fn_cxx_try_compile "$LINENO"; then :
46868  glibcxx_cv_func_at_quick_exit_use=yes
46869else
46870  glibcxx_cv_func_at_quick_exit_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_at_quick_exit_use" >&5
46884$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46885  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46886    for ac_func in at_quick_exit
46887do :
46888  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46889if test "x$ac_cv_func_at_quick_exit" = xyes; then :
46890  cat >>confdefs.h <<_ACEOF
46891#define HAVE_AT_QUICK_EXIT 1
46892_ACEOF
46893
46894fi
46895done
46896
46897  fi
46898
46899
46900  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46901$as_echo_n "checking for quick_exit declaration... " >&6; }
46902  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46903    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
46904  $as_echo_n "(cached) " >&6
46905else
46906
46907
46908      ac_ext=cpp
46909ac_cpp='$CXXCPP $CPPFLAGS'
46910ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46913
46914      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915/* end confdefs.h.  */
46916#include <stdlib.h>
46917int
46918main ()
46919{
46920 quick_exit(0);
46921  ;
46922  return 0;
46923}
46924_ACEOF
46925if ac_fn_cxx_try_compile "$LINENO"; then :
46926  glibcxx_cv_func_quick_exit_use=yes
46927else
46928  glibcxx_cv_func_quick_exit_use=no
46929fi
46930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46931      ac_ext=c
46932ac_cpp='$CPP $CPPFLAGS'
46933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935ac_compiler_gnu=$ac_cv_c_compiler_gnu
46936
46937
46938fi
46939
46940  fi
46941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46942$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46943  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46944    for ac_func in quick_exit
46945do :
46946  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46947if test "x$ac_cv_func_quick_exit" = xyes; then :
46948  cat >>confdefs.h <<_ACEOF
46949#define HAVE_QUICK_EXIT 1
46950_ACEOF
46951
46952fi
46953done
46954
46955  fi
46956
46957
46958  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46959$as_echo_n "checking for strtold declaration... " >&6; }
46960  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46961    if ${glibcxx_cv_func_strtold_use+:} false; then :
46962  $as_echo_n "(cached) " >&6
46963else
46964
46965
46966      ac_ext=cpp
46967ac_cpp='$CXXCPP $CPPFLAGS'
46968ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46969ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46970ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46971
46972      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46973/* end confdefs.h.  */
46974#include <stdlib.h>
46975int
46976main ()
46977{
46978 strtold(0, 0);
46979  ;
46980  return 0;
46981}
46982_ACEOF
46983if ac_fn_cxx_try_compile "$LINENO"; then :
46984  glibcxx_cv_func_strtold_use=yes
46985else
46986  glibcxx_cv_func_strtold_use=no
46987fi
46988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46989      ac_ext=c
46990ac_cpp='$CPP $CPPFLAGS'
46991ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46992ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46993ac_compiler_gnu=$ac_cv_c_compiler_gnu
46994
46995
46996fi
46997
46998  fi
46999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47000$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47001  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47002    for ac_func in strtold
47003do :
47004  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47005if test "x$ac_cv_func_strtold" = xyes; then :
47006  cat >>confdefs.h <<_ACEOF
47007#define HAVE_STRTOLD 1
47008_ACEOF
47009
47010fi
47011done
47012
47013  fi
47014
47015
47016
47017
47018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47019$as_echo_n "checking for strtof declaration... " >&6; }
47020  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47021    if ${glibcxx_cv_func_strtof_use+:} false; then :
47022  $as_echo_n "(cached) " >&6
47023else
47024
47025
47026      ac_ext=cpp
47027ac_cpp='$CXXCPP $CPPFLAGS'
47028ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47029ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47030ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47031
47032      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47033/* end confdefs.h.  */
47034#include <stdlib.h>
47035int
47036main ()
47037{
47038 strtof(0, 0);
47039  ;
47040  return 0;
47041}
47042_ACEOF
47043if ac_fn_cxx_try_compile "$LINENO"; then :
47044  glibcxx_cv_func_strtof_use=yes
47045else
47046  glibcxx_cv_func_strtof_use=no
47047fi
47048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47049      ac_ext=c
47050ac_cpp='$CPP $CPPFLAGS'
47051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47053ac_compiler_gnu=$ac_cv_c_compiler_gnu
47054
47055
47056fi
47057
47058  fi
47059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47060$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47061  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47062    for ac_func in strtof
47063do :
47064  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47065if test "x$ac_cv_func_strtof" = xyes; then :
47066  cat >>confdefs.h <<_ACEOF
47067#define HAVE_STRTOF 1
47068_ACEOF
47069
47070fi
47071done
47072
47073  fi
47074
47075
47076
47077
47078  CXXFLAGS="$ac_save_CXXFLAGS"
47079
47080
47081    for ac_func in uselocale
47082do :
47083  ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47084if test "x$ac_cv_func_uselocale" = xyes; then :
47085  cat >>confdefs.h <<_ACEOF
47086#define HAVE_USELOCALE 1
47087_ACEOF
47088
47089fi
47090done
47091
47092    ;;
47093
47094  *djgpp)
47095    # GLIBCXX_CHECK_MATH_SUPPORT
47096    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47097
47098    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47099
47100    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47101
47102    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47103
47104    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47105
47106    ;;
47107
47108  *-freebsd*)
47109    SECTION_FLAGS='-ffunction-sections -fdata-sections'
47110
47111
47112  # If we're not using GNU ld, then there's no point in even trying these
47113  # tests.  Check for that first.  We should have already tested for gld
47114  # by now (in libtool), but require it now just to be safe...
47115  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47116  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47117
47118
47119
47120  # The name set by libtool depends on the version of libtool.  Shame on us
47121  # for depending on an impl detail, but c'est la vie.  Older versions used
47122  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47123  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47124  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47125  # set (hence we're using an older libtool), then set it.
47126  if test x${with_gnu_ld+set} != xset; then
47127    if test x${ac_cv_prog_gnu_ld+set} != xset; then
47128      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47129      with_gnu_ld=no
47130    else
47131      with_gnu_ld=$ac_cv_prog_gnu_ld
47132    fi
47133  fi
47134
47135  # Start by getting the version number.  I think the libtool test already
47136  # does some of this, but throws away the result.
47137  glibcxx_ld_is_gold=no
47138  if test x"$with_gnu_ld" = x"yes"; then
47139    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47140$as_echo_n "checking for ld version... " >&6; }
47141
47142    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47143      glibcxx_ld_is_gold=yes
47144    fi
47145    ldver=`$LD --version 2>/dev/null |
47146	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47147
47148    glibcxx_gnu_ld_version=`echo $ldver | \
47149	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47150    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47151$as_echo "$glibcxx_gnu_ld_version" >&6; }
47152  fi
47153
47154  # Set --gc-sections.
47155  glibcxx_have_gc_sections=no
47156  if test "$glibcxx_ld_is_gold" = "yes"; then
47157    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47158      glibcxx_have_gc_sections=yes
47159    fi
47160  else
47161    glibcxx_gcsections_min_ld=21602
47162    if test x"$with_gnu_ld" = x"yes" &&
47163	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47164      glibcxx_have_gc_sections=yes
47165    fi
47166  fi
47167  if test "$glibcxx_have_gc_sections" = "yes"; then
47168    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
47169    # NB: This flag only works reliably after 2.16.1. Configure tests
47170    # for this are difficult, so hard wire a value that should work.
47171
47172    ac_test_CFLAGS="${CFLAGS+set}"
47173    ac_save_CFLAGS="$CFLAGS"
47174    CFLAGS='-Wl,--gc-sections'
47175
47176    # Check for -Wl,--gc-sections
47177    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47178$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47179    if test x$gcc_no_link = xyes; then
47180  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47181fi
47182cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47183/* end confdefs.h.  */
47184 int one(void) { return 1; }
47185     int two(void) { return 2; }
47186
47187int
47188main ()
47189{
47190 two();
47191  ;
47192  return 0;
47193}
47194_ACEOF
47195if ac_fn_c_try_link "$LINENO"; then :
47196  ac_gcsections=yes
47197else
47198  ac_gcsections=no
47199fi
47200rm -f core conftest.err conftest.$ac_objext \
47201    conftest$ac_exeext conftest.$ac_ext
47202    if test "$ac_gcsections" = "yes"; then
47203      rm -f conftest.c
47204      touch conftest.c
47205      if $CC -c conftest.c; then
47206	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47207	   grep "Warning: gc-sections option ignored" > /dev/null; then
47208	  ac_gcsections=no
47209	fi
47210      fi
47211      rm -f conftest.c conftest.o conftest
47212    fi
47213    if test "$ac_gcsections" = "yes"; then
47214      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47215    fi
47216    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47217$as_echo "$ac_gcsections" >&6; }
47218
47219    if test "$ac_test_CFLAGS" = set; then
47220      CFLAGS="$ac_save_CFLAGS"
47221    else
47222      # this is the suspicious part
47223      CFLAGS=''
47224    fi
47225  fi
47226
47227  # Set -z,relro.
47228  # Note this is only for shared objects.
47229  ac_ld_relro=no
47230  if test x"$with_gnu_ld" = x"yes"; then
47231    # cygwin and mingw uses PE, which has no ELF relro support,
47232    # multi target ld may confuse configure machinery
47233    case "$host" in
47234    *-*-cygwin*)
47235     ;;
47236    *-*-mingw*)
47237     ;;
47238    *)
47239      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47240$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47241      cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47242      if test -n "$cxx_z_relo"; then
47243        OPT_LDFLAGS="-Wl,-z,relro"
47244        ac_ld_relro=yes
47245      fi
47246      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47247$as_echo "$ac_ld_relro" >&6; }
47248    esac
47249  fi
47250
47251  # Set linker optimization flags.
47252  if test x"$with_gnu_ld" = x"yes"; then
47253    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47254  fi
47255
47256
47257
47258
47259    $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47260
47261    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47262
47263    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47264
47265    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47266
47267    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47268
47269    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47270
47271    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47272
47273    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47274
47275    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47276
47277
47278    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47279
47280    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47281
47282    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47283
47284    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47285
47286    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47287
47288    $as_echo "#define HAVE_COSF 1" >>confdefs.h
47289
47290    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47291
47292    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47293
47294    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47295
47296    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47297
47298    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47299
47300    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47301
47302    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47303
47304    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47305
47306    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47307
47308    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47309
47310    $as_echo "#define HAVE_POWF 1" >>confdefs.h
47311
47312    $as_echo "#define HAVE_SINF 1" >>confdefs.h
47313
47314    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47315
47316    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47317
47318    $as_echo "#define HAVE_TANF 1" >>confdefs.h
47319
47320    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47321
47322    if test x"long_double_math_on_this_cpu" = x"yes"; then
47323      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47324
47325      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47326
47327      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47328
47329    fi
47330    for ac_func in __cxa_thread_atexit
47331do :
47332  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47333if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47334  cat >>confdefs.h <<_ACEOF
47335#define HAVE___CXA_THREAD_ATEXIT 1
47336_ACEOF
47337
47338fi
47339done
47340
47341    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47342do :
47343  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47344ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47345if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47346  cat >>confdefs.h <<_ACEOF
47347#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47348_ACEOF
47349
47350fi
47351done
47352
47353    for ac_func in timespec_get
47354do :
47355  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47356if test "x$ac_cv_func_timespec_get" = xyes; then :
47357  cat >>confdefs.h <<_ACEOF
47358#define HAVE_TIMESPEC_GET 1
47359_ACEOF
47360
47361fi
47362done
47363
47364    for ac_func in sockatmark
47365do :
47366  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47367if test "x$ac_cv_func_sockatmark" = xyes; then :
47368  cat >>confdefs.h <<_ACEOF
47369#define HAVE_SOCKATMARK 1
47370_ACEOF
47371
47372fi
47373done
47374
47375    for ac_func in uselocale
47376do :
47377  ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47378if test "x$ac_cv_func_uselocale" = xyes; then :
47379  cat >>confdefs.h <<_ACEOF
47380#define HAVE_USELOCALE 1
47381_ACEOF
47382
47383fi
47384done
47385
47386    ;;
47387
47388  *-fuchsia*)
47389    SECTION_FLAGS='-ffunction-sections -fdata-sections'
47390
47391    ;;
47392
47393  *-hpux*)
47394    SECTION_FLAGS='-ffunction-sections -fdata-sections'
47395
47396
47397  # If we're not using GNU ld, then there's no point in even trying these
47398  # tests.  Check for that first.  We should have already tested for gld
47399  # by now (in libtool), but require it now just to be safe...
47400  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47401  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47402
47403
47404
47405  # The name set by libtool depends on the version of libtool.  Shame on us
47406  # for depending on an impl detail, but c'est la vie.  Older versions used
47407  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47408  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47409  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47410  # set (hence we're using an older libtool), then set it.
47411  if test x${with_gnu_ld+set} != xset; then
47412    if test x${ac_cv_prog_gnu_ld+set} != xset; then
47413      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47414      with_gnu_ld=no
47415    else
47416      with_gnu_ld=$ac_cv_prog_gnu_ld
47417    fi
47418  fi
47419
47420  # Start by getting the version number.  I think the libtool test already
47421  # does some of this, but throws away the result.
47422  glibcxx_ld_is_gold=no
47423  if test x"$with_gnu_ld" = x"yes"; then
47424    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47425$as_echo_n "checking for ld version... " >&6; }
47426
47427    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47428      glibcxx_ld_is_gold=yes
47429    fi
47430    ldver=`$LD --version 2>/dev/null |
47431	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47432
47433    glibcxx_gnu_ld_version=`echo $ldver | \
47434	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47435    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47436$as_echo "$glibcxx_gnu_ld_version" >&6; }
47437  fi
47438
47439  # Set --gc-sections.
47440  glibcxx_have_gc_sections=no
47441  if test "$glibcxx_ld_is_gold" = "yes"; then
47442    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47443      glibcxx_have_gc_sections=yes
47444    fi
47445  else
47446    glibcxx_gcsections_min_ld=21602
47447    if test x"$with_gnu_ld" = x"yes" &&
47448	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47449      glibcxx_have_gc_sections=yes
47450    fi
47451  fi
47452  if test "$glibcxx_have_gc_sections" = "yes"; then
47453    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
47454    # NB: This flag only works reliably after 2.16.1. Configure tests
47455    # for this are difficult, so hard wire a value that should work.
47456
47457    ac_test_CFLAGS="${CFLAGS+set}"
47458    ac_save_CFLAGS="$CFLAGS"
47459    CFLAGS='-Wl,--gc-sections'
47460
47461    # Check for -Wl,--gc-sections
47462    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47463$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47464    if test x$gcc_no_link = xyes; then
47465  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47466fi
47467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47468/* end confdefs.h.  */
47469 int one(void) { return 1; }
47470     int two(void) { return 2; }
47471
47472int
47473main ()
47474{
47475 two();
47476  ;
47477  return 0;
47478}
47479_ACEOF
47480if ac_fn_c_try_link "$LINENO"; then :
47481  ac_gcsections=yes
47482else
47483  ac_gcsections=no
47484fi
47485rm -f core conftest.err conftest.$ac_objext \
47486    conftest$ac_exeext conftest.$ac_ext
47487    if test "$ac_gcsections" = "yes"; then
47488      rm -f conftest.c
47489      touch conftest.c
47490      if $CC -c conftest.c; then
47491	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47492	   grep "Warning: gc-sections option ignored" > /dev/null; then
47493	  ac_gcsections=no
47494	fi
47495      fi
47496      rm -f conftest.c conftest.o conftest
47497    fi
47498    if test "$ac_gcsections" = "yes"; then
47499      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47500    fi
47501    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47502$as_echo "$ac_gcsections" >&6; }
47503
47504    if test "$ac_test_CFLAGS" = set; then
47505      CFLAGS="$ac_save_CFLAGS"
47506    else
47507      # this is the suspicious part
47508      CFLAGS=''
47509    fi
47510  fi
47511
47512  # Set -z,relro.
47513  # Note this is only for shared objects.
47514  ac_ld_relro=no
47515  if test x"$with_gnu_ld" = x"yes"; then
47516    # cygwin and mingw uses PE, which has no ELF relro support,
47517    # multi target ld may confuse configure machinery
47518    case "$host" in
47519    *-*-cygwin*)
47520     ;;
47521    *-*-mingw*)
47522     ;;
47523    *)
47524      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47525$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47526      cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47527      if test -n "$cxx_z_relo"; then
47528        OPT_LDFLAGS="-Wl,-z,relro"
47529        ac_ld_relro=yes
47530      fi
47531      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47532$as_echo "$ac_ld_relro" >&6; }
47533    esac
47534  fi
47535
47536  # Set linker optimization flags.
47537  if test x"$with_gnu_ld" = x"yes"; then
47538    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47539  fi
47540
47541
47542
47543
47544
47545    # GLIBCXX_CHECK_MATH_SUPPORT
47546    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47547
47548    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47549
47550    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47551
47552    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47553
47554    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47555
47556    $as_echo "#define HAVE_COSF 1" >>confdefs.h
47557
47558    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47559
47560    $as_echo "#define HAVE_SINF 1" >>confdefs.h
47561
47562    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47563
47564    $as_echo "#define HAVE_TANF 1" >>confdefs.h
47565
47566    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47567
47568    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47569
47570    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47571
47572    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47573
47574    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47575
47576    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47577
47578    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47579
47580    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47581
47582    $as_echo "#define HAVE_MODF 1" >>confdefs.h
47583
47584    $as_echo "#define HAVE_POWF 1" >>confdefs.h
47585
47586    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47587
47588
47589    # GLIBCXX_CHECK_STDLIB_SUPPORT
47590    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47591
47592
47593
47594
47595   # Check whether --enable-tls was given.
47596if test "${enable_tls+set}" = set; then :
47597  enableval=$enable_tls;
47598      case "$enableval" in
47599       yes|no) ;;
47600       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47601      esac
47602
47603else
47604  enable_tls=yes
47605fi
47606
47607
47608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47609$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47610if ${gcc_cv_have_tls+:} false; then :
47611  $as_echo_n "(cached) " >&6
47612else
47613
47614    if test "$cross_compiling" = yes; then :
47615                if test x$gcc_no_link = xyes; then
47616  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47617fi
47618cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47619/* end confdefs.h.  */
47620__thread int a; int b; int main() { return a = b; }
47621_ACEOF
47622if ac_fn_c_try_link "$LINENO"; then :
47623  chktls_save_LDFLAGS="$LDFLAGS"
47624	  	  	  case $host in
47625	    *-*-linux* | -*-uclinuxfdpic*)
47626	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47627	      ;;
47628	  esac
47629	  chktls_save_CFLAGS="$CFLAGS"
47630	  CFLAGS="-fPIC $CFLAGS"
47631	  	  if test x$gcc_no_link = xyes; then
47632  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47633fi
47634cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47635/* end confdefs.h.  */
47636int f() { return 0; }
47637_ACEOF
47638if ac_fn_c_try_link "$LINENO"; then :
47639  if test x$gcc_no_link = xyes; then
47640  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47641fi
47642cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47643/* end confdefs.h.  */
47644__thread int a; int b; int f() { return a = b; }
47645_ACEOF
47646if ac_fn_c_try_link "$LINENO"; then :
47647  gcc_cv_have_tls=yes
47648else
47649  gcc_cv_have_tls=no
47650fi
47651rm -f core conftest.err conftest.$ac_objext \
47652    conftest$ac_exeext conftest.$ac_ext
47653else
47654  gcc_cv_have_tls=yes
47655fi
47656rm -f core conftest.err conftest.$ac_objext \
47657    conftest$ac_exeext conftest.$ac_ext
47658	  CFLAGS="$chktls_save_CFLAGS"
47659	  LDFLAGS="$chktls_save_LDFLAGS"
47660else
47661  gcc_cv_have_tls=no
47662fi
47663rm -f core conftest.err conftest.$ac_objext \
47664    conftest$ac_exeext conftest.$ac_ext
47665
47666
47667else
47668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47669/* end confdefs.h.  */
47670__thread int a; int b; int main() { return a = b; }
47671_ACEOF
47672if ac_fn_c_try_run "$LINENO"; then :
47673                      chktls_save_LDFLAGS="$LDFLAGS"
47674      LDFLAGS="-static $LDFLAGS"
47675      if test x$gcc_no_link = xyes; then
47676  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47677fi
47678cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47679/* end confdefs.h.  */
47680int main() { return 0; }
47681_ACEOF
47682if ac_fn_c_try_link "$LINENO"; then :
47683  if test "$cross_compiling" = yes; then :
47684  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47685$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47686as_fn_error $? "cannot run test program while cross compiling
47687See \`config.log' for more details" "$LINENO" 5; }
47688else
47689  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47690/* end confdefs.h.  */
47691__thread int a; int b; int main() { return a = b; }
47692_ACEOF
47693if ac_fn_c_try_run "$LINENO"; then :
47694  gcc_cv_have_tls=yes
47695else
47696  gcc_cv_have_tls=no
47697fi
47698rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47699  conftest.$ac_objext conftest.beam conftest.$ac_ext
47700fi
47701
47702else
47703  gcc_cv_have_tls=yes
47704fi
47705rm -f core conftest.err conftest.$ac_objext \
47706    conftest$ac_exeext conftest.$ac_ext
47707      LDFLAGS="$chktls_save_LDFLAGS"
47708      if test $gcc_cv_have_tls = yes; then
47709						chktls_save_CFLAGS="$CFLAGS"
47710	thread_CFLAGS=failed
47711	for flag in '' '-pthread' '-lpthread'; do
47712	  CFLAGS="$flag $chktls_save_CFLAGS"
47713	  if test x$gcc_no_link = xyes; then
47714  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47715fi
47716cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47717/* end confdefs.h.  */
47718#include <pthread.h>
47719		void *g(void *d) { return NULL; }
47720int
47721main ()
47722{
47723pthread_t t; pthread_create(&t,NULL,g,NULL);
47724  ;
47725  return 0;
47726}
47727_ACEOF
47728if ac_fn_c_try_link "$LINENO"; then :
47729  thread_CFLAGS="$flag"
47730fi
47731rm -f core conftest.err conftest.$ac_objext \
47732    conftest$ac_exeext conftest.$ac_ext
47733	  if test "X$thread_CFLAGS" != Xfailed; then
47734	    break
47735	  fi
47736	done
47737	CFLAGS="$chktls_save_CFLAGS"
47738	if test "X$thread_CFLAGS" != Xfailed; then
47739	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47740 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
47741  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47742$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47743as_fn_error $? "cannot run test program while cross compiling
47744See \`config.log' for more details" "$LINENO" 5; }
47745else
47746  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47747/* end confdefs.h.  */
47748#include <pthread.h>
47749		__thread int a;
47750		static int *volatile a_in_other_thread;
47751		static void *
47752		thread_func (void *arg)
47753		{
47754		  a_in_other_thread = &a;
47755		  return (void *)0;
47756		}
47757int
47758main ()
47759{
47760pthread_t thread;
47761		void *thread_retval;
47762		int *volatile a_in_main_thread;
47763		a_in_main_thread = &a;
47764		if (pthread_create (&thread, (pthread_attr_t *)0,
47765				    thread_func, (void *)0))
47766		  return 0;
47767		if (pthread_join (thread, &thread_retval))
47768		  return 0;
47769		return (a_in_other_thread == a_in_main_thread);
47770  ;
47771  return 0;
47772}
47773_ACEOF
47774if ac_fn_c_try_run "$LINENO"; then :
47775  gcc_cv_have_tls=yes
47776else
47777  gcc_cv_have_tls=no
47778fi
47779rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47780  conftest.$ac_objext conftest.beam conftest.$ac_ext
47781fi
47782
47783	  CFLAGS="$chktls_save_CFLAGS"
47784	fi
47785      fi
47786else
47787  gcc_cv_have_tls=no
47788fi
47789rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47790  conftest.$ac_objext conftest.beam conftest.$ac_ext
47791fi
47792
47793fi
47794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47795$as_echo "$gcc_cv_have_tls" >&6; }
47796  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47797
47798$as_echo "#define HAVE_TLS 1" >>confdefs.h
47799
47800  fi
47801    case "$target" in
47802      *-hpux10*)
47803	$as_echo "#define HAVE_ISINF 1" >>confdefs.h
47804
47805	$as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47806
47807	$as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47808
47809	$as_echo "#define HAVE_FINITE 1" >>confdefs.h
47810
47811	$as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47812
47813	;;
47814    esac
47815    ;;
47816  *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47817
47818  # All these tests are for C++; save the language and the compiler flags.
47819  # The CXXFLAGS thing is suspicious, but based on similar bits previously
47820  # found in GLIBCXX_CONFIGURE.
47821
47822  ac_ext=cpp
47823ac_cpp='$CXXCPP $CPPFLAGS'
47824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47827
47828  ac_test_CXXFLAGS="${CXXFLAGS+set}"
47829  ac_save_CXXFLAGS="$CXXFLAGS"
47830
47831  # Check for -ffunction-sections -fdata-sections
47832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47833$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47834  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47835  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47836/* end confdefs.h.  */
47837int foo; void bar() { };
47838int
47839main ()
47840{
47841
47842  ;
47843  return 0;
47844}
47845_ACEOF
47846if ac_fn_cxx_try_compile "$LINENO"; then :
47847  ac_fdsections=yes
47848else
47849  ac_fdsections=no
47850fi
47851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47852  if test "$ac_test_CXXFLAGS" = set; then
47853    CXXFLAGS="$ac_save_CXXFLAGS"
47854  else
47855    # this is the suspicious part
47856    CXXFLAGS=''
47857  fi
47858  if test x"$ac_fdsections" = x"yes"; then
47859    SECTION_FLAGS='-ffunction-sections -fdata-sections'
47860  fi
47861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
47862$as_echo "$ac_fdsections" >&6; }
47863
47864  ac_ext=c
47865ac_cpp='$CPP $CPPFLAGS'
47866ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47867ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47868ac_compiler_gnu=$ac_cv_c_compiler_gnu
47869
47870
47871
47872
47873  # If we're not using GNU ld, then there's no point in even trying these
47874  # tests.  Check for that first.  We should have already tested for gld
47875  # by now (in libtool), but require it now just to be safe...
47876  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47877  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47878
47879
47880
47881  # The name set by libtool depends on the version of libtool.  Shame on us
47882  # for depending on an impl detail, but c'est la vie.  Older versions used
47883  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47884  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47885  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47886  # set (hence we're using an older libtool), then set it.
47887  if test x${with_gnu_ld+set} != xset; then
47888    if test x${ac_cv_prog_gnu_ld+set} != xset; then
47889      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47890      with_gnu_ld=no
47891    else
47892      with_gnu_ld=$ac_cv_prog_gnu_ld
47893    fi
47894  fi
47895
47896  # Start by getting the version number.  I think the libtool test already
47897  # does some of this, but throws away the result.
47898  glibcxx_ld_is_gold=no
47899  if test x"$with_gnu_ld" = x"yes"; then
47900    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47901$as_echo_n "checking for ld version... " >&6; }
47902
47903    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47904      glibcxx_ld_is_gold=yes
47905    fi
47906    ldver=`$LD --version 2>/dev/null |
47907	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47908
47909    glibcxx_gnu_ld_version=`echo $ldver | \
47910	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47911    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47912$as_echo "$glibcxx_gnu_ld_version" >&6; }
47913  fi
47914
47915  # Set --gc-sections.
47916  glibcxx_have_gc_sections=no
47917  if test "$glibcxx_ld_is_gold" = "yes"; then
47918    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47919      glibcxx_have_gc_sections=yes
47920    fi
47921  else
47922    glibcxx_gcsections_min_ld=21602
47923    if test x"$with_gnu_ld" = x"yes" &&
47924	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47925      glibcxx_have_gc_sections=yes
47926    fi
47927  fi
47928  if test "$glibcxx_have_gc_sections" = "yes"; then
47929    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
47930    # NB: This flag only works reliably after 2.16.1. Configure tests
47931    # for this are difficult, so hard wire a value that should work.
47932
47933    ac_test_CFLAGS="${CFLAGS+set}"
47934    ac_save_CFLAGS="$CFLAGS"
47935    CFLAGS='-Wl,--gc-sections'
47936
47937    # Check for -Wl,--gc-sections
47938    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47939$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47940    if test x$gcc_no_link = xyes; then
47941  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47942fi
47943cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47944/* end confdefs.h.  */
47945 int one(void) { return 1; }
47946     int two(void) { return 2; }
47947
47948int
47949main ()
47950{
47951 two();
47952  ;
47953  return 0;
47954}
47955_ACEOF
47956if ac_fn_c_try_link "$LINENO"; then :
47957  ac_gcsections=yes
47958else
47959  ac_gcsections=no
47960fi
47961rm -f core conftest.err conftest.$ac_objext \
47962    conftest$ac_exeext conftest.$ac_ext
47963    if test "$ac_gcsections" = "yes"; then
47964      rm -f conftest.c
47965      touch conftest.c
47966      if $CC -c conftest.c; then
47967	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47968	   grep "Warning: gc-sections option ignored" > /dev/null; then
47969	  ac_gcsections=no
47970	fi
47971      fi
47972      rm -f conftest.c conftest.o conftest
47973    fi
47974    if test "$ac_gcsections" = "yes"; then
47975      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47976    fi
47977    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47978$as_echo "$ac_gcsections" >&6; }
47979
47980    if test "$ac_test_CFLAGS" = set; then
47981      CFLAGS="$ac_save_CFLAGS"
47982    else
47983      # this is the suspicious part
47984      CFLAGS=''
47985    fi
47986  fi
47987
47988  # Set -z,relro.
47989  # Note this is only for shared objects.
47990  ac_ld_relro=no
47991  if test x"$with_gnu_ld" = x"yes"; then
47992    # cygwin and mingw uses PE, which has no ELF relro support,
47993    # multi target ld may confuse configure machinery
47994    case "$host" in
47995    *-*-cygwin*)
47996     ;;
47997    *-*-mingw*)
47998     ;;
47999    *)
48000      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48001$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48002      cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48003      if test -n "$cxx_z_relo"; then
48004        OPT_LDFLAGS="-Wl,-z,relro"
48005        ac_ld_relro=yes
48006      fi
48007      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48008$as_echo "$ac_ld_relro" >&6; }
48009    esac
48010  fi
48011
48012  # Set linker optimization flags.
48013  if test x"$with_gnu_ld" = x"yes"; then
48014    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48015  fi
48016
48017
48018
48019
48020
48021  ac_test_CXXFLAGS="${CXXFLAGS+set}"
48022  ac_save_CXXFLAGS="$CXXFLAGS"
48023  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48024
48025    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48026$as_echo_n "checking for sin in -lm... " >&6; }
48027if ${ac_cv_lib_m_sin+:} false; then :
48028  $as_echo_n "(cached) " >&6
48029else
48030  ac_check_lib_save_LIBS=$LIBS
48031LIBS="-lm  $LIBS"
48032if test x$gcc_no_link = xyes; then
48033  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48034fi
48035cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48036/* end confdefs.h.  */
48037
48038/* Override any GCC internal prototype to avoid an error.
48039   Use char because int might match the return type of a GCC
48040   builtin and then its argument prototype would still apply.  */
48041#ifdef __cplusplus
48042extern "C"
48043#endif
48044char sin ();
48045int
48046main ()
48047{
48048return sin ();
48049  ;
48050  return 0;
48051}
48052_ACEOF
48053if ac_fn_c_try_link "$LINENO"; then :
48054  ac_cv_lib_m_sin=yes
48055else
48056  ac_cv_lib_m_sin=no
48057fi
48058rm -f core conftest.err conftest.$ac_objext \
48059    conftest$ac_exeext conftest.$ac_ext
48060LIBS=$ac_check_lib_save_LIBS
48061fi
48062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48063$as_echo "$ac_cv_lib_m_sin" >&6; }
48064if test "x$ac_cv_lib_m_sin" = xyes; then :
48065  libm="-lm"
48066fi
48067
48068  ac_save_LIBS="$LIBS"
48069  LIBS="$LIBS $libm"
48070
48071
48072
48073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48074$as_echo_n "checking for isinf declaration... " >&6; }
48075  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48076    if ${glibcxx_cv_func_isinf_use+:} false; then :
48077  $as_echo_n "(cached) " >&6
48078else
48079
48080
48081      ac_ext=cpp
48082ac_cpp='$CXXCPP $CPPFLAGS'
48083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48086
48087      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48088/* end confdefs.h.  */
48089#include <math.h>
48090		      #ifdef HAVE_IEEEFP_H
48091		      #include <ieeefp.h>
48092		      #endif
48093
48094int
48095main ()
48096{
48097 isinf(0);
48098  ;
48099  return 0;
48100}
48101_ACEOF
48102if ac_fn_cxx_try_compile "$LINENO"; then :
48103  glibcxx_cv_func_isinf_use=yes
48104else
48105  glibcxx_cv_func_isinf_use=no
48106fi
48107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48108      ac_ext=c
48109ac_cpp='$CPP $CPPFLAGS'
48110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48112ac_compiler_gnu=$ac_cv_c_compiler_gnu
48113
48114
48115fi
48116
48117  fi
48118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48119$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48120
48121  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48122    for ac_func in isinf
48123do :
48124  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48125if test "x$ac_cv_func_isinf" = xyes; then :
48126  cat >>confdefs.h <<_ACEOF
48127#define HAVE_ISINF 1
48128_ACEOF
48129
48130fi
48131done
48132
48133  else
48134
48135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48136$as_echo_n "checking for _isinf declaration... " >&6; }
48137  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48138    if ${glibcxx_cv_func__isinf_use+:} false; then :
48139  $as_echo_n "(cached) " >&6
48140else
48141
48142
48143      ac_ext=cpp
48144ac_cpp='$CXXCPP $CPPFLAGS'
48145ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48146ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48147ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48148
48149      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48150/* end confdefs.h.  */
48151#include <math.h>
48152		      #ifdef HAVE_IEEEFP_H
48153		      #include <ieeefp.h>
48154		      #endif
48155
48156int
48157main ()
48158{
48159 _isinf(0);
48160  ;
48161  return 0;
48162}
48163_ACEOF
48164if ac_fn_cxx_try_compile "$LINENO"; then :
48165  glibcxx_cv_func__isinf_use=yes
48166else
48167  glibcxx_cv_func__isinf_use=no
48168fi
48169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48170      ac_ext=c
48171ac_cpp='$CPP $CPPFLAGS'
48172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48174ac_compiler_gnu=$ac_cv_c_compiler_gnu
48175
48176
48177fi
48178
48179  fi
48180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48181$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48182
48183    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48184      for ac_func in _isinf
48185do :
48186  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48187if test "x$ac_cv_func__isinf" = xyes; then :
48188  cat >>confdefs.h <<_ACEOF
48189#define HAVE__ISINF 1
48190_ACEOF
48191
48192fi
48193done
48194
48195    fi
48196  fi
48197
48198
48199
48200
48201
48202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48203$as_echo_n "checking for isnan declaration... " >&6; }
48204  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48205    if ${glibcxx_cv_func_isnan_use+:} false; then :
48206  $as_echo_n "(cached) " >&6
48207else
48208
48209
48210      ac_ext=cpp
48211ac_cpp='$CXXCPP $CPPFLAGS'
48212ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48213ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48214ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48215
48216      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48217/* end confdefs.h.  */
48218#include <math.h>
48219		      #ifdef HAVE_IEEEFP_H
48220		      #include <ieeefp.h>
48221		      #endif
48222
48223int
48224main ()
48225{
48226 isnan(0);
48227  ;
48228  return 0;
48229}
48230_ACEOF
48231if ac_fn_cxx_try_compile "$LINENO"; then :
48232  glibcxx_cv_func_isnan_use=yes
48233else
48234  glibcxx_cv_func_isnan_use=no
48235fi
48236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48237      ac_ext=c
48238ac_cpp='$CPP $CPPFLAGS'
48239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48241ac_compiler_gnu=$ac_cv_c_compiler_gnu
48242
48243
48244fi
48245
48246  fi
48247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48248$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48249
48250  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48251    for ac_func in isnan
48252do :
48253  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48254if test "x$ac_cv_func_isnan" = xyes; then :
48255  cat >>confdefs.h <<_ACEOF
48256#define HAVE_ISNAN 1
48257_ACEOF
48258
48259fi
48260done
48261
48262  else
48263
48264  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48265$as_echo_n "checking for _isnan declaration... " >&6; }
48266  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48267    if ${glibcxx_cv_func__isnan_use+:} false; then :
48268  $as_echo_n "(cached) " >&6
48269else
48270
48271
48272      ac_ext=cpp
48273ac_cpp='$CXXCPP $CPPFLAGS'
48274ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48277
48278      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48279/* end confdefs.h.  */
48280#include <math.h>
48281		      #ifdef HAVE_IEEEFP_H
48282		      #include <ieeefp.h>
48283		      #endif
48284
48285int
48286main ()
48287{
48288 _isnan(0);
48289  ;
48290  return 0;
48291}
48292_ACEOF
48293if ac_fn_cxx_try_compile "$LINENO"; then :
48294  glibcxx_cv_func__isnan_use=yes
48295else
48296  glibcxx_cv_func__isnan_use=no
48297fi
48298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48299      ac_ext=c
48300ac_cpp='$CPP $CPPFLAGS'
48301ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48302ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48303ac_compiler_gnu=$ac_cv_c_compiler_gnu
48304
48305
48306fi
48307
48308  fi
48309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48310$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48311
48312    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48313      for ac_func in _isnan
48314do :
48315  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48316if test "x$ac_cv_func__isnan" = xyes; then :
48317  cat >>confdefs.h <<_ACEOF
48318#define HAVE__ISNAN 1
48319_ACEOF
48320
48321fi
48322done
48323
48324    fi
48325  fi
48326
48327
48328
48329
48330
48331  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48332$as_echo_n "checking for finite declaration... " >&6; }
48333  if test x${glibcxx_cv_func_finite_use+set} != xset; then
48334    if ${glibcxx_cv_func_finite_use+:} false; then :
48335  $as_echo_n "(cached) " >&6
48336else
48337
48338
48339      ac_ext=cpp
48340ac_cpp='$CXXCPP $CPPFLAGS'
48341ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48342ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48343ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48344
48345      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48346/* end confdefs.h.  */
48347#include <math.h>
48348		      #ifdef HAVE_IEEEFP_H
48349		      #include <ieeefp.h>
48350		      #endif
48351
48352int
48353main ()
48354{
48355 finite(0);
48356  ;
48357  return 0;
48358}
48359_ACEOF
48360if ac_fn_cxx_try_compile "$LINENO"; then :
48361  glibcxx_cv_func_finite_use=yes
48362else
48363  glibcxx_cv_func_finite_use=no
48364fi
48365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48366      ac_ext=c
48367ac_cpp='$CPP $CPPFLAGS'
48368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48370ac_compiler_gnu=$ac_cv_c_compiler_gnu
48371
48372
48373fi
48374
48375  fi
48376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48377$as_echo "$glibcxx_cv_func_finite_use" >&6; }
48378
48379  if test x$glibcxx_cv_func_finite_use = x"yes"; then
48380    for ac_func in finite
48381do :
48382  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48383if test "x$ac_cv_func_finite" = xyes; then :
48384  cat >>confdefs.h <<_ACEOF
48385#define HAVE_FINITE 1
48386_ACEOF
48387
48388fi
48389done
48390
48391  else
48392
48393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48394$as_echo_n "checking for _finite declaration... " >&6; }
48395  if test x${glibcxx_cv_func__finite_use+set} != xset; then
48396    if ${glibcxx_cv_func__finite_use+:} false; then :
48397  $as_echo_n "(cached) " >&6
48398else
48399
48400
48401      ac_ext=cpp
48402ac_cpp='$CXXCPP $CPPFLAGS'
48403ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48404ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48405ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48406
48407      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48408/* end confdefs.h.  */
48409#include <math.h>
48410		      #ifdef HAVE_IEEEFP_H
48411		      #include <ieeefp.h>
48412		      #endif
48413
48414int
48415main ()
48416{
48417 _finite(0);
48418  ;
48419  return 0;
48420}
48421_ACEOF
48422if ac_fn_cxx_try_compile "$LINENO"; then :
48423  glibcxx_cv_func__finite_use=yes
48424else
48425  glibcxx_cv_func__finite_use=no
48426fi
48427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48428      ac_ext=c
48429ac_cpp='$CPP $CPPFLAGS'
48430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48432ac_compiler_gnu=$ac_cv_c_compiler_gnu
48433
48434
48435fi
48436
48437  fi
48438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48439$as_echo "$glibcxx_cv_func__finite_use" >&6; }
48440
48441    if test x$glibcxx_cv_func__finite_use = x"yes"; then
48442      for ac_func in _finite
48443do :
48444  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48445if test "x$ac_cv_func__finite" = xyes; then :
48446  cat >>confdefs.h <<_ACEOF
48447#define HAVE__FINITE 1
48448_ACEOF
48449
48450fi
48451done
48452
48453    fi
48454  fi
48455
48456
48457
48458
48459
48460  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48461$as_echo_n "checking for sincos declaration... " >&6; }
48462  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48463    if ${glibcxx_cv_func_sincos_use+:} false; then :
48464  $as_echo_n "(cached) " >&6
48465else
48466
48467
48468      ac_ext=cpp
48469ac_cpp='$CXXCPP $CPPFLAGS'
48470ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48471ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48472ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48473
48474      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48475/* end confdefs.h.  */
48476#include <math.h>
48477int
48478main ()
48479{
48480 sincos(0, 0, 0);
48481  ;
48482  return 0;
48483}
48484_ACEOF
48485if ac_fn_cxx_try_compile "$LINENO"; then :
48486  glibcxx_cv_func_sincos_use=yes
48487else
48488  glibcxx_cv_func_sincos_use=no
48489fi
48490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48491      ac_ext=c
48492ac_cpp='$CPP $CPPFLAGS'
48493ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48494ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48495ac_compiler_gnu=$ac_cv_c_compiler_gnu
48496
48497
48498fi
48499
48500  fi
48501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48502$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48503
48504  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48505    for ac_func in sincos
48506do :
48507  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48508if test "x$ac_cv_func_sincos" = xyes; then :
48509  cat >>confdefs.h <<_ACEOF
48510#define HAVE_SINCOS 1
48511_ACEOF
48512
48513fi
48514done
48515
48516  else
48517
48518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48519$as_echo_n "checking for _sincos declaration... " >&6; }
48520  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48521    if ${glibcxx_cv_func__sincos_use+:} false; then :
48522  $as_echo_n "(cached) " >&6
48523else
48524
48525
48526      ac_ext=cpp
48527ac_cpp='$CXXCPP $CPPFLAGS'
48528ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48529ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48530ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48531
48532      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48533/* end confdefs.h.  */
48534#include <math.h>
48535int
48536main ()
48537{
48538 _sincos(0, 0, 0);
48539  ;
48540  return 0;
48541}
48542_ACEOF
48543if ac_fn_cxx_try_compile "$LINENO"; then :
48544  glibcxx_cv_func__sincos_use=yes
48545else
48546  glibcxx_cv_func__sincos_use=no
48547fi
48548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48549      ac_ext=c
48550ac_cpp='$CPP $CPPFLAGS'
48551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48553ac_compiler_gnu=$ac_cv_c_compiler_gnu
48554
48555
48556fi
48557
48558  fi
48559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48560$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48561
48562    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48563      for ac_func in _sincos
48564do :
48565  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48566if test "x$ac_cv_func__sincos" = xyes; then :
48567  cat >>confdefs.h <<_ACEOF
48568#define HAVE__SINCOS 1
48569_ACEOF
48570
48571fi
48572done
48573
48574    fi
48575  fi
48576
48577
48578
48579
48580
48581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48582$as_echo_n "checking for fpclass declaration... " >&6; }
48583  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48584    if ${glibcxx_cv_func_fpclass_use+:} false; then :
48585  $as_echo_n "(cached) " >&6
48586else
48587
48588
48589      ac_ext=cpp
48590ac_cpp='$CXXCPP $CPPFLAGS'
48591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48594
48595      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48596/* end confdefs.h.  */
48597#include <math.h>
48598		      #ifdef HAVE_IEEEFP_H
48599		      #include <ieeefp.h>
48600		      #endif
48601
48602int
48603main ()
48604{
48605 fpclass(0);
48606  ;
48607  return 0;
48608}
48609_ACEOF
48610if ac_fn_cxx_try_compile "$LINENO"; then :
48611  glibcxx_cv_func_fpclass_use=yes
48612else
48613  glibcxx_cv_func_fpclass_use=no
48614fi
48615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48616      ac_ext=c
48617ac_cpp='$CPP $CPPFLAGS'
48618ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48619ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48620ac_compiler_gnu=$ac_cv_c_compiler_gnu
48621
48622
48623fi
48624
48625  fi
48626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48627$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48628
48629  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48630    for ac_func in fpclass
48631do :
48632  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48633if test "x$ac_cv_func_fpclass" = xyes; then :
48634  cat >>confdefs.h <<_ACEOF
48635#define HAVE_FPCLASS 1
48636_ACEOF
48637
48638fi
48639done
48640
48641  else
48642
48643  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48644$as_echo_n "checking for _fpclass declaration... " >&6; }
48645  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48646    if ${glibcxx_cv_func__fpclass_use+:} false; then :
48647  $as_echo_n "(cached) " >&6
48648else
48649
48650
48651      ac_ext=cpp
48652ac_cpp='$CXXCPP $CPPFLAGS'
48653ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48654ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48655ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48656
48657      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48658/* end confdefs.h.  */
48659#include <math.h>
48660		      #ifdef HAVE_IEEEFP_H
48661		      #include <ieeefp.h>
48662		      #endif
48663
48664int
48665main ()
48666{
48667 _fpclass(0);
48668  ;
48669  return 0;
48670}
48671_ACEOF
48672if ac_fn_cxx_try_compile "$LINENO"; then :
48673  glibcxx_cv_func__fpclass_use=yes
48674else
48675  glibcxx_cv_func__fpclass_use=no
48676fi
48677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48678      ac_ext=c
48679ac_cpp='$CPP $CPPFLAGS'
48680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48682ac_compiler_gnu=$ac_cv_c_compiler_gnu
48683
48684
48685fi
48686
48687  fi
48688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48689$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48690
48691    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48692      for ac_func in _fpclass
48693do :
48694  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48695if test "x$ac_cv_func__fpclass" = xyes; then :
48696  cat >>confdefs.h <<_ACEOF
48697#define HAVE__FPCLASS 1
48698_ACEOF
48699
48700fi
48701done
48702
48703    fi
48704  fi
48705
48706
48707
48708
48709
48710  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48711$as_echo_n "checking for qfpclass declaration... " >&6; }
48712  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48713    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48714  $as_echo_n "(cached) " >&6
48715else
48716
48717
48718      ac_ext=cpp
48719ac_cpp='$CXXCPP $CPPFLAGS'
48720ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48721ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48722ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48723
48724      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48725/* end confdefs.h.  */
48726#include <math.h>
48727		      #ifdef HAVE_IEEEFP_H
48728		      #include <ieeefp.h>
48729		      #endif
48730
48731int
48732main ()
48733{
48734 qfpclass(0);
48735  ;
48736  return 0;
48737}
48738_ACEOF
48739if ac_fn_cxx_try_compile "$LINENO"; then :
48740  glibcxx_cv_func_qfpclass_use=yes
48741else
48742  glibcxx_cv_func_qfpclass_use=no
48743fi
48744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48745      ac_ext=c
48746ac_cpp='$CPP $CPPFLAGS'
48747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48749ac_compiler_gnu=$ac_cv_c_compiler_gnu
48750
48751
48752fi
48753
48754  fi
48755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48756$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48757
48758  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48759    for ac_func in qfpclass
48760do :
48761  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48762if test "x$ac_cv_func_qfpclass" = xyes; then :
48763  cat >>confdefs.h <<_ACEOF
48764#define HAVE_QFPCLASS 1
48765_ACEOF
48766
48767fi
48768done
48769
48770  else
48771
48772  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48773$as_echo_n "checking for _qfpclass declaration... " >&6; }
48774  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48775    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48776  $as_echo_n "(cached) " >&6
48777else
48778
48779
48780      ac_ext=cpp
48781ac_cpp='$CXXCPP $CPPFLAGS'
48782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48785
48786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48787/* end confdefs.h.  */
48788#include <math.h>
48789		      #ifdef HAVE_IEEEFP_H
48790		      #include <ieeefp.h>
48791		      #endif
48792
48793int
48794main ()
48795{
48796 _qfpclass(0);
48797  ;
48798  return 0;
48799}
48800_ACEOF
48801if ac_fn_cxx_try_compile "$LINENO"; then :
48802  glibcxx_cv_func__qfpclass_use=yes
48803else
48804  glibcxx_cv_func__qfpclass_use=no
48805fi
48806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48807      ac_ext=c
48808ac_cpp='$CPP $CPPFLAGS'
48809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48811ac_compiler_gnu=$ac_cv_c_compiler_gnu
48812
48813
48814fi
48815
48816  fi
48817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48818$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48819
48820    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48821      for ac_func in _qfpclass
48822do :
48823  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48824if test "x$ac_cv_func__qfpclass" = xyes; then :
48825  cat >>confdefs.h <<_ACEOF
48826#define HAVE__QFPCLASS 1
48827_ACEOF
48828
48829fi
48830done
48831
48832    fi
48833  fi
48834
48835
48836
48837
48838
48839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48840$as_echo_n "checking for hypot declaration... " >&6; }
48841  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48842    if ${glibcxx_cv_func_hypot_use+:} false; then :
48843  $as_echo_n "(cached) " >&6
48844else
48845
48846
48847      ac_ext=cpp
48848ac_cpp='$CXXCPP $CPPFLAGS'
48849ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48850ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48851ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48852
48853      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48854/* end confdefs.h.  */
48855#include <math.h>
48856int
48857main ()
48858{
48859 hypot(0, 0);
48860  ;
48861  return 0;
48862}
48863_ACEOF
48864if ac_fn_cxx_try_compile "$LINENO"; then :
48865  glibcxx_cv_func_hypot_use=yes
48866else
48867  glibcxx_cv_func_hypot_use=no
48868fi
48869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48870      ac_ext=c
48871ac_cpp='$CPP $CPPFLAGS'
48872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48874ac_compiler_gnu=$ac_cv_c_compiler_gnu
48875
48876
48877fi
48878
48879  fi
48880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48881$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48882
48883  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48884    for ac_func in hypot
48885do :
48886  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48887if test "x$ac_cv_func_hypot" = xyes; then :
48888  cat >>confdefs.h <<_ACEOF
48889#define HAVE_HYPOT 1
48890_ACEOF
48891
48892fi
48893done
48894
48895  else
48896
48897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48898$as_echo_n "checking for _hypot declaration... " >&6; }
48899  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48900    if ${glibcxx_cv_func__hypot_use+:} false; then :
48901  $as_echo_n "(cached) " >&6
48902else
48903
48904
48905      ac_ext=cpp
48906ac_cpp='$CXXCPP $CPPFLAGS'
48907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48910
48911      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48912/* end confdefs.h.  */
48913#include <math.h>
48914int
48915main ()
48916{
48917 _hypot(0, 0);
48918  ;
48919  return 0;
48920}
48921_ACEOF
48922if ac_fn_cxx_try_compile "$LINENO"; then :
48923  glibcxx_cv_func__hypot_use=yes
48924else
48925  glibcxx_cv_func__hypot_use=no
48926fi
48927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48928      ac_ext=c
48929ac_cpp='$CPP $CPPFLAGS'
48930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48932ac_compiler_gnu=$ac_cv_c_compiler_gnu
48933
48934
48935fi
48936
48937  fi
48938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48939$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48940
48941    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48942      for ac_func in _hypot
48943do :
48944  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48945if test "x$ac_cv_func__hypot" = xyes; then :
48946  cat >>confdefs.h <<_ACEOF
48947#define HAVE__HYPOT 1
48948_ACEOF
48949
48950fi
48951done
48952
48953    fi
48954  fi
48955
48956
48957
48958
48959
48960    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48961$as_echo_n "checking for float trig functions... " >&6; }
48962  if ${glibcxx_cv_func_float_trig_use+:} false; then :
48963  $as_echo_n "(cached) " >&6
48964else
48965
48966
48967    ac_ext=cpp
48968ac_cpp='$CXXCPP $CPPFLAGS'
48969ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48970ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48971ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48972
48973    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48974/* end confdefs.h.  */
48975#include <math.h>
48976int
48977main ()
48978{
48979acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48980  ;
48981  return 0;
48982}
48983_ACEOF
48984if ac_fn_cxx_try_compile "$LINENO"; then :
48985  glibcxx_cv_func_float_trig_use=yes
48986else
48987  glibcxx_cv_func_float_trig_use=no
48988fi
48989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48990    ac_ext=c
48991ac_cpp='$CPP $CPPFLAGS'
48992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48994ac_compiler_gnu=$ac_cv_c_compiler_gnu
48995
48996fi
48997
48998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48999$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49000  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49001    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49002do :
49003  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49004ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49005if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49006  cat >>confdefs.h <<_ACEOF
49007#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49008_ACEOF
49009
49010fi
49011done
49012
49013  else
49014    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49015$as_echo_n "checking for _float trig functions... " >&6; }
49016    if ${glibcxx_cv_func__float_trig_use+:} false; then :
49017  $as_echo_n "(cached) " >&6
49018else
49019
49020
49021      ac_ext=cpp
49022ac_cpp='$CXXCPP $CPPFLAGS'
49023ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49024ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49025ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49026
49027      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49028/* end confdefs.h.  */
49029#include <math.h>
49030int
49031main ()
49032{
49033_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49034  ;
49035  return 0;
49036}
49037_ACEOF
49038if ac_fn_cxx_try_compile "$LINENO"; then :
49039  glibcxx_cv_func__float_trig_use=yes
49040else
49041  glibcxx_cv_func__float_trig_use=no
49042fi
49043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49044      ac_ext=c
49045ac_cpp='$CPP $CPPFLAGS'
49046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49048ac_compiler_gnu=$ac_cv_c_compiler_gnu
49049
49050fi
49051
49052    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49053$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49054    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49055      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49056do :
49057  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49058ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49059if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49060  cat >>confdefs.h <<_ACEOF
49061#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49062_ACEOF
49063
49064fi
49065done
49066
49067    fi
49068  fi
49069
49070
49071
49072
49073
49074    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49075$as_echo_n "checking for float round functions... " >&6; }
49076  if ${glibcxx_cv_func_float_round_use+:} false; then :
49077  $as_echo_n "(cached) " >&6
49078else
49079
49080
49081    ac_ext=cpp
49082ac_cpp='$CXXCPP $CPPFLAGS'
49083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49086
49087    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49088/* end confdefs.h.  */
49089#include <math.h>
49090int
49091main ()
49092{
49093ceilf (0); floorf (0);
49094  ;
49095  return 0;
49096}
49097_ACEOF
49098if ac_fn_cxx_try_compile "$LINENO"; then :
49099  glibcxx_cv_func_float_round_use=yes
49100else
49101  glibcxx_cv_func_float_round_use=no
49102fi
49103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49104    ac_ext=c
49105ac_cpp='$CPP $CPPFLAGS'
49106ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49107ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49108ac_compiler_gnu=$ac_cv_c_compiler_gnu
49109
49110fi
49111
49112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49113$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49114  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49115    for ac_func in ceilf floorf
49116do :
49117  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49118ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49119if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49120  cat >>confdefs.h <<_ACEOF
49121#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49122_ACEOF
49123
49124fi
49125done
49126
49127  else
49128    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49129$as_echo_n "checking for _float round functions... " >&6; }
49130    if ${glibcxx_cv_func__float_round_use+:} false; then :
49131  $as_echo_n "(cached) " >&6
49132else
49133
49134
49135      ac_ext=cpp
49136ac_cpp='$CXXCPP $CPPFLAGS'
49137ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49138ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49139ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49140
49141      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49142/* end confdefs.h.  */
49143#include <math.h>
49144int
49145main ()
49146{
49147_ceilf (0); _floorf (0);
49148  ;
49149  return 0;
49150}
49151_ACEOF
49152if ac_fn_cxx_try_compile "$LINENO"; then :
49153  glibcxx_cv_func__float_round_use=yes
49154else
49155  glibcxx_cv_func__float_round_use=no
49156fi
49157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49158      ac_ext=c
49159ac_cpp='$CPP $CPPFLAGS'
49160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162ac_compiler_gnu=$ac_cv_c_compiler_gnu
49163
49164fi
49165
49166    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49167$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49168    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49169      for ac_func in _ceilf _floorf
49170do :
49171  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49172ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49173if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49174  cat >>confdefs.h <<_ACEOF
49175#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49176_ACEOF
49177
49178fi
49179done
49180
49181    fi
49182  fi
49183
49184
49185
49186
49187
49188
49189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49190$as_echo_n "checking for expf declaration... " >&6; }
49191  if test x${glibcxx_cv_func_expf_use+set} != xset; then
49192    if ${glibcxx_cv_func_expf_use+:} false; then :
49193  $as_echo_n "(cached) " >&6
49194else
49195
49196
49197      ac_ext=cpp
49198ac_cpp='$CXXCPP $CPPFLAGS'
49199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49202
49203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49204/* end confdefs.h.  */
49205#include <math.h>
49206		      #ifdef HAVE_IEEEFP_H
49207		      #include <ieeefp.h>
49208		      #endif
49209
49210int
49211main ()
49212{
49213 expf(0);
49214  ;
49215  return 0;
49216}
49217_ACEOF
49218if ac_fn_cxx_try_compile "$LINENO"; then :
49219  glibcxx_cv_func_expf_use=yes
49220else
49221  glibcxx_cv_func_expf_use=no
49222fi
49223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224      ac_ext=c
49225ac_cpp='$CPP $CPPFLAGS'
49226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228ac_compiler_gnu=$ac_cv_c_compiler_gnu
49229
49230
49231fi
49232
49233  fi
49234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49235$as_echo "$glibcxx_cv_func_expf_use" >&6; }
49236
49237  if test x$glibcxx_cv_func_expf_use = x"yes"; then
49238    for ac_func in expf
49239do :
49240  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49241if test "x$ac_cv_func_expf" = xyes; then :
49242  cat >>confdefs.h <<_ACEOF
49243#define HAVE_EXPF 1
49244_ACEOF
49245
49246fi
49247done
49248
49249  else
49250
49251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49252$as_echo_n "checking for _expf declaration... " >&6; }
49253  if test x${glibcxx_cv_func__expf_use+set} != xset; then
49254    if ${glibcxx_cv_func__expf_use+:} false; then :
49255  $as_echo_n "(cached) " >&6
49256else
49257
49258
49259      ac_ext=cpp
49260ac_cpp='$CXXCPP $CPPFLAGS'
49261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49264
49265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49266/* end confdefs.h.  */
49267#include <math.h>
49268		      #ifdef HAVE_IEEEFP_H
49269		      #include <ieeefp.h>
49270		      #endif
49271
49272int
49273main ()
49274{
49275 _expf(0);
49276  ;
49277  return 0;
49278}
49279_ACEOF
49280if ac_fn_cxx_try_compile "$LINENO"; then :
49281  glibcxx_cv_func__expf_use=yes
49282else
49283  glibcxx_cv_func__expf_use=no
49284fi
49285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49286      ac_ext=c
49287ac_cpp='$CPP $CPPFLAGS'
49288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49290ac_compiler_gnu=$ac_cv_c_compiler_gnu
49291
49292
49293fi
49294
49295  fi
49296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49297$as_echo "$glibcxx_cv_func__expf_use" >&6; }
49298
49299    if test x$glibcxx_cv_func__expf_use = x"yes"; then
49300      for ac_func in _expf
49301do :
49302  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49303if test "x$ac_cv_func__expf" = xyes; then :
49304  cat >>confdefs.h <<_ACEOF
49305#define HAVE__EXPF 1
49306_ACEOF
49307
49308fi
49309done
49310
49311    fi
49312  fi
49313
49314
49315
49316
49317
49318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49319$as_echo_n "checking for isnanf declaration... " >&6; }
49320  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49321    if ${glibcxx_cv_func_isnanf_use+:} false; then :
49322  $as_echo_n "(cached) " >&6
49323else
49324
49325
49326      ac_ext=cpp
49327ac_cpp='$CXXCPP $CPPFLAGS'
49328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49329ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49331
49332      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49333/* end confdefs.h.  */
49334#include <math.h>
49335		      #ifdef HAVE_IEEEFP_H
49336		      #include <ieeefp.h>
49337		      #endif
49338
49339int
49340main ()
49341{
49342 isnanf(0);
49343  ;
49344  return 0;
49345}
49346_ACEOF
49347if ac_fn_cxx_try_compile "$LINENO"; then :
49348  glibcxx_cv_func_isnanf_use=yes
49349else
49350  glibcxx_cv_func_isnanf_use=no
49351fi
49352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49353      ac_ext=c
49354ac_cpp='$CPP $CPPFLAGS'
49355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49357ac_compiler_gnu=$ac_cv_c_compiler_gnu
49358
49359
49360fi
49361
49362  fi
49363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49364$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49365
49366  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49367    for ac_func in isnanf
49368do :
49369  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49370if test "x$ac_cv_func_isnanf" = xyes; then :
49371  cat >>confdefs.h <<_ACEOF
49372#define HAVE_ISNANF 1
49373_ACEOF
49374
49375fi
49376done
49377
49378  else
49379
49380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49381$as_echo_n "checking for _isnanf declaration... " >&6; }
49382  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49383    if ${glibcxx_cv_func__isnanf_use+:} false; then :
49384  $as_echo_n "(cached) " >&6
49385else
49386
49387
49388      ac_ext=cpp
49389ac_cpp='$CXXCPP $CPPFLAGS'
49390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49393
49394      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49395/* end confdefs.h.  */
49396#include <math.h>
49397		      #ifdef HAVE_IEEEFP_H
49398		      #include <ieeefp.h>
49399		      #endif
49400
49401int
49402main ()
49403{
49404 _isnanf(0);
49405  ;
49406  return 0;
49407}
49408_ACEOF
49409if ac_fn_cxx_try_compile "$LINENO"; then :
49410  glibcxx_cv_func__isnanf_use=yes
49411else
49412  glibcxx_cv_func__isnanf_use=no
49413fi
49414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49415      ac_ext=c
49416ac_cpp='$CPP $CPPFLAGS'
49417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49419ac_compiler_gnu=$ac_cv_c_compiler_gnu
49420
49421
49422fi
49423
49424  fi
49425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49426$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49427
49428    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49429      for ac_func in _isnanf
49430do :
49431  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49432if test "x$ac_cv_func__isnanf" = xyes; then :
49433  cat >>confdefs.h <<_ACEOF
49434#define HAVE__ISNANF 1
49435_ACEOF
49436
49437fi
49438done
49439
49440    fi
49441  fi
49442
49443
49444
49445
49446
49447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49448$as_echo_n "checking for isinff declaration... " >&6; }
49449  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49450    if ${glibcxx_cv_func_isinff_use+:} false; then :
49451  $as_echo_n "(cached) " >&6
49452else
49453
49454
49455      ac_ext=cpp
49456ac_cpp='$CXXCPP $CPPFLAGS'
49457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49460
49461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49462/* end confdefs.h.  */
49463#include <math.h>
49464		      #ifdef HAVE_IEEEFP_H
49465		      #include <ieeefp.h>
49466		      #endif
49467
49468int
49469main ()
49470{
49471 isinff(0);
49472  ;
49473  return 0;
49474}
49475_ACEOF
49476if ac_fn_cxx_try_compile "$LINENO"; then :
49477  glibcxx_cv_func_isinff_use=yes
49478else
49479  glibcxx_cv_func_isinff_use=no
49480fi
49481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49482      ac_ext=c
49483ac_cpp='$CPP $CPPFLAGS'
49484ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49485ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49486ac_compiler_gnu=$ac_cv_c_compiler_gnu
49487
49488
49489fi
49490
49491  fi
49492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49493$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49494
49495  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49496    for ac_func in isinff
49497do :
49498  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49499if test "x$ac_cv_func_isinff" = xyes; then :
49500  cat >>confdefs.h <<_ACEOF
49501#define HAVE_ISINFF 1
49502_ACEOF
49503
49504fi
49505done
49506
49507  else
49508
49509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49510$as_echo_n "checking for _isinff declaration... " >&6; }
49511  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49512    if ${glibcxx_cv_func__isinff_use+:} false; then :
49513  $as_echo_n "(cached) " >&6
49514else
49515
49516
49517      ac_ext=cpp
49518ac_cpp='$CXXCPP $CPPFLAGS'
49519ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49520ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49521ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49522
49523      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49524/* end confdefs.h.  */
49525#include <math.h>
49526		      #ifdef HAVE_IEEEFP_H
49527		      #include <ieeefp.h>
49528		      #endif
49529
49530int
49531main ()
49532{
49533 _isinff(0);
49534  ;
49535  return 0;
49536}
49537_ACEOF
49538if ac_fn_cxx_try_compile "$LINENO"; then :
49539  glibcxx_cv_func__isinff_use=yes
49540else
49541  glibcxx_cv_func__isinff_use=no
49542fi
49543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49544      ac_ext=c
49545ac_cpp='$CPP $CPPFLAGS'
49546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49548ac_compiler_gnu=$ac_cv_c_compiler_gnu
49549
49550
49551fi
49552
49553  fi
49554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49555$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49556
49557    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49558      for ac_func in _isinff
49559do :
49560  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49561if test "x$ac_cv_func__isinff" = xyes; then :
49562  cat >>confdefs.h <<_ACEOF
49563#define HAVE__ISINFF 1
49564_ACEOF
49565
49566fi
49567done
49568
49569    fi
49570  fi
49571
49572
49573
49574
49575
49576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49577$as_echo_n "checking for atan2f declaration... " >&6; }
49578  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49579    if ${glibcxx_cv_func_atan2f_use+:} false; then :
49580  $as_echo_n "(cached) " >&6
49581else
49582
49583
49584      ac_ext=cpp
49585ac_cpp='$CXXCPP $CPPFLAGS'
49586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49589
49590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49591/* end confdefs.h.  */
49592#include <math.h>
49593int
49594main ()
49595{
49596 atan2f(0, 0);
49597  ;
49598  return 0;
49599}
49600_ACEOF
49601if ac_fn_cxx_try_compile "$LINENO"; then :
49602  glibcxx_cv_func_atan2f_use=yes
49603else
49604  glibcxx_cv_func_atan2f_use=no
49605fi
49606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49607      ac_ext=c
49608ac_cpp='$CPP $CPPFLAGS'
49609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49611ac_compiler_gnu=$ac_cv_c_compiler_gnu
49612
49613
49614fi
49615
49616  fi
49617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49618$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49619
49620  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49621    for ac_func in atan2f
49622do :
49623  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49624if test "x$ac_cv_func_atan2f" = xyes; then :
49625  cat >>confdefs.h <<_ACEOF
49626#define HAVE_ATAN2F 1
49627_ACEOF
49628
49629fi
49630done
49631
49632  else
49633
49634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49635$as_echo_n "checking for _atan2f declaration... " >&6; }
49636  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49637    if ${glibcxx_cv_func__atan2f_use+:} false; then :
49638  $as_echo_n "(cached) " >&6
49639else
49640
49641
49642      ac_ext=cpp
49643ac_cpp='$CXXCPP $CPPFLAGS'
49644ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49647
49648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49649/* end confdefs.h.  */
49650#include <math.h>
49651int
49652main ()
49653{
49654 _atan2f(0, 0);
49655  ;
49656  return 0;
49657}
49658_ACEOF
49659if ac_fn_cxx_try_compile "$LINENO"; then :
49660  glibcxx_cv_func__atan2f_use=yes
49661else
49662  glibcxx_cv_func__atan2f_use=no
49663fi
49664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49665      ac_ext=c
49666ac_cpp='$CPP $CPPFLAGS'
49667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49669ac_compiler_gnu=$ac_cv_c_compiler_gnu
49670
49671
49672fi
49673
49674  fi
49675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49676$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49677
49678    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49679      for ac_func in _atan2f
49680do :
49681  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49682if test "x$ac_cv_func__atan2f" = xyes; then :
49683  cat >>confdefs.h <<_ACEOF
49684#define HAVE__ATAN2F 1
49685_ACEOF
49686
49687fi
49688done
49689
49690    fi
49691  fi
49692
49693
49694
49695
49696
49697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49698$as_echo_n "checking for fabsf declaration... " >&6; }
49699  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49700    if ${glibcxx_cv_func_fabsf_use+:} false; then :
49701  $as_echo_n "(cached) " >&6
49702else
49703
49704
49705      ac_ext=cpp
49706ac_cpp='$CXXCPP $CPPFLAGS'
49707ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49708ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49709ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49710
49711      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49712/* end confdefs.h.  */
49713#include <math.h>
49714		      #ifdef HAVE_IEEEFP_H
49715		      #include <ieeefp.h>
49716		      #endif
49717
49718int
49719main ()
49720{
49721 fabsf(0);
49722  ;
49723  return 0;
49724}
49725_ACEOF
49726if ac_fn_cxx_try_compile "$LINENO"; then :
49727  glibcxx_cv_func_fabsf_use=yes
49728else
49729  glibcxx_cv_func_fabsf_use=no
49730fi
49731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49732      ac_ext=c
49733ac_cpp='$CPP $CPPFLAGS'
49734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49736ac_compiler_gnu=$ac_cv_c_compiler_gnu
49737
49738
49739fi
49740
49741  fi
49742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49743$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49744
49745  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49746    for ac_func in fabsf
49747do :
49748  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49749if test "x$ac_cv_func_fabsf" = xyes; then :
49750  cat >>confdefs.h <<_ACEOF
49751#define HAVE_FABSF 1
49752_ACEOF
49753
49754fi
49755done
49756
49757  else
49758
49759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49760$as_echo_n "checking for _fabsf declaration... " >&6; }
49761  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49762    if ${glibcxx_cv_func__fabsf_use+:} false; then :
49763  $as_echo_n "(cached) " >&6
49764else
49765
49766
49767      ac_ext=cpp
49768ac_cpp='$CXXCPP $CPPFLAGS'
49769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49772
49773      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49774/* end confdefs.h.  */
49775#include <math.h>
49776		      #ifdef HAVE_IEEEFP_H
49777		      #include <ieeefp.h>
49778		      #endif
49779
49780int
49781main ()
49782{
49783 _fabsf(0);
49784  ;
49785  return 0;
49786}
49787_ACEOF
49788if ac_fn_cxx_try_compile "$LINENO"; then :
49789  glibcxx_cv_func__fabsf_use=yes
49790else
49791  glibcxx_cv_func__fabsf_use=no
49792fi
49793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49794      ac_ext=c
49795ac_cpp='$CPP $CPPFLAGS'
49796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49798ac_compiler_gnu=$ac_cv_c_compiler_gnu
49799
49800
49801fi
49802
49803  fi
49804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49805$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49806
49807    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49808      for ac_func in _fabsf
49809do :
49810  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49811if test "x$ac_cv_func__fabsf" = xyes; then :
49812  cat >>confdefs.h <<_ACEOF
49813#define HAVE__FABSF 1
49814_ACEOF
49815
49816fi
49817done
49818
49819    fi
49820  fi
49821
49822
49823
49824
49825
49826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49827$as_echo_n "checking for fmodf declaration... " >&6; }
49828  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49829    if ${glibcxx_cv_func_fmodf_use+:} false; then :
49830  $as_echo_n "(cached) " >&6
49831else
49832
49833
49834      ac_ext=cpp
49835ac_cpp='$CXXCPP $CPPFLAGS'
49836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49839
49840      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49841/* end confdefs.h.  */
49842#include <math.h>
49843int
49844main ()
49845{
49846 fmodf(0, 0);
49847  ;
49848  return 0;
49849}
49850_ACEOF
49851if ac_fn_cxx_try_compile "$LINENO"; then :
49852  glibcxx_cv_func_fmodf_use=yes
49853else
49854  glibcxx_cv_func_fmodf_use=no
49855fi
49856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49857      ac_ext=c
49858ac_cpp='$CPP $CPPFLAGS'
49859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49861ac_compiler_gnu=$ac_cv_c_compiler_gnu
49862
49863
49864fi
49865
49866  fi
49867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49868$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49869
49870  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49871    for ac_func in fmodf
49872do :
49873  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49874if test "x$ac_cv_func_fmodf" = xyes; then :
49875  cat >>confdefs.h <<_ACEOF
49876#define HAVE_FMODF 1
49877_ACEOF
49878
49879fi
49880done
49881
49882  else
49883
49884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49885$as_echo_n "checking for _fmodf declaration... " >&6; }
49886  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49887    if ${glibcxx_cv_func__fmodf_use+:} false; then :
49888  $as_echo_n "(cached) " >&6
49889else
49890
49891
49892      ac_ext=cpp
49893ac_cpp='$CXXCPP $CPPFLAGS'
49894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49897
49898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49899/* end confdefs.h.  */
49900#include <math.h>
49901int
49902main ()
49903{
49904 _fmodf(0, 0);
49905  ;
49906  return 0;
49907}
49908_ACEOF
49909if ac_fn_cxx_try_compile "$LINENO"; then :
49910  glibcxx_cv_func__fmodf_use=yes
49911else
49912  glibcxx_cv_func__fmodf_use=no
49913fi
49914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49915      ac_ext=c
49916ac_cpp='$CPP $CPPFLAGS'
49917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49919ac_compiler_gnu=$ac_cv_c_compiler_gnu
49920
49921
49922fi
49923
49924  fi
49925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49926$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49927
49928    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49929      for ac_func in _fmodf
49930do :
49931  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49932if test "x$ac_cv_func__fmodf" = xyes; then :
49933  cat >>confdefs.h <<_ACEOF
49934#define HAVE__FMODF 1
49935_ACEOF
49936
49937fi
49938done
49939
49940    fi
49941  fi
49942
49943
49944
49945
49946
49947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49948$as_echo_n "checking for frexpf declaration... " >&6; }
49949  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49950    if ${glibcxx_cv_func_frexpf_use+:} false; then :
49951  $as_echo_n "(cached) " >&6
49952else
49953
49954
49955      ac_ext=cpp
49956ac_cpp='$CXXCPP $CPPFLAGS'
49957ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49958ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49959ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49960
49961      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49962/* end confdefs.h.  */
49963#include <math.h>
49964int
49965main ()
49966{
49967 frexpf(0, 0);
49968  ;
49969  return 0;
49970}
49971_ACEOF
49972if ac_fn_cxx_try_compile "$LINENO"; then :
49973  glibcxx_cv_func_frexpf_use=yes
49974else
49975  glibcxx_cv_func_frexpf_use=no
49976fi
49977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49978      ac_ext=c
49979ac_cpp='$CPP $CPPFLAGS'
49980ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49981ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49982ac_compiler_gnu=$ac_cv_c_compiler_gnu
49983
49984
49985fi
49986
49987  fi
49988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49989$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49990
49991  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49992    for ac_func in frexpf
49993do :
49994  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49995if test "x$ac_cv_func_frexpf" = xyes; then :
49996  cat >>confdefs.h <<_ACEOF
49997#define HAVE_FREXPF 1
49998_ACEOF
49999
50000fi
50001done
50002
50003  else
50004
50005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50006$as_echo_n "checking for _frexpf declaration... " >&6; }
50007  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50008    if ${glibcxx_cv_func__frexpf_use+:} false; then :
50009  $as_echo_n "(cached) " >&6
50010else
50011
50012
50013      ac_ext=cpp
50014ac_cpp='$CXXCPP $CPPFLAGS'
50015ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50016ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50017ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50018
50019      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50020/* end confdefs.h.  */
50021#include <math.h>
50022int
50023main ()
50024{
50025 _frexpf(0, 0);
50026  ;
50027  return 0;
50028}
50029_ACEOF
50030if ac_fn_cxx_try_compile "$LINENO"; then :
50031  glibcxx_cv_func__frexpf_use=yes
50032else
50033  glibcxx_cv_func__frexpf_use=no
50034fi
50035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50036      ac_ext=c
50037ac_cpp='$CPP $CPPFLAGS'
50038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50040ac_compiler_gnu=$ac_cv_c_compiler_gnu
50041
50042
50043fi
50044
50045  fi
50046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50047$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50048
50049    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50050      for ac_func in _frexpf
50051do :
50052  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50053if test "x$ac_cv_func__frexpf" = xyes; then :
50054  cat >>confdefs.h <<_ACEOF
50055#define HAVE__FREXPF 1
50056_ACEOF
50057
50058fi
50059done
50060
50061    fi
50062  fi
50063
50064
50065
50066
50067
50068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50069$as_echo_n "checking for hypotf declaration... " >&6; }
50070  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50071    if ${glibcxx_cv_func_hypotf_use+:} false; then :
50072  $as_echo_n "(cached) " >&6
50073else
50074
50075
50076      ac_ext=cpp
50077ac_cpp='$CXXCPP $CPPFLAGS'
50078ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50079ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50080ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50081
50082      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50083/* end confdefs.h.  */
50084#include <math.h>
50085int
50086main ()
50087{
50088 hypotf(0, 0);
50089  ;
50090  return 0;
50091}
50092_ACEOF
50093if ac_fn_cxx_try_compile "$LINENO"; then :
50094  glibcxx_cv_func_hypotf_use=yes
50095else
50096  glibcxx_cv_func_hypotf_use=no
50097fi
50098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50099      ac_ext=c
50100ac_cpp='$CPP $CPPFLAGS'
50101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50103ac_compiler_gnu=$ac_cv_c_compiler_gnu
50104
50105
50106fi
50107
50108  fi
50109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50110$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50111
50112  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50113    for ac_func in hypotf
50114do :
50115  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50116if test "x$ac_cv_func_hypotf" = xyes; then :
50117  cat >>confdefs.h <<_ACEOF
50118#define HAVE_HYPOTF 1
50119_ACEOF
50120
50121fi
50122done
50123
50124  else
50125
50126  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50127$as_echo_n "checking for _hypotf declaration... " >&6; }
50128  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50129    if ${glibcxx_cv_func__hypotf_use+:} false; then :
50130  $as_echo_n "(cached) " >&6
50131else
50132
50133
50134      ac_ext=cpp
50135ac_cpp='$CXXCPP $CPPFLAGS'
50136ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50137ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50138ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50139
50140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50141/* end confdefs.h.  */
50142#include <math.h>
50143int
50144main ()
50145{
50146 _hypotf(0, 0);
50147  ;
50148  return 0;
50149}
50150_ACEOF
50151if ac_fn_cxx_try_compile "$LINENO"; then :
50152  glibcxx_cv_func__hypotf_use=yes
50153else
50154  glibcxx_cv_func__hypotf_use=no
50155fi
50156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50157      ac_ext=c
50158ac_cpp='$CPP $CPPFLAGS'
50159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161ac_compiler_gnu=$ac_cv_c_compiler_gnu
50162
50163
50164fi
50165
50166  fi
50167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50168$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50169
50170    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50171      for ac_func in _hypotf
50172do :
50173  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50174if test "x$ac_cv_func__hypotf" = xyes; then :
50175  cat >>confdefs.h <<_ACEOF
50176#define HAVE__HYPOTF 1
50177_ACEOF
50178
50179fi
50180done
50181
50182    fi
50183  fi
50184
50185
50186
50187
50188
50189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50190$as_echo_n "checking for ldexpf declaration... " >&6; }
50191  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50192    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50193  $as_echo_n "(cached) " >&6
50194else
50195
50196
50197      ac_ext=cpp
50198ac_cpp='$CXXCPP $CPPFLAGS'
50199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50202
50203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50204/* end confdefs.h.  */
50205#include <math.h>
50206int
50207main ()
50208{
50209 ldexpf(0, 0);
50210  ;
50211  return 0;
50212}
50213_ACEOF
50214if ac_fn_cxx_try_compile "$LINENO"; then :
50215  glibcxx_cv_func_ldexpf_use=yes
50216else
50217  glibcxx_cv_func_ldexpf_use=no
50218fi
50219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50220      ac_ext=c
50221ac_cpp='$CPP $CPPFLAGS'
50222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50224ac_compiler_gnu=$ac_cv_c_compiler_gnu
50225
50226
50227fi
50228
50229  fi
50230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50231$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50232
50233  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50234    for ac_func in ldexpf
50235do :
50236  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50237if test "x$ac_cv_func_ldexpf" = xyes; then :
50238  cat >>confdefs.h <<_ACEOF
50239#define HAVE_LDEXPF 1
50240_ACEOF
50241
50242fi
50243done
50244
50245  else
50246
50247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50248$as_echo_n "checking for _ldexpf declaration... " >&6; }
50249  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50250    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50251  $as_echo_n "(cached) " >&6
50252else
50253
50254
50255      ac_ext=cpp
50256ac_cpp='$CXXCPP $CPPFLAGS'
50257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50260
50261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50262/* end confdefs.h.  */
50263#include <math.h>
50264int
50265main ()
50266{
50267 _ldexpf(0, 0);
50268  ;
50269  return 0;
50270}
50271_ACEOF
50272if ac_fn_cxx_try_compile "$LINENO"; then :
50273  glibcxx_cv_func__ldexpf_use=yes
50274else
50275  glibcxx_cv_func__ldexpf_use=no
50276fi
50277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50278      ac_ext=c
50279ac_cpp='$CPP $CPPFLAGS'
50280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50282ac_compiler_gnu=$ac_cv_c_compiler_gnu
50283
50284
50285fi
50286
50287  fi
50288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50289$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50290
50291    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50292      for ac_func in _ldexpf
50293do :
50294  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50295if test "x$ac_cv_func__ldexpf" = xyes; then :
50296  cat >>confdefs.h <<_ACEOF
50297#define HAVE__LDEXPF 1
50298_ACEOF
50299
50300fi
50301done
50302
50303    fi
50304  fi
50305
50306
50307
50308
50309
50310  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50311$as_echo_n "checking for logf declaration... " >&6; }
50312  if test x${glibcxx_cv_func_logf_use+set} != xset; then
50313    if ${glibcxx_cv_func_logf_use+:} false; then :
50314  $as_echo_n "(cached) " >&6
50315else
50316
50317
50318      ac_ext=cpp
50319ac_cpp='$CXXCPP $CPPFLAGS'
50320ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50321ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50322ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50323
50324      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50325/* end confdefs.h.  */
50326#include <math.h>
50327		      #ifdef HAVE_IEEEFP_H
50328		      #include <ieeefp.h>
50329		      #endif
50330
50331int
50332main ()
50333{
50334 logf(0);
50335  ;
50336  return 0;
50337}
50338_ACEOF
50339if ac_fn_cxx_try_compile "$LINENO"; then :
50340  glibcxx_cv_func_logf_use=yes
50341else
50342  glibcxx_cv_func_logf_use=no
50343fi
50344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50345      ac_ext=c
50346ac_cpp='$CPP $CPPFLAGS'
50347ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50349ac_compiler_gnu=$ac_cv_c_compiler_gnu
50350
50351
50352fi
50353
50354  fi
50355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50356$as_echo "$glibcxx_cv_func_logf_use" >&6; }
50357
50358  if test x$glibcxx_cv_func_logf_use = x"yes"; then
50359    for ac_func in logf
50360do :
50361  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50362if test "x$ac_cv_func_logf" = xyes; then :
50363  cat >>confdefs.h <<_ACEOF
50364#define HAVE_LOGF 1
50365_ACEOF
50366
50367fi
50368done
50369
50370  else
50371
50372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50373$as_echo_n "checking for _logf declaration... " >&6; }
50374  if test x${glibcxx_cv_func__logf_use+set} != xset; then
50375    if ${glibcxx_cv_func__logf_use+:} false; then :
50376  $as_echo_n "(cached) " >&6
50377else
50378
50379
50380      ac_ext=cpp
50381ac_cpp='$CXXCPP $CPPFLAGS'
50382ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50383ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50384ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50385
50386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50387/* end confdefs.h.  */
50388#include <math.h>
50389		      #ifdef HAVE_IEEEFP_H
50390		      #include <ieeefp.h>
50391		      #endif
50392
50393int
50394main ()
50395{
50396 _logf(0);
50397  ;
50398  return 0;
50399}
50400_ACEOF
50401if ac_fn_cxx_try_compile "$LINENO"; then :
50402  glibcxx_cv_func__logf_use=yes
50403else
50404  glibcxx_cv_func__logf_use=no
50405fi
50406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50407      ac_ext=c
50408ac_cpp='$CPP $CPPFLAGS'
50409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50411ac_compiler_gnu=$ac_cv_c_compiler_gnu
50412
50413
50414fi
50415
50416  fi
50417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50418$as_echo "$glibcxx_cv_func__logf_use" >&6; }
50419
50420    if test x$glibcxx_cv_func__logf_use = x"yes"; then
50421      for ac_func in _logf
50422do :
50423  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50424if test "x$ac_cv_func__logf" = xyes; then :
50425  cat >>confdefs.h <<_ACEOF
50426#define HAVE__LOGF 1
50427_ACEOF
50428
50429fi
50430done
50431
50432    fi
50433  fi
50434
50435
50436
50437
50438
50439  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50440$as_echo_n "checking for log10f declaration... " >&6; }
50441  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50442    if ${glibcxx_cv_func_log10f_use+:} false; then :
50443  $as_echo_n "(cached) " >&6
50444else
50445
50446
50447      ac_ext=cpp
50448ac_cpp='$CXXCPP $CPPFLAGS'
50449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50452
50453      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50454/* end confdefs.h.  */
50455#include <math.h>
50456		      #ifdef HAVE_IEEEFP_H
50457		      #include <ieeefp.h>
50458		      #endif
50459
50460int
50461main ()
50462{
50463 log10f(0);
50464  ;
50465  return 0;
50466}
50467_ACEOF
50468if ac_fn_cxx_try_compile "$LINENO"; then :
50469  glibcxx_cv_func_log10f_use=yes
50470else
50471  glibcxx_cv_func_log10f_use=no
50472fi
50473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50474      ac_ext=c
50475ac_cpp='$CPP $CPPFLAGS'
50476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50478ac_compiler_gnu=$ac_cv_c_compiler_gnu
50479
50480
50481fi
50482
50483  fi
50484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50485$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50486
50487  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50488    for ac_func in log10f
50489do :
50490  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50491if test "x$ac_cv_func_log10f" = xyes; then :
50492  cat >>confdefs.h <<_ACEOF
50493#define HAVE_LOG10F 1
50494_ACEOF
50495
50496fi
50497done
50498
50499  else
50500
50501  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50502$as_echo_n "checking for _log10f declaration... " >&6; }
50503  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50504    if ${glibcxx_cv_func__log10f_use+:} false; then :
50505  $as_echo_n "(cached) " >&6
50506else
50507
50508
50509      ac_ext=cpp
50510ac_cpp='$CXXCPP $CPPFLAGS'
50511ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50512ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50513ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50514
50515      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50516/* end confdefs.h.  */
50517#include <math.h>
50518		      #ifdef HAVE_IEEEFP_H
50519		      #include <ieeefp.h>
50520		      #endif
50521
50522int
50523main ()
50524{
50525 _log10f(0);
50526  ;
50527  return 0;
50528}
50529_ACEOF
50530if ac_fn_cxx_try_compile "$LINENO"; then :
50531  glibcxx_cv_func__log10f_use=yes
50532else
50533  glibcxx_cv_func__log10f_use=no
50534fi
50535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50536      ac_ext=c
50537ac_cpp='$CPP $CPPFLAGS'
50538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50540ac_compiler_gnu=$ac_cv_c_compiler_gnu
50541
50542
50543fi
50544
50545  fi
50546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50547$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50548
50549    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50550      for ac_func in _log10f
50551do :
50552  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50553if test "x$ac_cv_func__log10f" = xyes; then :
50554  cat >>confdefs.h <<_ACEOF
50555#define HAVE__LOG10F 1
50556_ACEOF
50557
50558fi
50559done
50560
50561    fi
50562  fi
50563
50564
50565
50566
50567
50568  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50569$as_echo_n "checking for modff declaration... " >&6; }
50570  if test x${glibcxx_cv_func_modff_use+set} != xset; then
50571    if ${glibcxx_cv_func_modff_use+:} false; then :
50572  $as_echo_n "(cached) " >&6
50573else
50574
50575
50576      ac_ext=cpp
50577ac_cpp='$CXXCPP $CPPFLAGS'
50578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50581
50582      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50583/* end confdefs.h.  */
50584#include <math.h>
50585int
50586main ()
50587{
50588 modff(0, 0);
50589  ;
50590  return 0;
50591}
50592_ACEOF
50593if ac_fn_cxx_try_compile "$LINENO"; then :
50594  glibcxx_cv_func_modff_use=yes
50595else
50596  glibcxx_cv_func_modff_use=no
50597fi
50598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50599      ac_ext=c
50600ac_cpp='$CPP $CPPFLAGS'
50601ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50602ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50603ac_compiler_gnu=$ac_cv_c_compiler_gnu
50604
50605
50606fi
50607
50608  fi
50609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50610$as_echo "$glibcxx_cv_func_modff_use" >&6; }
50611
50612  if test x$glibcxx_cv_func_modff_use = x"yes"; then
50613    for ac_func in modff
50614do :
50615  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50616if test "x$ac_cv_func_modff" = xyes; then :
50617  cat >>confdefs.h <<_ACEOF
50618#define HAVE_MODFF 1
50619_ACEOF
50620
50621fi
50622done
50623
50624  else
50625
50626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50627$as_echo_n "checking for _modff declaration... " >&6; }
50628  if test x${glibcxx_cv_func__modff_use+set} != xset; then
50629    if ${glibcxx_cv_func__modff_use+:} false; then :
50630  $as_echo_n "(cached) " >&6
50631else
50632
50633
50634      ac_ext=cpp
50635ac_cpp='$CXXCPP $CPPFLAGS'
50636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50639
50640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50641/* end confdefs.h.  */
50642#include <math.h>
50643int
50644main ()
50645{
50646 _modff(0, 0);
50647  ;
50648  return 0;
50649}
50650_ACEOF
50651if ac_fn_cxx_try_compile "$LINENO"; then :
50652  glibcxx_cv_func__modff_use=yes
50653else
50654  glibcxx_cv_func__modff_use=no
50655fi
50656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50657      ac_ext=c
50658ac_cpp='$CPP $CPPFLAGS'
50659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50661ac_compiler_gnu=$ac_cv_c_compiler_gnu
50662
50663
50664fi
50665
50666  fi
50667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50668$as_echo "$glibcxx_cv_func__modff_use" >&6; }
50669
50670    if test x$glibcxx_cv_func__modff_use = x"yes"; then
50671      for ac_func in _modff
50672do :
50673  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50674if test "x$ac_cv_func__modff" = xyes; then :
50675  cat >>confdefs.h <<_ACEOF
50676#define HAVE__MODFF 1
50677_ACEOF
50678
50679fi
50680done
50681
50682    fi
50683  fi
50684
50685
50686
50687
50688
50689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50690$as_echo_n "checking for modf declaration... " >&6; }
50691  if test x${glibcxx_cv_func_modf_use+set} != xset; then
50692    if ${glibcxx_cv_func_modf_use+:} false; then :
50693  $as_echo_n "(cached) " >&6
50694else
50695
50696
50697      ac_ext=cpp
50698ac_cpp='$CXXCPP $CPPFLAGS'
50699ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50700ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50701ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50702
50703      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50704/* end confdefs.h.  */
50705#include <math.h>
50706int
50707main ()
50708{
50709 modf(0, 0);
50710  ;
50711  return 0;
50712}
50713_ACEOF
50714if ac_fn_cxx_try_compile "$LINENO"; then :
50715  glibcxx_cv_func_modf_use=yes
50716else
50717  glibcxx_cv_func_modf_use=no
50718fi
50719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50720      ac_ext=c
50721ac_cpp='$CPP $CPPFLAGS'
50722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50724ac_compiler_gnu=$ac_cv_c_compiler_gnu
50725
50726
50727fi
50728
50729  fi
50730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50731$as_echo "$glibcxx_cv_func_modf_use" >&6; }
50732
50733  if test x$glibcxx_cv_func_modf_use = x"yes"; then
50734    for ac_func in modf
50735do :
50736  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50737if test "x$ac_cv_func_modf" = xyes; then :
50738  cat >>confdefs.h <<_ACEOF
50739#define HAVE_MODF 1
50740_ACEOF
50741
50742fi
50743done
50744
50745  else
50746
50747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50748$as_echo_n "checking for _modf declaration... " >&6; }
50749  if test x${glibcxx_cv_func__modf_use+set} != xset; then
50750    if ${glibcxx_cv_func__modf_use+:} false; then :
50751  $as_echo_n "(cached) " >&6
50752else
50753
50754
50755      ac_ext=cpp
50756ac_cpp='$CXXCPP $CPPFLAGS'
50757ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50758ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50759ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50760
50761      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50762/* end confdefs.h.  */
50763#include <math.h>
50764int
50765main ()
50766{
50767 _modf(0, 0);
50768  ;
50769  return 0;
50770}
50771_ACEOF
50772if ac_fn_cxx_try_compile "$LINENO"; then :
50773  glibcxx_cv_func__modf_use=yes
50774else
50775  glibcxx_cv_func__modf_use=no
50776fi
50777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50778      ac_ext=c
50779ac_cpp='$CPP $CPPFLAGS'
50780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50782ac_compiler_gnu=$ac_cv_c_compiler_gnu
50783
50784
50785fi
50786
50787  fi
50788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50789$as_echo "$glibcxx_cv_func__modf_use" >&6; }
50790
50791    if test x$glibcxx_cv_func__modf_use = x"yes"; then
50792      for ac_func in _modf
50793do :
50794  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50795if test "x$ac_cv_func__modf" = xyes; then :
50796  cat >>confdefs.h <<_ACEOF
50797#define HAVE__MODF 1
50798_ACEOF
50799
50800fi
50801done
50802
50803    fi
50804  fi
50805
50806
50807
50808
50809
50810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50811$as_echo_n "checking for powf declaration... " >&6; }
50812  if test x${glibcxx_cv_func_powf_use+set} != xset; then
50813    if ${glibcxx_cv_func_powf_use+:} false; then :
50814  $as_echo_n "(cached) " >&6
50815else
50816
50817
50818      ac_ext=cpp
50819ac_cpp='$CXXCPP $CPPFLAGS'
50820ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50821ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50822ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50823
50824      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50825/* end confdefs.h.  */
50826#include <math.h>
50827int
50828main ()
50829{
50830 powf(0, 0);
50831  ;
50832  return 0;
50833}
50834_ACEOF
50835if ac_fn_cxx_try_compile "$LINENO"; then :
50836  glibcxx_cv_func_powf_use=yes
50837else
50838  glibcxx_cv_func_powf_use=no
50839fi
50840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50841      ac_ext=c
50842ac_cpp='$CPP $CPPFLAGS'
50843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50845ac_compiler_gnu=$ac_cv_c_compiler_gnu
50846
50847
50848fi
50849
50850  fi
50851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50852$as_echo "$glibcxx_cv_func_powf_use" >&6; }
50853
50854  if test x$glibcxx_cv_func_powf_use = x"yes"; then
50855    for ac_func in powf
50856do :
50857  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50858if test "x$ac_cv_func_powf" = xyes; then :
50859  cat >>confdefs.h <<_ACEOF
50860#define HAVE_POWF 1
50861_ACEOF
50862
50863fi
50864done
50865
50866  else
50867
50868  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50869$as_echo_n "checking for _powf declaration... " >&6; }
50870  if test x${glibcxx_cv_func__powf_use+set} != xset; then
50871    if ${glibcxx_cv_func__powf_use+:} false; then :
50872  $as_echo_n "(cached) " >&6
50873else
50874
50875
50876      ac_ext=cpp
50877ac_cpp='$CXXCPP $CPPFLAGS'
50878ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50879ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50880ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50881
50882      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50883/* end confdefs.h.  */
50884#include <math.h>
50885int
50886main ()
50887{
50888 _powf(0, 0);
50889  ;
50890  return 0;
50891}
50892_ACEOF
50893if ac_fn_cxx_try_compile "$LINENO"; then :
50894  glibcxx_cv_func__powf_use=yes
50895else
50896  glibcxx_cv_func__powf_use=no
50897fi
50898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50899      ac_ext=c
50900ac_cpp='$CPP $CPPFLAGS'
50901ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50902ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50903ac_compiler_gnu=$ac_cv_c_compiler_gnu
50904
50905
50906fi
50907
50908  fi
50909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50910$as_echo "$glibcxx_cv_func__powf_use" >&6; }
50911
50912    if test x$glibcxx_cv_func__powf_use = x"yes"; then
50913      for ac_func in _powf
50914do :
50915  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50916if test "x$ac_cv_func__powf" = xyes; then :
50917  cat >>confdefs.h <<_ACEOF
50918#define HAVE__POWF 1
50919_ACEOF
50920
50921fi
50922done
50923
50924    fi
50925  fi
50926
50927
50928
50929
50930
50931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50932$as_echo_n "checking for sqrtf declaration... " >&6; }
50933  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50934    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50935  $as_echo_n "(cached) " >&6
50936else
50937
50938
50939      ac_ext=cpp
50940ac_cpp='$CXXCPP $CPPFLAGS'
50941ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50942ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50943ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50944
50945      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50946/* end confdefs.h.  */
50947#include <math.h>
50948		      #ifdef HAVE_IEEEFP_H
50949		      #include <ieeefp.h>
50950		      #endif
50951
50952int
50953main ()
50954{
50955 sqrtf(0);
50956  ;
50957  return 0;
50958}
50959_ACEOF
50960if ac_fn_cxx_try_compile "$LINENO"; then :
50961  glibcxx_cv_func_sqrtf_use=yes
50962else
50963  glibcxx_cv_func_sqrtf_use=no
50964fi
50965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50966      ac_ext=c
50967ac_cpp='$CPP $CPPFLAGS'
50968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50970ac_compiler_gnu=$ac_cv_c_compiler_gnu
50971
50972
50973fi
50974
50975  fi
50976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50977$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50978
50979  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50980    for ac_func in sqrtf
50981do :
50982  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50983if test "x$ac_cv_func_sqrtf" = xyes; then :
50984  cat >>confdefs.h <<_ACEOF
50985#define HAVE_SQRTF 1
50986_ACEOF
50987
50988fi
50989done
50990
50991  else
50992
50993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50994$as_echo_n "checking for _sqrtf declaration... " >&6; }
50995  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50996    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50997  $as_echo_n "(cached) " >&6
50998else
50999
51000
51001      ac_ext=cpp
51002ac_cpp='$CXXCPP $CPPFLAGS'
51003ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51004ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51005ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51006
51007      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51008/* end confdefs.h.  */
51009#include <math.h>
51010		      #ifdef HAVE_IEEEFP_H
51011		      #include <ieeefp.h>
51012		      #endif
51013
51014int
51015main ()
51016{
51017 _sqrtf(0);
51018  ;
51019  return 0;
51020}
51021_ACEOF
51022if ac_fn_cxx_try_compile "$LINENO"; then :
51023  glibcxx_cv_func__sqrtf_use=yes
51024else
51025  glibcxx_cv_func__sqrtf_use=no
51026fi
51027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51028      ac_ext=c
51029ac_cpp='$CPP $CPPFLAGS'
51030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51032ac_compiler_gnu=$ac_cv_c_compiler_gnu
51033
51034
51035fi
51036
51037  fi
51038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51039$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51040
51041    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51042      for ac_func in _sqrtf
51043do :
51044  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51045if test "x$ac_cv_func__sqrtf" = xyes; then :
51046  cat >>confdefs.h <<_ACEOF
51047#define HAVE__SQRTF 1
51048_ACEOF
51049
51050fi
51051done
51052
51053    fi
51054  fi
51055
51056
51057
51058
51059
51060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51061$as_echo_n "checking for sincosf declaration... " >&6; }
51062  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51063    if ${glibcxx_cv_func_sincosf_use+:} false; then :
51064  $as_echo_n "(cached) " >&6
51065else
51066
51067
51068      ac_ext=cpp
51069ac_cpp='$CXXCPP $CPPFLAGS'
51070ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51071ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51072ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51073
51074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51075/* end confdefs.h.  */
51076#include <math.h>
51077int
51078main ()
51079{
51080 sincosf(0, 0, 0);
51081  ;
51082  return 0;
51083}
51084_ACEOF
51085if ac_fn_cxx_try_compile "$LINENO"; then :
51086  glibcxx_cv_func_sincosf_use=yes
51087else
51088  glibcxx_cv_func_sincosf_use=no
51089fi
51090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51091      ac_ext=c
51092ac_cpp='$CPP $CPPFLAGS'
51093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51095ac_compiler_gnu=$ac_cv_c_compiler_gnu
51096
51097
51098fi
51099
51100  fi
51101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51102$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51103
51104  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51105    for ac_func in sincosf
51106do :
51107  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51108if test "x$ac_cv_func_sincosf" = xyes; then :
51109  cat >>confdefs.h <<_ACEOF
51110#define HAVE_SINCOSF 1
51111_ACEOF
51112
51113fi
51114done
51115
51116  else
51117
51118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51119$as_echo_n "checking for _sincosf declaration... " >&6; }
51120  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51121    if ${glibcxx_cv_func__sincosf_use+:} false; then :
51122  $as_echo_n "(cached) " >&6
51123else
51124
51125
51126      ac_ext=cpp
51127ac_cpp='$CXXCPP $CPPFLAGS'
51128ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51129ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51130ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51131
51132      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51133/* end confdefs.h.  */
51134#include <math.h>
51135int
51136main ()
51137{
51138 _sincosf(0, 0, 0);
51139  ;
51140  return 0;
51141}
51142_ACEOF
51143if ac_fn_cxx_try_compile "$LINENO"; then :
51144  glibcxx_cv_func__sincosf_use=yes
51145else
51146  glibcxx_cv_func__sincosf_use=no
51147fi
51148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51149      ac_ext=c
51150ac_cpp='$CPP $CPPFLAGS'
51151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51153ac_compiler_gnu=$ac_cv_c_compiler_gnu
51154
51155
51156fi
51157
51158  fi
51159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51160$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51161
51162    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51163      for ac_func in _sincosf
51164do :
51165  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51166if test "x$ac_cv_func__sincosf" = xyes; then :
51167  cat >>confdefs.h <<_ACEOF
51168#define HAVE__SINCOSF 1
51169_ACEOF
51170
51171fi
51172done
51173
51174    fi
51175  fi
51176
51177
51178
51179
51180
51181  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51182$as_echo_n "checking for finitef declaration... " >&6; }
51183  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51184    if ${glibcxx_cv_func_finitef_use+:} false; then :
51185  $as_echo_n "(cached) " >&6
51186else
51187
51188
51189      ac_ext=cpp
51190ac_cpp='$CXXCPP $CPPFLAGS'
51191ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51192ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51193ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51194
51195      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51196/* end confdefs.h.  */
51197#include <math.h>
51198		      #ifdef HAVE_IEEEFP_H
51199		      #include <ieeefp.h>
51200		      #endif
51201
51202int
51203main ()
51204{
51205 finitef(0);
51206  ;
51207  return 0;
51208}
51209_ACEOF
51210if ac_fn_cxx_try_compile "$LINENO"; then :
51211  glibcxx_cv_func_finitef_use=yes
51212else
51213  glibcxx_cv_func_finitef_use=no
51214fi
51215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51216      ac_ext=c
51217ac_cpp='$CPP $CPPFLAGS'
51218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51220ac_compiler_gnu=$ac_cv_c_compiler_gnu
51221
51222
51223fi
51224
51225  fi
51226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51227$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51228
51229  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51230    for ac_func in finitef
51231do :
51232  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51233if test "x$ac_cv_func_finitef" = xyes; then :
51234  cat >>confdefs.h <<_ACEOF
51235#define HAVE_FINITEF 1
51236_ACEOF
51237
51238fi
51239done
51240
51241  else
51242
51243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51244$as_echo_n "checking for _finitef declaration... " >&6; }
51245  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51246    if ${glibcxx_cv_func__finitef_use+:} false; then :
51247  $as_echo_n "(cached) " >&6
51248else
51249
51250
51251      ac_ext=cpp
51252ac_cpp='$CXXCPP $CPPFLAGS'
51253ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51254ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51255ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51256
51257      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51258/* end confdefs.h.  */
51259#include <math.h>
51260		      #ifdef HAVE_IEEEFP_H
51261		      #include <ieeefp.h>
51262		      #endif
51263
51264int
51265main ()
51266{
51267 _finitef(0);
51268  ;
51269  return 0;
51270}
51271_ACEOF
51272if ac_fn_cxx_try_compile "$LINENO"; then :
51273  glibcxx_cv_func__finitef_use=yes
51274else
51275  glibcxx_cv_func__finitef_use=no
51276fi
51277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51278      ac_ext=c
51279ac_cpp='$CPP $CPPFLAGS'
51280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51282ac_compiler_gnu=$ac_cv_c_compiler_gnu
51283
51284
51285fi
51286
51287  fi
51288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51289$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51290
51291    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51292      for ac_func in _finitef
51293do :
51294  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51295if test "x$ac_cv_func__finitef" = xyes; then :
51296  cat >>confdefs.h <<_ACEOF
51297#define HAVE__FINITEF 1
51298_ACEOF
51299
51300fi
51301done
51302
51303    fi
51304  fi
51305
51306
51307
51308
51309
51310    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51311$as_echo_n "checking for long double trig functions... " >&6; }
51312  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51313  $as_echo_n "(cached) " >&6
51314else
51315
51316
51317    ac_ext=cpp
51318ac_cpp='$CXXCPP $CPPFLAGS'
51319ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51320ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51321ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51322
51323    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51324/* end confdefs.h.  */
51325#include <math.h>
51326int
51327main ()
51328{
51329acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51330  ;
51331  return 0;
51332}
51333_ACEOF
51334if ac_fn_cxx_try_compile "$LINENO"; then :
51335  glibcxx_cv_func_long_double_trig_use=yes
51336else
51337  glibcxx_cv_func_long_double_trig_use=no
51338fi
51339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51340    ac_ext=c
51341ac_cpp='$CPP $CPPFLAGS'
51342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51344ac_compiler_gnu=$ac_cv_c_compiler_gnu
51345
51346fi
51347
51348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51349$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51350  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51351    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51352do :
51353  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51354ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51355if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51356  cat >>confdefs.h <<_ACEOF
51357#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51358_ACEOF
51359
51360fi
51361done
51362
51363  else
51364    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51365$as_echo_n "checking for _long double trig functions... " >&6; }
51366    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51367  $as_echo_n "(cached) " >&6
51368else
51369
51370
51371      ac_ext=cpp
51372ac_cpp='$CXXCPP $CPPFLAGS'
51373ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51374ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51375ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51376
51377      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51378/* end confdefs.h.  */
51379#include <math.h>
51380int
51381main ()
51382{
51383_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51384  ;
51385  return 0;
51386}
51387_ACEOF
51388if ac_fn_cxx_try_compile "$LINENO"; then :
51389  glibcxx_cv_func__long_double_trig_use=yes
51390else
51391  glibcxx_cv_func__long_double_trig_use=no
51392fi
51393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51394      ac_ext=c
51395ac_cpp='$CPP $CPPFLAGS'
51396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51398ac_compiler_gnu=$ac_cv_c_compiler_gnu
51399
51400fi
51401
51402    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51403$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51404    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51405      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51406do :
51407  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51408ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51409if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51410  cat >>confdefs.h <<_ACEOF
51411#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51412_ACEOF
51413
51414fi
51415done
51416
51417    fi
51418  fi
51419
51420
51421
51422
51423
51424    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51425$as_echo_n "checking for long double round functions... " >&6; }
51426  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51427  $as_echo_n "(cached) " >&6
51428else
51429
51430
51431    ac_ext=cpp
51432ac_cpp='$CXXCPP $CPPFLAGS'
51433ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51434ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51435ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51436
51437    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51438/* end confdefs.h.  */
51439#include <math.h>
51440int
51441main ()
51442{
51443ceill (0); floorl (0);
51444  ;
51445  return 0;
51446}
51447_ACEOF
51448if ac_fn_cxx_try_compile "$LINENO"; then :
51449  glibcxx_cv_func_long_double_round_use=yes
51450else
51451  glibcxx_cv_func_long_double_round_use=no
51452fi
51453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51454    ac_ext=c
51455ac_cpp='$CPP $CPPFLAGS'
51456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51458ac_compiler_gnu=$ac_cv_c_compiler_gnu
51459
51460fi
51461
51462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51463$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51464  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51465    for ac_func in ceill floorl
51466do :
51467  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51468ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51469if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51470  cat >>confdefs.h <<_ACEOF
51471#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51472_ACEOF
51473
51474fi
51475done
51476
51477  else
51478    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51479$as_echo_n "checking for _long double round functions... " >&6; }
51480    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51481  $as_echo_n "(cached) " >&6
51482else
51483
51484
51485      ac_ext=cpp
51486ac_cpp='$CXXCPP $CPPFLAGS'
51487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51490
51491      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51492/* end confdefs.h.  */
51493#include <math.h>
51494int
51495main ()
51496{
51497_ceill (0); _floorl (0);
51498  ;
51499  return 0;
51500}
51501_ACEOF
51502if ac_fn_cxx_try_compile "$LINENO"; then :
51503  glibcxx_cv_func__long_double_round_use=yes
51504else
51505  glibcxx_cv_func__long_double_round_use=no
51506fi
51507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51508      ac_ext=c
51509ac_cpp='$CPP $CPPFLAGS'
51510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512ac_compiler_gnu=$ac_cv_c_compiler_gnu
51513
51514fi
51515
51516    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51517$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51518    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51519      for ac_func in _ceill _floorl
51520do :
51521  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51522ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51523if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51524  cat >>confdefs.h <<_ACEOF
51525#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51526_ACEOF
51527
51528fi
51529done
51530
51531    fi
51532  fi
51533
51534
51535
51536
51537
51538
51539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51540$as_echo_n "checking for isnanl declaration... " >&6; }
51541  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51542    if ${glibcxx_cv_func_isnanl_use+:} false; then :
51543  $as_echo_n "(cached) " >&6
51544else
51545
51546
51547      ac_ext=cpp
51548ac_cpp='$CXXCPP $CPPFLAGS'
51549ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51550ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51551ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51552
51553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51554/* end confdefs.h.  */
51555#include <math.h>
51556		      #ifdef HAVE_IEEEFP_H
51557		      #include <ieeefp.h>
51558		      #endif
51559
51560int
51561main ()
51562{
51563 isnanl(0);
51564  ;
51565  return 0;
51566}
51567_ACEOF
51568if ac_fn_cxx_try_compile "$LINENO"; then :
51569  glibcxx_cv_func_isnanl_use=yes
51570else
51571  glibcxx_cv_func_isnanl_use=no
51572fi
51573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51574      ac_ext=c
51575ac_cpp='$CPP $CPPFLAGS'
51576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51578ac_compiler_gnu=$ac_cv_c_compiler_gnu
51579
51580
51581fi
51582
51583  fi
51584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51585$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51586
51587  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51588    for ac_func in isnanl
51589do :
51590  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51591if test "x$ac_cv_func_isnanl" = xyes; then :
51592  cat >>confdefs.h <<_ACEOF
51593#define HAVE_ISNANL 1
51594_ACEOF
51595
51596fi
51597done
51598
51599  else
51600
51601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51602$as_echo_n "checking for _isnanl declaration... " >&6; }
51603  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51604    if ${glibcxx_cv_func__isnanl_use+:} false; then :
51605  $as_echo_n "(cached) " >&6
51606else
51607
51608
51609      ac_ext=cpp
51610ac_cpp='$CXXCPP $CPPFLAGS'
51611ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51612ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51613ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51614
51615      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51616/* end confdefs.h.  */
51617#include <math.h>
51618		      #ifdef HAVE_IEEEFP_H
51619		      #include <ieeefp.h>
51620		      #endif
51621
51622int
51623main ()
51624{
51625 _isnanl(0);
51626  ;
51627  return 0;
51628}
51629_ACEOF
51630if ac_fn_cxx_try_compile "$LINENO"; then :
51631  glibcxx_cv_func__isnanl_use=yes
51632else
51633  glibcxx_cv_func__isnanl_use=no
51634fi
51635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51636      ac_ext=c
51637ac_cpp='$CPP $CPPFLAGS'
51638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51640ac_compiler_gnu=$ac_cv_c_compiler_gnu
51641
51642
51643fi
51644
51645  fi
51646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51647$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51648
51649    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51650      for ac_func in _isnanl
51651do :
51652  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51653if test "x$ac_cv_func__isnanl" = xyes; then :
51654  cat >>confdefs.h <<_ACEOF
51655#define HAVE__ISNANL 1
51656_ACEOF
51657
51658fi
51659done
51660
51661    fi
51662  fi
51663
51664
51665
51666
51667
51668  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51669$as_echo_n "checking for isinfl declaration... " >&6; }
51670  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51671    if ${glibcxx_cv_func_isinfl_use+:} false; then :
51672  $as_echo_n "(cached) " >&6
51673else
51674
51675
51676      ac_ext=cpp
51677ac_cpp='$CXXCPP $CPPFLAGS'
51678ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51679ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51680ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51681
51682      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51683/* end confdefs.h.  */
51684#include <math.h>
51685		      #ifdef HAVE_IEEEFP_H
51686		      #include <ieeefp.h>
51687		      #endif
51688
51689int
51690main ()
51691{
51692 isinfl(0);
51693  ;
51694  return 0;
51695}
51696_ACEOF
51697if ac_fn_cxx_try_compile "$LINENO"; then :
51698  glibcxx_cv_func_isinfl_use=yes
51699else
51700  glibcxx_cv_func_isinfl_use=no
51701fi
51702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51703      ac_ext=c
51704ac_cpp='$CPP $CPPFLAGS'
51705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51707ac_compiler_gnu=$ac_cv_c_compiler_gnu
51708
51709
51710fi
51711
51712  fi
51713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51714$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51715
51716  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51717    for ac_func in isinfl
51718do :
51719  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51720if test "x$ac_cv_func_isinfl" = xyes; then :
51721  cat >>confdefs.h <<_ACEOF
51722#define HAVE_ISINFL 1
51723_ACEOF
51724
51725fi
51726done
51727
51728  else
51729
51730  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51731$as_echo_n "checking for _isinfl declaration... " >&6; }
51732  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51733    if ${glibcxx_cv_func__isinfl_use+:} false; then :
51734  $as_echo_n "(cached) " >&6
51735else
51736
51737
51738      ac_ext=cpp
51739ac_cpp='$CXXCPP $CPPFLAGS'
51740ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51741ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51742ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51743
51744      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51745/* end confdefs.h.  */
51746#include <math.h>
51747		      #ifdef HAVE_IEEEFP_H
51748		      #include <ieeefp.h>
51749		      #endif
51750
51751int
51752main ()
51753{
51754 _isinfl(0);
51755  ;
51756  return 0;
51757}
51758_ACEOF
51759if ac_fn_cxx_try_compile "$LINENO"; then :
51760  glibcxx_cv_func__isinfl_use=yes
51761else
51762  glibcxx_cv_func__isinfl_use=no
51763fi
51764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51765      ac_ext=c
51766ac_cpp='$CPP $CPPFLAGS'
51767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51769ac_compiler_gnu=$ac_cv_c_compiler_gnu
51770
51771
51772fi
51773
51774  fi
51775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51776$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51777
51778    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51779      for ac_func in _isinfl
51780do :
51781  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51782if test "x$ac_cv_func__isinfl" = xyes; then :
51783  cat >>confdefs.h <<_ACEOF
51784#define HAVE__ISINFL 1
51785_ACEOF
51786
51787fi
51788done
51789
51790    fi
51791  fi
51792
51793
51794
51795
51796
51797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51798$as_echo_n "checking for atan2l declaration... " >&6; }
51799  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51800    if ${glibcxx_cv_func_atan2l_use+:} false; then :
51801  $as_echo_n "(cached) " >&6
51802else
51803
51804
51805      ac_ext=cpp
51806ac_cpp='$CXXCPP $CPPFLAGS'
51807ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51808ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51809ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51810
51811      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51812/* end confdefs.h.  */
51813#include <math.h>
51814int
51815main ()
51816{
51817 atan2l(0, 0);
51818  ;
51819  return 0;
51820}
51821_ACEOF
51822if ac_fn_cxx_try_compile "$LINENO"; then :
51823  glibcxx_cv_func_atan2l_use=yes
51824else
51825  glibcxx_cv_func_atan2l_use=no
51826fi
51827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51828      ac_ext=c
51829ac_cpp='$CPP $CPPFLAGS'
51830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51832ac_compiler_gnu=$ac_cv_c_compiler_gnu
51833
51834
51835fi
51836
51837  fi
51838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51839$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51840
51841  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51842    for ac_func in atan2l
51843do :
51844  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51845if test "x$ac_cv_func_atan2l" = xyes; then :
51846  cat >>confdefs.h <<_ACEOF
51847#define HAVE_ATAN2L 1
51848_ACEOF
51849
51850fi
51851done
51852
51853  else
51854
51855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51856$as_echo_n "checking for _atan2l declaration... " >&6; }
51857  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51858    if ${glibcxx_cv_func__atan2l_use+:} false; then :
51859  $as_echo_n "(cached) " >&6
51860else
51861
51862
51863      ac_ext=cpp
51864ac_cpp='$CXXCPP $CPPFLAGS'
51865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51868
51869      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51870/* end confdefs.h.  */
51871#include <math.h>
51872int
51873main ()
51874{
51875 _atan2l(0, 0);
51876  ;
51877  return 0;
51878}
51879_ACEOF
51880if ac_fn_cxx_try_compile "$LINENO"; then :
51881  glibcxx_cv_func__atan2l_use=yes
51882else
51883  glibcxx_cv_func__atan2l_use=no
51884fi
51885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51886      ac_ext=c
51887ac_cpp='$CPP $CPPFLAGS'
51888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51890ac_compiler_gnu=$ac_cv_c_compiler_gnu
51891
51892
51893fi
51894
51895  fi
51896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51897$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51898
51899    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51900      for ac_func in _atan2l
51901do :
51902  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51903if test "x$ac_cv_func__atan2l" = xyes; then :
51904  cat >>confdefs.h <<_ACEOF
51905#define HAVE__ATAN2L 1
51906_ACEOF
51907
51908fi
51909done
51910
51911    fi
51912  fi
51913
51914
51915
51916
51917
51918  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51919$as_echo_n "checking for expl declaration... " >&6; }
51920  if test x${glibcxx_cv_func_expl_use+set} != xset; then
51921    if ${glibcxx_cv_func_expl_use+:} false; then :
51922  $as_echo_n "(cached) " >&6
51923else
51924
51925
51926      ac_ext=cpp
51927ac_cpp='$CXXCPP $CPPFLAGS'
51928ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51929ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51930ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51931
51932      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51933/* end confdefs.h.  */
51934#include <math.h>
51935		      #ifdef HAVE_IEEEFP_H
51936		      #include <ieeefp.h>
51937		      #endif
51938
51939int
51940main ()
51941{
51942 expl(0);
51943  ;
51944  return 0;
51945}
51946_ACEOF
51947if ac_fn_cxx_try_compile "$LINENO"; then :
51948  glibcxx_cv_func_expl_use=yes
51949else
51950  glibcxx_cv_func_expl_use=no
51951fi
51952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51953      ac_ext=c
51954ac_cpp='$CPP $CPPFLAGS'
51955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51957ac_compiler_gnu=$ac_cv_c_compiler_gnu
51958
51959
51960fi
51961
51962  fi
51963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51964$as_echo "$glibcxx_cv_func_expl_use" >&6; }
51965
51966  if test x$glibcxx_cv_func_expl_use = x"yes"; then
51967    for ac_func in expl
51968do :
51969  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51970if test "x$ac_cv_func_expl" = xyes; then :
51971  cat >>confdefs.h <<_ACEOF
51972#define HAVE_EXPL 1
51973_ACEOF
51974
51975fi
51976done
51977
51978  else
51979
51980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51981$as_echo_n "checking for _expl declaration... " >&6; }
51982  if test x${glibcxx_cv_func__expl_use+set} != xset; then
51983    if ${glibcxx_cv_func__expl_use+:} false; then :
51984  $as_echo_n "(cached) " >&6
51985else
51986
51987
51988      ac_ext=cpp
51989ac_cpp='$CXXCPP $CPPFLAGS'
51990ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51991ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51992ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51993
51994      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51995/* end confdefs.h.  */
51996#include <math.h>
51997		      #ifdef HAVE_IEEEFP_H
51998		      #include <ieeefp.h>
51999		      #endif
52000
52001int
52002main ()
52003{
52004 _expl(0);
52005  ;
52006  return 0;
52007}
52008_ACEOF
52009if ac_fn_cxx_try_compile "$LINENO"; then :
52010  glibcxx_cv_func__expl_use=yes
52011else
52012  glibcxx_cv_func__expl_use=no
52013fi
52014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52015      ac_ext=c
52016ac_cpp='$CPP $CPPFLAGS'
52017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52019ac_compiler_gnu=$ac_cv_c_compiler_gnu
52020
52021
52022fi
52023
52024  fi
52025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52026$as_echo "$glibcxx_cv_func__expl_use" >&6; }
52027
52028    if test x$glibcxx_cv_func__expl_use = x"yes"; then
52029      for ac_func in _expl
52030do :
52031  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52032if test "x$ac_cv_func__expl" = xyes; then :
52033  cat >>confdefs.h <<_ACEOF
52034#define HAVE__EXPL 1
52035_ACEOF
52036
52037fi
52038done
52039
52040    fi
52041  fi
52042
52043
52044
52045
52046
52047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52048$as_echo_n "checking for fabsl declaration... " >&6; }
52049  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52050    if ${glibcxx_cv_func_fabsl_use+:} false; then :
52051  $as_echo_n "(cached) " >&6
52052else
52053
52054
52055      ac_ext=cpp
52056ac_cpp='$CXXCPP $CPPFLAGS'
52057ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52058ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52059ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52060
52061      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52062/* end confdefs.h.  */
52063#include <math.h>
52064		      #ifdef HAVE_IEEEFP_H
52065		      #include <ieeefp.h>
52066		      #endif
52067
52068int
52069main ()
52070{
52071 fabsl(0);
52072  ;
52073  return 0;
52074}
52075_ACEOF
52076if ac_fn_cxx_try_compile "$LINENO"; then :
52077  glibcxx_cv_func_fabsl_use=yes
52078else
52079  glibcxx_cv_func_fabsl_use=no
52080fi
52081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52082      ac_ext=c
52083ac_cpp='$CPP $CPPFLAGS'
52084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52086ac_compiler_gnu=$ac_cv_c_compiler_gnu
52087
52088
52089fi
52090
52091  fi
52092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52093$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52094
52095  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52096    for ac_func in fabsl
52097do :
52098  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52099if test "x$ac_cv_func_fabsl" = xyes; then :
52100  cat >>confdefs.h <<_ACEOF
52101#define HAVE_FABSL 1
52102_ACEOF
52103
52104fi
52105done
52106
52107  else
52108
52109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52110$as_echo_n "checking for _fabsl declaration... " >&6; }
52111  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52112    if ${glibcxx_cv_func__fabsl_use+:} false; then :
52113  $as_echo_n "(cached) " >&6
52114else
52115
52116
52117      ac_ext=cpp
52118ac_cpp='$CXXCPP $CPPFLAGS'
52119ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52120ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52121ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52122
52123      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52124/* end confdefs.h.  */
52125#include <math.h>
52126		      #ifdef HAVE_IEEEFP_H
52127		      #include <ieeefp.h>
52128		      #endif
52129
52130int
52131main ()
52132{
52133 _fabsl(0);
52134  ;
52135  return 0;
52136}
52137_ACEOF
52138if ac_fn_cxx_try_compile "$LINENO"; then :
52139  glibcxx_cv_func__fabsl_use=yes
52140else
52141  glibcxx_cv_func__fabsl_use=no
52142fi
52143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52144      ac_ext=c
52145ac_cpp='$CPP $CPPFLAGS'
52146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52148ac_compiler_gnu=$ac_cv_c_compiler_gnu
52149
52150
52151fi
52152
52153  fi
52154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52155$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52156
52157    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52158      for ac_func in _fabsl
52159do :
52160  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52161if test "x$ac_cv_func__fabsl" = xyes; then :
52162  cat >>confdefs.h <<_ACEOF
52163#define HAVE__FABSL 1
52164_ACEOF
52165
52166fi
52167done
52168
52169    fi
52170  fi
52171
52172
52173
52174
52175
52176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52177$as_echo_n "checking for fmodl declaration... " >&6; }
52178  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52179    if ${glibcxx_cv_func_fmodl_use+:} false; then :
52180  $as_echo_n "(cached) " >&6
52181else
52182
52183
52184      ac_ext=cpp
52185ac_cpp='$CXXCPP $CPPFLAGS'
52186ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52187ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52188ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52189
52190      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52191/* end confdefs.h.  */
52192#include <math.h>
52193int
52194main ()
52195{
52196 fmodl(0, 0);
52197  ;
52198  return 0;
52199}
52200_ACEOF
52201if ac_fn_cxx_try_compile "$LINENO"; then :
52202  glibcxx_cv_func_fmodl_use=yes
52203else
52204  glibcxx_cv_func_fmodl_use=no
52205fi
52206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52207      ac_ext=c
52208ac_cpp='$CPP $CPPFLAGS'
52209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52211ac_compiler_gnu=$ac_cv_c_compiler_gnu
52212
52213
52214fi
52215
52216  fi
52217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52218$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52219
52220  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52221    for ac_func in fmodl
52222do :
52223  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52224if test "x$ac_cv_func_fmodl" = xyes; then :
52225  cat >>confdefs.h <<_ACEOF
52226#define HAVE_FMODL 1
52227_ACEOF
52228
52229fi
52230done
52231
52232  else
52233
52234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52235$as_echo_n "checking for _fmodl declaration... " >&6; }
52236  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52237    if ${glibcxx_cv_func__fmodl_use+:} false; then :
52238  $as_echo_n "(cached) " >&6
52239else
52240
52241
52242      ac_ext=cpp
52243ac_cpp='$CXXCPP $CPPFLAGS'
52244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52247
52248      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52249/* end confdefs.h.  */
52250#include <math.h>
52251int
52252main ()
52253{
52254 _fmodl(0, 0);
52255  ;
52256  return 0;
52257}
52258_ACEOF
52259if ac_fn_cxx_try_compile "$LINENO"; then :
52260  glibcxx_cv_func__fmodl_use=yes
52261else
52262  glibcxx_cv_func__fmodl_use=no
52263fi
52264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52265      ac_ext=c
52266ac_cpp='$CPP $CPPFLAGS'
52267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52269ac_compiler_gnu=$ac_cv_c_compiler_gnu
52270
52271
52272fi
52273
52274  fi
52275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52276$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52277
52278    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52279      for ac_func in _fmodl
52280do :
52281  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52282if test "x$ac_cv_func__fmodl" = xyes; then :
52283  cat >>confdefs.h <<_ACEOF
52284#define HAVE__FMODL 1
52285_ACEOF
52286
52287fi
52288done
52289
52290    fi
52291  fi
52292
52293
52294
52295
52296
52297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52298$as_echo_n "checking for frexpl declaration... " >&6; }
52299  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52300    if ${glibcxx_cv_func_frexpl_use+:} false; then :
52301  $as_echo_n "(cached) " >&6
52302else
52303
52304
52305      ac_ext=cpp
52306ac_cpp='$CXXCPP $CPPFLAGS'
52307ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52308ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52309ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52310
52311      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52312/* end confdefs.h.  */
52313#include <math.h>
52314int
52315main ()
52316{
52317 frexpl(0, 0);
52318  ;
52319  return 0;
52320}
52321_ACEOF
52322if ac_fn_cxx_try_compile "$LINENO"; then :
52323  glibcxx_cv_func_frexpl_use=yes
52324else
52325  glibcxx_cv_func_frexpl_use=no
52326fi
52327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52328      ac_ext=c
52329ac_cpp='$CPP $CPPFLAGS'
52330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52332ac_compiler_gnu=$ac_cv_c_compiler_gnu
52333
52334
52335fi
52336
52337  fi
52338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52339$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52340
52341  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52342    for ac_func in frexpl
52343do :
52344  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52345if test "x$ac_cv_func_frexpl" = xyes; then :
52346  cat >>confdefs.h <<_ACEOF
52347#define HAVE_FREXPL 1
52348_ACEOF
52349
52350fi
52351done
52352
52353  else
52354
52355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52356$as_echo_n "checking for _frexpl declaration... " >&6; }
52357  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52358    if ${glibcxx_cv_func__frexpl_use+:} false; then :
52359  $as_echo_n "(cached) " >&6
52360else
52361
52362
52363      ac_ext=cpp
52364ac_cpp='$CXXCPP $CPPFLAGS'
52365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52368
52369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52370/* end confdefs.h.  */
52371#include <math.h>
52372int
52373main ()
52374{
52375 _frexpl(0, 0);
52376  ;
52377  return 0;
52378}
52379_ACEOF
52380if ac_fn_cxx_try_compile "$LINENO"; then :
52381  glibcxx_cv_func__frexpl_use=yes
52382else
52383  glibcxx_cv_func__frexpl_use=no
52384fi
52385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52386      ac_ext=c
52387ac_cpp='$CPP $CPPFLAGS'
52388ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52389ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52390ac_compiler_gnu=$ac_cv_c_compiler_gnu
52391
52392
52393fi
52394
52395  fi
52396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52397$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52398
52399    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52400      for ac_func in _frexpl
52401do :
52402  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52403if test "x$ac_cv_func__frexpl" = xyes; then :
52404  cat >>confdefs.h <<_ACEOF
52405#define HAVE__FREXPL 1
52406_ACEOF
52407
52408fi
52409done
52410
52411    fi
52412  fi
52413
52414
52415
52416
52417
52418  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52419$as_echo_n "checking for hypotl declaration... " >&6; }
52420  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52421    if ${glibcxx_cv_func_hypotl_use+:} false; then :
52422  $as_echo_n "(cached) " >&6
52423else
52424
52425
52426      ac_ext=cpp
52427ac_cpp='$CXXCPP $CPPFLAGS'
52428ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52429ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52430ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52431
52432      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52433/* end confdefs.h.  */
52434#include <math.h>
52435int
52436main ()
52437{
52438 hypotl(0, 0);
52439  ;
52440  return 0;
52441}
52442_ACEOF
52443if ac_fn_cxx_try_compile "$LINENO"; then :
52444  glibcxx_cv_func_hypotl_use=yes
52445else
52446  glibcxx_cv_func_hypotl_use=no
52447fi
52448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52449      ac_ext=c
52450ac_cpp='$CPP $CPPFLAGS'
52451ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52452ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52453ac_compiler_gnu=$ac_cv_c_compiler_gnu
52454
52455
52456fi
52457
52458  fi
52459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52460$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52461
52462  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52463    for ac_func in hypotl
52464do :
52465  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52466if test "x$ac_cv_func_hypotl" = xyes; then :
52467  cat >>confdefs.h <<_ACEOF
52468#define HAVE_HYPOTL 1
52469_ACEOF
52470
52471fi
52472done
52473
52474  else
52475
52476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52477$as_echo_n "checking for _hypotl declaration... " >&6; }
52478  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52479    if ${glibcxx_cv_func__hypotl_use+:} false; then :
52480  $as_echo_n "(cached) " >&6
52481else
52482
52483
52484      ac_ext=cpp
52485ac_cpp='$CXXCPP $CPPFLAGS'
52486ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52487ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52488ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52489
52490      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52491/* end confdefs.h.  */
52492#include <math.h>
52493int
52494main ()
52495{
52496 _hypotl(0, 0);
52497  ;
52498  return 0;
52499}
52500_ACEOF
52501if ac_fn_cxx_try_compile "$LINENO"; then :
52502  glibcxx_cv_func__hypotl_use=yes
52503else
52504  glibcxx_cv_func__hypotl_use=no
52505fi
52506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52507      ac_ext=c
52508ac_cpp='$CPP $CPPFLAGS'
52509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52511ac_compiler_gnu=$ac_cv_c_compiler_gnu
52512
52513
52514fi
52515
52516  fi
52517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52518$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52519
52520    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52521      for ac_func in _hypotl
52522do :
52523  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52524if test "x$ac_cv_func__hypotl" = xyes; then :
52525  cat >>confdefs.h <<_ACEOF
52526#define HAVE__HYPOTL 1
52527_ACEOF
52528
52529fi
52530done
52531
52532    fi
52533  fi
52534
52535
52536
52537
52538
52539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52540$as_echo_n "checking for ldexpl declaration... " >&6; }
52541  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52542    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52543  $as_echo_n "(cached) " >&6
52544else
52545
52546
52547      ac_ext=cpp
52548ac_cpp='$CXXCPP $CPPFLAGS'
52549ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52550ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52551ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52552
52553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52554/* end confdefs.h.  */
52555#include <math.h>
52556int
52557main ()
52558{
52559 ldexpl(0, 0);
52560  ;
52561  return 0;
52562}
52563_ACEOF
52564if ac_fn_cxx_try_compile "$LINENO"; then :
52565  glibcxx_cv_func_ldexpl_use=yes
52566else
52567  glibcxx_cv_func_ldexpl_use=no
52568fi
52569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52570      ac_ext=c
52571ac_cpp='$CPP $CPPFLAGS'
52572ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52573ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52574ac_compiler_gnu=$ac_cv_c_compiler_gnu
52575
52576
52577fi
52578
52579  fi
52580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52581$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52582
52583  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52584    for ac_func in ldexpl
52585do :
52586  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52587if test "x$ac_cv_func_ldexpl" = xyes; then :
52588  cat >>confdefs.h <<_ACEOF
52589#define HAVE_LDEXPL 1
52590_ACEOF
52591
52592fi
52593done
52594
52595  else
52596
52597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52598$as_echo_n "checking for _ldexpl declaration... " >&6; }
52599  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52600    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52601  $as_echo_n "(cached) " >&6
52602else
52603
52604
52605      ac_ext=cpp
52606ac_cpp='$CXXCPP $CPPFLAGS'
52607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52608ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52610
52611      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52612/* end confdefs.h.  */
52613#include <math.h>
52614int
52615main ()
52616{
52617 _ldexpl(0, 0);
52618  ;
52619  return 0;
52620}
52621_ACEOF
52622if ac_fn_cxx_try_compile "$LINENO"; then :
52623  glibcxx_cv_func__ldexpl_use=yes
52624else
52625  glibcxx_cv_func__ldexpl_use=no
52626fi
52627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52628      ac_ext=c
52629ac_cpp='$CPP $CPPFLAGS'
52630ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52631ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52632ac_compiler_gnu=$ac_cv_c_compiler_gnu
52633
52634
52635fi
52636
52637  fi
52638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52639$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52640
52641    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52642      for ac_func in _ldexpl
52643do :
52644  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52645if test "x$ac_cv_func__ldexpl" = xyes; then :
52646  cat >>confdefs.h <<_ACEOF
52647#define HAVE__LDEXPL 1
52648_ACEOF
52649
52650fi
52651done
52652
52653    fi
52654  fi
52655
52656
52657
52658
52659
52660  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52661$as_echo_n "checking for logl declaration... " >&6; }
52662  if test x${glibcxx_cv_func_logl_use+set} != xset; then
52663    if ${glibcxx_cv_func_logl_use+:} false; then :
52664  $as_echo_n "(cached) " >&6
52665else
52666
52667
52668      ac_ext=cpp
52669ac_cpp='$CXXCPP $CPPFLAGS'
52670ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52673
52674      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52675/* end confdefs.h.  */
52676#include <math.h>
52677		      #ifdef HAVE_IEEEFP_H
52678		      #include <ieeefp.h>
52679		      #endif
52680
52681int
52682main ()
52683{
52684 logl(0);
52685  ;
52686  return 0;
52687}
52688_ACEOF
52689if ac_fn_cxx_try_compile "$LINENO"; then :
52690  glibcxx_cv_func_logl_use=yes
52691else
52692  glibcxx_cv_func_logl_use=no
52693fi
52694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52695      ac_ext=c
52696ac_cpp='$CPP $CPPFLAGS'
52697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52699ac_compiler_gnu=$ac_cv_c_compiler_gnu
52700
52701
52702fi
52703
52704  fi
52705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52706$as_echo "$glibcxx_cv_func_logl_use" >&6; }
52707
52708  if test x$glibcxx_cv_func_logl_use = x"yes"; then
52709    for ac_func in logl
52710do :
52711  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52712if test "x$ac_cv_func_logl" = xyes; then :
52713  cat >>confdefs.h <<_ACEOF
52714#define HAVE_LOGL 1
52715_ACEOF
52716
52717fi
52718done
52719
52720  else
52721
52722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52723$as_echo_n "checking for _logl declaration... " >&6; }
52724  if test x${glibcxx_cv_func__logl_use+set} != xset; then
52725    if ${glibcxx_cv_func__logl_use+:} false; then :
52726  $as_echo_n "(cached) " >&6
52727else
52728
52729
52730      ac_ext=cpp
52731ac_cpp='$CXXCPP $CPPFLAGS'
52732ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52733ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52734ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52735
52736      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52737/* end confdefs.h.  */
52738#include <math.h>
52739		      #ifdef HAVE_IEEEFP_H
52740		      #include <ieeefp.h>
52741		      #endif
52742
52743int
52744main ()
52745{
52746 _logl(0);
52747  ;
52748  return 0;
52749}
52750_ACEOF
52751if ac_fn_cxx_try_compile "$LINENO"; then :
52752  glibcxx_cv_func__logl_use=yes
52753else
52754  glibcxx_cv_func__logl_use=no
52755fi
52756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52757      ac_ext=c
52758ac_cpp='$CPP $CPPFLAGS'
52759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52761ac_compiler_gnu=$ac_cv_c_compiler_gnu
52762
52763
52764fi
52765
52766  fi
52767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52768$as_echo "$glibcxx_cv_func__logl_use" >&6; }
52769
52770    if test x$glibcxx_cv_func__logl_use = x"yes"; then
52771      for ac_func in _logl
52772do :
52773  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52774if test "x$ac_cv_func__logl" = xyes; then :
52775  cat >>confdefs.h <<_ACEOF
52776#define HAVE__LOGL 1
52777_ACEOF
52778
52779fi
52780done
52781
52782    fi
52783  fi
52784
52785
52786
52787
52788
52789  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52790$as_echo_n "checking for log10l declaration... " >&6; }
52791  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52792    if ${glibcxx_cv_func_log10l_use+:} false; then :
52793  $as_echo_n "(cached) " >&6
52794else
52795
52796
52797      ac_ext=cpp
52798ac_cpp='$CXXCPP $CPPFLAGS'
52799ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52802
52803      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52804/* end confdefs.h.  */
52805#include <math.h>
52806		      #ifdef HAVE_IEEEFP_H
52807		      #include <ieeefp.h>
52808		      #endif
52809
52810int
52811main ()
52812{
52813 log10l(0);
52814  ;
52815  return 0;
52816}
52817_ACEOF
52818if ac_fn_cxx_try_compile "$LINENO"; then :
52819  glibcxx_cv_func_log10l_use=yes
52820else
52821  glibcxx_cv_func_log10l_use=no
52822fi
52823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52824      ac_ext=c
52825ac_cpp='$CPP $CPPFLAGS'
52826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52828ac_compiler_gnu=$ac_cv_c_compiler_gnu
52829
52830
52831fi
52832
52833  fi
52834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52835$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52836
52837  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52838    for ac_func in log10l
52839do :
52840  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52841if test "x$ac_cv_func_log10l" = xyes; then :
52842  cat >>confdefs.h <<_ACEOF
52843#define HAVE_LOG10L 1
52844_ACEOF
52845
52846fi
52847done
52848
52849  else
52850
52851  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52852$as_echo_n "checking for _log10l declaration... " >&6; }
52853  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52854    if ${glibcxx_cv_func__log10l_use+:} false; then :
52855  $as_echo_n "(cached) " >&6
52856else
52857
52858
52859      ac_ext=cpp
52860ac_cpp='$CXXCPP $CPPFLAGS'
52861ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52862ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52863ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52864
52865      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52866/* end confdefs.h.  */
52867#include <math.h>
52868		      #ifdef HAVE_IEEEFP_H
52869		      #include <ieeefp.h>
52870		      #endif
52871
52872int
52873main ()
52874{
52875 _log10l(0);
52876  ;
52877  return 0;
52878}
52879_ACEOF
52880if ac_fn_cxx_try_compile "$LINENO"; then :
52881  glibcxx_cv_func__log10l_use=yes
52882else
52883  glibcxx_cv_func__log10l_use=no
52884fi
52885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52886      ac_ext=c
52887ac_cpp='$CPP $CPPFLAGS'
52888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52890ac_compiler_gnu=$ac_cv_c_compiler_gnu
52891
52892
52893fi
52894
52895  fi
52896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52897$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52898
52899    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52900      for ac_func in _log10l
52901do :
52902  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52903if test "x$ac_cv_func__log10l" = xyes; then :
52904  cat >>confdefs.h <<_ACEOF
52905#define HAVE__LOG10L 1
52906_ACEOF
52907
52908fi
52909done
52910
52911    fi
52912  fi
52913
52914
52915
52916
52917
52918  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52919$as_echo_n "checking for modfl declaration... " >&6; }
52920  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52921    if ${glibcxx_cv_func_modfl_use+:} false; then :
52922  $as_echo_n "(cached) " >&6
52923else
52924
52925
52926      ac_ext=cpp
52927ac_cpp='$CXXCPP $CPPFLAGS'
52928ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52929ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52930ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52931
52932      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52933/* end confdefs.h.  */
52934#include <math.h>
52935int
52936main ()
52937{
52938 modfl(0, 0);
52939  ;
52940  return 0;
52941}
52942_ACEOF
52943if ac_fn_cxx_try_compile "$LINENO"; then :
52944  glibcxx_cv_func_modfl_use=yes
52945else
52946  glibcxx_cv_func_modfl_use=no
52947fi
52948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52949      ac_ext=c
52950ac_cpp='$CPP $CPPFLAGS'
52951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52953ac_compiler_gnu=$ac_cv_c_compiler_gnu
52954
52955
52956fi
52957
52958  fi
52959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52960$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52961
52962  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52963    for ac_func in modfl
52964do :
52965  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52966if test "x$ac_cv_func_modfl" = xyes; then :
52967  cat >>confdefs.h <<_ACEOF
52968#define HAVE_MODFL 1
52969_ACEOF
52970
52971fi
52972done
52973
52974  else
52975
52976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52977$as_echo_n "checking for _modfl declaration... " >&6; }
52978  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52979    if ${glibcxx_cv_func__modfl_use+:} false; then :
52980  $as_echo_n "(cached) " >&6
52981else
52982
52983
52984      ac_ext=cpp
52985ac_cpp='$CXXCPP $CPPFLAGS'
52986ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52987ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52988ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52989
52990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52991/* end confdefs.h.  */
52992#include <math.h>
52993int
52994main ()
52995{
52996 _modfl(0, 0);
52997  ;
52998  return 0;
52999}
53000_ACEOF
53001if ac_fn_cxx_try_compile "$LINENO"; then :
53002  glibcxx_cv_func__modfl_use=yes
53003else
53004  glibcxx_cv_func__modfl_use=no
53005fi
53006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53007      ac_ext=c
53008ac_cpp='$CPP $CPPFLAGS'
53009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53011ac_compiler_gnu=$ac_cv_c_compiler_gnu
53012
53013
53014fi
53015
53016  fi
53017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53018$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53019
53020    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53021      for ac_func in _modfl
53022do :
53023  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53024if test "x$ac_cv_func__modfl" = xyes; then :
53025  cat >>confdefs.h <<_ACEOF
53026#define HAVE__MODFL 1
53027_ACEOF
53028
53029fi
53030done
53031
53032    fi
53033  fi
53034
53035
53036
53037
53038
53039  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53040$as_echo_n "checking for powl declaration... " >&6; }
53041  if test x${glibcxx_cv_func_powl_use+set} != xset; then
53042    if ${glibcxx_cv_func_powl_use+:} false; then :
53043  $as_echo_n "(cached) " >&6
53044else
53045
53046
53047      ac_ext=cpp
53048ac_cpp='$CXXCPP $CPPFLAGS'
53049ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53050ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53051ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53052
53053      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53054/* end confdefs.h.  */
53055#include <math.h>
53056int
53057main ()
53058{
53059 powl(0, 0);
53060  ;
53061  return 0;
53062}
53063_ACEOF
53064if ac_fn_cxx_try_compile "$LINENO"; then :
53065  glibcxx_cv_func_powl_use=yes
53066else
53067  glibcxx_cv_func_powl_use=no
53068fi
53069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53070      ac_ext=c
53071ac_cpp='$CPP $CPPFLAGS'
53072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53074ac_compiler_gnu=$ac_cv_c_compiler_gnu
53075
53076
53077fi
53078
53079  fi
53080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53081$as_echo "$glibcxx_cv_func_powl_use" >&6; }
53082
53083  if test x$glibcxx_cv_func_powl_use = x"yes"; then
53084    for ac_func in powl
53085do :
53086  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53087if test "x$ac_cv_func_powl" = xyes; then :
53088  cat >>confdefs.h <<_ACEOF
53089#define HAVE_POWL 1
53090_ACEOF
53091
53092fi
53093done
53094
53095  else
53096
53097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53098$as_echo_n "checking for _powl declaration... " >&6; }
53099  if test x${glibcxx_cv_func__powl_use+set} != xset; then
53100    if ${glibcxx_cv_func__powl_use+:} false; then :
53101  $as_echo_n "(cached) " >&6
53102else
53103
53104
53105      ac_ext=cpp
53106ac_cpp='$CXXCPP $CPPFLAGS'
53107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53110
53111      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53112/* end confdefs.h.  */
53113#include <math.h>
53114int
53115main ()
53116{
53117 _powl(0, 0);
53118  ;
53119  return 0;
53120}
53121_ACEOF
53122if ac_fn_cxx_try_compile "$LINENO"; then :
53123  glibcxx_cv_func__powl_use=yes
53124else
53125  glibcxx_cv_func__powl_use=no
53126fi
53127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53128      ac_ext=c
53129ac_cpp='$CPP $CPPFLAGS'
53130ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53131ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53132ac_compiler_gnu=$ac_cv_c_compiler_gnu
53133
53134
53135fi
53136
53137  fi
53138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53139$as_echo "$glibcxx_cv_func__powl_use" >&6; }
53140
53141    if test x$glibcxx_cv_func__powl_use = x"yes"; then
53142      for ac_func in _powl
53143do :
53144  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53145if test "x$ac_cv_func__powl" = xyes; then :
53146  cat >>confdefs.h <<_ACEOF
53147#define HAVE__POWL 1
53148_ACEOF
53149
53150fi
53151done
53152
53153    fi
53154  fi
53155
53156
53157
53158
53159
53160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53161$as_echo_n "checking for sqrtl declaration... " >&6; }
53162  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53163    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53164  $as_echo_n "(cached) " >&6
53165else
53166
53167
53168      ac_ext=cpp
53169ac_cpp='$CXXCPP $CPPFLAGS'
53170ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53171ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53172ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53173
53174      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53175/* end confdefs.h.  */
53176#include <math.h>
53177		      #ifdef HAVE_IEEEFP_H
53178		      #include <ieeefp.h>
53179		      #endif
53180
53181int
53182main ()
53183{
53184 sqrtl(0);
53185  ;
53186  return 0;
53187}
53188_ACEOF
53189if ac_fn_cxx_try_compile "$LINENO"; then :
53190  glibcxx_cv_func_sqrtl_use=yes
53191else
53192  glibcxx_cv_func_sqrtl_use=no
53193fi
53194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53195      ac_ext=c
53196ac_cpp='$CPP $CPPFLAGS'
53197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53199ac_compiler_gnu=$ac_cv_c_compiler_gnu
53200
53201
53202fi
53203
53204  fi
53205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53206$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53207
53208  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53209    for ac_func in sqrtl
53210do :
53211  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53212if test "x$ac_cv_func_sqrtl" = xyes; then :
53213  cat >>confdefs.h <<_ACEOF
53214#define HAVE_SQRTL 1
53215_ACEOF
53216
53217fi
53218done
53219
53220  else
53221
53222  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53223$as_echo_n "checking for _sqrtl declaration... " >&6; }
53224  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53225    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53226  $as_echo_n "(cached) " >&6
53227else
53228
53229
53230      ac_ext=cpp
53231ac_cpp='$CXXCPP $CPPFLAGS'
53232ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53233ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53234ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53235
53236      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53237/* end confdefs.h.  */
53238#include <math.h>
53239		      #ifdef HAVE_IEEEFP_H
53240		      #include <ieeefp.h>
53241		      #endif
53242
53243int
53244main ()
53245{
53246 _sqrtl(0);
53247  ;
53248  return 0;
53249}
53250_ACEOF
53251if ac_fn_cxx_try_compile "$LINENO"; then :
53252  glibcxx_cv_func__sqrtl_use=yes
53253else
53254  glibcxx_cv_func__sqrtl_use=no
53255fi
53256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53257      ac_ext=c
53258ac_cpp='$CPP $CPPFLAGS'
53259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53261ac_compiler_gnu=$ac_cv_c_compiler_gnu
53262
53263
53264fi
53265
53266  fi
53267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53268$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53269
53270    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53271      for ac_func in _sqrtl
53272do :
53273  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53274if test "x$ac_cv_func__sqrtl" = xyes; then :
53275  cat >>confdefs.h <<_ACEOF
53276#define HAVE__SQRTL 1
53277_ACEOF
53278
53279fi
53280done
53281
53282    fi
53283  fi
53284
53285
53286
53287
53288
53289  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53290$as_echo_n "checking for sincosl declaration... " >&6; }
53291  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53292    if ${glibcxx_cv_func_sincosl_use+:} false; then :
53293  $as_echo_n "(cached) " >&6
53294else
53295
53296
53297      ac_ext=cpp
53298ac_cpp='$CXXCPP $CPPFLAGS'
53299ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53300ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53301ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53302
53303      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53304/* end confdefs.h.  */
53305#include <math.h>
53306int
53307main ()
53308{
53309 sincosl(0, 0, 0);
53310  ;
53311  return 0;
53312}
53313_ACEOF
53314if ac_fn_cxx_try_compile "$LINENO"; then :
53315  glibcxx_cv_func_sincosl_use=yes
53316else
53317  glibcxx_cv_func_sincosl_use=no
53318fi
53319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53320      ac_ext=c
53321ac_cpp='$CPP $CPPFLAGS'
53322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53324ac_compiler_gnu=$ac_cv_c_compiler_gnu
53325
53326
53327fi
53328
53329  fi
53330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53331$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53332
53333  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53334    for ac_func in sincosl
53335do :
53336  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53337if test "x$ac_cv_func_sincosl" = xyes; then :
53338  cat >>confdefs.h <<_ACEOF
53339#define HAVE_SINCOSL 1
53340_ACEOF
53341
53342fi
53343done
53344
53345  else
53346
53347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53348$as_echo_n "checking for _sincosl declaration... " >&6; }
53349  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53350    if ${glibcxx_cv_func__sincosl_use+:} false; then :
53351  $as_echo_n "(cached) " >&6
53352else
53353
53354
53355      ac_ext=cpp
53356ac_cpp='$CXXCPP $CPPFLAGS'
53357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53360
53361      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53362/* end confdefs.h.  */
53363#include <math.h>
53364int
53365main ()
53366{
53367 _sincosl(0, 0, 0);
53368  ;
53369  return 0;
53370}
53371_ACEOF
53372if ac_fn_cxx_try_compile "$LINENO"; then :
53373  glibcxx_cv_func__sincosl_use=yes
53374else
53375  glibcxx_cv_func__sincosl_use=no
53376fi
53377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53378      ac_ext=c
53379ac_cpp='$CPP $CPPFLAGS'
53380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53382ac_compiler_gnu=$ac_cv_c_compiler_gnu
53383
53384
53385fi
53386
53387  fi
53388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53389$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53390
53391    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53392      for ac_func in _sincosl
53393do :
53394  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53395if test "x$ac_cv_func__sincosl" = xyes; then :
53396  cat >>confdefs.h <<_ACEOF
53397#define HAVE__SINCOSL 1
53398_ACEOF
53399
53400fi
53401done
53402
53403    fi
53404  fi
53405
53406
53407
53408
53409
53410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53411$as_echo_n "checking for finitel declaration... " >&6; }
53412  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53413    if ${glibcxx_cv_func_finitel_use+:} false; then :
53414  $as_echo_n "(cached) " >&6
53415else
53416
53417
53418      ac_ext=cpp
53419ac_cpp='$CXXCPP $CPPFLAGS'
53420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53421ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53422ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53423
53424      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53425/* end confdefs.h.  */
53426#include <math.h>
53427		      #ifdef HAVE_IEEEFP_H
53428		      #include <ieeefp.h>
53429		      #endif
53430
53431int
53432main ()
53433{
53434 finitel(0);
53435  ;
53436  return 0;
53437}
53438_ACEOF
53439if ac_fn_cxx_try_compile "$LINENO"; then :
53440  glibcxx_cv_func_finitel_use=yes
53441else
53442  glibcxx_cv_func_finitel_use=no
53443fi
53444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53445      ac_ext=c
53446ac_cpp='$CPP $CPPFLAGS'
53447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53449ac_compiler_gnu=$ac_cv_c_compiler_gnu
53450
53451
53452fi
53453
53454  fi
53455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53456$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53457
53458  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53459    for ac_func in finitel
53460do :
53461  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53462if test "x$ac_cv_func_finitel" = xyes; then :
53463  cat >>confdefs.h <<_ACEOF
53464#define HAVE_FINITEL 1
53465_ACEOF
53466
53467fi
53468done
53469
53470  else
53471
53472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53473$as_echo_n "checking for _finitel declaration... " >&6; }
53474  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53475    if ${glibcxx_cv_func__finitel_use+:} false; then :
53476  $as_echo_n "(cached) " >&6
53477else
53478
53479
53480      ac_ext=cpp
53481ac_cpp='$CXXCPP $CPPFLAGS'
53482ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53483ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53484ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53485
53486      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53487/* end confdefs.h.  */
53488#include <math.h>
53489		      #ifdef HAVE_IEEEFP_H
53490		      #include <ieeefp.h>
53491		      #endif
53492
53493int
53494main ()
53495{
53496 _finitel(0);
53497  ;
53498  return 0;
53499}
53500_ACEOF
53501if ac_fn_cxx_try_compile "$LINENO"; then :
53502  glibcxx_cv_func__finitel_use=yes
53503else
53504  glibcxx_cv_func__finitel_use=no
53505fi
53506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53507      ac_ext=c
53508ac_cpp='$CPP $CPPFLAGS'
53509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53511ac_compiler_gnu=$ac_cv_c_compiler_gnu
53512
53513
53514fi
53515
53516  fi
53517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53518$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53519
53520    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53521      for ac_func in _finitel
53522do :
53523  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53524if test "x$ac_cv_func__finitel" = xyes; then :
53525  cat >>confdefs.h <<_ACEOF
53526#define HAVE__FINITEL 1
53527_ACEOF
53528
53529fi
53530done
53531
53532    fi
53533  fi
53534
53535
53536
53537
53538  LIBS="$ac_save_LIBS"
53539  CXXFLAGS="$ac_save_CXXFLAGS"
53540
53541
53542  ac_test_CXXFLAGS="${CXXFLAGS+set}"
53543  ac_save_CXXFLAGS="$CXXFLAGS"
53544  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53545
53546
53547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53548$as_echo_n "checking for at_quick_exit declaration... " >&6; }
53549  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53550    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53551  $as_echo_n "(cached) " >&6
53552else
53553
53554
53555      ac_ext=cpp
53556ac_cpp='$CXXCPP $CPPFLAGS'
53557ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53558ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53559ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53560
53561      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53562/* end confdefs.h.  */
53563#include <stdlib.h>
53564int
53565main ()
53566{
53567 at_quick_exit(0);
53568  ;
53569  return 0;
53570}
53571_ACEOF
53572if ac_fn_cxx_try_compile "$LINENO"; then :
53573  glibcxx_cv_func_at_quick_exit_use=yes
53574else
53575  glibcxx_cv_func_at_quick_exit_use=no
53576fi
53577rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53578      ac_ext=c
53579ac_cpp='$CPP $CPPFLAGS'
53580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53582ac_compiler_gnu=$ac_cv_c_compiler_gnu
53583
53584
53585fi
53586
53587  fi
53588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53589$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53590  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53591    for ac_func in at_quick_exit
53592do :
53593  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53594if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53595  cat >>confdefs.h <<_ACEOF
53596#define HAVE_AT_QUICK_EXIT 1
53597_ACEOF
53598
53599fi
53600done
53601
53602  fi
53603
53604
53605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53606$as_echo_n "checking for quick_exit declaration... " >&6; }
53607  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53608    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53609  $as_echo_n "(cached) " >&6
53610else
53611
53612
53613      ac_ext=cpp
53614ac_cpp='$CXXCPP $CPPFLAGS'
53615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53618
53619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53620/* end confdefs.h.  */
53621#include <stdlib.h>
53622int
53623main ()
53624{
53625 quick_exit(0);
53626  ;
53627  return 0;
53628}
53629_ACEOF
53630if ac_fn_cxx_try_compile "$LINENO"; then :
53631  glibcxx_cv_func_quick_exit_use=yes
53632else
53633  glibcxx_cv_func_quick_exit_use=no
53634fi
53635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53636      ac_ext=c
53637ac_cpp='$CPP $CPPFLAGS'
53638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53640ac_compiler_gnu=$ac_cv_c_compiler_gnu
53641
53642
53643fi
53644
53645  fi
53646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53647$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53648  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53649    for ac_func in quick_exit
53650do :
53651  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53652if test "x$ac_cv_func_quick_exit" = xyes; then :
53653  cat >>confdefs.h <<_ACEOF
53654#define HAVE_QUICK_EXIT 1
53655_ACEOF
53656
53657fi
53658done
53659
53660  fi
53661
53662
53663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53664$as_echo_n "checking for strtold declaration... " >&6; }
53665  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53666    if ${glibcxx_cv_func_strtold_use+:} false; then :
53667  $as_echo_n "(cached) " >&6
53668else
53669
53670
53671      ac_ext=cpp
53672ac_cpp='$CXXCPP $CPPFLAGS'
53673ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53676
53677      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53678/* end confdefs.h.  */
53679#include <stdlib.h>
53680int
53681main ()
53682{
53683 strtold(0, 0);
53684  ;
53685  return 0;
53686}
53687_ACEOF
53688if ac_fn_cxx_try_compile "$LINENO"; then :
53689  glibcxx_cv_func_strtold_use=yes
53690else
53691  glibcxx_cv_func_strtold_use=no
53692fi
53693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53694      ac_ext=c
53695ac_cpp='$CPP $CPPFLAGS'
53696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53698ac_compiler_gnu=$ac_cv_c_compiler_gnu
53699
53700
53701fi
53702
53703  fi
53704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53705$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53706  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53707    for ac_func in strtold
53708do :
53709  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53710if test "x$ac_cv_func_strtold" = xyes; then :
53711  cat >>confdefs.h <<_ACEOF
53712#define HAVE_STRTOLD 1
53713_ACEOF
53714
53715fi
53716done
53717
53718  fi
53719
53720
53721
53722
53723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53724$as_echo_n "checking for strtof declaration... " >&6; }
53725  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53726    if ${glibcxx_cv_func_strtof_use+:} false; then :
53727  $as_echo_n "(cached) " >&6
53728else
53729
53730
53731      ac_ext=cpp
53732ac_cpp='$CXXCPP $CPPFLAGS'
53733ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53734ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53735ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53736
53737      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53738/* end confdefs.h.  */
53739#include <stdlib.h>
53740int
53741main ()
53742{
53743 strtof(0, 0);
53744  ;
53745  return 0;
53746}
53747_ACEOF
53748if ac_fn_cxx_try_compile "$LINENO"; then :
53749  glibcxx_cv_func_strtof_use=yes
53750else
53751  glibcxx_cv_func_strtof_use=no
53752fi
53753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53754      ac_ext=c
53755ac_cpp='$CPP $CPPFLAGS'
53756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53758ac_compiler_gnu=$ac_cv_c_compiler_gnu
53759
53760
53761fi
53762
53763  fi
53764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53765$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53766  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53767    for ac_func in strtof
53768do :
53769  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53770if test "x$ac_cv_func_strtof" = xyes; then :
53771  cat >>confdefs.h <<_ACEOF
53772#define HAVE_STRTOF 1
53773_ACEOF
53774
53775fi
53776done
53777
53778  fi
53779
53780
53781
53782
53783  CXXFLAGS="$ac_save_CXXFLAGS"
53784
53785    $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53786
53787    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53788
53789
53790
53791   # Check whether --enable-tls was given.
53792if test "${enable_tls+set}" = set; then :
53793  enableval=$enable_tls;
53794      case "$enableval" in
53795       yes|no) ;;
53796       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53797      esac
53798
53799else
53800  enable_tls=yes
53801fi
53802
53803
53804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53805$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53806if ${gcc_cv_have_tls+:} false; then :
53807  $as_echo_n "(cached) " >&6
53808else
53809
53810    if test "$cross_compiling" = yes; then :
53811                if test x$gcc_no_link = xyes; then
53812  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53813fi
53814cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53815/* end confdefs.h.  */
53816__thread int a; int b; int main() { return a = b; }
53817_ACEOF
53818if ac_fn_c_try_link "$LINENO"; then :
53819  chktls_save_LDFLAGS="$LDFLAGS"
53820	  	  	  case $host in
53821	    *-*-linux* | -*-uclinuxfdpic*)
53822	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53823	      ;;
53824	  esac
53825	  chktls_save_CFLAGS="$CFLAGS"
53826	  CFLAGS="-fPIC $CFLAGS"
53827	  	  if test x$gcc_no_link = xyes; then
53828  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53829fi
53830cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53831/* end confdefs.h.  */
53832int f() { return 0; }
53833_ACEOF
53834if ac_fn_c_try_link "$LINENO"; then :
53835  if test x$gcc_no_link = xyes; then
53836  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53837fi
53838cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53839/* end confdefs.h.  */
53840__thread int a; int b; int f() { return a = b; }
53841_ACEOF
53842if ac_fn_c_try_link "$LINENO"; then :
53843  gcc_cv_have_tls=yes
53844else
53845  gcc_cv_have_tls=no
53846fi
53847rm -f core conftest.err conftest.$ac_objext \
53848    conftest$ac_exeext conftest.$ac_ext
53849else
53850  gcc_cv_have_tls=yes
53851fi
53852rm -f core conftest.err conftest.$ac_objext \
53853    conftest$ac_exeext conftest.$ac_ext
53854	  CFLAGS="$chktls_save_CFLAGS"
53855	  LDFLAGS="$chktls_save_LDFLAGS"
53856else
53857  gcc_cv_have_tls=no
53858fi
53859rm -f core conftest.err conftest.$ac_objext \
53860    conftest$ac_exeext conftest.$ac_ext
53861
53862
53863else
53864  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53865/* end confdefs.h.  */
53866__thread int a; int b; int main() { return a = b; }
53867_ACEOF
53868if ac_fn_c_try_run "$LINENO"; then :
53869                      chktls_save_LDFLAGS="$LDFLAGS"
53870      LDFLAGS="-static $LDFLAGS"
53871      if test x$gcc_no_link = xyes; then
53872  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53873fi
53874cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53875/* end confdefs.h.  */
53876int main() { return 0; }
53877_ACEOF
53878if ac_fn_c_try_link "$LINENO"; then :
53879  if test "$cross_compiling" = yes; then :
53880  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53881$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53882as_fn_error $? "cannot run test program while cross compiling
53883See \`config.log' for more details" "$LINENO" 5; }
53884else
53885  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886/* end confdefs.h.  */
53887__thread int a; int b; int main() { return a = b; }
53888_ACEOF
53889if ac_fn_c_try_run "$LINENO"; then :
53890  gcc_cv_have_tls=yes
53891else
53892  gcc_cv_have_tls=no
53893fi
53894rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53895  conftest.$ac_objext conftest.beam conftest.$ac_ext
53896fi
53897
53898else
53899  gcc_cv_have_tls=yes
53900fi
53901rm -f core conftest.err conftest.$ac_objext \
53902    conftest$ac_exeext conftest.$ac_ext
53903      LDFLAGS="$chktls_save_LDFLAGS"
53904      if test $gcc_cv_have_tls = yes; then
53905						chktls_save_CFLAGS="$CFLAGS"
53906	thread_CFLAGS=failed
53907	for flag in '' '-pthread' '-lpthread'; do
53908	  CFLAGS="$flag $chktls_save_CFLAGS"
53909	  if test x$gcc_no_link = xyes; then
53910  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53911fi
53912cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53913/* end confdefs.h.  */
53914#include <pthread.h>
53915		void *g(void *d) { return NULL; }
53916int
53917main ()
53918{
53919pthread_t t; pthread_create(&t,NULL,g,NULL);
53920  ;
53921  return 0;
53922}
53923_ACEOF
53924if ac_fn_c_try_link "$LINENO"; then :
53925  thread_CFLAGS="$flag"
53926fi
53927rm -f core conftest.err conftest.$ac_objext \
53928    conftest$ac_exeext conftest.$ac_ext
53929	  if test "X$thread_CFLAGS" != Xfailed; then
53930	    break
53931	  fi
53932	done
53933	CFLAGS="$chktls_save_CFLAGS"
53934	if test "X$thread_CFLAGS" != Xfailed; then
53935	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53936 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
53937  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53938$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53939as_fn_error $? "cannot run test program while cross compiling
53940See \`config.log' for more details" "$LINENO" 5; }
53941else
53942  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53943/* end confdefs.h.  */
53944#include <pthread.h>
53945		__thread int a;
53946		static int *volatile a_in_other_thread;
53947		static void *
53948		thread_func (void *arg)
53949		{
53950		  a_in_other_thread = &a;
53951		  return (void *)0;
53952		}
53953int
53954main ()
53955{
53956pthread_t thread;
53957		void *thread_retval;
53958		int *volatile a_in_main_thread;
53959		a_in_main_thread = &a;
53960		if (pthread_create (&thread, (pthread_attr_t *)0,
53961				    thread_func, (void *)0))
53962		  return 0;
53963		if (pthread_join (thread, &thread_retval))
53964		  return 0;
53965		return (a_in_other_thread == a_in_main_thread);
53966  ;
53967  return 0;
53968}
53969_ACEOF
53970if ac_fn_c_try_run "$LINENO"; then :
53971  gcc_cv_have_tls=yes
53972else
53973  gcc_cv_have_tls=no
53974fi
53975rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53976  conftest.$ac_objext conftest.beam conftest.$ac_ext
53977fi
53978
53979	  CFLAGS="$chktls_save_CFLAGS"
53980	fi
53981      fi
53982else
53983  gcc_cv_have_tls=no
53984fi
53985rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53986  conftest.$ac_objext conftest.beam conftest.$ac_ext
53987fi
53988
53989fi
53990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53991$as_echo "$gcc_cv_have_tls" >&6; }
53992  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53993
53994$as_echo "#define HAVE_TLS 1" >>confdefs.h
53995
53996  fi
53997    for ac_func in __cxa_thread_atexit_impl
53998do :
53999  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54000if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54001  cat >>confdefs.h <<_ACEOF
54002#define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54003_ACEOF
54004
54005fi
54006done
54007
54008    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54009do :
54010  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54011ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54012if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54013  cat >>confdefs.h <<_ACEOF
54014#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54015_ACEOF
54016
54017fi
54018done
54019
54020    for ac_func in timespec_get
54021do :
54022  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54023if test "x$ac_cv_func_timespec_get" = xyes; then :
54024  cat >>confdefs.h <<_ACEOF
54025#define HAVE_TIMESPEC_GET 1
54026_ACEOF
54027
54028fi
54029done
54030
54031    for ac_func in sockatmark
54032do :
54033  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54034if test "x$ac_cv_func_sockatmark" = xyes; then :
54035  cat >>confdefs.h <<_ACEOF
54036#define HAVE_SOCKATMARK 1
54037_ACEOF
54038
54039fi
54040done
54041
54042    for ac_func in uselocale
54043do :
54044  ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54045if test "x$ac_cv_func_uselocale" = xyes; then :
54046  cat >>confdefs.h <<_ACEOF
54047#define HAVE_USELOCALE 1
54048_ACEOF
54049
54050fi
54051done
54052
54053
54054
54055
54056
54057
54058  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54059$as_echo_n "checking for iconv... " >&6; }
54060if ${am_cv_func_iconv+:} false; then :
54061  $as_echo_n "(cached) " >&6
54062else
54063
54064    am_cv_func_iconv="no, consider installing GNU libiconv"
54065    am_cv_lib_iconv=no
54066                    am_save_CPPFLAGS="$CPPFLAGS"
54067    CPPFLAGS="$CPPFLAGS $INCICONV"
54068    if test x$gcc_no_link = xyes; then
54069  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54070fi
54071cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54072/* end confdefs.h.  */
54073#include <stdlib.h>
54074#include <iconv.h>
54075int
54076main ()
54077{
54078iconv_t cd = iconv_open("","");
54079       iconv(cd,NULL,NULL,NULL,NULL);
54080       iconv_close(cd);
54081  ;
54082  return 0;
54083}
54084_ACEOF
54085if ac_fn_c_try_link "$LINENO"; then :
54086  am_cv_func_iconv=yes
54087fi
54088rm -f core conftest.err conftest.$ac_objext \
54089    conftest$ac_exeext conftest.$ac_ext
54090    CPPFLAGS="$am_save_CPPFLAGS"
54091
54092    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54093      for _libs in .libs _libs; do
54094        am_save_CPPFLAGS="$CPPFLAGS"
54095        am_save_LIBS="$LIBS"
54096        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54097        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54098        if test x$gcc_no_link = xyes; then
54099  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54100fi
54101cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54102/* end confdefs.h.  */
54103#include <stdlib.h>
54104#include <iconv.h>
54105int
54106main ()
54107{
54108iconv_t cd = iconv_open("","");
54109           iconv(cd,NULL,NULL,NULL,NULL);
54110           iconv_close(cd);
54111  ;
54112  return 0;
54113}
54114_ACEOF
54115if ac_fn_c_try_link "$LINENO"; then :
54116  INCICONV="-I../libiconv/include"
54117          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54118          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54119          am_cv_lib_iconv=yes
54120          am_cv_func_iconv=yes
54121fi
54122rm -f core conftest.err conftest.$ac_objext \
54123    conftest$ac_exeext conftest.$ac_ext
54124        CPPFLAGS="$am_save_CPPFLAGS"
54125        LIBS="$am_save_LIBS"
54126        if test "$am_cv_func_iconv" = "yes"; then
54127          break
54128        fi
54129      done
54130    fi
54131
54132    if test "$am_cv_func_iconv" != yes; then
54133      am_save_CPPFLAGS="$CPPFLAGS"
54134      am_save_LIBS="$LIBS"
54135      CPPFLAGS="$CPPFLAGS $INCICONV"
54136      LIBS="$LIBS $LIBICONV"
54137      if test x$gcc_no_link = xyes; then
54138  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54139fi
54140cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54141/* end confdefs.h.  */
54142#include <stdlib.h>
54143#include <iconv.h>
54144int
54145main ()
54146{
54147iconv_t cd = iconv_open("","");
54148         iconv(cd,NULL,NULL,NULL,NULL);
54149         iconv_close(cd);
54150  ;
54151  return 0;
54152}
54153_ACEOF
54154if ac_fn_c_try_link "$LINENO"; then :
54155  am_cv_lib_iconv=yes
54156        am_cv_func_iconv=yes
54157fi
54158rm -f core conftest.err conftest.$ac_objext \
54159    conftest$ac_exeext conftest.$ac_ext
54160      CPPFLAGS="$am_save_CPPFLAGS"
54161      LIBS="$am_save_LIBS"
54162    fi
54163
54164fi
54165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54166$as_echo "$am_cv_func_iconv" >&6; }
54167  if test "$am_cv_func_iconv" = yes; then
54168
54169$as_echo "#define HAVE_ICONV 1" >>confdefs.h
54170
54171  fi
54172  if test "$am_cv_lib_iconv" = yes; then
54173
54174  for element in $INCICONV; do
54175    haveit=
54176    for x in $CPPFLAGS; do
54177
54178  acl_save_prefix="$prefix"
54179  prefix="$acl_final_prefix"
54180  acl_save_exec_prefix="$exec_prefix"
54181  exec_prefix="$acl_final_exec_prefix"
54182  eval x=\"$x\"
54183  exec_prefix="$acl_save_exec_prefix"
54184  prefix="$acl_save_prefix"
54185
54186      if test "X$x" = "X$element"; then
54187        haveit=yes
54188        break
54189      fi
54190    done
54191    if test -z "$haveit"; then
54192      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54193    fi
54194  done
54195
54196    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54197$as_echo_n "checking how to link with libiconv... " >&6; }
54198    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54199$as_echo "$LIBICONV" >&6; }
54200  else
54201    LIBICONV=
54202    LTLIBICONV=
54203  fi
54204
54205
54206
54207  if test "$am_cv_func_iconv" = yes; then
54208    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54209$as_echo_n "checking for iconv declaration... " >&6; }
54210    if ${am_cv_proto_iconv+:} false; then :
54211  $as_echo_n "(cached) " >&6
54212else
54213
54214      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54215/* end confdefs.h.  */
54216
54217#include <stdlib.h>
54218#include <iconv.h>
54219extern
54220#ifdef __cplusplus
54221"C"
54222#endif
54223#if defined(__STDC__) || defined(__cplusplus)
54224size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54225#else
54226size_t iconv();
54227#endif
54228
54229int
54230main ()
54231{
54232
54233  ;
54234  return 0;
54235}
54236_ACEOF
54237if ac_fn_c_try_compile "$LINENO"; then :
54238  am_cv_proto_iconv_arg1=""
54239else
54240  am_cv_proto_iconv_arg1="const"
54241fi
54242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54243      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);"
54244fi
54245
54246    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54247    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54248         }$am_cv_proto_iconv" >&5
54249$as_echo "${ac_t:-
54250         }$am_cv_proto_iconv" >&6; }
54251
54252cat >>confdefs.h <<_ACEOF
54253#define ICONV_CONST $am_cv_proto_iconv_arg1
54254_ACEOF
54255
54256  fi
54257
54258    ;;
54259  *-mingw32*)
54260
54261  # If we're not using GNU ld, then there's no point in even trying these
54262  # tests.  Check for that first.  We should have already tested for gld
54263  # by now (in libtool), but require it now just to be safe...
54264  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54265  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54266
54267
54268
54269  # The name set by libtool depends on the version of libtool.  Shame on us
54270  # for depending on an impl detail, but c'est la vie.  Older versions used
54271  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54272  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54273  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54274  # set (hence we're using an older libtool), then set it.
54275  if test x${with_gnu_ld+set} != xset; then
54276    if test x${ac_cv_prog_gnu_ld+set} != xset; then
54277      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54278      with_gnu_ld=no
54279    else
54280      with_gnu_ld=$ac_cv_prog_gnu_ld
54281    fi
54282  fi
54283
54284  # Start by getting the version number.  I think the libtool test already
54285  # does some of this, but throws away the result.
54286  glibcxx_ld_is_gold=no
54287  if test x"$with_gnu_ld" = x"yes"; then
54288    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54289$as_echo_n "checking for ld version... " >&6; }
54290
54291    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54292      glibcxx_ld_is_gold=yes
54293    fi
54294    ldver=`$LD --version 2>/dev/null |
54295	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54296
54297    glibcxx_gnu_ld_version=`echo $ldver | \
54298	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54299    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54300$as_echo "$glibcxx_gnu_ld_version" >&6; }
54301  fi
54302
54303  # Set --gc-sections.
54304  glibcxx_have_gc_sections=no
54305  if test "$glibcxx_ld_is_gold" = "yes"; then
54306    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54307      glibcxx_have_gc_sections=yes
54308    fi
54309  else
54310    glibcxx_gcsections_min_ld=21602
54311    if test x"$with_gnu_ld" = x"yes" &&
54312	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54313      glibcxx_have_gc_sections=yes
54314    fi
54315  fi
54316  if test "$glibcxx_have_gc_sections" = "yes"; then
54317    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54318    # NB: This flag only works reliably after 2.16.1. Configure tests
54319    # for this are difficult, so hard wire a value that should work.
54320
54321    ac_test_CFLAGS="${CFLAGS+set}"
54322    ac_save_CFLAGS="$CFLAGS"
54323    CFLAGS='-Wl,--gc-sections'
54324
54325    # Check for -Wl,--gc-sections
54326    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54327$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54328    if test x$gcc_no_link = xyes; then
54329  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54330fi
54331cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54332/* end confdefs.h.  */
54333 int one(void) { return 1; }
54334     int two(void) { return 2; }
54335
54336int
54337main ()
54338{
54339 two();
54340  ;
54341  return 0;
54342}
54343_ACEOF
54344if ac_fn_c_try_link "$LINENO"; then :
54345  ac_gcsections=yes
54346else
54347  ac_gcsections=no
54348fi
54349rm -f core conftest.err conftest.$ac_objext \
54350    conftest$ac_exeext conftest.$ac_ext
54351    if test "$ac_gcsections" = "yes"; then
54352      rm -f conftest.c
54353      touch conftest.c
54354      if $CC -c conftest.c; then
54355	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54356	   grep "Warning: gc-sections option ignored" > /dev/null; then
54357	  ac_gcsections=no
54358	fi
54359      fi
54360      rm -f conftest.c conftest.o conftest
54361    fi
54362    if test "$ac_gcsections" = "yes"; then
54363      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54364    fi
54365    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54366$as_echo "$ac_gcsections" >&6; }
54367
54368    if test "$ac_test_CFLAGS" = set; then
54369      CFLAGS="$ac_save_CFLAGS"
54370    else
54371      # this is the suspicious part
54372      CFLAGS=''
54373    fi
54374  fi
54375
54376  # Set -z,relro.
54377  # Note this is only for shared objects.
54378  ac_ld_relro=no
54379  if test x"$with_gnu_ld" = x"yes"; then
54380    # cygwin and mingw uses PE, which has no ELF relro support,
54381    # multi target ld may confuse configure machinery
54382    case "$host" in
54383    *-*-cygwin*)
54384     ;;
54385    *-*-mingw*)
54386     ;;
54387    *)
54388      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54389$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54390      cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54391      if test -n "$cxx_z_relo"; then
54392        OPT_LDFLAGS="-Wl,-z,relro"
54393        ac_ld_relro=yes
54394      fi
54395      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54396$as_echo "$ac_ld_relro" >&6; }
54397    esac
54398  fi
54399
54400  # Set linker optimization flags.
54401  if test x"$with_gnu_ld" = x"yes"; then
54402    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54403  fi
54404
54405
54406
54407
54408
54409  ac_test_CXXFLAGS="${CXXFLAGS+set}"
54410  ac_save_CXXFLAGS="$CXXFLAGS"
54411  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54412
54413    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54414$as_echo_n "checking for sin in -lm... " >&6; }
54415if ${ac_cv_lib_m_sin+:} false; then :
54416  $as_echo_n "(cached) " >&6
54417else
54418  ac_check_lib_save_LIBS=$LIBS
54419LIBS="-lm  $LIBS"
54420if test x$gcc_no_link = xyes; then
54421  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54422fi
54423cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54424/* end confdefs.h.  */
54425
54426/* Override any GCC internal prototype to avoid an error.
54427   Use char because int might match the return type of a GCC
54428   builtin and then its argument prototype would still apply.  */
54429#ifdef __cplusplus
54430extern "C"
54431#endif
54432char sin ();
54433int
54434main ()
54435{
54436return sin ();
54437  ;
54438  return 0;
54439}
54440_ACEOF
54441if ac_fn_c_try_link "$LINENO"; then :
54442  ac_cv_lib_m_sin=yes
54443else
54444  ac_cv_lib_m_sin=no
54445fi
54446rm -f core conftest.err conftest.$ac_objext \
54447    conftest$ac_exeext conftest.$ac_ext
54448LIBS=$ac_check_lib_save_LIBS
54449fi
54450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54451$as_echo "$ac_cv_lib_m_sin" >&6; }
54452if test "x$ac_cv_lib_m_sin" = xyes; then :
54453  libm="-lm"
54454fi
54455
54456  ac_save_LIBS="$LIBS"
54457  LIBS="$LIBS $libm"
54458
54459
54460
54461  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54462$as_echo_n "checking for isinf declaration... " >&6; }
54463  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54464    if ${glibcxx_cv_func_isinf_use+:} false; then :
54465  $as_echo_n "(cached) " >&6
54466else
54467
54468
54469      ac_ext=cpp
54470ac_cpp='$CXXCPP $CPPFLAGS'
54471ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54472ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54473ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54474
54475      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54476/* end confdefs.h.  */
54477#include <math.h>
54478		      #ifdef HAVE_IEEEFP_H
54479		      #include <ieeefp.h>
54480		      #endif
54481
54482int
54483main ()
54484{
54485 isinf(0);
54486  ;
54487  return 0;
54488}
54489_ACEOF
54490if ac_fn_cxx_try_compile "$LINENO"; then :
54491  glibcxx_cv_func_isinf_use=yes
54492else
54493  glibcxx_cv_func_isinf_use=no
54494fi
54495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54496      ac_ext=c
54497ac_cpp='$CPP $CPPFLAGS'
54498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54500ac_compiler_gnu=$ac_cv_c_compiler_gnu
54501
54502
54503fi
54504
54505  fi
54506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54507$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54508
54509  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54510    for ac_func in isinf
54511do :
54512  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54513if test "x$ac_cv_func_isinf" = xyes; then :
54514  cat >>confdefs.h <<_ACEOF
54515#define HAVE_ISINF 1
54516_ACEOF
54517
54518fi
54519done
54520
54521  else
54522
54523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54524$as_echo_n "checking for _isinf declaration... " >&6; }
54525  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54526    if ${glibcxx_cv_func__isinf_use+:} false; then :
54527  $as_echo_n "(cached) " >&6
54528else
54529
54530
54531      ac_ext=cpp
54532ac_cpp='$CXXCPP $CPPFLAGS'
54533ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54536
54537      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54538/* end confdefs.h.  */
54539#include <math.h>
54540		      #ifdef HAVE_IEEEFP_H
54541		      #include <ieeefp.h>
54542		      #endif
54543
54544int
54545main ()
54546{
54547 _isinf(0);
54548  ;
54549  return 0;
54550}
54551_ACEOF
54552if ac_fn_cxx_try_compile "$LINENO"; then :
54553  glibcxx_cv_func__isinf_use=yes
54554else
54555  glibcxx_cv_func__isinf_use=no
54556fi
54557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54558      ac_ext=c
54559ac_cpp='$CPP $CPPFLAGS'
54560ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54561ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54562ac_compiler_gnu=$ac_cv_c_compiler_gnu
54563
54564
54565fi
54566
54567  fi
54568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54569$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54570
54571    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54572      for ac_func in _isinf
54573do :
54574  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54575if test "x$ac_cv_func__isinf" = xyes; then :
54576  cat >>confdefs.h <<_ACEOF
54577#define HAVE__ISINF 1
54578_ACEOF
54579
54580fi
54581done
54582
54583    fi
54584  fi
54585
54586
54587
54588
54589
54590  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54591$as_echo_n "checking for isnan declaration... " >&6; }
54592  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54593    if ${glibcxx_cv_func_isnan_use+:} false; then :
54594  $as_echo_n "(cached) " >&6
54595else
54596
54597
54598      ac_ext=cpp
54599ac_cpp='$CXXCPP $CPPFLAGS'
54600ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54601ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54602ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54603
54604      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54605/* end confdefs.h.  */
54606#include <math.h>
54607		      #ifdef HAVE_IEEEFP_H
54608		      #include <ieeefp.h>
54609		      #endif
54610
54611int
54612main ()
54613{
54614 isnan(0);
54615  ;
54616  return 0;
54617}
54618_ACEOF
54619if ac_fn_cxx_try_compile "$LINENO"; then :
54620  glibcxx_cv_func_isnan_use=yes
54621else
54622  glibcxx_cv_func_isnan_use=no
54623fi
54624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54625      ac_ext=c
54626ac_cpp='$CPP $CPPFLAGS'
54627ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54628ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54629ac_compiler_gnu=$ac_cv_c_compiler_gnu
54630
54631
54632fi
54633
54634  fi
54635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54636$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54637
54638  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54639    for ac_func in isnan
54640do :
54641  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54642if test "x$ac_cv_func_isnan" = xyes; then :
54643  cat >>confdefs.h <<_ACEOF
54644#define HAVE_ISNAN 1
54645_ACEOF
54646
54647fi
54648done
54649
54650  else
54651
54652  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54653$as_echo_n "checking for _isnan declaration... " >&6; }
54654  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54655    if ${glibcxx_cv_func__isnan_use+:} false; then :
54656  $as_echo_n "(cached) " >&6
54657else
54658
54659
54660      ac_ext=cpp
54661ac_cpp='$CXXCPP $CPPFLAGS'
54662ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54663ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54664ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54665
54666      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54667/* end confdefs.h.  */
54668#include <math.h>
54669		      #ifdef HAVE_IEEEFP_H
54670		      #include <ieeefp.h>
54671		      #endif
54672
54673int
54674main ()
54675{
54676 _isnan(0);
54677  ;
54678  return 0;
54679}
54680_ACEOF
54681if ac_fn_cxx_try_compile "$LINENO"; then :
54682  glibcxx_cv_func__isnan_use=yes
54683else
54684  glibcxx_cv_func__isnan_use=no
54685fi
54686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54687      ac_ext=c
54688ac_cpp='$CPP $CPPFLAGS'
54689ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54690ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54691ac_compiler_gnu=$ac_cv_c_compiler_gnu
54692
54693
54694fi
54695
54696  fi
54697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54698$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54699
54700    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54701      for ac_func in _isnan
54702do :
54703  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54704if test "x$ac_cv_func__isnan" = xyes; then :
54705  cat >>confdefs.h <<_ACEOF
54706#define HAVE__ISNAN 1
54707_ACEOF
54708
54709fi
54710done
54711
54712    fi
54713  fi
54714
54715
54716
54717
54718
54719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54720$as_echo_n "checking for finite declaration... " >&6; }
54721  if test x${glibcxx_cv_func_finite_use+set} != xset; then
54722    if ${glibcxx_cv_func_finite_use+:} false; then :
54723  $as_echo_n "(cached) " >&6
54724else
54725
54726
54727      ac_ext=cpp
54728ac_cpp='$CXXCPP $CPPFLAGS'
54729ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54730ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54731ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54732
54733      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54734/* end confdefs.h.  */
54735#include <math.h>
54736		      #ifdef HAVE_IEEEFP_H
54737		      #include <ieeefp.h>
54738		      #endif
54739
54740int
54741main ()
54742{
54743 finite(0);
54744  ;
54745  return 0;
54746}
54747_ACEOF
54748if ac_fn_cxx_try_compile "$LINENO"; then :
54749  glibcxx_cv_func_finite_use=yes
54750else
54751  glibcxx_cv_func_finite_use=no
54752fi
54753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54754      ac_ext=c
54755ac_cpp='$CPP $CPPFLAGS'
54756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54758ac_compiler_gnu=$ac_cv_c_compiler_gnu
54759
54760
54761fi
54762
54763  fi
54764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54765$as_echo "$glibcxx_cv_func_finite_use" >&6; }
54766
54767  if test x$glibcxx_cv_func_finite_use = x"yes"; then
54768    for ac_func in finite
54769do :
54770  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54771if test "x$ac_cv_func_finite" = xyes; then :
54772  cat >>confdefs.h <<_ACEOF
54773#define HAVE_FINITE 1
54774_ACEOF
54775
54776fi
54777done
54778
54779  else
54780
54781  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54782$as_echo_n "checking for _finite declaration... " >&6; }
54783  if test x${glibcxx_cv_func__finite_use+set} != xset; then
54784    if ${glibcxx_cv_func__finite_use+:} false; then :
54785  $as_echo_n "(cached) " >&6
54786else
54787
54788
54789      ac_ext=cpp
54790ac_cpp='$CXXCPP $CPPFLAGS'
54791ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54792ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54793ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54794
54795      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54796/* end confdefs.h.  */
54797#include <math.h>
54798		      #ifdef HAVE_IEEEFP_H
54799		      #include <ieeefp.h>
54800		      #endif
54801
54802int
54803main ()
54804{
54805 _finite(0);
54806  ;
54807  return 0;
54808}
54809_ACEOF
54810if ac_fn_cxx_try_compile "$LINENO"; then :
54811  glibcxx_cv_func__finite_use=yes
54812else
54813  glibcxx_cv_func__finite_use=no
54814fi
54815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54816      ac_ext=c
54817ac_cpp='$CPP $CPPFLAGS'
54818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54820ac_compiler_gnu=$ac_cv_c_compiler_gnu
54821
54822
54823fi
54824
54825  fi
54826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54827$as_echo "$glibcxx_cv_func__finite_use" >&6; }
54828
54829    if test x$glibcxx_cv_func__finite_use = x"yes"; then
54830      for ac_func in _finite
54831do :
54832  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54833if test "x$ac_cv_func__finite" = xyes; then :
54834  cat >>confdefs.h <<_ACEOF
54835#define HAVE__FINITE 1
54836_ACEOF
54837
54838fi
54839done
54840
54841    fi
54842  fi
54843
54844
54845
54846
54847
54848  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54849$as_echo_n "checking for sincos declaration... " >&6; }
54850  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54851    if ${glibcxx_cv_func_sincos_use+:} false; then :
54852  $as_echo_n "(cached) " >&6
54853else
54854
54855
54856      ac_ext=cpp
54857ac_cpp='$CXXCPP $CPPFLAGS'
54858ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54859ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54860ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54861
54862      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54863/* end confdefs.h.  */
54864#include <math.h>
54865int
54866main ()
54867{
54868 sincos(0, 0, 0);
54869  ;
54870  return 0;
54871}
54872_ACEOF
54873if ac_fn_cxx_try_compile "$LINENO"; then :
54874  glibcxx_cv_func_sincos_use=yes
54875else
54876  glibcxx_cv_func_sincos_use=no
54877fi
54878rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54879      ac_ext=c
54880ac_cpp='$CPP $CPPFLAGS'
54881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54883ac_compiler_gnu=$ac_cv_c_compiler_gnu
54884
54885
54886fi
54887
54888  fi
54889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54890$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54891
54892  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54893    for ac_func in sincos
54894do :
54895  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54896if test "x$ac_cv_func_sincos" = xyes; then :
54897  cat >>confdefs.h <<_ACEOF
54898#define HAVE_SINCOS 1
54899_ACEOF
54900
54901fi
54902done
54903
54904  else
54905
54906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54907$as_echo_n "checking for _sincos declaration... " >&6; }
54908  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54909    if ${glibcxx_cv_func__sincos_use+:} false; then :
54910  $as_echo_n "(cached) " >&6
54911else
54912
54913
54914      ac_ext=cpp
54915ac_cpp='$CXXCPP $CPPFLAGS'
54916ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54917ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54918ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54919
54920      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54921/* end confdefs.h.  */
54922#include <math.h>
54923int
54924main ()
54925{
54926 _sincos(0, 0, 0);
54927  ;
54928  return 0;
54929}
54930_ACEOF
54931if ac_fn_cxx_try_compile "$LINENO"; then :
54932  glibcxx_cv_func__sincos_use=yes
54933else
54934  glibcxx_cv_func__sincos_use=no
54935fi
54936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54937      ac_ext=c
54938ac_cpp='$CPP $CPPFLAGS'
54939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54941ac_compiler_gnu=$ac_cv_c_compiler_gnu
54942
54943
54944fi
54945
54946  fi
54947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54948$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54949
54950    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54951      for ac_func in _sincos
54952do :
54953  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54954if test "x$ac_cv_func__sincos" = xyes; then :
54955  cat >>confdefs.h <<_ACEOF
54956#define HAVE__SINCOS 1
54957_ACEOF
54958
54959fi
54960done
54961
54962    fi
54963  fi
54964
54965
54966
54967
54968
54969  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54970$as_echo_n "checking for fpclass declaration... " >&6; }
54971  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54972    if ${glibcxx_cv_func_fpclass_use+:} false; then :
54973  $as_echo_n "(cached) " >&6
54974else
54975
54976
54977      ac_ext=cpp
54978ac_cpp='$CXXCPP $CPPFLAGS'
54979ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54980ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54981ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54982
54983      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54984/* end confdefs.h.  */
54985#include <math.h>
54986		      #ifdef HAVE_IEEEFP_H
54987		      #include <ieeefp.h>
54988		      #endif
54989
54990int
54991main ()
54992{
54993 fpclass(0);
54994  ;
54995  return 0;
54996}
54997_ACEOF
54998if ac_fn_cxx_try_compile "$LINENO"; then :
54999  glibcxx_cv_func_fpclass_use=yes
55000else
55001  glibcxx_cv_func_fpclass_use=no
55002fi
55003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55004      ac_ext=c
55005ac_cpp='$CPP $CPPFLAGS'
55006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55008ac_compiler_gnu=$ac_cv_c_compiler_gnu
55009
55010
55011fi
55012
55013  fi
55014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55015$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55016
55017  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55018    for ac_func in fpclass
55019do :
55020  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55021if test "x$ac_cv_func_fpclass" = xyes; then :
55022  cat >>confdefs.h <<_ACEOF
55023#define HAVE_FPCLASS 1
55024_ACEOF
55025
55026fi
55027done
55028
55029  else
55030
55031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55032$as_echo_n "checking for _fpclass declaration... " >&6; }
55033  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55034    if ${glibcxx_cv_func__fpclass_use+:} false; then :
55035  $as_echo_n "(cached) " >&6
55036else
55037
55038
55039      ac_ext=cpp
55040ac_cpp='$CXXCPP $CPPFLAGS'
55041ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55042ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55043ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55044
55045      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55046/* end confdefs.h.  */
55047#include <math.h>
55048		      #ifdef HAVE_IEEEFP_H
55049		      #include <ieeefp.h>
55050		      #endif
55051
55052int
55053main ()
55054{
55055 _fpclass(0);
55056  ;
55057  return 0;
55058}
55059_ACEOF
55060if ac_fn_cxx_try_compile "$LINENO"; then :
55061  glibcxx_cv_func__fpclass_use=yes
55062else
55063  glibcxx_cv_func__fpclass_use=no
55064fi
55065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55066      ac_ext=c
55067ac_cpp='$CPP $CPPFLAGS'
55068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55070ac_compiler_gnu=$ac_cv_c_compiler_gnu
55071
55072
55073fi
55074
55075  fi
55076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55077$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55078
55079    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55080      for ac_func in _fpclass
55081do :
55082  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55083if test "x$ac_cv_func__fpclass" = xyes; then :
55084  cat >>confdefs.h <<_ACEOF
55085#define HAVE__FPCLASS 1
55086_ACEOF
55087
55088fi
55089done
55090
55091    fi
55092  fi
55093
55094
55095
55096
55097
55098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55099$as_echo_n "checking for qfpclass declaration... " >&6; }
55100  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55101    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55102  $as_echo_n "(cached) " >&6
55103else
55104
55105
55106      ac_ext=cpp
55107ac_cpp='$CXXCPP $CPPFLAGS'
55108ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55109ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55110ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55111
55112      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55113/* end confdefs.h.  */
55114#include <math.h>
55115		      #ifdef HAVE_IEEEFP_H
55116		      #include <ieeefp.h>
55117		      #endif
55118
55119int
55120main ()
55121{
55122 qfpclass(0);
55123  ;
55124  return 0;
55125}
55126_ACEOF
55127if ac_fn_cxx_try_compile "$LINENO"; then :
55128  glibcxx_cv_func_qfpclass_use=yes
55129else
55130  glibcxx_cv_func_qfpclass_use=no
55131fi
55132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55133      ac_ext=c
55134ac_cpp='$CPP $CPPFLAGS'
55135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55137ac_compiler_gnu=$ac_cv_c_compiler_gnu
55138
55139
55140fi
55141
55142  fi
55143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55144$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55145
55146  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55147    for ac_func in qfpclass
55148do :
55149  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55150if test "x$ac_cv_func_qfpclass" = xyes; then :
55151  cat >>confdefs.h <<_ACEOF
55152#define HAVE_QFPCLASS 1
55153_ACEOF
55154
55155fi
55156done
55157
55158  else
55159
55160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55161$as_echo_n "checking for _qfpclass declaration... " >&6; }
55162  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55163    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55164  $as_echo_n "(cached) " >&6
55165else
55166
55167
55168      ac_ext=cpp
55169ac_cpp='$CXXCPP $CPPFLAGS'
55170ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55171ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55172ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55173
55174      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55175/* end confdefs.h.  */
55176#include <math.h>
55177		      #ifdef HAVE_IEEEFP_H
55178		      #include <ieeefp.h>
55179		      #endif
55180
55181int
55182main ()
55183{
55184 _qfpclass(0);
55185  ;
55186  return 0;
55187}
55188_ACEOF
55189if ac_fn_cxx_try_compile "$LINENO"; then :
55190  glibcxx_cv_func__qfpclass_use=yes
55191else
55192  glibcxx_cv_func__qfpclass_use=no
55193fi
55194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55195      ac_ext=c
55196ac_cpp='$CPP $CPPFLAGS'
55197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55199ac_compiler_gnu=$ac_cv_c_compiler_gnu
55200
55201
55202fi
55203
55204  fi
55205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55206$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55207
55208    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55209      for ac_func in _qfpclass
55210do :
55211  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55212if test "x$ac_cv_func__qfpclass" = xyes; then :
55213  cat >>confdefs.h <<_ACEOF
55214#define HAVE__QFPCLASS 1
55215_ACEOF
55216
55217fi
55218done
55219
55220    fi
55221  fi
55222
55223
55224
55225
55226
55227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55228$as_echo_n "checking for hypot declaration... " >&6; }
55229  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55230    if ${glibcxx_cv_func_hypot_use+:} false; then :
55231  $as_echo_n "(cached) " >&6
55232else
55233
55234
55235      ac_ext=cpp
55236ac_cpp='$CXXCPP $CPPFLAGS'
55237ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55238ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55239ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55240
55241      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55242/* end confdefs.h.  */
55243#include <math.h>
55244int
55245main ()
55246{
55247 hypot(0, 0);
55248  ;
55249  return 0;
55250}
55251_ACEOF
55252if ac_fn_cxx_try_compile "$LINENO"; then :
55253  glibcxx_cv_func_hypot_use=yes
55254else
55255  glibcxx_cv_func_hypot_use=no
55256fi
55257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55258      ac_ext=c
55259ac_cpp='$CPP $CPPFLAGS'
55260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55262ac_compiler_gnu=$ac_cv_c_compiler_gnu
55263
55264
55265fi
55266
55267  fi
55268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55269$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55270
55271  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55272    for ac_func in hypot
55273do :
55274  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55275if test "x$ac_cv_func_hypot" = xyes; then :
55276  cat >>confdefs.h <<_ACEOF
55277#define HAVE_HYPOT 1
55278_ACEOF
55279
55280fi
55281done
55282
55283  else
55284
55285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55286$as_echo_n "checking for _hypot declaration... " >&6; }
55287  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55288    if ${glibcxx_cv_func__hypot_use+:} false; then :
55289  $as_echo_n "(cached) " >&6
55290else
55291
55292
55293      ac_ext=cpp
55294ac_cpp='$CXXCPP $CPPFLAGS'
55295ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55296ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55297ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55298
55299      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55300/* end confdefs.h.  */
55301#include <math.h>
55302int
55303main ()
55304{
55305 _hypot(0, 0);
55306  ;
55307  return 0;
55308}
55309_ACEOF
55310if ac_fn_cxx_try_compile "$LINENO"; then :
55311  glibcxx_cv_func__hypot_use=yes
55312else
55313  glibcxx_cv_func__hypot_use=no
55314fi
55315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55316      ac_ext=c
55317ac_cpp='$CPP $CPPFLAGS'
55318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55320ac_compiler_gnu=$ac_cv_c_compiler_gnu
55321
55322
55323fi
55324
55325  fi
55326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55327$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55328
55329    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55330      for ac_func in _hypot
55331do :
55332  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55333if test "x$ac_cv_func__hypot" = xyes; then :
55334  cat >>confdefs.h <<_ACEOF
55335#define HAVE__HYPOT 1
55336_ACEOF
55337
55338fi
55339done
55340
55341    fi
55342  fi
55343
55344
55345
55346
55347
55348    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55349$as_echo_n "checking for float trig functions... " >&6; }
55350  if ${glibcxx_cv_func_float_trig_use+:} false; then :
55351  $as_echo_n "(cached) " >&6
55352else
55353
55354
55355    ac_ext=cpp
55356ac_cpp='$CXXCPP $CPPFLAGS'
55357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55360
55361    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55362/* end confdefs.h.  */
55363#include <math.h>
55364int
55365main ()
55366{
55367acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55368  ;
55369  return 0;
55370}
55371_ACEOF
55372if ac_fn_cxx_try_compile "$LINENO"; then :
55373  glibcxx_cv_func_float_trig_use=yes
55374else
55375  glibcxx_cv_func_float_trig_use=no
55376fi
55377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55378    ac_ext=c
55379ac_cpp='$CPP $CPPFLAGS'
55380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55382ac_compiler_gnu=$ac_cv_c_compiler_gnu
55383
55384fi
55385
55386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55387$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55388  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55389    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55390do :
55391  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55392ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55393if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55394  cat >>confdefs.h <<_ACEOF
55395#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55396_ACEOF
55397
55398fi
55399done
55400
55401  else
55402    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55403$as_echo_n "checking for _float trig functions... " >&6; }
55404    if ${glibcxx_cv_func__float_trig_use+:} false; then :
55405  $as_echo_n "(cached) " >&6
55406else
55407
55408
55409      ac_ext=cpp
55410ac_cpp='$CXXCPP $CPPFLAGS'
55411ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55412ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55413ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55414
55415      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55416/* end confdefs.h.  */
55417#include <math.h>
55418int
55419main ()
55420{
55421_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55422  ;
55423  return 0;
55424}
55425_ACEOF
55426if ac_fn_cxx_try_compile "$LINENO"; then :
55427  glibcxx_cv_func__float_trig_use=yes
55428else
55429  glibcxx_cv_func__float_trig_use=no
55430fi
55431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55432      ac_ext=c
55433ac_cpp='$CPP $CPPFLAGS'
55434ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55435ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55436ac_compiler_gnu=$ac_cv_c_compiler_gnu
55437
55438fi
55439
55440    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55441$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55442    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55443      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55444do :
55445  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55446ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55447if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55448  cat >>confdefs.h <<_ACEOF
55449#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55450_ACEOF
55451
55452fi
55453done
55454
55455    fi
55456  fi
55457
55458
55459
55460
55461
55462    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55463$as_echo_n "checking for float round functions... " >&6; }
55464  if ${glibcxx_cv_func_float_round_use+:} false; then :
55465  $as_echo_n "(cached) " >&6
55466else
55467
55468
55469    ac_ext=cpp
55470ac_cpp='$CXXCPP $CPPFLAGS'
55471ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55472ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55473ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55474
55475    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55476/* end confdefs.h.  */
55477#include <math.h>
55478int
55479main ()
55480{
55481ceilf (0); floorf (0);
55482  ;
55483  return 0;
55484}
55485_ACEOF
55486if ac_fn_cxx_try_compile "$LINENO"; then :
55487  glibcxx_cv_func_float_round_use=yes
55488else
55489  glibcxx_cv_func_float_round_use=no
55490fi
55491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55492    ac_ext=c
55493ac_cpp='$CPP $CPPFLAGS'
55494ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496ac_compiler_gnu=$ac_cv_c_compiler_gnu
55497
55498fi
55499
55500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55501$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55502  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55503    for ac_func in ceilf floorf
55504do :
55505  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55506ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55507if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55508  cat >>confdefs.h <<_ACEOF
55509#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55510_ACEOF
55511
55512fi
55513done
55514
55515  else
55516    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55517$as_echo_n "checking for _float round functions... " >&6; }
55518    if ${glibcxx_cv_func__float_round_use+:} false; then :
55519  $as_echo_n "(cached) " >&6
55520else
55521
55522
55523      ac_ext=cpp
55524ac_cpp='$CXXCPP $CPPFLAGS'
55525ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55526ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55527ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55528
55529      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55530/* end confdefs.h.  */
55531#include <math.h>
55532int
55533main ()
55534{
55535_ceilf (0); _floorf (0);
55536  ;
55537  return 0;
55538}
55539_ACEOF
55540if ac_fn_cxx_try_compile "$LINENO"; then :
55541  glibcxx_cv_func__float_round_use=yes
55542else
55543  glibcxx_cv_func__float_round_use=no
55544fi
55545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55546      ac_ext=c
55547ac_cpp='$CPP $CPPFLAGS'
55548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55550ac_compiler_gnu=$ac_cv_c_compiler_gnu
55551
55552fi
55553
55554    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55555$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55556    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55557      for ac_func in _ceilf _floorf
55558do :
55559  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55560ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55561if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55562  cat >>confdefs.h <<_ACEOF
55563#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55564_ACEOF
55565
55566fi
55567done
55568
55569    fi
55570  fi
55571
55572
55573
55574
55575
55576
55577  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55578$as_echo_n "checking for expf declaration... " >&6; }
55579  if test x${glibcxx_cv_func_expf_use+set} != xset; then
55580    if ${glibcxx_cv_func_expf_use+:} false; then :
55581  $as_echo_n "(cached) " >&6
55582else
55583
55584
55585      ac_ext=cpp
55586ac_cpp='$CXXCPP $CPPFLAGS'
55587ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55588ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55589ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55590
55591      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55592/* end confdefs.h.  */
55593#include <math.h>
55594		      #ifdef HAVE_IEEEFP_H
55595		      #include <ieeefp.h>
55596		      #endif
55597
55598int
55599main ()
55600{
55601 expf(0);
55602  ;
55603  return 0;
55604}
55605_ACEOF
55606if ac_fn_cxx_try_compile "$LINENO"; then :
55607  glibcxx_cv_func_expf_use=yes
55608else
55609  glibcxx_cv_func_expf_use=no
55610fi
55611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55612      ac_ext=c
55613ac_cpp='$CPP $CPPFLAGS'
55614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616ac_compiler_gnu=$ac_cv_c_compiler_gnu
55617
55618
55619fi
55620
55621  fi
55622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55623$as_echo "$glibcxx_cv_func_expf_use" >&6; }
55624
55625  if test x$glibcxx_cv_func_expf_use = x"yes"; then
55626    for ac_func in expf
55627do :
55628  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55629if test "x$ac_cv_func_expf" = xyes; then :
55630  cat >>confdefs.h <<_ACEOF
55631#define HAVE_EXPF 1
55632_ACEOF
55633
55634fi
55635done
55636
55637  else
55638
55639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55640$as_echo_n "checking for _expf declaration... " >&6; }
55641  if test x${glibcxx_cv_func__expf_use+set} != xset; then
55642    if ${glibcxx_cv_func__expf_use+:} false; then :
55643  $as_echo_n "(cached) " >&6
55644else
55645
55646
55647      ac_ext=cpp
55648ac_cpp='$CXXCPP $CPPFLAGS'
55649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55652
55653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55654/* end confdefs.h.  */
55655#include <math.h>
55656		      #ifdef HAVE_IEEEFP_H
55657		      #include <ieeefp.h>
55658		      #endif
55659
55660int
55661main ()
55662{
55663 _expf(0);
55664  ;
55665  return 0;
55666}
55667_ACEOF
55668if ac_fn_cxx_try_compile "$LINENO"; then :
55669  glibcxx_cv_func__expf_use=yes
55670else
55671  glibcxx_cv_func__expf_use=no
55672fi
55673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55674      ac_ext=c
55675ac_cpp='$CPP $CPPFLAGS'
55676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55678ac_compiler_gnu=$ac_cv_c_compiler_gnu
55679
55680
55681fi
55682
55683  fi
55684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55685$as_echo "$glibcxx_cv_func__expf_use" >&6; }
55686
55687    if test x$glibcxx_cv_func__expf_use = x"yes"; then
55688      for ac_func in _expf
55689do :
55690  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55691if test "x$ac_cv_func__expf" = xyes; then :
55692  cat >>confdefs.h <<_ACEOF
55693#define HAVE__EXPF 1
55694_ACEOF
55695
55696fi
55697done
55698
55699    fi
55700  fi
55701
55702
55703
55704
55705
55706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55707$as_echo_n "checking for isnanf declaration... " >&6; }
55708  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55709    if ${glibcxx_cv_func_isnanf_use+:} false; then :
55710  $as_echo_n "(cached) " >&6
55711else
55712
55713
55714      ac_ext=cpp
55715ac_cpp='$CXXCPP $CPPFLAGS'
55716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55719
55720      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55721/* end confdefs.h.  */
55722#include <math.h>
55723		      #ifdef HAVE_IEEEFP_H
55724		      #include <ieeefp.h>
55725		      #endif
55726
55727int
55728main ()
55729{
55730 isnanf(0);
55731  ;
55732  return 0;
55733}
55734_ACEOF
55735if ac_fn_cxx_try_compile "$LINENO"; then :
55736  glibcxx_cv_func_isnanf_use=yes
55737else
55738  glibcxx_cv_func_isnanf_use=no
55739fi
55740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55741      ac_ext=c
55742ac_cpp='$CPP $CPPFLAGS'
55743ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55744ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55745ac_compiler_gnu=$ac_cv_c_compiler_gnu
55746
55747
55748fi
55749
55750  fi
55751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55752$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55753
55754  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55755    for ac_func in isnanf
55756do :
55757  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55758if test "x$ac_cv_func_isnanf" = xyes; then :
55759  cat >>confdefs.h <<_ACEOF
55760#define HAVE_ISNANF 1
55761_ACEOF
55762
55763fi
55764done
55765
55766  else
55767
55768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55769$as_echo_n "checking for _isnanf declaration... " >&6; }
55770  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55771    if ${glibcxx_cv_func__isnanf_use+:} false; then :
55772  $as_echo_n "(cached) " >&6
55773else
55774
55775
55776      ac_ext=cpp
55777ac_cpp='$CXXCPP $CPPFLAGS'
55778ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55779ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55780ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55781
55782      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55783/* end confdefs.h.  */
55784#include <math.h>
55785		      #ifdef HAVE_IEEEFP_H
55786		      #include <ieeefp.h>
55787		      #endif
55788
55789int
55790main ()
55791{
55792 _isnanf(0);
55793  ;
55794  return 0;
55795}
55796_ACEOF
55797if ac_fn_cxx_try_compile "$LINENO"; then :
55798  glibcxx_cv_func__isnanf_use=yes
55799else
55800  glibcxx_cv_func__isnanf_use=no
55801fi
55802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55803      ac_ext=c
55804ac_cpp='$CPP $CPPFLAGS'
55805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55807ac_compiler_gnu=$ac_cv_c_compiler_gnu
55808
55809
55810fi
55811
55812  fi
55813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55814$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55815
55816    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55817      for ac_func in _isnanf
55818do :
55819  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55820if test "x$ac_cv_func__isnanf" = xyes; then :
55821  cat >>confdefs.h <<_ACEOF
55822#define HAVE__ISNANF 1
55823_ACEOF
55824
55825fi
55826done
55827
55828    fi
55829  fi
55830
55831
55832
55833
55834
55835  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55836$as_echo_n "checking for isinff declaration... " >&6; }
55837  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55838    if ${glibcxx_cv_func_isinff_use+:} false; then :
55839  $as_echo_n "(cached) " >&6
55840else
55841
55842
55843      ac_ext=cpp
55844ac_cpp='$CXXCPP $CPPFLAGS'
55845ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55846ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55847ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55848
55849      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55850/* end confdefs.h.  */
55851#include <math.h>
55852		      #ifdef HAVE_IEEEFP_H
55853		      #include <ieeefp.h>
55854		      #endif
55855
55856int
55857main ()
55858{
55859 isinff(0);
55860  ;
55861  return 0;
55862}
55863_ACEOF
55864if ac_fn_cxx_try_compile "$LINENO"; then :
55865  glibcxx_cv_func_isinff_use=yes
55866else
55867  glibcxx_cv_func_isinff_use=no
55868fi
55869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55870      ac_ext=c
55871ac_cpp='$CPP $CPPFLAGS'
55872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55874ac_compiler_gnu=$ac_cv_c_compiler_gnu
55875
55876
55877fi
55878
55879  fi
55880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55881$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55882
55883  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55884    for ac_func in isinff
55885do :
55886  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55887if test "x$ac_cv_func_isinff" = xyes; then :
55888  cat >>confdefs.h <<_ACEOF
55889#define HAVE_ISINFF 1
55890_ACEOF
55891
55892fi
55893done
55894
55895  else
55896
55897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55898$as_echo_n "checking for _isinff declaration... " >&6; }
55899  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55900    if ${glibcxx_cv_func__isinff_use+:} false; then :
55901  $as_echo_n "(cached) " >&6
55902else
55903
55904
55905      ac_ext=cpp
55906ac_cpp='$CXXCPP $CPPFLAGS'
55907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55910
55911      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55912/* end confdefs.h.  */
55913#include <math.h>
55914		      #ifdef HAVE_IEEEFP_H
55915		      #include <ieeefp.h>
55916		      #endif
55917
55918int
55919main ()
55920{
55921 _isinff(0);
55922  ;
55923  return 0;
55924}
55925_ACEOF
55926if ac_fn_cxx_try_compile "$LINENO"; then :
55927  glibcxx_cv_func__isinff_use=yes
55928else
55929  glibcxx_cv_func__isinff_use=no
55930fi
55931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55932      ac_ext=c
55933ac_cpp='$CPP $CPPFLAGS'
55934ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55935ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55936ac_compiler_gnu=$ac_cv_c_compiler_gnu
55937
55938
55939fi
55940
55941  fi
55942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55943$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55944
55945    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55946      for ac_func in _isinff
55947do :
55948  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55949if test "x$ac_cv_func__isinff" = xyes; then :
55950  cat >>confdefs.h <<_ACEOF
55951#define HAVE__ISINFF 1
55952_ACEOF
55953
55954fi
55955done
55956
55957    fi
55958  fi
55959
55960
55961
55962
55963
55964  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55965$as_echo_n "checking for atan2f declaration... " >&6; }
55966  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55967    if ${glibcxx_cv_func_atan2f_use+:} false; then :
55968  $as_echo_n "(cached) " >&6
55969else
55970
55971
55972      ac_ext=cpp
55973ac_cpp='$CXXCPP $CPPFLAGS'
55974ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55975ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55976ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55977
55978      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55979/* end confdefs.h.  */
55980#include <math.h>
55981int
55982main ()
55983{
55984 atan2f(0, 0);
55985  ;
55986  return 0;
55987}
55988_ACEOF
55989if ac_fn_cxx_try_compile "$LINENO"; then :
55990  glibcxx_cv_func_atan2f_use=yes
55991else
55992  glibcxx_cv_func_atan2f_use=no
55993fi
55994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55995      ac_ext=c
55996ac_cpp='$CPP $CPPFLAGS'
55997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55999ac_compiler_gnu=$ac_cv_c_compiler_gnu
56000
56001
56002fi
56003
56004  fi
56005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56006$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56007
56008  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56009    for ac_func in atan2f
56010do :
56011  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56012if test "x$ac_cv_func_atan2f" = xyes; then :
56013  cat >>confdefs.h <<_ACEOF
56014#define HAVE_ATAN2F 1
56015_ACEOF
56016
56017fi
56018done
56019
56020  else
56021
56022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56023$as_echo_n "checking for _atan2f declaration... " >&6; }
56024  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56025    if ${glibcxx_cv_func__atan2f_use+:} false; then :
56026  $as_echo_n "(cached) " >&6
56027else
56028
56029
56030      ac_ext=cpp
56031ac_cpp='$CXXCPP $CPPFLAGS'
56032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56035
56036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56037/* end confdefs.h.  */
56038#include <math.h>
56039int
56040main ()
56041{
56042 _atan2f(0, 0);
56043  ;
56044  return 0;
56045}
56046_ACEOF
56047if ac_fn_cxx_try_compile "$LINENO"; then :
56048  glibcxx_cv_func__atan2f_use=yes
56049else
56050  glibcxx_cv_func__atan2f_use=no
56051fi
56052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56053      ac_ext=c
56054ac_cpp='$CPP $CPPFLAGS'
56055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56057ac_compiler_gnu=$ac_cv_c_compiler_gnu
56058
56059
56060fi
56061
56062  fi
56063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56064$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56065
56066    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56067      for ac_func in _atan2f
56068do :
56069  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56070if test "x$ac_cv_func__atan2f" = xyes; then :
56071  cat >>confdefs.h <<_ACEOF
56072#define HAVE__ATAN2F 1
56073_ACEOF
56074
56075fi
56076done
56077
56078    fi
56079  fi
56080
56081
56082
56083
56084
56085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56086$as_echo_n "checking for fabsf declaration... " >&6; }
56087  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56088    if ${glibcxx_cv_func_fabsf_use+:} false; then :
56089  $as_echo_n "(cached) " >&6
56090else
56091
56092
56093      ac_ext=cpp
56094ac_cpp='$CXXCPP $CPPFLAGS'
56095ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56096ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56097ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56098
56099      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56100/* end confdefs.h.  */
56101#include <math.h>
56102		      #ifdef HAVE_IEEEFP_H
56103		      #include <ieeefp.h>
56104		      #endif
56105
56106int
56107main ()
56108{
56109 fabsf(0);
56110  ;
56111  return 0;
56112}
56113_ACEOF
56114if ac_fn_cxx_try_compile "$LINENO"; then :
56115  glibcxx_cv_func_fabsf_use=yes
56116else
56117  glibcxx_cv_func_fabsf_use=no
56118fi
56119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56120      ac_ext=c
56121ac_cpp='$CPP $CPPFLAGS'
56122ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56123ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56124ac_compiler_gnu=$ac_cv_c_compiler_gnu
56125
56126
56127fi
56128
56129  fi
56130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56131$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56132
56133  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56134    for ac_func in fabsf
56135do :
56136  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56137if test "x$ac_cv_func_fabsf" = xyes; then :
56138  cat >>confdefs.h <<_ACEOF
56139#define HAVE_FABSF 1
56140_ACEOF
56141
56142fi
56143done
56144
56145  else
56146
56147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56148$as_echo_n "checking for _fabsf declaration... " >&6; }
56149  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56150    if ${glibcxx_cv_func__fabsf_use+:} false; then :
56151  $as_echo_n "(cached) " >&6
56152else
56153
56154
56155      ac_ext=cpp
56156ac_cpp='$CXXCPP $CPPFLAGS'
56157ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56158ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56159ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56160
56161      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56162/* end confdefs.h.  */
56163#include <math.h>
56164		      #ifdef HAVE_IEEEFP_H
56165		      #include <ieeefp.h>
56166		      #endif
56167
56168int
56169main ()
56170{
56171 _fabsf(0);
56172  ;
56173  return 0;
56174}
56175_ACEOF
56176if ac_fn_cxx_try_compile "$LINENO"; then :
56177  glibcxx_cv_func__fabsf_use=yes
56178else
56179  glibcxx_cv_func__fabsf_use=no
56180fi
56181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56182      ac_ext=c
56183ac_cpp='$CPP $CPPFLAGS'
56184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56186ac_compiler_gnu=$ac_cv_c_compiler_gnu
56187
56188
56189fi
56190
56191  fi
56192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56193$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56194
56195    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56196      for ac_func in _fabsf
56197do :
56198  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56199if test "x$ac_cv_func__fabsf" = xyes; then :
56200  cat >>confdefs.h <<_ACEOF
56201#define HAVE__FABSF 1
56202_ACEOF
56203
56204fi
56205done
56206
56207    fi
56208  fi
56209
56210
56211
56212
56213
56214  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56215$as_echo_n "checking for fmodf declaration... " >&6; }
56216  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56217    if ${glibcxx_cv_func_fmodf_use+:} false; then :
56218  $as_echo_n "(cached) " >&6
56219else
56220
56221
56222      ac_ext=cpp
56223ac_cpp='$CXXCPP $CPPFLAGS'
56224ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56225ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56226ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56227
56228      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56229/* end confdefs.h.  */
56230#include <math.h>
56231int
56232main ()
56233{
56234 fmodf(0, 0);
56235  ;
56236  return 0;
56237}
56238_ACEOF
56239if ac_fn_cxx_try_compile "$LINENO"; then :
56240  glibcxx_cv_func_fmodf_use=yes
56241else
56242  glibcxx_cv_func_fmodf_use=no
56243fi
56244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56245      ac_ext=c
56246ac_cpp='$CPP $CPPFLAGS'
56247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56249ac_compiler_gnu=$ac_cv_c_compiler_gnu
56250
56251
56252fi
56253
56254  fi
56255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56256$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56257
56258  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56259    for ac_func in fmodf
56260do :
56261  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56262if test "x$ac_cv_func_fmodf" = xyes; then :
56263  cat >>confdefs.h <<_ACEOF
56264#define HAVE_FMODF 1
56265_ACEOF
56266
56267fi
56268done
56269
56270  else
56271
56272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56273$as_echo_n "checking for _fmodf declaration... " >&6; }
56274  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56275    if ${glibcxx_cv_func__fmodf_use+:} false; then :
56276  $as_echo_n "(cached) " >&6
56277else
56278
56279
56280      ac_ext=cpp
56281ac_cpp='$CXXCPP $CPPFLAGS'
56282ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56283ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56284ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56285
56286      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56287/* end confdefs.h.  */
56288#include <math.h>
56289int
56290main ()
56291{
56292 _fmodf(0, 0);
56293  ;
56294  return 0;
56295}
56296_ACEOF
56297if ac_fn_cxx_try_compile "$LINENO"; then :
56298  glibcxx_cv_func__fmodf_use=yes
56299else
56300  glibcxx_cv_func__fmodf_use=no
56301fi
56302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56303      ac_ext=c
56304ac_cpp='$CPP $CPPFLAGS'
56305ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56306ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56307ac_compiler_gnu=$ac_cv_c_compiler_gnu
56308
56309
56310fi
56311
56312  fi
56313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56314$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56315
56316    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56317      for ac_func in _fmodf
56318do :
56319  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56320if test "x$ac_cv_func__fmodf" = xyes; then :
56321  cat >>confdefs.h <<_ACEOF
56322#define HAVE__FMODF 1
56323_ACEOF
56324
56325fi
56326done
56327
56328    fi
56329  fi
56330
56331
56332
56333
56334
56335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56336$as_echo_n "checking for frexpf declaration... " >&6; }
56337  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56338    if ${glibcxx_cv_func_frexpf_use+:} false; then :
56339  $as_echo_n "(cached) " >&6
56340else
56341
56342
56343      ac_ext=cpp
56344ac_cpp='$CXXCPP $CPPFLAGS'
56345ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56346ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56347ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56348
56349      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56350/* end confdefs.h.  */
56351#include <math.h>
56352int
56353main ()
56354{
56355 frexpf(0, 0);
56356  ;
56357  return 0;
56358}
56359_ACEOF
56360if ac_fn_cxx_try_compile "$LINENO"; then :
56361  glibcxx_cv_func_frexpf_use=yes
56362else
56363  glibcxx_cv_func_frexpf_use=no
56364fi
56365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56366      ac_ext=c
56367ac_cpp='$CPP $CPPFLAGS'
56368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56370ac_compiler_gnu=$ac_cv_c_compiler_gnu
56371
56372
56373fi
56374
56375  fi
56376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56377$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56378
56379  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56380    for ac_func in frexpf
56381do :
56382  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56383if test "x$ac_cv_func_frexpf" = xyes; then :
56384  cat >>confdefs.h <<_ACEOF
56385#define HAVE_FREXPF 1
56386_ACEOF
56387
56388fi
56389done
56390
56391  else
56392
56393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56394$as_echo_n "checking for _frexpf declaration... " >&6; }
56395  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56396    if ${glibcxx_cv_func__frexpf_use+:} false; then :
56397  $as_echo_n "(cached) " >&6
56398else
56399
56400
56401      ac_ext=cpp
56402ac_cpp='$CXXCPP $CPPFLAGS'
56403ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56404ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56405ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56406
56407      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56408/* end confdefs.h.  */
56409#include <math.h>
56410int
56411main ()
56412{
56413 _frexpf(0, 0);
56414  ;
56415  return 0;
56416}
56417_ACEOF
56418if ac_fn_cxx_try_compile "$LINENO"; then :
56419  glibcxx_cv_func__frexpf_use=yes
56420else
56421  glibcxx_cv_func__frexpf_use=no
56422fi
56423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56424      ac_ext=c
56425ac_cpp='$CPP $CPPFLAGS'
56426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56428ac_compiler_gnu=$ac_cv_c_compiler_gnu
56429
56430
56431fi
56432
56433  fi
56434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56435$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56436
56437    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56438      for ac_func in _frexpf
56439do :
56440  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56441if test "x$ac_cv_func__frexpf" = xyes; then :
56442  cat >>confdefs.h <<_ACEOF
56443#define HAVE__FREXPF 1
56444_ACEOF
56445
56446fi
56447done
56448
56449    fi
56450  fi
56451
56452
56453
56454
56455
56456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56457$as_echo_n "checking for hypotf declaration... " >&6; }
56458  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56459    if ${glibcxx_cv_func_hypotf_use+:} false; then :
56460  $as_echo_n "(cached) " >&6
56461else
56462
56463
56464      ac_ext=cpp
56465ac_cpp='$CXXCPP $CPPFLAGS'
56466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56467ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56469
56470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56471/* end confdefs.h.  */
56472#include <math.h>
56473int
56474main ()
56475{
56476 hypotf(0, 0);
56477  ;
56478  return 0;
56479}
56480_ACEOF
56481if ac_fn_cxx_try_compile "$LINENO"; then :
56482  glibcxx_cv_func_hypotf_use=yes
56483else
56484  glibcxx_cv_func_hypotf_use=no
56485fi
56486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56487      ac_ext=c
56488ac_cpp='$CPP $CPPFLAGS'
56489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56491ac_compiler_gnu=$ac_cv_c_compiler_gnu
56492
56493
56494fi
56495
56496  fi
56497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56498$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56499
56500  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56501    for ac_func in hypotf
56502do :
56503  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56504if test "x$ac_cv_func_hypotf" = xyes; then :
56505  cat >>confdefs.h <<_ACEOF
56506#define HAVE_HYPOTF 1
56507_ACEOF
56508
56509fi
56510done
56511
56512  else
56513
56514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56515$as_echo_n "checking for _hypotf declaration... " >&6; }
56516  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56517    if ${glibcxx_cv_func__hypotf_use+:} false; then :
56518  $as_echo_n "(cached) " >&6
56519else
56520
56521
56522      ac_ext=cpp
56523ac_cpp='$CXXCPP $CPPFLAGS'
56524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56527
56528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56529/* end confdefs.h.  */
56530#include <math.h>
56531int
56532main ()
56533{
56534 _hypotf(0, 0);
56535  ;
56536  return 0;
56537}
56538_ACEOF
56539if ac_fn_cxx_try_compile "$LINENO"; then :
56540  glibcxx_cv_func__hypotf_use=yes
56541else
56542  glibcxx_cv_func__hypotf_use=no
56543fi
56544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56545      ac_ext=c
56546ac_cpp='$CPP $CPPFLAGS'
56547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56549ac_compiler_gnu=$ac_cv_c_compiler_gnu
56550
56551
56552fi
56553
56554  fi
56555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56556$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56557
56558    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56559      for ac_func in _hypotf
56560do :
56561  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56562if test "x$ac_cv_func__hypotf" = xyes; then :
56563  cat >>confdefs.h <<_ACEOF
56564#define HAVE__HYPOTF 1
56565_ACEOF
56566
56567fi
56568done
56569
56570    fi
56571  fi
56572
56573
56574
56575
56576
56577  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56578$as_echo_n "checking for ldexpf declaration... " >&6; }
56579  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56580    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56581  $as_echo_n "(cached) " >&6
56582else
56583
56584
56585      ac_ext=cpp
56586ac_cpp='$CXXCPP $CPPFLAGS'
56587ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56590
56591      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56592/* end confdefs.h.  */
56593#include <math.h>
56594int
56595main ()
56596{
56597 ldexpf(0, 0);
56598  ;
56599  return 0;
56600}
56601_ACEOF
56602if ac_fn_cxx_try_compile "$LINENO"; then :
56603  glibcxx_cv_func_ldexpf_use=yes
56604else
56605  glibcxx_cv_func_ldexpf_use=no
56606fi
56607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56608      ac_ext=c
56609ac_cpp='$CPP $CPPFLAGS'
56610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612ac_compiler_gnu=$ac_cv_c_compiler_gnu
56613
56614
56615fi
56616
56617  fi
56618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56619$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56620
56621  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56622    for ac_func in ldexpf
56623do :
56624  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56625if test "x$ac_cv_func_ldexpf" = xyes; then :
56626  cat >>confdefs.h <<_ACEOF
56627#define HAVE_LDEXPF 1
56628_ACEOF
56629
56630fi
56631done
56632
56633  else
56634
56635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56636$as_echo_n "checking for _ldexpf declaration... " >&6; }
56637  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56638    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56639  $as_echo_n "(cached) " >&6
56640else
56641
56642
56643      ac_ext=cpp
56644ac_cpp='$CXXCPP $CPPFLAGS'
56645ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56646ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56647ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56648
56649      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56650/* end confdefs.h.  */
56651#include <math.h>
56652int
56653main ()
56654{
56655 _ldexpf(0, 0);
56656  ;
56657  return 0;
56658}
56659_ACEOF
56660if ac_fn_cxx_try_compile "$LINENO"; then :
56661  glibcxx_cv_func__ldexpf_use=yes
56662else
56663  glibcxx_cv_func__ldexpf_use=no
56664fi
56665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56666      ac_ext=c
56667ac_cpp='$CPP $CPPFLAGS'
56668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56670ac_compiler_gnu=$ac_cv_c_compiler_gnu
56671
56672
56673fi
56674
56675  fi
56676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56677$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56678
56679    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56680      for ac_func in _ldexpf
56681do :
56682  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56683if test "x$ac_cv_func__ldexpf" = xyes; then :
56684  cat >>confdefs.h <<_ACEOF
56685#define HAVE__LDEXPF 1
56686_ACEOF
56687
56688fi
56689done
56690
56691    fi
56692  fi
56693
56694
56695
56696
56697
56698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56699$as_echo_n "checking for logf declaration... " >&6; }
56700  if test x${glibcxx_cv_func_logf_use+set} != xset; then
56701    if ${glibcxx_cv_func_logf_use+:} false; then :
56702  $as_echo_n "(cached) " >&6
56703else
56704
56705
56706      ac_ext=cpp
56707ac_cpp='$CXXCPP $CPPFLAGS'
56708ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56709ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56710ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56711
56712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56713/* end confdefs.h.  */
56714#include <math.h>
56715		      #ifdef HAVE_IEEEFP_H
56716		      #include <ieeefp.h>
56717		      #endif
56718
56719int
56720main ()
56721{
56722 logf(0);
56723  ;
56724  return 0;
56725}
56726_ACEOF
56727if ac_fn_cxx_try_compile "$LINENO"; then :
56728  glibcxx_cv_func_logf_use=yes
56729else
56730  glibcxx_cv_func_logf_use=no
56731fi
56732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56733      ac_ext=c
56734ac_cpp='$CPP $CPPFLAGS'
56735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56737ac_compiler_gnu=$ac_cv_c_compiler_gnu
56738
56739
56740fi
56741
56742  fi
56743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56744$as_echo "$glibcxx_cv_func_logf_use" >&6; }
56745
56746  if test x$glibcxx_cv_func_logf_use = x"yes"; then
56747    for ac_func in logf
56748do :
56749  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56750if test "x$ac_cv_func_logf" = xyes; then :
56751  cat >>confdefs.h <<_ACEOF
56752#define HAVE_LOGF 1
56753_ACEOF
56754
56755fi
56756done
56757
56758  else
56759
56760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56761$as_echo_n "checking for _logf declaration... " >&6; }
56762  if test x${glibcxx_cv_func__logf_use+set} != xset; then
56763    if ${glibcxx_cv_func__logf_use+:} false; then :
56764  $as_echo_n "(cached) " >&6
56765else
56766
56767
56768      ac_ext=cpp
56769ac_cpp='$CXXCPP $CPPFLAGS'
56770ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56771ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56772ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56773
56774      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56775/* end confdefs.h.  */
56776#include <math.h>
56777		      #ifdef HAVE_IEEEFP_H
56778		      #include <ieeefp.h>
56779		      #endif
56780
56781int
56782main ()
56783{
56784 _logf(0);
56785  ;
56786  return 0;
56787}
56788_ACEOF
56789if ac_fn_cxx_try_compile "$LINENO"; then :
56790  glibcxx_cv_func__logf_use=yes
56791else
56792  glibcxx_cv_func__logf_use=no
56793fi
56794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56795      ac_ext=c
56796ac_cpp='$CPP $CPPFLAGS'
56797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56799ac_compiler_gnu=$ac_cv_c_compiler_gnu
56800
56801
56802fi
56803
56804  fi
56805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56806$as_echo "$glibcxx_cv_func__logf_use" >&6; }
56807
56808    if test x$glibcxx_cv_func__logf_use = x"yes"; then
56809      for ac_func in _logf
56810do :
56811  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56812if test "x$ac_cv_func__logf" = xyes; then :
56813  cat >>confdefs.h <<_ACEOF
56814#define HAVE__LOGF 1
56815_ACEOF
56816
56817fi
56818done
56819
56820    fi
56821  fi
56822
56823
56824
56825
56826
56827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56828$as_echo_n "checking for log10f declaration... " >&6; }
56829  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56830    if ${glibcxx_cv_func_log10f_use+:} false; then :
56831  $as_echo_n "(cached) " >&6
56832else
56833
56834
56835      ac_ext=cpp
56836ac_cpp='$CXXCPP $CPPFLAGS'
56837ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56838ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56839ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56840
56841      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56842/* end confdefs.h.  */
56843#include <math.h>
56844		      #ifdef HAVE_IEEEFP_H
56845		      #include <ieeefp.h>
56846		      #endif
56847
56848int
56849main ()
56850{
56851 log10f(0);
56852  ;
56853  return 0;
56854}
56855_ACEOF
56856if ac_fn_cxx_try_compile "$LINENO"; then :
56857  glibcxx_cv_func_log10f_use=yes
56858else
56859  glibcxx_cv_func_log10f_use=no
56860fi
56861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56862      ac_ext=c
56863ac_cpp='$CPP $CPPFLAGS'
56864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56866ac_compiler_gnu=$ac_cv_c_compiler_gnu
56867
56868
56869fi
56870
56871  fi
56872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56873$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56874
56875  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56876    for ac_func in log10f
56877do :
56878  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56879if test "x$ac_cv_func_log10f" = xyes; then :
56880  cat >>confdefs.h <<_ACEOF
56881#define HAVE_LOG10F 1
56882_ACEOF
56883
56884fi
56885done
56886
56887  else
56888
56889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56890$as_echo_n "checking for _log10f declaration... " >&6; }
56891  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56892    if ${glibcxx_cv_func__log10f_use+:} false; then :
56893  $as_echo_n "(cached) " >&6
56894else
56895
56896
56897      ac_ext=cpp
56898ac_cpp='$CXXCPP $CPPFLAGS'
56899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56902
56903      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56904/* end confdefs.h.  */
56905#include <math.h>
56906		      #ifdef HAVE_IEEEFP_H
56907		      #include <ieeefp.h>
56908		      #endif
56909
56910int
56911main ()
56912{
56913 _log10f(0);
56914  ;
56915  return 0;
56916}
56917_ACEOF
56918if ac_fn_cxx_try_compile "$LINENO"; then :
56919  glibcxx_cv_func__log10f_use=yes
56920else
56921  glibcxx_cv_func__log10f_use=no
56922fi
56923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56924      ac_ext=c
56925ac_cpp='$CPP $CPPFLAGS'
56926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56928ac_compiler_gnu=$ac_cv_c_compiler_gnu
56929
56930
56931fi
56932
56933  fi
56934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56935$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56936
56937    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56938      for ac_func in _log10f
56939do :
56940  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56941if test "x$ac_cv_func__log10f" = xyes; then :
56942  cat >>confdefs.h <<_ACEOF
56943#define HAVE__LOG10F 1
56944_ACEOF
56945
56946fi
56947done
56948
56949    fi
56950  fi
56951
56952
56953
56954
56955
56956  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56957$as_echo_n "checking for modff declaration... " >&6; }
56958  if test x${glibcxx_cv_func_modff_use+set} != xset; then
56959    if ${glibcxx_cv_func_modff_use+:} false; then :
56960  $as_echo_n "(cached) " >&6
56961else
56962
56963
56964      ac_ext=cpp
56965ac_cpp='$CXXCPP $CPPFLAGS'
56966ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56967ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56968ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56969
56970      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56971/* end confdefs.h.  */
56972#include <math.h>
56973int
56974main ()
56975{
56976 modff(0, 0);
56977  ;
56978  return 0;
56979}
56980_ACEOF
56981if ac_fn_cxx_try_compile "$LINENO"; then :
56982  glibcxx_cv_func_modff_use=yes
56983else
56984  glibcxx_cv_func_modff_use=no
56985fi
56986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56987      ac_ext=c
56988ac_cpp='$CPP $CPPFLAGS'
56989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56991ac_compiler_gnu=$ac_cv_c_compiler_gnu
56992
56993
56994fi
56995
56996  fi
56997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56998$as_echo "$glibcxx_cv_func_modff_use" >&6; }
56999
57000  if test x$glibcxx_cv_func_modff_use = x"yes"; then
57001    for ac_func in modff
57002do :
57003  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57004if test "x$ac_cv_func_modff" = xyes; then :
57005  cat >>confdefs.h <<_ACEOF
57006#define HAVE_MODFF 1
57007_ACEOF
57008
57009fi
57010done
57011
57012  else
57013
57014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57015$as_echo_n "checking for _modff declaration... " >&6; }
57016  if test x${glibcxx_cv_func__modff_use+set} != xset; then
57017    if ${glibcxx_cv_func__modff_use+:} false; then :
57018  $as_echo_n "(cached) " >&6
57019else
57020
57021
57022      ac_ext=cpp
57023ac_cpp='$CXXCPP $CPPFLAGS'
57024ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57025ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57026ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57027
57028      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57029/* end confdefs.h.  */
57030#include <math.h>
57031int
57032main ()
57033{
57034 _modff(0, 0);
57035  ;
57036  return 0;
57037}
57038_ACEOF
57039if ac_fn_cxx_try_compile "$LINENO"; then :
57040  glibcxx_cv_func__modff_use=yes
57041else
57042  glibcxx_cv_func__modff_use=no
57043fi
57044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57045      ac_ext=c
57046ac_cpp='$CPP $CPPFLAGS'
57047ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57048ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57049ac_compiler_gnu=$ac_cv_c_compiler_gnu
57050
57051
57052fi
57053
57054  fi
57055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57056$as_echo "$glibcxx_cv_func__modff_use" >&6; }
57057
57058    if test x$glibcxx_cv_func__modff_use = x"yes"; then
57059      for ac_func in _modff
57060do :
57061  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57062if test "x$ac_cv_func__modff" = xyes; then :
57063  cat >>confdefs.h <<_ACEOF
57064#define HAVE__MODFF 1
57065_ACEOF
57066
57067fi
57068done
57069
57070    fi
57071  fi
57072
57073
57074
57075
57076
57077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57078$as_echo_n "checking for modf declaration... " >&6; }
57079  if test x${glibcxx_cv_func_modf_use+set} != xset; then
57080    if ${glibcxx_cv_func_modf_use+:} false; then :
57081  $as_echo_n "(cached) " >&6
57082else
57083
57084
57085      ac_ext=cpp
57086ac_cpp='$CXXCPP $CPPFLAGS'
57087ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57088ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57089ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57090
57091      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57092/* end confdefs.h.  */
57093#include <math.h>
57094int
57095main ()
57096{
57097 modf(0, 0);
57098  ;
57099  return 0;
57100}
57101_ACEOF
57102if ac_fn_cxx_try_compile "$LINENO"; then :
57103  glibcxx_cv_func_modf_use=yes
57104else
57105  glibcxx_cv_func_modf_use=no
57106fi
57107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57108      ac_ext=c
57109ac_cpp='$CPP $CPPFLAGS'
57110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57112ac_compiler_gnu=$ac_cv_c_compiler_gnu
57113
57114
57115fi
57116
57117  fi
57118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57119$as_echo "$glibcxx_cv_func_modf_use" >&6; }
57120
57121  if test x$glibcxx_cv_func_modf_use = x"yes"; then
57122    for ac_func in modf
57123do :
57124  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57125if test "x$ac_cv_func_modf" = xyes; then :
57126  cat >>confdefs.h <<_ACEOF
57127#define HAVE_MODF 1
57128_ACEOF
57129
57130fi
57131done
57132
57133  else
57134
57135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57136$as_echo_n "checking for _modf declaration... " >&6; }
57137  if test x${glibcxx_cv_func__modf_use+set} != xset; then
57138    if ${glibcxx_cv_func__modf_use+:} false; then :
57139  $as_echo_n "(cached) " >&6
57140else
57141
57142
57143      ac_ext=cpp
57144ac_cpp='$CXXCPP $CPPFLAGS'
57145ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57146ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57147ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57148
57149      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57150/* end confdefs.h.  */
57151#include <math.h>
57152int
57153main ()
57154{
57155 _modf(0, 0);
57156  ;
57157  return 0;
57158}
57159_ACEOF
57160if ac_fn_cxx_try_compile "$LINENO"; then :
57161  glibcxx_cv_func__modf_use=yes
57162else
57163  glibcxx_cv_func__modf_use=no
57164fi
57165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57166      ac_ext=c
57167ac_cpp='$CPP $CPPFLAGS'
57168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57170ac_compiler_gnu=$ac_cv_c_compiler_gnu
57171
57172
57173fi
57174
57175  fi
57176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57177$as_echo "$glibcxx_cv_func__modf_use" >&6; }
57178
57179    if test x$glibcxx_cv_func__modf_use = x"yes"; then
57180      for ac_func in _modf
57181do :
57182  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57183if test "x$ac_cv_func__modf" = xyes; then :
57184  cat >>confdefs.h <<_ACEOF
57185#define HAVE__MODF 1
57186_ACEOF
57187
57188fi
57189done
57190
57191    fi
57192  fi
57193
57194
57195
57196
57197
57198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57199$as_echo_n "checking for powf declaration... " >&6; }
57200  if test x${glibcxx_cv_func_powf_use+set} != xset; then
57201    if ${glibcxx_cv_func_powf_use+:} false; then :
57202  $as_echo_n "(cached) " >&6
57203else
57204
57205
57206      ac_ext=cpp
57207ac_cpp='$CXXCPP $CPPFLAGS'
57208ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57209ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57210ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57211
57212      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57213/* end confdefs.h.  */
57214#include <math.h>
57215int
57216main ()
57217{
57218 powf(0, 0);
57219  ;
57220  return 0;
57221}
57222_ACEOF
57223if ac_fn_cxx_try_compile "$LINENO"; then :
57224  glibcxx_cv_func_powf_use=yes
57225else
57226  glibcxx_cv_func_powf_use=no
57227fi
57228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57229      ac_ext=c
57230ac_cpp='$CPP $CPPFLAGS'
57231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57233ac_compiler_gnu=$ac_cv_c_compiler_gnu
57234
57235
57236fi
57237
57238  fi
57239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57240$as_echo "$glibcxx_cv_func_powf_use" >&6; }
57241
57242  if test x$glibcxx_cv_func_powf_use = x"yes"; then
57243    for ac_func in powf
57244do :
57245  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57246if test "x$ac_cv_func_powf" = xyes; then :
57247  cat >>confdefs.h <<_ACEOF
57248#define HAVE_POWF 1
57249_ACEOF
57250
57251fi
57252done
57253
57254  else
57255
57256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57257$as_echo_n "checking for _powf declaration... " >&6; }
57258  if test x${glibcxx_cv_func__powf_use+set} != xset; then
57259    if ${glibcxx_cv_func__powf_use+:} false; then :
57260  $as_echo_n "(cached) " >&6
57261else
57262
57263
57264      ac_ext=cpp
57265ac_cpp='$CXXCPP $CPPFLAGS'
57266ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57267ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57268ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57269
57270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57271/* end confdefs.h.  */
57272#include <math.h>
57273int
57274main ()
57275{
57276 _powf(0, 0);
57277  ;
57278  return 0;
57279}
57280_ACEOF
57281if ac_fn_cxx_try_compile "$LINENO"; then :
57282  glibcxx_cv_func__powf_use=yes
57283else
57284  glibcxx_cv_func__powf_use=no
57285fi
57286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57287      ac_ext=c
57288ac_cpp='$CPP $CPPFLAGS'
57289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57291ac_compiler_gnu=$ac_cv_c_compiler_gnu
57292
57293
57294fi
57295
57296  fi
57297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57298$as_echo "$glibcxx_cv_func__powf_use" >&6; }
57299
57300    if test x$glibcxx_cv_func__powf_use = x"yes"; then
57301      for ac_func in _powf
57302do :
57303  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57304if test "x$ac_cv_func__powf" = xyes; then :
57305  cat >>confdefs.h <<_ACEOF
57306#define HAVE__POWF 1
57307_ACEOF
57308
57309fi
57310done
57311
57312    fi
57313  fi
57314
57315
57316
57317
57318
57319  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57320$as_echo_n "checking for sqrtf declaration... " >&6; }
57321  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57322    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57323  $as_echo_n "(cached) " >&6
57324else
57325
57326
57327      ac_ext=cpp
57328ac_cpp='$CXXCPP $CPPFLAGS'
57329ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57330ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57331ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57332
57333      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57334/* end confdefs.h.  */
57335#include <math.h>
57336		      #ifdef HAVE_IEEEFP_H
57337		      #include <ieeefp.h>
57338		      #endif
57339
57340int
57341main ()
57342{
57343 sqrtf(0);
57344  ;
57345  return 0;
57346}
57347_ACEOF
57348if ac_fn_cxx_try_compile "$LINENO"; then :
57349  glibcxx_cv_func_sqrtf_use=yes
57350else
57351  glibcxx_cv_func_sqrtf_use=no
57352fi
57353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57354      ac_ext=c
57355ac_cpp='$CPP $CPPFLAGS'
57356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57358ac_compiler_gnu=$ac_cv_c_compiler_gnu
57359
57360
57361fi
57362
57363  fi
57364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57365$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57366
57367  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57368    for ac_func in sqrtf
57369do :
57370  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57371if test "x$ac_cv_func_sqrtf" = xyes; then :
57372  cat >>confdefs.h <<_ACEOF
57373#define HAVE_SQRTF 1
57374_ACEOF
57375
57376fi
57377done
57378
57379  else
57380
57381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57382$as_echo_n "checking for _sqrtf declaration... " >&6; }
57383  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57384    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57385  $as_echo_n "(cached) " >&6
57386else
57387
57388
57389      ac_ext=cpp
57390ac_cpp='$CXXCPP $CPPFLAGS'
57391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57394
57395      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57396/* end confdefs.h.  */
57397#include <math.h>
57398		      #ifdef HAVE_IEEEFP_H
57399		      #include <ieeefp.h>
57400		      #endif
57401
57402int
57403main ()
57404{
57405 _sqrtf(0);
57406  ;
57407  return 0;
57408}
57409_ACEOF
57410if ac_fn_cxx_try_compile "$LINENO"; then :
57411  glibcxx_cv_func__sqrtf_use=yes
57412else
57413  glibcxx_cv_func__sqrtf_use=no
57414fi
57415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57416      ac_ext=c
57417ac_cpp='$CPP $CPPFLAGS'
57418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57420ac_compiler_gnu=$ac_cv_c_compiler_gnu
57421
57422
57423fi
57424
57425  fi
57426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57427$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57428
57429    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57430      for ac_func in _sqrtf
57431do :
57432  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57433if test "x$ac_cv_func__sqrtf" = xyes; then :
57434  cat >>confdefs.h <<_ACEOF
57435#define HAVE__SQRTF 1
57436_ACEOF
57437
57438fi
57439done
57440
57441    fi
57442  fi
57443
57444
57445
57446
57447
57448  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57449$as_echo_n "checking for sincosf declaration... " >&6; }
57450  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57451    if ${glibcxx_cv_func_sincosf_use+:} false; then :
57452  $as_echo_n "(cached) " >&6
57453else
57454
57455
57456      ac_ext=cpp
57457ac_cpp='$CXXCPP $CPPFLAGS'
57458ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57459ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57460ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57461
57462      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57463/* end confdefs.h.  */
57464#include <math.h>
57465int
57466main ()
57467{
57468 sincosf(0, 0, 0);
57469  ;
57470  return 0;
57471}
57472_ACEOF
57473if ac_fn_cxx_try_compile "$LINENO"; then :
57474  glibcxx_cv_func_sincosf_use=yes
57475else
57476  glibcxx_cv_func_sincosf_use=no
57477fi
57478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57479      ac_ext=c
57480ac_cpp='$CPP $CPPFLAGS'
57481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57483ac_compiler_gnu=$ac_cv_c_compiler_gnu
57484
57485
57486fi
57487
57488  fi
57489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57490$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57491
57492  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57493    for ac_func in sincosf
57494do :
57495  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57496if test "x$ac_cv_func_sincosf" = xyes; then :
57497  cat >>confdefs.h <<_ACEOF
57498#define HAVE_SINCOSF 1
57499_ACEOF
57500
57501fi
57502done
57503
57504  else
57505
57506  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57507$as_echo_n "checking for _sincosf declaration... " >&6; }
57508  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57509    if ${glibcxx_cv_func__sincosf_use+:} false; then :
57510  $as_echo_n "(cached) " >&6
57511else
57512
57513
57514      ac_ext=cpp
57515ac_cpp='$CXXCPP $CPPFLAGS'
57516ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57517ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57518ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57519
57520      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57521/* end confdefs.h.  */
57522#include <math.h>
57523int
57524main ()
57525{
57526 _sincosf(0, 0, 0);
57527  ;
57528  return 0;
57529}
57530_ACEOF
57531if ac_fn_cxx_try_compile "$LINENO"; then :
57532  glibcxx_cv_func__sincosf_use=yes
57533else
57534  glibcxx_cv_func__sincosf_use=no
57535fi
57536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57537      ac_ext=c
57538ac_cpp='$CPP $CPPFLAGS'
57539ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57540ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57541ac_compiler_gnu=$ac_cv_c_compiler_gnu
57542
57543
57544fi
57545
57546  fi
57547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57548$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57549
57550    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57551      for ac_func in _sincosf
57552do :
57553  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57554if test "x$ac_cv_func__sincosf" = xyes; then :
57555  cat >>confdefs.h <<_ACEOF
57556#define HAVE__SINCOSF 1
57557_ACEOF
57558
57559fi
57560done
57561
57562    fi
57563  fi
57564
57565
57566
57567
57568
57569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57570$as_echo_n "checking for finitef declaration... " >&6; }
57571  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57572    if ${glibcxx_cv_func_finitef_use+:} false; then :
57573  $as_echo_n "(cached) " >&6
57574else
57575
57576
57577      ac_ext=cpp
57578ac_cpp='$CXXCPP $CPPFLAGS'
57579ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57580ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57581ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57582
57583      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57584/* end confdefs.h.  */
57585#include <math.h>
57586		      #ifdef HAVE_IEEEFP_H
57587		      #include <ieeefp.h>
57588		      #endif
57589
57590int
57591main ()
57592{
57593 finitef(0);
57594  ;
57595  return 0;
57596}
57597_ACEOF
57598if ac_fn_cxx_try_compile "$LINENO"; then :
57599  glibcxx_cv_func_finitef_use=yes
57600else
57601  glibcxx_cv_func_finitef_use=no
57602fi
57603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57604      ac_ext=c
57605ac_cpp='$CPP $CPPFLAGS'
57606ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57607ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57608ac_compiler_gnu=$ac_cv_c_compiler_gnu
57609
57610
57611fi
57612
57613  fi
57614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57615$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57616
57617  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57618    for ac_func in finitef
57619do :
57620  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57621if test "x$ac_cv_func_finitef" = xyes; then :
57622  cat >>confdefs.h <<_ACEOF
57623#define HAVE_FINITEF 1
57624_ACEOF
57625
57626fi
57627done
57628
57629  else
57630
57631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57632$as_echo_n "checking for _finitef declaration... " >&6; }
57633  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57634    if ${glibcxx_cv_func__finitef_use+:} false; then :
57635  $as_echo_n "(cached) " >&6
57636else
57637
57638
57639      ac_ext=cpp
57640ac_cpp='$CXXCPP $CPPFLAGS'
57641ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57642ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57643ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57644
57645      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57646/* end confdefs.h.  */
57647#include <math.h>
57648		      #ifdef HAVE_IEEEFP_H
57649		      #include <ieeefp.h>
57650		      #endif
57651
57652int
57653main ()
57654{
57655 _finitef(0);
57656  ;
57657  return 0;
57658}
57659_ACEOF
57660if ac_fn_cxx_try_compile "$LINENO"; then :
57661  glibcxx_cv_func__finitef_use=yes
57662else
57663  glibcxx_cv_func__finitef_use=no
57664fi
57665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57666      ac_ext=c
57667ac_cpp='$CPP $CPPFLAGS'
57668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57670ac_compiler_gnu=$ac_cv_c_compiler_gnu
57671
57672
57673fi
57674
57675  fi
57676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57677$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57678
57679    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57680      for ac_func in _finitef
57681do :
57682  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57683if test "x$ac_cv_func__finitef" = xyes; then :
57684  cat >>confdefs.h <<_ACEOF
57685#define HAVE__FINITEF 1
57686_ACEOF
57687
57688fi
57689done
57690
57691    fi
57692  fi
57693
57694
57695
57696
57697
57698    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57699$as_echo_n "checking for long double trig functions... " >&6; }
57700  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57701  $as_echo_n "(cached) " >&6
57702else
57703
57704
57705    ac_ext=cpp
57706ac_cpp='$CXXCPP $CPPFLAGS'
57707ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57708ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57709ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57710
57711    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57712/* end confdefs.h.  */
57713#include <math.h>
57714int
57715main ()
57716{
57717acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57718  ;
57719  return 0;
57720}
57721_ACEOF
57722if ac_fn_cxx_try_compile "$LINENO"; then :
57723  glibcxx_cv_func_long_double_trig_use=yes
57724else
57725  glibcxx_cv_func_long_double_trig_use=no
57726fi
57727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57728    ac_ext=c
57729ac_cpp='$CPP $CPPFLAGS'
57730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57732ac_compiler_gnu=$ac_cv_c_compiler_gnu
57733
57734fi
57735
57736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57737$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57738  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57739    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57740do :
57741  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57742ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57743if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57744  cat >>confdefs.h <<_ACEOF
57745#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57746_ACEOF
57747
57748fi
57749done
57750
57751  else
57752    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57753$as_echo_n "checking for _long double trig functions... " >&6; }
57754    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57755  $as_echo_n "(cached) " >&6
57756else
57757
57758
57759      ac_ext=cpp
57760ac_cpp='$CXXCPP $CPPFLAGS'
57761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57764
57765      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57766/* end confdefs.h.  */
57767#include <math.h>
57768int
57769main ()
57770{
57771_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57772  ;
57773  return 0;
57774}
57775_ACEOF
57776if ac_fn_cxx_try_compile "$LINENO"; then :
57777  glibcxx_cv_func__long_double_trig_use=yes
57778else
57779  glibcxx_cv_func__long_double_trig_use=no
57780fi
57781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57782      ac_ext=c
57783ac_cpp='$CPP $CPPFLAGS'
57784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57786ac_compiler_gnu=$ac_cv_c_compiler_gnu
57787
57788fi
57789
57790    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57791$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57792    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57793      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57794do :
57795  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57796ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57797if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57798  cat >>confdefs.h <<_ACEOF
57799#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57800_ACEOF
57801
57802fi
57803done
57804
57805    fi
57806  fi
57807
57808
57809
57810
57811
57812    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57813$as_echo_n "checking for long double round functions... " >&6; }
57814  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57815  $as_echo_n "(cached) " >&6
57816else
57817
57818
57819    ac_ext=cpp
57820ac_cpp='$CXXCPP $CPPFLAGS'
57821ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57822ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57823ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57824
57825    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57826/* end confdefs.h.  */
57827#include <math.h>
57828int
57829main ()
57830{
57831ceill (0); floorl (0);
57832  ;
57833  return 0;
57834}
57835_ACEOF
57836if ac_fn_cxx_try_compile "$LINENO"; then :
57837  glibcxx_cv_func_long_double_round_use=yes
57838else
57839  glibcxx_cv_func_long_double_round_use=no
57840fi
57841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57842    ac_ext=c
57843ac_cpp='$CPP $CPPFLAGS'
57844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57846ac_compiler_gnu=$ac_cv_c_compiler_gnu
57847
57848fi
57849
57850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57851$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57852  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57853    for ac_func in ceill floorl
57854do :
57855  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57856ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57857if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57858  cat >>confdefs.h <<_ACEOF
57859#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57860_ACEOF
57861
57862fi
57863done
57864
57865  else
57866    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57867$as_echo_n "checking for _long double round functions... " >&6; }
57868    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57869  $as_echo_n "(cached) " >&6
57870else
57871
57872
57873      ac_ext=cpp
57874ac_cpp='$CXXCPP $CPPFLAGS'
57875ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57876ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57877ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57878
57879      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57880/* end confdefs.h.  */
57881#include <math.h>
57882int
57883main ()
57884{
57885_ceill (0); _floorl (0);
57886  ;
57887  return 0;
57888}
57889_ACEOF
57890if ac_fn_cxx_try_compile "$LINENO"; then :
57891  glibcxx_cv_func__long_double_round_use=yes
57892else
57893  glibcxx_cv_func__long_double_round_use=no
57894fi
57895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57896      ac_ext=c
57897ac_cpp='$CPP $CPPFLAGS'
57898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57900ac_compiler_gnu=$ac_cv_c_compiler_gnu
57901
57902fi
57903
57904    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57905$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57906    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57907      for ac_func in _ceill _floorl
57908do :
57909  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57910ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57911if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57912  cat >>confdefs.h <<_ACEOF
57913#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57914_ACEOF
57915
57916fi
57917done
57918
57919    fi
57920  fi
57921
57922
57923
57924
57925
57926
57927  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57928$as_echo_n "checking for isnanl declaration... " >&6; }
57929  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57930    if ${glibcxx_cv_func_isnanl_use+:} false; then :
57931  $as_echo_n "(cached) " >&6
57932else
57933
57934
57935      ac_ext=cpp
57936ac_cpp='$CXXCPP $CPPFLAGS'
57937ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57938ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57939ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57940
57941      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57942/* end confdefs.h.  */
57943#include <math.h>
57944		      #ifdef HAVE_IEEEFP_H
57945		      #include <ieeefp.h>
57946		      #endif
57947
57948int
57949main ()
57950{
57951 isnanl(0);
57952  ;
57953  return 0;
57954}
57955_ACEOF
57956if ac_fn_cxx_try_compile "$LINENO"; then :
57957  glibcxx_cv_func_isnanl_use=yes
57958else
57959  glibcxx_cv_func_isnanl_use=no
57960fi
57961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57962      ac_ext=c
57963ac_cpp='$CPP $CPPFLAGS'
57964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57966ac_compiler_gnu=$ac_cv_c_compiler_gnu
57967
57968
57969fi
57970
57971  fi
57972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57973$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57974
57975  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57976    for ac_func in isnanl
57977do :
57978  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57979if test "x$ac_cv_func_isnanl" = xyes; then :
57980  cat >>confdefs.h <<_ACEOF
57981#define HAVE_ISNANL 1
57982_ACEOF
57983
57984fi
57985done
57986
57987  else
57988
57989  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57990$as_echo_n "checking for _isnanl declaration... " >&6; }
57991  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57992    if ${glibcxx_cv_func__isnanl_use+:} false; then :
57993  $as_echo_n "(cached) " >&6
57994else
57995
57996
57997      ac_ext=cpp
57998ac_cpp='$CXXCPP $CPPFLAGS'
57999ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58000ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58001ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58002
58003      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58004/* end confdefs.h.  */
58005#include <math.h>
58006		      #ifdef HAVE_IEEEFP_H
58007		      #include <ieeefp.h>
58008		      #endif
58009
58010int
58011main ()
58012{
58013 _isnanl(0);
58014  ;
58015  return 0;
58016}
58017_ACEOF
58018if ac_fn_cxx_try_compile "$LINENO"; then :
58019  glibcxx_cv_func__isnanl_use=yes
58020else
58021  glibcxx_cv_func__isnanl_use=no
58022fi
58023rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58024      ac_ext=c
58025ac_cpp='$CPP $CPPFLAGS'
58026ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58027ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58028ac_compiler_gnu=$ac_cv_c_compiler_gnu
58029
58030
58031fi
58032
58033  fi
58034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58035$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58036
58037    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58038      for ac_func in _isnanl
58039do :
58040  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58041if test "x$ac_cv_func__isnanl" = xyes; then :
58042  cat >>confdefs.h <<_ACEOF
58043#define HAVE__ISNANL 1
58044_ACEOF
58045
58046fi
58047done
58048
58049    fi
58050  fi
58051
58052
58053
58054
58055
58056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58057$as_echo_n "checking for isinfl declaration... " >&6; }
58058  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58059    if ${glibcxx_cv_func_isinfl_use+:} false; then :
58060  $as_echo_n "(cached) " >&6
58061else
58062
58063
58064      ac_ext=cpp
58065ac_cpp='$CXXCPP $CPPFLAGS'
58066ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58067ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58068ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58069
58070      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58071/* end confdefs.h.  */
58072#include <math.h>
58073		      #ifdef HAVE_IEEEFP_H
58074		      #include <ieeefp.h>
58075		      #endif
58076
58077int
58078main ()
58079{
58080 isinfl(0);
58081  ;
58082  return 0;
58083}
58084_ACEOF
58085if ac_fn_cxx_try_compile "$LINENO"; then :
58086  glibcxx_cv_func_isinfl_use=yes
58087else
58088  glibcxx_cv_func_isinfl_use=no
58089fi
58090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58091      ac_ext=c
58092ac_cpp='$CPP $CPPFLAGS'
58093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58095ac_compiler_gnu=$ac_cv_c_compiler_gnu
58096
58097
58098fi
58099
58100  fi
58101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58102$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58103
58104  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58105    for ac_func in isinfl
58106do :
58107  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58108if test "x$ac_cv_func_isinfl" = xyes; then :
58109  cat >>confdefs.h <<_ACEOF
58110#define HAVE_ISINFL 1
58111_ACEOF
58112
58113fi
58114done
58115
58116  else
58117
58118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58119$as_echo_n "checking for _isinfl declaration... " >&6; }
58120  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58121    if ${glibcxx_cv_func__isinfl_use+:} false; then :
58122  $as_echo_n "(cached) " >&6
58123else
58124
58125
58126      ac_ext=cpp
58127ac_cpp='$CXXCPP $CPPFLAGS'
58128ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58129ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58130ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58131
58132      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58133/* end confdefs.h.  */
58134#include <math.h>
58135		      #ifdef HAVE_IEEEFP_H
58136		      #include <ieeefp.h>
58137		      #endif
58138
58139int
58140main ()
58141{
58142 _isinfl(0);
58143  ;
58144  return 0;
58145}
58146_ACEOF
58147if ac_fn_cxx_try_compile "$LINENO"; then :
58148  glibcxx_cv_func__isinfl_use=yes
58149else
58150  glibcxx_cv_func__isinfl_use=no
58151fi
58152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58153      ac_ext=c
58154ac_cpp='$CPP $CPPFLAGS'
58155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58157ac_compiler_gnu=$ac_cv_c_compiler_gnu
58158
58159
58160fi
58161
58162  fi
58163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58164$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58165
58166    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58167      for ac_func in _isinfl
58168do :
58169  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58170if test "x$ac_cv_func__isinfl" = xyes; then :
58171  cat >>confdefs.h <<_ACEOF
58172#define HAVE__ISINFL 1
58173_ACEOF
58174
58175fi
58176done
58177
58178    fi
58179  fi
58180
58181
58182
58183
58184
58185  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58186$as_echo_n "checking for atan2l declaration... " >&6; }
58187  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58188    if ${glibcxx_cv_func_atan2l_use+:} false; then :
58189  $as_echo_n "(cached) " >&6
58190else
58191
58192
58193      ac_ext=cpp
58194ac_cpp='$CXXCPP $CPPFLAGS'
58195ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58196ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58197ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58198
58199      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58200/* end confdefs.h.  */
58201#include <math.h>
58202int
58203main ()
58204{
58205 atan2l(0, 0);
58206  ;
58207  return 0;
58208}
58209_ACEOF
58210if ac_fn_cxx_try_compile "$LINENO"; then :
58211  glibcxx_cv_func_atan2l_use=yes
58212else
58213  glibcxx_cv_func_atan2l_use=no
58214fi
58215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58216      ac_ext=c
58217ac_cpp='$CPP $CPPFLAGS'
58218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58220ac_compiler_gnu=$ac_cv_c_compiler_gnu
58221
58222
58223fi
58224
58225  fi
58226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58227$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58228
58229  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58230    for ac_func in atan2l
58231do :
58232  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58233if test "x$ac_cv_func_atan2l" = xyes; then :
58234  cat >>confdefs.h <<_ACEOF
58235#define HAVE_ATAN2L 1
58236_ACEOF
58237
58238fi
58239done
58240
58241  else
58242
58243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58244$as_echo_n "checking for _atan2l declaration... " >&6; }
58245  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58246    if ${glibcxx_cv_func__atan2l_use+:} false; then :
58247  $as_echo_n "(cached) " >&6
58248else
58249
58250
58251      ac_ext=cpp
58252ac_cpp='$CXXCPP $CPPFLAGS'
58253ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58254ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58255ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58256
58257      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58258/* end confdefs.h.  */
58259#include <math.h>
58260int
58261main ()
58262{
58263 _atan2l(0, 0);
58264  ;
58265  return 0;
58266}
58267_ACEOF
58268if ac_fn_cxx_try_compile "$LINENO"; then :
58269  glibcxx_cv_func__atan2l_use=yes
58270else
58271  glibcxx_cv_func__atan2l_use=no
58272fi
58273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58274      ac_ext=c
58275ac_cpp='$CPP $CPPFLAGS'
58276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58278ac_compiler_gnu=$ac_cv_c_compiler_gnu
58279
58280
58281fi
58282
58283  fi
58284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58285$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58286
58287    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58288      for ac_func in _atan2l
58289do :
58290  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58291if test "x$ac_cv_func__atan2l" = xyes; then :
58292  cat >>confdefs.h <<_ACEOF
58293#define HAVE__ATAN2L 1
58294_ACEOF
58295
58296fi
58297done
58298
58299    fi
58300  fi
58301
58302
58303
58304
58305
58306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58307$as_echo_n "checking for expl declaration... " >&6; }
58308  if test x${glibcxx_cv_func_expl_use+set} != xset; then
58309    if ${glibcxx_cv_func_expl_use+:} false; then :
58310  $as_echo_n "(cached) " >&6
58311else
58312
58313
58314      ac_ext=cpp
58315ac_cpp='$CXXCPP $CPPFLAGS'
58316ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58317ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58318ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58319
58320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58321/* end confdefs.h.  */
58322#include <math.h>
58323		      #ifdef HAVE_IEEEFP_H
58324		      #include <ieeefp.h>
58325		      #endif
58326
58327int
58328main ()
58329{
58330 expl(0);
58331  ;
58332  return 0;
58333}
58334_ACEOF
58335if ac_fn_cxx_try_compile "$LINENO"; then :
58336  glibcxx_cv_func_expl_use=yes
58337else
58338  glibcxx_cv_func_expl_use=no
58339fi
58340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58341      ac_ext=c
58342ac_cpp='$CPP $CPPFLAGS'
58343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58345ac_compiler_gnu=$ac_cv_c_compiler_gnu
58346
58347
58348fi
58349
58350  fi
58351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58352$as_echo "$glibcxx_cv_func_expl_use" >&6; }
58353
58354  if test x$glibcxx_cv_func_expl_use = x"yes"; then
58355    for ac_func in expl
58356do :
58357  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58358if test "x$ac_cv_func_expl" = xyes; then :
58359  cat >>confdefs.h <<_ACEOF
58360#define HAVE_EXPL 1
58361_ACEOF
58362
58363fi
58364done
58365
58366  else
58367
58368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58369$as_echo_n "checking for _expl declaration... " >&6; }
58370  if test x${glibcxx_cv_func__expl_use+set} != xset; then
58371    if ${glibcxx_cv_func__expl_use+:} false; then :
58372  $as_echo_n "(cached) " >&6
58373else
58374
58375
58376      ac_ext=cpp
58377ac_cpp='$CXXCPP $CPPFLAGS'
58378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58381
58382      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58383/* end confdefs.h.  */
58384#include <math.h>
58385		      #ifdef HAVE_IEEEFP_H
58386		      #include <ieeefp.h>
58387		      #endif
58388
58389int
58390main ()
58391{
58392 _expl(0);
58393  ;
58394  return 0;
58395}
58396_ACEOF
58397if ac_fn_cxx_try_compile "$LINENO"; then :
58398  glibcxx_cv_func__expl_use=yes
58399else
58400  glibcxx_cv_func__expl_use=no
58401fi
58402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58403      ac_ext=c
58404ac_cpp='$CPP $CPPFLAGS'
58405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58407ac_compiler_gnu=$ac_cv_c_compiler_gnu
58408
58409
58410fi
58411
58412  fi
58413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58414$as_echo "$glibcxx_cv_func__expl_use" >&6; }
58415
58416    if test x$glibcxx_cv_func__expl_use = x"yes"; then
58417      for ac_func in _expl
58418do :
58419  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58420if test "x$ac_cv_func__expl" = xyes; then :
58421  cat >>confdefs.h <<_ACEOF
58422#define HAVE__EXPL 1
58423_ACEOF
58424
58425fi
58426done
58427
58428    fi
58429  fi
58430
58431
58432
58433
58434
58435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58436$as_echo_n "checking for fabsl declaration... " >&6; }
58437  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58438    if ${glibcxx_cv_func_fabsl_use+:} false; then :
58439  $as_echo_n "(cached) " >&6
58440else
58441
58442
58443      ac_ext=cpp
58444ac_cpp='$CXXCPP $CPPFLAGS'
58445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58448
58449      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58450/* end confdefs.h.  */
58451#include <math.h>
58452		      #ifdef HAVE_IEEEFP_H
58453		      #include <ieeefp.h>
58454		      #endif
58455
58456int
58457main ()
58458{
58459 fabsl(0);
58460  ;
58461  return 0;
58462}
58463_ACEOF
58464if ac_fn_cxx_try_compile "$LINENO"; then :
58465  glibcxx_cv_func_fabsl_use=yes
58466else
58467  glibcxx_cv_func_fabsl_use=no
58468fi
58469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58470      ac_ext=c
58471ac_cpp='$CPP $CPPFLAGS'
58472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58474ac_compiler_gnu=$ac_cv_c_compiler_gnu
58475
58476
58477fi
58478
58479  fi
58480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58481$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58482
58483  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58484    for ac_func in fabsl
58485do :
58486  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58487if test "x$ac_cv_func_fabsl" = xyes; then :
58488  cat >>confdefs.h <<_ACEOF
58489#define HAVE_FABSL 1
58490_ACEOF
58491
58492fi
58493done
58494
58495  else
58496
58497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58498$as_echo_n "checking for _fabsl declaration... " >&6; }
58499  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58500    if ${glibcxx_cv_func__fabsl_use+:} false; then :
58501  $as_echo_n "(cached) " >&6
58502else
58503
58504
58505      ac_ext=cpp
58506ac_cpp='$CXXCPP $CPPFLAGS'
58507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58510
58511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58512/* end confdefs.h.  */
58513#include <math.h>
58514		      #ifdef HAVE_IEEEFP_H
58515		      #include <ieeefp.h>
58516		      #endif
58517
58518int
58519main ()
58520{
58521 _fabsl(0);
58522  ;
58523  return 0;
58524}
58525_ACEOF
58526if ac_fn_cxx_try_compile "$LINENO"; then :
58527  glibcxx_cv_func__fabsl_use=yes
58528else
58529  glibcxx_cv_func__fabsl_use=no
58530fi
58531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58532      ac_ext=c
58533ac_cpp='$CPP $CPPFLAGS'
58534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58536ac_compiler_gnu=$ac_cv_c_compiler_gnu
58537
58538
58539fi
58540
58541  fi
58542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58543$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58544
58545    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58546      for ac_func in _fabsl
58547do :
58548  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58549if test "x$ac_cv_func__fabsl" = xyes; then :
58550  cat >>confdefs.h <<_ACEOF
58551#define HAVE__FABSL 1
58552_ACEOF
58553
58554fi
58555done
58556
58557    fi
58558  fi
58559
58560
58561
58562
58563
58564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58565$as_echo_n "checking for fmodl declaration... " >&6; }
58566  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58567    if ${glibcxx_cv_func_fmodl_use+:} false; then :
58568  $as_echo_n "(cached) " >&6
58569else
58570
58571
58572      ac_ext=cpp
58573ac_cpp='$CXXCPP $CPPFLAGS'
58574ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58575ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58576ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58577
58578      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58579/* end confdefs.h.  */
58580#include <math.h>
58581int
58582main ()
58583{
58584 fmodl(0, 0);
58585  ;
58586  return 0;
58587}
58588_ACEOF
58589if ac_fn_cxx_try_compile "$LINENO"; then :
58590  glibcxx_cv_func_fmodl_use=yes
58591else
58592  glibcxx_cv_func_fmodl_use=no
58593fi
58594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58595      ac_ext=c
58596ac_cpp='$CPP $CPPFLAGS'
58597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58599ac_compiler_gnu=$ac_cv_c_compiler_gnu
58600
58601
58602fi
58603
58604  fi
58605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58606$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58607
58608  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58609    for ac_func in fmodl
58610do :
58611  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58612if test "x$ac_cv_func_fmodl" = xyes; then :
58613  cat >>confdefs.h <<_ACEOF
58614#define HAVE_FMODL 1
58615_ACEOF
58616
58617fi
58618done
58619
58620  else
58621
58622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58623$as_echo_n "checking for _fmodl declaration... " >&6; }
58624  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58625    if ${glibcxx_cv_func__fmodl_use+:} false; then :
58626  $as_echo_n "(cached) " >&6
58627else
58628
58629
58630      ac_ext=cpp
58631ac_cpp='$CXXCPP $CPPFLAGS'
58632ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58633ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58634ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58635
58636      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58637/* end confdefs.h.  */
58638#include <math.h>
58639int
58640main ()
58641{
58642 _fmodl(0, 0);
58643  ;
58644  return 0;
58645}
58646_ACEOF
58647if ac_fn_cxx_try_compile "$LINENO"; then :
58648  glibcxx_cv_func__fmodl_use=yes
58649else
58650  glibcxx_cv_func__fmodl_use=no
58651fi
58652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58653      ac_ext=c
58654ac_cpp='$CPP $CPPFLAGS'
58655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58657ac_compiler_gnu=$ac_cv_c_compiler_gnu
58658
58659
58660fi
58661
58662  fi
58663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58664$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58665
58666    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58667      for ac_func in _fmodl
58668do :
58669  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58670if test "x$ac_cv_func__fmodl" = xyes; then :
58671  cat >>confdefs.h <<_ACEOF
58672#define HAVE__FMODL 1
58673_ACEOF
58674
58675fi
58676done
58677
58678    fi
58679  fi
58680
58681
58682
58683
58684
58685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58686$as_echo_n "checking for frexpl declaration... " >&6; }
58687  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58688    if ${glibcxx_cv_func_frexpl_use+:} false; then :
58689  $as_echo_n "(cached) " >&6
58690else
58691
58692
58693      ac_ext=cpp
58694ac_cpp='$CXXCPP $CPPFLAGS'
58695ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58696ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58697ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58698
58699      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58700/* end confdefs.h.  */
58701#include <math.h>
58702int
58703main ()
58704{
58705 frexpl(0, 0);
58706  ;
58707  return 0;
58708}
58709_ACEOF
58710if ac_fn_cxx_try_compile "$LINENO"; then :
58711  glibcxx_cv_func_frexpl_use=yes
58712else
58713  glibcxx_cv_func_frexpl_use=no
58714fi
58715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58716      ac_ext=c
58717ac_cpp='$CPP $CPPFLAGS'
58718ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58719ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58720ac_compiler_gnu=$ac_cv_c_compiler_gnu
58721
58722
58723fi
58724
58725  fi
58726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58727$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58728
58729  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58730    for ac_func in frexpl
58731do :
58732  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58733if test "x$ac_cv_func_frexpl" = xyes; then :
58734  cat >>confdefs.h <<_ACEOF
58735#define HAVE_FREXPL 1
58736_ACEOF
58737
58738fi
58739done
58740
58741  else
58742
58743  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58744$as_echo_n "checking for _frexpl declaration... " >&6; }
58745  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58746    if ${glibcxx_cv_func__frexpl_use+:} false; then :
58747  $as_echo_n "(cached) " >&6
58748else
58749
58750
58751      ac_ext=cpp
58752ac_cpp='$CXXCPP $CPPFLAGS'
58753ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58754ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58755ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58756
58757      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58758/* end confdefs.h.  */
58759#include <math.h>
58760int
58761main ()
58762{
58763 _frexpl(0, 0);
58764  ;
58765  return 0;
58766}
58767_ACEOF
58768if ac_fn_cxx_try_compile "$LINENO"; then :
58769  glibcxx_cv_func__frexpl_use=yes
58770else
58771  glibcxx_cv_func__frexpl_use=no
58772fi
58773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58774      ac_ext=c
58775ac_cpp='$CPP $CPPFLAGS'
58776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58778ac_compiler_gnu=$ac_cv_c_compiler_gnu
58779
58780
58781fi
58782
58783  fi
58784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58785$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58786
58787    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58788      for ac_func in _frexpl
58789do :
58790  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58791if test "x$ac_cv_func__frexpl" = xyes; then :
58792  cat >>confdefs.h <<_ACEOF
58793#define HAVE__FREXPL 1
58794_ACEOF
58795
58796fi
58797done
58798
58799    fi
58800  fi
58801
58802
58803
58804
58805
58806  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58807$as_echo_n "checking for hypotl declaration... " >&6; }
58808  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58809    if ${glibcxx_cv_func_hypotl_use+:} false; then :
58810  $as_echo_n "(cached) " >&6
58811else
58812
58813
58814      ac_ext=cpp
58815ac_cpp='$CXXCPP $CPPFLAGS'
58816ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58817ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58818ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58819
58820      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58821/* end confdefs.h.  */
58822#include <math.h>
58823int
58824main ()
58825{
58826 hypotl(0, 0);
58827  ;
58828  return 0;
58829}
58830_ACEOF
58831if ac_fn_cxx_try_compile "$LINENO"; then :
58832  glibcxx_cv_func_hypotl_use=yes
58833else
58834  glibcxx_cv_func_hypotl_use=no
58835fi
58836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58837      ac_ext=c
58838ac_cpp='$CPP $CPPFLAGS'
58839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58841ac_compiler_gnu=$ac_cv_c_compiler_gnu
58842
58843
58844fi
58845
58846  fi
58847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58848$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58849
58850  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58851    for ac_func in hypotl
58852do :
58853  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58854if test "x$ac_cv_func_hypotl" = xyes; then :
58855  cat >>confdefs.h <<_ACEOF
58856#define HAVE_HYPOTL 1
58857_ACEOF
58858
58859fi
58860done
58861
58862  else
58863
58864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58865$as_echo_n "checking for _hypotl declaration... " >&6; }
58866  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58867    if ${glibcxx_cv_func__hypotl_use+:} false; then :
58868  $as_echo_n "(cached) " >&6
58869else
58870
58871
58872      ac_ext=cpp
58873ac_cpp='$CXXCPP $CPPFLAGS'
58874ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58875ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58876ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58877
58878      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58879/* end confdefs.h.  */
58880#include <math.h>
58881int
58882main ()
58883{
58884 _hypotl(0, 0);
58885  ;
58886  return 0;
58887}
58888_ACEOF
58889if ac_fn_cxx_try_compile "$LINENO"; then :
58890  glibcxx_cv_func__hypotl_use=yes
58891else
58892  glibcxx_cv_func__hypotl_use=no
58893fi
58894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58895      ac_ext=c
58896ac_cpp='$CPP $CPPFLAGS'
58897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58899ac_compiler_gnu=$ac_cv_c_compiler_gnu
58900
58901
58902fi
58903
58904  fi
58905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58906$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58907
58908    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58909      for ac_func in _hypotl
58910do :
58911  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58912if test "x$ac_cv_func__hypotl" = xyes; then :
58913  cat >>confdefs.h <<_ACEOF
58914#define HAVE__HYPOTL 1
58915_ACEOF
58916
58917fi
58918done
58919
58920    fi
58921  fi
58922
58923
58924
58925
58926
58927  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58928$as_echo_n "checking for ldexpl declaration... " >&6; }
58929  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58930    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58931  $as_echo_n "(cached) " >&6
58932else
58933
58934
58935      ac_ext=cpp
58936ac_cpp='$CXXCPP $CPPFLAGS'
58937ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58938ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58939ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58940
58941      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58942/* end confdefs.h.  */
58943#include <math.h>
58944int
58945main ()
58946{
58947 ldexpl(0, 0);
58948  ;
58949  return 0;
58950}
58951_ACEOF
58952if ac_fn_cxx_try_compile "$LINENO"; then :
58953  glibcxx_cv_func_ldexpl_use=yes
58954else
58955  glibcxx_cv_func_ldexpl_use=no
58956fi
58957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58958      ac_ext=c
58959ac_cpp='$CPP $CPPFLAGS'
58960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58962ac_compiler_gnu=$ac_cv_c_compiler_gnu
58963
58964
58965fi
58966
58967  fi
58968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58969$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58970
58971  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58972    for ac_func in ldexpl
58973do :
58974  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58975if test "x$ac_cv_func_ldexpl" = xyes; then :
58976  cat >>confdefs.h <<_ACEOF
58977#define HAVE_LDEXPL 1
58978_ACEOF
58979
58980fi
58981done
58982
58983  else
58984
58985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58986$as_echo_n "checking for _ldexpl declaration... " >&6; }
58987  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58988    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58989  $as_echo_n "(cached) " >&6
58990else
58991
58992
58993      ac_ext=cpp
58994ac_cpp='$CXXCPP $CPPFLAGS'
58995ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58996ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58997ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58998
58999      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59000/* end confdefs.h.  */
59001#include <math.h>
59002int
59003main ()
59004{
59005 _ldexpl(0, 0);
59006  ;
59007  return 0;
59008}
59009_ACEOF
59010if ac_fn_cxx_try_compile "$LINENO"; then :
59011  glibcxx_cv_func__ldexpl_use=yes
59012else
59013  glibcxx_cv_func__ldexpl_use=no
59014fi
59015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59016      ac_ext=c
59017ac_cpp='$CPP $CPPFLAGS'
59018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59020ac_compiler_gnu=$ac_cv_c_compiler_gnu
59021
59022
59023fi
59024
59025  fi
59026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59027$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59028
59029    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59030      for ac_func in _ldexpl
59031do :
59032  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59033if test "x$ac_cv_func__ldexpl" = xyes; then :
59034  cat >>confdefs.h <<_ACEOF
59035#define HAVE__LDEXPL 1
59036_ACEOF
59037
59038fi
59039done
59040
59041    fi
59042  fi
59043
59044
59045
59046
59047
59048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59049$as_echo_n "checking for logl declaration... " >&6; }
59050  if test x${glibcxx_cv_func_logl_use+set} != xset; then
59051    if ${glibcxx_cv_func_logl_use+:} false; then :
59052  $as_echo_n "(cached) " >&6
59053else
59054
59055
59056      ac_ext=cpp
59057ac_cpp='$CXXCPP $CPPFLAGS'
59058ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59059ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59060ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59061
59062      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59063/* end confdefs.h.  */
59064#include <math.h>
59065		      #ifdef HAVE_IEEEFP_H
59066		      #include <ieeefp.h>
59067		      #endif
59068
59069int
59070main ()
59071{
59072 logl(0);
59073  ;
59074  return 0;
59075}
59076_ACEOF
59077if ac_fn_cxx_try_compile "$LINENO"; then :
59078  glibcxx_cv_func_logl_use=yes
59079else
59080  glibcxx_cv_func_logl_use=no
59081fi
59082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59083      ac_ext=c
59084ac_cpp='$CPP $CPPFLAGS'
59085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59087ac_compiler_gnu=$ac_cv_c_compiler_gnu
59088
59089
59090fi
59091
59092  fi
59093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59094$as_echo "$glibcxx_cv_func_logl_use" >&6; }
59095
59096  if test x$glibcxx_cv_func_logl_use = x"yes"; then
59097    for ac_func in logl
59098do :
59099  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59100if test "x$ac_cv_func_logl" = xyes; then :
59101  cat >>confdefs.h <<_ACEOF
59102#define HAVE_LOGL 1
59103_ACEOF
59104
59105fi
59106done
59107
59108  else
59109
59110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59111$as_echo_n "checking for _logl declaration... " >&6; }
59112  if test x${glibcxx_cv_func__logl_use+set} != xset; then
59113    if ${glibcxx_cv_func__logl_use+:} false; then :
59114  $as_echo_n "(cached) " >&6
59115else
59116
59117
59118      ac_ext=cpp
59119ac_cpp='$CXXCPP $CPPFLAGS'
59120ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59121ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59122ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59123
59124      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59125/* end confdefs.h.  */
59126#include <math.h>
59127		      #ifdef HAVE_IEEEFP_H
59128		      #include <ieeefp.h>
59129		      #endif
59130
59131int
59132main ()
59133{
59134 _logl(0);
59135  ;
59136  return 0;
59137}
59138_ACEOF
59139if ac_fn_cxx_try_compile "$LINENO"; then :
59140  glibcxx_cv_func__logl_use=yes
59141else
59142  glibcxx_cv_func__logl_use=no
59143fi
59144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59145      ac_ext=c
59146ac_cpp='$CPP $CPPFLAGS'
59147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59149ac_compiler_gnu=$ac_cv_c_compiler_gnu
59150
59151
59152fi
59153
59154  fi
59155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59156$as_echo "$glibcxx_cv_func__logl_use" >&6; }
59157
59158    if test x$glibcxx_cv_func__logl_use = x"yes"; then
59159      for ac_func in _logl
59160do :
59161  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59162if test "x$ac_cv_func__logl" = xyes; then :
59163  cat >>confdefs.h <<_ACEOF
59164#define HAVE__LOGL 1
59165_ACEOF
59166
59167fi
59168done
59169
59170    fi
59171  fi
59172
59173
59174
59175
59176
59177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59178$as_echo_n "checking for log10l declaration... " >&6; }
59179  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59180    if ${glibcxx_cv_func_log10l_use+:} false; then :
59181  $as_echo_n "(cached) " >&6
59182else
59183
59184
59185      ac_ext=cpp
59186ac_cpp='$CXXCPP $CPPFLAGS'
59187ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59188ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59189ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59190
59191      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59192/* end confdefs.h.  */
59193#include <math.h>
59194		      #ifdef HAVE_IEEEFP_H
59195		      #include <ieeefp.h>
59196		      #endif
59197
59198int
59199main ()
59200{
59201 log10l(0);
59202  ;
59203  return 0;
59204}
59205_ACEOF
59206if ac_fn_cxx_try_compile "$LINENO"; then :
59207  glibcxx_cv_func_log10l_use=yes
59208else
59209  glibcxx_cv_func_log10l_use=no
59210fi
59211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59212      ac_ext=c
59213ac_cpp='$CPP $CPPFLAGS'
59214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59216ac_compiler_gnu=$ac_cv_c_compiler_gnu
59217
59218
59219fi
59220
59221  fi
59222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59223$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59224
59225  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59226    for ac_func in log10l
59227do :
59228  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59229if test "x$ac_cv_func_log10l" = xyes; then :
59230  cat >>confdefs.h <<_ACEOF
59231#define HAVE_LOG10L 1
59232_ACEOF
59233
59234fi
59235done
59236
59237  else
59238
59239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59240$as_echo_n "checking for _log10l declaration... " >&6; }
59241  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59242    if ${glibcxx_cv_func__log10l_use+:} false; then :
59243  $as_echo_n "(cached) " >&6
59244else
59245
59246
59247      ac_ext=cpp
59248ac_cpp='$CXXCPP $CPPFLAGS'
59249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59252
59253      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59254/* end confdefs.h.  */
59255#include <math.h>
59256		      #ifdef HAVE_IEEEFP_H
59257		      #include <ieeefp.h>
59258		      #endif
59259
59260int
59261main ()
59262{
59263 _log10l(0);
59264  ;
59265  return 0;
59266}
59267_ACEOF
59268if ac_fn_cxx_try_compile "$LINENO"; then :
59269  glibcxx_cv_func__log10l_use=yes
59270else
59271  glibcxx_cv_func__log10l_use=no
59272fi
59273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59274      ac_ext=c
59275ac_cpp='$CPP $CPPFLAGS'
59276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59278ac_compiler_gnu=$ac_cv_c_compiler_gnu
59279
59280
59281fi
59282
59283  fi
59284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59285$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59286
59287    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59288      for ac_func in _log10l
59289do :
59290  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59291if test "x$ac_cv_func__log10l" = xyes; then :
59292  cat >>confdefs.h <<_ACEOF
59293#define HAVE__LOG10L 1
59294_ACEOF
59295
59296fi
59297done
59298
59299    fi
59300  fi
59301
59302
59303
59304
59305
59306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59307$as_echo_n "checking for modfl declaration... " >&6; }
59308  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59309    if ${glibcxx_cv_func_modfl_use+:} false; then :
59310  $as_echo_n "(cached) " >&6
59311else
59312
59313
59314      ac_ext=cpp
59315ac_cpp='$CXXCPP $CPPFLAGS'
59316ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59317ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59318ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59319
59320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59321/* end confdefs.h.  */
59322#include <math.h>
59323int
59324main ()
59325{
59326 modfl(0, 0);
59327  ;
59328  return 0;
59329}
59330_ACEOF
59331if ac_fn_cxx_try_compile "$LINENO"; then :
59332  glibcxx_cv_func_modfl_use=yes
59333else
59334  glibcxx_cv_func_modfl_use=no
59335fi
59336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59337      ac_ext=c
59338ac_cpp='$CPP $CPPFLAGS'
59339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59341ac_compiler_gnu=$ac_cv_c_compiler_gnu
59342
59343
59344fi
59345
59346  fi
59347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59348$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59349
59350  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59351    for ac_func in modfl
59352do :
59353  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59354if test "x$ac_cv_func_modfl" = xyes; then :
59355  cat >>confdefs.h <<_ACEOF
59356#define HAVE_MODFL 1
59357_ACEOF
59358
59359fi
59360done
59361
59362  else
59363
59364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59365$as_echo_n "checking for _modfl declaration... " >&6; }
59366  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59367    if ${glibcxx_cv_func__modfl_use+:} false; then :
59368  $as_echo_n "(cached) " >&6
59369else
59370
59371
59372      ac_ext=cpp
59373ac_cpp='$CXXCPP $CPPFLAGS'
59374ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59375ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59376ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59377
59378      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59379/* end confdefs.h.  */
59380#include <math.h>
59381int
59382main ()
59383{
59384 _modfl(0, 0);
59385  ;
59386  return 0;
59387}
59388_ACEOF
59389if ac_fn_cxx_try_compile "$LINENO"; then :
59390  glibcxx_cv_func__modfl_use=yes
59391else
59392  glibcxx_cv_func__modfl_use=no
59393fi
59394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59395      ac_ext=c
59396ac_cpp='$CPP $CPPFLAGS'
59397ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59398ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59399ac_compiler_gnu=$ac_cv_c_compiler_gnu
59400
59401
59402fi
59403
59404  fi
59405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59406$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59407
59408    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59409      for ac_func in _modfl
59410do :
59411  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59412if test "x$ac_cv_func__modfl" = xyes; then :
59413  cat >>confdefs.h <<_ACEOF
59414#define HAVE__MODFL 1
59415_ACEOF
59416
59417fi
59418done
59419
59420    fi
59421  fi
59422
59423
59424
59425
59426
59427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59428$as_echo_n "checking for powl declaration... " >&6; }
59429  if test x${glibcxx_cv_func_powl_use+set} != xset; then
59430    if ${glibcxx_cv_func_powl_use+:} false; then :
59431  $as_echo_n "(cached) " >&6
59432else
59433
59434
59435      ac_ext=cpp
59436ac_cpp='$CXXCPP $CPPFLAGS'
59437ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59438ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59439ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59440
59441      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59442/* end confdefs.h.  */
59443#include <math.h>
59444int
59445main ()
59446{
59447 powl(0, 0);
59448  ;
59449  return 0;
59450}
59451_ACEOF
59452if ac_fn_cxx_try_compile "$LINENO"; then :
59453  glibcxx_cv_func_powl_use=yes
59454else
59455  glibcxx_cv_func_powl_use=no
59456fi
59457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59458      ac_ext=c
59459ac_cpp='$CPP $CPPFLAGS'
59460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59462ac_compiler_gnu=$ac_cv_c_compiler_gnu
59463
59464
59465fi
59466
59467  fi
59468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59469$as_echo "$glibcxx_cv_func_powl_use" >&6; }
59470
59471  if test x$glibcxx_cv_func_powl_use = x"yes"; then
59472    for ac_func in powl
59473do :
59474  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59475if test "x$ac_cv_func_powl" = xyes; then :
59476  cat >>confdefs.h <<_ACEOF
59477#define HAVE_POWL 1
59478_ACEOF
59479
59480fi
59481done
59482
59483  else
59484
59485  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59486$as_echo_n "checking for _powl declaration... " >&6; }
59487  if test x${glibcxx_cv_func__powl_use+set} != xset; then
59488    if ${glibcxx_cv_func__powl_use+:} false; then :
59489  $as_echo_n "(cached) " >&6
59490else
59491
59492
59493      ac_ext=cpp
59494ac_cpp='$CXXCPP $CPPFLAGS'
59495ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59496ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59497ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59498
59499      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59500/* end confdefs.h.  */
59501#include <math.h>
59502int
59503main ()
59504{
59505 _powl(0, 0);
59506  ;
59507  return 0;
59508}
59509_ACEOF
59510if ac_fn_cxx_try_compile "$LINENO"; then :
59511  glibcxx_cv_func__powl_use=yes
59512else
59513  glibcxx_cv_func__powl_use=no
59514fi
59515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59516      ac_ext=c
59517ac_cpp='$CPP $CPPFLAGS'
59518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59520ac_compiler_gnu=$ac_cv_c_compiler_gnu
59521
59522
59523fi
59524
59525  fi
59526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59527$as_echo "$glibcxx_cv_func__powl_use" >&6; }
59528
59529    if test x$glibcxx_cv_func__powl_use = x"yes"; then
59530      for ac_func in _powl
59531do :
59532  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59533if test "x$ac_cv_func__powl" = xyes; then :
59534  cat >>confdefs.h <<_ACEOF
59535#define HAVE__POWL 1
59536_ACEOF
59537
59538fi
59539done
59540
59541    fi
59542  fi
59543
59544
59545
59546
59547
59548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59549$as_echo_n "checking for sqrtl declaration... " >&6; }
59550  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59551    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59552  $as_echo_n "(cached) " >&6
59553else
59554
59555
59556      ac_ext=cpp
59557ac_cpp='$CXXCPP $CPPFLAGS'
59558ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59559ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59560ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59561
59562      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59563/* end confdefs.h.  */
59564#include <math.h>
59565		      #ifdef HAVE_IEEEFP_H
59566		      #include <ieeefp.h>
59567		      #endif
59568
59569int
59570main ()
59571{
59572 sqrtl(0);
59573  ;
59574  return 0;
59575}
59576_ACEOF
59577if ac_fn_cxx_try_compile "$LINENO"; then :
59578  glibcxx_cv_func_sqrtl_use=yes
59579else
59580  glibcxx_cv_func_sqrtl_use=no
59581fi
59582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59583      ac_ext=c
59584ac_cpp='$CPP $CPPFLAGS'
59585ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59586ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59587ac_compiler_gnu=$ac_cv_c_compiler_gnu
59588
59589
59590fi
59591
59592  fi
59593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59594$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59595
59596  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59597    for ac_func in sqrtl
59598do :
59599  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59600if test "x$ac_cv_func_sqrtl" = xyes; then :
59601  cat >>confdefs.h <<_ACEOF
59602#define HAVE_SQRTL 1
59603_ACEOF
59604
59605fi
59606done
59607
59608  else
59609
59610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59611$as_echo_n "checking for _sqrtl declaration... " >&6; }
59612  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59613    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59614  $as_echo_n "(cached) " >&6
59615else
59616
59617
59618      ac_ext=cpp
59619ac_cpp='$CXXCPP $CPPFLAGS'
59620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59623
59624      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59625/* end confdefs.h.  */
59626#include <math.h>
59627		      #ifdef HAVE_IEEEFP_H
59628		      #include <ieeefp.h>
59629		      #endif
59630
59631int
59632main ()
59633{
59634 _sqrtl(0);
59635  ;
59636  return 0;
59637}
59638_ACEOF
59639if ac_fn_cxx_try_compile "$LINENO"; then :
59640  glibcxx_cv_func__sqrtl_use=yes
59641else
59642  glibcxx_cv_func__sqrtl_use=no
59643fi
59644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59645      ac_ext=c
59646ac_cpp='$CPP $CPPFLAGS'
59647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59649ac_compiler_gnu=$ac_cv_c_compiler_gnu
59650
59651
59652fi
59653
59654  fi
59655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59656$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59657
59658    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59659      for ac_func in _sqrtl
59660do :
59661  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59662if test "x$ac_cv_func__sqrtl" = xyes; then :
59663  cat >>confdefs.h <<_ACEOF
59664#define HAVE__SQRTL 1
59665_ACEOF
59666
59667fi
59668done
59669
59670    fi
59671  fi
59672
59673
59674
59675
59676
59677  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59678$as_echo_n "checking for sincosl declaration... " >&6; }
59679  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59680    if ${glibcxx_cv_func_sincosl_use+:} false; then :
59681  $as_echo_n "(cached) " >&6
59682else
59683
59684
59685      ac_ext=cpp
59686ac_cpp='$CXXCPP $CPPFLAGS'
59687ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59688ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59689ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59690
59691      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59692/* end confdefs.h.  */
59693#include <math.h>
59694int
59695main ()
59696{
59697 sincosl(0, 0, 0);
59698  ;
59699  return 0;
59700}
59701_ACEOF
59702if ac_fn_cxx_try_compile "$LINENO"; then :
59703  glibcxx_cv_func_sincosl_use=yes
59704else
59705  glibcxx_cv_func_sincosl_use=no
59706fi
59707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59708      ac_ext=c
59709ac_cpp='$CPP $CPPFLAGS'
59710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712ac_compiler_gnu=$ac_cv_c_compiler_gnu
59713
59714
59715fi
59716
59717  fi
59718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59719$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59720
59721  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59722    for ac_func in sincosl
59723do :
59724  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59725if test "x$ac_cv_func_sincosl" = xyes; then :
59726  cat >>confdefs.h <<_ACEOF
59727#define HAVE_SINCOSL 1
59728_ACEOF
59729
59730fi
59731done
59732
59733  else
59734
59735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59736$as_echo_n "checking for _sincosl declaration... " >&6; }
59737  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59738    if ${glibcxx_cv_func__sincosl_use+:} false; then :
59739  $as_echo_n "(cached) " >&6
59740else
59741
59742
59743      ac_ext=cpp
59744ac_cpp='$CXXCPP $CPPFLAGS'
59745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59748
59749      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59750/* end confdefs.h.  */
59751#include <math.h>
59752int
59753main ()
59754{
59755 _sincosl(0, 0, 0);
59756  ;
59757  return 0;
59758}
59759_ACEOF
59760if ac_fn_cxx_try_compile "$LINENO"; then :
59761  glibcxx_cv_func__sincosl_use=yes
59762else
59763  glibcxx_cv_func__sincosl_use=no
59764fi
59765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59766      ac_ext=c
59767ac_cpp='$CPP $CPPFLAGS'
59768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59770ac_compiler_gnu=$ac_cv_c_compiler_gnu
59771
59772
59773fi
59774
59775  fi
59776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59777$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59778
59779    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59780      for ac_func in _sincosl
59781do :
59782  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59783if test "x$ac_cv_func__sincosl" = xyes; then :
59784  cat >>confdefs.h <<_ACEOF
59785#define HAVE__SINCOSL 1
59786_ACEOF
59787
59788fi
59789done
59790
59791    fi
59792  fi
59793
59794
59795
59796
59797
59798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59799$as_echo_n "checking for finitel declaration... " >&6; }
59800  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59801    if ${glibcxx_cv_func_finitel_use+:} false; then :
59802  $as_echo_n "(cached) " >&6
59803else
59804
59805
59806      ac_ext=cpp
59807ac_cpp='$CXXCPP $CPPFLAGS'
59808ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59809ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59810ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59811
59812      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59813/* end confdefs.h.  */
59814#include <math.h>
59815		      #ifdef HAVE_IEEEFP_H
59816		      #include <ieeefp.h>
59817		      #endif
59818
59819int
59820main ()
59821{
59822 finitel(0);
59823  ;
59824  return 0;
59825}
59826_ACEOF
59827if ac_fn_cxx_try_compile "$LINENO"; then :
59828  glibcxx_cv_func_finitel_use=yes
59829else
59830  glibcxx_cv_func_finitel_use=no
59831fi
59832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59833      ac_ext=c
59834ac_cpp='$CPP $CPPFLAGS'
59835ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837ac_compiler_gnu=$ac_cv_c_compiler_gnu
59838
59839
59840fi
59841
59842  fi
59843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59844$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59845
59846  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59847    for ac_func in finitel
59848do :
59849  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59850if test "x$ac_cv_func_finitel" = xyes; then :
59851  cat >>confdefs.h <<_ACEOF
59852#define HAVE_FINITEL 1
59853_ACEOF
59854
59855fi
59856done
59857
59858  else
59859
59860  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59861$as_echo_n "checking for _finitel declaration... " >&6; }
59862  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59863    if ${glibcxx_cv_func__finitel_use+:} false; then :
59864  $as_echo_n "(cached) " >&6
59865else
59866
59867
59868      ac_ext=cpp
59869ac_cpp='$CXXCPP $CPPFLAGS'
59870ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59871ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59872ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59873
59874      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59875/* end confdefs.h.  */
59876#include <math.h>
59877		      #ifdef HAVE_IEEEFP_H
59878		      #include <ieeefp.h>
59879		      #endif
59880
59881int
59882main ()
59883{
59884 _finitel(0);
59885  ;
59886  return 0;
59887}
59888_ACEOF
59889if ac_fn_cxx_try_compile "$LINENO"; then :
59890  glibcxx_cv_func__finitel_use=yes
59891else
59892  glibcxx_cv_func__finitel_use=no
59893fi
59894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59895      ac_ext=c
59896ac_cpp='$CPP $CPPFLAGS'
59897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59899ac_compiler_gnu=$ac_cv_c_compiler_gnu
59900
59901
59902fi
59903
59904  fi
59905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59906$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59907
59908    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59909      for ac_func in _finitel
59910do :
59911  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59912if test "x$ac_cv_func__finitel" = xyes; then :
59913  cat >>confdefs.h <<_ACEOF
59914#define HAVE__FINITEL 1
59915_ACEOF
59916
59917fi
59918done
59919
59920    fi
59921  fi
59922
59923
59924
59925
59926  LIBS="$ac_save_LIBS"
59927  CXXFLAGS="$ac_save_CXXFLAGS"
59928
59929
59930  ac_test_CXXFLAGS="${CXXFLAGS+set}"
59931  ac_save_CXXFLAGS="$CXXFLAGS"
59932  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59933
59934
59935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59936$as_echo_n "checking for at_quick_exit declaration... " >&6; }
59937  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59938    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59939  $as_echo_n "(cached) " >&6
59940else
59941
59942
59943      ac_ext=cpp
59944ac_cpp='$CXXCPP $CPPFLAGS'
59945ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59946ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59947ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59948
59949      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59950/* end confdefs.h.  */
59951#include <stdlib.h>
59952int
59953main ()
59954{
59955 at_quick_exit(0);
59956  ;
59957  return 0;
59958}
59959_ACEOF
59960if ac_fn_cxx_try_compile "$LINENO"; then :
59961  glibcxx_cv_func_at_quick_exit_use=yes
59962else
59963  glibcxx_cv_func_at_quick_exit_use=no
59964fi
59965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59966      ac_ext=c
59967ac_cpp='$CPP $CPPFLAGS'
59968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59970ac_compiler_gnu=$ac_cv_c_compiler_gnu
59971
59972
59973fi
59974
59975  fi
59976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59977$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59978  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59979    for ac_func in at_quick_exit
59980do :
59981  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59982if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59983  cat >>confdefs.h <<_ACEOF
59984#define HAVE_AT_QUICK_EXIT 1
59985_ACEOF
59986
59987fi
59988done
59989
59990  fi
59991
59992
59993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59994$as_echo_n "checking for quick_exit declaration... " >&6; }
59995  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59996    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59997  $as_echo_n "(cached) " >&6
59998else
59999
60000
60001      ac_ext=cpp
60002ac_cpp='$CXXCPP $CPPFLAGS'
60003ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60004ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60005ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60006
60007      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60008/* end confdefs.h.  */
60009#include <stdlib.h>
60010int
60011main ()
60012{
60013 quick_exit(0);
60014  ;
60015  return 0;
60016}
60017_ACEOF
60018if ac_fn_cxx_try_compile "$LINENO"; then :
60019  glibcxx_cv_func_quick_exit_use=yes
60020else
60021  glibcxx_cv_func_quick_exit_use=no
60022fi
60023rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60024      ac_ext=c
60025ac_cpp='$CPP $CPPFLAGS'
60026ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60027ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60028ac_compiler_gnu=$ac_cv_c_compiler_gnu
60029
60030
60031fi
60032
60033  fi
60034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60035$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60036  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60037    for ac_func in quick_exit
60038do :
60039  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60040if test "x$ac_cv_func_quick_exit" = xyes; then :
60041  cat >>confdefs.h <<_ACEOF
60042#define HAVE_QUICK_EXIT 1
60043_ACEOF
60044
60045fi
60046done
60047
60048  fi
60049
60050
60051  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60052$as_echo_n "checking for strtold declaration... " >&6; }
60053  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60054    if ${glibcxx_cv_func_strtold_use+:} false; then :
60055  $as_echo_n "(cached) " >&6
60056else
60057
60058
60059      ac_ext=cpp
60060ac_cpp='$CXXCPP $CPPFLAGS'
60061ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60062ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60063ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60064
60065      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60066/* end confdefs.h.  */
60067#include <stdlib.h>
60068int
60069main ()
60070{
60071 strtold(0, 0);
60072  ;
60073  return 0;
60074}
60075_ACEOF
60076if ac_fn_cxx_try_compile "$LINENO"; then :
60077  glibcxx_cv_func_strtold_use=yes
60078else
60079  glibcxx_cv_func_strtold_use=no
60080fi
60081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60082      ac_ext=c
60083ac_cpp='$CPP $CPPFLAGS'
60084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60086ac_compiler_gnu=$ac_cv_c_compiler_gnu
60087
60088
60089fi
60090
60091  fi
60092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60093$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60094  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60095    for ac_func in strtold
60096do :
60097  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60098if test "x$ac_cv_func_strtold" = xyes; then :
60099  cat >>confdefs.h <<_ACEOF
60100#define HAVE_STRTOLD 1
60101_ACEOF
60102
60103fi
60104done
60105
60106  fi
60107
60108
60109
60110
60111  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60112$as_echo_n "checking for strtof declaration... " >&6; }
60113  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60114    if ${glibcxx_cv_func_strtof_use+:} false; then :
60115  $as_echo_n "(cached) " >&6
60116else
60117
60118
60119      ac_ext=cpp
60120ac_cpp='$CXXCPP $CPPFLAGS'
60121ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60122ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60123ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60124
60125      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60126/* end confdefs.h.  */
60127#include <stdlib.h>
60128int
60129main ()
60130{
60131 strtof(0, 0);
60132  ;
60133  return 0;
60134}
60135_ACEOF
60136if ac_fn_cxx_try_compile "$LINENO"; then :
60137  glibcxx_cv_func_strtof_use=yes
60138else
60139  glibcxx_cv_func_strtof_use=no
60140fi
60141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60142      ac_ext=c
60143ac_cpp='$CPP $CPPFLAGS'
60144ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60145ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60146ac_compiler_gnu=$ac_cv_c_compiler_gnu
60147
60148
60149fi
60150
60151  fi
60152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60153$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60154  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60155    for ac_func in strtof
60156do :
60157  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60158if test "x$ac_cv_func_strtof" = xyes; then :
60159  cat >>confdefs.h <<_ACEOF
60160#define HAVE_STRTOF 1
60161_ACEOF
60162
60163fi
60164done
60165
60166  fi
60167
60168
60169
60170
60171  CXXFLAGS="$ac_save_CXXFLAGS"
60172
60173    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60174do :
60175  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60176ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60177if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60178  cat >>confdefs.h <<_ACEOF
60179#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60180_ACEOF
60181
60182fi
60183done
60184
60185    for ac_func in _wfopen
60186do :
60187  ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60188if test "x$ac_cv_func__wfopen" = xyes; then :
60189  cat >>confdefs.h <<_ACEOF
60190#define HAVE__WFOPEN 1
60191_ACEOF
60192
60193fi
60194done
60195
60196
60197
60198   # Check whether --enable-tls was given.
60199if test "${enable_tls+set}" = set; then :
60200  enableval=$enable_tls;
60201      case "$enableval" in
60202       yes|no) ;;
60203       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60204      esac
60205
60206else
60207  enable_tls=yes
60208fi
60209
60210
60211  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60212$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60213if ${gcc_cv_have_tls+:} false; then :
60214  $as_echo_n "(cached) " >&6
60215else
60216
60217    if test "$cross_compiling" = yes; then :
60218                if test x$gcc_no_link = xyes; then
60219  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60220fi
60221cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60222/* end confdefs.h.  */
60223__thread int a; int b; int main() { return a = b; }
60224_ACEOF
60225if ac_fn_c_try_link "$LINENO"; then :
60226  chktls_save_LDFLAGS="$LDFLAGS"
60227	  	  	  case $host in
60228	    *-*-linux* | -*-uclinuxfdpic*)
60229	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60230	      ;;
60231	  esac
60232	  chktls_save_CFLAGS="$CFLAGS"
60233	  CFLAGS="-fPIC $CFLAGS"
60234	  	  if test x$gcc_no_link = xyes; then
60235  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60236fi
60237cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60238/* end confdefs.h.  */
60239int f() { return 0; }
60240_ACEOF
60241if ac_fn_c_try_link "$LINENO"; then :
60242  if test x$gcc_no_link = xyes; then
60243  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60244fi
60245cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60246/* end confdefs.h.  */
60247__thread int a; int b; int f() { return a = b; }
60248_ACEOF
60249if ac_fn_c_try_link "$LINENO"; then :
60250  gcc_cv_have_tls=yes
60251else
60252  gcc_cv_have_tls=no
60253fi
60254rm -f core conftest.err conftest.$ac_objext \
60255    conftest$ac_exeext conftest.$ac_ext
60256else
60257  gcc_cv_have_tls=yes
60258fi
60259rm -f core conftest.err conftest.$ac_objext \
60260    conftest$ac_exeext conftest.$ac_ext
60261	  CFLAGS="$chktls_save_CFLAGS"
60262	  LDFLAGS="$chktls_save_LDFLAGS"
60263else
60264  gcc_cv_have_tls=no
60265fi
60266rm -f core conftest.err conftest.$ac_objext \
60267    conftest$ac_exeext conftest.$ac_ext
60268
60269
60270else
60271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60272/* end confdefs.h.  */
60273__thread int a; int b; int main() { return a = b; }
60274_ACEOF
60275if ac_fn_c_try_run "$LINENO"; then :
60276                      chktls_save_LDFLAGS="$LDFLAGS"
60277      LDFLAGS="-static $LDFLAGS"
60278      if test x$gcc_no_link = xyes; then
60279  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60280fi
60281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60282/* end confdefs.h.  */
60283int main() { return 0; }
60284_ACEOF
60285if ac_fn_c_try_link "$LINENO"; then :
60286  if test "$cross_compiling" = yes; then :
60287  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60288$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60289as_fn_error $? "cannot run test program while cross compiling
60290See \`config.log' for more details" "$LINENO" 5; }
60291else
60292  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60293/* end confdefs.h.  */
60294__thread int a; int b; int main() { return a = b; }
60295_ACEOF
60296if ac_fn_c_try_run "$LINENO"; then :
60297  gcc_cv_have_tls=yes
60298else
60299  gcc_cv_have_tls=no
60300fi
60301rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60302  conftest.$ac_objext conftest.beam conftest.$ac_ext
60303fi
60304
60305else
60306  gcc_cv_have_tls=yes
60307fi
60308rm -f core conftest.err conftest.$ac_objext \
60309    conftest$ac_exeext conftest.$ac_ext
60310      LDFLAGS="$chktls_save_LDFLAGS"
60311      if test $gcc_cv_have_tls = yes; then
60312						chktls_save_CFLAGS="$CFLAGS"
60313	thread_CFLAGS=failed
60314	for flag in '' '-pthread' '-lpthread'; do
60315	  CFLAGS="$flag $chktls_save_CFLAGS"
60316	  if test x$gcc_no_link = xyes; then
60317  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60318fi
60319cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60320/* end confdefs.h.  */
60321#include <pthread.h>
60322		void *g(void *d) { return NULL; }
60323int
60324main ()
60325{
60326pthread_t t; pthread_create(&t,NULL,g,NULL);
60327  ;
60328  return 0;
60329}
60330_ACEOF
60331if ac_fn_c_try_link "$LINENO"; then :
60332  thread_CFLAGS="$flag"
60333fi
60334rm -f core conftest.err conftest.$ac_objext \
60335    conftest$ac_exeext conftest.$ac_ext
60336	  if test "X$thread_CFLAGS" != Xfailed; then
60337	    break
60338	  fi
60339	done
60340	CFLAGS="$chktls_save_CFLAGS"
60341	if test "X$thread_CFLAGS" != Xfailed; then
60342	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60343 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
60344  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60345$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60346as_fn_error $? "cannot run test program while cross compiling
60347See \`config.log' for more details" "$LINENO" 5; }
60348else
60349  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60350/* end confdefs.h.  */
60351#include <pthread.h>
60352		__thread int a;
60353		static int *volatile a_in_other_thread;
60354		static void *
60355		thread_func (void *arg)
60356		{
60357		  a_in_other_thread = &a;
60358		  return (void *)0;
60359		}
60360int
60361main ()
60362{
60363pthread_t thread;
60364		void *thread_retval;
60365		int *volatile a_in_main_thread;
60366		a_in_main_thread = &a;
60367		if (pthread_create (&thread, (pthread_attr_t *)0,
60368				    thread_func, (void *)0))
60369		  return 0;
60370		if (pthread_join (thread, &thread_retval))
60371		  return 0;
60372		return (a_in_other_thread == a_in_main_thread);
60373  ;
60374  return 0;
60375}
60376_ACEOF
60377if ac_fn_c_try_run "$LINENO"; then :
60378  gcc_cv_have_tls=yes
60379else
60380  gcc_cv_have_tls=no
60381fi
60382rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60383  conftest.$ac_objext conftest.beam conftest.$ac_ext
60384fi
60385
60386	  CFLAGS="$chktls_save_CFLAGS"
60387	fi
60388      fi
60389else
60390  gcc_cv_have_tls=no
60391fi
60392rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60393  conftest.$ac_objext conftest.beam conftest.$ac_ext
60394fi
60395
60396fi
60397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60398$as_echo "$gcc_cv_have_tls" >&6; }
60399  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60400
60401$as_echo "#define HAVE_TLS 1" >>confdefs.h
60402
60403  fi
60404    ;;
60405  *-netbsd* | *-openbsd*)
60406    SECTION_FLAGS='-ffunction-sections -fdata-sections'
60407
60408
60409  # If we're not using GNU ld, then there's no point in even trying these
60410  # tests.  Check for that first.  We should have already tested for gld
60411  # by now (in libtool), but require it now just to be safe...
60412  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60413  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60414
60415
60416
60417  # The name set by libtool depends on the version of libtool.  Shame on us
60418  # for depending on an impl detail, but c'est la vie.  Older versions used
60419  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60420  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60421  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60422  # set (hence we're using an older libtool), then set it.
60423  if test x${with_gnu_ld+set} != xset; then
60424    if test x${ac_cv_prog_gnu_ld+set} != xset; then
60425      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60426      with_gnu_ld=no
60427    else
60428      with_gnu_ld=$ac_cv_prog_gnu_ld
60429    fi
60430  fi
60431
60432  # Start by getting the version number.  I think the libtool test already
60433  # does some of this, but throws away the result.
60434  glibcxx_ld_is_gold=no
60435  if test x"$with_gnu_ld" = x"yes"; then
60436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60437$as_echo_n "checking for ld version... " >&6; }
60438
60439    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60440      glibcxx_ld_is_gold=yes
60441    fi
60442    ldver=`$LD --version 2>/dev/null |
60443	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60444
60445    glibcxx_gnu_ld_version=`echo $ldver | \
60446	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60447    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60448$as_echo "$glibcxx_gnu_ld_version" >&6; }
60449  fi
60450
60451  # Set --gc-sections.
60452  glibcxx_have_gc_sections=no
60453  if test "$glibcxx_ld_is_gold" = "yes"; then
60454    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60455      glibcxx_have_gc_sections=yes
60456    fi
60457  else
60458    glibcxx_gcsections_min_ld=21602
60459    if test x"$with_gnu_ld" = x"yes" &&
60460	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60461      glibcxx_have_gc_sections=yes
60462    fi
60463  fi
60464  if test "$glibcxx_have_gc_sections" = "yes"; then
60465    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60466    # NB: This flag only works reliably after 2.16.1. Configure tests
60467    # for this are difficult, so hard wire a value that should work.
60468
60469    ac_test_CFLAGS="${CFLAGS+set}"
60470    ac_save_CFLAGS="$CFLAGS"
60471    CFLAGS='-Wl,--gc-sections'
60472
60473    # Check for -Wl,--gc-sections
60474    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60475$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60476    if test x$gcc_no_link = xyes; then
60477  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60478fi
60479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60480/* end confdefs.h.  */
60481 int one(void) { return 1; }
60482     int two(void) { return 2; }
60483
60484int
60485main ()
60486{
60487 two();
60488  ;
60489  return 0;
60490}
60491_ACEOF
60492if ac_fn_c_try_link "$LINENO"; then :
60493  ac_gcsections=yes
60494else
60495  ac_gcsections=no
60496fi
60497rm -f core conftest.err conftest.$ac_objext \
60498    conftest$ac_exeext conftest.$ac_ext
60499    if test "$ac_gcsections" = "yes"; then
60500      rm -f conftest.c
60501      touch conftest.c
60502      if $CC -c conftest.c; then
60503	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60504	   grep "Warning: gc-sections option ignored" > /dev/null; then
60505	  ac_gcsections=no
60506	fi
60507      fi
60508      rm -f conftest.c conftest.o conftest
60509    fi
60510    if test "$ac_gcsections" = "yes"; then
60511      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60512    fi
60513    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60514$as_echo "$ac_gcsections" >&6; }
60515
60516    if test "$ac_test_CFLAGS" = set; then
60517      CFLAGS="$ac_save_CFLAGS"
60518    else
60519      # this is the suspicious part
60520      CFLAGS=''
60521    fi
60522  fi
60523
60524  # Set -z,relro.
60525  # Note this is only for shared objects.
60526  ac_ld_relro=no
60527  if test x"$with_gnu_ld" = x"yes"; then
60528    # cygwin and mingw uses PE, which has no ELF relro support,
60529    # multi target ld may confuse configure machinery
60530    case "$host" in
60531    *-*-cygwin*)
60532     ;;
60533    *-*-mingw*)
60534     ;;
60535    *)
60536      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60537$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60538      cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60539      if test -n "$cxx_z_relo"; then
60540        OPT_LDFLAGS="-Wl,-z,relro"
60541        ac_ld_relro=yes
60542      fi
60543      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60544$as_echo "$ac_ld_relro" >&6; }
60545    esac
60546  fi
60547
60548  # Set linker optimization flags.
60549  if test x"$with_gnu_ld" = x"yes"; then
60550    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60551  fi
60552
60553
60554
60555
60556    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60557
60558    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60559
60560    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60561
60562    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60563
60564    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60565
60566    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60567
60568    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60569
60570    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60571
60572    if test x"long_double_math_on_this_cpu" = x"yes"; then
60573      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60574
60575      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60576
60577      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60578
60579    fi
60580    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60581do :
60582  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60583ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60584if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60585  cat >>confdefs.h <<_ACEOF
60586#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60587_ACEOF
60588
60589fi
60590done
60591
60592    for ac_func in timespec_get
60593do :
60594  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60595if test "x$ac_cv_func_timespec_get" = xyes; then :
60596  cat >>confdefs.h <<_ACEOF
60597#define HAVE_TIMESPEC_GET 1
60598_ACEOF
60599
60600fi
60601done
60602
60603    for ac_func in sockatmark
60604do :
60605  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60606if test "x$ac_cv_func_sockatmark" = xyes; then :
60607  cat >>confdefs.h <<_ACEOF
60608#define HAVE_SOCKATMARK 1
60609_ACEOF
60610
60611fi
60612done
60613
60614    ;;
60615  *-qnx6.1* | *-qnx6.2*)
60616    SECTION_FLAGS='-ffunction-sections -fdata-sections'
60617
60618
60619  # If we're not using GNU ld, then there's no point in even trying these
60620  # tests.  Check for that first.  We should have already tested for gld
60621  # by now (in libtool), but require it now just to be safe...
60622  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60623  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60624
60625
60626
60627  # The name set by libtool depends on the version of libtool.  Shame on us
60628  # for depending on an impl detail, but c'est la vie.  Older versions used
60629  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60630  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60631  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60632  # set (hence we're using an older libtool), then set it.
60633  if test x${with_gnu_ld+set} != xset; then
60634    if test x${ac_cv_prog_gnu_ld+set} != xset; then
60635      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60636      with_gnu_ld=no
60637    else
60638      with_gnu_ld=$ac_cv_prog_gnu_ld
60639    fi
60640  fi
60641
60642  # Start by getting the version number.  I think the libtool test already
60643  # does some of this, but throws away the result.
60644  glibcxx_ld_is_gold=no
60645  if test x"$with_gnu_ld" = x"yes"; then
60646    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60647$as_echo_n "checking for ld version... " >&6; }
60648
60649    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60650      glibcxx_ld_is_gold=yes
60651    fi
60652    ldver=`$LD --version 2>/dev/null |
60653	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60654
60655    glibcxx_gnu_ld_version=`echo $ldver | \
60656	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60657    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60658$as_echo "$glibcxx_gnu_ld_version" >&6; }
60659  fi
60660
60661  # Set --gc-sections.
60662  glibcxx_have_gc_sections=no
60663  if test "$glibcxx_ld_is_gold" = "yes"; then
60664    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60665      glibcxx_have_gc_sections=yes
60666    fi
60667  else
60668    glibcxx_gcsections_min_ld=21602
60669    if test x"$with_gnu_ld" = x"yes" &&
60670	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60671      glibcxx_have_gc_sections=yes
60672    fi
60673  fi
60674  if test "$glibcxx_have_gc_sections" = "yes"; then
60675    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60676    # NB: This flag only works reliably after 2.16.1. Configure tests
60677    # for this are difficult, so hard wire a value that should work.
60678
60679    ac_test_CFLAGS="${CFLAGS+set}"
60680    ac_save_CFLAGS="$CFLAGS"
60681    CFLAGS='-Wl,--gc-sections'
60682
60683    # Check for -Wl,--gc-sections
60684    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60685$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60686    if test x$gcc_no_link = xyes; then
60687  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60688fi
60689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60690/* end confdefs.h.  */
60691 int one(void) { return 1; }
60692     int two(void) { return 2; }
60693
60694int
60695main ()
60696{
60697 two();
60698  ;
60699  return 0;
60700}
60701_ACEOF
60702if ac_fn_c_try_link "$LINENO"; then :
60703  ac_gcsections=yes
60704else
60705  ac_gcsections=no
60706fi
60707rm -f core conftest.err conftest.$ac_objext \
60708    conftest$ac_exeext conftest.$ac_ext
60709    if test "$ac_gcsections" = "yes"; then
60710      rm -f conftest.c
60711      touch conftest.c
60712      if $CC -c conftest.c; then
60713	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60714	   grep "Warning: gc-sections option ignored" > /dev/null; then
60715	  ac_gcsections=no
60716	fi
60717      fi
60718      rm -f conftest.c conftest.o conftest
60719    fi
60720    if test "$ac_gcsections" = "yes"; then
60721      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60722    fi
60723    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60724$as_echo "$ac_gcsections" >&6; }
60725
60726    if test "$ac_test_CFLAGS" = set; then
60727      CFLAGS="$ac_save_CFLAGS"
60728    else
60729      # this is the suspicious part
60730      CFLAGS=''
60731    fi
60732  fi
60733
60734  # Set -z,relro.
60735  # Note this is only for shared objects.
60736  ac_ld_relro=no
60737  if test x"$with_gnu_ld" = x"yes"; then
60738    # cygwin and mingw uses PE, which has no ELF relro support,
60739    # multi target ld may confuse configure machinery
60740    case "$host" in
60741    *-*-cygwin*)
60742     ;;
60743    *-*-mingw*)
60744     ;;
60745    *)
60746      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60747$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60748      cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60749      if test -n "$cxx_z_relo"; then
60750        OPT_LDFLAGS="-Wl,-z,relro"
60751        ac_ld_relro=yes
60752      fi
60753      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60754$as_echo "$ac_ld_relro" >&6; }
60755    esac
60756  fi
60757
60758  # Set linker optimization flags.
60759  if test x"$with_gnu_ld" = x"yes"; then
60760    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60761  fi
60762
60763
60764
60765
60766    $as_echo "#define HAVE_COSF 1" >>confdefs.h
60767
60768    $as_echo "#define HAVE_COSL 1" >>confdefs.h
60769
60770    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60771
60772    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60773
60774    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60775
60776    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60777
60778    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60779
60780    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60781
60782    $as_echo "#define HAVE_SINF 1" >>confdefs.h
60783
60784    $as_echo "#define HAVE_SINL 1" >>confdefs.h
60785
60786    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60787
60788    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60789
60790    ;;
60791  *-rtems*)
60792
60793  # All these tests are for C++; save the language and the compiler flags.
60794  # The CXXFLAGS thing is suspicious, but based on similar bits previously
60795  # found in GLIBCXX_CONFIGURE.
60796
60797  ac_ext=cpp
60798ac_cpp='$CXXCPP $CPPFLAGS'
60799ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60800ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60801ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60802
60803  ac_test_CXXFLAGS="${CXXFLAGS+set}"
60804  ac_save_CXXFLAGS="$CXXFLAGS"
60805
60806  # Check for -ffunction-sections -fdata-sections
60807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60808$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60809  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60810  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60811/* end confdefs.h.  */
60812int foo; void bar() { };
60813int
60814main ()
60815{
60816
60817  ;
60818  return 0;
60819}
60820_ACEOF
60821if ac_fn_cxx_try_compile "$LINENO"; then :
60822  ac_fdsections=yes
60823else
60824  ac_fdsections=no
60825fi
60826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60827  if test "$ac_test_CXXFLAGS" = set; then
60828    CXXFLAGS="$ac_save_CXXFLAGS"
60829  else
60830    # this is the suspicious part
60831    CXXFLAGS=''
60832  fi
60833  if test x"$ac_fdsections" = x"yes"; then
60834    SECTION_FLAGS='-ffunction-sections -fdata-sections'
60835  fi
60836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60837$as_echo "$ac_fdsections" >&6; }
60838
60839  ac_ext=c
60840ac_cpp='$CPP $CPPFLAGS'
60841ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60842ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60843ac_compiler_gnu=$ac_cv_c_compiler_gnu
60844
60845
60846
60847
60848  # If we're not using GNU ld, then there's no point in even trying these
60849  # tests.  Check for that first.  We should have already tested for gld
60850  # by now (in libtool), but require it now just to be safe...
60851  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60852  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60853
60854
60855
60856  # The name set by libtool depends on the version of libtool.  Shame on us
60857  # for depending on an impl detail, but c'est la vie.  Older versions used
60858  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60859  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60860  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60861  # set (hence we're using an older libtool), then set it.
60862  if test x${with_gnu_ld+set} != xset; then
60863    if test x${ac_cv_prog_gnu_ld+set} != xset; then
60864      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60865      with_gnu_ld=no
60866    else
60867      with_gnu_ld=$ac_cv_prog_gnu_ld
60868    fi
60869  fi
60870
60871  # Start by getting the version number.  I think the libtool test already
60872  # does some of this, but throws away the result.
60873  glibcxx_ld_is_gold=no
60874  if test x"$with_gnu_ld" = x"yes"; then
60875    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60876$as_echo_n "checking for ld version... " >&6; }
60877
60878    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60879      glibcxx_ld_is_gold=yes
60880    fi
60881    ldver=`$LD --version 2>/dev/null |
60882	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60883
60884    glibcxx_gnu_ld_version=`echo $ldver | \
60885	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60886    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60887$as_echo "$glibcxx_gnu_ld_version" >&6; }
60888  fi
60889
60890  # Set --gc-sections.
60891  glibcxx_have_gc_sections=no
60892  if test "$glibcxx_ld_is_gold" = "yes"; then
60893    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60894      glibcxx_have_gc_sections=yes
60895    fi
60896  else
60897    glibcxx_gcsections_min_ld=21602
60898    if test x"$with_gnu_ld" = x"yes" &&
60899	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60900      glibcxx_have_gc_sections=yes
60901    fi
60902  fi
60903  if test "$glibcxx_have_gc_sections" = "yes"; then
60904    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60905    # NB: This flag only works reliably after 2.16.1. Configure tests
60906    # for this are difficult, so hard wire a value that should work.
60907
60908    ac_test_CFLAGS="${CFLAGS+set}"
60909    ac_save_CFLAGS="$CFLAGS"
60910    CFLAGS='-Wl,--gc-sections'
60911
60912    # Check for -Wl,--gc-sections
60913    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60914$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60915    if test x$gcc_no_link = xyes; then
60916  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60917fi
60918cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60919/* end confdefs.h.  */
60920 int one(void) { return 1; }
60921     int two(void) { return 2; }
60922
60923int
60924main ()
60925{
60926 two();
60927  ;
60928  return 0;
60929}
60930_ACEOF
60931if ac_fn_c_try_link "$LINENO"; then :
60932  ac_gcsections=yes
60933else
60934  ac_gcsections=no
60935fi
60936rm -f core conftest.err conftest.$ac_objext \
60937    conftest$ac_exeext conftest.$ac_ext
60938    if test "$ac_gcsections" = "yes"; then
60939      rm -f conftest.c
60940      touch conftest.c
60941      if $CC -c conftest.c; then
60942	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60943	   grep "Warning: gc-sections option ignored" > /dev/null; then
60944	  ac_gcsections=no
60945	fi
60946      fi
60947      rm -f conftest.c conftest.o conftest
60948    fi
60949    if test "$ac_gcsections" = "yes"; then
60950      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60951    fi
60952    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60953$as_echo "$ac_gcsections" >&6; }
60954
60955    if test "$ac_test_CFLAGS" = set; then
60956      CFLAGS="$ac_save_CFLAGS"
60957    else
60958      # this is the suspicious part
60959      CFLAGS=''
60960    fi
60961  fi
60962
60963  # Set -z,relro.
60964  # Note this is only for shared objects.
60965  ac_ld_relro=no
60966  if test x"$with_gnu_ld" = x"yes"; then
60967    # cygwin and mingw uses PE, which has no ELF relro support,
60968    # multi target ld may confuse configure machinery
60969    case "$host" in
60970    *-*-cygwin*)
60971     ;;
60972    *-*-mingw*)
60973     ;;
60974    *)
60975      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60976$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60977      cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60978      if test -n "$cxx_z_relo"; then
60979        OPT_LDFLAGS="-Wl,-z,relro"
60980        ac_ld_relro=yes
60981      fi
60982      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60983$as_echo "$ac_ld_relro" >&6; }
60984    esac
60985  fi
60986
60987  # Set linker optimization flags.
60988  if test x"$with_gnu_ld" = x"yes"; then
60989    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60990  fi
60991
60992
60993
60994
60995
60996  ac_test_CXXFLAGS="${CXXFLAGS+set}"
60997  ac_save_CXXFLAGS="$CXXFLAGS"
60998  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60999
61000    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61001$as_echo_n "checking for sin in -lm... " >&6; }
61002if ${ac_cv_lib_m_sin+:} false; then :
61003  $as_echo_n "(cached) " >&6
61004else
61005  ac_check_lib_save_LIBS=$LIBS
61006LIBS="-lm  $LIBS"
61007if test x$gcc_no_link = xyes; then
61008  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61009fi
61010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61011/* end confdefs.h.  */
61012
61013/* Override any GCC internal prototype to avoid an error.
61014   Use char because int might match the return type of a GCC
61015   builtin and then its argument prototype would still apply.  */
61016#ifdef __cplusplus
61017extern "C"
61018#endif
61019char sin ();
61020int
61021main ()
61022{
61023return sin ();
61024  ;
61025  return 0;
61026}
61027_ACEOF
61028if ac_fn_c_try_link "$LINENO"; then :
61029  ac_cv_lib_m_sin=yes
61030else
61031  ac_cv_lib_m_sin=no
61032fi
61033rm -f core conftest.err conftest.$ac_objext \
61034    conftest$ac_exeext conftest.$ac_ext
61035LIBS=$ac_check_lib_save_LIBS
61036fi
61037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61038$as_echo "$ac_cv_lib_m_sin" >&6; }
61039if test "x$ac_cv_lib_m_sin" = xyes; then :
61040  libm="-lm"
61041fi
61042
61043  ac_save_LIBS="$LIBS"
61044  LIBS="$LIBS $libm"
61045
61046
61047
61048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61049$as_echo_n "checking for isinf declaration... " >&6; }
61050  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61051    if ${glibcxx_cv_func_isinf_use+:} false; then :
61052  $as_echo_n "(cached) " >&6
61053else
61054
61055
61056      ac_ext=cpp
61057ac_cpp='$CXXCPP $CPPFLAGS'
61058ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61059ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61060ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61061
61062      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61063/* end confdefs.h.  */
61064#include <math.h>
61065		      #ifdef HAVE_IEEEFP_H
61066		      #include <ieeefp.h>
61067		      #endif
61068
61069int
61070main ()
61071{
61072 isinf(0);
61073  ;
61074  return 0;
61075}
61076_ACEOF
61077if ac_fn_cxx_try_compile "$LINENO"; then :
61078  glibcxx_cv_func_isinf_use=yes
61079else
61080  glibcxx_cv_func_isinf_use=no
61081fi
61082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61083      ac_ext=c
61084ac_cpp='$CPP $CPPFLAGS'
61085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087ac_compiler_gnu=$ac_cv_c_compiler_gnu
61088
61089
61090fi
61091
61092  fi
61093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61094$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61095
61096  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61097    for ac_func in isinf
61098do :
61099  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61100if test "x$ac_cv_func_isinf" = xyes; then :
61101  cat >>confdefs.h <<_ACEOF
61102#define HAVE_ISINF 1
61103_ACEOF
61104
61105fi
61106done
61107
61108  else
61109
61110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61111$as_echo_n "checking for _isinf declaration... " >&6; }
61112  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61113    if ${glibcxx_cv_func__isinf_use+:} false; then :
61114  $as_echo_n "(cached) " >&6
61115else
61116
61117
61118      ac_ext=cpp
61119ac_cpp='$CXXCPP $CPPFLAGS'
61120ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61123
61124      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61125/* end confdefs.h.  */
61126#include <math.h>
61127		      #ifdef HAVE_IEEEFP_H
61128		      #include <ieeefp.h>
61129		      #endif
61130
61131int
61132main ()
61133{
61134 _isinf(0);
61135  ;
61136  return 0;
61137}
61138_ACEOF
61139if ac_fn_cxx_try_compile "$LINENO"; then :
61140  glibcxx_cv_func__isinf_use=yes
61141else
61142  glibcxx_cv_func__isinf_use=no
61143fi
61144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61145      ac_ext=c
61146ac_cpp='$CPP $CPPFLAGS'
61147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61149ac_compiler_gnu=$ac_cv_c_compiler_gnu
61150
61151
61152fi
61153
61154  fi
61155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61156$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61157
61158    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61159      for ac_func in _isinf
61160do :
61161  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61162if test "x$ac_cv_func__isinf" = xyes; then :
61163  cat >>confdefs.h <<_ACEOF
61164#define HAVE__ISINF 1
61165_ACEOF
61166
61167fi
61168done
61169
61170    fi
61171  fi
61172
61173
61174
61175
61176
61177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61178$as_echo_n "checking for isnan declaration... " >&6; }
61179  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61180    if ${glibcxx_cv_func_isnan_use+:} false; then :
61181  $as_echo_n "(cached) " >&6
61182else
61183
61184
61185      ac_ext=cpp
61186ac_cpp='$CXXCPP $CPPFLAGS'
61187ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61188ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61189ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61190
61191      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61192/* end confdefs.h.  */
61193#include <math.h>
61194		      #ifdef HAVE_IEEEFP_H
61195		      #include <ieeefp.h>
61196		      #endif
61197
61198int
61199main ()
61200{
61201 isnan(0);
61202  ;
61203  return 0;
61204}
61205_ACEOF
61206if ac_fn_cxx_try_compile "$LINENO"; then :
61207  glibcxx_cv_func_isnan_use=yes
61208else
61209  glibcxx_cv_func_isnan_use=no
61210fi
61211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61212      ac_ext=c
61213ac_cpp='$CPP $CPPFLAGS'
61214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61216ac_compiler_gnu=$ac_cv_c_compiler_gnu
61217
61218
61219fi
61220
61221  fi
61222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61223$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61224
61225  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61226    for ac_func in isnan
61227do :
61228  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61229if test "x$ac_cv_func_isnan" = xyes; then :
61230  cat >>confdefs.h <<_ACEOF
61231#define HAVE_ISNAN 1
61232_ACEOF
61233
61234fi
61235done
61236
61237  else
61238
61239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61240$as_echo_n "checking for _isnan declaration... " >&6; }
61241  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61242    if ${glibcxx_cv_func__isnan_use+:} false; then :
61243  $as_echo_n "(cached) " >&6
61244else
61245
61246
61247      ac_ext=cpp
61248ac_cpp='$CXXCPP $CPPFLAGS'
61249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61252
61253      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61254/* end confdefs.h.  */
61255#include <math.h>
61256		      #ifdef HAVE_IEEEFP_H
61257		      #include <ieeefp.h>
61258		      #endif
61259
61260int
61261main ()
61262{
61263 _isnan(0);
61264  ;
61265  return 0;
61266}
61267_ACEOF
61268if ac_fn_cxx_try_compile "$LINENO"; then :
61269  glibcxx_cv_func__isnan_use=yes
61270else
61271  glibcxx_cv_func__isnan_use=no
61272fi
61273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61274      ac_ext=c
61275ac_cpp='$CPP $CPPFLAGS'
61276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61278ac_compiler_gnu=$ac_cv_c_compiler_gnu
61279
61280
61281fi
61282
61283  fi
61284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61285$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61286
61287    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61288      for ac_func in _isnan
61289do :
61290  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61291if test "x$ac_cv_func__isnan" = xyes; then :
61292  cat >>confdefs.h <<_ACEOF
61293#define HAVE__ISNAN 1
61294_ACEOF
61295
61296fi
61297done
61298
61299    fi
61300  fi
61301
61302
61303
61304
61305
61306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61307$as_echo_n "checking for finite declaration... " >&6; }
61308  if test x${glibcxx_cv_func_finite_use+set} != xset; then
61309    if ${glibcxx_cv_func_finite_use+:} false; then :
61310  $as_echo_n "(cached) " >&6
61311else
61312
61313
61314      ac_ext=cpp
61315ac_cpp='$CXXCPP $CPPFLAGS'
61316ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61317ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61318ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61319
61320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61321/* end confdefs.h.  */
61322#include <math.h>
61323		      #ifdef HAVE_IEEEFP_H
61324		      #include <ieeefp.h>
61325		      #endif
61326
61327int
61328main ()
61329{
61330 finite(0);
61331  ;
61332  return 0;
61333}
61334_ACEOF
61335if ac_fn_cxx_try_compile "$LINENO"; then :
61336  glibcxx_cv_func_finite_use=yes
61337else
61338  glibcxx_cv_func_finite_use=no
61339fi
61340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61341      ac_ext=c
61342ac_cpp='$CPP $CPPFLAGS'
61343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61345ac_compiler_gnu=$ac_cv_c_compiler_gnu
61346
61347
61348fi
61349
61350  fi
61351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61352$as_echo "$glibcxx_cv_func_finite_use" >&6; }
61353
61354  if test x$glibcxx_cv_func_finite_use = x"yes"; then
61355    for ac_func in finite
61356do :
61357  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61358if test "x$ac_cv_func_finite" = xyes; then :
61359  cat >>confdefs.h <<_ACEOF
61360#define HAVE_FINITE 1
61361_ACEOF
61362
61363fi
61364done
61365
61366  else
61367
61368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61369$as_echo_n "checking for _finite declaration... " >&6; }
61370  if test x${glibcxx_cv_func__finite_use+set} != xset; then
61371    if ${glibcxx_cv_func__finite_use+:} false; then :
61372  $as_echo_n "(cached) " >&6
61373else
61374
61375
61376      ac_ext=cpp
61377ac_cpp='$CXXCPP $CPPFLAGS'
61378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61381
61382      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61383/* end confdefs.h.  */
61384#include <math.h>
61385		      #ifdef HAVE_IEEEFP_H
61386		      #include <ieeefp.h>
61387		      #endif
61388
61389int
61390main ()
61391{
61392 _finite(0);
61393  ;
61394  return 0;
61395}
61396_ACEOF
61397if ac_fn_cxx_try_compile "$LINENO"; then :
61398  glibcxx_cv_func__finite_use=yes
61399else
61400  glibcxx_cv_func__finite_use=no
61401fi
61402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61403      ac_ext=c
61404ac_cpp='$CPP $CPPFLAGS'
61405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61407ac_compiler_gnu=$ac_cv_c_compiler_gnu
61408
61409
61410fi
61411
61412  fi
61413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61414$as_echo "$glibcxx_cv_func__finite_use" >&6; }
61415
61416    if test x$glibcxx_cv_func__finite_use = x"yes"; then
61417      for ac_func in _finite
61418do :
61419  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61420if test "x$ac_cv_func__finite" = xyes; then :
61421  cat >>confdefs.h <<_ACEOF
61422#define HAVE__FINITE 1
61423_ACEOF
61424
61425fi
61426done
61427
61428    fi
61429  fi
61430
61431
61432
61433
61434
61435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61436$as_echo_n "checking for sincos declaration... " >&6; }
61437  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61438    if ${glibcxx_cv_func_sincos_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>
61452int
61453main ()
61454{
61455 sincos(0, 0, 0);
61456  ;
61457  return 0;
61458}
61459_ACEOF
61460if ac_fn_cxx_try_compile "$LINENO"; then :
61461  glibcxx_cv_func_sincos_use=yes
61462else
61463  glibcxx_cv_func_sincos_use=no
61464fi
61465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61466      ac_ext=c
61467ac_cpp='$CPP $CPPFLAGS'
61468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61470ac_compiler_gnu=$ac_cv_c_compiler_gnu
61471
61472
61473fi
61474
61475  fi
61476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61477$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61478
61479  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61480    for ac_func in sincos
61481do :
61482  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61483if test "x$ac_cv_func_sincos" = xyes; then :
61484  cat >>confdefs.h <<_ACEOF
61485#define HAVE_SINCOS 1
61486_ACEOF
61487
61488fi
61489done
61490
61491  else
61492
61493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61494$as_echo_n "checking for _sincos declaration... " >&6; }
61495  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61496    if ${glibcxx_cv_func__sincos_use+:} false; then :
61497  $as_echo_n "(cached) " >&6
61498else
61499
61500
61501      ac_ext=cpp
61502ac_cpp='$CXXCPP $CPPFLAGS'
61503ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61504ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61505ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61506
61507      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61508/* end confdefs.h.  */
61509#include <math.h>
61510int
61511main ()
61512{
61513 _sincos(0, 0, 0);
61514  ;
61515  return 0;
61516}
61517_ACEOF
61518if ac_fn_cxx_try_compile "$LINENO"; then :
61519  glibcxx_cv_func__sincos_use=yes
61520else
61521  glibcxx_cv_func__sincos_use=no
61522fi
61523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61524      ac_ext=c
61525ac_cpp='$CPP $CPPFLAGS'
61526ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61527ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61528ac_compiler_gnu=$ac_cv_c_compiler_gnu
61529
61530
61531fi
61532
61533  fi
61534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61535$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61536
61537    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61538      for ac_func in _sincos
61539do :
61540  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61541if test "x$ac_cv_func__sincos" = xyes; then :
61542  cat >>confdefs.h <<_ACEOF
61543#define HAVE__SINCOS 1
61544_ACEOF
61545
61546fi
61547done
61548
61549    fi
61550  fi
61551
61552
61553
61554
61555
61556  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61557$as_echo_n "checking for fpclass declaration... " >&6; }
61558  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61559    if ${glibcxx_cv_func_fpclass_use+:} false; then :
61560  $as_echo_n "(cached) " >&6
61561else
61562
61563
61564      ac_ext=cpp
61565ac_cpp='$CXXCPP $CPPFLAGS'
61566ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61567ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61568ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61569
61570      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61571/* end confdefs.h.  */
61572#include <math.h>
61573		      #ifdef HAVE_IEEEFP_H
61574		      #include <ieeefp.h>
61575		      #endif
61576
61577int
61578main ()
61579{
61580 fpclass(0);
61581  ;
61582  return 0;
61583}
61584_ACEOF
61585if ac_fn_cxx_try_compile "$LINENO"; then :
61586  glibcxx_cv_func_fpclass_use=yes
61587else
61588  glibcxx_cv_func_fpclass_use=no
61589fi
61590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61591      ac_ext=c
61592ac_cpp='$CPP $CPPFLAGS'
61593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595ac_compiler_gnu=$ac_cv_c_compiler_gnu
61596
61597
61598fi
61599
61600  fi
61601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61602$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61603
61604  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61605    for ac_func in fpclass
61606do :
61607  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61608if test "x$ac_cv_func_fpclass" = xyes; then :
61609  cat >>confdefs.h <<_ACEOF
61610#define HAVE_FPCLASS 1
61611_ACEOF
61612
61613fi
61614done
61615
61616  else
61617
61618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61619$as_echo_n "checking for _fpclass declaration... " >&6; }
61620  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61621    if ${glibcxx_cv_func__fpclass_use+:} false; then :
61622  $as_echo_n "(cached) " >&6
61623else
61624
61625
61626      ac_ext=cpp
61627ac_cpp='$CXXCPP $CPPFLAGS'
61628ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61629ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61630ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61631
61632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61633/* end confdefs.h.  */
61634#include <math.h>
61635		      #ifdef HAVE_IEEEFP_H
61636		      #include <ieeefp.h>
61637		      #endif
61638
61639int
61640main ()
61641{
61642 _fpclass(0);
61643  ;
61644  return 0;
61645}
61646_ACEOF
61647if ac_fn_cxx_try_compile "$LINENO"; then :
61648  glibcxx_cv_func__fpclass_use=yes
61649else
61650  glibcxx_cv_func__fpclass_use=no
61651fi
61652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61653      ac_ext=c
61654ac_cpp='$CPP $CPPFLAGS'
61655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61657ac_compiler_gnu=$ac_cv_c_compiler_gnu
61658
61659
61660fi
61661
61662  fi
61663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61664$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61665
61666    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61667      for ac_func in _fpclass
61668do :
61669  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61670if test "x$ac_cv_func__fpclass" = xyes; then :
61671  cat >>confdefs.h <<_ACEOF
61672#define HAVE__FPCLASS 1
61673_ACEOF
61674
61675fi
61676done
61677
61678    fi
61679  fi
61680
61681
61682
61683
61684
61685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61686$as_echo_n "checking for qfpclass declaration... " >&6; }
61687  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61688    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61689  $as_echo_n "(cached) " >&6
61690else
61691
61692
61693      ac_ext=cpp
61694ac_cpp='$CXXCPP $CPPFLAGS'
61695ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61696ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61697ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61698
61699      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61700/* end confdefs.h.  */
61701#include <math.h>
61702		      #ifdef HAVE_IEEEFP_H
61703		      #include <ieeefp.h>
61704		      #endif
61705
61706int
61707main ()
61708{
61709 qfpclass(0);
61710  ;
61711  return 0;
61712}
61713_ACEOF
61714if ac_fn_cxx_try_compile "$LINENO"; then :
61715  glibcxx_cv_func_qfpclass_use=yes
61716else
61717  glibcxx_cv_func_qfpclass_use=no
61718fi
61719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61720      ac_ext=c
61721ac_cpp='$CPP $CPPFLAGS'
61722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61724ac_compiler_gnu=$ac_cv_c_compiler_gnu
61725
61726
61727fi
61728
61729  fi
61730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61731$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61732
61733  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61734    for ac_func in qfpclass
61735do :
61736  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61737if test "x$ac_cv_func_qfpclass" = xyes; then :
61738  cat >>confdefs.h <<_ACEOF
61739#define HAVE_QFPCLASS 1
61740_ACEOF
61741
61742fi
61743done
61744
61745  else
61746
61747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61748$as_echo_n "checking for _qfpclass declaration... " >&6; }
61749  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61750    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61751  $as_echo_n "(cached) " >&6
61752else
61753
61754
61755      ac_ext=cpp
61756ac_cpp='$CXXCPP $CPPFLAGS'
61757ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61758ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61759ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61760
61761      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61762/* end confdefs.h.  */
61763#include <math.h>
61764		      #ifdef HAVE_IEEEFP_H
61765		      #include <ieeefp.h>
61766		      #endif
61767
61768int
61769main ()
61770{
61771 _qfpclass(0);
61772  ;
61773  return 0;
61774}
61775_ACEOF
61776if ac_fn_cxx_try_compile "$LINENO"; then :
61777  glibcxx_cv_func__qfpclass_use=yes
61778else
61779  glibcxx_cv_func__qfpclass_use=no
61780fi
61781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61782      ac_ext=c
61783ac_cpp='$CPP $CPPFLAGS'
61784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61786ac_compiler_gnu=$ac_cv_c_compiler_gnu
61787
61788
61789fi
61790
61791  fi
61792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61793$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61794
61795    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61796      for ac_func in _qfpclass
61797do :
61798  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61799if test "x$ac_cv_func__qfpclass" = xyes; then :
61800  cat >>confdefs.h <<_ACEOF
61801#define HAVE__QFPCLASS 1
61802_ACEOF
61803
61804fi
61805done
61806
61807    fi
61808  fi
61809
61810
61811
61812
61813
61814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61815$as_echo_n "checking for hypot declaration... " >&6; }
61816  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61817    if ${glibcxx_cv_func_hypot_use+:} false; then :
61818  $as_echo_n "(cached) " >&6
61819else
61820
61821
61822      ac_ext=cpp
61823ac_cpp='$CXXCPP $CPPFLAGS'
61824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61827
61828      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61829/* end confdefs.h.  */
61830#include <math.h>
61831int
61832main ()
61833{
61834 hypot(0, 0);
61835  ;
61836  return 0;
61837}
61838_ACEOF
61839if ac_fn_cxx_try_compile "$LINENO"; then :
61840  glibcxx_cv_func_hypot_use=yes
61841else
61842  glibcxx_cv_func_hypot_use=no
61843fi
61844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61845      ac_ext=c
61846ac_cpp='$CPP $CPPFLAGS'
61847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61849ac_compiler_gnu=$ac_cv_c_compiler_gnu
61850
61851
61852fi
61853
61854  fi
61855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61856$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61857
61858  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61859    for ac_func in hypot
61860do :
61861  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61862if test "x$ac_cv_func_hypot" = xyes; then :
61863  cat >>confdefs.h <<_ACEOF
61864#define HAVE_HYPOT 1
61865_ACEOF
61866
61867fi
61868done
61869
61870  else
61871
61872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61873$as_echo_n "checking for _hypot declaration... " >&6; }
61874  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61875    if ${glibcxx_cv_func__hypot_use+:} false; then :
61876  $as_echo_n "(cached) " >&6
61877else
61878
61879
61880      ac_ext=cpp
61881ac_cpp='$CXXCPP $CPPFLAGS'
61882ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61883ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61884ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61885
61886      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61887/* end confdefs.h.  */
61888#include <math.h>
61889int
61890main ()
61891{
61892 _hypot(0, 0);
61893  ;
61894  return 0;
61895}
61896_ACEOF
61897if ac_fn_cxx_try_compile "$LINENO"; then :
61898  glibcxx_cv_func__hypot_use=yes
61899else
61900  glibcxx_cv_func__hypot_use=no
61901fi
61902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61903      ac_ext=c
61904ac_cpp='$CPP $CPPFLAGS'
61905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61907ac_compiler_gnu=$ac_cv_c_compiler_gnu
61908
61909
61910fi
61911
61912  fi
61913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61914$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61915
61916    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61917      for ac_func in _hypot
61918do :
61919  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61920if test "x$ac_cv_func__hypot" = xyes; then :
61921  cat >>confdefs.h <<_ACEOF
61922#define HAVE__HYPOT 1
61923_ACEOF
61924
61925fi
61926done
61927
61928    fi
61929  fi
61930
61931
61932
61933
61934
61935    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61936$as_echo_n "checking for float trig functions... " >&6; }
61937  if ${glibcxx_cv_func_float_trig_use+:} false; then :
61938  $as_echo_n "(cached) " >&6
61939else
61940
61941
61942    ac_ext=cpp
61943ac_cpp='$CXXCPP $CPPFLAGS'
61944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61947
61948    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61949/* end confdefs.h.  */
61950#include <math.h>
61951int
61952main ()
61953{
61954acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61955  ;
61956  return 0;
61957}
61958_ACEOF
61959if ac_fn_cxx_try_compile "$LINENO"; then :
61960  glibcxx_cv_func_float_trig_use=yes
61961else
61962  glibcxx_cv_func_float_trig_use=no
61963fi
61964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61965    ac_ext=c
61966ac_cpp='$CPP $CPPFLAGS'
61967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61969ac_compiler_gnu=$ac_cv_c_compiler_gnu
61970
61971fi
61972
61973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61974$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61975  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61976    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61977do :
61978  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61979ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61980if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61981  cat >>confdefs.h <<_ACEOF
61982#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61983_ACEOF
61984
61985fi
61986done
61987
61988  else
61989    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61990$as_echo_n "checking for _float trig functions... " >&6; }
61991    if ${glibcxx_cv_func__float_trig_use+:} false; then :
61992  $as_echo_n "(cached) " >&6
61993else
61994
61995
61996      ac_ext=cpp
61997ac_cpp='$CXXCPP $CPPFLAGS'
61998ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61999ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62000ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62001
62002      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62003/* end confdefs.h.  */
62004#include <math.h>
62005int
62006main ()
62007{
62008_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62009  ;
62010  return 0;
62011}
62012_ACEOF
62013if ac_fn_cxx_try_compile "$LINENO"; then :
62014  glibcxx_cv_func__float_trig_use=yes
62015else
62016  glibcxx_cv_func__float_trig_use=no
62017fi
62018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62019      ac_ext=c
62020ac_cpp='$CPP $CPPFLAGS'
62021ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62022ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62023ac_compiler_gnu=$ac_cv_c_compiler_gnu
62024
62025fi
62026
62027    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62028$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62029    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62030      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62031do :
62032  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62033ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62034if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62035  cat >>confdefs.h <<_ACEOF
62036#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62037_ACEOF
62038
62039fi
62040done
62041
62042    fi
62043  fi
62044
62045
62046
62047
62048
62049    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62050$as_echo_n "checking for float round functions... " >&6; }
62051  if ${glibcxx_cv_func_float_round_use+:} false; then :
62052  $as_echo_n "(cached) " >&6
62053else
62054
62055
62056    ac_ext=cpp
62057ac_cpp='$CXXCPP $CPPFLAGS'
62058ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62059ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62060ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62061
62062    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62063/* end confdefs.h.  */
62064#include <math.h>
62065int
62066main ()
62067{
62068ceilf (0); floorf (0);
62069  ;
62070  return 0;
62071}
62072_ACEOF
62073if ac_fn_cxx_try_compile "$LINENO"; then :
62074  glibcxx_cv_func_float_round_use=yes
62075else
62076  glibcxx_cv_func_float_round_use=no
62077fi
62078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62079    ac_ext=c
62080ac_cpp='$CPP $CPPFLAGS'
62081ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62082ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62083ac_compiler_gnu=$ac_cv_c_compiler_gnu
62084
62085fi
62086
62087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62088$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62089  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62090    for ac_func in ceilf floorf
62091do :
62092  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62093ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62094if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62095  cat >>confdefs.h <<_ACEOF
62096#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62097_ACEOF
62098
62099fi
62100done
62101
62102  else
62103    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62104$as_echo_n "checking for _float round functions... " >&6; }
62105    if ${glibcxx_cv_func__float_round_use+:} false; then :
62106  $as_echo_n "(cached) " >&6
62107else
62108
62109
62110      ac_ext=cpp
62111ac_cpp='$CXXCPP $CPPFLAGS'
62112ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62113ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62114ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62115
62116      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62117/* end confdefs.h.  */
62118#include <math.h>
62119int
62120main ()
62121{
62122_ceilf (0); _floorf (0);
62123  ;
62124  return 0;
62125}
62126_ACEOF
62127if ac_fn_cxx_try_compile "$LINENO"; then :
62128  glibcxx_cv_func__float_round_use=yes
62129else
62130  glibcxx_cv_func__float_round_use=no
62131fi
62132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62133      ac_ext=c
62134ac_cpp='$CPP $CPPFLAGS'
62135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62137ac_compiler_gnu=$ac_cv_c_compiler_gnu
62138
62139fi
62140
62141    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62142$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62143    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62144      for ac_func in _ceilf _floorf
62145do :
62146  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62147ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62148if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62149  cat >>confdefs.h <<_ACEOF
62150#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62151_ACEOF
62152
62153fi
62154done
62155
62156    fi
62157  fi
62158
62159
62160
62161
62162
62163
62164  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62165$as_echo_n "checking for expf declaration... " >&6; }
62166  if test x${glibcxx_cv_func_expf_use+set} != xset; then
62167    if ${glibcxx_cv_func_expf_use+:} false; then :
62168  $as_echo_n "(cached) " >&6
62169else
62170
62171
62172      ac_ext=cpp
62173ac_cpp='$CXXCPP $CPPFLAGS'
62174ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62175ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62176ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62177
62178      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62179/* end confdefs.h.  */
62180#include <math.h>
62181		      #ifdef HAVE_IEEEFP_H
62182		      #include <ieeefp.h>
62183		      #endif
62184
62185int
62186main ()
62187{
62188 expf(0);
62189  ;
62190  return 0;
62191}
62192_ACEOF
62193if ac_fn_cxx_try_compile "$LINENO"; then :
62194  glibcxx_cv_func_expf_use=yes
62195else
62196  glibcxx_cv_func_expf_use=no
62197fi
62198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62199      ac_ext=c
62200ac_cpp='$CPP $CPPFLAGS'
62201ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62202ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62203ac_compiler_gnu=$ac_cv_c_compiler_gnu
62204
62205
62206fi
62207
62208  fi
62209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62210$as_echo "$glibcxx_cv_func_expf_use" >&6; }
62211
62212  if test x$glibcxx_cv_func_expf_use = x"yes"; then
62213    for ac_func in expf
62214do :
62215  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62216if test "x$ac_cv_func_expf" = xyes; then :
62217  cat >>confdefs.h <<_ACEOF
62218#define HAVE_EXPF 1
62219_ACEOF
62220
62221fi
62222done
62223
62224  else
62225
62226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62227$as_echo_n "checking for _expf declaration... " >&6; }
62228  if test x${glibcxx_cv_func__expf_use+set} != xset; then
62229    if ${glibcxx_cv_func__expf_use+:} false; then :
62230  $as_echo_n "(cached) " >&6
62231else
62232
62233
62234      ac_ext=cpp
62235ac_cpp='$CXXCPP $CPPFLAGS'
62236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62239
62240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62241/* end confdefs.h.  */
62242#include <math.h>
62243		      #ifdef HAVE_IEEEFP_H
62244		      #include <ieeefp.h>
62245		      #endif
62246
62247int
62248main ()
62249{
62250 _expf(0);
62251  ;
62252  return 0;
62253}
62254_ACEOF
62255if ac_fn_cxx_try_compile "$LINENO"; then :
62256  glibcxx_cv_func__expf_use=yes
62257else
62258  glibcxx_cv_func__expf_use=no
62259fi
62260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62261      ac_ext=c
62262ac_cpp='$CPP $CPPFLAGS'
62263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62265ac_compiler_gnu=$ac_cv_c_compiler_gnu
62266
62267
62268fi
62269
62270  fi
62271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62272$as_echo "$glibcxx_cv_func__expf_use" >&6; }
62273
62274    if test x$glibcxx_cv_func__expf_use = x"yes"; then
62275      for ac_func in _expf
62276do :
62277  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62278if test "x$ac_cv_func__expf" = xyes; then :
62279  cat >>confdefs.h <<_ACEOF
62280#define HAVE__EXPF 1
62281_ACEOF
62282
62283fi
62284done
62285
62286    fi
62287  fi
62288
62289
62290
62291
62292
62293  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62294$as_echo_n "checking for isnanf declaration... " >&6; }
62295  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62296    if ${glibcxx_cv_func_isnanf_use+:} false; then :
62297  $as_echo_n "(cached) " >&6
62298else
62299
62300
62301      ac_ext=cpp
62302ac_cpp='$CXXCPP $CPPFLAGS'
62303ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62306
62307      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62308/* end confdefs.h.  */
62309#include <math.h>
62310		      #ifdef HAVE_IEEEFP_H
62311		      #include <ieeefp.h>
62312		      #endif
62313
62314int
62315main ()
62316{
62317 isnanf(0);
62318  ;
62319  return 0;
62320}
62321_ACEOF
62322if ac_fn_cxx_try_compile "$LINENO"; then :
62323  glibcxx_cv_func_isnanf_use=yes
62324else
62325  glibcxx_cv_func_isnanf_use=no
62326fi
62327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62328      ac_ext=c
62329ac_cpp='$CPP $CPPFLAGS'
62330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62332ac_compiler_gnu=$ac_cv_c_compiler_gnu
62333
62334
62335fi
62336
62337  fi
62338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62339$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62340
62341  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62342    for ac_func in isnanf
62343do :
62344  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62345if test "x$ac_cv_func_isnanf" = xyes; then :
62346  cat >>confdefs.h <<_ACEOF
62347#define HAVE_ISNANF 1
62348_ACEOF
62349
62350fi
62351done
62352
62353  else
62354
62355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62356$as_echo_n "checking for _isnanf declaration... " >&6; }
62357  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62358    if ${glibcxx_cv_func__isnanf_use+:} false; then :
62359  $as_echo_n "(cached) " >&6
62360else
62361
62362
62363      ac_ext=cpp
62364ac_cpp='$CXXCPP $CPPFLAGS'
62365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62368
62369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62370/* end confdefs.h.  */
62371#include <math.h>
62372		      #ifdef HAVE_IEEEFP_H
62373		      #include <ieeefp.h>
62374		      #endif
62375
62376int
62377main ()
62378{
62379 _isnanf(0);
62380  ;
62381  return 0;
62382}
62383_ACEOF
62384if ac_fn_cxx_try_compile "$LINENO"; then :
62385  glibcxx_cv_func__isnanf_use=yes
62386else
62387  glibcxx_cv_func__isnanf_use=no
62388fi
62389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62390      ac_ext=c
62391ac_cpp='$CPP $CPPFLAGS'
62392ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62393ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62394ac_compiler_gnu=$ac_cv_c_compiler_gnu
62395
62396
62397fi
62398
62399  fi
62400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62401$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62402
62403    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62404      for ac_func in _isnanf
62405do :
62406  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62407if test "x$ac_cv_func__isnanf" = xyes; then :
62408  cat >>confdefs.h <<_ACEOF
62409#define HAVE__ISNANF 1
62410_ACEOF
62411
62412fi
62413done
62414
62415    fi
62416  fi
62417
62418
62419
62420
62421
62422  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62423$as_echo_n "checking for isinff declaration... " >&6; }
62424  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62425    if ${glibcxx_cv_func_isinff_use+:} false; then :
62426  $as_echo_n "(cached) " >&6
62427else
62428
62429
62430      ac_ext=cpp
62431ac_cpp='$CXXCPP $CPPFLAGS'
62432ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62433ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62434ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62435
62436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62437/* end confdefs.h.  */
62438#include <math.h>
62439		      #ifdef HAVE_IEEEFP_H
62440		      #include <ieeefp.h>
62441		      #endif
62442
62443int
62444main ()
62445{
62446 isinff(0);
62447  ;
62448  return 0;
62449}
62450_ACEOF
62451if ac_fn_cxx_try_compile "$LINENO"; then :
62452  glibcxx_cv_func_isinff_use=yes
62453else
62454  glibcxx_cv_func_isinff_use=no
62455fi
62456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62457      ac_ext=c
62458ac_cpp='$CPP $CPPFLAGS'
62459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62461ac_compiler_gnu=$ac_cv_c_compiler_gnu
62462
62463
62464fi
62465
62466  fi
62467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62468$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62469
62470  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62471    for ac_func in isinff
62472do :
62473  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62474if test "x$ac_cv_func_isinff" = xyes; then :
62475  cat >>confdefs.h <<_ACEOF
62476#define HAVE_ISINFF 1
62477_ACEOF
62478
62479fi
62480done
62481
62482  else
62483
62484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62485$as_echo_n "checking for _isinff declaration... " >&6; }
62486  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62487    if ${glibcxx_cv_func__isinff_use+:} false; then :
62488  $as_echo_n "(cached) " >&6
62489else
62490
62491
62492      ac_ext=cpp
62493ac_cpp='$CXXCPP $CPPFLAGS'
62494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62497
62498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62499/* end confdefs.h.  */
62500#include <math.h>
62501		      #ifdef HAVE_IEEEFP_H
62502		      #include <ieeefp.h>
62503		      #endif
62504
62505int
62506main ()
62507{
62508 _isinff(0);
62509  ;
62510  return 0;
62511}
62512_ACEOF
62513if ac_fn_cxx_try_compile "$LINENO"; then :
62514  glibcxx_cv_func__isinff_use=yes
62515else
62516  glibcxx_cv_func__isinff_use=no
62517fi
62518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62519      ac_ext=c
62520ac_cpp='$CPP $CPPFLAGS'
62521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523ac_compiler_gnu=$ac_cv_c_compiler_gnu
62524
62525
62526fi
62527
62528  fi
62529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62530$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62531
62532    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62533      for ac_func in _isinff
62534do :
62535  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62536if test "x$ac_cv_func__isinff" = xyes; then :
62537  cat >>confdefs.h <<_ACEOF
62538#define HAVE__ISINFF 1
62539_ACEOF
62540
62541fi
62542done
62543
62544    fi
62545  fi
62546
62547
62548
62549
62550
62551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62552$as_echo_n "checking for atan2f declaration... " >&6; }
62553  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62554    if ${glibcxx_cv_func_atan2f_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>
62568int
62569main ()
62570{
62571 atan2f(0, 0);
62572  ;
62573  return 0;
62574}
62575_ACEOF
62576if ac_fn_cxx_try_compile "$LINENO"; then :
62577  glibcxx_cv_func_atan2f_use=yes
62578else
62579  glibcxx_cv_func_atan2f_use=no
62580fi
62581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62582      ac_ext=c
62583ac_cpp='$CPP $CPPFLAGS'
62584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586ac_compiler_gnu=$ac_cv_c_compiler_gnu
62587
62588
62589fi
62590
62591  fi
62592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62593$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62594
62595  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62596    for ac_func in atan2f
62597do :
62598  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62599if test "x$ac_cv_func_atan2f" = xyes; then :
62600  cat >>confdefs.h <<_ACEOF
62601#define HAVE_ATAN2F 1
62602_ACEOF
62603
62604fi
62605done
62606
62607  else
62608
62609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62610$as_echo_n "checking for _atan2f declaration... " >&6; }
62611  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62612    if ${glibcxx_cv_func__atan2f_use+:} false; then :
62613  $as_echo_n "(cached) " >&6
62614else
62615
62616
62617      ac_ext=cpp
62618ac_cpp='$CXXCPP $CPPFLAGS'
62619ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62620ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62621ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62622
62623      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62624/* end confdefs.h.  */
62625#include <math.h>
62626int
62627main ()
62628{
62629 _atan2f(0, 0);
62630  ;
62631  return 0;
62632}
62633_ACEOF
62634if ac_fn_cxx_try_compile "$LINENO"; then :
62635  glibcxx_cv_func__atan2f_use=yes
62636else
62637  glibcxx_cv_func__atan2f_use=no
62638fi
62639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62640      ac_ext=c
62641ac_cpp='$CPP $CPPFLAGS'
62642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644ac_compiler_gnu=$ac_cv_c_compiler_gnu
62645
62646
62647fi
62648
62649  fi
62650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62651$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62652
62653    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62654      for ac_func in _atan2f
62655do :
62656  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62657if test "x$ac_cv_func__atan2f" = xyes; then :
62658  cat >>confdefs.h <<_ACEOF
62659#define HAVE__ATAN2F 1
62660_ACEOF
62661
62662fi
62663done
62664
62665    fi
62666  fi
62667
62668
62669
62670
62671
62672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62673$as_echo_n "checking for fabsf declaration... " >&6; }
62674  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62675    if ${glibcxx_cv_func_fabsf_use+:} false; then :
62676  $as_echo_n "(cached) " >&6
62677else
62678
62679
62680      ac_ext=cpp
62681ac_cpp='$CXXCPP $CPPFLAGS'
62682ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62683ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62684ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62685
62686      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62687/* end confdefs.h.  */
62688#include <math.h>
62689		      #ifdef HAVE_IEEEFP_H
62690		      #include <ieeefp.h>
62691		      #endif
62692
62693int
62694main ()
62695{
62696 fabsf(0);
62697  ;
62698  return 0;
62699}
62700_ACEOF
62701if ac_fn_cxx_try_compile "$LINENO"; then :
62702  glibcxx_cv_func_fabsf_use=yes
62703else
62704  glibcxx_cv_func_fabsf_use=no
62705fi
62706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62707      ac_ext=c
62708ac_cpp='$CPP $CPPFLAGS'
62709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62711ac_compiler_gnu=$ac_cv_c_compiler_gnu
62712
62713
62714fi
62715
62716  fi
62717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62718$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62719
62720  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62721    for ac_func in fabsf
62722do :
62723  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62724if test "x$ac_cv_func_fabsf" = xyes; then :
62725  cat >>confdefs.h <<_ACEOF
62726#define HAVE_FABSF 1
62727_ACEOF
62728
62729fi
62730done
62731
62732  else
62733
62734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62735$as_echo_n "checking for _fabsf declaration... " >&6; }
62736  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62737    if ${glibcxx_cv_func__fabsf_use+:} false; then :
62738  $as_echo_n "(cached) " >&6
62739else
62740
62741
62742      ac_ext=cpp
62743ac_cpp='$CXXCPP $CPPFLAGS'
62744ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62745ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62746ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62747
62748      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62749/* end confdefs.h.  */
62750#include <math.h>
62751		      #ifdef HAVE_IEEEFP_H
62752		      #include <ieeefp.h>
62753		      #endif
62754
62755int
62756main ()
62757{
62758 _fabsf(0);
62759  ;
62760  return 0;
62761}
62762_ACEOF
62763if ac_fn_cxx_try_compile "$LINENO"; then :
62764  glibcxx_cv_func__fabsf_use=yes
62765else
62766  glibcxx_cv_func__fabsf_use=no
62767fi
62768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62769      ac_ext=c
62770ac_cpp='$CPP $CPPFLAGS'
62771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773ac_compiler_gnu=$ac_cv_c_compiler_gnu
62774
62775
62776fi
62777
62778  fi
62779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62780$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62781
62782    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62783      for ac_func in _fabsf
62784do :
62785  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62786if test "x$ac_cv_func__fabsf" = xyes; then :
62787  cat >>confdefs.h <<_ACEOF
62788#define HAVE__FABSF 1
62789_ACEOF
62790
62791fi
62792done
62793
62794    fi
62795  fi
62796
62797
62798
62799
62800
62801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62802$as_echo_n "checking for fmodf declaration... " >&6; }
62803  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62804    if ${glibcxx_cv_func_fmodf_use+:} false; then :
62805  $as_echo_n "(cached) " >&6
62806else
62807
62808
62809      ac_ext=cpp
62810ac_cpp='$CXXCPP $CPPFLAGS'
62811ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62812ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62813ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62814
62815      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62816/* end confdefs.h.  */
62817#include <math.h>
62818int
62819main ()
62820{
62821 fmodf(0, 0);
62822  ;
62823  return 0;
62824}
62825_ACEOF
62826if ac_fn_cxx_try_compile "$LINENO"; then :
62827  glibcxx_cv_func_fmodf_use=yes
62828else
62829  glibcxx_cv_func_fmodf_use=no
62830fi
62831rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62832      ac_ext=c
62833ac_cpp='$CPP $CPPFLAGS'
62834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62836ac_compiler_gnu=$ac_cv_c_compiler_gnu
62837
62838
62839fi
62840
62841  fi
62842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62843$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62844
62845  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62846    for ac_func in fmodf
62847do :
62848  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62849if test "x$ac_cv_func_fmodf" = xyes; then :
62850  cat >>confdefs.h <<_ACEOF
62851#define HAVE_FMODF 1
62852_ACEOF
62853
62854fi
62855done
62856
62857  else
62858
62859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62860$as_echo_n "checking for _fmodf declaration... " >&6; }
62861  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62862    if ${glibcxx_cv_func__fmodf_use+:} false; then :
62863  $as_echo_n "(cached) " >&6
62864else
62865
62866
62867      ac_ext=cpp
62868ac_cpp='$CXXCPP $CPPFLAGS'
62869ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62870ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62871ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62872
62873      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62874/* end confdefs.h.  */
62875#include <math.h>
62876int
62877main ()
62878{
62879 _fmodf(0, 0);
62880  ;
62881  return 0;
62882}
62883_ACEOF
62884if ac_fn_cxx_try_compile "$LINENO"; then :
62885  glibcxx_cv_func__fmodf_use=yes
62886else
62887  glibcxx_cv_func__fmodf_use=no
62888fi
62889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62890      ac_ext=c
62891ac_cpp='$CPP $CPPFLAGS'
62892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894ac_compiler_gnu=$ac_cv_c_compiler_gnu
62895
62896
62897fi
62898
62899  fi
62900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62901$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62902
62903    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62904      for ac_func in _fmodf
62905do :
62906  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62907if test "x$ac_cv_func__fmodf" = xyes; then :
62908  cat >>confdefs.h <<_ACEOF
62909#define HAVE__FMODF 1
62910_ACEOF
62911
62912fi
62913done
62914
62915    fi
62916  fi
62917
62918
62919
62920
62921
62922  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62923$as_echo_n "checking for frexpf declaration... " >&6; }
62924  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62925    if ${glibcxx_cv_func_frexpf_use+:} false; then :
62926  $as_echo_n "(cached) " >&6
62927else
62928
62929
62930      ac_ext=cpp
62931ac_cpp='$CXXCPP $CPPFLAGS'
62932ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62933ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62934ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62935
62936      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62937/* end confdefs.h.  */
62938#include <math.h>
62939int
62940main ()
62941{
62942 frexpf(0, 0);
62943  ;
62944  return 0;
62945}
62946_ACEOF
62947if ac_fn_cxx_try_compile "$LINENO"; then :
62948  glibcxx_cv_func_frexpf_use=yes
62949else
62950  glibcxx_cv_func_frexpf_use=no
62951fi
62952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62953      ac_ext=c
62954ac_cpp='$CPP $CPPFLAGS'
62955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62957ac_compiler_gnu=$ac_cv_c_compiler_gnu
62958
62959
62960fi
62961
62962  fi
62963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62964$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62965
62966  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62967    for ac_func in frexpf
62968do :
62969  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62970if test "x$ac_cv_func_frexpf" = xyes; then :
62971  cat >>confdefs.h <<_ACEOF
62972#define HAVE_FREXPF 1
62973_ACEOF
62974
62975fi
62976done
62977
62978  else
62979
62980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62981$as_echo_n "checking for _frexpf declaration... " >&6; }
62982  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62983    if ${glibcxx_cv_func__frexpf_use+:} false; then :
62984  $as_echo_n "(cached) " >&6
62985else
62986
62987
62988      ac_ext=cpp
62989ac_cpp='$CXXCPP $CPPFLAGS'
62990ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62991ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62992ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62993
62994      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62995/* end confdefs.h.  */
62996#include <math.h>
62997int
62998main ()
62999{
63000 _frexpf(0, 0);
63001  ;
63002  return 0;
63003}
63004_ACEOF
63005if ac_fn_cxx_try_compile "$LINENO"; then :
63006  glibcxx_cv_func__frexpf_use=yes
63007else
63008  glibcxx_cv_func__frexpf_use=no
63009fi
63010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63011      ac_ext=c
63012ac_cpp='$CPP $CPPFLAGS'
63013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63015ac_compiler_gnu=$ac_cv_c_compiler_gnu
63016
63017
63018fi
63019
63020  fi
63021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63022$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63023
63024    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63025      for ac_func in _frexpf
63026do :
63027  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63028if test "x$ac_cv_func__frexpf" = xyes; then :
63029  cat >>confdefs.h <<_ACEOF
63030#define HAVE__FREXPF 1
63031_ACEOF
63032
63033fi
63034done
63035
63036    fi
63037  fi
63038
63039
63040
63041
63042
63043  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63044$as_echo_n "checking for hypotf declaration... " >&6; }
63045  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63046    if ${glibcxx_cv_func_hypotf_use+:} false; then :
63047  $as_echo_n "(cached) " >&6
63048else
63049
63050
63051      ac_ext=cpp
63052ac_cpp='$CXXCPP $CPPFLAGS'
63053ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63054ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63055ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63056
63057      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63058/* end confdefs.h.  */
63059#include <math.h>
63060int
63061main ()
63062{
63063 hypotf(0, 0);
63064  ;
63065  return 0;
63066}
63067_ACEOF
63068if ac_fn_cxx_try_compile "$LINENO"; then :
63069  glibcxx_cv_func_hypotf_use=yes
63070else
63071  glibcxx_cv_func_hypotf_use=no
63072fi
63073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63074      ac_ext=c
63075ac_cpp='$CPP $CPPFLAGS'
63076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63078ac_compiler_gnu=$ac_cv_c_compiler_gnu
63079
63080
63081fi
63082
63083  fi
63084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63085$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63086
63087  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63088    for ac_func in hypotf
63089do :
63090  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63091if test "x$ac_cv_func_hypotf" = xyes; then :
63092  cat >>confdefs.h <<_ACEOF
63093#define HAVE_HYPOTF 1
63094_ACEOF
63095
63096fi
63097done
63098
63099  else
63100
63101  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63102$as_echo_n "checking for _hypotf declaration... " >&6; }
63103  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63104    if ${glibcxx_cv_func__hypotf_use+:} false; then :
63105  $as_echo_n "(cached) " >&6
63106else
63107
63108
63109      ac_ext=cpp
63110ac_cpp='$CXXCPP $CPPFLAGS'
63111ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63112ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63113ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63114
63115      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63116/* end confdefs.h.  */
63117#include <math.h>
63118int
63119main ()
63120{
63121 _hypotf(0, 0);
63122  ;
63123  return 0;
63124}
63125_ACEOF
63126if ac_fn_cxx_try_compile "$LINENO"; then :
63127  glibcxx_cv_func__hypotf_use=yes
63128else
63129  glibcxx_cv_func__hypotf_use=no
63130fi
63131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63132      ac_ext=c
63133ac_cpp='$CPP $CPPFLAGS'
63134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63136ac_compiler_gnu=$ac_cv_c_compiler_gnu
63137
63138
63139fi
63140
63141  fi
63142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63143$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63144
63145    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63146      for ac_func in _hypotf
63147do :
63148  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63149if test "x$ac_cv_func__hypotf" = xyes; then :
63150  cat >>confdefs.h <<_ACEOF
63151#define HAVE__HYPOTF 1
63152_ACEOF
63153
63154fi
63155done
63156
63157    fi
63158  fi
63159
63160
63161
63162
63163
63164  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63165$as_echo_n "checking for ldexpf declaration... " >&6; }
63166  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63167    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63168  $as_echo_n "(cached) " >&6
63169else
63170
63171
63172      ac_ext=cpp
63173ac_cpp='$CXXCPP $CPPFLAGS'
63174ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63175ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63176ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63177
63178      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63179/* end confdefs.h.  */
63180#include <math.h>
63181int
63182main ()
63183{
63184 ldexpf(0, 0);
63185  ;
63186  return 0;
63187}
63188_ACEOF
63189if ac_fn_cxx_try_compile "$LINENO"; then :
63190  glibcxx_cv_func_ldexpf_use=yes
63191else
63192  glibcxx_cv_func_ldexpf_use=no
63193fi
63194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63195      ac_ext=c
63196ac_cpp='$CPP $CPPFLAGS'
63197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63199ac_compiler_gnu=$ac_cv_c_compiler_gnu
63200
63201
63202fi
63203
63204  fi
63205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63206$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63207
63208  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63209    for ac_func in ldexpf
63210do :
63211  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63212if test "x$ac_cv_func_ldexpf" = xyes; then :
63213  cat >>confdefs.h <<_ACEOF
63214#define HAVE_LDEXPF 1
63215_ACEOF
63216
63217fi
63218done
63219
63220  else
63221
63222  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63223$as_echo_n "checking for _ldexpf declaration... " >&6; }
63224  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63225    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63226  $as_echo_n "(cached) " >&6
63227else
63228
63229
63230      ac_ext=cpp
63231ac_cpp='$CXXCPP $CPPFLAGS'
63232ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63233ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63234ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63235
63236      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63237/* end confdefs.h.  */
63238#include <math.h>
63239int
63240main ()
63241{
63242 _ldexpf(0, 0);
63243  ;
63244  return 0;
63245}
63246_ACEOF
63247if ac_fn_cxx_try_compile "$LINENO"; then :
63248  glibcxx_cv_func__ldexpf_use=yes
63249else
63250  glibcxx_cv_func__ldexpf_use=no
63251fi
63252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63253      ac_ext=c
63254ac_cpp='$CPP $CPPFLAGS'
63255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63257ac_compiler_gnu=$ac_cv_c_compiler_gnu
63258
63259
63260fi
63261
63262  fi
63263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63264$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63265
63266    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63267      for ac_func in _ldexpf
63268do :
63269  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63270if test "x$ac_cv_func__ldexpf" = xyes; then :
63271  cat >>confdefs.h <<_ACEOF
63272#define HAVE__LDEXPF 1
63273_ACEOF
63274
63275fi
63276done
63277
63278    fi
63279  fi
63280
63281
63282
63283
63284
63285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63286$as_echo_n "checking for logf declaration... " >&6; }
63287  if test x${glibcxx_cv_func_logf_use+set} != xset; then
63288    if ${glibcxx_cv_func_logf_use+:} false; then :
63289  $as_echo_n "(cached) " >&6
63290else
63291
63292
63293      ac_ext=cpp
63294ac_cpp='$CXXCPP $CPPFLAGS'
63295ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63298
63299      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63300/* end confdefs.h.  */
63301#include <math.h>
63302		      #ifdef HAVE_IEEEFP_H
63303		      #include <ieeefp.h>
63304		      #endif
63305
63306int
63307main ()
63308{
63309 logf(0);
63310  ;
63311  return 0;
63312}
63313_ACEOF
63314if ac_fn_cxx_try_compile "$LINENO"; then :
63315  glibcxx_cv_func_logf_use=yes
63316else
63317  glibcxx_cv_func_logf_use=no
63318fi
63319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63320      ac_ext=c
63321ac_cpp='$CPP $CPPFLAGS'
63322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63324ac_compiler_gnu=$ac_cv_c_compiler_gnu
63325
63326
63327fi
63328
63329  fi
63330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63331$as_echo "$glibcxx_cv_func_logf_use" >&6; }
63332
63333  if test x$glibcxx_cv_func_logf_use = x"yes"; then
63334    for ac_func in logf
63335do :
63336  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63337if test "x$ac_cv_func_logf" = xyes; then :
63338  cat >>confdefs.h <<_ACEOF
63339#define HAVE_LOGF 1
63340_ACEOF
63341
63342fi
63343done
63344
63345  else
63346
63347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63348$as_echo_n "checking for _logf declaration... " >&6; }
63349  if test x${glibcxx_cv_func__logf_use+set} != xset; then
63350    if ${glibcxx_cv_func__logf_use+:} false; then :
63351  $as_echo_n "(cached) " >&6
63352else
63353
63354
63355      ac_ext=cpp
63356ac_cpp='$CXXCPP $CPPFLAGS'
63357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63360
63361      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63362/* end confdefs.h.  */
63363#include <math.h>
63364		      #ifdef HAVE_IEEEFP_H
63365		      #include <ieeefp.h>
63366		      #endif
63367
63368int
63369main ()
63370{
63371 _logf(0);
63372  ;
63373  return 0;
63374}
63375_ACEOF
63376if ac_fn_cxx_try_compile "$LINENO"; then :
63377  glibcxx_cv_func__logf_use=yes
63378else
63379  glibcxx_cv_func__logf_use=no
63380fi
63381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63382      ac_ext=c
63383ac_cpp='$CPP $CPPFLAGS'
63384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63386ac_compiler_gnu=$ac_cv_c_compiler_gnu
63387
63388
63389fi
63390
63391  fi
63392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63393$as_echo "$glibcxx_cv_func__logf_use" >&6; }
63394
63395    if test x$glibcxx_cv_func__logf_use = x"yes"; then
63396      for ac_func in _logf
63397do :
63398  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63399if test "x$ac_cv_func__logf" = xyes; then :
63400  cat >>confdefs.h <<_ACEOF
63401#define HAVE__LOGF 1
63402_ACEOF
63403
63404fi
63405done
63406
63407    fi
63408  fi
63409
63410
63411
63412
63413
63414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63415$as_echo_n "checking for log10f declaration... " >&6; }
63416  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63417    if ${glibcxx_cv_func_log10f_use+:} false; then :
63418  $as_echo_n "(cached) " >&6
63419else
63420
63421
63422      ac_ext=cpp
63423ac_cpp='$CXXCPP $CPPFLAGS'
63424ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63425ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63426ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63427
63428      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63429/* end confdefs.h.  */
63430#include <math.h>
63431		      #ifdef HAVE_IEEEFP_H
63432		      #include <ieeefp.h>
63433		      #endif
63434
63435int
63436main ()
63437{
63438 log10f(0);
63439  ;
63440  return 0;
63441}
63442_ACEOF
63443if ac_fn_cxx_try_compile "$LINENO"; then :
63444  glibcxx_cv_func_log10f_use=yes
63445else
63446  glibcxx_cv_func_log10f_use=no
63447fi
63448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63449      ac_ext=c
63450ac_cpp='$CPP $CPPFLAGS'
63451ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63452ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63453ac_compiler_gnu=$ac_cv_c_compiler_gnu
63454
63455
63456fi
63457
63458  fi
63459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63460$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63461
63462  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63463    for ac_func in log10f
63464do :
63465  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63466if test "x$ac_cv_func_log10f" = xyes; then :
63467  cat >>confdefs.h <<_ACEOF
63468#define HAVE_LOG10F 1
63469_ACEOF
63470
63471fi
63472done
63473
63474  else
63475
63476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63477$as_echo_n "checking for _log10f declaration... " >&6; }
63478  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63479    if ${glibcxx_cv_func__log10f_use+:} false; then :
63480  $as_echo_n "(cached) " >&6
63481else
63482
63483
63484      ac_ext=cpp
63485ac_cpp='$CXXCPP $CPPFLAGS'
63486ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63487ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63488ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63489
63490      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63491/* end confdefs.h.  */
63492#include <math.h>
63493		      #ifdef HAVE_IEEEFP_H
63494		      #include <ieeefp.h>
63495		      #endif
63496
63497int
63498main ()
63499{
63500 _log10f(0);
63501  ;
63502  return 0;
63503}
63504_ACEOF
63505if ac_fn_cxx_try_compile "$LINENO"; then :
63506  glibcxx_cv_func__log10f_use=yes
63507else
63508  glibcxx_cv_func__log10f_use=no
63509fi
63510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63511      ac_ext=c
63512ac_cpp='$CPP $CPPFLAGS'
63513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63515ac_compiler_gnu=$ac_cv_c_compiler_gnu
63516
63517
63518fi
63519
63520  fi
63521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63522$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63523
63524    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63525      for ac_func in _log10f
63526do :
63527  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63528if test "x$ac_cv_func__log10f" = xyes; then :
63529  cat >>confdefs.h <<_ACEOF
63530#define HAVE__LOG10F 1
63531_ACEOF
63532
63533fi
63534done
63535
63536    fi
63537  fi
63538
63539
63540
63541
63542
63543  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63544$as_echo_n "checking for modff declaration... " >&6; }
63545  if test x${glibcxx_cv_func_modff_use+set} != xset; then
63546    if ${glibcxx_cv_func_modff_use+:} false; then :
63547  $as_echo_n "(cached) " >&6
63548else
63549
63550
63551      ac_ext=cpp
63552ac_cpp='$CXXCPP $CPPFLAGS'
63553ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63554ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63555ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63556
63557      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63558/* end confdefs.h.  */
63559#include <math.h>
63560int
63561main ()
63562{
63563 modff(0, 0);
63564  ;
63565  return 0;
63566}
63567_ACEOF
63568if ac_fn_cxx_try_compile "$LINENO"; then :
63569  glibcxx_cv_func_modff_use=yes
63570else
63571  glibcxx_cv_func_modff_use=no
63572fi
63573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63574      ac_ext=c
63575ac_cpp='$CPP $CPPFLAGS'
63576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63578ac_compiler_gnu=$ac_cv_c_compiler_gnu
63579
63580
63581fi
63582
63583  fi
63584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63585$as_echo "$glibcxx_cv_func_modff_use" >&6; }
63586
63587  if test x$glibcxx_cv_func_modff_use = x"yes"; then
63588    for ac_func in modff
63589do :
63590  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63591if test "x$ac_cv_func_modff" = xyes; then :
63592  cat >>confdefs.h <<_ACEOF
63593#define HAVE_MODFF 1
63594_ACEOF
63595
63596fi
63597done
63598
63599  else
63600
63601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63602$as_echo_n "checking for _modff declaration... " >&6; }
63603  if test x${glibcxx_cv_func__modff_use+set} != xset; then
63604    if ${glibcxx_cv_func__modff_use+:} false; then :
63605  $as_echo_n "(cached) " >&6
63606else
63607
63608
63609      ac_ext=cpp
63610ac_cpp='$CXXCPP $CPPFLAGS'
63611ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63612ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63613ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63614
63615      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63616/* end confdefs.h.  */
63617#include <math.h>
63618int
63619main ()
63620{
63621 _modff(0, 0);
63622  ;
63623  return 0;
63624}
63625_ACEOF
63626if ac_fn_cxx_try_compile "$LINENO"; then :
63627  glibcxx_cv_func__modff_use=yes
63628else
63629  glibcxx_cv_func__modff_use=no
63630fi
63631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63632      ac_ext=c
63633ac_cpp='$CPP $CPPFLAGS'
63634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63636ac_compiler_gnu=$ac_cv_c_compiler_gnu
63637
63638
63639fi
63640
63641  fi
63642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63643$as_echo "$glibcxx_cv_func__modff_use" >&6; }
63644
63645    if test x$glibcxx_cv_func__modff_use = x"yes"; then
63646      for ac_func in _modff
63647do :
63648  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63649if test "x$ac_cv_func__modff" = xyes; then :
63650  cat >>confdefs.h <<_ACEOF
63651#define HAVE__MODFF 1
63652_ACEOF
63653
63654fi
63655done
63656
63657    fi
63658  fi
63659
63660
63661
63662
63663
63664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63665$as_echo_n "checking for modf declaration... " >&6; }
63666  if test x${glibcxx_cv_func_modf_use+set} != xset; then
63667    if ${glibcxx_cv_func_modf_use+:} false; then :
63668  $as_echo_n "(cached) " >&6
63669else
63670
63671
63672      ac_ext=cpp
63673ac_cpp='$CXXCPP $CPPFLAGS'
63674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63677
63678      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63679/* end confdefs.h.  */
63680#include <math.h>
63681int
63682main ()
63683{
63684 modf(0, 0);
63685  ;
63686  return 0;
63687}
63688_ACEOF
63689if ac_fn_cxx_try_compile "$LINENO"; then :
63690  glibcxx_cv_func_modf_use=yes
63691else
63692  glibcxx_cv_func_modf_use=no
63693fi
63694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63695      ac_ext=c
63696ac_cpp='$CPP $CPPFLAGS'
63697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63699ac_compiler_gnu=$ac_cv_c_compiler_gnu
63700
63701
63702fi
63703
63704  fi
63705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63706$as_echo "$glibcxx_cv_func_modf_use" >&6; }
63707
63708  if test x$glibcxx_cv_func_modf_use = x"yes"; then
63709    for ac_func in modf
63710do :
63711  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63712if test "x$ac_cv_func_modf" = xyes; then :
63713  cat >>confdefs.h <<_ACEOF
63714#define HAVE_MODF 1
63715_ACEOF
63716
63717fi
63718done
63719
63720  else
63721
63722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63723$as_echo_n "checking for _modf declaration... " >&6; }
63724  if test x${glibcxx_cv_func__modf_use+set} != xset; then
63725    if ${glibcxx_cv_func__modf_use+:} false; then :
63726  $as_echo_n "(cached) " >&6
63727else
63728
63729
63730      ac_ext=cpp
63731ac_cpp='$CXXCPP $CPPFLAGS'
63732ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63733ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63734ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63735
63736      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63737/* end confdefs.h.  */
63738#include <math.h>
63739int
63740main ()
63741{
63742 _modf(0, 0);
63743  ;
63744  return 0;
63745}
63746_ACEOF
63747if ac_fn_cxx_try_compile "$LINENO"; then :
63748  glibcxx_cv_func__modf_use=yes
63749else
63750  glibcxx_cv_func__modf_use=no
63751fi
63752rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63753      ac_ext=c
63754ac_cpp='$CPP $CPPFLAGS'
63755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63757ac_compiler_gnu=$ac_cv_c_compiler_gnu
63758
63759
63760fi
63761
63762  fi
63763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63764$as_echo "$glibcxx_cv_func__modf_use" >&6; }
63765
63766    if test x$glibcxx_cv_func__modf_use = x"yes"; then
63767      for ac_func in _modf
63768do :
63769  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63770if test "x$ac_cv_func__modf" = xyes; then :
63771  cat >>confdefs.h <<_ACEOF
63772#define HAVE__MODF 1
63773_ACEOF
63774
63775fi
63776done
63777
63778    fi
63779  fi
63780
63781
63782
63783
63784
63785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63786$as_echo_n "checking for powf declaration... " >&6; }
63787  if test x${glibcxx_cv_func_powf_use+set} != xset; then
63788    if ${glibcxx_cv_func_powf_use+:} false; then :
63789  $as_echo_n "(cached) " >&6
63790else
63791
63792
63793      ac_ext=cpp
63794ac_cpp='$CXXCPP $CPPFLAGS'
63795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63798
63799      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63800/* end confdefs.h.  */
63801#include <math.h>
63802int
63803main ()
63804{
63805 powf(0, 0);
63806  ;
63807  return 0;
63808}
63809_ACEOF
63810if ac_fn_cxx_try_compile "$LINENO"; then :
63811  glibcxx_cv_func_powf_use=yes
63812else
63813  glibcxx_cv_func_powf_use=no
63814fi
63815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63816      ac_ext=c
63817ac_cpp='$CPP $CPPFLAGS'
63818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63820ac_compiler_gnu=$ac_cv_c_compiler_gnu
63821
63822
63823fi
63824
63825  fi
63826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63827$as_echo "$glibcxx_cv_func_powf_use" >&6; }
63828
63829  if test x$glibcxx_cv_func_powf_use = x"yes"; then
63830    for ac_func in powf
63831do :
63832  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63833if test "x$ac_cv_func_powf" = xyes; then :
63834  cat >>confdefs.h <<_ACEOF
63835#define HAVE_POWF 1
63836_ACEOF
63837
63838fi
63839done
63840
63841  else
63842
63843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63844$as_echo_n "checking for _powf declaration... " >&6; }
63845  if test x${glibcxx_cv_func__powf_use+set} != xset; then
63846    if ${glibcxx_cv_func__powf_use+:} false; then :
63847  $as_echo_n "(cached) " >&6
63848else
63849
63850
63851      ac_ext=cpp
63852ac_cpp='$CXXCPP $CPPFLAGS'
63853ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63854ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63855ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63856
63857      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63858/* end confdefs.h.  */
63859#include <math.h>
63860int
63861main ()
63862{
63863 _powf(0, 0);
63864  ;
63865  return 0;
63866}
63867_ACEOF
63868if ac_fn_cxx_try_compile "$LINENO"; then :
63869  glibcxx_cv_func__powf_use=yes
63870else
63871  glibcxx_cv_func__powf_use=no
63872fi
63873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63874      ac_ext=c
63875ac_cpp='$CPP $CPPFLAGS'
63876ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63877ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63878ac_compiler_gnu=$ac_cv_c_compiler_gnu
63879
63880
63881fi
63882
63883  fi
63884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63885$as_echo "$glibcxx_cv_func__powf_use" >&6; }
63886
63887    if test x$glibcxx_cv_func__powf_use = x"yes"; then
63888      for ac_func in _powf
63889do :
63890  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63891if test "x$ac_cv_func__powf" = xyes; then :
63892  cat >>confdefs.h <<_ACEOF
63893#define HAVE__POWF 1
63894_ACEOF
63895
63896fi
63897done
63898
63899    fi
63900  fi
63901
63902
63903
63904
63905
63906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63907$as_echo_n "checking for sqrtf declaration... " >&6; }
63908  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63909    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63910  $as_echo_n "(cached) " >&6
63911else
63912
63913
63914      ac_ext=cpp
63915ac_cpp='$CXXCPP $CPPFLAGS'
63916ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63917ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63918ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63919
63920      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63921/* end confdefs.h.  */
63922#include <math.h>
63923		      #ifdef HAVE_IEEEFP_H
63924		      #include <ieeefp.h>
63925		      #endif
63926
63927int
63928main ()
63929{
63930 sqrtf(0);
63931  ;
63932  return 0;
63933}
63934_ACEOF
63935if ac_fn_cxx_try_compile "$LINENO"; then :
63936  glibcxx_cv_func_sqrtf_use=yes
63937else
63938  glibcxx_cv_func_sqrtf_use=no
63939fi
63940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63941      ac_ext=c
63942ac_cpp='$CPP $CPPFLAGS'
63943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63945ac_compiler_gnu=$ac_cv_c_compiler_gnu
63946
63947
63948fi
63949
63950  fi
63951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63952$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63953
63954  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63955    for ac_func in sqrtf
63956do :
63957  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63958if test "x$ac_cv_func_sqrtf" = xyes; then :
63959  cat >>confdefs.h <<_ACEOF
63960#define HAVE_SQRTF 1
63961_ACEOF
63962
63963fi
63964done
63965
63966  else
63967
63968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63969$as_echo_n "checking for _sqrtf declaration... " >&6; }
63970  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63971    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63972  $as_echo_n "(cached) " >&6
63973else
63974
63975
63976      ac_ext=cpp
63977ac_cpp='$CXXCPP $CPPFLAGS'
63978ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63979ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63980ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63981
63982      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63983/* end confdefs.h.  */
63984#include <math.h>
63985		      #ifdef HAVE_IEEEFP_H
63986		      #include <ieeefp.h>
63987		      #endif
63988
63989int
63990main ()
63991{
63992 _sqrtf(0);
63993  ;
63994  return 0;
63995}
63996_ACEOF
63997if ac_fn_cxx_try_compile "$LINENO"; then :
63998  glibcxx_cv_func__sqrtf_use=yes
63999else
64000  glibcxx_cv_func__sqrtf_use=no
64001fi
64002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64003      ac_ext=c
64004ac_cpp='$CPP $CPPFLAGS'
64005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64007ac_compiler_gnu=$ac_cv_c_compiler_gnu
64008
64009
64010fi
64011
64012  fi
64013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64014$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64015
64016    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64017      for ac_func in _sqrtf
64018do :
64019  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64020if test "x$ac_cv_func__sqrtf" = xyes; then :
64021  cat >>confdefs.h <<_ACEOF
64022#define HAVE__SQRTF 1
64023_ACEOF
64024
64025fi
64026done
64027
64028    fi
64029  fi
64030
64031
64032
64033
64034
64035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64036$as_echo_n "checking for sincosf declaration... " >&6; }
64037  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64038    if ${glibcxx_cv_func_sincosf_use+:} false; then :
64039  $as_echo_n "(cached) " >&6
64040else
64041
64042
64043      ac_ext=cpp
64044ac_cpp='$CXXCPP $CPPFLAGS'
64045ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64046ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64047ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64048
64049      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64050/* end confdefs.h.  */
64051#include <math.h>
64052int
64053main ()
64054{
64055 sincosf(0, 0, 0);
64056  ;
64057  return 0;
64058}
64059_ACEOF
64060if ac_fn_cxx_try_compile "$LINENO"; then :
64061  glibcxx_cv_func_sincosf_use=yes
64062else
64063  glibcxx_cv_func_sincosf_use=no
64064fi
64065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64066      ac_ext=c
64067ac_cpp='$CPP $CPPFLAGS'
64068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64070ac_compiler_gnu=$ac_cv_c_compiler_gnu
64071
64072
64073fi
64074
64075  fi
64076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64077$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64078
64079  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64080    for ac_func in sincosf
64081do :
64082  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64083if test "x$ac_cv_func_sincosf" = xyes; then :
64084  cat >>confdefs.h <<_ACEOF
64085#define HAVE_SINCOSF 1
64086_ACEOF
64087
64088fi
64089done
64090
64091  else
64092
64093  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64094$as_echo_n "checking for _sincosf declaration... " >&6; }
64095  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64096    if ${glibcxx_cv_func__sincosf_use+:} false; then :
64097  $as_echo_n "(cached) " >&6
64098else
64099
64100
64101      ac_ext=cpp
64102ac_cpp='$CXXCPP $CPPFLAGS'
64103ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64104ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64105ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64106
64107      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64108/* end confdefs.h.  */
64109#include <math.h>
64110int
64111main ()
64112{
64113 _sincosf(0, 0, 0);
64114  ;
64115  return 0;
64116}
64117_ACEOF
64118if ac_fn_cxx_try_compile "$LINENO"; then :
64119  glibcxx_cv_func__sincosf_use=yes
64120else
64121  glibcxx_cv_func__sincosf_use=no
64122fi
64123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64124      ac_ext=c
64125ac_cpp='$CPP $CPPFLAGS'
64126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64128ac_compiler_gnu=$ac_cv_c_compiler_gnu
64129
64130
64131fi
64132
64133  fi
64134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64135$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64136
64137    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64138      for ac_func in _sincosf
64139do :
64140  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64141if test "x$ac_cv_func__sincosf" = xyes; then :
64142  cat >>confdefs.h <<_ACEOF
64143#define HAVE__SINCOSF 1
64144_ACEOF
64145
64146fi
64147done
64148
64149    fi
64150  fi
64151
64152
64153
64154
64155
64156  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64157$as_echo_n "checking for finitef declaration... " >&6; }
64158  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64159    if ${glibcxx_cv_func_finitef_use+:} false; then :
64160  $as_echo_n "(cached) " >&6
64161else
64162
64163
64164      ac_ext=cpp
64165ac_cpp='$CXXCPP $CPPFLAGS'
64166ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64167ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64168ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64169
64170      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64171/* end confdefs.h.  */
64172#include <math.h>
64173		      #ifdef HAVE_IEEEFP_H
64174		      #include <ieeefp.h>
64175		      #endif
64176
64177int
64178main ()
64179{
64180 finitef(0);
64181  ;
64182  return 0;
64183}
64184_ACEOF
64185if ac_fn_cxx_try_compile "$LINENO"; then :
64186  glibcxx_cv_func_finitef_use=yes
64187else
64188  glibcxx_cv_func_finitef_use=no
64189fi
64190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64191      ac_ext=c
64192ac_cpp='$CPP $CPPFLAGS'
64193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64195ac_compiler_gnu=$ac_cv_c_compiler_gnu
64196
64197
64198fi
64199
64200  fi
64201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64202$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64203
64204  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64205    for ac_func in finitef
64206do :
64207  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64208if test "x$ac_cv_func_finitef" = xyes; then :
64209  cat >>confdefs.h <<_ACEOF
64210#define HAVE_FINITEF 1
64211_ACEOF
64212
64213fi
64214done
64215
64216  else
64217
64218  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64219$as_echo_n "checking for _finitef declaration... " >&6; }
64220  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64221    if ${glibcxx_cv_func__finitef_use+:} false; then :
64222  $as_echo_n "(cached) " >&6
64223else
64224
64225
64226      ac_ext=cpp
64227ac_cpp='$CXXCPP $CPPFLAGS'
64228ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64229ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64230ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64231
64232      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64233/* end confdefs.h.  */
64234#include <math.h>
64235		      #ifdef HAVE_IEEEFP_H
64236		      #include <ieeefp.h>
64237		      #endif
64238
64239int
64240main ()
64241{
64242 _finitef(0);
64243  ;
64244  return 0;
64245}
64246_ACEOF
64247if ac_fn_cxx_try_compile "$LINENO"; then :
64248  glibcxx_cv_func__finitef_use=yes
64249else
64250  glibcxx_cv_func__finitef_use=no
64251fi
64252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64253      ac_ext=c
64254ac_cpp='$CPP $CPPFLAGS'
64255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64257ac_compiler_gnu=$ac_cv_c_compiler_gnu
64258
64259
64260fi
64261
64262  fi
64263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64264$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64265
64266    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64267      for ac_func in _finitef
64268do :
64269  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64270if test "x$ac_cv_func__finitef" = xyes; then :
64271  cat >>confdefs.h <<_ACEOF
64272#define HAVE__FINITEF 1
64273_ACEOF
64274
64275fi
64276done
64277
64278    fi
64279  fi
64280
64281
64282
64283
64284
64285    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64286$as_echo_n "checking for long double trig functions... " >&6; }
64287  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64288  $as_echo_n "(cached) " >&6
64289else
64290
64291
64292    ac_ext=cpp
64293ac_cpp='$CXXCPP $CPPFLAGS'
64294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64297
64298    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64299/* end confdefs.h.  */
64300#include <math.h>
64301int
64302main ()
64303{
64304acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64305  ;
64306  return 0;
64307}
64308_ACEOF
64309if ac_fn_cxx_try_compile "$LINENO"; then :
64310  glibcxx_cv_func_long_double_trig_use=yes
64311else
64312  glibcxx_cv_func_long_double_trig_use=no
64313fi
64314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64315    ac_ext=c
64316ac_cpp='$CPP $CPPFLAGS'
64317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64319ac_compiler_gnu=$ac_cv_c_compiler_gnu
64320
64321fi
64322
64323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64324$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64325  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64326    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64327do :
64328  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64329ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64330if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64331  cat >>confdefs.h <<_ACEOF
64332#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64333_ACEOF
64334
64335fi
64336done
64337
64338  else
64339    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64340$as_echo_n "checking for _long double trig functions... " >&6; }
64341    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64342  $as_echo_n "(cached) " >&6
64343else
64344
64345
64346      ac_ext=cpp
64347ac_cpp='$CXXCPP $CPPFLAGS'
64348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64351
64352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64353/* end confdefs.h.  */
64354#include <math.h>
64355int
64356main ()
64357{
64358_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64359  ;
64360  return 0;
64361}
64362_ACEOF
64363if ac_fn_cxx_try_compile "$LINENO"; then :
64364  glibcxx_cv_func__long_double_trig_use=yes
64365else
64366  glibcxx_cv_func__long_double_trig_use=no
64367fi
64368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64369      ac_ext=c
64370ac_cpp='$CPP $CPPFLAGS'
64371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64373ac_compiler_gnu=$ac_cv_c_compiler_gnu
64374
64375fi
64376
64377    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64378$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64379    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64380      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64381do :
64382  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64383ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64384if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64385  cat >>confdefs.h <<_ACEOF
64386#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64387_ACEOF
64388
64389fi
64390done
64391
64392    fi
64393  fi
64394
64395
64396
64397
64398
64399    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64400$as_echo_n "checking for long double round functions... " >&6; }
64401  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64402  $as_echo_n "(cached) " >&6
64403else
64404
64405
64406    ac_ext=cpp
64407ac_cpp='$CXXCPP $CPPFLAGS'
64408ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64409ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64410ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64411
64412    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64413/* end confdefs.h.  */
64414#include <math.h>
64415int
64416main ()
64417{
64418ceill (0); floorl (0);
64419  ;
64420  return 0;
64421}
64422_ACEOF
64423if ac_fn_cxx_try_compile "$LINENO"; then :
64424  glibcxx_cv_func_long_double_round_use=yes
64425else
64426  glibcxx_cv_func_long_double_round_use=no
64427fi
64428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64429    ac_ext=c
64430ac_cpp='$CPP $CPPFLAGS'
64431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64433ac_compiler_gnu=$ac_cv_c_compiler_gnu
64434
64435fi
64436
64437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64438$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64439  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64440    for ac_func in ceill floorl
64441do :
64442  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64443ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64444if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64445  cat >>confdefs.h <<_ACEOF
64446#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64447_ACEOF
64448
64449fi
64450done
64451
64452  else
64453    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64454$as_echo_n "checking for _long double round functions... " >&6; }
64455    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64456  $as_echo_n "(cached) " >&6
64457else
64458
64459
64460      ac_ext=cpp
64461ac_cpp='$CXXCPP $CPPFLAGS'
64462ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64465
64466      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467/* end confdefs.h.  */
64468#include <math.h>
64469int
64470main ()
64471{
64472_ceill (0); _floorl (0);
64473  ;
64474  return 0;
64475}
64476_ACEOF
64477if ac_fn_cxx_try_compile "$LINENO"; then :
64478  glibcxx_cv_func__long_double_round_use=yes
64479else
64480  glibcxx_cv_func__long_double_round_use=no
64481fi
64482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64483      ac_ext=c
64484ac_cpp='$CPP $CPPFLAGS'
64485ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64486ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64487ac_compiler_gnu=$ac_cv_c_compiler_gnu
64488
64489fi
64490
64491    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64492$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64493    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64494      for ac_func in _ceill _floorl
64495do :
64496  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64497ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64498if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64499  cat >>confdefs.h <<_ACEOF
64500#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64501_ACEOF
64502
64503fi
64504done
64505
64506    fi
64507  fi
64508
64509
64510
64511
64512
64513
64514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64515$as_echo_n "checking for isnanl declaration... " >&6; }
64516  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64517    if ${glibcxx_cv_func_isnanl_use+:} false; then :
64518  $as_echo_n "(cached) " >&6
64519else
64520
64521
64522      ac_ext=cpp
64523ac_cpp='$CXXCPP $CPPFLAGS'
64524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64527
64528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64529/* end confdefs.h.  */
64530#include <math.h>
64531		      #ifdef HAVE_IEEEFP_H
64532		      #include <ieeefp.h>
64533		      #endif
64534
64535int
64536main ()
64537{
64538 isnanl(0);
64539  ;
64540  return 0;
64541}
64542_ACEOF
64543if ac_fn_cxx_try_compile "$LINENO"; then :
64544  glibcxx_cv_func_isnanl_use=yes
64545else
64546  glibcxx_cv_func_isnanl_use=no
64547fi
64548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64549      ac_ext=c
64550ac_cpp='$CPP $CPPFLAGS'
64551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553ac_compiler_gnu=$ac_cv_c_compiler_gnu
64554
64555
64556fi
64557
64558  fi
64559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64560$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64561
64562  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64563    for ac_func in isnanl
64564do :
64565  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64566if test "x$ac_cv_func_isnanl" = xyes; then :
64567  cat >>confdefs.h <<_ACEOF
64568#define HAVE_ISNANL 1
64569_ACEOF
64570
64571fi
64572done
64573
64574  else
64575
64576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64577$as_echo_n "checking for _isnanl declaration... " >&6; }
64578  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64579    if ${glibcxx_cv_func__isnanl_use+:} false; then :
64580  $as_echo_n "(cached) " >&6
64581else
64582
64583
64584      ac_ext=cpp
64585ac_cpp='$CXXCPP $CPPFLAGS'
64586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64589
64590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64591/* end confdefs.h.  */
64592#include <math.h>
64593		      #ifdef HAVE_IEEEFP_H
64594		      #include <ieeefp.h>
64595		      #endif
64596
64597int
64598main ()
64599{
64600 _isnanl(0);
64601  ;
64602  return 0;
64603}
64604_ACEOF
64605if ac_fn_cxx_try_compile "$LINENO"; then :
64606  glibcxx_cv_func__isnanl_use=yes
64607else
64608  glibcxx_cv_func__isnanl_use=no
64609fi
64610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64611      ac_ext=c
64612ac_cpp='$CPP $CPPFLAGS'
64613ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64614ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64615ac_compiler_gnu=$ac_cv_c_compiler_gnu
64616
64617
64618fi
64619
64620  fi
64621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64622$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64623
64624    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64625      for ac_func in _isnanl
64626do :
64627  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64628if test "x$ac_cv_func__isnanl" = xyes; then :
64629  cat >>confdefs.h <<_ACEOF
64630#define HAVE__ISNANL 1
64631_ACEOF
64632
64633fi
64634done
64635
64636    fi
64637  fi
64638
64639
64640
64641
64642
64643  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64644$as_echo_n "checking for isinfl declaration... " >&6; }
64645  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64646    if ${glibcxx_cv_func_isinfl_use+:} false; then :
64647  $as_echo_n "(cached) " >&6
64648else
64649
64650
64651      ac_ext=cpp
64652ac_cpp='$CXXCPP $CPPFLAGS'
64653ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64656
64657      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64658/* end confdefs.h.  */
64659#include <math.h>
64660		      #ifdef HAVE_IEEEFP_H
64661		      #include <ieeefp.h>
64662		      #endif
64663
64664int
64665main ()
64666{
64667 isinfl(0);
64668  ;
64669  return 0;
64670}
64671_ACEOF
64672if ac_fn_cxx_try_compile "$LINENO"; then :
64673  glibcxx_cv_func_isinfl_use=yes
64674else
64675  glibcxx_cv_func_isinfl_use=no
64676fi
64677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64678      ac_ext=c
64679ac_cpp='$CPP $CPPFLAGS'
64680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64682ac_compiler_gnu=$ac_cv_c_compiler_gnu
64683
64684
64685fi
64686
64687  fi
64688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64689$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64690
64691  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64692    for ac_func in isinfl
64693do :
64694  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64695if test "x$ac_cv_func_isinfl" = xyes; then :
64696  cat >>confdefs.h <<_ACEOF
64697#define HAVE_ISINFL 1
64698_ACEOF
64699
64700fi
64701done
64702
64703  else
64704
64705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64706$as_echo_n "checking for _isinfl declaration... " >&6; }
64707  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64708    if ${glibcxx_cv_func__isinfl_use+:} false; then :
64709  $as_echo_n "(cached) " >&6
64710else
64711
64712
64713      ac_ext=cpp
64714ac_cpp='$CXXCPP $CPPFLAGS'
64715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64718
64719      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64720/* end confdefs.h.  */
64721#include <math.h>
64722		      #ifdef HAVE_IEEEFP_H
64723		      #include <ieeefp.h>
64724		      #endif
64725
64726int
64727main ()
64728{
64729 _isinfl(0);
64730  ;
64731  return 0;
64732}
64733_ACEOF
64734if ac_fn_cxx_try_compile "$LINENO"; then :
64735  glibcxx_cv_func__isinfl_use=yes
64736else
64737  glibcxx_cv_func__isinfl_use=no
64738fi
64739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64740      ac_ext=c
64741ac_cpp='$CPP $CPPFLAGS'
64742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64744ac_compiler_gnu=$ac_cv_c_compiler_gnu
64745
64746
64747fi
64748
64749  fi
64750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64751$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64752
64753    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64754      for ac_func in _isinfl
64755do :
64756  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64757if test "x$ac_cv_func__isinfl" = xyes; then :
64758  cat >>confdefs.h <<_ACEOF
64759#define HAVE__ISINFL 1
64760_ACEOF
64761
64762fi
64763done
64764
64765    fi
64766  fi
64767
64768
64769
64770
64771
64772  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64773$as_echo_n "checking for atan2l declaration... " >&6; }
64774  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64775    if ${glibcxx_cv_func_atan2l_use+:} false; then :
64776  $as_echo_n "(cached) " >&6
64777else
64778
64779
64780      ac_ext=cpp
64781ac_cpp='$CXXCPP $CPPFLAGS'
64782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64785
64786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64787/* end confdefs.h.  */
64788#include <math.h>
64789int
64790main ()
64791{
64792 atan2l(0, 0);
64793  ;
64794  return 0;
64795}
64796_ACEOF
64797if ac_fn_cxx_try_compile "$LINENO"; then :
64798  glibcxx_cv_func_atan2l_use=yes
64799else
64800  glibcxx_cv_func_atan2l_use=no
64801fi
64802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64803      ac_ext=c
64804ac_cpp='$CPP $CPPFLAGS'
64805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64807ac_compiler_gnu=$ac_cv_c_compiler_gnu
64808
64809
64810fi
64811
64812  fi
64813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64814$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64815
64816  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64817    for ac_func in atan2l
64818do :
64819  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64820if test "x$ac_cv_func_atan2l" = xyes; then :
64821  cat >>confdefs.h <<_ACEOF
64822#define HAVE_ATAN2L 1
64823_ACEOF
64824
64825fi
64826done
64827
64828  else
64829
64830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64831$as_echo_n "checking for _atan2l declaration... " >&6; }
64832  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64833    if ${glibcxx_cv_func__atan2l_use+:} false; then :
64834  $as_echo_n "(cached) " >&6
64835else
64836
64837
64838      ac_ext=cpp
64839ac_cpp='$CXXCPP $CPPFLAGS'
64840ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64841ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64842ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64843
64844      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64845/* end confdefs.h.  */
64846#include <math.h>
64847int
64848main ()
64849{
64850 _atan2l(0, 0);
64851  ;
64852  return 0;
64853}
64854_ACEOF
64855if ac_fn_cxx_try_compile "$LINENO"; then :
64856  glibcxx_cv_func__atan2l_use=yes
64857else
64858  glibcxx_cv_func__atan2l_use=no
64859fi
64860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64861      ac_ext=c
64862ac_cpp='$CPP $CPPFLAGS'
64863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64865ac_compiler_gnu=$ac_cv_c_compiler_gnu
64866
64867
64868fi
64869
64870  fi
64871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64872$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64873
64874    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64875      for ac_func in _atan2l
64876do :
64877  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64878if test "x$ac_cv_func__atan2l" = xyes; then :
64879  cat >>confdefs.h <<_ACEOF
64880#define HAVE__ATAN2L 1
64881_ACEOF
64882
64883fi
64884done
64885
64886    fi
64887  fi
64888
64889
64890
64891
64892
64893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64894$as_echo_n "checking for expl declaration... " >&6; }
64895  if test x${glibcxx_cv_func_expl_use+set} != xset; then
64896    if ${glibcxx_cv_func_expl_use+:} false; then :
64897  $as_echo_n "(cached) " >&6
64898else
64899
64900
64901      ac_ext=cpp
64902ac_cpp='$CXXCPP $CPPFLAGS'
64903ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64904ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64905ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64906
64907      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64908/* end confdefs.h.  */
64909#include <math.h>
64910		      #ifdef HAVE_IEEEFP_H
64911		      #include <ieeefp.h>
64912		      #endif
64913
64914int
64915main ()
64916{
64917 expl(0);
64918  ;
64919  return 0;
64920}
64921_ACEOF
64922if ac_fn_cxx_try_compile "$LINENO"; then :
64923  glibcxx_cv_func_expl_use=yes
64924else
64925  glibcxx_cv_func_expl_use=no
64926fi
64927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64928      ac_ext=c
64929ac_cpp='$CPP $CPPFLAGS'
64930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64932ac_compiler_gnu=$ac_cv_c_compiler_gnu
64933
64934
64935fi
64936
64937  fi
64938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64939$as_echo "$glibcxx_cv_func_expl_use" >&6; }
64940
64941  if test x$glibcxx_cv_func_expl_use = x"yes"; then
64942    for ac_func in expl
64943do :
64944  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64945if test "x$ac_cv_func_expl" = xyes; then :
64946  cat >>confdefs.h <<_ACEOF
64947#define HAVE_EXPL 1
64948_ACEOF
64949
64950fi
64951done
64952
64953  else
64954
64955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64956$as_echo_n "checking for _expl declaration... " >&6; }
64957  if test x${glibcxx_cv_func__expl_use+set} != xset; then
64958    if ${glibcxx_cv_func__expl_use+:} false; then :
64959  $as_echo_n "(cached) " >&6
64960else
64961
64962
64963      ac_ext=cpp
64964ac_cpp='$CXXCPP $CPPFLAGS'
64965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64968
64969      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64970/* end confdefs.h.  */
64971#include <math.h>
64972		      #ifdef HAVE_IEEEFP_H
64973		      #include <ieeefp.h>
64974		      #endif
64975
64976int
64977main ()
64978{
64979 _expl(0);
64980  ;
64981  return 0;
64982}
64983_ACEOF
64984if ac_fn_cxx_try_compile "$LINENO"; then :
64985  glibcxx_cv_func__expl_use=yes
64986else
64987  glibcxx_cv_func__expl_use=no
64988fi
64989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64990      ac_ext=c
64991ac_cpp='$CPP $CPPFLAGS'
64992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64994ac_compiler_gnu=$ac_cv_c_compiler_gnu
64995
64996
64997fi
64998
64999  fi
65000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65001$as_echo "$glibcxx_cv_func__expl_use" >&6; }
65002
65003    if test x$glibcxx_cv_func__expl_use = x"yes"; then
65004      for ac_func in _expl
65005do :
65006  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65007if test "x$ac_cv_func__expl" = xyes; then :
65008  cat >>confdefs.h <<_ACEOF
65009#define HAVE__EXPL 1
65010_ACEOF
65011
65012fi
65013done
65014
65015    fi
65016  fi
65017
65018
65019
65020
65021
65022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65023$as_echo_n "checking for fabsl declaration... " >&6; }
65024  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65025    if ${glibcxx_cv_func_fabsl_use+:} false; then :
65026  $as_echo_n "(cached) " >&6
65027else
65028
65029
65030      ac_ext=cpp
65031ac_cpp='$CXXCPP $CPPFLAGS'
65032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65035
65036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65037/* end confdefs.h.  */
65038#include <math.h>
65039		      #ifdef HAVE_IEEEFP_H
65040		      #include <ieeefp.h>
65041		      #endif
65042
65043int
65044main ()
65045{
65046 fabsl(0);
65047  ;
65048  return 0;
65049}
65050_ACEOF
65051if ac_fn_cxx_try_compile "$LINENO"; then :
65052  glibcxx_cv_func_fabsl_use=yes
65053else
65054  glibcxx_cv_func_fabsl_use=no
65055fi
65056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65057      ac_ext=c
65058ac_cpp='$CPP $CPPFLAGS'
65059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65061ac_compiler_gnu=$ac_cv_c_compiler_gnu
65062
65063
65064fi
65065
65066  fi
65067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65068$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65069
65070  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65071    for ac_func in fabsl
65072do :
65073  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65074if test "x$ac_cv_func_fabsl" = xyes; then :
65075  cat >>confdefs.h <<_ACEOF
65076#define HAVE_FABSL 1
65077_ACEOF
65078
65079fi
65080done
65081
65082  else
65083
65084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65085$as_echo_n "checking for _fabsl declaration... " >&6; }
65086  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65087    if ${glibcxx_cv_func__fabsl_use+:} false; then :
65088  $as_echo_n "(cached) " >&6
65089else
65090
65091
65092      ac_ext=cpp
65093ac_cpp='$CXXCPP $CPPFLAGS'
65094ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65097
65098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65099/* end confdefs.h.  */
65100#include <math.h>
65101		      #ifdef HAVE_IEEEFP_H
65102		      #include <ieeefp.h>
65103		      #endif
65104
65105int
65106main ()
65107{
65108 _fabsl(0);
65109  ;
65110  return 0;
65111}
65112_ACEOF
65113if ac_fn_cxx_try_compile "$LINENO"; then :
65114  glibcxx_cv_func__fabsl_use=yes
65115else
65116  glibcxx_cv_func__fabsl_use=no
65117fi
65118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65119      ac_ext=c
65120ac_cpp='$CPP $CPPFLAGS'
65121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65123ac_compiler_gnu=$ac_cv_c_compiler_gnu
65124
65125
65126fi
65127
65128  fi
65129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65130$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65131
65132    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65133      for ac_func in _fabsl
65134do :
65135  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65136if test "x$ac_cv_func__fabsl" = xyes; then :
65137  cat >>confdefs.h <<_ACEOF
65138#define HAVE__FABSL 1
65139_ACEOF
65140
65141fi
65142done
65143
65144    fi
65145  fi
65146
65147
65148
65149
65150
65151  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65152$as_echo_n "checking for fmodl declaration... " >&6; }
65153  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65154    if ${glibcxx_cv_func_fmodl_use+:} false; then :
65155  $as_echo_n "(cached) " >&6
65156else
65157
65158
65159      ac_ext=cpp
65160ac_cpp='$CXXCPP $CPPFLAGS'
65161ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65162ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65163ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65164
65165      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65166/* end confdefs.h.  */
65167#include <math.h>
65168int
65169main ()
65170{
65171 fmodl(0, 0);
65172  ;
65173  return 0;
65174}
65175_ACEOF
65176if ac_fn_cxx_try_compile "$LINENO"; then :
65177  glibcxx_cv_func_fmodl_use=yes
65178else
65179  glibcxx_cv_func_fmodl_use=no
65180fi
65181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65182      ac_ext=c
65183ac_cpp='$CPP $CPPFLAGS'
65184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65186ac_compiler_gnu=$ac_cv_c_compiler_gnu
65187
65188
65189fi
65190
65191  fi
65192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65193$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65194
65195  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65196    for ac_func in fmodl
65197do :
65198  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65199if test "x$ac_cv_func_fmodl" = xyes; then :
65200  cat >>confdefs.h <<_ACEOF
65201#define HAVE_FMODL 1
65202_ACEOF
65203
65204fi
65205done
65206
65207  else
65208
65209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65210$as_echo_n "checking for _fmodl declaration... " >&6; }
65211  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65212    if ${glibcxx_cv_func__fmodl_use+:} false; then :
65213  $as_echo_n "(cached) " >&6
65214else
65215
65216
65217      ac_ext=cpp
65218ac_cpp='$CXXCPP $CPPFLAGS'
65219ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65220ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65221ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65222
65223      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65224/* end confdefs.h.  */
65225#include <math.h>
65226int
65227main ()
65228{
65229 _fmodl(0, 0);
65230  ;
65231  return 0;
65232}
65233_ACEOF
65234if ac_fn_cxx_try_compile "$LINENO"; then :
65235  glibcxx_cv_func__fmodl_use=yes
65236else
65237  glibcxx_cv_func__fmodl_use=no
65238fi
65239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65240      ac_ext=c
65241ac_cpp='$CPP $CPPFLAGS'
65242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65244ac_compiler_gnu=$ac_cv_c_compiler_gnu
65245
65246
65247fi
65248
65249  fi
65250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65251$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65252
65253    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65254      for ac_func in _fmodl
65255do :
65256  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65257if test "x$ac_cv_func__fmodl" = xyes; then :
65258  cat >>confdefs.h <<_ACEOF
65259#define HAVE__FMODL 1
65260_ACEOF
65261
65262fi
65263done
65264
65265    fi
65266  fi
65267
65268
65269
65270
65271
65272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65273$as_echo_n "checking for frexpl declaration... " >&6; }
65274  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65275    if ${glibcxx_cv_func_frexpl_use+:} false; then :
65276  $as_echo_n "(cached) " >&6
65277else
65278
65279
65280      ac_ext=cpp
65281ac_cpp='$CXXCPP $CPPFLAGS'
65282ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65283ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65284ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65285
65286      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65287/* end confdefs.h.  */
65288#include <math.h>
65289int
65290main ()
65291{
65292 frexpl(0, 0);
65293  ;
65294  return 0;
65295}
65296_ACEOF
65297if ac_fn_cxx_try_compile "$LINENO"; then :
65298  glibcxx_cv_func_frexpl_use=yes
65299else
65300  glibcxx_cv_func_frexpl_use=no
65301fi
65302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65303      ac_ext=c
65304ac_cpp='$CPP $CPPFLAGS'
65305ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65306ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65307ac_compiler_gnu=$ac_cv_c_compiler_gnu
65308
65309
65310fi
65311
65312  fi
65313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65314$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65315
65316  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65317    for ac_func in frexpl
65318do :
65319  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65320if test "x$ac_cv_func_frexpl" = xyes; then :
65321  cat >>confdefs.h <<_ACEOF
65322#define HAVE_FREXPL 1
65323_ACEOF
65324
65325fi
65326done
65327
65328  else
65329
65330  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65331$as_echo_n "checking for _frexpl declaration... " >&6; }
65332  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65333    if ${glibcxx_cv_func__frexpl_use+:} false; then :
65334  $as_echo_n "(cached) " >&6
65335else
65336
65337
65338      ac_ext=cpp
65339ac_cpp='$CXXCPP $CPPFLAGS'
65340ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65341ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65342ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65343
65344      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65345/* end confdefs.h.  */
65346#include <math.h>
65347int
65348main ()
65349{
65350 _frexpl(0, 0);
65351  ;
65352  return 0;
65353}
65354_ACEOF
65355if ac_fn_cxx_try_compile "$LINENO"; then :
65356  glibcxx_cv_func__frexpl_use=yes
65357else
65358  glibcxx_cv_func__frexpl_use=no
65359fi
65360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65361      ac_ext=c
65362ac_cpp='$CPP $CPPFLAGS'
65363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65365ac_compiler_gnu=$ac_cv_c_compiler_gnu
65366
65367
65368fi
65369
65370  fi
65371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65372$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65373
65374    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65375      for ac_func in _frexpl
65376do :
65377  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65378if test "x$ac_cv_func__frexpl" = xyes; then :
65379  cat >>confdefs.h <<_ACEOF
65380#define HAVE__FREXPL 1
65381_ACEOF
65382
65383fi
65384done
65385
65386    fi
65387  fi
65388
65389
65390
65391
65392
65393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65394$as_echo_n "checking for hypotl declaration... " >&6; }
65395  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65396    if ${glibcxx_cv_func_hypotl_use+:} false; then :
65397  $as_echo_n "(cached) " >&6
65398else
65399
65400
65401      ac_ext=cpp
65402ac_cpp='$CXXCPP $CPPFLAGS'
65403ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65404ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65405ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65406
65407      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65408/* end confdefs.h.  */
65409#include <math.h>
65410int
65411main ()
65412{
65413 hypotl(0, 0);
65414  ;
65415  return 0;
65416}
65417_ACEOF
65418if ac_fn_cxx_try_compile "$LINENO"; then :
65419  glibcxx_cv_func_hypotl_use=yes
65420else
65421  glibcxx_cv_func_hypotl_use=no
65422fi
65423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65424      ac_ext=c
65425ac_cpp='$CPP $CPPFLAGS'
65426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65428ac_compiler_gnu=$ac_cv_c_compiler_gnu
65429
65430
65431fi
65432
65433  fi
65434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65435$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65436
65437  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65438    for ac_func in hypotl
65439do :
65440  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65441if test "x$ac_cv_func_hypotl" = xyes; then :
65442  cat >>confdefs.h <<_ACEOF
65443#define HAVE_HYPOTL 1
65444_ACEOF
65445
65446fi
65447done
65448
65449  else
65450
65451  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65452$as_echo_n "checking for _hypotl declaration... " >&6; }
65453  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65454    if ${glibcxx_cv_func__hypotl_use+:} false; then :
65455  $as_echo_n "(cached) " >&6
65456else
65457
65458
65459      ac_ext=cpp
65460ac_cpp='$CXXCPP $CPPFLAGS'
65461ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65462ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65463ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65464
65465      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65466/* end confdefs.h.  */
65467#include <math.h>
65468int
65469main ()
65470{
65471 _hypotl(0, 0);
65472  ;
65473  return 0;
65474}
65475_ACEOF
65476if ac_fn_cxx_try_compile "$LINENO"; then :
65477  glibcxx_cv_func__hypotl_use=yes
65478else
65479  glibcxx_cv_func__hypotl_use=no
65480fi
65481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65482      ac_ext=c
65483ac_cpp='$CPP $CPPFLAGS'
65484ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65485ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65486ac_compiler_gnu=$ac_cv_c_compiler_gnu
65487
65488
65489fi
65490
65491  fi
65492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65493$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65494
65495    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65496      for ac_func in _hypotl
65497do :
65498  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65499if test "x$ac_cv_func__hypotl" = xyes; then :
65500  cat >>confdefs.h <<_ACEOF
65501#define HAVE__HYPOTL 1
65502_ACEOF
65503
65504fi
65505done
65506
65507    fi
65508  fi
65509
65510
65511
65512
65513
65514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65515$as_echo_n "checking for ldexpl declaration... " >&6; }
65516  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65517    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65518  $as_echo_n "(cached) " >&6
65519else
65520
65521
65522      ac_ext=cpp
65523ac_cpp='$CXXCPP $CPPFLAGS'
65524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65527
65528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65529/* end confdefs.h.  */
65530#include <math.h>
65531int
65532main ()
65533{
65534 ldexpl(0, 0);
65535  ;
65536  return 0;
65537}
65538_ACEOF
65539if ac_fn_cxx_try_compile "$LINENO"; then :
65540  glibcxx_cv_func_ldexpl_use=yes
65541else
65542  glibcxx_cv_func_ldexpl_use=no
65543fi
65544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65545      ac_ext=c
65546ac_cpp='$CPP $CPPFLAGS'
65547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65549ac_compiler_gnu=$ac_cv_c_compiler_gnu
65550
65551
65552fi
65553
65554  fi
65555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65556$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65557
65558  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65559    for ac_func in ldexpl
65560do :
65561  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65562if test "x$ac_cv_func_ldexpl" = xyes; then :
65563  cat >>confdefs.h <<_ACEOF
65564#define HAVE_LDEXPL 1
65565_ACEOF
65566
65567fi
65568done
65569
65570  else
65571
65572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65573$as_echo_n "checking for _ldexpl declaration... " >&6; }
65574  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65575    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65576  $as_echo_n "(cached) " >&6
65577else
65578
65579
65580      ac_ext=cpp
65581ac_cpp='$CXXCPP $CPPFLAGS'
65582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65585
65586      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65587/* end confdefs.h.  */
65588#include <math.h>
65589int
65590main ()
65591{
65592 _ldexpl(0, 0);
65593  ;
65594  return 0;
65595}
65596_ACEOF
65597if ac_fn_cxx_try_compile "$LINENO"; then :
65598  glibcxx_cv_func__ldexpl_use=yes
65599else
65600  glibcxx_cv_func__ldexpl_use=no
65601fi
65602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65603      ac_ext=c
65604ac_cpp='$CPP $CPPFLAGS'
65605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65607ac_compiler_gnu=$ac_cv_c_compiler_gnu
65608
65609
65610fi
65611
65612  fi
65613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65614$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65615
65616    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65617      for ac_func in _ldexpl
65618do :
65619  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65620if test "x$ac_cv_func__ldexpl" = xyes; then :
65621  cat >>confdefs.h <<_ACEOF
65622#define HAVE__LDEXPL 1
65623_ACEOF
65624
65625fi
65626done
65627
65628    fi
65629  fi
65630
65631
65632
65633
65634
65635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65636$as_echo_n "checking for logl declaration... " >&6; }
65637  if test x${glibcxx_cv_func_logl_use+set} != xset; then
65638    if ${glibcxx_cv_func_logl_use+:} false; then :
65639  $as_echo_n "(cached) " >&6
65640else
65641
65642
65643      ac_ext=cpp
65644ac_cpp='$CXXCPP $CPPFLAGS'
65645ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65646ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65647ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65648
65649      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65650/* end confdefs.h.  */
65651#include <math.h>
65652		      #ifdef HAVE_IEEEFP_H
65653		      #include <ieeefp.h>
65654		      #endif
65655
65656int
65657main ()
65658{
65659 logl(0);
65660  ;
65661  return 0;
65662}
65663_ACEOF
65664if ac_fn_cxx_try_compile "$LINENO"; then :
65665  glibcxx_cv_func_logl_use=yes
65666else
65667  glibcxx_cv_func_logl_use=no
65668fi
65669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65670      ac_ext=c
65671ac_cpp='$CPP $CPPFLAGS'
65672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65674ac_compiler_gnu=$ac_cv_c_compiler_gnu
65675
65676
65677fi
65678
65679  fi
65680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65681$as_echo "$glibcxx_cv_func_logl_use" >&6; }
65682
65683  if test x$glibcxx_cv_func_logl_use = x"yes"; then
65684    for ac_func in logl
65685do :
65686  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65687if test "x$ac_cv_func_logl" = xyes; then :
65688  cat >>confdefs.h <<_ACEOF
65689#define HAVE_LOGL 1
65690_ACEOF
65691
65692fi
65693done
65694
65695  else
65696
65697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65698$as_echo_n "checking for _logl declaration... " >&6; }
65699  if test x${glibcxx_cv_func__logl_use+set} != xset; then
65700    if ${glibcxx_cv_func__logl_use+:} false; then :
65701  $as_echo_n "(cached) " >&6
65702else
65703
65704
65705      ac_ext=cpp
65706ac_cpp='$CXXCPP $CPPFLAGS'
65707ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65708ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65709ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65710
65711      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65712/* end confdefs.h.  */
65713#include <math.h>
65714		      #ifdef HAVE_IEEEFP_H
65715		      #include <ieeefp.h>
65716		      #endif
65717
65718int
65719main ()
65720{
65721 _logl(0);
65722  ;
65723  return 0;
65724}
65725_ACEOF
65726if ac_fn_cxx_try_compile "$LINENO"; then :
65727  glibcxx_cv_func__logl_use=yes
65728else
65729  glibcxx_cv_func__logl_use=no
65730fi
65731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65732      ac_ext=c
65733ac_cpp='$CPP $CPPFLAGS'
65734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65736ac_compiler_gnu=$ac_cv_c_compiler_gnu
65737
65738
65739fi
65740
65741  fi
65742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65743$as_echo "$glibcxx_cv_func__logl_use" >&6; }
65744
65745    if test x$glibcxx_cv_func__logl_use = x"yes"; then
65746      for ac_func in _logl
65747do :
65748  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65749if test "x$ac_cv_func__logl" = xyes; then :
65750  cat >>confdefs.h <<_ACEOF
65751#define HAVE__LOGL 1
65752_ACEOF
65753
65754fi
65755done
65756
65757    fi
65758  fi
65759
65760
65761
65762
65763
65764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65765$as_echo_n "checking for log10l declaration... " >&6; }
65766  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65767    if ${glibcxx_cv_func_log10l_use+:} false; then :
65768  $as_echo_n "(cached) " >&6
65769else
65770
65771
65772      ac_ext=cpp
65773ac_cpp='$CXXCPP $CPPFLAGS'
65774ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65775ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65776ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65777
65778      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65779/* end confdefs.h.  */
65780#include <math.h>
65781		      #ifdef HAVE_IEEEFP_H
65782		      #include <ieeefp.h>
65783		      #endif
65784
65785int
65786main ()
65787{
65788 log10l(0);
65789  ;
65790  return 0;
65791}
65792_ACEOF
65793if ac_fn_cxx_try_compile "$LINENO"; then :
65794  glibcxx_cv_func_log10l_use=yes
65795else
65796  glibcxx_cv_func_log10l_use=no
65797fi
65798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65799      ac_ext=c
65800ac_cpp='$CPP $CPPFLAGS'
65801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65803ac_compiler_gnu=$ac_cv_c_compiler_gnu
65804
65805
65806fi
65807
65808  fi
65809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65810$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65811
65812  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65813    for ac_func in log10l
65814do :
65815  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65816if test "x$ac_cv_func_log10l" = xyes; then :
65817  cat >>confdefs.h <<_ACEOF
65818#define HAVE_LOG10L 1
65819_ACEOF
65820
65821fi
65822done
65823
65824  else
65825
65826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65827$as_echo_n "checking for _log10l declaration... " >&6; }
65828  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65829    if ${glibcxx_cv_func__log10l_use+:} false; then :
65830  $as_echo_n "(cached) " >&6
65831else
65832
65833
65834      ac_ext=cpp
65835ac_cpp='$CXXCPP $CPPFLAGS'
65836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65839
65840      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65841/* end confdefs.h.  */
65842#include <math.h>
65843		      #ifdef HAVE_IEEEFP_H
65844		      #include <ieeefp.h>
65845		      #endif
65846
65847int
65848main ()
65849{
65850 _log10l(0);
65851  ;
65852  return 0;
65853}
65854_ACEOF
65855if ac_fn_cxx_try_compile "$LINENO"; then :
65856  glibcxx_cv_func__log10l_use=yes
65857else
65858  glibcxx_cv_func__log10l_use=no
65859fi
65860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65861      ac_ext=c
65862ac_cpp='$CPP $CPPFLAGS'
65863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65865ac_compiler_gnu=$ac_cv_c_compiler_gnu
65866
65867
65868fi
65869
65870  fi
65871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65872$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65873
65874    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65875      for ac_func in _log10l
65876do :
65877  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65878if test "x$ac_cv_func__log10l" = xyes; then :
65879  cat >>confdefs.h <<_ACEOF
65880#define HAVE__LOG10L 1
65881_ACEOF
65882
65883fi
65884done
65885
65886    fi
65887  fi
65888
65889
65890
65891
65892
65893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65894$as_echo_n "checking for modfl declaration... " >&6; }
65895  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65896    if ${glibcxx_cv_func_modfl_use+:} false; then :
65897  $as_echo_n "(cached) " >&6
65898else
65899
65900
65901      ac_ext=cpp
65902ac_cpp='$CXXCPP $CPPFLAGS'
65903ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65904ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65905ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65906
65907      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65908/* end confdefs.h.  */
65909#include <math.h>
65910int
65911main ()
65912{
65913 modfl(0, 0);
65914  ;
65915  return 0;
65916}
65917_ACEOF
65918if ac_fn_cxx_try_compile "$LINENO"; then :
65919  glibcxx_cv_func_modfl_use=yes
65920else
65921  glibcxx_cv_func_modfl_use=no
65922fi
65923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65924      ac_ext=c
65925ac_cpp='$CPP $CPPFLAGS'
65926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65928ac_compiler_gnu=$ac_cv_c_compiler_gnu
65929
65930
65931fi
65932
65933  fi
65934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65935$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65936
65937  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65938    for ac_func in modfl
65939do :
65940  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65941if test "x$ac_cv_func_modfl" = xyes; then :
65942  cat >>confdefs.h <<_ACEOF
65943#define HAVE_MODFL 1
65944_ACEOF
65945
65946fi
65947done
65948
65949  else
65950
65951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65952$as_echo_n "checking for _modfl declaration... " >&6; }
65953  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65954    if ${glibcxx_cv_func__modfl_use+:} false; then :
65955  $as_echo_n "(cached) " >&6
65956else
65957
65958
65959      ac_ext=cpp
65960ac_cpp='$CXXCPP $CPPFLAGS'
65961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65964
65965      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65966/* end confdefs.h.  */
65967#include <math.h>
65968int
65969main ()
65970{
65971 _modfl(0, 0);
65972  ;
65973  return 0;
65974}
65975_ACEOF
65976if ac_fn_cxx_try_compile "$LINENO"; then :
65977  glibcxx_cv_func__modfl_use=yes
65978else
65979  glibcxx_cv_func__modfl_use=no
65980fi
65981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65982      ac_ext=c
65983ac_cpp='$CPP $CPPFLAGS'
65984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65986ac_compiler_gnu=$ac_cv_c_compiler_gnu
65987
65988
65989fi
65990
65991  fi
65992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65993$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65994
65995    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65996      for ac_func in _modfl
65997do :
65998  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65999if test "x$ac_cv_func__modfl" = xyes; then :
66000  cat >>confdefs.h <<_ACEOF
66001#define HAVE__MODFL 1
66002_ACEOF
66003
66004fi
66005done
66006
66007    fi
66008  fi
66009
66010
66011
66012
66013
66014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66015$as_echo_n "checking for powl declaration... " >&6; }
66016  if test x${glibcxx_cv_func_powl_use+set} != xset; then
66017    if ${glibcxx_cv_func_powl_use+:} false; then :
66018  $as_echo_n "(cached) " >&6
66019else
66020
66021
66022      ac_ext=cpp
66023ac_cpp='$CXXCPP $CPPFLAGS'
66024ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66025ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66026ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66027
66028      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66029/* end confdefs.h.  */
66030#include <math.h>
66031int
66032main ()
66033{
66034 powl(0, 0);
66035  ;
66036  return 0;
66037}
66038_ACEOF
66039if ac_fn_cxx_try_compile "$LINENO"; then :
66040  glibcxx_cv_func_powl_use=yes
66041else
66042  glibcxx_cv_func_powl_use=no
66043fi
66044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66045      ac_ext=c
66046ac_cpp='$CPP $CPPFLAGS'
66047ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66048ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66049ac_compiler_gnu=$ac_cv_c_compiler_gnu
66050
66051
66052fi
66053
66054  fi
66055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66056$as_echo "$glibcxx_cv_func_powl_use" >&6; }
66057
66058  if test x$glibcxx_cv_func_powl_use = x"yes"; then
66059    for ac_func in powl
66060do :
66061  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66062if test "x$ac_cv_func_powl" = xyes; then :
66063  cat >>confdefs.h <<_ACEOF
66064#define HAVE_POWL 1
66065_ACEOF
66066
66067fi
66068done
66069
66070  else
66071
66072  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66073$as_echo_n "checking for _powl declaration... " >&6; }
66074  if test x${glibcxx_cv_func__powl_use+set} != xset; then
66075    if ${glibcxx_cv_func__powl_use+:} false; then :
66076  $as_echo_n "(cached) " >&6
66077else
66078
66079
66080      ac_ext=cpp
66081ac_cpp='$CXXCPP $CPPFLAGS'
66082ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66083ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66084ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66085
66086      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66087/* end confdefs.h.  */
66088#include <math.h>
66089int
66090main ()
66091{
66092 _powl(0, 0);
66093  ;
66094  return 0;
66095}
66096_ACEOF
66097if ac_fn_cxx_try_compile "$LINENO"; then :
66098  glibcxx_cv_func__powl_use=yes
66099else
66100  glibcxx_cv_func__powl_use=no
66101fi
66102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66103      ac_ext=c
66104ac_cpp='$CPP $CPPFLAGS'
66105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66106ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66107ac_compiler_gnu=$ac_cv_c_compiler_gnu
66108
66109
66110fi
66111
66112  fi
66113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66114$as_echo "$glibcxx_cv_func__powl_use" >&6; }
66115
66116    if test x$glibcxx_cv_func__powl_use = x"yes"; then
66117      for ac_func in _powl
66118do :
66119  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66120if test "x$ac_cv_func__powl" = xyes; then :
66121  cat >>confdefs.h <<_ACEOF
66122#define HAVE__POWL 1
66123_ACEOF
66124
66125fi
66126done
66127
66128    fi
66129  fi
66130
66131
66132
66133
66134
66135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66136$as_echo_n "checking for sqrtl declaration... " >&6; }
66137  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66138    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66139  $as_echo_n "(cached) " >&6
66140else
66141
66142
66143      ac_ext=cpp
66144ac_cpp='$CXXCPP $CPPFLAGS'
66145ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66146ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66147ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66148
66149      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66150/* end confdefs.h.  */
66151#include <math.h>
66152		      #ifdef HAVE_IEEEFP_H
66153		      #include <ieeefp.h>
66154		      #endif
66155
66156int
66157main ()
66158{
66159 sqrtl(0);
66160  ;
66161  return 0;
66162}
66163_ACEOF
66164if ac_fn_cxx_try_compile "$LINENO"; then :
66165  glibcxx_cv_func_sqrtl_use=yes
66166else
66167  glibcxx_cv_func_sqrtl_use=no
66168fi
66169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66170      ac_ext=c
66171ac_cpp='$CPP $CPPFLAGS'
66172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66174ac_compiler_gnu=$ac_cv_c_compiler_gnu
66175
66176
66177fi
66178
66179  fi
66180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66181$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66182
66183  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66184    for ac_func in sqrtl
66185do :
66186  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66187if test "x$ac_cv_func_sqrtl" = xyes; then :
66188  cat >>confdefs.h <<_ACEOF
66189#define HAVE_SQRTL 1
66190_ACEOF
66191
66192fi
66193done
66194
66195  else
66196
66197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66198$as_echo_n "checking for _sqrtl declaration... " >&6; }
66199  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66200    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66201  $as_echo_n "(cached) " >&6
66202else
66203
66204
66205      ac_ext=cpp
66206ac_cpp='$CXXCPP $CPPFLAGS'
66207ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66208ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66209ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66210
66211      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66212/* end confdefs.h.  */
66213#include <math.h>
66214		      #ifdef HAVE_IEEEFP_H
66215		      #include <ieeefp.h>
66216		      #endif
66217
66218int
66219main ()
66220{
66221 _sqrtl(0);
66222  ;
66223  return 0;
66224}
66225_ACEOF
66226if ac_fn_cxx_try_compile "$LINENO"; then :
66227  glibcxx_cv_func__sqrtl_use=yes
66228else
66229  glibcxx_cv_func__sqrtl_use=no
66230fi
66231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66232      ac_ext=c
66233ac_cpp='$CPP $CPPFLAGS'
66234ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66235ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66236ac_compiler_gnu=$ac_cv_c_compiler_gnu
66237
66238
66239fi
66240
66241  fi
66242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66243$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66244
66245    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66246      for ac_func in _sqrtl
66247do :
66248  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66249if test "x$ac_cv_func__sqrtl" = xyes; then :
66250  cat >>confdefs.h <<_ACEOF
66251#define HAVE__SQRTL 1
66252_ACEOF
66253
66254fi
66255done
66256
66257    fi
66258  fi
66259
66260
66261
66262
66263
66264  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66265$as_echo_n "checking for sincosl declaration... " >&6; }
66266  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66267    if ${glibcxx_cv_func_sincosl_use+:} false; then :
66268  $as_echo_n "(cached) " >&6
66269else
66270
66271
66272      ac_ext=cpp
66273ac_cpp='$CXXCPP $CPPFLAGS'
66274ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66275ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66276ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66277
66278      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66279/* end confdefs.h.  */
66280#include <math.h>
66281int
66282main ()
66283{
66284 sincosl(0, 0, 0);
66285  ;
66286  return 0;
66287}
66288_ACEOF
66289if ac_fn_cxx_try_compile "$LINENO"; then :
66290  glibcxx_cv_func_sincosl_use=yes
66291else
66292  glibcxx_cv_func_sincosl_use=no
66293fi
66294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66295      ac_ext=c
66296ac_cpp='$CPP $CPPFLAGS'
66297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66299ac_compiler_gnu=$ac_cv_c_compiler_gnu
66300
66301
66302fi
66303
66304  fi
66305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66306$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66307
66308  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66309    for ac_func in sincosl
66310do :
66311  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66312if test "x$ac_cv_func_sincosl" = xyes; then :
66313  cat >>confdefs.h <<_ACEOF
66314#define HAVE_SINCOSL 1
66315_ACEOF
66316
66317fi
66318done
66319
66320  else
66321
66322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66323$as_echo_n "checking for _sincosl declaration... " >&6; }
66324  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66325    if ${glibcxx_cv_func__sincosl_use+:} false; then :
66326  $as_echo_n "(cached) " >&6
66327else
66328
66329
66330      ac_ext=cpp
66331ac_cpp='$CXXCPP $CPPFLAGS'
66332ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66333ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66334ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66335
66336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66337/* end confdefs.h.  */
66338#include <math.h>
66339int
66340main ()
66341{
66342 _sincosl(0, 0, 0);
66343  ;
66344  return 0;
66345}
66346_ACEOF
66347if ac_fn_cxx_try_compile "$LINENO"; then :
66348  glibcxx_cv_func__sincosl_use=yes
66349else
66350  glibcxx_cv_func__sincosl_use=no
66351fi
66352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66353      ac_ext=c
66354ac_cpp='$CPP $CPPFLAGS'
66355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66357ac_compiler_gnu=$ac_cv_c_compiler_gnu
66358
66359
66360fi
66361
66362  fi
66363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66364$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66365
66366    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66367      for ac_func in _sincosl
66368do :
66369  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66370if test "x$ac_cv_func__sincosl" = xyes; then :
66371  cat >>confdefs.h <<_ACEOF
66372#define HAVE__SINCOSL 1
66373_ACEOF
66374
66375fi
66376done
66377
66378    fi
66379  fi
66380
66381
66382
66383
66384
66385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66386$as_echo_n "checking for finitel declaration... " >&6; }
66387  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66388    if ${glibcxx_cv_func_finitel_use+:} false; then :
66389  $as_echo_n "(cached) " >&6
66390else
66391
66392
66393      ac_ext=cpp
66394ac_cpp='$CXXCPP $CPPFLAGS'
66395ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66396ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66397ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66398
66399      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66400/* end confdefs.h.  */
66401#include <math.h>
66402		      #ifdef HAVE_IEEEFP_H
66403		      #include <ieeefp.h>
66404		      #endif
66405
66406int
66407main ()
66408{
66409 finitel(0);
66410  ;
66411  return 0;
66412}
66413_ACEOF
66414if ac_fn_cxx_try_compile "$LINENO"; then :
66415  glibcxx_cv_func_finitel_use=yes
66416else
66417  glibcxx_cv_func_finitel_use=no
66418fi
66419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66420      ac_ext=c
66421ac_cpp='$CPP $CPPFLAGS'
66422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66424ac_compiler_gnu=$ac_cv_c_compiler_gnu
66425
66426
66427fi
66428
66429  fi
66430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66431$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66432
66433  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66434    for ac_func in finitel
66435do :
66436  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66437if test "x$ac_cv_func_finitel" = xyes; then :
66438  cat >>confdefs.h <<_ACEOF
66439#define HAVE_FINITEL 1
66440_ACEOF
66441
66442fi
66443done
66444
66445  else
66446
66447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66448$as_echo_n "checking for _finitel declaration... " >&6; }
66449  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66450    if ${glibcxx_cv_func__finitel_use+:} false; then :
66451  $as_echo_n "(cached) " >&6
66452else
66453
66454
66455      ac_ext=cpp
66456ac_cpp='$CXXCPP $CPPFLAGS'
66457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66460
66461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66462/* end confdefs.h.  */
66463#include <math.h>
66464		      #ifdef HAVE_IEEEFP_H
66465		      #include <ieeefp.h>
66466		      #endif
66467
66468int
66469main ()
66470{
66471 _finitel(0);
66472  ;
66473  return 0;
66474}
66475_ACEOF
66476if ac_fn_cxx_try_compile "$LINENO"; then :
66477  glibcxx_cv_func__finitel_use=yes
66478else
66479  glibcxx_cv_func__finitel_use=no
66480fi
66481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66482      ac_ext=c
66483ac_cpp='$CPP $CPPFLAGS'
66484ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66485ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66486ac_compiler_gnu=$ac_cv_c_compiler_gnu
66487
66488
66489fi
66490
66491  fi
66492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66493$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66494
66495    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66496      for ac_func in _finitel
66497do :
66498  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66499if test "x$ac_cv_func__finitel" = xyes; then :
66500  cat >>confdefs.h <<_ACEOF
66501#define HAVE__FINITEL 1
66502_ACEOF
66503
66504fi
66505done
66506
66507    fi
66508  fi
66509
66510
66511
66512
66513  LIBS="$ac_save_LIBS"
66514  CXXFLAGS="$ac_save_CXXFLAGS"
66515
66516
66517  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66518  ac_save_CXXFLAGS="$CXXFLAGS"
66519  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66520
66521
66522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66523$as_echo_n "checking for at_quick_exit declaration... " >&6; }
66524  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66525    if ${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
66539int
66540main ()
66541{
66542 at_quick_exit(0);
66543  ;
66544  return 0;
66545}
66546_ACEOF
66547if ac_fn_cxx_try_compile "$LINENO"; then :
66548  glibcxx_cv_func_at_quick_exit_use=yes
66549else
66550  glibcxx_cv_func_at_quick_exit_use=no
66551fi
66552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66553      ac_ext=c
66554ac_cpp='$CPP $CPPFLAGS'
66555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66557ac_compiler_gnu=$ac_cv_c_compiler_gnu
66558
66559
66560fi
66561
66562  fi
66563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66564$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66565  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66566    for ac_func in at_quick_exit
66567do :
66568  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66569if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66570  cat >>confdefs.h <<_ACEOF
66571#define HAVE_AT_QUICK_EXIT 1
66572_ACEOF
66573
66574fi
66575done
66576
66577  fi
66578
66579
66580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66581$as_echo_n "checking for quick_exit declaration... " >&6; }
66582  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66583    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66584  $as_echo_n "(cached) " >&6
66585else
66586
66587
66588      ac_ext=cpp
66589ac_cpp='$CXXCPP $CPPFLAGS'
66590ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66591ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66592ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66593
66594      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66595/* end confdefs.h.  */
66596#include <stdlib.h>
66597int
66598main ()
66599{
66600 quick_exit(0);
66601  ;
66602  return 0;
66603}
66604_ACEOF
66605if ac_fn_cxx_try_compile "$LINENO"; then :
66606  glibcxx_cv_func_quick_exit_use=yes
66607else
66608  glibcxx_cv_func_quick_exit_use=no
66609fi
66610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66611      ac_ext=c
66612ac_cpp='$CPP $CPPFLAGS'
66613ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66614ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66615ac_compiler_gnu=$ac_cv_c_compiler_gnu
66616
66617
66618fi
66619
66620  fi
66621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66622$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66623  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66624    for ac_func in quick_exit
66625do :
66626  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66627if test "x$ac_cv_func_quick_exit" = xyes; then :
66628  cat >>confdefs.h <<_ACEOF
66629#define HAVE_QUICK_EXIT 1
66630_ACEOF
66631
66632fi
66633done
66634
66635  fi
66636
66637
66638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66639$as_echo_n "checking for strtold declaration... " >&6; }
66640  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66641    if ${glibcxx_cv_func_strtold_use+:} false; then :
66642  $as_echo_n "(cached) " >&6
66643else
66644
66645
66646      ac_ext=cpp
66647ac_cpp='$CXXCPP $CPPFLAGS'
66648ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66649ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66650ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66651
66652      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66653/* end confdefs.h.  */
66654#include <stdlib.h>
66655int
66656main ()
66657{
66658 strtold(0, 0);
66659  ;
66660  return 0;
66661}
66662_ACEOF
66663if ac_fn_cxx_try_compile "$LINENO"; then :
66664  glibcxx_cv_func_strtold_use=yes
66665else
66666  glibcxx_cv_func_strtold_use=no
66667fi
66668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66669      ac_ext=c
66670ac_cpp='$CPP $CPPFLAGS'
66671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66673ac_compiler_gnu=$ac_cv_c_compiler_gnu
66674
66675
66676fi
66677
66678  fi
66679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66680$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66681  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66682    for ac_func in strtold
66683do :
66684  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66685if test "x$ac_cv_func_strtold" = xyes; then :
66686  cat >>confdefs.h <<_ACEOF
66687#define HAVE_STRTOLD 1
66688_ACEOF
66689
66690fi
66691done
66692
66693  fi
66694
66695
66696
66697
66698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66699$as_echo_n "checking for strtof declaration... " >&6; }
66700  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66701    if ${glibcxx_cv_func_strtof_use+:} false; then :
66702  $as_echo_n "(cached) " >&6
66703else
66704
66705
66706      ac_ext=cpp
66707ac_cpp='$CXXCPP $CPPFLAGS'
66708ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66709ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66710ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66711
66712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66713/* end confdefs.h.  */
66714#include <stdlib.h>
66715int
66716main ()
66717{
66718 strtof(0, 0);
66719  ;
66720  return 0;
66721}
66722_ACEOF
66723if ac_fn_cxx_try_compile "$LINENO"; then :
66724  glibcxx_cv_func_strtof_use=yes
66725else
66726  glibcxx_cv_func_strtof_use=no
66727fi
66728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66729      ac_ext=c
66730ac_cpp='$CPP $CPPFLAGS'
66731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66733ac_compiler_gnu=$ac_cv_c_compiler_gnu
66734
66735
66736fi
66737
66738  fi
66739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66740$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66741  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66742    for ac_func in strtof
66743do :
66744  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66745if test "x$ac_cv_func_strtof" = xyes; then :
66746  cat >>confdefs.h <<_ACEOF
66747#define HAVE_STRTOF 1
66748_ACEOF
66749
66750fi
66751done
66752
66753  fi
66754
66755
66756
66757
66758  CXXFLAGS="$ac_save_CXXFLAGS"
66759
66760    ;;
66761  *-tpf)
66762    SECTION_FLAGS='-ffunction-sections -fdata-sections'
66763    SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66764
66765    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66766
66767    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66768
66769    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66770
66771    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66772
66773    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66774
66775    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66776
66777    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66778
66779    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66780
66781    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66782
66783    $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66784
66785    if test x"long_double_math_on_this_cpu" = x"yes"; then
66786      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66787
66788      $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66789
66790      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66791
66792      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66793
66794    fi
66795    ;;
66796  *-*vms*)
66797    # Check for available headers.
66798    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66799
66800  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66801  ac_save_CXXFLAGS="$CXXFLAGS"
66802  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66803
66804    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66805$as_echo_n "checking for sin in -lm... " >&6; }
66806if ${ac_cv_lib_m_sin+:} false; then :
66807  $as_echo_n "(cached) " >&6
66808else
66809  ac_check_lib_save_LIBS=$LIBS
66810LIBS="-lm  $LIBS"
66811if test x$gcc_no_link = xyes; then
66812  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66813fi
66814cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66815/* end confdefs.h.  */
66816
66817/* Override any GCC internal prototype to avoid an error.
66818   Use char because int might match the return type of a GCC
66819   builtin and then its argument prototype would still apply.  */
66820#ifdef __cplusplus
66821extern "C"
66822#endif
66823char sin ();
66824int
66825main ()
66826{
66827return sin ();
66828  ;
66829  return 0;
66830}
66831_ACEOF
66832if ac_fn_c_try_link "$LINENO"; then :
66833  ac_cv_lib_m_sin=yes
66834else
66835  ac_cv_lib_m_sin=no
66836fi
66837rm -f core conftest.err conftest.$ac_objext \
66838    conftest$ac_exeext conftest.$ac_ext
66839LIBS=$ac_check_lib_save_LIBS
66840fi
66841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66842$as_echo "$ac_cv_lib_m_sin" >&6; }
66843if test "x$ac_cv_lib_m_sin" = xyes; then :
66844  libm="-lm"
66845fi
66846
66847  ac_save_LIBS="$LIBS"
66848  LIBS="$LIBS $libm"
66849
66850
66851
66852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66853$as_echo_n "checking for isinf declaration... " >&6; }
66854  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66855    if ${glibcxx_cv_func_isinf_use+:} false; then :
66856  $as_echo_n "(cached) " >&6
66857else
66858
66859
66860      ac_ext=cpp
66861ac_cpp='$CXXCPP $CPPFLAGS'
66862ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66863ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66864ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66865
66866      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66867/* end confdefs.h.  */
66868#include <math.h>
66869		      #ifdef HAVE_IEEEFP_H
66870		      #include <ieeefp.h>
66871		      #endif
66872
66873int
66874main ()
66875{
66876 isinf(0);
66877  ;
66878  return 0;
66879}
66880_ACEOF
66881if ac_fn_cxx_try_compile "$LINENO"; then :
66882  glibcxx_cv_func_isinf_use=yes
66883else
66884  glibcxx_cv_func_isinf_use=no
66885fi
66886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66887      ac_ext=c
66888ac_cpp='$CPP $CPPFLAGS'
66889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66891ac_compiler_gnu=$ac_cv_c_compiler_gnu
66892
66893
66894fi
66895
66896  fi
66897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66898$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66899
66900  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66901    for ac_func in isinf
66902do :
66903  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66904if test "x$ac_cv_func_isinf" = xyes; then :
66905  cat >>confdefs.h <<_ACEOF
66906#define HAVE_ISINF 1
66907_ACEOF
66908
66909fi
66910done
66911
66912  else
66913
66914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66915$as_echo_n "checking for _isinf declaration... " >&6; }
66916  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66917    if ${glibcxx_cv_func__isinf_use+:} false; then :
66918  $as_echo_n "(cached) " >&6
66919else
66920
66921
66922      ac_ext=cpp
66923ac_cpp='$CXXCPP $CPPFLAGS'
66924ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66925ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66926ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66927
66928      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66929/* end confdefs.h.  */
66930#include <math.h>
66931		      #ifdef HAVE_IEEEFP_H
66932		      #include <ieeefp.h>
66933		      #endif
66934
66935int
66936main ()
66937{
66938 _isinf(0);
66939  ;
66940  return 0;
66941}
66942_ACEOF
66943if ac_fn_cxx_try_compile "$LINENO"; then :
66944  glibcxx_cv_func__isinf_use=yes
66945else
66946  glibcxx_cv_func__isinf_use=no
66947fi
66948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66949      ac_ext=c
66950ac_cpp='$CPP $CPPFLAGS'
66951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66953ac_compiler_gnu=$ac_cv_c_compiler_gnu
66954
66955
66956fi
66957
66958  fi
66959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66960$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66961
66962    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66963      for ac_func in _isinf
66964do :
66965  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66966if test "x$ac_cv_func__isinf" = xyes; then :
66967  cat >>confdefs.h <<_ACEOF
66968#define HAVE__ISINF 1
66969_ACEOF
66970
66971fi
66972done
66973
66974    fi
66975  fi
66976
66977
66978
66979
66980
66981  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66982$as_echo_n "checking for isnan declaration... " >&6; }
66983  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66984    if ${glibcxx_cv_func_isnan_use+:} false; then :
66985  $as_echo_n "(cached) " >&6
66986else
66987
66988
66989      ac_ext=cpp
66990ac_cpp='$CXXCPP $CPPFLAGS'
66991ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66992ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66993ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66994
66995      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66996/* end confdefs.h.  */
66997#include <math.h>
66998		      #ifdef HAVE_IEEEFP_H
66999		      #include <ieeefp.h>
67000		      #endif
67001
67002int
67003main ()
67004{
67005 isnan(0);
67006  ;
67007  return 0;
67008}
67009_ACEOF
67010if ac_fn_cxx_try_compile "$LINENO"; then :
67011  glibcxx_cv_func_isnan_use=yes
67012else
67013  glibcxx_cv_func_isnan_use=no
67014fi
67015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67016      ac_ext=c
67017ac_cpp='$CPP $CPPFLAGS'
67018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67020ac_compiler_gnu=$ac_cv_c_compiler_gnu
67021
67022
67023fi
67024
67025  fi
67026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67027$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67028
67029  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67030    for ac_func in isnan
67031do :
67032  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67033if test "x$ac_cv_func_isnan" = xyes; then :
67034  cat >>confdefs.h <<_ACEOF
67035#define HAVE_ISNAN 1
67036_ACEOF
67037
67038fi
67039done
67040
67041  else
67042
67043  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67044$as_echo_n "checking for _isnan declaration... " >&6; }
67045  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67046    if ${glibcxx_cv_func__isnan_use+:} false; then :
67047  $as_echo_n "(cached) " >&6
67048else
67049
67050
67051      ac_ext=cpp
67052ac_cpp='$CXXCPP $CPPFLAGS'
67053ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67054ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67055ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67056
67057      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67058/* end confdefs.h.  */
67059#include <math.h>
67060		      #ifdef HAVE_IEEEFP_H
67061		      #include <ieeefp.h>
67062		      #endif
67063
67064int
67065main ()
67066{
67067 _isnan(0);
67068  ;
67069  return 0;
67070}
67071_ACEOF
67072if ac_fn_cxx_try_compile "$LINENO"; then :
67073  glibcxx_cv_func__isnan_use=yes
67074else
67075  glibcxx_cv_func__isnan_use=no
67076fi
67077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67078      ac_ext=c
67079ac_cpp='$CPP $CPPFLAGS'
67080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67082ac_compiler_gnu=$ac_cv_c_compiler_gnu
67083
67084
67085fi
67086
67087  fi
67088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67089$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67090
67091    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67092      for ac_func in _isnan
67093do :
67094  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67095if test "x$ac_cv_func__isnan" = xyes; then :
67096  cat >>confdefs.h <<_ACEOF
67097#define HAVE__ISNAN 1
67098_ACEOF
67099
67100fi
67101done
67102
67103    fi
67104  fi
67105
67106
67107
67108
67109
67110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67111$as_echo_n "checking for finite declaration... " >&6; }
67112  if test x${glibcxx_cv_func_finite_use+set} != xset; then
67113    if ${glibcxx_cv_func_finite_use+:} false; then :
67114  $as_echo_n "(cached) " >&6
67115else
67116
67117
67118      ac_ext=cpp
67119ac_cpp='$CXXCPP $CPPFLAGS'
67120ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67121ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67122ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67123
67124      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67125/* end confdefs.h.  */
67126#include <math.h>
67127		      #ifdef HAVE_IEEEFP_H
67128		      #include <ieeefp.h>
67129		      #endif
67130
67131int
67132main ()
67133{
67134 finite(0);
67135  ;
67136  return 0;
67137}
67138_ACEOF
67139if ac_fn_cxx_try_compile "$LINENO"; then :
67140  glibcxx_cv_func_finite_use=yes
67141else
67142  glibcxx_cv_func_finite_use=no
67143fi
67144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67145      ac_ext=c
67146ac_cpp='$CPP $CPPFLAGS'
67147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67149ac_compiler_gnu=$ac_cv_c_compiler_gnu
67150
67151
67152fi
67153
67154  fi
67155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67156$as_echo "$glibcxx_cv_func_finite_use" >&6; }
67157
67158  if test x$glibcxx_cv_func_finite_use = x"yes"; then
67159    for ac_func in finite
67160do :
67161  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67162if test "x$ac_cv_func_finite" = xyes; then :
67163  cat >>confdefs.h <<_ACEOF
67164#define HAVE_FINITE 1
67165_ACEOF
67166
67167fi
67168done
67169
67170  else
67171
67172  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67173$as_echo_n "checking for _finite declaration... " >&6; }
67174  if test x${glibcxx_cv_func__finite_use+set} != xset; then
67175    if ${glibcxx_cv_func__finite_use+:} false; then :
67176  $as_echo_n "(cached) " >&6
67177else
67178
67179
67180      ac_ext=cpp
67181ac_cpp='$CXXCPP $CPPFLAGS'
67182ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67183ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67184ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67185
67186      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67187/* end confdefs.h.  */
67188#include <math.h>
67189		      #ifdef HAVE_IEEEFP_H
67190		      #include <ieeefp.h>
67191		      #endif
67192
67193int
67194main ()
67195{
67196 _finite(0);
67197  ;
67198  return 0;
67199}
67200_ACEOF
67201if ac_fn_cxx_try_compile "$LINENO"; then :
67202  glibcxx_cv_func__finite_use=yes
67203else
67204  glibcxx_cv_func__finite_use=no
67205fi
67206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67207      ac_ext=c
67208ac_cpp='$CPP $CPPFLAGS'
67209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211ac_compiler_gnu=$ac_cv_c_compiler_gnu
67212
67213
67214fi
67215
67216  fi
67217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67218$as_echo "$glibcxx_cv_func__finite_use" >&6; }
67219
67220    if test x$glibcxx_cv_func__finite_use = x"yes"; then
67221      for ac_func in _finite
67222do :
67223  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67224if test "x$ac_cv_func__finite" = xyes; then :
67225  cat >>confdefs.h <<_ACEOF
67226#define HAVE__FINITE 1
67227_ACEOF
67228
67229fi
67230done
67231
67232    fi
67233  fi
67234
67235
67236
67237
67238
67239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67240$as_echo_n "checking for sincos declaration... " >&6; }
67241  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67242    if ${glibcxx_cv_func_sincos_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>
67256int
67257main ()
67258{
67259 sincos(0, 0, 0);
67260  ;
67261  return 0;
67262}
67263_ACEOF
67264if ac_fn_cxx_try_compile "$LINENO"; then :
67265  glibcxx_cv_func_sincos_use=yes
67266else
67267  glibcxx_cv_func_sincos_use=no
67268fi
67269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67270      ac_ext=c
67271ac_cpp='$CPP $CPPFLAGS'
67272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67274ac_compiler_gnu=$ac_cv_c_compiler_gnu
67275
67276
67277fi
67278
67279  fi
67280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67281$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67282
67283  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67284    for ac_func in sincos
67285do :
67286  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67287if test "x$ac_cv_func_sincos" = xyes; then :
67288  cat >>confdefs.h <<_ACEOF
67289#define HAVE_SINCOS 1
67290_ACEOF
67291
67292fi
67293done
67294
67295  else
67296
67297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67298$as_echo_n "checking for _sincos declaration... " >&6; }
67299  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67300    if ${glibcxx_cv_func__sincos_use+:} false; then :
67301  $as_echo_n "(cached) " >&6
67302else
67303
67304
67305      ac_ext=cpp
67306ac_cpp='$CXXCPP $CPPFLAGS'
67307ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67308ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67309ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67310
67311      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67312/* end confdefs.h.  */
67313#include <math.h>
67314int
67315main ()
67316{
67317 _sincos(0, 0, 0);
67318  ;
67319  return 0;
67320}
67321_ACEOF
67322if ac_fn_cxx_try_compile "$LINENO"; then :
67323  glibcxx_cv_func__sincos_use=yes
67324else
67325  glibcxx_cv_func__sincos_use=no
67326fi
67327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67328      ac_ext=c
67329ac_cpp='$CPP $CPPFLAGS'
67330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67332ac_compiler_gnu=$ac_cv_c_compiler_gnu
67333
67334
67335fi
67336
67337  fi
67338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67339$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67340
67341    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67342      for ac_func in _sincos
67343do :
67344  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67345if test "x$ac_cv_func__sincos" = xyes; then :
67346  cat >>confdefs.h <<_ACEOF
67347#define HAVE__SINCOS 1
67348_ACEOF
67349
67350fi
67351done
67352
67353    fi
67354  fi
67355
67356
67357
67358
67359
67360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67361$as_echo_n "checking for fpclass declaration... " >&6; }
67362  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67363    if ${glibcxx_cv_func_fpclass_use+:} false; then :
67364  $as_echo_n "(cached) " >&6
67365else
67366
67367
67368      ac_ext=cpp
67369ac_cpp='$CXXCPP $CPPFLAGS'
67370ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67371ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67372ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67373
67374      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67375/* end confdefs.h.  */
67376#include <math.h>
67377		      #ifdef HAVE_IEEEFP_H
67378		      #include <ieeefp.h>
67379		      #endif
67380
67381int
67382main ()
67383{
67384 fpclass(0);
67385  ;
67386  return 0;
67387}
67388_ACEOF
67389if ac_fn_cxx_try_compile "$LINENO"; then :
67390  glibcxx_cv_func_fpclass_use=yes
67391else
67392  glibcxx_cv_func_fpclass_use=no
67393fi
67394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67395      ac_ext=c
67396ac_cpp='$CPP $CPPFLAGS'
67397ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67398ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67399ac_compiler_gnu=$ac_cv_c_compiler_gnu
67400
67401
67402fi
67403
67404  fi
67405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67406$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67407
67408  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67409    for ac_func in fpclass
67410do :
67411  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67412if test "x$ac_cv_func_fpclass" = xyes; then :
67413  cat >>confdefs.h <<_ACEOF
67414#define HAVE_FPCLASS 1
67415_ACEOF
67416
67417fi
67418done
67419
67420  else
67421
67422  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67423$as_echo_n "checking for _fpclass declaration... " >&6; }
67424  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67425    if ${glibcxx_cv_func__fpclass_use+:} false; then :
67426  $as_echo_n "(cached) " >&6
67427else
67428
67429
67430      ac_ext=cpp
67431ac_cpp='$CXXCPP $CPPFLAGS'
67432ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67433ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67434ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67435
67436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67437/* end confdefs.h.  */
67438#include <math.h>
67439		      #ifdef HAVE_IEEEFP_H
67440		      #include <ieeefp.h>
67441		      #endif
67442
67443int
67444main ()
67445{
67446 _fpclass(0);
67447  ;
67448  return 0;
67449}
67450_ACEOF
67451if ac_fn_cxx_try_compile "$LINENO"; then :
67452  glibcxx_cv_func__fpclass_use=yes
67453else
67454  glibcxx_cv_func__fpclass_use=no
67455fi
67456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67457      ac_ext=c
67458ac_cpp='$CPP $CPPFLAGS'
67459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67461ac_compiler_gnu=$ac_cv_c_compiler_gnu
67462
67463
67464fi
67465
67466  fi
67467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67468$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67469
67470    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67471      for ac_func in _fpclass
67472do :
67473  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67474if test "x$ac_cv_func__fpclass" = xyes; then :
67475  cat >>confdefs.h <<_ACEOF
67476#define HAVE__FPCLASS 1
67477_ACEOF
67478
67479fi
67480done
67481
67482    fi
67483  fi
67484
67485
67486
67487
67488
67489  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67490$as_echo_n "checking for qfpclass declaration... " >&6; }
67491  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67492    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67493  $as_echo_n "(cached) " >&6
67494else
67495
67496
67497      ac_ext=cpp
67498ac_cpp='$CXXCPP $CPPFLAGS'
67499ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67500ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67501ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67502
67503      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67504/* end confdefs.h.  */
67505#include <math.h>
67506		      #ifdef HAVE_IEEEFP_H
67507		      #include <ieeefp.h>
67508		      #endif
67509
67510int
67511main ()
67512{
67513 qfpclass(0);
67514  ;
67515  return 0;
67516}
67517_ACEOF
67518if ac_fn_cxx_try_compile "$LINENO"; then :
67519  glibcxx_cv_func_qfpclass_use=yes
67520else
67521  glibcxx_cv_func_qfpclass_use=no
67522fi
67523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67524      ac_ext=c
67525ac_cpp='$CPP $CPPFLAGS'
67526ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67527ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67528ac_compiler_gnu=$ac_cv_c_compiler_gnu
67529
67530
67531fi
67532
67533  fi
67534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67535$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67536
67537  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67538    for ac_func in qfpclass
67539do :
67540  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67541if test "x$ac_cv_func_qfpclass" = xyes; then :
67542  cat >>confdefs.h <<_ACEOF
67543#define HAVE_QFPCLASS 1
67544_ACEOF
67545
67546fi
67547done
67548
67549  else
67550
67551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67552$as_echo_n "checking for _qfpclass declaration... " >&6; }
67553  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67554    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67555  $as_echo_n "(cached) " >&6
67556else
67557
67558
67559      ac_ext=cpp
67560ac_cpp='$CXXCPP $CPPFLAGS'
67561ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67562ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67563ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67564
67565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67566/* end confdefs.h.  */
67567#include <math.h>
67568		      #ifdef HAVE_IEEEFP_H
67569		      #include <ieeefp.h>
67570		      #endif
67571
67572int
67573main ()
67574{
67575 _qfpclass(0);
67576  ;
67577  return 0;
67578}
67579_ACEOF
67580if ac_fn_cxx_try_compile "$LINENO"; then :
67581  glibcxx_cv_func__qfpclass_use=yes
67582else
67583  glibcxx_cv_func__qfpclass_use=no
67584fi
67585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67586      ac_ext=c
67587ac_cpp='$CPP $CPPFLAGS'
67588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67590ac_compiler_gnu=$ac_cv_c_compiler_gnu
67591
67592
67593fi
67594
67595  fi
67596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67597$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67598
67599    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67600      for ac_func in _qfpclass
67601do :
67602  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67603if test "x$ac_cv_func__qfpclass" = xyes; then :
67604  cat >>confdefs.h <<_ACEOF
67605#define HAVE__QFPCLASS 1
67606_ACEOF
67607
67608fi
67609done
67610
67611    fi
67612  fi
67613
67614
67615
67616
67617
67618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67619$as_echo_n "checking for hypot declaration... " >&6; }
67620  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67621    if ${glibcxx_cv_func_hypot_use+:} false; then :
67622  $as_echo_n "(cached) " >&6
67623else
67624
67625
67626      ac_ext=cpp
67627ac_cpp='$CXXCPP $CPPFLAGS'
67628ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67629ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67630ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67631
67632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67633/* end confdefs.h.  */
67634#include <math.h>
67635int
67636main ()
67637{
67638 hypot(0, 0);
67639  ;
67640  return 0;
67641}
67642_ACEOF
67643if ac_fn_cxx_try_compile "$LINENO"; then :
67644  glibcxx_cv_func_hypot_use=yes
67645else
67646  glibcxx_cv_func_hypot_use=no
67647fi
67648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67649      ac_ext=c
67650ac_cpp='$CPP $CPPFLAGS'
67651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67653ac_compiler_gnu=$ac_cv_c_compiler_gnu
67654
67655
67656fi
67657
67658  fi
67659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67660$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67661
67662  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67663    for ac_func in hypot
67664do :
67665  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67666if test "x$ac_cv_func_hypot" = xyes; then :
67667  cat >>confdefs.h <<_ACEOF
67668#define HAVE_HYPOT 1
67669_ACEOF
67670
67671fi
67672done
67673
67674  else
67675
67676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67677$as_echo_n "checking for _hypot declaration... " >&6; }
67678  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67679    if ${glibcxx_cv_func__hypot_use+:} false; then :
67680  $as_echo_n "(cached) " >&6
67681else
67682
67683
67684      ac_ext=cpp
67685ac_cpp='$CXXCPP $CPPFLAGS'
67686ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67687ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67688ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67689
67690      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67691/* end confdefs.h.  */
67692#include <math.h>
67693int
67694main ()
67695{
67696 _hypot(0, 0);
67697  ;
67698  return 0;
67699}
67700_ACEOF
67701if ac_fn_cxx_try_compile "$LINENO"; then :
67702  glibcxx_cv_func__hypot_use=yes
67703else
67704  glibcxx_cv_func__hypot_use=no
67705fi
67706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67707      ac_ext=c
67708ac_cpp='$CPP $CPPFLAGS'
67709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67711ac_compiler_gnu=$ac_cv_c_compiler_gnu
67712
67713
67714fi
67715
67716  fi
67717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67718$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67719
67720    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67721      for ac_func in _hypot
67722do :
67723  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67724if test "x$ac_cv_func__hypot" = xyes; then :
67725  cat >>confdefs.h <<_ACEOF
67726#define HAVE__HYPOT 1
67727_ACEOF
67728
67729fi
67730done
67731
67732    fi
67733  fi
67734
67735
67736
67737
67738
67739    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67740$as_echo_n "checking for float trig functions... " >&6; }
67741  if ${glibcxx_cv_func_float_trig_use+:} false; then :
67742  $as_echo_n "(cached) " >&6
67743else
67744
67745
67746    ac_ext=cpp
67747ac_cpp='$CXXCPP $CPPFLAGS'
67748ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67749ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67750ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67751
67752    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67753/* end confdefs.h.  */
67754#include <math.h>
67755int
67756main ()
67757{
67758acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67759  ;
67760  return 0;
67761}
67762_ACEOF
67763if ac_fn_cxx_try_compile "$LINENO"; then :
67764  glibcxx_cv_func_float_trig_use=yes
67765else
67766  glibcxx_cv_func_float_trig_use=no
67767fi
67768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67769    ac_ext=c
67770ac_cpp='$CPP $CPPFLAGS'
67771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67773ac_compiler_gnu=$ac_cv_c_compiler_gnu
67774
67775fi
67776
67777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67778$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67779  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67780    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67781do :
67782  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67783ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67784if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67785  cat >>confdefs.h <<_ACEOF
67786#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67787_ACEOF
67788
67789fi
67790done
67791
67792  else
67793    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67794$as_echo_n "checking for _float trig functions... " >&6; }
67795    if ${glibcxx_cv_func__float_trig_use+:} false; then :
67796  $as_echo_n "(cached) " >&6
67797else
67798
67799
67800      ac_ext=cpp
67801ac_cpp='$CXXCPP $CPPFLAGS'
67802ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67803ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67804ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67805
67806      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67807/* end confdefs.h.  */
67808#include <math.h>
67809int
67810main ()
67811{
67812_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67813  ;
67814  return 0;
67815}
67816_ACEOF
67817if ac_fn_cxx_try_compile "$LINENO"; then :
67818  glibcxx_cv_func__float_trig_use=yes
67819else
67820  glibcxx_cv_func__float_trig_use=no
67821fi
67822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67823      ac_ext=c
67824ac_cpp='$CPP $CPPFLAGS'
67825ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67826ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67827ac_compiler_gnu=$ac_cv_c_compiler_gnu
67828
67829fi
67830
67831    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67832$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67833    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67834      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67835do :
67836  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67837ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67838if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67839  cat >>confdefs.h <<_ACEOF
67840#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67841_ACEOF
67842
67843fi
67844done
67845
67846    fi
67847  fi
67848
67849
67850
67851
67852
67853    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67854$as_echo_n "checking for float round functions... " >&6; }
67855  if ${glibcxx_cv_func_float_round_use+:} false; then :
67856  $as_echo_n "(cached) " >&6
67857else
67858
67859
67860    ac_ext=cpp
67861ac_cpp='$CXXCPP $CPPFLAGS'
67862ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67863ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67864ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67865
67866    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67867/* end confdefs.h.  */
67868#include <math.h>
67869int
67870main ()
67871{
67872ceilf (0); floorf (0);
67873  ;
67874  return 0;
67875}
67876_ACEOF
67877if ac_fn_cxx_try_compile "$LINENO"; then :
67878  glibcxx_cv_func_float_round_use=yes
67879else
67880  glibcxx_cv_func_float_round_use=no
67881fi
67882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67883    ac_ext=c
67884ac_cpp='$CPP $CPPFLAGS'
67885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67887ac_compiler_gnu=$ac_cv_c_compiler_gnu
67888
67889fi
67890
67891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67892$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67893  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67894    for ac_func in ceilf floorf
67895do :
67896  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67897ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67898if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67899  cat >>confdefs.h <<_ACEOF
67900#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67901_ACEOF
67902
67903fi
67904done
67905
67906  else
67907    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67908$as_echo_n "checking for _float round functions... " >&6; }
67909    if ${glibcxx_cv_func__float_round_use+:} false; then :
67910  $as_echo_n "(cached) " >&6
67911else
67912
67913
67914      ac_ext=cpp
67915ac_cpp='$CXXCPP $CPPFLAGS'
67916ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67917ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67918ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67919
67920      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67921/* end confdefs.h.  */
67922#include <math.h>
67923int
67924main ()
67925{
67926_ceilf (0); _floorf (0);
67927  ;
67928  return 0;
67929}
67930_ACEOF
67931if ac_fn_cxx_try_compile "$LINENO"; then :
67932  glibcxx_cv_func__float_round_use=yes
67933else
67934  glibcxx_cv_func__float_round_use=no
67935fi
67936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67937      ac_ext=c
67938ac_cpp='$CPP $CPPFLAGS'
67939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67941ac_compiler_gnu=$ac_cv_c_compiler_gnu
67942
67943fi
67944
67945    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67946$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67947    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67948      for ac_func in _ceilf _floorf
67949do :
67950  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67951ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67952if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67953  cat >>confdefs.h <<_ACEOF
67954#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67955_ACEOF
67956
67957fi
67958done
67959
67960    fi
67961  fi
67962
67963
67964
67965
67966
67967
67968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67969$as_echo_n "checking for expf declaration... " >&6; }
67970  if test x${glibcxx_cv_func_expf_use+set} != xset; then
67971    if ${glibcxx_cv_func_expf_use+:} false; then :
67972  $as_echo_n "(cached) " >&6
67973else
67974
67975
67976      ac_ext=cpp
67977ac_cpp='$CXXCPP $CPPFLAGS'
67978ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67979ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67980ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67981
67982      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67983/* end confdefs.h.  */
67984#include <math.h>
67985		      #ifdef HAVE_IEEEFP_H
67986		      #include <ieeefp.h>
67987		      #endif
67988
67989int
67990main ()
67991{
67992 expf(0);
67993  ;
67994  return 0;
67995}
67996_ACEOF
67997if ac_fn_cxx_try_compile "$LINENO"; then :
67998  glibcxx_cv_func_expf_use=yes
67999else
68000  glibcxx_cv_func_expf_use=no
68001fi
68002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68003      ac_ext=c
68004ac_cpp='$CPP $CPPFLAGS'
68005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68007ac_compiler_gnu=$ac_cv_c_compiler_gnu
68008
68009
68010fi
68011
68012  fi
68013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68014$as_echo "$glibcxx_cv_func_expf_use" >&6; }
68015
68016  if test x$glibcxx_cv_func_expf_use = x"yes"; then
68017    for ac_func in expf
68018do :
68019  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68020if test "x$ac_cv_func_expf" = xyes; then :
68021  cat >>confdefs.h <<_ACEOF
68022#define HAVE_EXPF 1
68023_ACEOF
68024
68025fi
68026done
68027
68028  else
68029
68030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68031$as_echo_n "checking for _expf declaration... " >&6; }
68032  if test x${glibcxx_cv_func__expf_use+set} != xset; then
68033    if ${glibcxx_cv_func__expf_use+:} false; then :
68034  $as_echo_n "(cached) " >&6
68035else
68036
68037
68038      ac_ext=cpp
68039ac_cpp='$CXXCPP $CPPFLAGS'
68040ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68041ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68042ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68043
68044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68045/* end confdefs.h.  */
68046#include <math.h>
68047		      #ifdef HAVE_IEEEFP_H
68048		      #include <ieeefp.h>
68049		      #endif
68050
68051int
68052main ()
68053{
68054 _expf(0);
68055  ;
68056  return 0;
68057}
68058_ACEOF
68059if ac_fn_cxx_try_compile "$LINENO"; then :
68060  glibcxx_cv_func__expf_use=yes
68061else
68062  glibcxx_cv_func__expf_use=no
68063fi
68064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68065      ac_ext=c
68066ac_cpp='$CPP $CPPFLAGS'
68067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68069ac_compiler_gnu=$ac_cv_c_compiler_gnu
68070
68071
68072fi
68073
68074  fi
68075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68076$as_echo "$glibcxx_cv_func__expf_use" >&6; }
68077
68078    if test x$glibcxx_cv_func__expf_use = x"yes"; then
68079      for ac_func in _expf
68080do :
68081  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68082if test "x$ac_cv_func__expf" = xyes; then :
68083  cat >>confdefs.h <<_ACEOF
68084#define HAVE__EXPF 1
68085_ACEOF
68086
68087fi
68088done
68089
68090    fi
68091  fi
68092
68093
68094
68095
68096
68097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68098$as_echo_n "checking for isnanf declaration... " >&6; }
68099  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68100    if ${glibcxx_cv_func_isnanf_use+:} false; then :
68101  $as_echo_n "(cached) " >&6
68102else
68103
68104
68105      ac_ext=cpp
68106ac_cpp='$CXXCPP $CPPFLAGS'
68107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68110
68111      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68112/* end confdefs.h.  */
68113#include <math.h>
68114		      #ifdef HAVE_IEEEFP_H
68115		      #include <ieeefp.h>
68116		      #endif
68117
68118int
68119main ()
68120{
68121 isnanf(0);
68122  ;
68123  return 0;
68124}
68125_ACEOF
68126if ac_fn_cxx_try_compile "$LINENO"; then :
68127  glibcxx_cv_func_isnanf_use=yes
68128else
68129  glibcxx_cv_func_isnanf_use=no
68130fi
68131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68132      ac_ext=c
68133ac_cpp='$CPP $CPPFLAGS'
68134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68136ac_compiler_gnu=$ac_cv_c_compiler_gnu
68137
68138
68139fi
68140
68141  fi
68142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68143$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68144
68145  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68146    for ac_func in isnanf
68147do :
68148  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68149if test "x$ac_cv_func_isnanf" = xyes; then :
68150  cat >>confdefs.h <<_ACEOF
68151#define HAVE_ISNANF 1
68152_ACEOF
68153
68154fi
68155done
68156
68157  else
68158
68159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68160$as_echo_n "checking for _isnanf declaration... " >&6; }
68161  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68162    if ${glibcxx_cv_func__isnanf_use+:} false; then :
68163  $as_echo_n "(cached) " >&6
68164else
68165
68166
68167      ac_ext=cpp
68168ac_cpp='$CXXCPP $CPPFLAGS'
68169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68172
68173      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68174/* end confdefs.h.  */
68175#include <math.h>
68176		      #ifdef HAVE_IEEEFP_H
68177		      #include <ieeefp.h>
68178		      #endif
68179
68180int
68181main ()
68182{
68183 _isnanf(0);
68184  ;
68185  return 0;
68186}
68187_ACEOF
68188if ac_fn_cxx_try_compile "$LINENO"; then :
68189  glibcxx_cv_func__isnanf_use=yes
68190else
68191  glibcxx_cv_func__isnanf_use=no
68192fi
68193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68194      ac_ext=c
68195ac_cpp='$CPP $CPPFLAGS'
68196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68198ac_compiler_gnu=$ac_cv_c_compiler_gnu
68199
68200
68201fi
68202
68203  fi
68204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68205$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68206
68207    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68208      for ac_func in _isnanf
68209do :
68210  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68211if test "x$ac_cv_func__isnanf" = xyes; then :
68212  cat >>confdefs.h <<_ACEOF
68213#define HAVE__ISNANF 1
68214_ACEOF
68215
68216fi
68217done
68218
68219    fi
68220  fi
68221
68222
68223
68224
68225
68226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68227$as_echo_n "checking for isinff declaration... " >&6; }
68228  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68229    if ${glibcxx_cv_func_isinff_use+:} false; then :
68230  $as_echo_n "(cached) " >&6
68231else
68232
68233
68234      ac_ext=cpp
68235ac_cpp='$CXXCPP $CPPFLAGS'
68236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68239
68240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68241/* end confdefs.h.  */
68242#include <math.h>
68243		      #ifdef HAVE_IEEEFP_H
68244		      #include <ieeefp.h>
68245		      #endif
68246
68247int
68248main ()
68249{
68250 isinff(0);
68251  ;
68252  return 0;
68253}
68254_ACEOF
68255if ac_fn_cxx_try_compile "$LINENO"; then :
68256  glibcxx_cv_func_isinff_use=yes
68257else
68258  glibcxx_cv_func_isinff_use=no
68259fi
68260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68261      ac_ext=c
68262ac_cpp='$CPP $CPPFLAGS'
68263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68265ac_compiler_gnu=$ac_cv_c_compiler_gnu
68266
68267
68268fi
68269
68270  fi
68271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68272$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68273
68274  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68275    for ac_func in isinff
68276do :
68277  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68278if test "x$ac_cv_func_isinff" = xyes; then :
68279  cat >>confdefs.h <<_ACEOF
68280#define HAVE_ISINFF 1
68281_ACEOF
68282
68283fi
68284done
68285
68286  else
68287
68288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68289$as_echo_n "checking for _isinff declaration... " >&6; }
68290  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68291    if ${glibcxx_cv_func__isinff_use+:} false; then :
68292  $as_echo_n "(cached) " >&6
68293else
68294
68295
68296      ac_ext=cpp
68297ac_cpp='$CXXCPP $CPPFLAGS'
68298ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68299ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68300ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68301
68302      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68303/* end confdefs.h.  */
68304#include <math.h>
68305		      #ifdef HAVE_IEEEFP_H
68306		      #include <ieeefp.h>
68307		      #endif
68308
68309int
68310main ()
68311{
68312 _isinff(0);
68313  ;
68314  return 0;
68315}
68316_ACEOF
68317if ac_fn_cxx_try_compile "$LINENO"; then :
68318  glibcxx_cv_func__isinff_use=yes
68319else
68320  glibcxx_cv_func__isinff_use=no
68321fi
68322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68323      ac_ext=c
68324ac_cpp='$CPP $CPPFLAGS'
68325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68327ac_compiler_gnu=$ac_cv_c_compiler_gnu
68328
68329
68330fi
68331
68332  fi
68333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68334$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68335
68336    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68337      for ac_func in _isinff
68338do :
68339  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68340if test "x$ac_cv_func__isinff" = xyes; then :
68341  cat >>confdefs.h <<_ACEOF
68342#define HAVE__ISINFF 1
68343_ACEOF
68344
68345fi
68346done
68347
68348    fi
68349  fi
68350
68351
68352
68353
68354
68355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68356$as_echo_n "checking for atan2f declaration... " >&6; }
68357  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68358    if ${glibcxx_cv_func_atan2f_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>
68372int
68373main ()
68374{
68375 atan2f(0, 0);
68376  ;
68377  return 0;
68378}
68379_ACEOF
68380if ac_fn_cxx_try_compile "$LINENO"; then :
68381  glibcxx_cv_func_atan2f_use=yes
68382else
68383  glibcxx_cv_func_atan2f_use=no
68384fi
68385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68386      ac_ext=c
68387ac_cpp='$CPP $CPPFLAGS'
68388ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68389ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68390ac_compiler_gnu=$ac_cv_c_compiler_gnu
68391
68392
68393fi
68394
68395  fi
68396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68397$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68398
68399  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68400    for ac_func in atan2f
68401do :
68402  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68403if test "x$ac_cv_func_atan2f" = xyes; then :
68404  cat >>confdefs.h <<_ACEOF
68405#define HAVE_ATAN2F 1
68406_ACEOF
68407
68408fi
68409done
68410
68411  else
68412
68413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68414$as_echo_n "checking for _atan2f declaration... " >&6; }
68415  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68416    if ${glibcxx_cv_func__atan2f_use+:} false; then :
68417  $as_echo_n "(cached) " >&6
68418else
68419
68420
68421      ac_ext=cpp
68422ac_cpp='$CXXCPP $CPPFLAGS'
68423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68426
68427      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68428/* end confdefs.h.  */
68429#include <math.h>
68430int
68431main ()
68432{
68433 _atan2f(0, 0);
68434  ;
68435  return 0;
68436}
68437_ACEOF
68438if ac_fn_cxx_try_compile "$LINENO"; then :
68439  glibcxx_cv_func__atan2f_use=yes
68440else
68441  glibcxx_cv_func__atan2f_use=no
68442fi
68443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68444      ac_ext=c
68445ac_cpp='$CPP $CPPFLAGS'
68446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68448ac_compiler_gnu=$ac_cv_c_compiler_gnu
68449
68450
68451fi
68452
68453  fi
68454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68455$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68456
68457    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68458      for ac_func in _atan2f
68459do :
68460  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68461if test "x$ac_cv_func__atan2f" = xyes; then :
68462  cat >>confdefs.h <<_ACEOF
68463#define HAVE__ATAN2F 1
68464_ACEOF
68465
68466fi
68467done
68468
68469    fi
68470  fi
68471
68472
68473
68474
68475
68476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68477$as_echo_n "checking for fabsf declaration... " >&6; }
68478  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68479    if ${glibcxx_cv_func_fabsf_use+:} false; then :
68480  $as_echo_n "(cached) " >&6
68481else
68482
68483
68484      ac_ext=cpp
68485ac_cpp='$CXXCPP $CPPFLAGS'
68486ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68489
68490      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68491/* end confdefs.h.  */
68492#include <math.h>
68493		      #ifdef HAVE_IEEEFP_H
68494		      #include <ieeefp.h>
68495		      #endif
68496
68497int
68498main ()
68499{
68500 fabsf(0);
68501  ;
68502  return 0;
68503}
68504_ACEOF
68505if ac_fn_cxx_try_compile "$LINENO"; then :
68506  glibcxx_cv_func_fabsf_use=yes
68507else
68508  glibcxx_cv_func_fabsf_use=no
68509fi
68510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68511      ac_ext=c
68512ac_cpp='$CPP $CPPFLAGS'
68513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68515ac_compiler_gnu=$ac_cv_c_compiler_gnu
68516
68517
68518fi
68519
68520  fi
68521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68522$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68523
68524  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68525    for ac_func in fabsf
68526do :
68527  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68528if test "x$ac_cv_func_fabsf" = xyes; then :
68529  cat >>confdefs.h <<_ACEOF
68530#define HAVE_FABSF 1
68531_ACEOF
68532
68533fi
68534done
68535
68536  else
68537
68538  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68539$as_echo_n "checking for _fabsf declaration... " >&6; }
68540  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68541    if ${glibcxx_cv_func__fabsf_use+:} false; then :
68542  $as_echo_n "(cached) " >&6
68543else
68544
68545
68546      ac_ext=cpp
68547ac_cpp='$CXXCPP $CPPFLAGS'
68548ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68549ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68550ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68551
68552      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68553/* end confdefs.h.  */
68554#include <math.h>
68555		      #ifdef HAVE_IEEEFP_H
68556		      #include <ieeefp.h>
68557		      #endif
68558
68559int
68560main ()
68561{
68562 _fabsf(0);
68563  ;
68564  return 0;
68565}
68566_ACEOF
68567if ac_fn_cxx_try_compile "$LINENO"; then :
68568  glibcxx_cv_func__fabsf_use=yes
68569else
68570  glibcxx_cv_func__fabsf_use=no
68571fi
68572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68573      ac_ext=c
68574ac_cpp='$CPP $CPPFLAGS'
68575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68577ac_compiler_gnu=$ac_cv_c_compiler_gnu
68578
68579
68580fi
68581
68582  fi
68583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68584$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68585
68586    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68587      for ac_func in _fabsf
68588do :
68589  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68590if test "x$ac_cv_func__fabsf" = xyes; then :
68591  cat >>confdefs.h <<_ACEOF
68592#define HAVE__FABSF 1
68593_ACEOF
68594
68595fi
68596done
68597
68598    fi
68599  fi
68600
68601
68602
68603
68604
68605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68606$as_echo_n "checking for fmodf declaration... " >&6; }
68607  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68608    if ${glibcxx_cv_func_fmodf_use+:} false; then :
68609  $as_echo_n "(cached) " >&6
68610else
68611
68612
68613      ac_ext=cpp
68614ac_cpp='$CXXCPP $CPPFLAGS'
68615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68618
68619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68620/* end confdefs.h.  */
68621#include <math.h>
68622int
68623main ()
68624{
68625 fmodf(0, 0);
68626  ;
68627  return 0;
68628}
68629_ACEOF
68630if ac_fn_cxx_try_compile "$LINENO"; then :
68631  glibcxx_cv_func_fmodf_use=yes
68632else
68633  glibcxx_cv_func_fmodf_use=no
68634fi
68635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68636      ac_ext=c
68637ac_cpp='$CPP $CPPFLAGS'
68638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68640ac_compiler_gnu=$ac_cv_c_compiler_gnu
68641
68642
68643fi
68644
68645  fi
68646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68647$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68648
68649  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68650    for ac_func in fmodf
68651do :
68652  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68653if test "x$ac_cv_func_fmodf" = xyes; then :
68654  cat >>confdefs.h <<_ACEOF
68655#define HAVE_FMODF 1
68656_ACEOF
68657
68658fi
68659done
68660
68661  else
68662
68663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68664$as_echo_n "checking for _fmodf declaration... " >&6; }
68665  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68666    if ${glibcxx_cv_func__fmodf_use+:} false; then :
68667  $as_echo_n "(cached) " >&6
68668else
68669
68670
68671      ac_ext=cpp
68672ac_cpp='$CXXCPP $CPPFLAGS'
68673ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68674ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68675ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68676
68677      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68678/* end confdefs.h.  */
68679#include <math.h>
68680int
68681main ()
68682{
68683 _fmodf(0, 0);
68684  ;
68685  return 0;
68686}
68687_ACEOF
68688if ac_fn_cxx_try_compile "$LINENO"; then :
68689  glibcxx_cv_func__fmodf_use=yes
68690else
68691  glibcxx_cv_func__fmodf_use=no
68692fi
68693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68694      ac_ext=c
68695ac_cpp='$CPP $CPPFLAGS'
68696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68698ac_compiler_gnu=$ac_cv_c_compiler_gnu
68699
68700
68701fi
68702
68703  fi
68704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68705$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68706
68707    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68708      for ac_func in _fmodf
68709do :
68710  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68711if test "x$ac_cv_func__fmodf" = xyes; then :
68712  cat >>confdefs.h <<_ACEOF
68713#define HAVE__FMODF 1
68714_ACEOF
68715
68716fi
68717done
68718
68719    fi
68720  fi
68721
68722
68723
68724
68725
68726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68727$as_echo_n "checking for frexpf declaration... " >&6; }
68728  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68729    if ${glibcxx_cv_func_frexpf_use+:} false; then :
68730  $as_echo_n "(cached) " >&6
68731else
68732
68733
68734      ac_ext=cpp
68735ac_cpp='$CXXCPP $CPPFLAGS'
68736ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68737ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68738ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68739
68740      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68741/* end confdefs.h.  */
68742#include <math.h>
68743int
68744main ()
68745{
68746 frexpf(0, 0);
68747  ;
68748  return 0;
68749}
68750_ACEOF
68751if ac_fn_cxx_try_compile "$LINENO"; then :
68752  glibcxx_cv_func_frexpf_use=yes
68753else
68754  glibcxx_cv_func_frexpf_use=no
68755fi
68756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68757      ac_ext=c
68758ac_cpp='$CPP $CPPFLAGS'
68759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68761ac_compiler_gnu=$ac_cv_c_compiler_gnu
68762
68763
68764fi
68765
68766  fi
68767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68768$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68769
68770  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68771    for ac_func in frexpf
68772do :
68773  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68774if test "x$ac_cv_func_frexpf" = xyes; then :
68775  cat >>confdefs.h <<_ACEOF
68776#define HAVE_FREXPF 1
68777_ACEOF
68778
68779fi
68780done
68781
68782  else
68783
68784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68785$as_echo_n "checking for _frexpf declaration... " >&6; }
68786  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68787    if ${glibcxx_cv_func__frexpf_use+:} false; then :
68788  $as_echo_n "(cached) " >&6
68789else
68790
68791
68792      ac_ext=cpp
68793ac_cpp='$CXXCPP $CPPFLAGS'
68794ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68797
68798      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68799/* end confdefs.h.  */
68800#include <math.h>
68801int
68802main ()
68803{
68804 _frexpf(0, 0);
68805  ;
68806  return 0;
68807}
68808_ACEOF
68809if ac_fn_cxx_try_compile "$LINENO"; then :
68810  glibcxx_cv_func__frexpf_use=yes
68811else
68812  glibcxx_cv_func__frexpf_use=no
68813fi
68814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68815      ac_ext=c
68816ac_cpp='$CPP $CPPFLAGS'
68817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68819ac_compiler_gnu=$ac_cv_c_compiler_gnu
68820
68821
68822fi
68823
68824  fi
68825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68826$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68827
68828    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68829      for ac_func in _frexpf
68830do :
68831  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68832if test "x$ac_cv_func__frexpf" = xyes; then :
68833  cat >>confdefs.h <<_ACEOF
68834#define HAVE__FREXPF 1
68835_ACEOF
68836
68837fi
68838done
68839
68840    fi
68841  fi
68842
68843
68844
68845
68846
68847  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68848$as_echo_n "checking for hypotf declaration... " >&6; }
68849  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68850    if ${glibcxx_cv_func_hypotf_use+:} false; then :
68851  $as_echo_n "(cached) " >&6
68852else
68853
68854
68855      ac_ext=cpp
68856ac_cpp='$CXXCPP $CPPFLAGS'
68857ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68858ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68859ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68860
68861      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68862/* end confdefs.h.  */
68863#include <math.h>
68864int
68865main ()
68866{
68867 hypotf(0, 0);
68868  ;
68869  return 0;
68870}
68871_ACEOF
68872if ac_fn_cxx_try_compile "$LINENO"; then :
68873  glibcxx_cv_func_hypotf_use=yes
68874else
68875  glibcxx_cv_func_hypotf_use=no
68876fi
68877rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68878      ac_ext=c
68879ac_cpp='$CPP $CPPFLAGS'
68880ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68881ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68882ac_compiler_gnu=$ac_cv_c_compiler_gnu
68883
68884
68885fi
68886
68887  fi
68888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68889$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68890
68891  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68892    for ac_func in hypotf
68893do :
68894  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68895if test "x$ac_cv_func_hypotf" = xyes; then :
68896  cat >>confdefs.h <<_ACEOF
68897#define HAVE_HYPOTF 1
68898_ACEOF
68899
68900fi
68901done
68902
68903  else
68904
68905  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68906$as_echo_n "checking for _hypotf declaration... " >&6; }
68907  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68908    if ${glibcxx_cv_func__hypotf_use+:} false; then :
68909  $as_echo_n "(cached) " >&6
68910else
68911
68912
68913      ac_ext=cpp
68914ac_cpp='$CXXCPP $CPPFLAGS'
68915ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68916ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68917ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68918
68919      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68920/* end confdefs.h.  */
68921#include <math.h>
68922int
68923main ()
68924{
68925 _hypotf(0, 0);
68926  ;
68927  return 0;
68928}
68929_ACEOF
68930if ac_fn_cxx_try_compile "$LINENO"; then :
68931  glibcxx_cv_func__hypotf_use=yes
68932else
68933  glibcxx_cv_func__hypotf_use=no
68934fi
68935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68936      ac_ext=c
68937ac_cpp='$CPP $CPPFLAGS'
68938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68940ac_compiler_gnu=$ac_cv_c_compiler_gnu
68941
68942
68943fi
68944
68945  fi
68946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68947$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68948
68949    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68950      for ac_func in _hypotf
68951do :
68952  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68953if test "x$ac_cv_func__hypotf" = xyes; then :
68954  cat >>confdefs.h <<_ACEOF
68955#define HAVE__HYPOTF 1
68956_ACEOF
68957
68958fi
68959done
68960
68961    fi
68962  fi
68963
68964
68965
68966
68967
68968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68969$as_echo_n "checking for ldexpf declaration... " >&6; }
68970  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68971    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
68972  $as_echo_n "(cached) " >&6
68973else
68974
68975
68976      ac_ext=cpp
68977ac_cpp='$CXXCPP $CPPFLAGS'
68978ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68979ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68980ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68981
68982      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68983/* end confdefs.h.  */
68984#include <math.h>
68985int
68986main ()
68987{
68988 ldexpf(0, 0);
68989  ;
68990  return 0;
68991}
68992_ACEOF
68993if ac_fn_cxx_try_compile "$LINENO"; then :
68994  glibcxx_cv_func_ldexpf_use=yes
68995else
68996  glibcxx_cv_func_ldexpf_use=no
68997fi
68998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68999      ac_ext=c
69000ac_cpp='$CPP $CPPFLAGS'
69001ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69002ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69003ac_compiler_gnu=$ac_cv_c_compiler_gnu
69004
69005
69006fi
69007
69008  fi
69009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69010$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69011
69012  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69013    for ac_func in ldexpf
69014do :
69015  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69016if test "x$ac_cv_func_ldexpf" = xyes; then :
69017  cat >>confdefs.h <<_ACEOF
69018#define HAVE_LDEXPF 1
69019_ACEOF
69020
69021fi
69022done
69023
69024  else
69025
69026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69027$as_echo_n "checking for _ldexpf declaration... " >&6; }
69028  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69029    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69030  $as_echo_n "(cached) " >&6
69031else
69032
69033
69034      ac_ext=cpp
69035ac_cpp='$CXXCPP $CPPFLAGS'
69036ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69037ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69038ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69039
69040      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69041/* end confdefs.h.  */
69042#include <math.h>
69043int
69044main ()
69045{
69046 _ldexpf(0, 0);
69047  ;
69048  return 0;
69049}
69050_ACEOF
69051if ac_fn_cxx_try_compile "$LINENO"; then :
69052  glibcxx_cv_func__ldexpf_use=yes
69053else
69054  glibcxx_cv_func__ldexpf_use=no
69055fi
69056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69057      ac_ext=c
69058ac_cpp='$CPP $CPPFLAGS'
69059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69061ac_compiler_gnu=$ac_cv_c_compiler_gnu
69062
69063
69064fi
69065
69066  fi
69067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69068$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69069
69070    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69071      for ac_func in _ldexpf
69072do :
69073  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69074if test "x$ac_cv_func__ldexpf" = xyes; then :
69075  cat >>confdefs.h <<_ACEOF
69076#define HAVE__LDEXPF 1
69077_ACEOF
69078
69079fi
69080done
69081
69082    fi
69083  fi
69084
69085
69086
69087
69088
69089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69090$as_echo_n "checking for logf declaration... " >&6; }
69091  if test x${glibcxx_cv_func_logf_use+set} != xset; then
69092    if ${glibcxx_cv_func_logf_use+:} false; then :
69093  $as_echo_n "(cached) " >&6
69094else
69095
69096
69097      ac_ext=cpp
69098ac_cpp='$CXXCPP $CPPFLAGS'
69099ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69100ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69101ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69102
69103      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69104/* end confdefs.h.  */
69105#include <math.h>
69106		      #ifdef HAVE_IEEEFP_H
69107		      #include <ieeefp.h>
69108		      #endif
69109
69110int
69111main ()
69112{
69113 logf(0);
69114  ;
69115  return 0;
69116}
69117_ACEOF
69118if ac_fn_cxx_try_compile "$LINENO"; then :
69119  glibcxx_cv_func_logf_use=yes
69120else
69121  glibcxx_cv_func_logf_use=no
69122fi
69123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69124      ac_ext=c
69125ac_cpp='$CPP $CPPFLAGS'
69126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69128ac_compiler_gnu=$ac_cv_c_compiler_gnu
69129
69130
69131fi
69132
69133  fi
69134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69135$as_echo "$glibcxx_cv_func_logf_use" >&6; }
69136
69137  if test x$glibcxx_cv_func_logf_use = x"yes"; then
69138    for ac_func in logf
69139do :
69140  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69141if test "x$ac_cv_func_logf" = xyes; then :
69142  cat >>confdefs.h <<_ACEOF
69143#define HAVE_LOGF 1
69144_ACEOF
69145
69146fi
69147done
69148
69149  else
69150
69151  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69152$as_echo_n "checking for _logf declaration... " >&6; }
69153  if test x${glibcxx_cv_func__logf_use+set} != xset; then
69154    if ${glibcxx_cv_func__logf_use+:} false; then :
69155  $as_echo_n "(cached) " >&6
69156else
69157
69158
69159      ac_ext=cpp
69160ac_cpp='$CXXCPP $CPPFLAGS'
69161ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69162ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69163ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69164
69165      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69166/* end confdefs.h.  */
69167#include <math.h>
69168		      #ifdef HAVE_IEEEFP_H
69169		      #include <ieeefp.h>
69170		      #endif
69171
69172int
69173main ()
69174{
69175 _logf(0);
69176  ;
69177  return 0;
69178}
69179_ACEOF
69180if ac_fn_cxx_try_compile "$LINENO"; then :
69181  glibcxx_cv_func__logf_use=yes
69182else
69183  glibcxx_cv_func__logf_use=no
69184fi
69185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69186      ac_ext=c
69187ac_cpp='$CPP $CPPFLAGS'
69188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69190ac_compiler_gnu=$ac_cv_c_compiler_gnu
69191
69192
69193fi
69194
69195  fi
69196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69197$as_echo "$glibcxx_cv_func__logf_use" >&6; }
69198
69199    if test x$glibcxx_cv_func__logf_use = x"yes"; then
69200      for ac_func in _logf
69201do :
69202  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69203if test "x$ac_cv_func__logf" = xyes; then :
69204  cat >>confdefs.h <<_ACEOF
69205#define HAVE__LOGF 1
69206_ACEOF
69207
69208fi
69209done
69210
69211    fi
69212  fi
69213
69214
69215
69216
69217
69218  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69219$as_echo_n "checking for log10f declaration... " >&6; }
69220  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69221    if ${glibcxx_cv_func_log10f_use+:} false; then :
69222  $as_echo_n "(cached) " >&6
69223else
69224
69225
69226      ac_ext=cpp
69227ac_cpp='$CXXCPP $CPPFLAGS'
69228ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69231
69232      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69233/* end confdefs.h.  */
69234#include <math.h>
69235		      #ifdef HAVE_IEEEFP_H
69236		      #include <ieeefp.h>
69237		      #endif
69238
69239int
69240main ()
69241{
69242 log10f(0);
69243  ;
69244  return 0;
69245}
69246_ACEOF
69247if ac_fn_cxx_try_compile "$LINENO"; then :
69248  glibcxx_cv_func_log10f_use=yes
69249else
69250  glibcxx_cv_func_log10f_use=no
69251fi
69252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69253      ac_ext=c
69254ac_cpp='$CPP $CPPFLAGS'
69255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69257ac_compiler_gnu=$ac_cv_c_compiler_gnu
69258
69259
69260fi
69261
69262  fi
69263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69264$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69265
69266  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69267    for ac_func in log10f
69268do :
69269  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69270if test "x$ac_cv_func_log10f" = xyes; then :
69271  cat >>confdefs.h <<_ACEOF
69272#define HAVE_LOG10F 1
69273_ACEOF
69274
69275fi
69276done
69277
69278  else
69279
69280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69281$as_echo_n "checking for _log10f declaration... " >&6; }
69282  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69283    if ${glibcxx_cv_func__log10f_use+:} false; then :
69284  $as_echo_n "(cached) " >&6
69285else
69286
69287
69288      ac_ext=cpp
69289ac_cpp='$CXXCPP $CPPFLAGS'
69290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69293
69294      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69295/* end confdefs.h.  */
69296#include <math.h>
69297		      #ifdef HAVE_IEEEFP_H
69298		      #include <ieeefp.h>
69299		      #endif
69300
69301int
69302main ()
69303{
69304 _log10f(0);
69305  ;
69306  return 0;
69307}
69308_ACEOF
69309if ac_fn_cxx_try_compile "$LINENO"; then :
69310  glibcxx_cv_func__log10f_use=yes
69311else
69312  glibcxx_cv_func__log10f_use=no
69313fi
69314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69315      ac_ext=c
69316ac_cpp='$CPP $CPPFLAGS'
69317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69319ac_compiler_gnu=$ac_cv_c_compiler_gnu
69320
69321
69322fi
69323
69324  fi
69325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69326$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69327
69328    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69329      for ac_func in _log10f
69330do :
69331  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69332if test "x$ac_cv_func__log10f" = xyes; then :
69333  cat >>confdefs.h <<_ACEOF
69334#define HAVE__LOG10F 1
69335_ACEOF
69336
69337fi
69338done
69339
69340    fi
69341  fi
69342
69343
69344
69345
69346
69347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69348$as_echo_n "checking for modff declaration... " >&6; }
69349  if test x${glibcxx_cv_func_modff_use+set} != xset; then
69350    if ${glibcxx_cv_func_modff_use+:} false; then :
69351  $as_echo_n "(cached) " >&6
69352else
69353
69354
69355      ac_ext=cpp
69356ac_cpp='$CXXCPP $CPPFLAGS'
69357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69360
69361      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69362/* end confdefs.h.  */
69363#include <math.h>
69364int
69365main ()
69366{
69367 modff(0, 0);
69368  ;
69369  return 0;
69370}
69371_ACEOF
69372if ac_fn_cxx_try_compile "$LINENO"; then :
69373  glibcxx_cv_func_modff_use=yes
69374else
69375  glibcxx_cv_func_modff_use=no
69376fi
69377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69378      ac_ext=c
69379ac_cpp='$CPP $CPPFLAGS'
69380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69382ac_compiler_gnu=$ac_cv_c_compiler_gnu
69383
69384
69385fi
69386
69387  fi
69388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69389$as_echo "$glibcxx_cv_func_modff_use" >&6; }
69390
69391  if test x$glibcxx_cv_func_modff_use = x"yes"; then
69392    for ac_func in modff
69393do :
69394  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69395if test "x$ac_cv_func_modff" = xyes; then :
69396  cat >>confdefs.h <<_ACEOF
69397#define HAVE_MODFF 1
69398_ACEOF
69399
69400fi
69401done
69402
69403  else
69404
69405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69406$as_echo_n "checking for _modff declaration... " >&6; }
69407  if test x${glibcxx_cv_func__modff_use+set} != xset; then
69408    if ${glibcxx_cv_func__modff_use+:} false; then :
69409  $as_echo_n "(cached) " >&6
69410else
69411
69412
69413      ac_ext=cpp
69414ac_cpp='$CXXCPP $CPPFLAGS'
69415ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69418
69419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69420/* end confdefs.h.  */
69421#include <math.h>
69422int
69423main ()
69424{
69425 _modff(0, 0);
69426  ;
69427  return 0;
69428}
69429_ACEOF
69430if ac_fn_cxx_try_compile "$LINENO"; then :
69431  glibcxx_cv_func__modff_use=yes
69432else
69433  glibcxx_cv_func__modff_use=no
69434fi
69435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69436      ac_ext=c
69437ac_cpp='$CPP $CPPFLAGS'
69438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69440ac_compiler_gnu=$ac_cv_c_compiler_gnu
69441
69442
69443fi
69444
69445  fi
69446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69447$as_echo "$glibcxx_cv_func__modff_use" >&6; }
69448
69449    if test x$glibcxx_cv_func__modff_use = x"yes"; then
69450      for ac_func in _modff
69451do :
69452  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69453if test "x$ac_cv_func__modff" = xyes; then :
69454  cat >>confdefs.h <<_ACEOF
69455#define HAVE__MODFF 1
69456_ACEOF
69457
69458fi
69459done
69460
69461    fi
69462  fi
69463
69464
69465
69466
69467
69468  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69469$as_echo_n "checking for modf declaration... " >&6; }
69470  if test x${glibcxx_cv_func_modf_use+set} != xset; then
69471    if ${glibcxx_cv_func_modf_use+:} false; then :
69472  $as_echo_n "(cached) " >&6
69473else
69474
69475
69476      ac_ext=cpp
69477ac_cpp='$CXXCPP $CPPFLAGS'
69478ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69479ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69480ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69481
69482      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69483/* end confdefs.h.  */
69484#include <math.h>
69485int
69486main ()
69487{
69488 modf(0, 0);
69489  ;
69490  return 0;
69491}
69492_ACEOF
69493if ac_fn_cxx_try_compile "$LINENO"; then :
69494  glibcxx_cv_func_modf_use=yes
69495else
69496  glibcxx_cv_func_modf_use=no
69497fi
69498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69499      ac_ext=c
69500ac_cpp='$CPP $CPPFLAGS'
69501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69503ac_compiler_gnu=$ac_cv_c_compiler_gnu
69504
69505
69506fi
69507
69508  fi
69509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69510$as_echo "$glibcxx_cv_func_modf_use" >&6; }
69511
69512  if test x$glibcxx_cv_func_modf_use = x"yes"; then
69513    for ac_func in modf
69514do :
69515  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69516if test "x$ac_cv_func_modf" = xyes; then :
69517  cat >>confdefs.h <<_ACEOF
69518#define HAVE_MODF 1
69519_ACEOF
69520
69521fi
69522done
69523
69524  else
69525
69526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69527$as_echo_n "checking for _modf declaration... " >&6; }
69528  if test x${glibcxx_cv_func__modf_use+set} != xset; then
69529    if ${glibcxx_cv_func__modf_use+:} false; then :
69530  $as_echo_n "(cached) " >&6
69531else
69532
69533
69534      ac_ext=cpp
69535ac_cpp='$CXXCPP $CPPFLAGS'
69536ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69537ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69538ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69539
69540      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69541/* end confdefs.h.  */
69542#include <math.h>
69543int
69544main ()
69545{
69546 _modf(0, 0);
69547  ;
69548  return 0;
69549}
69550_ACEOF
69551if ac_fn_cxx_try_compile "$LINENO"; then :
69552  glibcxx_cv_func__modf_use=yes
69553else
69554  glibcxx_cv_func__modf_use=no
69555fi
69556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69557      ac_ext=c
69558ac_cpp='$CPP $CPPFLAGS'
69559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69561ac_compiler_gnu=$ac_cv_c_compiler_gnu
69562
69563
69564fi
69565
69566  fi
69567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69568$as_echo "$glibcxx_cv_func__modf_use" >&6; }
69569
69570    if test x$glibcxx_cv_func__modf_use = x"yes"; then
69571      for ac_func in _modf
69572do :
69573  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69574if test "x$ac_cv_func__modf" = xyes; then :
69575  cat >>confdefs.h <<_ACEOF
69576#define HAVE__MODF 1
69577_ACEOF
69578
69579fi
69580done
69581
69582    fi
69583  fi
69584
69585
69586
69587
69588
69589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69590$as_echo_n "checking for powf declaration... " >&6; }
69591  if test x${glibcxx_cv_func_powf_use+set} != xset; then
69592    if ${glibcxx_cv_func_powf_use+:} false; then :
69593  $as_echo_n "(cached) " >&6
69594else
69595
69596
69597      ac_ext=cpp
69598ac_cpp='$CXXCPP $CPPFLAGS'
69599ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69600ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69601ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69602
69603      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69604/* end confdefs.h.  */
69605#include <math.h>
69606int
69607main ()
69608{
69609 powf(0, 0);
69610  ;
69611  return 0;
69612}
69613_ACEOF
69614if ac_fn_cxx_try_compile "$LINENO"; then :
69615  glibcxx_cv_func_powf_use=yes
69616else
69617  glibcxx_cv_func_powf_use=no
69618fi
69619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69620      ac_ext=c
69621ac_cpp='$CPP $CPPFLAGS'
69622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69624ac_compiler_gnu=$ac_cv_c_compiler_gnu
69625
69626
69627fi
69628
69629  fi
69630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69631$as_echo "$glibcxx_cv_func_powf_use" >&6; }
69632
69633  if test x$glibcxx_cv_func_powf_use = x"yes"; then
69634    for ac_func in powf
69635do :
69636  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69637if test "x$ac_cv_func_powf" = xyes; then :
69638  cat >>confdefs.h <<_ACEOF
69639#define HAVE_POWF 1
69640_ACEOF
69641
69642fi
69643done
69644
69645  else
69646
69647  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69648$as_echo_n "checking for _powf declaration... " >&6; }
69649  if test x${glibcxx_cv_func__powf_use+set} != xset; then
69650    if ${glibcxx_cv_func__powf_use+:} false; then :
69651  $as_echo_n "(cached) " >&6
69652else
69653
69654
69655      ac_ext=cpp
69656ac_cpp='$CXXCPP $CPPFLAGS'
69657ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69658ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69659ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69660
69661      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69662/* end confdefs.h.  */
69663#include <math.h>
69664int
69665main ()
69666{
69667 _powf(0, 0);
69668  ;
69669  return 0;
69670}
69671_ACEOF
69672if ac_fn_cxx_try_compile "$LINENO"; then :
69673  glibcxx_cv_func__powf_use=yes
69674else
69675  glibcxx_cv_func__powf_use=no
69676fi
69677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69678      ac_ext=c
69679ac_cpp='$CPP $CPPFLAGS'
69680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69682ac_compiler_gnu=$ac_cv_c_compiler_gnu
69683
69684
69685fi
69686
69687  fi
69688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69689$as_echo "$glibcxx_cv_func__powf_use" >&6; }
69690
69691    if test x$glibcxx_cv_func__powf_use = x"yes"; then
69692      for ac_func in _powf
69693do :
69694  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69695if test "x$ac_cv_func__powf" = xyes; then :
69696  cat >>confdefs.h <<_ACEOF
69697#define HAVE__POWF 1
69698_ACEOF
69699
69700fi
69701done
69702
69703    fi
69704  fi
69705
69706
69707
69708
69709
69710  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69711$as_echo_n "checking for sqrtf declaration... " >&6; }
69712  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69713    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69714  $as_echo_n "(cached) " >&6
69715else
69716
69717
69718      ac_ext=cpp
69719ac_cpp='$CXXCPP $CPPFLAGS'
69720ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69721ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69722ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69723
69724      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69725/* end confdefs.h.  */
69726#include <math.h>
69727		      #ifdef HAVE_IEEEFP_H
69728		      #include <ieeefp.h>
69729		      #endif
69730
69731int
69732main ()
69733{
69734 sqrtf(0);
69735  ;
69736  return 0;
69737}
69738_ACEOF
69739if ac_fn_cxx_try_compile "$LINENO"; then :
69740  glibcxx_cv_func_sqrtf_use=yes
69741else
69742  glibcxx_cv_func_sqrtf_use=no
69743fi
69744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69745      ac_ext=c
69746ac_cpp='$CPP $CPPFLAGS'
69747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69749ac_compiler_gnu=$ac_cv_c_compiler_gnu
69750
69751
69752fi
69753
69754  fi
69755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69756$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69757
69758  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69759    for ac_func in sqrtf
69760do :
69761  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69762if test "x$ac_cv_func_sqrtf" = xyes; then :
69763  cat >>confdefs.h <<_ACEOF
69764#define HAVE_SQRTF 1
69765_ACEOF
69766
69767fi
69768done
69769
69770  else
69771
69772  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69773$as_echo_n "checking for _sqrtf declaration... " >&6; }
69774  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69775    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69776  $as_echo_n "(cached) " >&6
69777else
69778
69779
69780      ac_ext=cpp
69781ac_cpp='$CXXCPP $CPPFLAGS'
69782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69785
69786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69787/* end confdefs.h.  */
69788#include <math.h>
69789		      #ifdef HAVE_IEEEFP_H
69790		      #include <ieeefp.h>
69791		      #endif
69792
69793int
69794main ()
69795{
69796 _sqrtf(0);
69797  ;
69798  return 0;
69799}
69800_ACEOF
69801if ac_fn_cxx_try_compile "$LINENO"; then :
69802  glibcxx_cv_func__sqrtf_use=yes
69803else
69804  glibcxx_cv_func__sqrtf_use=no
69805fi
69806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69807      ac_ext=c
69808ac_cpp='$CPP $CPPFLAGS'
69809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69811ac_compiler_gnu=$ac_cv_c_compiler_gnu
69812
69813
69814fi
69815
69816  fi
69817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69818$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69819
69820    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69821      for ac_func in _sqrtf
69822do :
69823  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69824if test "x$ac_cv_func__sqrtf" = xyes; then :
69825  cat >>confdefs.h <<_ACEOF
69826#define HAVE__SQRTF 1
69827_ACEOF
69828
69829fi
69830done
69831
69832    fi
69833  fi
69834
69835
69836
69837
69838
69839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69840$as_echo_n "checking for sincosf declaration... " >&6; }
69841  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69842    if ${glibcxx_cv_func_sincosf_use+:} false; then :
69843  $as_echo_n "(cached) " >&6
69844else
69845
69846
69847      ac_ext=cpp
69848ac_cpp='$CXXCPP $CPPFLAGS'
69849ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69850ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69851ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69852
69853      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69854/* end confdefs.h.  */
69855#include <math.h>
69856int
69857main ()
69858{
69859 sincosf(0, 0, 0);
69860  ;
69861  return 0;
69862}
69863_ACEOF
69864if ac_fn_cxx_try_compile "$LINENO"; then :
69865  glibcxx_cv_func_sincosf_use=yes
69866else
69867  glibcxx_cv_func_sincosf_use=no
69868fi
69869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69870      ac_ext=c
69871ac_cpp='$CPP $CPPFLAGS'
69872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69874ac_compiler_gnu=$ac_cv_c_compiler_gnu
69875
69876
69877fi
69878
69879  fi
69880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69881$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69882
69883  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69884    for ac_func in sincosf
69885do :
69886  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69887if test "x$ac_cv_func_sincosf" = xyes; then :
69888  cat >>confdefs.h <<_ACEOF
69889#define HAVE_SINCOSF 1
69890_ACEOF
69891
69892fi
69893done
69894
69895  else
69896
69897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69898$as_echo_n "checking for _sincosf declaration... " >&6; }
69899  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69900    if ${glibcxx_cv_func__sincosf_use+:} false; then :
69901  $as_echo_n "(cached) " >&6
69902else
69903
69904
69905      ac_ext=cpp
69906ac_cpp='$CXXCPP $CPPFLAGS'
69907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69910
69911      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69912/* end confdefs.h.  */
69913#include <math.h>
69914int
69915main ()
69916{
69917 _sincosf(0, 0, 0);
69918  ;
69919  return 0;
69920}
69921_ACEOF
69922if ac_fn_cxx_try_compile "$LINENO"; then :
69923  glibcxx_cv_func__sincosf_use=yes
69924else
69925  glibcxx_cv_func__sincosf_use=no
69926fi
69927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69928      ac_ext=c
69929ac_cpp='$CPP $CPPFLAGS'
69930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69932ac_compiler_gnu=$ac_cv_c_compiler_gnu
69933
69934
69935fi
69936
69937  fi
69938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69939$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69940
69941    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69942      for ac_func in _sincosf
69943do :
69944  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69945if test "x$ac_cv_func__sincosf" = xyes; then :
69946  cat >>confdefs.h <<_ACEOF
69947#define HAVE__SINCOSF 1
69948_ACEOF
69949
69950fi
69951done
69952
69953    fi
69954  fi
69955
69956
69957
69958
69959
69960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69961$as_echo_n "checking for finitef declaration... " >&6; }
69962  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69963    if ${glibcxx_cv_func_finitef_use+:} false; then :
69964  $as_echo_n "(cached) " >&6
69965else
69966
69967
69968      ac_ext=cpp
69969ac_cpp='$CXXCPP $CPPFLAGS'
69970ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69971ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69972ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69973
69974      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69975/* end confdefs.h.  */
69976#include <math.h>
69977		      #ifdef HAVE_IEEEFP_H
69978		      #include <ieeefp.h>
69979		      #endif
69980
69981int
69982main ()
69983{
69984 finitef(0);
69985  ;
69986  return 0;
69987}
69988_ACEOF
69989if ac_fn_cxx_try_compile "$LINENO"; then :
69990  glibcxx_cv_func_finitef_use=yes
69991else
69992  glibcxx_cv_func_finitef_use=no
69993fi
69994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69995      ac_ext=c
69996ac_cpp='$CPP $CPPFLAGS'
69997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999ac_compiler_gnu=$ac_cv_c_compiler_gnu
70000
70001
70002fi
70003
70004  fi
70005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70006$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70007
70008  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70009    for ac_func in finitef
70010do :
70011  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70012if test "x$ac_cv_func_finitef" = xyes; then :
70013  cat >>confdefs.h <<_ACEOF
70014#define HAVE_FINITEF 1
70015_ACEOF
70016
70017fi
70018done
70019
70020  else
70021
70022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70023$as_echo_n "checking for _finitef declaration... " >&6; }
70024  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70025    if ${glibcxx_cv_func__finitef_use+:} false; then :
70026  $as_echo_n "(cached) " >&6
70027else
70028
70029
70030      ac_ext=cpp
70031ac_cpp='$CXXCPP $CPPFLAGS'
70032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70035
70036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70037/* end confdefs.h.  */
70038#include <math.h>
70039		      #ifdef HAVE_IEEEFP_H
70040		      #include <ieeefp.h>
70041		      #endif
70042
70043int
70044main ()
70045{
70046 _finitef(0);
70047  ;
70048  return 0;
70049}
70050_ACEOF
70051if ac_fn_cxx_try_compile "$LINENO"; then :
70052  glibcxx_cv_func__finitef_use=yes
70053else
70054  glibcxx_cv_func__finitef_use=no
70055fi
70056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70057      ac_ext=c
70058ac_cpp='$CPP $CPPFLAGS'
70059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70061ac_compiler_gnu=$ac_cv_c_compiler_gnu
70062
70063
70064fi
70065
70066  fi
70067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70068$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70069
70070    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70071      for ac_func in _finitef
70072do :
70073  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70074if test "x$ac_cv_func__finitef" = xyes; then :
70075  cat >>confdefs.h <<_ACEOF
70076#define HAVE__FINITEF 1
70077_ACEOF
70078
70079fi
70080done
70081
70082    fi
70083  fi
70084
70085
70086
70087
70088
70089    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70090$as_echo_n "checking for long double trig functions... " >&6; }
70091  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70092  $as_echo_n "(cached) " >&6
70093else
70094
70095
70096    ac_ext=cpp
70097ac_cpp='$CXXCPP $CPPFLAGS'
70098ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70099ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70100ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70101
70102    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70103/* end confdefs.h.  */
70104#include <math.h>
70105int
70106main ()
70107{
70108acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70109  ;
70110  return 0;
70111}
70112_ACEOF
70113if ac_fn_cxx_try_compile "$LINENO"; then :
70114  glibcxx_cv_func_long_double_trig_use=yes
70115else
70116  glibcxx_cv_func_long_double_trig_use=no
70117fi
70118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70119    ac_ext=c
70120ac_cpp='$CPP $CPPFLAGS'
70121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70123ac_compiler_gnu=$ac_cv_c_compiler_gnu
70124
70125fi
70126
70127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70128$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70129  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70130    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70131do :
70132  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70133ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70134if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70135  cat >>confdefs.h <<_ACEOF
70136#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70137_ACEOF
70138
70139fi
70140done
70141
70142  else
70143    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70144$as_echo_n "checking for _long double trig functions... " >&6; }
70145    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70146  $as_echo_n "(cached) " >&6
70147else
70148
70149
70150      ac_ext=cpp
70151ac_cpp='$CXXCPP $CPPFLAGS'
70152ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70153ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70154ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70155
70156      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70157/* end confdefs.h.  */
70158#include <math.h>
70159int
70160main ()
70161{
70162_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70163  ;
70164  return 0;
70165}
70166_ACEOF
70167if ac_fn_cxx_try_compile "$LINENO"; then :
70168  glibcxx_cv_func__long_double_trig_use=yes
70169else
70170  glibcxx_cv_func__long_double_trig_use=no
70171fi
70172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70173      ac_ext=c
70174ac_cpp='$CPP $CPPFLAGS'
70175ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70176ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70177ac_compiler_gnu=$ac_cv_c_compiler_gnu
70178
70179fi
70180
70181    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70182$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70183    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70184      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70185do :
70186  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70187ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70188if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70189  cat >>confdefs.h <<_ACEOF
70190#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70191_ACEOF
70192
70193fi
70194done
70195
70196    fi
70197  fi
70198
70199
70200
70201
70202
70203    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70204$as_echo_n "checking for long double round functions... " >&6; }
70205  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70206  $as_echo_n "(cached) " >&6
70207else
70208
70209
70210    ac_ext=cpp
70211ac_cpp='$CXXCPP $CPPFLAGS'
70212ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70213ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70214ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70215
70216    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70217/* end confdefs.h.  */
70218#include <math.h>
70219int
70220main ()
70221{
70222ceill (0); floorl (0);
70223  ;
70224  return 0;
70225}
70226_ACEOF
70227if ac_fn_cxx_try_compile "$LINENO"; then :
70228  glibcxx_cv_func_long_double_round_use=yes
70229else
70230  glibcxx_cv_func_long_double_round_use=no
70231fi
70232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70233    ac_ext=c
70234ac_cpp='$CPP $CPPFLAGS'
70235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70237ac_compiler_gnu=$ac_cv_c_compiler_gnu
70238
70239fi
70240
70241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70242$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70243  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70244    for ac_func in ceill floorl
70245do :
70246  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70247ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70248if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70249  cat >>confdefs.h <<_ACEOF
70250#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70251_ACEOF
70252
70253fi
70254done
70255
70256  else
70257    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70258$as_echo_n "checking for _long double round functions... " >&6; }
70259    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70260  $as_echo_n "(cached) " >&6
70261else
70262
70263
70264      ac_ext=cpp
70265ac_cpp='$CXXCPP $CPPFLAGS'
70266ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70267ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70268ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70269
70270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70271/* end confdefs.h.  */
70272#include <math.h>
70273int
70274main ()
70275{
70276_ceill (0); _floorl (0);
70277  ;
70278  return 0;
70279}
70280_ACEOF
70281if ac_fn_cxx_try_compile "$LINENO"; then :
70282  glibcxx_cv_func__long_double_round_use=yes
70283else
70284  glibcxx_cv_func__long_double_round_use=no
70285fi
70286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70287      ac_ext=c
70288ac_cpp='$CPP $CPPFLAGS'
70289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70291ac_compiler_gnu=$ac_cv_c_compiler_gnu
70292
70293fi
70294
70295    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70296$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70297    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70298      for ac_func in _ceill _floorl
70299do :
70300  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70301ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70302if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70303  cat >>confdefs.h <<_ACEOF
70304#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70305_ACEOF
70306
70307fi
70308done
70309
70310    fi
70311  fi
70312
70313
70314
70315
70316
70317
70318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70319$as_echo_n "checking for isnanl declaration... " >&6; }
70320  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70321    if ${glibcxx_cv_func_isnanl_use+:} false; then :
70322  $as_echo_n "(cached) " >&6
70323else
70324
70325
70326      ac_ext=cpp
70327ac_cpp='$CXXCPP $CPPFLAGS'
70328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70329ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70331
70332      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70333/* end confdefs.h.  */
70334#include <math.h>
70335		      #ifdef HAVE_IEEEFP_H
70336		      #include <ieeefp.h>
70337		      #endif
70338
70339int
70340main ()
70341{
70342 isnanl(0);
70343  ;
70344  return 0;
70345}
70346_ACEOF
70347if ac_fn_cxx_try_compile "$LINENO"; then :
70348  glibcxx_cv_func_isnanl_use=yes
70349else
70350  glibcxx_cv_func_isnanl_use=no
70351fi
70352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70353      ac_ext=c
70354ac_cpp='$CPP $CPPFLAGS'
70355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70357ac_compiler_gnu=$ac_cv_c_compiler_gnu
70358
70359
70360fi
70361
70362  fi
70363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70364$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70365
70366  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70367    for ac_func in isnanl
70368do :
70369  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70370if test "x$ac_cv_func_isnanl" = xyes; then :
70371  cat >>confdefs.h <<_ACEOF
70372#define HAVE_ISNANL 1
70373_ACEOF
70374
70375fi
70376done
70377
70378  else
70379
70380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70381$as_echo_n "checking for _isnanl declaration... " >&6; }
70382  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70383    if ${glibcxx_cv_func__isnanl_use+:} false; then :
70384  $as_echo_n "(cached) " >&6
70385else
70386
70387
70388      ac_ext=cpp
70389ac_cpp='$CXXCPP $CPPFLAGS'
70390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70393
70394      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70395/* end confdefs.h.  */
70396#include <math.h>
70397		      #ifdef HAVE_IEEEFP_H
70398		      #include <ieeefp.h>
70399		      #endif
70400
70401int
70402main ()
70403{
70404 _isnanl(0);
70405  ;
70406  return 0;
70407}
70408_ACEOF
70409if ac_fn_cxx_try_compile "$LINENO"; then :
70410  glibcxx_cv_func__isnanl_use=yes
70411else
70412  glibcxx_cv_func__isnanl_use=no
70413fi
70414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70415      ac_ext=c
70416ac_cpp='$CPP $CPPFLAGS'
70417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419ac_compiler_gnu=$ac_cv_c_compiler_gnu
70420
70421
70422fi
70423
70424  fi
70425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70426$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70427
70428    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70429      for ac_func in _isnanl
70430do :
70431  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70432if test "x$ac_cv_func__isnanl" = xyes; then :
70433  cat >>confdefs.h <<_ACEOF
70434#define HAVE__ISNANL 1
70435_ACEOF
70436
70437fi
70438done
70439
70440    fi
70441  fi
70442
70443
70444
70445
70446
70447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70448$as_echo_n "checking for isinfl declaration... " >&6; }
70449  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70450    if ${glibcxx_cv_func_isinfl_use+:} false; then :
70451  $as_echo_n "(cached) " >&6
70452else
70453
70454
70455      ac_ext=cpp
70456ac_cpp='$CXXCPP $CPPFLAGS'
70457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70460
70461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70462/* end confdefs.h.  */
70463#include <math.h>
70464		      #ifdef HAVE_IEEEFP_H
70465		      #include <ieeefp.h>
70466		      #endif
70467
70468int
70469main ()
70470{
70471 isinfl(0);
70472  ;
70473  return 0;
70474}
70475_ACEOF
70476if ac_fn_cxx_try_compile "$LINENO"; then :
70477  glibcxx_cv_func_isinfl_use=yes
70478else
70479  glibcxx_cv_func_isinfl_use=no
70480fi
70481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70482      ac_ext=c
70483ac_cpp='$CPP $CPPFLAGS'
70484ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70485ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70486ac_compiler_gnu=$ac_cv_c_compiler_gnu
70487
70488
70489fi
70490
70491  fi
70492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70493$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70494
70495  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70496    for ac_func in isinfl
70497do :
70498  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70499if test "x$ac_cv_func_isinfl" = xyes; then :
70500  cat >>confdefs.h <<_ACEOF
70501#define HAVE_ISINFL 1
70502_ACEOF
70503
70504fi
70505done
70506
70507  else
70508
70509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70510$as_echo_n "checking for _isinfl declaration... " >&6; }
70511  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70512    if ${glibcxx_cv_func__isinfl_use+:} false; then :
70513  $as_echo_n "(cached) " >&6
70514else
70515
70516
70517      ac_ext=cpp
70518ac_cpp='$CXXCPP $CPPFLAGS'
70519ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70520ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70521ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70522
70523      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70524/* end confdefs.h.  */
70525#include <math.h>
70526		      #ifdef HAVE_IEEEFP_H
70527		      #include <ieeefp.h>
70528		      #endif
70529
70530int
70531main ()
70532{
70533 _isinfl(0);
70534  ;
70535  return 0;
70536}
70537_ACEOF
70538if ac_fn_cxx_try_compile "$LINENO"; then :
70539  glibcxx_cv_func__isinfl_use=yes
70540else
70541  glibcxx_cv_func__isinfl_use=no
70542fi
70543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70544      ac_ext=c
70545ac_cpp='$CPP $CPPFLAGS'
70546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70548ac_compiler_gnu=$ac_cv_c_compiler_gnu
70549
70550
70551fi
70552
70553  fi
70554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70555$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70556
70557    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70558      for ac_func in _isinfl
70559do :
70560  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70561if test "x$ac_cv_func__isinfl" = xyes; then :
70562  cat >>confdefs.h <<_ACEOF
70563#define HAVE__ISINFL 1
70564_ACEOF
70565
70566fi
70567done
70568
70569    fi
70570  fi
70571
70572
70573
70574
70575
70576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70577$as_echo_n "checking for atan2l declaration... " >&6; }
70578  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70579    if ${glibcxx_cv_func_atan2l_use+:} false; then :
70580  $as_echo_n "(cached) " >&6
70581else
70582
70583
70584      ac_ext=cpp
70585ac_cpp='$CXXCPP $CPPFLAGS'
70586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70589
70590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70591/* end confdefs.h.  */
70592#include <math.h>
70593int
70594main ()
70595{
70596 atan2l(0, 0);
70597  ;
70598  return 0;
70599}
70600_ACEOF
70601if ac_fn_cxx_try_compile "$LINENO"; then :
70602  glibcxx_cv_func_atan2l_use=yes
70603else
70604  glibcxx_cv_func_atan2l_use=no
70605fi
70606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70607      ac_ext=c
70608ac_cpp='$CPP $CPPFLAGS'
70609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70611ac_compiler_gnu=$ac_cv_c_compiler_gnu
70612
70613
70614fi
70615
70616  fi
70617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70618$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70619
70620  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70621    for ac_func in atan2l
70622do :
70623  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70624if test "x$ac_cv_func_atan2l" = xyes; then :
70625  cat >>confdefs.h <<_ACEOF
70626#define HAVE_ATAN2L 1
70627_ACEOF
70628
70629fi
70630done
70631
70632  else
70633
70634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70635$as_echo_n "checking for _atan2l declaration... " >&6; }
70636  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70637    if ${glibcxx_cv_func__atan2l_use+:} false; then :
70638  $as_echo_n "(cached) " >&6
70639else
70640
70641
70642      ac_ext=cpp
70643ac_cpp='$CXXCPP $CPPFLAGS'
70644ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70645ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70646ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70647
70648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70649/* end confdefs.h.  */
70650#include <math.h>
70651int
70652main ()
70653{
70654 _atan2l(0, 0);
70655  ;
70656  return 0;
70657}
70658_ACEOF
70659if ac_fn_cxx_try_compile "$LINENO"; then :
70660  glibcxx_cv_func__atan2l_use=yes
70661else
70662  glibcxx_cv_func__atan2l_use=no
70663fi
70664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70665      ac_ext=c
70666ac_cpp='$CPP $CPPFLAGS'
70667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70669ac_compiler_gnu=$ac_cv_c_compiler_gnu
70670
70671
70672fi
70673
70674  fi
70675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70676$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70677
70678    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70679      for ac_func in _atan2l
70680do :
70681  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70682if test "x$ac_cv_func__atan2l" = xyes; then :
70683  cat >>confdefs.h <<_ACEOF
70684#define HAVE__ATAN2L 1
70685_ACEOF
70686
70687fi
70688done
70689
70690    fi
70691  fi
70692
70693
70694
70695
70696
70697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70698$as_echo_n "checking for expl declaration... " >&6; }
70699  if test x${glibcxx_cv_func_expl_use+set} != xset; then
70700    if ${glibcxx_cv_func_expl_use+:} false; then :
70701  $as_echo_n "(cached) " >&6
70702else
70703
70704
70705      ac_ext=cpp
70706ac_cpp='$CXXCPP $CPPFLAGS'
70707ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70708ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70709ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70710
70711      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70712/* end confdefs.h.  */
70713#include <math.h>
70714		      #ifdef HAVE_IEEEFP_H
70715		      #include <ieeefp.h>
70716		      #endif
70717
70718int
70719main ()
70720{
70721 expl(0);
70722  ;
70723  return 0;
70724}
70725_ACEOF
70726if ac_fn_cxx_try_compile "$LINENO"; then :
70727  glibcxx_cv_func_expl_use=yes
70728else
70729  glibcxx_cv_func_expl_use=no
70730fi
70731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70732      ac_ext=c
70733ac_cpp='$CPP $CPPFLAGS'
70734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70736ac_compiler_gnu=$ac_cv_c_compiler_gnu
70737
70738
70739fi
70740
70741  fi
70742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70743$as_echo "$glibcxx_cv_func_expl_use" >&6; }
70744
70745  if test x$glibcxx_cv_func_expl_use = x"yes"; then
70746    for ac_func in expl
70747do :
70748  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70749if test "x$ac_cv_func_expl" = xyes; then :
70750  cat >>confdefs.h <<_ACEOF
70751#define HAVE_EXPL 1
70752_ACEOF
70753
70754fi
70755done
70756
70757  else
70758
70759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70760$as_echo_n "checking for _expl declaration... " >&6; }
70761  if test x${glibcxx_cv_func__expl_use+set} != xset; then
70762    if ${glibcxx_cv_func__expl_use+:} false; then :
70763  $as_echo_n "(cached) " >&6
70764else
70765
70766
70767      ac_ext=cpp
70768ac_cpp='$CXXCPP $CPPFLAGS'
70769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70772
70773      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70774/* end confdefs.h.  */
70775#include <math.h>
70776		      #ifdef HAVE_IEEEFP_H
70777		      #include <ieeefp.h>
70778		      #endif
70779
70780int
70781main ()
70782{
70783 _expl(0);
70784  ;
70785  return 0;
70786}
70787_ACEOF
70788if ac_fn_cxx_try_compile "$LINENO"; then :
70789  glibcxx_cv_func__expl_use=yes
70790else
70791  glibcxx_cv_func__expl_use=no
70792fi
70793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70794      ac_ext=c
70795ac_cpp='$CPP $CPPFLAGS'
70796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70798ac_compiler_gnu=$ac_cv_c_compiler_gnu
70799
70800
70801fi
70802
70803  fi
70804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70805$as_echo "$glibcxx_cv_func__expl_use" >&6; }
70806
70807    if test x$glibcxx_cv_func__expl_use = x"yes"; then
70808      for ac_func in _expl
70809do :
70810  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70811if test "x$ac_cv_func__expl" = xyes; then :
70812  cat >>confdefs.h <<_ACEOF
70813#define HAVE__EXPL 1
70814_ACEOF
70815
70816fi
70817done
70818
70819    fi
70820  fi
70821
70822
70823
70824
70825
70826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70827$as_echo_n "checking for fabsl declaration... " >&6; }
70828  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70829    if ${glibcxx_cv_func_fabsl_use+:} false; then :
70830  $as_echo_n "(cached) " >&6
70831else
70832
70833
70834      ac_ext=cpp
70835ac_cpp='$CXXCPP $CPPFLAGS'
70836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70839
70840      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70841/* end confdefs.h.  */
70842#include <math.h>
70843		      #ifdef HAVE_IEEEFP_H
70844		      #include <ieeefp.h>
70845		      #endif
70846
70847int
70848main ()
70849{
70850 fabsl(0);
70851  ;
70852  return 0;
70853}
70854_ACEOF
70855if ac_fn_cxx_try_compile "$LINENO"; then :
70856  glibcxx_cv_func_fabsl_use=yes
70857else
70858  glibcxx_cv_func_fabsl_use=no
70859fi
70860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70861      ac_ext=c
70862ac_cpp='$CPP $CPPFLAGS'
70863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70865ac_compiler_gnu=$ac_cv_c_compiler_gnu
70866
70867
70868fi
70869
70870  fi
70871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70872$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70873
70874  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70875    for ac_func in fabsl
70876do :
70877  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70878if test "x$ac_cv_func_fabsl" = xyes; then :
70879  cat >>confdefs.h <<_ACEOF
70880#define HAVE_FABSL 1
70881_ACEOF
70882
70883fi
70884done
70885
70886  else
70887
70888  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70889$as_echo_n "checking for _fabsl declaration... " >&6; }
70890  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70891    if ${glibcxx_cv_func__fabsl_use+:} false; then :
70892  $as_echo_n "(cached) " >&6
70893else
70894
70895
70896      ac_ext=cpp
70897ac_cpp='$CXXCPP $CPPFLAGS'
70898ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70901
70902      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70903/* end confdefs.h.  */
70904#include <math.h>
70905		      #ifdef HAVE_IEEEFP_H
70906		      #include <ieeefp.h>
70907		      #endif
70908
70909int
70910main ()
70911{
70912 _fabsl(0);
70913  ;
70914  return 0;
70915}
70916_ACEOF
70917if ac_fn_cxx_try_compile "$LINENO"; then :
70918  glibcxx_cv_func__fabsl_use=yes
70919else
70920  glibcxx_cv_func__fabsl_use=no
70921fi
70922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70923      ac_ext=c
70924ac_cpp='$CPP $CPPFLAGS'
70925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70927ac_compiler_gnu=$ac_cv_c_compiler_gnu
70928
70929
70930fi
70931
70932  fi
70933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70934$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70935
70936    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70937      for ac_func in _fabsl
70938do :
70939  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70940if test "x$ac_cv_func__fabsl" = xyes; then :
70941  cat >>confdefs.h <<_ACEOF
70942#define HAVE__FABSL 1
70943_ACEOF
70944
70945fi
70946done
70947
70948    fi
70949  fi
70950
70951
70952
70953
70954
70955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70956$as_echo_n "checking for fmodl declaration... " >&6; }
70957  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70958    if ${glibcxx_cv_func_fmodl_use+:} false; then :
70959  $as_echo_n "(cached) " >&6
70960else
70961
70962
70963      ac_ext=cpp
70964ac_cpp='$CXXCPP $CPPFLAGS'
70965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70968
70969      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70970/* end confdefs.h.  */
70971#include <math.h>
70972int
70973main ()
70974{
70975 fmodl(0, 0);
70976  ;
70977  return 0;
70978}
70979_ACEOF
70980if ac_fn_cxx_try_compile "$LINENO"; then :
70981  glibcxx_cv_func_fmodl_use=yes
70982else
70983  glibcxx_cv_func_fmodl_use=no
70984fi
70985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70986      ac_ext=c
70987ac_cpp='$CPP $CPPFLAGS'
70988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70990ac_compiler_gnu=$ac_cv_c_compiler_gnu
70991
70992
70993fi
70994
70995  fi
70996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70997$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70998
70999  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71000    for ac_func in fmodl
71001do :
71002  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71003if test "x$ac_cv_func_fmodl" = xyes; then :
71004  cat >>confdefs.h <<_ACEOF
71005#define HAVE_FMODL 1
71006_ACEOF
71007
71008fi
71009done
71010
71011  else
71012
71013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71014$as_echo_n "checking for _fmodl declaration... " >&6; }
71015  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71016    if ${glibcxx_cv_func__fmodl_use+:} false; then :
71017  $as_echo_n "(cached) " >&6
71018else
71019
71020
71021      ac_ext=cpp
71022ac_cpp='$CXXCPP $CPPFLAGS'
71023ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71024ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71025ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71026
71027      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71028/* end confdefs.h.  */
71029#include <math.h>
71030int
71031main ()
71032{
71033 _fmodl(0, 0);
71034  ;
71035  return 0;
71036}
71037_ACEOF
71038if ac_fn_cxx_try_compile "$LINENO"; then :
71039  glibcxx_cv_func__fmodl_use=yes
71040else
71041  glibcxx_cv_func__fmodl_use=no
71042fi
71043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71044      ac_ext=c
71045ac_cpp='$CPP $CPPFLAGS'
71046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71048ac_compiler_gnu=$ac_cv_c_compiler_gnu
71049
71050
71051fi
71052
71053  fi
71054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71055$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71056
71057    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71058      for ac_func in _fmodl
71059do :
71060  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71061if test "x$ac_cv_func__fmodl" = xyes; then :
71062  cat >>confdefs.h <<_ACEOF
71063#define HAVE__FMODL 1
71064_ACEOF
71065
71066fi
71067done
71068
71069    fi
71070  fi
71071
71072
71073
71074
71075
71076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71077$as_echo_n "checking for frexpl declaration... " >&6; }
71078  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71079    if ${glibcxx_cv_func_frexpl_use+:} false; then :
71080  $as_echo_n "(cached) " >&6
71081else
71082
71083
71084      ac_ext=cpp
71085ac_cpp='$CXXCPP $CPPFLAGS'
71086ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71087ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71088ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71089
71090      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71091/* end confdefs.h.  */
71092#include <math.h>
71093int
71094main ()
71095{
71096 frexpl(0, 0);
71097  ;
71098  return 0;
71099}
71100_ACEOF
71101if ac_fn_cxx_try_compile "$LINENO"; then :
71102  glibcxx_cv_func_frexpl_use=yes
71103else
71104  glibcxx_cv_func_frexpl_use=no
71105fi
71106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71107      ac_ext=c
71108ac_cpp='$CPP $CPPFLAGS'
71109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71111ac_compiler_gnu=$ac_cv_c_compiler_gnu
71112
71113
71114fi
71115
71116  fi
71117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71118$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71119
71120  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71121    for ac_func in frexpl
71122do :
71123  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71124if test "x$ac_cv_func_frexpl" = xyes; then :
71125  cat >>confdefs.h <<_ACEOF
71126#define HAVE_FREXPL 1
71127_ACEOF
71128
71129fi
71130done
71131
71132  else
71133
71134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71135$as_echo_n "checking for _frexpl declaration... " >&6; }
71136  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71137    if ${glibcxx_cv_func__frexpl_use+:} false; then :
71138  $as_echo_n "(cached) " >&6
71139else
71140
71141
71142      ac_ext=cpp
71143ac_cpp='$CXXCPP $CPPFLAGS'
71144ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71145ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71146ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71147
71148      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71149/* end confdefs.h.  */
71150#include <math.h>
71151int
71152main ()
71153{
71154 _frexpl(0, 0);
71155  ;
71156  return 0;
71157}
71158_ACEOF
71159if ac_fn_cxx_try_compile "$LINENO"; then :
71160  glibcxx_cv_func__frexpl_use=yes
71161else
71162  glibcxx_cv_func__frexpl_use=no
71163fi
71164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71165      ac_ext=c
71166ac_cpp='$CPP $CPPFLAGS'
71167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71169ac_compiler_gnu=$ac_cv_c_compiler_gnu
71170
71171
71172fi
71173
71174  fi
71175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71176$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71177
71178    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71179      for ac_func in _frexpl
71180do :
71181  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71182if test "x$ac_cv_func__frexpl" = xyes; then :
71183  cat >>confdefs.h <<_ACEOF
71184#define HAVE__FREXPL 1
71185_ACEOF
71186
71187fi
71188done
71189
71190    fi
71191  fi
71192
71193
71194
71195
71196
71197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71198$as_echo_n "checking for hypotl declaration... " >&6; }
71199  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71200    if ${glibcxx_cv_func_hypotl_use+:} false; then :
71201  $as_echo_n "(cached) " >&6
71202else
71203
71204
71205      ac_ext=cpp
71206ac_cpp='$CXXCPP $CPPFLAGS'
71207ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71208ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71209ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71210
71211      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71212/* end confdefs.h.  */
71213#include <math.h>
71214int
71215main ()
71216{
71217 hypotl(0, 0);
71218  ;
71219  return 0;
71220}
71221_ACEOF
71222if ac_fn_cxx_try_compile "$LINENO"; then :
71223  glibcxx_cv_func_hypotl_use=yes
71224else
71225  glibcxx_cv_func_hypotl_use=no
71226fi
71227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71228      ac_ext=c
71229ac_cpp='$CPP $CPPFLAGS'
71230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71232ac_compiler_gnu=$ac_cv_c_compiler_gnu
71233
71234
71235fi
71236
71237  fi
71238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71239$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71240
71241  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71242    for ac_func in hypotl
71243do :
71244  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71245if test "x$ac_cv_func_hypotl" = xyes; then :
71246  cat >>confdefs.h <<_ACEOF
71247#define HAVE_HYPOTL 1
71248_ACEOF
71249
71250fi
71251done
71252
71253  else
71254
71255  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71256$as_echo_n "checking for _hypotl declaration... " >&6; }
71257  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71258    if ${glibcxx_cv_func__hypotl_use+:} false; then :
71259  $as_echo_n "(cached) " >&6
71260else
71261
71262
71263      ac_ext=cpp
71264ac_cpp='$CXXCPP $CPPFLAGS'
71265ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71266ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71267ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71268
71269      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71270/* end confdefs.h.  */
71271#include <math.h>
71272int
71273main ()
71274{
71275 _hypotl(0, 0);
71276  ;
71277  return 0;
71278}
71279_ACEOF
71280if ac_fn_cxx_try_compile "$LINENO"; then :
71281  glibcxx_cv_func__hypotl_use=yes
71282else
71283  glibcxx_cv_func__hypotl_use=no
71284fi
71285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71286      ac_ext=c
71287ac_cpp='$CPP $CPPFLAGS'
71288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71290ac_compiler_gnu=$ac_cv_c_compiler_gnu
71291
71292
71293fi
71294
71295  fi
71296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71297$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71298
71299    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71300      for ac_func in _hypotl
71301do :
71302  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71303if test "x$ac_cv_func__hypotl" = xyes; then :
71304  cat >>confdefs.h <<_ACEOF
71305#define HAVE__HYPOTL 1
71306_ACEOF
71307
71308fi
71309done
71310
71311    fi
71312  fi
71313
71314
71315
71316
71317
71318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71319$as_echo_n "checking for ldexpl declaration... " >&6; }
71320  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71321    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71322  $as_echo_n "(cached) " >&6
71323else
71324
71325
71326      ac_ext=cpp
71327ac_cpp='$CXXCPP $CPPFLAGS'
71328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71329ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71331
71332      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71333/* end confdefs.h.  */
71334#include <math.h>
71335int
71336main ()
71337{
71338 ldexpl(0, 0);
71339  ;
71340  return 0;
71341}
71342_ACEOF
71343if ac_fn_cxx_try_compile "$LINENO"; then :
71344  glibcxx_cv_func_ldexpl_use=yes
71345else
71346  glibcxx_cv_func_ldexpl_use=no
71347fi
71348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71349      ac_ext=c
71350ac_cpp='$CPP $CPPFLAGS'
71351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71353ac_compiler_gnu=$ac_cv_c_compiler_gnu
71354
71355
71356fi
71357
71358  fi
71359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71360$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71361
71362  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71363    for ac_func in ldexpl
71364do :
71365  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71366if test "x$ac_cv_func_ldexpl" = xyes; then :
71367  cat >>confdefs.h <<_ACEOF
71368#define HAVE_LDEXPL 1
71369_ACEOF
71370
71371fi
71372done
71373
71374  else
71375
71376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71377$as_echo_n "checking for _ldexpl declaration... " >&6; }
71378  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71379    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71380  $as_echo_n "(cached) " >&6
71381else
71382
71383
71384      ac_ext=cpp
71385ac_cpp='$CXXCPP $CPPFLAGS'
71386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71389
71390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71391/* end confdefs.h.  */
71392#include <math.h>
71393int
71394main ()
71395{
71396 _ldexpl(0, 0);
71397  ;
71398  return 0;
71399}
71400_ACEOF
71401if ac_fn_cxx_try_compile "$LINENO"; then :
71402  glibcxx_cv_func__ldexpl_use=yes
71403else
71404  glibcxx_cv_func__ldexpl_use=no
71405fi
71406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71407      ac_ext=c
71408ac_cpp='$CPP $CPPFLAGS'
71409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71411ac_compiler_gnu=$ac_cv_c_compiler_gnu
71412
71413
71414fi
71415
71416  fi
71417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71418$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71419
71420    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71421      for ac_func in _ldexpl
71422do :
71423  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71424if test "x$ac_cv_func__ldexpl" = xyes; then :
71425  cat >>confdefs.h <<_ACEOF
71426#define HAVE__LDEXPL 1
71427_ACEOF
71428
71429fi
71430done
71431
71432    fi
71433  fi
71434
71435
71436
71437
71438
71439  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71440$as_echo_n "checking for logl declaration... " >&6; }
71441  if test x${glibcxx_cv_func_logl_use+set} != xset; then
71442    if ${glibcxx_cv_func_logl_use+:} false; then :
71443  $as_echo_n "(cached) " >&6
71444else
71445
71446
71447      ac_ext=cpp
71448ac_cpp='$CXXCPP $CPPFLAGS'
71449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71452
71453      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71454/* end confdefs.h.  */
71455#include <math.h>
71456		      #ifdef HAVE_IEEEFP_H
71457		      #include <ieeefp.h>
71458		      #endif
71459
71460int
71461main ()
71462{
71463 logl(0);
71464  ;
71465  return 0;
71466}
71467_ACEOF
71468if ac_fn_cxx_try_compile "$LINENO"; then :
71469  glibcxx_cv_func_logl_use=yes
71470else
71471  glibcxx_cv_func_logl_use=no
71472fi
71473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71474      ac_ext=c
71475ac_cpp='$CPP $CPPFLAGS'
71476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71478ac_compiler_gnu=$ac_cv_c_compiler_gnu
71479
71480
71481fi
71482
71483  fi
71484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71485$as_echo "$glibcxx_cv_func_logl_use" >&6; }
71486
71487  if test x$glibcxx_cv_func_logl_use = x"yes"; then
71488    for ac_func in logl
71489do :
71490  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71491if test "x$ac_cv_func_logl" = xyes; then :
71492  cat >>confdefs.h <<_ACEOF
71493#define HAVE_LOGL 1
71494_ACEOF
71495
71496fi
71497done
71498
71499  else
71500
71501  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71502$as_echo_n "checking for _logl declaration... " >&6; }
71503  if test x${glibcxx_cv_func__logl_use+set} != xset; then
71504    if ${glibcxx_cv_func__logl_use+:} false; then :
71505  $as_echo_n "(cached) " >&6
71506else
71507
71508
71509      ac_ext=cpp
71510ac_cpp='$CXXCPP $CPPFLAGS'
71511ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71512ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71513ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71514
71515      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71516/* end confdefs.h.  */
71517#include <math.h>
71518		      #ifdef HAVE_IEEEFP_H
71519		      #include <ieeefp.h>
71520		      #endif
71521
71522int
71523main ()
71524{
71525 _logl(0);
71526  ;
71527  return 0;
71528}
71529_ACEOF
71530if ac_fn_cxx_try_compile "$LINENO"; then :
71531  glibcxx_cv_func__logl_use=yes
71532else
71533  glibcxx_cv_func__logl_use=no
71534fi
71535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71536      ac_ext=c
71537ac_cpp='$CPP $CPPFLAGS'
71538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71540ac_compiler_gnu=$ac_cv_c_compiler_gnu
71541
71542
71543fi
71544
71545  fi
71546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71547$as_echo "$glibcxx_cv_func__logl_use" >&6; }
71548
71549    if test x$glibcxx_cv_func__logl_use = x"yes"; then
71550      for ac_func in _logl
71551do :
71552  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71553if test "x$ac_cv_func__logl" = xyes; then :
71554  cat >>confdefs.h <<_ACEOF
71555#define HAVE__LOGL 1
71556_ACEOF
71557
71558fi
71559done
71560
71561    fi
71562  fi
71563
71564
71565
71566
71567
71568  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71569$as_echo_n "checking for log10l declaration... " >&6; }
71570  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71571    if ${glibcxx_cv_func_log10l_use+:} false; then :
71572  $as_echo_n "(cached) " >&6
71573else
71574
71575
71576      ac_ext=cpp
71577ac_cpp='$CXXCPP $CPPFLAGS'
71578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71581
71582      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71583/* end confdefs.h.  */
71584#include <math.h>
71585		      #ifdef HAVE_IEEEFP_H
71586		      #include <ieeefp.h>
71587		      #endif
71588
71589int
71590main ()
71591{
71592 log10l(0);
71593  ;
71594  return 0;
71595}
71596_ACEOF
71597if ac_fn_cxx_try_compile "$LINENO"; then :
71598  glibcxx_cv_func_log10l_use=yes
71599else
71600  glibcxx_cv_func_log10l_use=no
71601fi
71602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71603      ac_ext=c
71604ac_cpp='$CPP $CPPFLAGS'
71605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71607ac_compiler_gnu=$ac_cv_c_compiler_gnu
71608
71609
71610fi
71611
71612  fi
71613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71614$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71615
71616  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71617    for ac_func in log10l
71618do :
71619  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71620if test "x$ac_cv_func_log10l" = xyes; then :
71621  cat >>confdefs.h <<_ACEOF
71622#define HAVE_LOG10L 1
71623_ACEOF
71624
71625fi
71626done
71627
71628  else
71629
71630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71631$as_echo_n "checking for _log10l declaration... " >&6; }
71632  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71633    if ${glibcxx_cv_func__log10l_use+:} false; then :
71634  $as_echo_n "(cached) " >&6
71635else
71636
71637
71638      ac_ext=cpp
71639ac_cpp='$CXXCPP $CPPFLAGS'
71640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71643
71644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71645/* end confdefs.h.  */
71646#include <math.h>
71647		      #ifdef HAVE_IEEEFP_H
71648		      #include <ieeefp.h>
71649		      #endif
71650
71651int
71652main ()
71653{
71654 _log10l(0);
71655  ;
71656  return 0;
71657}
71658_ACEOF
71659if ac_fn_cxx_try_compile "$LINENO"; then :
71660  glibcxx_cv_func__log10l_use=yes
71661else
71662  glibcxx_cv_func__log10l_use=no
71663fi
71664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71665      ac_ext=c
71666ac_cpp='$CPP $CPPFLAGS'
71667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71669ac_compiler_gnu=$ac_cv_c_compiler_gnu
71670
71671
71672fi
71673
71674  fi
71675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71676$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71677
71678    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71679      for ac_func in _log10l
71680do :
71681  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71682if test "x$ac_cv_func__log10l" = xyes; then :
71683  cat >>confdefs.h <<_ACEOF
71684#define HAVE__LOG10L 1
71685_ACEOF
71686
71687fi
71688done
71689
71690    fi
71691  fi
71692
71693
71694
71695
71696
71697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71698$as_echo_n "checking for modfl declaration... " >&6; }
71699  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71700    if ${glibcxx_cv_func_modfl_use+:} false; then :
71701  $as_echo_n "(cached) " >&6
71702else
71703
71704
71705      ac_ext=cpp
71706ac_cpp='$CXXCPP $CPPFLAGS'
71707ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71708ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71709ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71710
71711      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71712/* end confdefs.h.  */
71713#include <math.h>
71714int
71715main ()
71716{
71717 modfl(0, 0);
71718  ;
71719  return 0;
71720}
71721_ACEOF
71722if ac_fn_cxx_try_compile "$LINENO"; then :
71723  glibcxx_cv_func_modfl_use=yes
71724else
71725  glibcxx_cv_func_modfl_use=no
71726fi
71727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71728      ac_ext=c
71729ac_cpp='$CPP $CPPFLAGS'
71730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71732ac_compiler_gnu=$ac_cv_c_compiler_gnu
71733
71734
71735fi
71736
71737  fi
71738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71739$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71740
71741  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71742    for ac_func in modfl
71743do :
71744  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71745if test "x$ac_cv_func_modfl" = xyes; then :
71746  cat >>confdefs.h <<_ACEOF
71747#define HAVE_MODFL 1
71748_ACEOF
71749
71750fi
71751done
71752
71753  else
71754
71755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71756$as_echo_n "checking for _modfl declaration... " >&6; }
71757  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71758    if ${glibcxx_cv_func__modfl_use+:} false; then :
71759  $as_echo_n "(cached) " >&6
71760else
71761
71762
71763      ac_ext=cpp
71764ac_cpp='$CXXCPP $CPPFLAGS'
71765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71768
71769      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71770/* end confdefs.h.  */
71771#include <math.h>
71772int
71773main ()
71774{
71775 _modfl(0, 0);
71776  ;
71777  return 0;
71778}
71779_ACEOF
71780if ac_fn_cxx_try_compile "$LINENO"; then :
71781  glibcxx_cv_func__modfl_use=yes
71782else
71783  glibcxx_cv_func__modfl_use=no
71784fi
71785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71786      ac_ext=c
71787ac_cpp='$CPP $CPPFLAGS'
71788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71790ac_compiler_gnu=$ac_cv_c_compiler_gnu
71791
71792
71793fi
71794
71795  fi
71796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71797$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71798
71799    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71800      for ac_func in _modfl
71801do :
71802  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71803if test "x$ac_cv_func__modfl" = xyes; then :
71804  cat >>confdefs.h <<_ACEOF
71805#define HAVE__MODFL 1
71806_ACEOF
71807
71808fi
71809done
71810
71811    fi
71812  fi
71813
71814
71815
71816
71817
71818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71819$as_echo_n "checking for powl declaration... " >&6; }
71820  if test x${glibcxx_cv_func_powl_use+set} != xset; then
71821    if ${glibcxx_cv_func_powl_use+:} false; then :
71822  $as_echo_n "(cached) " >&6
71823else
71824
71825
71826      ac_ext=cpp
71827ac_cpp='$CXXCPP $CPPFLAGS'
71828ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71829ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71830ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71831
71832      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71833/* end confdefs.h.  */
71834#include <math.h>
71835int
71836main ()
71837{
71838 powl(0, 0);
71839  ;
71840  return 0;
71841}
71842_ACEOF
71843if ac_fn_cxx_try_compile "$LINENO"; then :
71844  glibcxx_cv_func_powl_use=yes
71845else
71846  glibcxx_cv_func_powl_use=no
71847fi
71848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71849      ac_ext=c
71850ac_cpp='$CPP $CPPFLAGS'
71851ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71852ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71853ac_compiler_gnu=$ac_cv_c_compiler_gnu
71854
71855
71856fi
71857
71858  fi
71859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71860$as_echo "$glibcxx_cv_func_powl_use" >&6; }
71861
71862  if test x$glibcxx_cv_func_powl_use = x"yes"; then
71863    for ac_func in powl
71864do :
71865  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71866if test "x$ac_cv_func_powl" = xyes; then :
71867  cat >>confdefs.h <<_ACEOF
71868#define HAVE_POWL 1
71869_ACEOF
71870
71871fi
71872done
71873
71874  else
71875
71876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71877$as_echo_n "checking for _powl declaration... " >&6; }
71878  if test x${glibcxx_cv_func__powl_use+set} != xset; then
71879    if ${glibcxx_cv_func__powl_use+:} false; then :
71880  $as_echo_n "(cached) " >&6
71881else
71882
71883
71884      ac_ext=cpp
71885ac_cpp='$CXXCPP $CPPFLAGS'
71886ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71887ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71888ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71889
71890      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71891/* end confdefs.h.  */
71892#include <math.h>
71893int
71894main ()
71895{
71896 _powl(0, 0);
71897  ;
71898  return 0;
71899}
71900_ACEOF
71901if ac_fn_cxx_try_compile "$LINENO"; then :
71902  glibcxx_cv_func__powl_use=yes
71903else
71904  glibcxx_cv_func__powl_use=no
71905fi
71906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71907      ac_ext=c
71908ac_cpp='$CPP $CPPFLAGS'
71909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71911ac_compiler_gnu=$ac_cv_c_compiler_gnu
71912
71913
71914fi
71915
71916  fi
71917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71918$as_echo "$glibcxx_cv_func__powl_use" >&6; }
71919
71920    if test x$glibcxx_cv_func__powl_use = x"yes"; then
71921      for ac_func in _powl
71922do :
71923  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71924if test "x$ac_cv_func__powl" = xyes; then :
71925  cat >>confdefs.h <<_ACEOF
71926#define HAVE__POWL 1
71927_ACEOF
71928
71929fi
71930done
71931
71932    fi
71933  fi
71934
71935
71936
71937
71938
71939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71940$as_echo_n "checking for sqrtl declaration... " >&6; }
71941  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71942    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
71943  $as_echo_n "(cached) " >&6
71944else
71945
71946
71947      ac_ext=cpp
71948ac_cpp='$CXXCPP $CPPFLAGS'
71949ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71950ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71951ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71952
71953      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71954/* end confdefs.h.  */
71955#include <math.h>
71956		      #ifdef HAVE_IEEEFP_H
71957		      #include <ieeefp.h>
71958		      #endif
71959
71960int
71961main ()
71962{
71963 sqrtl(0);
71964  ;
71965  return 0;
71966}
71967_ACEOF
71968if ac_fn_cxx_try_compile "$LINENO"; then :
71969  glibcxx_cv_func_sqrtl_use=yes
71970else
71971  glibcxx_cv_func_sqrtl_use=no
71972fi
71973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71974      ac_ext=c
71975ac_cpp='$CPP $CPPFLAGS'
71976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71978ac_compiler_gnu=$ac_cv_c_compiler_gnu
71979
71980
71981fi
71982
71983  fi
71984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71985$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71986
71987  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71988    for ac_func in sqrtl
71989do :
71990  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71991if test "x$ac_cv_func_sqrtl" = xyes; then :
71992  cat >>confdefs.h <<_ACEOF
71993#define HAVE_SQRTL 1
71994_ACEOF
71995
71996fi
71997done
71998
71999  else
72000
72001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72002$as_echo_n "checking for _sqrtl declaration... " >&6; }
72003  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72004    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72005  $as_echo_n "(cached) " >&6
72006else
72007
72008
72009      ac_ext=cpp
72010ac_cpp='$CXXCPP $CPPFLAGS'
72011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72014
72015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72016/* end confdefs.h.  */
72017#include <math.h>
72018		      #ifdef HAVE_IEEEFP_H
72019		      #include <ieeefp.h>
72020		      #endif
72021
72022int
72023main ()
72024{
72025 _sqrtl(0);
72026  ;
72027  return 0;
72028}
72029_ACEOF
72030if ac_fn_cxx_try_compile "$LINENO"; then :
72031  glibcxx_cv_func__sqrtl_use=yes
72032else
72033  glibcxx_cv_func__sqrtl_use=no
72034fi
72035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72036      ac_ext=c
72037ac_cpp='$CPP $CPPFLAGS'
72038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72040ac_compiler_gnu=$ac_cv_c_compiler_gnu
72041
72042
72043fi
72044
72045  fi
72046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72047$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72048
72049    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72050      for ac_func in _sqrtl
72051do :
72052  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72053if test "x$ac_cv_func__sqrtl" = xyes; then :
72054  cat >>confdefs.h <<_ACEOF
72055#define HAVE__SQRTL 1
72056_ACEOF
72057
72058fi
72059done
72060
72061    fi
72062  fi
72063
72064
72065
72066
72067
72068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72069$as_echo_n "checking for sincosl declaration... " >&6; }
72070  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72071    if ${glibcxx_cv_func_sincosl_use+:} false; then :
72072  $as_echo_n "(cached) " >&6
72073else
72074
72075
72076      ac_ext=cpp
72077ac_cpp='$CXXCPP $CPPFLAGS'
72078ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72079ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72080ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72081
72082      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72083/* end confdefs.h.  */
72084#include <math.h>
72085int
72086main ()
72087{
72088 sincosl(0, 0, 0);
72089  ;
72090  return 0;
72091}
72092_ACEOF
72093if ac_fn_cxx_try_compile "$LINENO"; then :
72094  glibcxx_cv_func_sincosl_use=yes
72095else
72096  glibcxx_cv_func_sincosl_use=no
72097fi
72098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72099      ac_ext=c
72100ac_cpp='$CPP $CPPFLAGS'
72101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72103ac_compiler_gnu=$ac_cv_c_compiler_gnu
72104
72105
72106fi
72107
72108  fi
72109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72110$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72111
72112  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72113    for ac_func in sincosl
72114do :
72115  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72116if test "x$ac_cv_func_sincosl" = xyes; then :
72117  cat >>confdefs.h <<_ACEOF
72118#define HAVE_SINCOSL 1
72119_ACEOF
72120
72121fi
72122done
72123
72124  else
72125
72126  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72127$as_echo_n "checking for _sincosl declaration... " >&6; }
72128  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72129    if ${glibcxx_cv_func__sincosl_use+:} false; then :
72130  $as_echo_n "(cached) " >&6
72131else
72132
72133
72134      ac_ext=cpp
72135ac_cpp='$CXXCPP $CPPFLAGS'
72136ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72137ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72138ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72139
72140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72141/* end confdefs.h.  */
72142#include <math.h>
72143int
72144main ()
72145{
72146 _sincosl(0, 0, 0);
72147  ;
72148  return 0;
72149}
72150_ACEOF
72151if ac_fn_cxx_try_compile "$LINENO"; then :
72152  glibcxx_cv_func__sincosl_use=yes
72153else
72154  glibcxx_cv_func__sincosl_use=no
72155fi
72156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72157      ac_ext=c
72158ac_cpp='$CPP $CPPFLAGS'
72159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72161ac_compiler_gnu=$ac_cv_c_compiler_gnu
72162
72163
72164fi
72165
72166  fi
72167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72168$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72169
72170    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72171      for ac_func in _sincosl
72172do :
72173  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72174if test "x$ac_cv_func__sincosl" = xyes; then :
72175  cat >>confdefs.h <<_ACEOF
72176#define HAVE__SINCOSL 1
72177_ACEOF
72178
72179fi
72180done
72181
72182    fi
72183  fi
72184
72185
72186
72187
72188
72189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72190$as_echo_n "checking for finitel declaration... " >&6; }
72191  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72192    if ${glibcxx_cv_func_finitel_use+:} false; then :
72193  $as_echo_n "(cached) " >&6
72194else
72195
72196
72197      ac_ext=cpp
72198ac_cpp='$CXXCPP $CPPFLAGS'
72199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72202
72203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72204/* end confdefs.h.  */
72205#include <math.h>
72206		      #ifdef HAVE_IEEEFP_H
72207		      #include <ieeefp.h>
72208		      #endif
72209
72210int
72211main ()
72212{
72213 finitel(0);
72214  ;
72215  return 0;
72216}
72217_ACEOF
72218if ac_fn_cxx_try_compile "$LINENO"; then :
72219  glibcxx_cv_func_finitel_use=yes
72220else
72221  glibcxx_cv_func_finitel_use=no
72222fi
72223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72224      ac_ext=c
72225ac_cpp='$CPP $CPPFLAGS'
72226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72228ac_compiler_gnu=$ac_cv_c_compiler_gnu
72229
72230
72231fi
72232
72233  fi
72234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72235$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72236
72237  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72238    for ac_func in finitel
72239do :
72240  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72241if test "x$ac_cv_func_finitel" = xyes; then :
72242  cat >>confdefs.h <<_ACEOF
72243#define HAVE_FINITEL 1
72244_ACEOF
72245
72246fi
72247done
72248
72249  else
72250
72251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72252$as_echo_n "checking for _finitel declaration... " >&6; }
72253  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72254    if ${glibcxx_cv_func__finitel_use+:} false; then :
72255  $as_echo_n "(cached) " >&6
72256else
72257
72258
72259      ac_ext=cpp
72260ac_cpp='$CXXCPP $CPPFLAGS'
72261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72264
72265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72266/* end confdefs.h.  */
72267#include <math.h>
72268		      #ifdef HAVE_IEEEFP_H
72269		      #include <ieeefp.h>
72270		      #endif
72271
72272int
72273main ()
72274{
72275 _finitel(0);
72276  ;
72277  return 0;
72278}
72279_ACEOF
72280if ac_fn_cxx_try_compile "$LINENO"; then :
72281  glibcxx_cv_func__finitel_use=yes
72282else
72283  glibcxx_cv_func__finitel_use=no
72284fi
72285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72286      ac_ext=c
72287ac_cpp='$CPP $CPPFLAGS'
72288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72290ac_compiler_gnu=$ac_cv_c_compiler_gnu
72291
72292
72293fi
72294
72295  fi
72296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72297$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72298
72299    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72300      for ac_func in _finitel
72301do :
72302  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72303if test "x$ac_cv_func__finitel" = xyes; then :
72304  cat >>confdefs.h <<_ACEOF
72305#define HAVE__FINITEL 1
72306_ACEOF
72307
72308fi
72309done
72310
72311    fi
72312  fi
72313
72314
72315
72316
72317  LIBS="$ac_save_LIBS"
72318  CXXFLAGS="$ac_save_CXXFLAGS"
72319
72320
72321  ac_test_CXXFLAGS="${CXXFLAGS+set}"
72322  ac_save_CXXFLAGS="$CXXFLAGS"
72323  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72324
72325
72326  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72327$as_echo_n "checking for at_quick_exit declaration... " >&6; }
72328  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72329    if ${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
72343int
72344main ()
72345{
72346 at_quick_exit(0);
72347  ;
72348  return 0;
72349}
72350_ACEOF
72351if ac_fn_cxx_try_compile "$LINENO"; then :
72352  glibcxx_cv_func_at_quick_exit_use=yes
72353else
72354  glibcxx_cv_func_at_quick_exit_use=no
72355fi
72356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72357      ac_ext=c
72358ac_cpp='$CPP $CPPFLAGS'
72359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72361ac_compiler_gnu=$ac_cv_c_compiler_gnu
72362
72363
72364fi
72365
72366  fi
72367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72368$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72369  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72370    for ac_func in at_quick_exit
72371do :
72372  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72373if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72374  cat >>confdefs.h <<_ACEOF
72375#define HAVE_AT_QUICK_EXIT 1
72376_ACEOF
72377
72378fi
72379done
72380
72381  fi
72382
72383
72384  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72385$as_echo_n "checking for quick_exit declaration... " >&6; }
72386  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72387    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72388  $as_echo_n "(cached) " >&6
72389else
72390
72391
72392      ac_ext=cpp
72393ac_cpp='$CXXCPP $CPPFLAGS'
72394ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72395ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72396ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72397
72398      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72399/* end confdefs.h.  */
72400#include <stdlib.h>
72401int
72402main ()
72403{
72404 quick_exit(0);
72405  ;
72406  return 0;
72407}
72408_ACEOF
72409if ac_fn_cxx_try_compile "$LINENO"; then :
72410  glibcxx_cv_func_quick_exit_use=yes
72411else
72412  glibcxx_cv_func_quick_exit_use=no
72413fi
72414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72415      ac_ext=c
72416ac_cpp='$CPP $CPPFLAGS'
72417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72419ac_compiler_gnu=$ac_cv_c_compiler_gnu
72420
72421
72422fi
72423
72424  fi
72425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72426$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72427  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72428    for ac_func in quick_exit
72429do :
72430  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72431if test "x$ac_cv_func_quick_exit" = xyes; then :
72432  cat >>confdefs.h <<_ACEOF
72433#define HAVE_QUICK_EXIT 1
72434_ACEOF
72435
72436fi
72437done
72438
72439  fi
72440
72441
72442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72443$as_echo_n "checking for strtold declaration... " >&6; }
72444  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72445    if ${glibcxx_cv_func_strtold_use+:} false; then :
72446  $as_echo_n "(cached) " >&6
72447else
72448
72449
72450      ac_ext=cpp
72451ac_cpp='$CXXCPP $CPPFLAGS'
72452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72455
72456      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72457/* end confdefs.h.  */
72458#include <stdlib.h>
72459int
72460main ()
72461{
72462 strtold(0, 0);
72463  ;
72464  return 0;
72465}
72466_ACEOF
72467if ac_fn_cxx_try_compile "$LINENO"; then :
72468  glibcxx_cv_func_strtold_use=yes
72469else
72470  glibcxx_cv_func_strtold_use=no
72471fi
72472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72473      ac_ext=c
72474ac_cpp='$CPP $CPPFLAGS'
72475ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72476ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72477ac_compiler_gnu=$ac_cv_c_compiler_gnu
72478
72479
72480fi
72481
72482  fi
72483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72484$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72485  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72486    for ac_func in strtold
72487do :
72488  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72489if test "x$ac_cv_func_strtold" = xyes; then :
72490  cat >>confdefs.h <<_ACEOF
72491#define HAVE_STRTOLD 1
72492_ACEOF
72493
72494fi
72495done
72496
72497  fi
72498
72499
72500
72501
72502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72503$as_echo_n "checking for strtof declaration... " >&6; }
72504  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72505    if ${glibcxx_cv_func_strtof_use+:} false; then :
72506  $as_echo_n "(cached) " >&6
72507else
72508
72509
72510      ac_ext=cpp
72511ac_cpp='$CXXCPP $CPPFLAGS'
72512ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72513ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72514ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72515
72516      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72517/* end confdefs.h.  */
72518#include <stdlib.h>
72519int
72520main ()
72521{
72522 strtof(0, 0);
72523  ;
72524  return 0;
72525}
72526_ACEOF
72527if ac_fn_cxx_try_compile "$LINENO"; then :
72528  glibcxx_cv_func_strtof_use=yes
72529else
72530  glibcxx_cv_func_strtof_use=no
72531fi
72532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72533      ac_ext=c
72534ac_cpp='$CPP $CPPFLAGS'
72535ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72536ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72537ac_compiler_gnu=$ac_cv_c_compiler_gnu
72538
72539
72540fi
72541
72542  fi
72543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72544$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72545  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72546    for ac_func in strtof
72547do :
72548  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72549if test "x$ac_cv_func_strtof" = xyes; then :
72550  cat >>confdefs.h <<_ACEOF
72551#define HAVE_STRTOF 1
72552_ACEOF
72553
72554fi
72555done
72556
72557  fi
72558
72559
72560
72561
72562  CXXFLAGS="$ac_save_CXXFLAGS"
72563
72564    ;;
72565  *-vxworks*)
72566    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72567
72568    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72569
72570    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72571
72572    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72573
72574    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72575
72576    $as_echo "#define HAVE_COSF 1" >>confdefs.h
72577
72578    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72579
72580    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72581
72582    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72583
72584    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72585
72586    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72587
72588    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72589
72590    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72591
72592    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72593
72594    $as_echo "#define HAVE_POWF 1" >>confdefs.h
72595
72596    $as_echo "#define HAVE_SINF 1" >>confdefs.h
72597
72598    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72599
72600    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72601
72602    $as_echo "#define HAVE_TANF 1" >>confdefs.h
72603
72604    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72605
72606
72607
72608
72609
72610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72611$as_echo_n "checking for acosl declaration... " >&6; }
72612if ${glibcxx_cv_func_acosl_use+:} false; then :
72613  $as_echo_n "(cached) " >&6
72614else
72615
72616
72617      ac_ext=c
72618ac_cpp='$CPP $CPPFLAGS'
72619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72621ac_compiler_gnu=$ac_cv_c_compiler_gnu
72622
72623      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72624/* end confdefs.h.  */
72625
72626#include <math.h>
72627#ifdef HAVE_IEEEFP_H
72628# include <ieeefp.h>
72629#endif
72630#undef acosl
72631
72632int
72633main ()
72634{
72635
72636  void (*f)(void) = (void (*)(void))acosl;
72637
72638  ;
72639  return 0;
72640}
72641_ACEOF
72642if ac_fn_c_try_compile "$LINENO"; then :
72643  glibcxx_cv_func_acosl_use=yes
72644
72645else
72646  glibcxx_cv_func_acosl_use=no
72647fi
72648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72649fi
72650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72651$as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72652  if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72653    cat >>confdefs.h <<_ACEOF
72654#define HAVE_ACOSL 1
72655_ACEOF
72656
72657  fi
72658
72659
72660
72661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72662$as_echo_n "checking for asinl declaration... " >&6; }
72663if ${glibcxx_cv_func_asinl_use+:} false; then :
72664  $as_echo_n "(cached) " >&6
72665else
72666
72667
72668      ac_ext=c
72669ac_cpp='$CPP $CPPFLAGS'
72670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72672ac_compiler_gnu=$ac_cv_c_compiler_gnu
72673
72674      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72675/* end confdefs.h.  */
72676
72677#include <math.h>
72678#ifdef HAVE_IEEEFP_H
72679# include <ieeefp.h>
72680#endif
72681#undef asinl
72682
72683int
72684main ()
72685{
72686
72687  void (*f)(void) = (void (*)(void))asinl;
72688
72689  ;
72690  return 0;
72691}
72692_ACEOF
72693if ac_fn_c_try_compile "$LINENO"; then :
72694  glibcxx_cv_func_asinl_use=yes
72695
72696else
72697  glibcxx_cv_func_asinl_use=no
72698fi
72699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72700fi
72701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72702$as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72703  if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72704    cat >>confdefs.h <<_ACEOF
72705#define HAVE_ASINL 1
72706_ACEOF
72707
72708  fi
72709
72710
72711
72712  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72713$as_echo_n "checking for atan2l declaration... " >&6; }
72714if ${glibcxx_cv_func_atan2l_use+:} false; then :
72715  $as_echo_n "(cached) " >&6
72716else
72717
72718
72719      ac_ext=c
72720ac_cpp='$CPP $CPPFLAGS'
72721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72723ac_compiler_gnu=$ac_cv_c_compiler_gnu
72724
72725      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72726/* end confdefs.h.  */
72727
72728#include <math.h>
72729#ifdef HAVE_IEEEFP_H
72730# include <ieeefp.h>
72731#endif
72732#undef atan2l
72733
72734int
72735main ()
72736{
72737
72738  void (*f)(void) = (void (*)(void))atan2l;
72739
72740  ;
72741  return 0;
72742}
72743_ACEOF
72744if ac_fn_c_try_compile "$LINENO"; then :
72745  glibcxx_cv_func_atan2l_use=yes
72746
72747else
72748  glibcxx_cv_func_atan2l_use=no
72749fi
72750rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72751fi
72752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72753$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72754  if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72755    cat >>confdefs.h <<_ACEOF
72756#define HAVE_ATAN2L 1
72757_ACEOF
72758
72759  fi
72760
72761
72762
72763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72764$as_echo_n "checking for atanl declaration... " >&6; }
72765if ${glibcxx_cv_func_atanl_use+:} false; then :
72766  $as_echo_n "(cached) " >&6
72767else
72768
72769
72770      ac_ext=c
72771ac_cpp='$CPP $CPPFLAGS'
72772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72774ac_compiler_gnu=$ac_cv_c_compiler_gnu
72775
72776      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72777/* end confdefs.h.  */
72778
72779#include <math.h>
72780#ifdef HAVE_IEEEFP_H
72781# include <ieeefp.h>
72782#endif
72783#undef atanl
72784
72785int
72786main ()
72787{
72788
72789  void (*f)(void) = (void (*)(void))atanl;
72790
72791  ;
72792  return 0;
72793}
72794_ACEOF
72795if ac_fn_c_try_compile "$LINENO"; then :
72796  glibcxx_cv_func_atanl_use=yes
72797
72798else
72799  glibcxx_cv_func_atanl_use=no
72800fi
72801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72802fi
72803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72804$as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72805  if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72806    cat >>confdefs.h <<_ACEOF
72807#define HAVE_ATANL 1
72808_ACEOF
72809
72810  fi
72811
72812
72813
72814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72815$as_echo_n "checking for ceill declaration... " >&6; }
72816if ${glibcxx_cv_func_ceill_use+:} false; then :
72817  $as_echo_n "(cached) " >&6
72818else
72819
72820
72821      ac_ext=c
72822ac_cpp='$CPP $CPPFLAGS'
72823ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72824ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72825ac_compiler_gnu=$ac_cv_c_compiler_gnu
72826
72827      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72828/* end confdefs.h.  */
72829
72830#include <math.h>
72831#ifdef HAVE_IEEEFP_H
72832# include <ieeefp.h>
72833#endif
72834#undef ceill
72835
72836int
72837main ()
72838{
72839
72840  void (*f)(void) = (void (*)(void))ceill;
72841
72842  ;
72843  return 0;
72844}
72845_ACEOF
72846if ac_fn_c_try_compile "$LINENO"; then :
72847  glibcxx_cv_func_ceill_use=yes
72848
72849else
72850  glibcxx_cv_func_ceill_use=no
72851fi
72852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72853fi
72854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72855$as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72856  if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72857    cat >>confdefs.h <<_ACEOF
72858#define HAVE_CEILL 1
72859_ACEOF
72860
72861  fi
72862
72863
72864
72865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
72866$as_echo_n "checking for cosl declaration... " >&6; }
72867if ${glibcxx_cv_func_cosl_use+:} false; then :
72868  $as_echo_n "(cached) " >&6
72869else
72870
72871
72872      ac_ext=c
72873ac_cpp='$CPP $CPPFLAGS'
72874ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72875ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72876ac_compiler_gnu=$ac_cv_c_compiler_gnu
72877
72878      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72879/* end confdefs.h.  */
72880
72881#include <math.h>
72882#ifdef HAVE_IEEEFP_H
72883# include <ieeefp.h>
72884#endif
72885#undef cosl
72886
72887int
72888main ()
72889{
72890
72891  void (*f)(void) = (void (*)(void))cosl;
72892
72893  ;
72894  return 0;
72895}
72896_ACEOF
72897if ac_fn_c_try_compile "$LINENO"; then :
72898  glibcxx_cv_func_cosl_use=yes
72899
72900else
72901  glibcxx_cv_func_cosl_use=no
72902fi
72903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72904fi
72905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
72906$as_echo "$glibcxx_cv_func_cosl_use" >&6; }
72907  if test "x$glibcxx_cv_func_cosl_use" = xyes; then
72908    cat >>confdefs.h <<_ACEOF
72909#define HAVE_COSL 1
72910_ACEOF
72911
72912  fi
72913
72914
72915
72916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
72917$as_echo_n "checking for coshl declaration... " >&6; }
72918if ${glibcxx_cv_func_coshl_use+:} false; then :
72919  $as_echo_n "(cached) " >&6
72920else
72921
72922
72923      ac_ext=c
72924ac_cpp='$CPP $CPPFLAGS'
72925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72927ac_compiler_gnu=$ac_cv_c_compiler_gnu
72928
72929      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72930/* end confdefs.h.  */
72931
72932#include <math.h>
72933#ifdef HAVE_IEEEFP_H
72934# include <ieeefp.h>
72935#endif
72936#undef coshl
72937
72938int
72939main ()
72940{
72941
72942  void (*f)(void) = (void (*)(void))coshl;
72943
72944  ;
72945  return 0;
72946}
72947_ACEOF
72948if ac_fn_c_try_compile "$LINENO"; then :
72949  glibcxx_cv_func_coshl_use=yes
72950
72951else
72952  glibcxx_cv_func_coshl_use=no
72953fi
72954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72955fi
72956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
72957$as_echo "$glibcxx_cv_func_coshl_use" >&6; }
72958  if test "x$glibcxx_cv_func_coshl_use" = xyes; then
72959    cat >>confdefs.h <<_ACEOF
72960#define HAVE_COSHL 1
72961_ACEOF
72962
72963  fi
72964
72965
72966
72967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
72968$as_echo_n "checking for expl declaration... " >&6; }
72969if ${glibcxx_cv_func_expl_use+:} false; then :
72970  $as_echo_n "(cached) " >&6
72971else
72972
72973
72974      ac_ext=c
72975ac_cpp='$CPP $CPPFLAGS'
72976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72978ac_compiler_gnu=$ac_cv_c_compiler_gnu
72979
72980      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72981/* end confdefs.h.  */
72982
72983#include <math.h>
72984#ifdef HAVE_IEEEFP_H
72985# include <ieeefp.h>
72986#endif
72987#undef expl
72988
72989int
72990main ()
72991{
72992
72993  void (*f)(void) = (void (*)(void))expl;
72994
72995  ;
72996  return 0;
72997}
72998_ACEOF
72999if ac_fn_c_try_compile "$LINENO"; then :
73000  glibcxx_cv_func_expl_use=yes
73001
73002else
73003  glibcxx_cv_func_expl_use=no
73004fi
73005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73006fi
73007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73008$as_echo "$glibcxx_cv_func_expl_use" >&6; }
73009  if test "x$glibcxx_cv_func_expl_use" = xyes; then
73010    cat >>confdefs.h <<_ACEOF
73011#define HAVE_EXPL 1
73012_ACEOF
73013
73014  fi
73015
73016
73017
73018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73019$as_echo_n "checking for fabsl declaration... " >&6; }
73020if ${glibcxx_cv_func_fabsl_use+:} false; then :
73021  $as_echo_n "(cached) " >&6
73022else
73023
73024
73025      ac_ext=c
73026ac_cpp='$CPP $CPPFLAGS'
73027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73029ac_compiler_gnu=$ac_cv_c_compiler_gnu
73030
73031      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73032/* end confdefs.h.  */
73033
73034#include <math.h>
73035#ifdef HAVE_IEEEFP_H
73036# include <ieeefp.h>
73037#endif
73038#undef fabsl
73039
73040int
73041main ()
73042{
73043
73044  void (*f)(void) = (void (*)(void))fabsl;
73045
73046  ;
73047  return 0;
73048}
73049_ACEOF
73050if ac_fn_c_try_compile "$LINENO"; then :
73051  glibcxx_cv_func_fabsl_use=yes
73052
73053else
73054  glibcxx_cv_func_fabsl_use=no
73055fi
73056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73057fi
73058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73059$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73060  if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73061    cat >>confdefs.h <<_ACEOF
73062#define HAVE_FABSL 1
73063_ACEOF
73064
73065  fi
73066
73067
73068
73069  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73070$as_echo_n "checking for floorl declaration... " >&6; }
73071if ${glibcxx_cv_func_floorl_use+:} false; then :
73072  $as_echo_n "(cached) " >&6
73073else
73074
73075
73076      ac_ext=c
73077ac_cpp='$CPP $CPPFLAGS'
73078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73080ac_compiler_gnu=$ac_cv_c_compiler_gnu
73081
73082      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73083/* end confdefs.h.  */
73084
73085#include <math.h>
73086#ifdef HAVE_IEEEFP_H
73087# include <ieeefp.h>
73088#endif
73089#undef floorl
73090
73091int
73092main ()
73093{
73094
73095  void (*f)(void) = (void (*)(void))floorl;
73096
73097  ;
73098  return 0;
73099}
73100_ACEOF
73101if ac_fn_c_try_compile "$LINENO"; then :
73102  glibcxx_cv_func_floorl_use=yes
73103
73104else
73105  glibcxx_cv_func_floorl_use=no
73106fi
73107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73108fi
73109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73110$as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73111  if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73112    cat >>confdefs.h <<_ACEOF
73113#define HAVE_FLOORL 1
73114_ACEOF
73115
73116  fi
73117
73118
73119
73120  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73121$as_echo_n "checking for fmodl declaration... " >&6; }
73122if ${glibcxx_cv_func_fmodl_use+:} false; then :
73123  $as_echo_n "(cached) " >&6
73124else
73125
73126
73127      ac_ext=c
73128ac_cpp='$CPP $CPPFLAGS'
73129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73131ac_compiler_gnu=$ac_cv_c_compiler_gnu
73132
73133      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73134/* end confdefs.h.  */
73135
73136#include <math.h>
73137#ifdef HAVE_IEEEFP_H
73138# include <ieeefp.h>
73139#endif
73140#undef fmodl
73141
73142int
73143main ()
73144{
73145
73146  void (*f)(void) = (void (*)(void))fmodl;
73147
73148  ;
73149  return 0;
73150}
73151_ACEOF
73152if ac_fn_c_try_compile "$LINENO"; then :
73153  glibcxx_cv_func_fmodl_use=yes
73154
73155else
73156  glibcxx_cv_func_fmodl_use=no
73157fi
73158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73159fi
73160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73161$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73162  if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73163    cat >>confdefs.h <<_ACEOF
73164#define HAVE_FMODL 1
73165_ACEOF
73166
73167  fi
73168
73169
73170
73171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73172$as_echo_n "checking for frexpl declaration... " >&6; }
73173if ${glibcxx_cv_func_frexpl_use+:} false; then :
73174  $as_echo_n "(cached) " >&6
73175else
73176
73177
73178      ac_ext=c
73179ac_cpp='$CPP $CPPFLAGS'
73180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73182ac_compiler_gnu=$ac_cv_c_compiler_gnu
73183
73184      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73185/* end confdefs.h.  */
73186
73187#include <math.h>
73188#ifdef HAVE_IEEEFP_H
73189# include <ieeefp.h>
73190#endif
73191#undef frexpl
73192
73193int
73194main ()
73195{
73196
73197  void (*f)(void) = (void (*)(void))frexpl;
73198
73199  ;
73200  return 0;
73201}
73202_ACEOF
73203if ac_fn_c_try_compile "$LINENO"; then :
73204  glibcxx_cv_func_frexpl_use=yes
73205
73206else
73207  glibcxx_cv_func_frexpl_use=no
73208fi
73209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73210fi
73211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73212$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73213  if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73214    cat >>confdefs.h <<_ACEOF
73215#define HAVE_FREXPL 1
73216_ACEOF
73217
73218  fi
73219
73220
73221
73222  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73223$as_echo_n "checking for ldexpl declaration... " >&6; }
73224if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73225  $as_echo_n "(cached) " >&6
73226else
73227
73228
73229      ac_ext=c
73230ac_cpp='$CPP $CPPFLAGS'
73231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73233ac_compiler_gnu=$ac_cv_c_compiler_gnu
73234
73235      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73236/* end confdefs.h.  */
73237
73238#include <math.h>
73239#ifdef HAVE_IEEEFP_H
73240# include <ieeefp.h>
73241#endif
73242#undef ldexpl
73243
73244int
73245main ()
73246{
73247
73248  void (*f)(void) = (void (*)(void))ldexpl;
73249
73250  ;
73251  return 0;
73252}
73253_ACEOF
73254if ac_fn_c_try_compile "$LINENO"; then :
73255  glibcxx_cv_func_ldexpl_use=yes
73256
73257else
73258  glibcxx_cv_func_ldexpl_use=no
73259fi
73260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73261fi
73262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73263$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73264  if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73265    cat >>confdefs.h <<_ACEOF
73266#define HAVE_LDEXPL 1
73267_ACEOF
73268
73269  fi
73270
73271
73272
73273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73274$as_echo_n "checking for log10l declaration... " >&6; }
73275if ${glibcxx_cv_func_log10l_use+:} false; then :
73276  $as_echo_n "(cached) " >&6
73277else
73278
73279
73280      ac_ext=c
73281ac_cpp='$CPP $CPPFLAGS'
73282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73284ac_compiler_gnu=$ac_cv_c_compiler_gnu
73285
73286      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73287/* end confdefs.h.  */
73288
73289#include <math.h>
73290#ifdef HAVE_IEEEFP_H
73291# include <ieeefp.h>
73292#endif
73293#undef log10l
73294
73295int
73296main ()
73297{
73298
73299  void (*f)(void) = (void (*)(void))log10l;
73300
73301  ;
73302  return 0;
73303}
73304_ACEOF
73305if ac_fn_c_try_compile "$LINENO"; then :
73306  glibcxx_cv_func_log10l_use=yes
73307
73308else
73309  glibcxx_cv_func_log10l_use=no
73310fi
73311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73312fi
73313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73314$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73315  if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73316    cat >>confdefs.h <<_ACEOF
73317#define HAVE_LOG10L 1
73318_ACEOF
73319
73320  fi
73321
73322
73323
73324  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73325$as_echo_n "checking for logl declaration... " >&6; }
73326if ${glibcxx_cv_func_logl_use+:} false; then :
73327  $as_echo_n "(cached) " >&6
73328else
73329
73330
73331      ac_ext=c
73332ac_cpp='$CPP $CPPFLAGS'
73333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73335ac_compiler_gnu=$ac_cv_c_compiler_gnu
73336
73337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73338/* end confdefs.h.  */
73339
73340#include <math.h>
73341#ifdef HAVE_IEEEFP_H
73342# include <ieeefp.h>
73343#endif
73344#undef logl
73345
73346int
73347main ()
73348{
73349
73350  void (*f)(void) = (void (*)(void))logl;
73351
73352  ;
73353  return 0;
73354}
73355_ACEOF
73356if ac_fn_c_try_compile "$LINENO"; then :
73357  glibcxx_cv_func_logl_use=yes
73358
73359else
73360  glibcxx_cv_func_logl_use=no
73361fi
73362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73363fi
73364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73365$as_echo "$glibcxx_cv_func_logl_use" >&6; }
73366  if test "x$glibcxx_cv_func_logl_use" = xyes; then
73367    cat >>confdefs.h <<_ACEOF
73368#define HAVE_LOGL 1
73369_ACEOF
73370
73371  fi
73372
73373
73374
73375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73376$as_echo_n "checking for modfl declaration... " >&6; }
73377if ${glibcxx_cv_func_modfl_use+:} false; then :
73378  $as_echo_n "(cached) " >&6
73379else
73380
73381
73382      ac_ext=c
73383ac_cpp='$CPP $CPPFLAGS'
73384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73386ac_compiler_gnu=$ac_cv_c_compiler_gnu
73387
73388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73389/* end confdefs.h.  */
73390
73391#include <math.h>
73392#ifdef HAVE_IEEEFP_H
73393# include <ieeefp.h>
73394#endif
73395#undef modfl
73396
73397int
73398main ()
73399{
73400
73401  void (*f)(void) = (void (*)(void))modfl;
73402
73403  ;
73404  return 0;
73405}
73406_ACEOF
73407if ac_fn_c_try_compile "$LINENO"; then :
73408  glibcxx_cv_func_modfl_use=yes
73409
73410else
73411  glibcxx_cv_func_modfl_use=no
73412fi
73413rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73414fi
73415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73416$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73417  if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73418    cat >>confdefs.h <<_ACEOF
73419#define HAVE_MODFL 1
73420_ACEOF
73421
73422  fi
73423
73424
73425
73426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73427$as_echo_n "checking for powl declaration... " >&6; }
73428if ${glibcxx_cv_func_powl_use+:} false; then :
73429  $as_echo_n "(cached) " >&6
73430else
73431
73432
73433      ac_ext=c
73434ac_cpp='$CPP $CPPFLAGS'
73435ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73436ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73437ac_compiler_gnu=$ac_cv_c_compiler_gnu
73438
73439      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73440/* end confdefs.h.  */
73441
73442#include <math.h>
73443#ifdef HAVE_IEEEFP_H
73444# include <ieeefp.h>
73445#endif
73446#undef powl
73447
73448int
73449main ()
73450{
73451
73452  void (*f)(void) = (void (*)(void))powl;
73453
73454  ;
73455  return 0;
73456}
73457_ACEOF
73458if ac_fn_c_try_compile "$LINENO"; then :
73459  glibcxx_cv_func_powl_use=yes
73460
73461else
73462  glibcxx_cv_func_powl_use=no
73463fi
73464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73465fi
73466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73467$as_echo "$glibcxx_cv_func_powl_use" >&6; }
73468  if test "x$glibcxx_cv_func_powl_use" = xyes; then
73469    cat >>confdefs.h <<_ACEOF
73470#define HAVE_POWL 1
73471_ACEOF
73472
73473  fi
73474
73475
73476
73477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73478$as_echo_n "checking for sinl declaration... " >&6; }
73479if ${glibcxx_cv_func_sinl_use+:} false; then :
73480  $as_echo_n "(cached) " >&6
73481else
73482
73483
73484      ac_ext=c
73485ac_cpp='$CPP $CPPFLAGS'
73486ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73488ac_compiler_gnu=$ac_cv_c_compiler_gnu
73489
73490      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73491/* end confdefs.h.  */
73492
73493#include <math.h>
73494#ifdef HAVE_IEEEFP_H
73495# include <ieeefp.h>
73496#endif
73497#undef sinl
73498
73499int
73500main ()
73501{
73502
73503  void (*f)(void) = (void (*)(void))sinl;
73504
73505  ;
73506  return 0;
73507}
73508_ACEOF
73509if ac_fn_c_try_compile "$LINENO"; then :
73510  glibcxx_cv_func_sinl_use=yes
73511
73512else
73513  glibcxx_cv_func_sinl_use=no
73514fi
73515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73516fi
73517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73518$as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73519  if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73520    cat >>confdefs.h <<_ACEOF
73521#define HAVE_SINL 1
73522_ACEOF
73523
73524  fi
73525
73526
73527
73528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73529$as_echo_n "checking for sinhl declaration... " >&6; }
73530if ${glibcxx_cv_func_sinhl_use+:} false; then :
73531  $as_echo_n "(cached) " >&6
73532else
73533
73534
73535      ac_ext=c
73536ac_cpp='$CPP $CPPFLAGS'
73537ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73538ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73539ac_compiler_gnu=$ac_cv_c_compiler_gnu
73540
73541      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73542/* end confdefs.h.  */
73543
73544#include <math.h>
73545#ifdef HAVE_IEEEFP_H
73546# include <ieeefp.h>
73547#endif
73548#undef sinhl
73549
73550int
73551main ()
73552{
73553
73554  void (*f)(void) = (void (*)(void))sinhl;
73555
73556  ;
73557  return 0;
73558}
73559_ACEOF
73560if ac_fn_c_try_compile "$LINENO"; then :
73561  glibcxx_cv_func_sinhl_use=yes
73562
73563else
73564  glibcxx_cv_func_sinhl_use=no
73565fi
73566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73567fi
73568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73569$as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73570  if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73571    cat >>confdefs.h <<_ACEOF
73572#define HAVE_SINHL 1
73573_ACEOF
73574
73575  fi
73576
73577
73578
73579  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73580$as_echo_n "checking for sqrtl declaration... " >&6; }
73581if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73582  $as_echo_n "(cached) " >&6
73583else
73584
73585
73586      ac_ext=c
73587ac_cpp='$CPP $CPPFLAGS'
73588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73590ac_compiler_gnu=$ac_cv_c_compiler_gnu
73591
73592      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73593/* end confdefs.h.  */
73594
73595#include <math.h>
73596#ifdef HAVE_IEEEFP_H
73597# include <ieeefp.h>
73598#endif
73599#undef sqrtl
73600
73601int
73602main ()
73603{
73604
73605  void (*f)(void) = (void (*)(void))sqrtl;
73606
73607  ;
73608  return 0;
73609}
73610_ACEOF
73611if ac_fn_c_try_compile "$LINENO"; then :
73612  glibcxx_cv_func_sqrtl_use=yes
73613
73614else
73615  glibcxx_cv_func_sqrtl_use=no
73616fi
73617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73618fi
73619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73620$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73621  if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73622    cat >>confdefs.h <<_ACEOF
73623#define HAVE_SQRTL 1
73624_ACEOF
73625
73626  fi
73627
73628
73629
73630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73631$as_echo_n "checking for tanl declaration... " >&6; }
73632if ${glibcxx_cv_func_tanl_use+:} false; then :
73633  $as_echo_n "(cached) " >&6
73634else
73635
73636
73637      ac_ext=c
73638ac_cpp='$CPP $CPPFLAGS'
73639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73641ac_compiler_gnu=$ac_cv_c_compiler_gnu
73642
73643      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73644/* end confdefs.h.  */
73645
73646#include <math.h>
73647#ifdef HAVE_IEEEFP_H
73648# include <ieeefp.h>
73649#endif
73650#undef tanl
73651
73652int
73653main ()
73654{
73655
73656  void (*f)(void) = (void (*)(void))tanl;
73657
73658  ;
73659  return 0;
73660}
73661_ACEOF
73662if ac_fn_c_try_compile "$LINENO"; then :
73663  glibcxx_cv_func_tanl_use=yes
73664
73665else
73666  glibcxx_cv_func_tanl_use=no
73667fi
73668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73669fi
73670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73671$as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73672  if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73673    cat >>confdefs.h <<_ACEOF
73674#define HAVE_TANL 1
73675_ACEOF
73676
73677  fi
73678
73679
73680
73681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73682$as_echo_n "checking for tanhl declaration... " >&6; }
73683if ${glibcxx_cv_func_tanhl_use+:} false; then :
73684  $as_echo_n "(cached) " >&6
73685else
73686
73687
73688      ac_ext=c
73689ac_cpp='$CPP $CPPFLAGS'
73690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73692ac_compiler_gnu=$ac_cv_c_compiler_gnu
73693
73694      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73695/* end confdefs.h.  */
73696
73697#include <math.h>
73698#ifdef HAVE_IEEEFP_H
73699# include <ieeefp.h>
73700#endif
73701#undef tanhl
73702
73703int
73704main ()
73705{
73706
73707  void (*f)(void) = (void (*)(void))tanhl;
73708
73709  ;
73710  return 0;
73711}
73712_ACEOF
73713if ac_fn_c_try_compile "$LINENO"; then :
73714  glibcxx_cv_func_tanhl_use=yes
73715
73716else
73717  glibcxx_cv_func_tanhl_use=no
73718fi
73719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73720fi
73721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73722$as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73723  if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73724    cat >>confdefs.h <<_ACEOF
73725#define HAVE_TANHL 1
73726_ACEOF
73727
73728  fi
73729
73730
73731
73732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
73733$as_echo_n "checking for hypotl declaration... " >&6; }
73734if ${glibcxx_cv_func_hypotl_use+:} false; then :
73735  $as_echo_n "(cached) " >&6
73736else
73737
73738
73739      ac_ext=c
73740ac_cpp='$CPP $CPPFLAGS'
73741ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73742ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73743ac_compiler_gnu=$ac_cv_c_compiler_gnu
73744
73745      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73746/* end confdefs.h.  */
73747
73748#include <math.h>
73749#ifdef HAVE_IEEEFP_H
73750# include <ieeefp.h>
73751#endif
73752#undef hypotl
73753
73754int
73755main ()
73756{
73757
73758  void (*f)(void) = (void (*)(void))hypotl;
73759
73760  ;
73761  return 0;
73762}
73763_ACEOF
73764if ac_fn_c_try_compile "$LINENO"; then :
73765  glibcxx_cv_func_hypotl_use=yes
73766
73767else
73768  glibcxx_cv_func_hypotl_use=no
73769fi
73770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73771fi
73772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
73773$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
73774  if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
73775    cat >>confdefs.h <<_ACEOF
73776#define HAVE_HYPOTL 1
73777_ACEOF
73778
73779  fi
73780
73781
73782
73783  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73784$as_echo_n "checking for ldexpf declaration... " >&6; }
73785if ${glibcxx_cv_func_ldexpf_use+:} false; then :
73786  $as_echo_n "(cached) " >&6
73787else
73788
73789
73790      ac_ext=c
73791ac_cpp='$CPP $CPPFLAGS'
73792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73794ac_compiler_gnu=$ac_cv_c_compiler_gnu
73795
73796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73797/* end confdefs.h.  */
73798
73799#include <math.h>
73800#ifdef HAVE_IEEEFP_H
73801# include <ieeefp.h>
73802#endif
73803#undef ldexpf
73804
73805int
73806main ()
73807{
73808
73809  void (*f)(void) = (void (*)(void))ldexpf;
73810
73811  ;
73812  return 0;
73813}
73814_ACEOF
73815if ac_fn_c_try_compile "$LINENO"; then :
73816  glibcxx_cv_func_ldexpf_use=yes
73817
73818else
73819  glibcxx_cv_func_ldexpf_use=no
73820fi
73821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73822fi
73823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73824$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73825  if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
73826    cat >>confdefs.h <<_ACEOF
73827#define HAVE_LDEXPF 1
73828_ACEOF
73829
73830  fi
73831
73832
73833
73834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73835$as_echo_n "checking for modff declaration... " >&6; }
73836if ${glibcxx_cv_func_modff_use+:} false; then :
73837  $as_echo_n "(cached) " >&6
73838else
73839
73840
73841      ac_ext=c
73842ac_cpp='$CPP $CPPFLAGS'
73843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73845ac_compiler_gnu=$ac_cv_c_compiler_gnu
73846
73847      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73848/* end confdefs.h.  */
73849
73850#include <math.h>
73851#ifdef HAVE_IEEEFP_H
73852# include <ieeefp.h>
73853#endif
73854#undef modff
73855
73856int
73857main ()
73858{
73859
73860  void (*f)(void) = (void (*)(void))modff;
73861
73862  ;
73863  return 0;
73864}
73865_ACEOF
73866if ac_fn_c_try_compile "$LINENO"; then :
73867  glibcxx_cv_func_modff_use=yes
73868
73869else
73870  glibcxx_cv_func_modff_use=no
73871fi
73872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73873fi
73874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73875$as_echo "$glibcxx_cv_func_modff_use" >&6; }
73876  if test "x$glibcxx_cv_func_modff_use" = xyes; then
73877    cat >>confdefs.h <<_ACEOF
73878#define HAVE_MODFF 1
73879_ACEOF
73880
73881  fi
73882
73883
73884
73885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73886$as_echo_n "checking for hypotf declaration... " >&6; }
73887if ${glibcxx_cv_func_hypotf_use+:} false; then :
73888  $as_echo_n "(cached) " >&6
73889else
73890
73891
73892      ac_ext=c
73893ac_cpp='$CPP $CPPFLAGS'
73894ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73895ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73896ac_compiler_gnu=$ac_cv_c_compiler_gnu
73897
73898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73899/* end confdefs.h.  */
73900
73901#include <math.h>
73902#ifdef HAVE_IEEEFP_H
73903# include <ieeefp.h>
73904#endif
73905#undef hypotf
73906
73907int
73908main ()
73909{
73910
73911  void (*f)(void) = (void (*)(void))hypotf;
73912
73913  ;
73914  return 0;
73915}
73916_ACEOF
73917if ac_fn_c_try_compile "$LINENO"; then :
73918  glibcxx_cv_func_hypotf_use=yes
73919
73920else
73921  glibcxx_cv_func_hypotf_use=no
73922fi
73923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73924fi
73925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73926$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73927  if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
73928    cat >>confdefs.h <<_ACEOF
73929#define HAVE_HYPOTF 1
73930_ACEOF
73931
73932  fi
73933
73934
73935
73936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73937$as_echo_n "checking for frexpf declaration... " >&6; }
73938if ${glibcxx_cv_func_frexpf_use+:} false; then :
73939  $as_echo_n "(cached) " >&6
73940else
73941
73942
73943      ac_ext=c
73944ac_cpp='$CPP $CPPFLAGS'
73945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73947ac_compiler_gnu=$ac_cv_c_compiler_gnu
73948
73949      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73950/* end confdefs.h.  */
73951
73952#include <math.h>
73953#ifdef HAVE_IEEEFP_H
73954# include <ieeefp.h>
73955#endif
73956#undef frexpf
73957
73958int
73959main ()
73960{
73961
73962  void (*f)(void) = (void (*)(void))frexpf;
73963
73964  ;
73965  return 0;
73966}
73967_ACEOF
73968if ac_fn_c_try_compile "$LINENO"; then :
73969  glibcxx_cv_func_frexpf_use=yes
73970
73971else
73972  glibcxx_cv_func_frexpf_use=no
73973fi
73974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73975fi
73976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73977$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73978  if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
73979    cat >>confdefs.h <<_ACEOF
73980#define HAVE_FREXPF 1
73981_ACEOF
73982
73983  fi
73984
73985
73986
73987    ;;
73988  *)
73989    as_fn_error $? "No support for this host/target combination." "$LINENO" 5
73990   ;;
73991esac
73992
73993  fi
73994
73995  # At some point, we should differentiate between architectures
73996  # like x86, which have long double versions, and alpha/powerpc/etc.,
73997  # which don't. For the time being, punt.
73998  if test x"long_double_math_on_this_cpu" = x"yes"; then
73999    $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74000
74001    $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74002
74003    $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74004
74005    $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74006
74007    $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74008
74009    $as_echo "#define HAVE_COSL 1" >>confdefs.h
74010
74011    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74012
74013    $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74014
74015    $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74016
74017    $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74018
74019    $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74020
74021    $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74022
74023    $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74024
74025    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74026
74027    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74028
74029    $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74030
74031    $as_echo "#define HAVE_POWL 1" >>confdefs.h
74032
74033    $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74034
74035    $as_echo "#define HAVE_SINL 1" >>confdefs.h
74036
74037    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74038
74039    $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74040
74041    $as_echo "#define HAVE_TANL 1" >>confdefs.h
74042
74043    $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74044
74045  fi
74046fi
74047
74048# Check for _Unwind_GetIPInfo.
74049
74050
74051# Check whether --with-system-libunwind was given.
74052if test "${with_system_libunwind+set}" = set; then :
74053  withval=$with_system_libunwind;
74054fi
74055
74056  # If system-libunwind was not specifically set, pick a default setting.
74057  if test x$with_system_libunwind = x; then
74058    case ${target} in
74059      ia64-*-hpux*) with_system_libunwind=yes ;;
74060      *) with_system_libunwind=no ;;
74061    esac
74062  fi
74063  # Based on system-libunwind and target, do we have ipinfo?
74064  if  test x$with_system_libunwind = xyes; then
74065    case ${target} in
74066      ia64-*-*) have_unwind_getipinfo=no ;;
74067      *) have_unwind_getipinfo=yes ;;
74068    esac
74069  else
74070    # Darwin before version 9 does not have _Unwind_GetIPInfo.
74071
74072    case ${target} in
74073      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74074      *) have_unwind_getipinfo=yes ;;
74075    esac
74076
74077  fi
74078
74079  if test x$have_unwind_getipinfo = xyes; then
74080
74081$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74082
74083  fi
74084
74085
74086 # Check whether --enable-linux-futex was given.
74087if test "${enable_linux_futex+set}" = set; then :
74088  enableval=$enable_linux_futex;
74089      case "$enableval" in
74090       yes|no|default) ;;
74091       *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74092                          esac
74093
74094else
74095  enable_linux_futex=default
74096fi
74097
74098
74099case "$target" in
74100  *-linux* | *-uclinux*)
74101    case "$enable_linux_futex" in
74102      default)
74103	# If headers don't have gettid/futex syscalls definition, then
74104	# default to no, otherwise there will be compile time failures.
74105	# Otherwise, default to yes.  If we don't detect we are
74106	# compiled/linked against NPTL and not cross-compiling, check
74107	# if programs are run by default against NPTL and if not, issue
74108	# a warning.
74109	enable_linux_futex=no
74110	if test x$gcc_no_link = xyes; then
74111  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74112fi
74113cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74114/* end confdefs.h.  */
74115#include <sys/syscall.h>
74116	   #include <unistd.h>
74117	   int lk;
74118int
74119main ()
74120{
74121syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74122  ;
74123  return 0;
74124}
74125_ACEOF
74126if ac_fn_c_try_link "$LINENO"; then :
74127  save_LIBS="$LIBS"
74128	   LIBS="-lpthread $LIBS"
74129	   if test x$gcc_no_link = xyes; then
74130  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74131fi
74132cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74133/* end confdefs.h.  */
74134#ifndef _GNU_SOURCE
74135	     #define _GNU_SOURCE 1
74136	     #endif
74137	     #include <pthread.h>
74138	     pthread_t th; void *status;
74139int
74140main ()
74141{
74142pthread_tryjoin_np (th, &status);
74143  ;
74144  return 0;
74145}
74146_ACEOF
74147if ac_fn_c_try_link "$LINENO"; then :
74148  enable_linux_futex=yes
74149else
74150  if test x$cross_compiling = xno; then
74151	       if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74152		  | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74153		 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74154If so, please configure with --disable-linux-futex" >&5
74155$as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74156If so, please configure with --disable-linux-futex" >&2;}
74157	       fi
74158	     fi
74159	     enable_linux_futex=yes
74160fi
74161rm -f core conftest.err conftest.$ac_objext \
74162    conftest$ac_exeext conftest.$ac_ext
74163	   LIBS="$save_LIBS"
74164fi
74165rm -f core conftest.err conftest.$ac_objext \
74166    conftest$ac_exeext conftest.$ac_ext
74167	;;
74168      yes)
74169	if test x$gcc_no_link = xyes; then
74170  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74171fi
74172cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74173/* end confdefs.h.  */
74174#include <sys/syscall.h>
74175	   #include <unistd.h>
74176	   int lk;
74177int
74178main ()
74179{
74180syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74181  ;
74182  return 0;
74183}
74184_ACEOF
74185if ac_fn_c_try_link "$LINENO"; then :
74186
74187else
74188  as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74189fi
74190rm -f core conftest.err conftest.$ac_objext \
74191    conftest$ac_exeext conftest.$ac_ext
74192	;;
74193    esac
74194    ;;
74195  *)
74196    enable_linux_futex=no
74197    ;;
74198esac
74199if test x$enable_linux_futex = xyes; then
74200
74201$as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74202
74203fi
74204
74205
74206
74207
74208inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
74209
74210acx_cv_header_stdint=stddef.h
74211acx_cv_header_stdint_kind="(already complete)"
74212for i in stdint.h $inttype_headers; do
74213  unset ac_cv_type_uintptr_t
74214  unset ac_cv_type_uintmax_t
74215  unset ac_cv_type_int_least32_t
74216  unset ac_cv_type_int_fast32_t
74217  unset ac_cv_type_uint64_t
74218  $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74219  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74220#include <$i>
74221"
74222if test "x$ac_cv_type_uintmax_t" = xyes; then :
74223  acx_cv_header_stdint=$i
74224else
74225  continue
74226fi
74227
74228  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74229#include <$i>
74230"
74231if test "x$ac_cv_type_uintptr_t" = xyes; then :
74232
74233else
74234  acx_cv_header_stdint_kind="(mostly complete)"
74235fi
74236
74237  ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74238#include <$i>
74239"
74240if test "x$ac_cv_type_int_least32_t" = xyes; then :
74241
74242else
74243  acx_cv_header_stdint_kind="(mostly complete)"
74244fi
74245
74246  ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74247#include <$i>
74248"
74249if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74250
74251else
74252  acx_cv_header_stdint_kind="(mostly complete)"
74253fi
74254
74255  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74256#include <$i>
74257"
74258if test "x$ac_cv_type_uint64_t" = xyes; then :
74259
74260else
74261  acx_cv_header_stdint_kind="(lacks uint64_t)"
74262fi
74263
74264  break
74265done
74266if test "$acx_cv_header_stdint" = stddef.h; then
74267  acx_cv_header_stdint_kind="(lacks uintmax_t)"
74268  for i in stdint.h $inttype_headers; do
74269    unset ac_cv_type_uintptr_t
74270    unset ac_cv_type_uint32_t
74271    unset ac_cv_type_uint64_t
74272    $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74273    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74274#include <$i>
74275"
74276if test "x$ac_cv_type_uint32_t" = xyes; then :
74277  acx_cv_header_stdint=$i
74278else
74279  continue
74280fi
74281
74282    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74283#include <$i>
74284"
74285if test "x$ac_cv_type_uint64_t" = xyes; then :
74286
74287fi
74288
74289    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74290#include <$i>
74291"
74292if test "x$ac_cv_type_uintptr_t" = xyes; then :
74293
74294fi
74295
74296    break
74297  done
74298fi
74299if test "$acx_cv_header_stdint" = stddef.h; then
74300  acx_cv_header_stdint_kind="(u_intXX_t style)"
74301  for i in sys/types.h $inttype_headers; do
74302    unset ac_cv_type_u_int32_t
74303    unset ac_cv_type_u_int64_t
74304    $as_echo_n "looking for u_intXX_t types in $i, " >&6
74305    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74306#include <$i>
74307"
74308if test "x$ac_cv_type_u_int32_t" = xyes; then :
74309  acx_cv_header_stdint=$i
74310else
74311  continue
74312fi
74313
74314    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74315#include <$i>
74316"
74317if test "x$ac_cv_type_u_int64_t" = xyes; then :
74318
74319fi
74320
74321    break
74322  done
74323fi
74324if test "$acx_cv_header_stdint" = stddef.h; then
74325  acx_cv_header_stdint_kind="(using manual detection)"
74326fi
74327
74328test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74329test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74330test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74331test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74332test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74333
74334# ----------------- Summarize what we found so far
74335
74336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74337$as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74338
74339case `$as_basename -- include/gstdint.h ||
74340$as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74341	 Xinclude/gstdint.h : 'X\(//\)$' \| \
74342	 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74343$as_echo X/include/gstdint.h |
74344    sed '/^.*\/\([^/][^/]*\)\/*$/{
74345	    s//\1/
74346	    q
74347	  }
74348	  /^X\/\(\/\/\)$/{
74349	    s//\1/
74350	    q
74351	  }
74352	  /^X\/\(\/\).*/{
74353	    s//\1/
74354	    q
74355	  }
74356	  s/.*/./; q'` in
74357  stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74358$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74359  inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74360$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74361  *) ;;
74362esac
74363
74364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74365$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74366
74367# ----------------- done included file, check C basic types --------
74368
74369# Lacking an uintptr_t?  Test size of void *
74370case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74371  stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74372# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74373# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74374# This bug is HP SR number 8606223364.
74375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74376$as_echo_n "checking size of void *... " >&6; }
74377if ${ac_cv_sizeof_void_p+:} false; then :
74378  $as_echo_n "(cached) " >&6
74379else
74380  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
74381
74382else
74383  if test "$ac_cv_type_void_p" = yes; then
74384     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74385$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74386as_fn_error 77 "cannot compute sizeof (void *)
74387See \`config.log' for more details" "$LINENO" 5; }
74388   else
74389     ac_cv_sizeof_void_p=0
74390   fi
74391fi
74392
74393fi
74394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74395$as_echo "$ac_cv_sizeof_void_p" >&6; }
74396
74397
74398
74399cat >>confdefs.h <<_ACEOF
74400#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74401_ACEOF
74402
74403 ;;
74404esac
74405
74406# Lacking an uint64_t?  Test size of long
74407case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74408  stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74409# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74410# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74411# This bug is HP SR number 8606223364.
74412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74413$as_echo_n "checking size of long... " >&6; }
74414if ${ac_cv_sizeof_long+:} false; then :
74415  $as_echo_n "(cached) " >&6
74416else
74417  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
74418
74419else
74420  if test "$ac_cv_type_long" = yes; then
74421     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74422$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74423as_fn_error 77 "cannot compute sizeof (long)
74424See \`config.log' for more details" "$LINENO" 5; }
74425   else
74426     ac_cv_sizeof_long=0
74427   fi
74428fi
74429
74430fi
74431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74432$as_echo "$ac_cv_sizeof_long" >&6; }
74433
74434
74435
74436cat >>confdefs.h <<_ACEOF
74437#define SIZEOF_LONG $ac_cv_sizeof_long
74438_ACEOF
74439
74440 ;;
74441esac
74442
74443if test $acx_cv_header_stdint = stddef.h; then
74444  # Lacking a good header?  Test size of everything and deduce all types.
74445  # The cast to long int works around a bug in the HP C Compiler
74446# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74447# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74448# This bug is HP SR number 8606223364.
74449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74450$as_echo_n "checking size of int... " >&6; }
74451if ${ac_cv_sizeof_int+:} false; then :
74452  $as_echo_n "(cached) " >&6
74453else
74454  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
74455
74456else
74457  if test "$ac_cv_type_int" = yes; then
74458     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74459$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74460as_fn_error 77 "cannot compute sizeof (int)
74461See \`config.log' for more details" "$LINENO" 5; }
74462   else
74463     ac_cv_sizeof_int=0
74464   fi
74465fi
74466
74467fi
74468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74469$as_echo "$ac_cv_sizeof_int" >&6; }
74470
74471
74472
74473cat >>confdefs.h <<_ACEOF
74474#define SIZEOF_INT $ac_cv_sizeof_int
74475_ACEOF
74476
74477
74478  # The cast to long int works around a bug in the HP C Compiler
74479# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74480# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74481# This bug is HP SR number 8606223364.
74482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74483$as_echo_n "checking size of short... " >&6; }
74484if ${ac_cv_sizeof_short+:} false; then :
74485  $as_echo_n "(cached) " >&6
74486else
74487  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
74488
74489else
74490  if test "$ac_cv_type_short" = yes; then
74491     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74493as_fn_error 77 "cannot compute sizeof (short)
74494See \`config.log' for more details" "$LINENO" 5; }
74495   else
74496     ac_cv_sizeof_short=0
74497   fi
74498fi
74499
74500fi
74501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74502$as_echo "$ac_cv_sizeof_short" >&6; }
74503
74504
74505
74506cat >>confdefs.h <<_ACEOF
74507#define SIZEOF_SHORT $ac_cv_sizeof_short
74508_ACEOF
74509
74510
74511  # The cast to long int works around a bug in the HP C Compiler
74512# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74513# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74514# This bug is HP SR number 8606223364.
74515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74516$as_echo_n "checking size of char... " >&6; }
74517if ${ac_cv_sizeof_char+:} false; then :
74518  $as_echo_n "(cached) " >&6
74519else
74520  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
74521
74522else
74523  if test "$ac_cv_type_char" = yes; then
74524     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74525$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74526as_fn_error 77 "cannot compute sizeof (char)
74527See \`config.log' for more details" "$LINENO" 5; }
74528   else
74529     ac_cv_sizeof_char=0
74530   fi
74531fi
74532
74533fi
74534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74535$as_echo "$ac_cv_sizeof_char" >&6; }
74536
74537
74538
74539cat >>confdefs.h <<_ACEOF
74540#define SIZEOF_CHAR $ac_cv_sizeof_char
74541_ACEOF
74542
74543
74544
74545  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74546$as_echo_n "checking for type equivalent to int8_t... " >&6; }
74547  case "$ac_cv_sizeof_char" in
74548    1) acx_cv_type_int8_t=char ;;
74549    *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74550  esac
74551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74552$as_echo "$acx_cv_type_int8_t" >&6; }
74553
74554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74555$as_echo_n "checking for type equivalent to int16_t... " >&6; }
74556  case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74557    2:*) acx_cv_type_int16_t=int ;;
74558    *:2) acx_cv_type_int16_t=short ;;
74559    *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74560  esac
74561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74562$as_echo "$acx_cv_type_int16_t" >&6; }
74563
74564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74565$as_echo_n "checking for type equivalent to int32_t... " >&6; }
74566  case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74567    4:*) acx_cv_type_int32_t=int ;;
74568    *:4) acx_cv_type_int32_t=long ;;
74569    *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74570  esac
74571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74572$as_echo "$acx_cv_type_int32_t" >&6; }
74573fi
74574
74575# These tests are here to make the output prettier
74576
74577if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74578  case "$ac_cv_sizeof_long" in
74579    8) acx_cv_type_int64_t=long ;;
74580  esac
74581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74582$as_echo_n "checking for type equivalent to int64_t... " >&6; }
74583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74584$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74585fi
74586
74587# Now we can use the above types
74588
74589if test "$ac_cv_type_uintptr_t" != yes; then
74590  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74591$as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74592  case $ac_cv_sizeof_void_p in
74593    2) acx_cv_type_intptr_t=int16_t ;;
74594    4) acx_cv_type_intptr_t=int32_t ;;
74595    8) acx_cv_type_intptr_t=int64_t ;;
74596    *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74597  esac
74598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74599$as_echo "$acx_cv_type_intptr_t" >&6; }
74600fi
74601
74602# ----------------- done all checks, emit header -------------
74603ac_config_commands="$ac_config_commands include/gstdint.h"
74604
74605
74606
74607
74608
74609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74610$as_echo_n "checking for GNU c++filt... " >&6; }
74611if ${ac_cv_path_CXXFILT+:} false; then :
74612  $as_echo_n "(cached) " >&6
74613else
74614  if test -z "$CXXFILT"; then
74615  ac_path_CXXFILT_found=false
74616  # Loop through the user's path and test for each of PROGNAME-LIST
74617  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74618for as_dir in $PATH
74619do
74620  IFS=$as_save_IFS
74621  test -z "$as_dir" && as_dir=.
74622    for ac_prog in c++filt gc++filt; do
74623    for ac_exec_ext in '' $ac_executable_extensions; do
74624      ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74625      as_fn_executable_p "$ac_path_CXXFILT" || continue
74626# Check for GNU $ac_path_CXXFILT
74627case `"$ac_path_CXXFILT" --version 2>&1` in
74628*GNU*)
74629  ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74630esac
74631
74632      $ac_path_CXXFILT_found && break 3
74633    done
74634  done
74635  done
74636IFS=$as_save_IFS
74637  if test -z "$ac_cv_path_CXXFILT"; then
74638    :
74639  fi
74640else
74641  ac_cv_path_CXXFILT=$CXXFILT
74642fi
74643
74644fi
74645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74646$as_echo "$ac_cv_path_CXXFILT" >&6; }
74647  CXXFILT=$ac_cv_path_CXXFILT
74648
74649
74650
74651 # Check whether --enable-symvers was given.
74652if test "${enable_symvers+set}" = set; then :
74653  enableval=$enable_symvers;
74654      case "$enableval" in
74655       yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74656       *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74657	  	        esac
74658
74659else
74660  enable_symvers=yes
74661fi
74662
74663
74664
74665# If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74666# don't know enough about $LD to do tricks...
74667
74668# Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74669# with extern "C++" in version scripts.
74670
74671
74672# Turn a 'yes' into a suitable default.
74673if test x$enable_symvers = xyes ; then
74674  if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74675    enable_symvers=no
74676  else
74677    if test $with_gnu_ld = yes ; then
74678      case ${target_os} in
74679	hpux*)
74680	  enable_symvers=no ;;
74681	*)
74682	  enable_symvers=gnu ;;
74683      esac
74684    else
74685      case ${target_os} in
74686	darwin*)
74687	  enable_symvers=darwin ;;
74688	# Sun symbol versioning exists since Solaris 2.5.
74689	solaris2.[5-9]* | solaris2.1[0-9]*)
74690	  # make_sunver.pl needs GNU c++filt to support extern "C++" in
74691	  # version scripts, so disable symbol versioning if none can be
74692	  # found.
74693	  if test -z "$ac_cv_path_CXXFILT"; then
74694	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74695$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74696	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
74697$as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
74698	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74699$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74700	    enable_symvers=no
74701	  else
74702	    enable_symvers=sun
74703	  fi
74704	  ;;
74705	*)
74706	  enable_symvers=no ;;
74707      esac
74708    fi
74709  fi
74710fi
74711
74712# Check to see if 'darwin' or 'darwin-export' can win.
74713if test x$enable_symvers = xdarwin-export ; then
74714    enable_symvers=darwin
74715fi
74716
74717# Check if 'sun' was requested on non-Solaris 2 platforms.
74718if test x$enable_symvers = xsun ; then
74719  case ${target_os} in
74720    solaris2*)
74721      # All fine.
74722      ;;
74723    *)
74724      # Unlikely to work.
74725      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74726$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74727      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74728$as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74729      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74730$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74731      enable_symvers=no
74732      ;;
74733  esac
74734fi
74735
74736# Check to see if 'gnu' can win.
74737if test $enable_symvers = gnu ||
74738  test $enable_symvers = gnu-versioned-namespace ||
74739  test $enable_symvers = sun; then
74740  # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74741  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74742$as_echo_n "checking for shared libgcc... " >&6; }
74743  ac_save_CFLAGS="$CFLAGS"
74744  CFLAGS=' -lgcc_s'
74745  if test x$gcc_no_link = xyes; then
74746  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74747fi
74748cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74749/* end confdefs.h.  */
74750
74751int
74752main ()
74753{
74754return 0;
74755  ;
74756  return 0;
74757}
74758_ACEOF
74759if ac_fn_c_try_link "$LINENO"; then :
74760  glibcxx_shared_libgcc=yes
74761else
74762  glibcxx_shared_libgcc=no
74763fi
74764rm -f core conftest.err conftest.$ac_objext \
74765    conftest$ac_exeext conftest.$ac_ext
74766  CFLAGS="$ac_save_CFLAGS"
74767  if test $glibcxx_shared_libgcc = no; then
74768    cat > conftest.c <<EOF
74769int main (void) { return 0; }
74770EOF
74771    glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74772			     -shared -shared-libgcc -o conftest.so \
74773			     conftest.c -v 2>&1 >/dev/null \
74774			     | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74775    rm -f conftest.c conftest.so
74776    if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74777      CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74778      if test x$gcc_no_link = xyes; then
74779  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74780fi
74781cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74782/* end confdefs.h.  */
74783
74784int
74785main ()
74786{
74787return 0;
74788  ;
74789  return 0;
74790}
74791_ACEOF
74792if ac_fn_c_try_link "$LINENO"; then :
74793  glibcxx_shared_libgcc=yes
74794fi
74795rm -f core conftest.err conftest.$ac_objext \
74796    conftest$ac_exeext conftest.$ac_ext
74797      CFLAGS="$ac_save_CFLAGS"
74798    fi
74799  fi
74800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74801$as_echo "$glibcxx_shared_libgcc" >&6; }
74802
74803  # For GNU ld, we need at least this version.  The format is described in
74804  # GLIBCXX_CHECK_LINKER_FEATURES above.
74805  glibcxx_min_gnu_ld_version=21400
74806
74807  # If no shared libgcc, can't win.
74808  if test $glibcxx_shared_libgcc != yes; then
74809      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74810$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74811      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74812$as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74813      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74814$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74815      enable_symvers=no
74816  elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74817    : All interesting versions of Sun ld support sun style symbol versioning.
74818  elif test $with_gnu_ld != yes ; then
74819    # just fail for now
74820    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74821$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74822    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74823$as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74824    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74825$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74826    enable_symvers=no
74827  elif test $glibcxx_ld_is_gold = yes ; then
74828    : All versions of gold support symbol versioning.
74829  elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74830    # The right tools, the right setup, but too old.  Fallbacks?
74831    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74832$as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74833    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74834$as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74835    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74836$as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74837    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74838$as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74839    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74840$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74841    enable_symvers=no
74842  fi
74843fi
74844
74845# For libtool versioning info, format is CURRENT:REVISION:AGE
74846libtool_VERSION=6:30:0
74847
74848# Everything parsed; figure out what files and settings to use.
74849case $enable_symvers in
74850  no)
74851    SYMVER_FILE=config/abi/pre/none.ver
74852    ;;
74853  gnu)
74854    SYMVER_FILE=config/abi/pre/gnu.ver
74855
74856$as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74857
74858    ;;
74859  gnu-versioned-namespace)
74860    libtool_VERSION=8:0:0
74861    SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74862
74863$as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74864
74865    ;;
74866  darwin)
74867    SYMVER_FILE=config/abi/pre/gnu.ver
74868
74869$as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
74870
74871    ;;
74872  sun)
74873    SYMVER_FILE=config/abi/pre/gnu.ver
74874
74875$as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
74876
74877    ;;
74878esac
74879
74880if test x$enable_symvers != xno ; then
74881
74882$as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
74883
74884fi
74885
74886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
74887$as_echo_n "checking whether the target supports .symver directive... " >&6; }
74888if ${glibcxx_cv_have_as_symver_directive+:} false; then :
74889  $as_echo_n "(cached) " >&6
74890else
74891
74892  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74893/* end confdefs.h.  */
74894void foo (void); __asm (".symver foo, bar@SYMVER");
74895int
74896main ()
74897{
74898
74899  ;
74900  return 0;
74901}
74902_ACEOF
74903if ac_fn_c_try_compile "$LINENO"; then :
74904  glibcxx_cv_have_as_symver_directive=yes
74905else
74906  glibcxx_cv_have_as_symver_directive=no
74907fi
74908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74909fi
74910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
74911$as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
74912if test $glibcxx_cv_have_as_symver_directive = yes; then
74913
74914$as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
74915
74916fi
74917
74918
74919
74920
74921
74922
74923
74924
74925{ $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
74926$as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
74927
74928if test $enable_symvers != no ; then
74929   case ${target_os} in
74930     # The Solaris 2 runtime linker doesn't support the GNU extension of
74931     # binding the same symbol to different versions
74932     solaris2*)
74933       ;;
74934     # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
74935     *)
74936
74937$as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
74938
74939       ;;
74940    esac
74941fi
74942
74943# Now, set up compatibility support, if any.
74944# In addition, need this to deal with std::size_t mangling in
74945# src/compatibility.cc.  In a perfect world, could use
74946# typeid(std::size_t).name()[0] to do direct substitution.
74947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
74948$as_echo_n "checking for size_t as unsigned int... " >&6; }
74949ac_save_CFLAGS="$CFLAGS"
74950CFLAGS="-Werror"
74951cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74952/* end confdefs.h.  */
74953
74954int
74955main ()
74956{
74957__SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
74958  ;
74959  return 0;
74960}
74961_ACEOF
74962if ac_fn_c_try_compile "$LINENO"; then :
74963  glibcxx_size_t_is_i=yes
74964else
74965  glibcxx_size_t_is_i=no
74966fi
74967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74968CFLAGS=$ac_save_CFLAGS
74969if test "$glibcxx_size_t_is_i" = yes; then
74970
74971$as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
74972
74973fi
74974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
74975$as_echo "$glibcxx_size_t_is_i" >&6; }
74976
74977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
74978$as_echo_n "checking for ptrdiff_t as int... " >&6; }
74979ac_save_CFLAGS="$CFLAGS"
74980CFLAGS="-Werror"
74981cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74982/* end confdefs.h.  */
74983
74984int
74985main ()
74986{
74987__PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
74988  ;
74989  return 0;
74990}
74991_ACEOF
74992if ac_fn_c_try_compile "$LINENO"; then :
74993  glibcxx_ptrdiff_t_is_i=yes
74994else
74995  glibcxx_ptrdiff_t_is_i=no
74996fi
74997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74998CFLAGS=$ac_save_CFLAGS
74999if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75000
75001$as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75002
75003fi
75004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75005$as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75006
75007
75008
75009
75010 # Check whether --enable-libstdcxx-visibility was given.
75011if test "${enable_libstdcxx_visibility+set}" = set; then :
75012  enableval=$enable_libstdcxx_visibility;
75013      case "$enableval" in
75014       yes|no) ;;
75015       *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75016      esac
75017
75018else
75019  enable_libstdcxx_visibility=yes
75020fi
75021
75022
75023
75024if test x$enable_libstdcxx_visibility = xyes ; then
75025      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75026$as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75027if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75028  $as_echo_n "(cached) " >&6
75029else
75030
75031  save_CFLAGS="$CFLAGS"
75032  CFLAGS="$CFLAGS -Werror"
75033  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75034/* end confdefs.h.  */
75035void __attribute__((visibility("hidden"))) foo(void) { }
75036int
75037main ()
75038{
75039
75040  ;
75041  return 0;
75042}
75043_ACEOF
75044if ac_fn_c_try_compile "$LINENO"; then :
75045  glibcxx_cv_have_attribute_visibility=yes
75046else
75047  glibcxx_cv_have_attribute_visibility=no
75048fi
75049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75050  CFLAGS="$save_CFLAGS"
75051fi
75052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75053$as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75054  if test $glibcxx_cv_have_attribute_visibility = no; then
75055    enable_libstdcxx_visibility=no
75056  fi
75057fi
75058
75059
75060{ $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75061$as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75062
75063
75064
75065   # Check whether --enable-libstdcxx-dual-abi was given.
75066if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75067  enableval=$enable_libstdcxx_dual_abi;
75068      case "$enableval" in
75069       yes|no) ;;
75070       *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75071      esac
75072
75073else
75074  enable_libstdcxx_dual_abi=yes
75075fi
75076
75077
75078  if test x$enable_symvers = xgnu-versioned-namespace; then
75079    # gnu-versioned-namespace is incompatible with the dual ABI.
75080    enable_libstdcxx_dual_abi="no"
75081  fi
75082  if test x"$enable_libstdcxx_dual_abi" != xyes; then
75083    { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75084$as_echo "$as_me: dual ABI is disabled" >&6;}
75085    default_libstdcxx_abi="gcc4-compatible"
75086  fi
75087
75088
75089
75090  if test x$enable_libstdcxx_dual_abi = xyes; then
75091  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75092$as_echo_n "checking for default std::string ABI to use... " >&6; }
75093
75094# Check whether --with-default-libstdcxx-abi was given.
75095if test "${with_default_libstdcxx_abi+set}" = set; then :
75096  withval=$with_default_libstdcxx_abi; case "$withval" in
75097      gcc4-compatible)  default_libstdcxx_abi="gcc4-compatible" ;;
75098      new|cxx11)  default_libstdcxx_abi="new" ;;
75099      c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75100      *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75101     esac
75102
75103else
75104  default_libstdcxx_abi="new"
75105fi
75106
75107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75108$as_echo "${default_libstdcxx_abi}" >&6; }
75109  fi
75110  if test $default_libstdcxx_abi = "new"; then
75111    glibcxx_cxx11_abi=1
75112    glibcxx_cxx98_abi=0
75113  else
75114    glibcxx_cxx11_abi=0
75115    glibcxx_cxx98_abi=1
75116  fi
75117
75118
75119
75120
75121ac_ldbl_compat=no
75122ac_ldbl_alt128_compat=no
75123ac_ldbl_ieee128_default=no
75124LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75125LONG_DOUBLE_128_FLAGS=
75126LONG_DOUBLE_ALT128_COMPAT_FLAGS=
75127case "$target" in
75128  powerpc*-*-linux* | \
75129  sparc*-*-linux* | \
75130  s390*-*-linux* | \
75131  alpha*-*-linux*)
75132  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75133/* end confdefs.h.  */
75134
75135int
75136main ()
75137{
75138
75139#if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75140#error no need for long double compatibility
75141#endif
75142
75143  ;
75144  return 0;
75145}
75146_ACEOF
75147if ac_fn_c_try_compile "$LINENO"; then :
75148  ac_ldbl_compat=yes
75149else
75150  ac_ldbl_compat=no
75151fi
75152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75153  if test "$ac_ldbl_compat" = yes; then
75154
75155$as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75156
75157    port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75158    case "$target" in
75159      powerpc*-*-linux*)
75160	LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
75161        # Check for IEEE128 support in libm:
75162        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
75163$as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
75164if ${ac_cv_lib_m___frexpieee128+:} false; then :
75165  $as_echo_n "(cached) " >&6
75166else
75167  ac_check_lib_save_LIBS=$LIBS
75168LIBS="-lm  $LIBS"
75169if test x$gcc_no_link = xyes; then
75170  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75171fi
75172cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75173/* end confdefs.h.  */
75174
75175/* Override any GCC internal prototype to avoid an error.
75176   Use char because int might match the return type of a GCC
75177   builtin and then its argument prototype would still apply.  */
75178#ifdef __cplusplus
75179extern "C"
75180#endif
75181char __frexpieee128 ();
75182int
75183main ()
75184{
75185return __frexpieee128 ();
75186  ;
75187  return 0;
75188}
75189_ACEOF
75190if ac_fn_c_try_link "$LINENO"; then :
75191  ac_cv_lib_m___frexpieee128=yes
75192else
75193  ac_cv_lib_m___frexpieee128=no
75194fi
75195rm -f core conftest.err conftest.$ac_objext \
75196    conftest$ac_exeext conftest.$ac_ext
75197LIBS=$ac_check_lib_save_LIBS
75198fi
75199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
75200$as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
75201if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
75202  ac_ldbl_ieee128_in_libc=yes
75203else
75204  ac_ldbl_ieee128_in_libc=no
75205fi
75206
75207        if test $ac_ldbl_ieee128_in_libc = yes; then
75208          # Determine which long double format is the compiler's default:
75209          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75210/* end confdefs.h.  */
75211
75212int
75213main ()
75214{
75215
75216            #ifndef __LONG_DOUBLE_IEEE128__
75217            #error compiler defaults to ibm128
75218            #endif
75219
75220  ;
75221  return 0;
75222}
75223_ACEOF
75224if ac_fn_c_try_compile "$LINENO"; then :
75225  ac_ldbl_ieee128_default=yes
75226else
75227  ac_ldbl_ieee128_default=no
75228fi
75229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75230          # Library objects should use default long double format.
75231          if test "$ac_ldbl_ieee128_default" = yes; then
75232            LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75233            # Except for the ones that explicitly use these flags:
75234            LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
75235          else
75236            LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75237            LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
75238          fi
75239
75240$as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
75241
75242          port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
75243          ac_ldbl_alt128_compat=yes
75244        else
75245          ac_ldbl_alt128_compat=no
75246        fi
75247	;;
75248    esac
75249  fi
75250esac
75251
75252
75253
75254
75255
75256
75257# Check if assembler supports disabling hardware capability support.
75258
75259  test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75260
75261  # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75262  # with a different meaning.
75263  case ${target_os} in
75264    solaris2*)
75265      ac_save_CFLAGS="$CFLAGS"
75266      CFLAGS="$CFLAGS -Wa,-nH"
75267
75268      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75269$as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75271/* end confdefs.h.  */
75272
75273int
75274main ()
75275{
75276return 0;
75277  ;
75278  return 0;
75279}
75280_ACEOF
75281if ac_fn_c_try_compile "$LINENO"; then :
75282  ac_hwcap_flags=yes
75283else
75284  ac_hwcap_flags=no
75285fi
75286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75287      if test "$ac_hwcap_flags" = "yes"; then
75288	HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75289      fi
75290      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75291$as_echo "$ac_hwcap_flags" >&6; }
75292
75293      CFLAGS="$ac_save_CFLAGS"
75294      ;;
75295  esac
75296
75297
75298
75299
75300# Check if assembler supports rdrand opcode.
75301
75302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75303$as_echo_n "checking for rdrand support in assembler... " >&6; }
75304if ${ac_cv_x86_rdrand+:} false; then :
75305  $as_echo_n "(cached) " >&6
75306else
75307
75308  ac_cv_x86_rdrand=no
75309  case "$target" in
75310    i?86-*-* | \
75311    x86_64-*-*)
75312    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75313/* end confdefs.h.  */
75314
75315int
75316main ()
75317{
75318asm("rdrand %eax");
75319  ;
75320  return 0;
75321}
75322_ACEOF
75323if ac_fn_c_try_compile "$LINENO"; then :
75324  ac_cv_x86_rdrand=yes
75325else
75326  ac_cv_x86_rdrand=no
75327fi
75328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75329  esac
75330
75331fi
75332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75333$as_echo "$ac_cv_x86_rdrand" >&6; }
75334  if test $ac_cv_x86_rdrand = yes; then
75335
75336$as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75337
75338  fi
75339
75340# Check if assembler supports rdseed opcode.
75341
75342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75343$as_echo_n "checking for rdseed support in assembler... " >&6; }
75344if ${ac_cv_x86_rdseed+:} false; then :
75345  $as_echo_n "(cached) " >&6
75346else
75347
75348  ac_cv_x86_rdseed=no
75349  case "$target" in
75350    i?86-*-* | \
75351    x86_64-*-*)
75352    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75353/* end confdefs.h.  */
75354
75355int
75356main ()
75357{
75358asm("rdseed %eax");
75359  ;
75360  return 0;
75361}
75362_ACEOF
75363if ac_fn_c_try_compile "$LINENO"; then :
75364  ac_cv_x86_rdseed=yes
75365else
75366  ac_cv_x86_rdseed=no
75367fi
75368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75369  esac
75370
75371fi
75372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75373$as_echo "$ac_cv_x86_rdseed" >&6; }
75374  if test $ac_cv_x86_rdseed = yes; then
75375
75376$as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75377
75378  fi
75379
75380
75381# Check for other random number APIs
75382
75383
75384
75385  ac_ext=cpp
75386ac_cpp='$CXXCPP $CPPFLAGS'
75387ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75388ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75389ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75390
75391  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
75392$as_echo_n "checking for getentropy... " >&6; }
75393if ${glibcxx_cv_getentropy+:} false; then :
75394  $as_echo_n "(cached) " >&6
75395else
75396
75397      if test x$gcc_no_link = xyes; then
75398  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75399/* end confdefs.h.  */
75400#include <unistd.h>
75401int
75402main ()
75403{
75404unsigned i;
75405	 ::getentropy(&i, sizeof(i));
75406  ;
75407  return 0;
75408}
75409_ACEOF
75410if ac_fn_cxx_try_compile "$LINENO"; then :
75411  glibcxx_cv_getentropy=yes
75412else
75413  glibcxx_cv_getentropy=no
75414fi
75415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75416else
75417  if test x$gcc_no_link = xyes; then
75418  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75419fi
75420cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75421/* end confdefs.h.  */
75422#include <unistd.h>
75423int
75424main ()
75425{
75426unsigned i;
75427	 ::getentropy(&i, sizeof(i));
75428  ;
75429  return 0;
75430}
75431_ACEOF
75432if ac_fn_cxx_try_link "$LINENO"; then :
75433  glibcxx_cv_getentropy=yes
75434else
75435  glibcxx_cv_getentropy=no
75436fi
75437rm -f core conftest.err conftest.$ac_objext \
75438    conftest$ac_exeext conftest.$ac_ext
75439fi
75440
75441fi
75442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
75443$as_echo "$glibcxx_cv_getentropy" >&6; }
75444
75445  if test $glibcxx_cv_getentropy = yes; then
75446
75447$as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
75448
75449  fi
75450  ac_ext=c
75451ac_cpp='$CPP $CPPFLAGS'
75452ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75453ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75454ac_compiler_gnu=$ac_cv_c_compiler_gnu
75455
75456
75457
75458
75459
75460  ac_ext=cpp
75461ac_cpp='$CXXCPP $CPPFLAGS'
75462ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75463ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75464ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75465
75466  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
75467$as_echo_n "checking for arc4random... " >&6; }
75468if ${glibcxx_cv_arc4random+:} false; then :
75469  $as_echo_n "(cached) " >&6
75470else
75471
75472      if test x$gcc_no_link = xyes; then
75473  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75474/* end confdefs.h.  */
75475#include <stdlib.h>
75476int
75477main ()
75478{
75479unsigned i = ::arc4random();
75480  ;
75481  return 0;
75482}
75483_ACEOF
75484if ac_fn_cxx_try_compile "$LINENO"; then :
75485  glibcxx_cv_arc4random=yes
75486else
75487  glibcxx_cv_arc4random=no
75488fi
75489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75490else
75491  if test x$gcc_no_link = xyes; then
75492  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75493fi
75494cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75495/* end confdefs.h.  */
75496#include <stdlib.h>
75497int
75498main ()
75499{
75500unsigned i = ::arc4random();
75501  ;
75502  return 0;
75503}
75504_ACEOF
75505if ac_fn_cxx_try_link "$LINENO"; then :
75506  glibcxx_cv_arc4random=yes
75507else
75508  glibcxx_cv_arc4random=no
75509fi
75510rm -f core conftest.err conftest.$ac_objext \
75511    conftest$ac_exeext conftest.$ac_ext
75512fi
75513
75514fi
75515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
75516$as_echo "$glibcxx_cv_arc4random" >&6; }
75517
75518  if test $glibcxx_cv_arc4random = yes; then
75519
75520$as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
75521
75522  fi
75523  ac_ext=c
75524ac_cpp='$CPP $CPPFLAGS'
75525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75527ac_compiler_gnu=$ac_cv_c_compiler_gnu
75528
75529
75530
75531# This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75532
75533  # Do checks for resource limit functions.
75534
75535
75536  ac_ext=cpp
75537ac_cpp='$CXXCPP $CPPFLAGS'
75538ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75539ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75540ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75541
75542  setrlimit_have_headers=yes
75543  for ac_header in unistd.h sys/time.h sys/resource.h
75544do :
75545  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75546ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75547if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75548  cat >>confdefs.h <<_ACEOF
75549#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75550_ACEOF
75551
75552else
75553  setrlimit_have_headers=no
75554fi
75555
75556done
75557
75558  # If don't have the headers, then we can't run the tests now, and we
75559  # won't be seeing any of these during testsuite compilation.
75560  if test $setrlimit_have_headers = yes; then
75561    # Can't do these in a loop, else the resulting syntax is wrong.
75562
75563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75564$as_echo_n "checking for RLIMIT_DATA... " >&6; }
75565  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75566/* end confdefs.h.  */
75567#include <unistd.h>
75568     #include <sys/time.h>
75569     #include <sys/resource.h>
75570
75571int
75572main ()
75573{
75574 int f = RLIMIT_DATA ;
75575  ;
75576  return 0;
75577}
75578_ACEOF
75579if ac_fn_cxx_try_compile "$LINENO"; then :
75580  glibcxx_mresult=1
75581else
75582  glibcxx_mresult=0
75583fi
75584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75585
75586cat >>confdefs.h <<_ACEOF
75587#define HAVE_LIMIT_DATA $glibcxx_mresult
75588_ACEOF
75589
75590  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75592$as_echo "$res" >&6; }
75593
75594
75595  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75596$as_echo_n "checking for RLIMIT_RSS... " >&6; }
75597  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75598/* end confdefs.h.  */
75599#include <unistd.h>
75600     #include <sys/time.h>
75601     #include <sys/resource.h>
75602
75603int
75604main ()
75605{
75606 int f = RLIMIT_RSS ;
75607  ;
75608  return 0;
75609}
75610_ACEOF
75611if ac_fn_cxx_try_compile "$LINENO"; then :
75612  glibcxx_mresult=1
75613else
75614  glibcxx_mresult=0
75615fi
75616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75617
75618cat >>confdefs.h <<_ACEOF
75619#define HAVE_LIMIT_RSS $glibcxx_mresult
75620_ACEOF
75621
75622  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75624$as_echo "$res" >&6; }
75625
75626
75627  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75628$as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75629  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75630/* end confdefs.h.  */
75631#include <unistd.h>
75632     #include <sys/time.h>
75633     #include <sys/resource.h>
75634
75635int
75636main ()
75637{
75638 int f = RLIMIT_VMEM ;
75639  ;
75640  return 0;
75641}
75642_ACEOF
75643if ac_fn_cxx_try_compile "$LINENO"; then :
75644  glibcxx_mresult=1
75645else
75646  glibcxx_mresult=0
75647fi
75648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75649
75650cat >>confdefs.h <<_ACEOF
75651#define HAVE_LIMIT_VMEM $glibcxx_mresult
75652_ACEOF
75653
75654  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75656$as_echo "$res" >&6; }
75657
75658
75659  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75660$as_echo_n "checking for RLIMIT_AS... " >&6; }
75661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75662/* end confdefs.h.  */
75663#include <unistd.h>
75664     #include <sys/time.h>
75665     #include <sys/resource.h>
75666
75667int
75668main ()
75669{
75670 int f = RLIMIT_AS ;
75671  ;
75672  return 0;
75673}
75674_ACEOF
75675if ac_fn_cxx_try_compile "$LINENO"; then :
75676  glibcxx_mresult=1
75677else
75678  glibcxx_mresult=0
75679fi
75680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75681
75682cat >>confdefs.h <<_ACEOF
75683#define HAVE_LIMIT_AS $glibcxx_mresult
75684_ACEOF
75685
75686  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75688$as_echo "$res" >&6; }
75689
75690
75691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75692$as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75694/* end confdefs.h.  */
75695#include <unistd.h>
75696     #include <sys/time.h>
75697     #include <sys/resource.h>
75698
75699int
75700main ()
75701{
75702 int f = RLIMIT_FSIZE ;
75703  ;
75704  return 0;
75705}
75706_ACEOF
75707if ac_fn_cxx_try_compile "$LINENO"; then :
75708  glibcxx_mresult=1
75709else
75710  glibcxx_mresult=0
75711fi
75712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75713
75714cat >>confdefs.h <<_ACEOF
75715#define HAVE_LIMIT_FSIZE $glibcxx_mresult
75716_ACEOF
75717
75718  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75720$as_echo "$res" >&6; }
75721
75722
75723    # Check for rlimit, setrlimit.
75724    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75725$as_echo_n "checking for testsuite resource limits support... " >&6; }
75726if ${glibcxx_cv_setrlimit+:} false; then :
75727  $as_echo_n "(cached) " >&6
75728else
75729
75730      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75731/* end confdefs.h.  */
75732#include <unistd.h>
75733	 #include <sys/time.h>
75734	 #include <sys/resource.h>
75735
75736int
75737main ()
75738{
75739struct rlimit r;
75740	 setrlimit(0, &r);
75741  ;
75742  return 0;
75743}
75744_ACEOF
75745if ac_fn_cxx_try_compile "$LINENO"; then :
75746  glibcxx_cv_setrlimit=yes
75747else
75748  glibcxx_cv_setrlimit=no
75749fi
75750rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75751
75752fi
75753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
75754$as_echo "$glibcxx_cv_setrlimit" >&6; }
75755
75756    if test $glibcxx_cv_setrlimit = yes; then
75757
75758$as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75759
75760    fi
75761  fi
75762  ac_ext=c
75763ac_cpp='$CPP $CPPFLAGS'
75764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75766ac_compiler_gnu=$ac_cv_c_compiler_gnu
75767
75768
75769
75770  if $GLIBCXX_IS_NATIVE ; then
75771    # Look for setenv, so that extended locale tests can be performed.
75772
75773  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75774$as_echo_n "checking for setenv declaration... " >&6; }
75775  if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75776    if ${glibcxx_cv_func_setenv_use+:} false; then :
75777  $as_echo_n "(cached) " >&6
75778else
75779
75780
75781      ac_ext=cpp
75782ac_cpp='$CXXCPP $CPPFLAGS'
75783ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75784ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75785ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75786
75787      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75788/* end confdefs.h.  */
75789#include <stdlib.h>
75790int
75791main ()
75792{
75793 setenv(0, 0, 0);
75794  ;
75795  return 0;
75796}
75797_ACEOF
75798if ac_fn_cxx_try_compile "$LINENO"; then :
75799  glibcxx_cv_func_setenv_use=yes
75800else
75801  glibcxx_cv_func_setenv_use=no
75802fi
75803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75804      ac_ext=c
75805ac_cpp='$CPP $CPPFLAGS'
75806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75808ac_compiler_gnu=$ac_cv_c_compiler_gnu
75809
75810
75811fi
75812
75813  fi
75814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75815$as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75816  if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75817    for ac_func in setenv
75818do :
75819  ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75820if test "x$ac_cv_func_setenv" = xyes; then :
75821  cat >>confdefs.h <<_ACEOF
75822#define HAVE_SETENV 1
75823_ACEOF
75824
75825fi
75826done
75827
75828  fi
75829
75830  fi
75831
75832  if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75833     test $enable_symvers != no; then
75834    case "$host" in
75835      *-*-cygwin*)
75836	enable_abi_check=no ;;
75837      *)
75838	enable_abi_check=yes ;;
75839    esac
75840  else
75841    # Only build this as native, since automake does not understand
75842    # CXX_FOR_BUILD.
75843    enable_abi_check=no
75844  fi
75845
75846  # Export file names for ABI checking.
75847  baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75848
75849  baseline_subdir_switch="$abi_baseline_subdir_switch"
75850
75851
75852
75853# For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
75854
75855   # Check whether --enable-libstdcxx-threads was given.
75856if test "${enable_libstdcxx_threads+set}" = set; then :
75857  enableval=$enable_libstdcxx_threads;
75858      case "$enableval" in
75859       yes|no) ;;
75860       *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75861      esac
75862
75863else
75864  enable_libstdcxx_threads=auto
75865fi
75866
75867
75868
75869  if test x$enable_libstdcxx_threads = xauto ||
75870     test x$enable_libstdcxx_threads = xyes; then
75871
75872
75873  ac_ext=cpp
75874ac_cpp='$CXXCPP $CPPFLAGS'
75875ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75876ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75877ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75878
75879
75880  ac_save_CXXFLAGS="$CXXFLAGS"
75881  CXXFLAGS="$CXXFLAGS -fno-exceptions \
75882	-I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75883
75884  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75885  case $target_thread_file in
75886    posix)
75887      CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75888  esac
75889
75890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75891$as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75892
75893  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75894/* end confdefs.h.  */
75895#include <unistd.h>
75896int
75897main ()
75898{
75899
75900      // In case of POSIX threads check _POSIX_TIMEOUTS.
75901      #if (defined(_PTHREADS) \
75902	  && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75903      #error
75904      #endif
75905
75906  ;
75907  return 0;
75908}
75909_ACEOF
75910if ac_fn_cxx_try_compile "$LINENO"; then :
75911  ac_gthread_use_mutex_timedlock=1
75912else
75913  ac_gthread_use_mutex_timedlock=0
75914fi
75915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75916
75917
75918cat >>confdefs.h <<_ACEOF
75919#define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75920_ACEOF
75921
75922
75923  if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75924  else res_mutex_timedlock=no ; fi
75925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75926$as_echo "$res_mutex_timedlock" >&6; }
75927
75928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75929$as_echo_n "checking for gthreads library... " >&6; }
75930
75931  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75932/* end confdefs.h.  */
75933#include "gthr.h"
75934int
75935main ()
75936{
75937
75938      #ifndef __GTHREADS_CXX0X
75939      #error
75940      #endif
75941
75942  ;
75943  return 0;
75944}
75945_ACEOF
75946if ac_fn_cxx_try_compile "$LINENO"; then :
75947  ac_has_gthreads=yes
75948else
75949  ac_has_gthreads=no
75950fi
75951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75952  else
75953    ac_has_gthreads=no
75954  fi
75955
75956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75957$as_echo "$ac_has_gthreads" >&6; }
75958
75959  if test x"$ac_has_gthreads" = x"yes"; then
75960
75961$as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75962
75963
75964    # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75965    # but only do so if we're using pthread in the gthread library.
75966    # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75967    # but the pthread library is not there by default and the gthread library
75968    # does not use it.
75969    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75970/* end confdefs.h.  */
75971#include "gthr.h"
75972int
75973main ()
75974{
75975
75976      #if (!defined(_PTHREADS))
75977      #error
75978      #endif
75979
75980  ;
75981  return 0;
75982}
75983_ACEOF
75984if ac_fn_cxx_try_compile "$LINENO"; then :
75985  ac_gthread_use_pthreads=yes
75986else
75987  ac_gthread_use_pthreads=no
75988fi
75989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75990    if test x"$ac_gthread_use_pthreads" = x"yes"; then
75991      ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75992"
75993if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75994
75995$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
75996
75997fi
75998
75999    fi
76000  fi
76001
76002  ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
76003if test "x$ac_cv_header_semaphore_h" = xyes; then :
76004
76005    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
76006$as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
76007    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76008/* end confdefs.h.  */
76009
76010	#include <unistd.h>
76011	#include <semaphore.h>
76012	#include <limits.h>
76013
76014int
76015main ()
76016{
76017
76018	#if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
76019	# error "POSIX Timeouts option not supported"
76020	#elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
76021	# error "POSIX Semaphores option not supported"
76022	#else
76023	#if defined SEM_VALUE_MAX
76024	constexpr int sem_value_max = SEM_VALUE_MAX;
76025	#elif defined _POSIX_SEM_VALUE_MAX
76026	constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
76027	#else
76028	# error "SEM_VALUE_MAX not available"
76029	#endif
76030	sem_t sem;
76031	sem_init(&sem, 0, sem_value_max);
76032	struct timespec ts = { 0 };
76033	sem_timedwait(&sem, &ts);
76034	#endif
76035
76036  ;
76037  return 0;
76038}
76039_ACEOF
76040if ac_fn_cxx_try_compile "$LINENO"; then :
76041  ac_have_posix_semaphore=yes
76042else
76043  ac_have_posix_semaphore=no
76044fi
76045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76046else
76047  ac_have_posix_semaphore=no
76048fi
76049
76050
76051
76052  if test $ac_have_posix_semaphore = yes ; then
76053
76054$as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
76055
76056  fi
76057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
76058$as_echo "$ac_have_posix_semaphore" >&6; }
76059
76060  CXXFLAGS="$ac_save_CXXFLAGS"
76061  ac_ext=c
76062ac_cpp='$CPP $CPPFLAGS'
76063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76065ac_compiler_gnu=$ac_cv_c_compiler_gnu
76066
76067
76068
76069# For Filesystem TS.
76070for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
76071do :
76072  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76073ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76074if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76075  cat >>confdefs.h <<_ACEOF
76076#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76077_ACEOF
76078
76079fi
76080
76081done
76082
76083
76084   # Check whether --enable-libstdcxx-filesystem-ts was given.
76085if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
76086  enableval=$enable_libstdcxx_filesystem_ts;
76087      case "$enableval" in
76088       yes|no|auto) ;;
76089       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
76090	  	        esac
76091
76092else
76093  enable_libstdcxx_filesystem_ts=auto
76094fi
76095
76096
76097
76098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
76099$as_echo_n "checking whether to build Filesystem TS support... " >&6; }
76100  if test x"$ac_cv_header_dirent_h" != x"yes"; then
76101    enable_libstdcxx_filesystem_ts=no
76102  fi
76103  if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
76104    case "${target_os}" in
76105      freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
76106        enable_libstdcxx_filesystem_ts=yes
76107        ;;
76108      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
76109        enable_libstdcxx_filesystem_ts=yes
76110        ;;
76111      rtems*)
76112        enable_libstdcxx_filesystem_ts=yes
76113        ;;
76114      solaris*)
76115        enable_libstdcxx_filesystem_ts=yes
76116        ;;
76117      mingw*)
76118        enable_libstdcxx_filesystem_ts=yes
76119        ;;
76120      *)
76121        enable_libstdcxx_filesystem_ts=no
76122        ;;
76123    esac
76124  fi
76125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
76126$as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
76127
76128
76129
76130  ac_ext=cpp
76131ac_cpp='$CXXCPP $CPPFLAGS'
76132ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76133ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76134ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76135
76136  ac_save_CXXFLAGS="$CXXFLAGS"
76137  CXXFLAGS="$CXXFLAGS -fno-exceptions"
76138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
76139$as_echo_n "checking for struct dirent.d_type... " >&6; }
76140if ${glibcxx_cv_dirent_d_type+:} false; then :
76141  $as_echo_n "(cached) " >&6
76142else
76143      if test x$gcc_no_link = xyes; then
76144  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76145/* end confdefs.h.  */
76146#include <dirent.h>
76147int
76148main ()
76149{
76150
76151       struct dirent d;
76152       if (sizeof d.d_type) return 0;
76153
76154  ;
76155  return 0;
76156}
76157_ACEOF
76158if ac_fn_cxx_try_compile "$LINENO"; then :
76159  glibcxx_cv_dirent_d_type=yes
76160else
76161  glibcxx_cv_dirent_d_type=no
76162fi
76163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76164else
76165  if test x$gcc_no_link = xyes; then
76166  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76167fi
76168cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76169/* end confdefs.h.  */
76170#include <dirent.h>
76171int
76172main ()
76173{
76174
76175       struct dirent d;
76176       if (sizeof d.d_type) return 0;
76177
76178  ;
76179  return 0;
76180}
76181_ACEOF
76182if ac_fn_cxx_try_link "$LINENO"; then :
76183  glibcxx_cv_dirent_d_type=yes
76184else
76185  glibcxx_cv_dirent_d_type=no
76186fi
76187rm -f core conftest.err conftest.$ac_objext \
76188    conftest$ac_exeext conftest.$ac_ext
76189fi
76190
76191fi
76192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76193$as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76194  if test $glibcxx_cv_dirent_d_type = yes; then
76195
76196$as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76197
76198  fi
76199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76200$as_echo_n "checking for realpath... " >&6; }
76201if ${glibcxx_cv_realpath+:} false; then :
76202  $as_echo_n "(cached) " >&6
76203else
76204      if test x$gcc_no_link = xyes; then
76205  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76206/* end confdefs.h.  */
76207
76208       #include <limits.h>
76209       #include <stdlib.h>
76210       #include <unistd.h>
76211
76212int
76213main ()
76214{
76215
76216       #if _XOPEN_VERSION < 500
76217       #error
76218       #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76219       char *tmp = realpath((const char*)NULL, (char*)NULL);
76220       #else
76221       #error
76222       #endif
76223
76224  ;
76225  return 0;
76226}
76227_ACEOF
76228if ac_fn_cxx_try_compile "$LINENO"; then :
76229  glibcxx_cv_realpath=yes
76230else
76231  glibcxx_cv_realpath=no
76232fi
76233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76234else
76235  if test x$gcc_no_link = xyes; then
76236  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76237fi
76238cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76239/* end confdefs.h.  */
76240
76241       #include <limits.h>
76242       #include <stdlib.h>
76243       #include <unistd.h>
76244
76245int
76246main ()
76247{
76248
76249       #if _XOPEN_VERSION < 500
76250       #error
76251       #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76252       char *tmp = realpath((const char*)NULL, (char*)NULL);
76253       #else
76254       #error
76255       #endif
76256
76257  ;
76258  return 0;
76259}
76260_ACEOF
76261if ac_fn_cxx_try_link "$LINENO"; then :
76262  glibcxx_cv_realpath=yes
76263else
76264  glibcxx_cv_realpath=no
76265fi
76266rm -f core conftest.err conftest.$ac_objext \
76267    conftest$ac_exeext conftest.$ac_ext
76268fi
76269
76270fi
76271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76272$as_echo "$glibcxx_cv_realpath" >&6; }
76273  if test $glibcxx_cv_realpath = yes; then
76274
76275$as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76276
76277  fi
76278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76279$as_echo_n "checking for utimensat... " >&6; }
76280if ${glibcxx_cv_utimensat+:} false; then :
76281  $as_echo_n "(cached) " >&6
76282else
76283      if test x$gcc_no_link = xyes; then
76284  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76285/* end confdefs.h.  */
76286
76287	#include <fcntl.h>
76288	#include <sys/stat.h>
76289
76290int
76291main ()
76292{
76293
76294	struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76295	int i = utimensat(AT_FDCWD, "path", ts, 0);
76296
76297  ;
76298  return 0;
76299}
76300_ACEOF
76301if ac_fn_cxx_try_compile "$LINENO"; then :
76302  glibcxx_cv_utimensat=yes
76303else
76304  glibcxx_cv_utimensat=no
76305fi
76306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76307else
76308  if test x$gcc_no_link = xyes; then
76309  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76310fi
76311cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76312/* end confdefs.h.  */
76313
76314	#include <fcntl.h>
76315	#include <sys/stat.h>
76316
76317int
76318main ()
76319{
76320
76321	struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76322	int i = utimensat(AT_FDCWD, "path", ts, 0);
76323
76324  ;
76325  return 0;
76326}
76327_ACEOF
76328if ac_fn_cxx_try_link "$LINENO"; then :
76329  glibcxx_cv_utimensat=yes
76330else
76331  glibcxx_cv_utimensat=no
76332fi
76333rm -f core conftest.err conftest.$ac_objext \
76334    conftest$ac_exeext conftest.$ac_ext
76335fi
76336
76337fi
76338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76339$as_echo "$glibcxx_cv_utimensat" >&6; }
76340  if test $glibcxx_cv_utimensat = yes; then
76341
76342$as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76343
76344  fi
76345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76346$as_echo_n "checking for utime... " >&6; }
76347if ${glibcxx_cv_utime+:} false; then :
76348  $as_echo_n "(cached) " >&6
76349else
76350      if test x$gcc_no_link = xyes; then
76351  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76352/* end confdefs.h.  */
76353
76354	#include <utime.h>
76355
76356int
76357main ()
76358{
76359
76360	struct utimbuf t = { 1, 1 };
76361	int i = utime("path", &t);
76362
76363  ;
76364  return 0;
76365}
76366_ACEOF
76367if ac_fn_cxx_try_compile "$LINENO"; then :
76368  glibcxx_cv_utime=yes
76369else
76370  glibcxx_cv_utime=no
76371fi
76372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76373else
76374  if test x$gcc_no_link = xyes; then
76375  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76376fi
76377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76378/* end confdefs.h.  */
76379
76380	#include <utime.h>
76381
76382int
76383main ()
76384{
76385
76386	struct utimbuf t = { 1, 1 };
76387	int i = utime("path", &t);
76388
76389  ;
76390  return 0;
76391}
76392_ACEOF
76393if ac_fn_cxx_try_link "$LINENO"; then :
76394  glibcxx_cv_utime=yes
76395else
76396  glibcxx_cv_utime=no
76397fi
76398rm -f core conftest.err conftest.$ac_objext \
76399    conftest$ac_exeext conftest.$ac_ext
76400fi
76401
76402fi
76403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76404$as_echo "$glibcxx_cv_utime" >&6; }
76405  if test $glibcxx_cv_utime = yes; then
76406
76407$as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76408
76409  fi
76410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76411$as_echo_n "checking for lstat... " >&6; }
76412if ${glibcxx_cv_lstat+:} false; then :
76413  $as_echo_n "(cached) " >&6
76414else
76415      if test x$gcc_no_link = xyes; then
76416  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76417/* end confdefs.h.  */
76418 #include <sys/stat.h>
76419int
76420main ()
76421{
76422
76423	struct stat st;
76424	int i = lstat("path", &st);
76425
76426  ;
76427  return 0;
76428}
76429_ACEOF
76430if ac_fn_cxx_try_compile "$LINENO"; then :
76431  glibcxx_cv_lstat=yes
76432else
76433  glibcxx_cv_lstat=no
76434fi
76435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76436else
76437  if test x$gcc_no_link = xyes; then
76438  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76439fi
76440cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76441/* end confdefs.h.  */
76442 #include <sys/stat.h>
76443int
76444main ()
76445{
76446
76447	struct stat st;
76448	int i = lstat("path", &st);
76449
76450  ;
76451  return 0;
76452}
76453_ACEOF
76454if ac_fn_cxx_try_link "$LINENO"; then :
76455  glibcxx_cv_lstat=yes
76456else
76457  glibcxx_cv_lstat=no
76458fi
76459rm -f core conftest.err conftest.$ac_objext \
76460    conftest$ac_exeext conftest.$ac_ext
76461fi
76462
76463fi
76464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76465$as_echo "$glibcxx_cv_lstat" >&6; }
76466  if test $glibcxx_cv_lstat = yes; then
76467
76468$as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76469
76470  fi
76471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76472$as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76473if ${glibcxx_cv_st_mtim+:} false; then :
76474  $as_echo_n "(cached) " >&6
76475else
76476      if test x$gcc_no_link = xyes; then
76477  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76478/* end confdefs.h.  */
76479 #include <sys/stat.h>
76480int
76481main ()
76482{
76483
76484	struct stat st;
76485	return st.st_mtim.tv_nsec;
76486
76487  ;
76488  return 0;
76489}
76490_ACEOF
76491if ac_fn_cxx_try_compile "$LINENO"; then :
76492  glibcxx_cv_st_mtim=yes
76493else
76494  glibcxx_cv_st_mtim=no
76495fi
76496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76497else
76498  if test x$gcc_no_link = xyes; then
76499  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76500fi
76501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76502/* end confdefs.h.  */
76503 #include <sys/stat.h>
76504int
76505main ()
76506{
76507
76508	struct stat st;
76509	return st.st_mtim.tv_nsec;
76510
76511  ;
76512  return 0;
76513}
76514_ACEOF
76515if ac_fn_cxx_try_link "$LINENO"; then :
76516  glibcxx_cv_st_mtim=yes
76517else
76518  glibcxx_cv_st_mtim=no
76519fi
76520rm -f core conftest.err conftest.$ac_objext \
76521    conftest$ac_exeext conftest.$ac_ext
76522fi
76523
76524fi
76525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76526$as_echo "$glibcxx_cv_st_mtim" >&6; }
76527  if test $glibcxx_cv_st_mtim = yes; then
76528
76529$as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76530
76531  fi
76532  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76533$as_echo_n "checking for fchmod... " >&6; }
76534if ${glibcxx_cv_fchmod+:} false; then :
76535  $as_echo_n "(cached) " >&6
76536else
76537      if test x$gcc_no_link = xyes; then
76538  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76539/* end confdefs.h.  */
76540#include <sys/stat.h>
76541int
76542main ()
76543{
76544fchmod(1, S_IWUSR);
76545  ;
76546  return 0;
76547}
76548_ACEOF
76549if ac_fn_cxx_try_compile "$LINENO"; then :
76550  glibcxx_cv_fchmod=yes
76551else
76552  glibcxx_cv_fchmod=no
76553fi
76554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76555else
76556  if test x$gcc_no_link = xyes; then
76557  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76558fi
76559cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76560/* end confdefs.h.  */
76561#include <sys/stat.h>
76562int
76563main ()
76564{
76565fchmod(1, S_IWUSR);
76566  ;
76567  return 0;
76568}
76569_ACEOF
76570if ac_fn_cxx_try_link "$LINENO"; then :
76571  glibcxx_cv_fchmod=yes
76572else
76573  glibcxx_cv_fchmod=no
76574fi
76575rm -f core conftest.err conftest.$ac_objext \
76576    conftest$ac_exeext conftest.$ac_ext
76577fi
76578
76579fi
76580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76581$as_echo "$glibcxx_cv_fchmod" >&6; }
76582  if test $glibcxx_cv_fchmod = yes; then
76583
76584$as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76585
76586  fi
76587  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76588$as_echo_n "checking for fchmodat... " >&6; }
76589if ${glibcxx_cv_fchmodat+:} false; then :
76590  $as_echo_n "(cached) " >&6
76591else
76592      if test x$gcc_no_link = xyes; then
76593  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76594/* end confdefs.h.  */
76595
76596	#include <fcntl.h>
76597	#include <sys/stat.h>
76598
76599int
76600main ()
76601{
76602fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76603  ;
76604  return 0;
76605}
76606_ACEOF
76607if ac_fn_cxx_try_compile "$LINENO"; then :
76608  glibcxx_cv_fchmodat=yes
76609else
76610  glibcxx_cv_fchmodat=no
76611fi
76612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76613else
76614  if test x$gcc_no_link = xyes; then
76615  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76616fi
76617cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76618/* end confdefs.h.  */
76619
76620	#include <fcntl.h>
76621	#include <sys/stat.h>
76622
76623int
76624main ()
76625{
76626fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76627  ;
76628  return 0;
76629}
76630_ACEOF
76631if ac_fn_cxx_try_link "$LINENO"; then :
76632  glibcxx_cv_fchmodat=yes
76633else
76634  glibcxx_cv_fchmodat=no
76635fi
76636rm -f core conftest.err conftest.$ac_objext \
76637    conftest$ac_exeext conftest.$ac_ext
76638fi
76639
76640fi
76641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76642$as_echo "$glibcxx_cv_fchmodat" >&6; }
76643  if test $glibcxx_cv_fchmodat = yes; then
76644
76645$as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76646
76647  fi
76648  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76649$as_echo_n "checking for sendfile that can copy files... " >&6; }
76650if ${glibcxx_cv_sendfile+:} false; then :
76651  $as_echo_n "(cached) " >&6
76652else
76653      case "${target_os}" in
76654      gnu* | linux* | solaris* | uclinux*)
76655	if test x$gcc_no_link = xyes; then
76656  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76657/* end confdefs.h.  */
76658#include <sys/sendfile.h>
76659int
76660main ()
76661{
76662sendfile(1, 2, (off_t*)0, sizeof 1);
76663  ;
76664  return 0;
76665}
76666_ACEOF
76667if ac_fn_cxx_try_compile "$LINENO"; then :
76668  glibcxx_cv_sendfile=yes
76669else
76670  glibcxx_cv_sendfile=no
76671fi
76672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76673else
76674  if test x$gcc_no_link = xyes; then
76675  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76676fi
76677cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76678/* end confdefs.h.  */
76679#include <sys/sendfile.h>
76680int
76681main ()
76682{
76683sendfile(1, 2, (off_t*)0, sizeof 1);
76684  ;
76685  return 0;
76686}
76687_ACEOF
76688if ac_fn_cxx_try_link "$LINENO"; then :
76689  glibcxx_cv_sendfile=yes
76690else
76691  glibcxx_cv_sendfile=no
76692fi
76693rm -f core conftest.err conftest.$ac_objext \
76694    conftest$ac_exeext conftest.$ac_ext
76695fi
76696	;;
76697      *)
76698	glibcxx_cv_sendfile=no
76699	;;
76700    esac
76701
76702fi
76703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76704$as_echo "$glibcxx_cv_sendfile" >&6; }
76705  if test $glibcxx_cv_sendfile = yes; then
76706
76707$as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76708
76709  fi
76710  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76711$as_echo_n "checking for link... " >&6; }
76712if ${glibcxx_cv_link+:} false; then :
76713  $as_echo_n "(cached) " >&6
76714else
76715      if test x$gcc_no_link = xyes; then
76716  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76717/* end confdefs.h.  */
76718#include <unistd.h>
76719int
76720main ()
76721{
76722link("", "");
76723  ;
76724  return 0;
76725}
76726_ACEOF
76727if ac_fn_cxx_try_compile "$LINENO"; then :
76728  glibcxx_cv_link=yes
76729else
76730  glibcxx_cv_link=no
76731fi
76732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76733else
76734  if test x$gcc_no_link = xyes; then
76735  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76736fi
76737cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76738/* end confdefs.h.  */
76739#include <unistd.h>
76740int
76741main ()
76742{
76743link("", "");
76744  ;
76745  return 0;
76746}
76747_ACEOF
76748if ac_fn_cxx_try_link "$LINENO"; then :
76749  glibcxx_cv_link=yes
76750else
76751  glibcxx_cv_link=no
76752fi
76753rm -f core conftest.err conftest.$ac_objext \
76754    conftest$ac_exeext conftest.$ac_ext
76755fi
76756
76757fi
76758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76759$as_echo "$glibcxx_cv_link" >&6; }
76760  if test $glibcxx_cv_link = yes; then
76761
76762$as_echo "#define HAVE_LINK 1" >>confdefs.h
76763
76764  fi
76765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76766$as_echo_n "checking for readlink... " >&6; }
76767if ${glibcxx_cv_readlink+:} false; then :
76768  $as_echo_n "(cached) " >&6
76769else
76770      if test x$gcc_no_link = xyes; then
76771  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76772/* end confdefs.h.  */
76773#include <unistd.h>
76774int
76775main ()
76776{
76777char buf[32]; readlink("", buf, sizeof(buf));
76778  ;
76779  return 0;
76780}
76781_ACEOF
76782if ac_fn_cxx_try_compile "$LINENO"; then :
76783  glibcxx_cv_readlink=yes
76784else
76785  glibcxx_cv_readlink=no
76786fi
76787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76788else
76789  if test x$gcc_no_link = xyes; then
76790  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76791fi
76792cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76793/* end confdefs.h.  */
76794#include <unistd.h>
76795int
76796main ()
76797{
76798char buf[32]; readlink("", buf, sizeof(buf));
76799  ;
76800  return 0;
76801}
76802_ACEOF
76803if ac_fn_cxx_try_link "$LINENO"; then :
76804  glibcxx_cv_readlink=yes
76805else
76806  glibcxx_cv_readlink=no
76807fi
76808rm -f core conftest.err conftest.$ac_objext \
76809    conftest$ac_exeext conftest.$ac_ext
76810fi
76811
76812fi
76813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76814$as_echo "$glibcxx_cv_readlink" >&6; }
76815  if test $glibcxx_cv_readlink = yes; then
76816
76817$as_echo "#define HAVE_READLINK 1" >>confdefs.h
76818
76819  fi
76820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76821$as_echo_n "checking for symlink... " >&6; }
76822if ${glibcxx_cv_symlink+:} false; then :
76823  $as_echo_n "(cached) " >&6
76824else
76825      if test x$gcc_no_link = xyes; then
76826  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76827/* end confdefs.h.  */
76828#include <unistd.h>
76829int
76830main ()
76831{
76832symlink("", "");
76833  ;
76834  return 0;
76835}
76836_ACEOF
76837if ac_fn_cxx_try_compile "$LINENO"; then :
76838  glibcxx_cv_symlink=yes
76839else
76840  glibcxx_cv_symlink=no
76841fi
76842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76843else
76844  if test x$gcc_no_link = xyes; then
76845  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76846fi
76847cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76848/* end confdefs.h.  */
76849#include <unistd.h>
76850int
76851main ()
76852{
76853symlink("", "");
76854  ;
76855  return 0;
76856}
76857_ACEOF
76858if ac_fn_cxx_try_link "$LINENO"; then :
76859  glibcxx_cv_symlink=yes
76860else
76861  glibcxx_cv_symlink=no
76862fi
76863rm -f core conftest.err conftest.$ac_objext \
76864    conftest$ac_exeext conftest.$ac_ext
76865fi
76866
76867fi
76868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76869$as_echo "$glibcxx_cv_symlink" >&6; }
76870  if test $glibcxx_cv_symlink = yes; then
76871
76872$as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76873
76874  fi
76875  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76876$as_echo_n "checking for truncate... " >&6; }
76877if ${glibcxx_cv_truncate+:} false; then :
76878  $as_echo_n "(cached) " >&6
76879else
76880      if test x$gcc_no_link = xyes; then
76881  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76882/* end confdefs.h.  */
76883#include <unistd.h>
76884int
76885main ()
76886{
76887truncate("", 99);
76888  ;
76889  return 0;
76890}
76891_ACEOF
76892if ac_fn_cxx_try_compile "$LINENO"; then :
76893  glibcxx_cv_truncate=yes
76894else
76895  glibcxx_cv_truncate=no
76896fi
76897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76898else
76899  if test x$gcc_no_link = xyes; then
76900  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76901fi
76902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76903/* end confdefs.h.  */
76904#include <unistd.h>
76905int
76906main ()
76907{
76908truncate("", 99);
76909  ;
76910  return 0;
76911}
76912_ACEOF
76913if ac_fn_cxx_try_link "$LINENO"; then :
76914  glibcxx_cv_truncate=yes
76915else
76916  glibcxx_cv_truncate=no
76917fi
76918rm -f core conftest.err conftest.$ac_objext \
76919    conftest$ac_exeext conftest.$ac_ext
76920fi
76921
76922fi
76923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76924$as_echo "$glibcxx_cv_truncate" >&6; }
76925  if test $glibcxx_cv_truncate = yes; then
76926
76927$as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76928
76929  fi
76930  CXXFLAGS="$ac_save_CXXFLAGS"
76931  ac_ext=c
76932ac_cpp='$CPP $CPPFLAGS'
76933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76935ac_compiler_gnu=$ac_cv_c_compiler_gnu
76936
76937
76938
76939# For Networking TS.
76940for 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
76941do :
76942  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76943ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76944if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76945  cat >>confdefs.h <<_ACEOF
76946#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76947_ACEOF
76948
76949fi
76950
76951done
76952
76953ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
76954"
76955if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
76956
76957fi
76958
76959ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
76960"
76961if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
76962
76963fi
76964
76965if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
76966  ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
76967"
76968if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
76969
76970fi
76971
76972fi
76973
76974# For Transactional Memory TS
76975
76976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76977$as_echo_n "checking how size_t is mangled... " >&6; }
76978if ${glibcxx_cv_size_t_mangling+:} false; then :
76979  $as_echo_n "(cached) " >&6
76980else
76981
76982    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76983/* end confdefs.h.  */
76984
76985int
76986main ()
76987{
76988extern __SIZE_TYPE__ x; extern unsigned long x;
76989  ;
76990  return 0;
76991}
76992_ACEOF
76993if ac_fn_c_try_compile "$LINENO"; then :
76994  glibcxx_cv_size_t_mangling=m
76995else
76996
76997      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76998/* end confdefs.h.  */
76999
77000int
77001main ()
77002{
77003extern __SIZE_TYPE__ x; extern unsigned int x;
77004  ;
77005  return 0;
77006}
77007_ACEOF
77008if ac_fn_c_try_compile "$LINENO"; then :
77009  glibcxx_cv_size_t_mangling=j
77010else
77011
77012        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77013/* end confdefs.h.  */
77014
77015int
77016main ()
77017{
77018extern __SIZE_TYPE__ x; extern unsigned long long x;
77019  ;
77020  return 0;
77021}
77022_ACEOF
77023if ac_fn_c_try_compile "$LINENO"; then :
77024  glibcxx_cv_size_t_mangling=y
77025else
77026
77027          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77028/* end confdefs.h.  */
77029
77030int
77031main ()
77032{
77033extern __SIZE_TYPE__ x; extern unsigned short x;
77034  ;
77035  return 0;
77036}
77037_ACEOF
77038if ac_fn_c_try_compile "$LINENO"; then :
77039  glibcxx_cv_size_t_mangling=t
77040else
77041
77042            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77043/* end confdefs.h.  */
77044
77045int
77046main ()
77047{
77048extern __SIZE_TYPE__ x; extern __int20 unsigned x;
77049  ;
77050  return 0;
77051}
77052_ACEOF
77053if ac_fn_c_try_compile "$LINENO"; then :
77054  glibcxx_cv_size_t_mangling=u6uint20
77055else
77056  glibcxx_cv_size_t_mangling=x
77057fi
77058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77059
77060fi
77061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77062
77063fi
77064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77065
77066fi
77067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77068
77069fi
77070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77071
77072fi
77073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
77074$as_echo "$glibcxx_cv_size_t_mangling" >&6; }
77075  if test $glibcxx_cv_size_t_mangling = x; then
77076    as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
77077  fi
77078
77079cat >>confdefs.h <<_ACEOF
77080#define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
77081_ACEOF
77082
77083
77084
77085# Check which release added std::exception_ptr for the target
77086
77087  if test $enable_symvers != no; then
77088    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
77089$as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
77090    case ${target} in
77091      aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
77092      m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
77093        ac_exception_ptr_since_gcc46=yes
77094        ;;
77095      *)
77096        # If the value of this macro changes then we will need to hardcode
77097        # yes/no here for additional targets based on the original value.
77098        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77099/* end confdefs.h.  */
77100
77101int
77102main ()
77103{
77104
77105          #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
77106          # error atomic int not always lock free
77107          #endif
77108
77109  ;
77110  return 0;
77111}
77112_ACEOF
77113if ac_fn_c_try_compile "$LINENO"; then :
77114  ac_exception_ptr_since_gcc46=yes
77115else
77116  ac_exception_ptr_since_gcc46=no
77117fi
77118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77119        ;;
77120    esac
77121    if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
77122
77123$as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
77124
77125      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
77126$as_echo "4.6.0" >&6; }
77127    else
77128      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
77129$as_echo "7.1.0" >&6; }
77130    fi
77131  fi
77132
77133
77134# Define documentation rules conditionally.
77135
77136# See if makeinfo has been installed and is modern enough
77137# that we can use it.
77138
77139  # Extract the first word of "makeinfo", so it can be a program name with args.
77140set dummy makeinfo; ac_word=$2
77141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77142$as_echo_n "checking for $ac_word... " >&6; }
77143if ${ac_cv_prog_MAKEINFO+:} false; then :
77144  $as_echo_n "(cached) " >&6
77145else
77146  if test -n "$MAKEINFO"; then
77147  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
77148else
77149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77150for as_dir in $PATH
77151do
77152  IFS=$as_save_IFS
77153  test -z "$as_dir" && as_dir=.
77154    for ac_exec_ext in '' $ac_executable_extensions; do
77155  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77156    ac_cv_prog_MAKEINFO="makeinfo"
77157    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77158    break 2
77159  fi
77160done
77161  done
77162IFS=$as_save_IFS
77163
77164fi
77165fi
77166MAKEINFO=$ac_cv_prog_MAKEINFO
77167if test -n "$MAKEINFO"; then
77168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77169$as_echo "$MAKEINFO" >&6; }
77170else
77171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77172$as_echo "no" >&6; }
77173fi
77174
77175
77176  if test -n "$MAKEINFO"; then
77177    # Found it, now check the version.
77178    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77179$as_echo_n "checking for modern makeinfo... " >&6; }
77180if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77181  $as_echo_n "(cached) " >&6
77182else
77183  ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77184                                     sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77185
77186                    case $ac_prog_version in
77187                      '')  gcc_cv_prog_makeinfo_modern=no;;
77188                      4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
77189                      *)   gcc_cv_prog_makeinfo_modern=no;;
77190                    esac
77191
77192fi
77193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77194$as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77195  else
77196    gcc_cv_prog_makeinfo_modern=no
77197  fi
77198  if test $gcc_cv_prog_makeinfo_modern = no; then
77199    MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77200  fi
77201
77202 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77203  BUILD_INFO_TRUE=
77204  BUILD_INFO_FALSE='#'
77205else
77206  BUILD_INFO_TRUE='#'
77207  BUILD_INFO_FALSE=
77208fi
77209
77210
77211# Check for doxygen
77212# Extract the first word of "doxygen", so it can be a program name with args.
77213set dummy doxygen; ac_word=$2
77214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77215$as_echo_n "checking for $ac_word... " >&6; }
77216if ${ac_cv_prog_DOXYGEN+:} false; then :
77217  $as_echo_n "(cached) " >&6
77218else
77219  if test -n "$DOXYGEN"; then
77220  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77221else
77222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77223for as_dir in $PATH
77224do
77225  IFS=$as_save_IFS
77226  test -z "$as_dir" && as_dir=.
77227    for ac_exec_ext in '' $ac_executable_extensions; do
77228  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77229    ac_cv_prog_DOXYGEN="yes"
77230    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77231    break 2
77232  fi
77233done
77234  done
77235IFS=$as_save_IFS
77236
77237  test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77238fi
77239fi
77240DOXYGEN=$ac_cv_prog_DOXYGEN
77241if test -n "$DOXYGEN"; then
77242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77243$as_echo "$DOXYGEN" >&6; }
77244else
77245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77246$as_echo "no" >&6; }
77247fi
77248
77249
77250# Extract the first word of "dot", so it can be a program name with args.
77251set dummy dot; ac_word=$2
77252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77253$as_echo_n "checking for $ac_word... " >&6; }
77254if ${ac_cv_prog_DOT+:} false; then :
77255  $as_echo_n "(cached) " >&6
77256else
77257  if test -n "$DOT"; then
77258  ac_cv_prog_DOT="$DOT" # Let the user override the test.
77259else
77260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77261for as_dir in $PATH
77262do
77263  IFS=$as_save_IFS
77264  test -z "$as_dir" && as_dir=.
77265    for ac_exec_ext in '' $ac_executable_extensions; do
77266  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77267    ac_cv_prog_DOT="yes"
77268    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77269    break 2
77270  fi
77271done
77272  done
77273IFS=$as_save_IFS
77274
77275  test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77276fi
77277fi
77278DOT=$ac_cv_prog_DOT
77279if test -n "$DOT"; then
77280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77281$as_echo "$DOT" >&6; }
77282else
77283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77284$as_echo "no" >&6; }
77285fi
77286
77287
77288
77289# Check for docbook
77290# Extract the first word of "xmlcatalog", so it can be a program name with args.
77291set dummy xmlcatalog; ac_word=$2
77292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77293$as_echo_n "checking for $ac_word... " >&6; }
77294if ${ac_cv_prog_XMLCATALOG+:} false; then :
77295  $as_echo_n "(cached) " >&6
77296else
77297  if test -n "$XMLCATALOG"; then
77298  ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77299else
77300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77301for as_dir in $PATH
77302do
77303  IFS=$as_save_IFS
77304  test -z "$as_dir" && as_dir=.
77305    for ac_exec_ext in '' $ac_executable_extensions; do
77306  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77307    ac_cv_prog_XMLCATALOG="yes"
77308    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77309    break 2
77310  fi
77311done
77312  done
77313IFS=$as_save_IFS
77314
77315  test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77316fi
77317fi
77318XMLCATALOG=$ac_cv_prog_XMLCATALOG
77319if test -n "$XMLCATALOG"; then
77320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77321$as_echo "$XMLCATALOG" >&6; }
77322else
77323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77324$as_echo "no" >&6; }
77325fi
77326
77327
77328# Extract the first word of "xsltproc", so it can be a program name with args.
77329set dummy xsltproc; ac_word=$2
77330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77331$as_echo_n "checking for $ac_word... " >&6; }
77332if ${ac_cv_prog_XSLTPROC+:} false; then :
77333  $as_echo_n "(cached) " >&6
77334else
77335  if test -n "$XSLTPROC"; then
77336  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77337else
77338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77339for as_dir in $PATH
77340do
77341  IFS=$as_save_IFS
77342  test -z "$as_dir" && as_dir=.
77343    for ac_exec_ext in '' $ac_executable_extensions; do
77344  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77345    ac_cv_prog_XSLTPROC="yes"
77346    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77347    break 2
77348  fi
77349done
77350  done
77351IFS=$as_save_IFS
77352
77353  test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77354fi
77355fi
77356XSLTPROC=$ac_cv_prog_XSLTPROC
77357if test -n "$XSLTPROC"; then
77358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77359$as_echo "$XSLTPROC" >&6; }
77360else
77361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77362$as_echo "no" >&6; }
77363fi
77364
77365
77366# Extract the first word of "xmllint", so it can be a program name with args.
77367set dummy xmllint; ac_word=$2
77368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77369$as_echo_n "checking for $ac_word... " >&6; }
77370if ${ac_cv_prog_XMLLINT+:} false; then :
77371  $as_echo_n "(cached) " >&6
77372else
77373  if test -n "$XMLLINT"; then
77374  ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77375else
77376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77377for as_dir in $PATH
77378do
77379  IFS=$as_save_IFS
77380  test -z "$as_dir" && as_dir=.
77381    for ac_exec_ext in '' $ac_executable_extensions; do
77382  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77383    ac_cv_prog_XMLLINT="yes"
77384    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77385    break 2
77386  fi
77387done
77388  done
77389IFS=$as_save_IFS
77390
77391  test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77392fi
77393fi
77394XMLLINT=$ac_cv_prog_XMLLINT
77395if test -n "$XMLLINT"; then
77396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77397$as_echo "$XMLLINT" >&6; }
77398else
77399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77400$as_echo "no" >&6; }
77401fi
77402
77403
77404
77405
77406glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77407
77408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77409$as_echo_n "checking for local stylesheet directory... " >&6; }
77410glibcxx_local_stylesheets=no
77411if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77412then
77413  XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77414  glibcxx_local_stylesheets=yes
77415else
77416  for dir in \
77417    /usr/share/sgml/docbook/xsl-ns-stylesheets \
77418    /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77419    /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77420    /usr/share/xml/docbook/stylesheet/nwalsh/current
77421  do
77422    if test -d $dir; then
77423      glibcxx_local_stylesheets=yes
77424      XSL_STYLE_DIR=$dir
77425      break
77426    fi
77427  done
77428fi
77429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77430$as_echo "$glibcxx_local_stylesheets" >&6; }
77431
77432if test x"$glibcxx_local_stylesheets" = x"yes"; then
77433
77434  { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77435$as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77436
77437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77438$as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77439  glibcxx_stylesheets=no
77440  if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77441    if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77442      glibcxx_stylesheets=yes
77443    fi
77444  fi
77445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77446$as_echo "$glibcxx_stylesheets" >&6; }
77447
77448else
77449  glibcxx_stylesheets=no
77450fi
77451
77452# Check for epub3 dependencies.
77453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77454$as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77455glibcxx_epub_stylesheets=no
77456if test x"$glibcxx_local_stylesheets" = x"yes"; then
77457   if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77458      glibcxx_epub_stylesheets=yes
77459   fi
77460fi
77461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77462$as_echo "$glibcxx_epub_stylesheets" >&6; }
77463 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77464  BUILD_EPUB_TRUE=
77465  BUILD_EPUB_FALSE='#'
77466else
77467  BUILD_EPUB_TRUE='#'
77468  BUILD_EPUB_FALSE=
77469fi
77470
77471
77472
77473
77474# Check for xml/html dependencies.
77475 if test $ac_cv_prog_DOXYGEN = "yes" &&
77476	       test $ac_cv_prog_DOT = "yes" &&
77477	       test $ac_cv_prog_XSLTPROC = "yes" &&
77478	       test $ac_cv_prog_XMLLINT = "yes" &&
77479	       test $glibcxx_stylesheets = "yes"; then
77480  BUILD_XML_TRUE=
77481  BUILD_XML_FALSE='#'
77482else
77483  BUILD_XML_TRUE='#'
77484  BUILD_XML_FALSE=
77485fi
77486
77487
77488 if test $ac_cv_prog_DOXYGEN = "yes" &&
77489	       test $ac_cv_prog_DOT = "yes" &&
77490	       test $ac_cv_prog_XSLTPROC = "yes" &&
77491	       test $ac_cv_prog_XMLLINT = "yes" &&
77492	       test $glibcxx_stylesheets = "yes"; then
77493  BUILD_HTML_TRUE=
77494  BUILD_HTML_FALSE='#'
77495else
77496  BUILD_HTML_TRUE='#'
77497  BUILD_HTML_FALSE=
77498fi
77499
77500
77501# Check for man dependencies.
77502 if test $ac_cv_prog_DOXYGEN = "yes" &&
77503	       test $ac_cv_prog_DOT = "yes"; then
77504  BUILD_MAN_TRUE=
77505  BUILD_MAN_FALSE='#'
77506else
77507  BUILD_MAN_TRUE='#'
77508  BUILD_MAN_FALSE=
77509fi
77510
77511
77512# Check for pdf dependencies.
77513# Extract the first word of "dblatex", so it can be a program name with args.
77514set dummy dblatex; ac_word=$2
77515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77516$as_echo_n "checking for $ac_word... " >&6; }
77517if ${ac_cv_prog_DBLATEX+:} false; then :
77518  $as_echo_n "(cached) " >&6
77519else
77520  if test -n "$DBLATEX"; then
77521  ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77522else
77523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77524for as_dir in $PATH
77525do
77526  IFS=$as_save_IFS
77527  test -z "$as_dir" && as_dir=.
77528    for ac_exec_ext in '' $ac_executable_extensions; do
77529  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77530    ac_cv_prog_DBLATEX="yes"
77531    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77532    break 2
77533  fi
77534done
77535  done
77536IFS=$as_save_IFS
77537
77538  test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77539fi
77540fi
77541DBLATEX=$ac_cv_prog_DBLATEX
77542if test -n "$DBLATEX"; then
77543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77544$as_echo "$DBLATEX" >&6; }
77545else
77546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77547$as_echo "no" >&6; }
77548fi
77549
77550
77551# Extract the first word of "pdflatex", so it can be a program name with args.
77552set dummy pdflatex; ac_word=$2
77553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77554$as_echo_n "checking for $ac_word... " >&6; }
77555if ${ac_cv_prog_PDFLATEX+:} false; then :
77556  $as_echo_n "(cached) " >&6
77557else
77558  if test -n "$PDFLATEX"; then
77559  ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77560else
77561as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77562for as_dir in $PATH
77563do
77564  IFS=$as_save_IFS
77565  test -z "$as_dir" && as_dir=.
77566    for ac_exec_ext in '' $ac_executable_extensions; do
77567  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77568    ac_cv_prog_PDFLATEX="yes"
77569    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77570    break 2
77571  fi
77572done
77573  done
77574IFS=$as_save_IFS
77575
77576  test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77577fi
77578fi
77579PDFLATEX=$ac_cv_prog_PDFLATEX
77580if test -n "$PDFLATEX"; then
77581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77582$as_echo "$PDFLATEX" >&6; }
77583else
77584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77585$as_echo "no" >&6; }
77586fi
77587
77588
77589 if test $ac_cv_prog_DOXYGEN = "yes" &&
77590	       test $ac_cv_prog_DOT = "yes" &&
77591	       test $ac_cv_prog_XSLTPROC = "yes" &&
77592	       test $ac_cv_prog_XMLLINT = "yes" &&
77593	       test $ac_cv_prog_DBLATEX = "yes" &&
77594	       test $ac_cv_prog_PDFLATEX = "yes"; then
77595  BUILD_PDF_TRUE=
77596  BUILD_PDF_FALSE='#'
77597else
77598  BUILD_PDF_TRUE='#'
77599  BUILD_PDF_FALSE=
77600fi
77601
77602
77603case "$build" in
77604 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77605 * ) glibcxx_include_dir_notparallel=no ;;
77606esac
77607 if test $glibcxx_include_dir_notparallel = "yes"; then
77608  INCLUDE_DIR_NOTPARALLEL_TRUE=
77609  INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77610else
77611  INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77612  INCLUDE_DIR_NOTPARALLEL_FALSE=
77613fi
77614
77615
77616# Propagate the target-specific source directories through the build chain.
77617ATOMICITY_SRCDIR=config/${atomicity_dir}
77618ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77619ATOMIC_FLAGS=${atomic_flags}
77620CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77621OS_INC_SRCDIR=config/${os_include_dir}
77622ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77623ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77624CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77625CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77626
77627
77628
77629
77630
77631
77632
77633
77634
77635
77636# Conditionalize the makefile for this target machine.
77637tmake_file_=
77638for f in ${tmake_file}
77639do
77640	if test -f ${srcdir}/config/$f
77641	then
77642		tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
77643	fi
77644done
77645tmake_file="${tmake_file_}"
77646
77647
77648# Add CET specific flags if Intel CET is enabled.
77649 # Check whether --enable-cet was given.
77650if test "${enable_cet+set}" = set; then :
77651  enableval=$enable_cet;
77652      case "$enableval" in
77653       yes|no|auto) ;;
77654       *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77655                          esac
77656
77657else
77658  enable_cet=auto
77659fi
77660
77661
77662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77663$as_echo_n "checking for CET support... " >&6; }
77664
77665# NB: Avoid nested save_CFLAGS and save_LDFLAGS.
77666case "$host" in
77667  i[34567]86-*-linux* | x86_64-*-linux*)
77668    case "$enable_cet" in
77669      auto)
77670	# Check if target supports multi-byte NOPs
77671	# and if compiler and assembler support CET insn.
77672	cet_save_CFLAGS="$CFLAGS"
77673	CFLAGS="$CFLAGS -fcf-protection"
77674	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77675/* end confdefs.h.  */
77676
77677int
77678main ()
77679{
77680
77681#if !defined(__SSE2__)
77682#error target does not support multi-byte NOPs
77683#else
77684asm ("setssbsy");
77685#endif
77686
77687  ;
77688  return 0;
77689}
77690_ACEOF
77691if ac_fn_c_try_compile "$LINENO"; then :
77692  enable_cet=yes
77693else
77694  enable_cet=no
77695fi
77696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77697	CFLAGS="$cet_save_CFLAGS"
77698	;;
77699      yes)
77700	# Check if assembler supports CET.
77701	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77702/* end confdefs.h.  */
77703
77704int
77705main ()
77706{
77707asm ("setssbsy");
77708  ;
77709  return 0;
77710}
77711_ACEOF
77712if ac_fn_c_try_compile "$LINENO"; then :
77713
77714else
77715  as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77716fi
77717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77718	;;
77719    esac
77720    ;;
77721  *)
77722    enable_cet=no
77723    ;;
77724esac
77725if test x$enable_cet = xyes; then
77726  CET_FLAGS="-fcf-protection -mshstk"
77727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77728$as_echo "yes" >&6; }
77729else
77730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77731$as_echo "no" >&6; }
77732fi
77733
77734EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77735EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77736
77737
77738
77739# Determine cross-compile flags and AM_CONDITIONALs.
77740#AC_SUBST(GLIBCXX_IS_NATIVE)
77741#AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77742    if test $is_hosted = yes; then
77743  GLIBCXX_HOSTED_TRUE=
77744  GLIBCXX_HOSTED_FALSE='#'
77745else
77746  GLIBCXX_HOSTED_TRUE='#'
77747  GLIBCXX_HOSTED_FALSE=
77748fi
77749
77750
77751    if test $enable_libstdcxx_pch = yes; then
77752  GLIBCXX_BUILD_PCH_TRUE=
77753  GLIBCXX_BUILD_PCH_FALSE='#'
77754else
77755  GLIBCXX_BUILD_PCH_TRUE='#'
77756  GLIBCXX_BUILD_PCH_FALSE=
77757fi
77758
77759
77760    if test $enable_float128 = yes; then
77761  ENABLE_FLOAT128_TRUE=
77762  ENABLE_FLOAT128_FALSE='#'
77763else
77764  ENABLE_FLOAT128_TRUE='#'
77765  ENABLE_FLOAT128_FALSE=
77766fi
77767
77768
77769    if test $enable_libstdcxx_allocator_flag = new; then
77770  ENABLE_ALLOCATOR_NEW_TRUE=
77771  ENABLE_ALLOCATOR_NEW_FALSE='#'
77772else
77773  ENABLE_ALLOCATOR_NEW_TRUE='#'
77774  ENABLE_ALLOCATOR_NEW_FALSE=
77775fi
77776
77777
77778    if test $enable_cheaders = c; then
77779  GLIBCXX_C_HEADERS_C_TRUE=
77780  GLIBCXX_C_HEADERS_C_FALSE='#'
77781else
77782  GLIBCXX_C_HEADERS_C_TRUE='#'
77783  GLIBCXX_C_HEADERS_C_FALSE=
77784fi
77785
77786
77787    if test $enable_cheaders = c_std; then
77788  GLIBCXX_C_HEADERS_C_STD_TRUE=
77789  GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77790else
77791  GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77792  GLIBCXX_C_HEADERS_C_STD_FALSE=
77793fi
77794
77795
77796    if test $enable_cheaders = c_global; then
77797  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77798  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77799else
77800  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77801  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77802fi
77803
77804
77805    if test $c_compatibility = yes; then
77806  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77807  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77808else
77809  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77810  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77811fi
77812
77813
77814    if test $enable_libstdcxx_debug = yes; then
77815  GLIBCXX_BUILD_DEBUG_TRUE=
77816  GLIBCXX_BUILD_DEBUG_FALSE='#'
77817else
77818  GLIBCXX_BUILD_DEBUG_TRUE='#'
77819  GLIBCXX_BUILD_DEBUG_FALSE=
77820fi
77821
77822
77823    if test $enable_extern_template = yes; then
77824  ENABLE_EXTERN_TEMPLATE_TRUE=
77825  ENABLE_EXTERN_TEMPLATE_FALSE='#'
77826else
77827  ENABLE_EXTERN_TEMPLATE_TRUE='#'
77828  ENABLE_EXTERN_TEMPLATE_FALSE=
77829fi
77830
77831
77832    if test $python_mod_dir != no; then
77833  ENABLE_PYTHONDIR_TRUE=
77834  ENABLE_PYTHONDIR_FALSE='#'
77835else
77836  ENABLE_PYTHONDIR_TRUE='#'
77837  ENABLE_PYTHONDIR_FALSE=
77838fi
77839
77840
77841    if test $enable_werror = yes; then
77842  ENABLE_WERROR_TRUE=
77843  ENABLE_WERROR_FALSE='#'
77844else
77845  ENABLE_WERROR_TRUE='#'
77846  ENABLE_WERROR_FALSE=
77847fi
77848
77849
77850    if test $enable_vtable_verify = yes; then
77851  ENABLE_VTABLE_VERIFY_TRUE=
77852  ENABLE_VTABLE_VERIFY_FALSE='#'
77853else
77854  ENABLE_VTABLE_VERIFY_TRUE='#'
77855  ENABLE_VTABLE_VERIFY_FALSE=
77856fi
77857
77858
77859    if test $enable_symvers != no; then
77860  ENABLE_SYMVERS_TRUE=
77861  ENABLE_SYMVERS_FALSE='#'
77862else
77863  ENABLE_SYMVERS_TRUE='#'
77864  ENABLE_SYMVERS_FALSE=
77865fi
77866
77867
77868    if test $enable_symvers = gnu; then
77869  ENABLE_SYMVERS_GNU_TRUE=
77870  ENABLE_SYMVERS_GNU_FALSE='#'
77871else
77872  ENABLE_SYMVERS_GNU_TRUE='#'
77873  ENABLE_SYMVERS_GNU_FALSE=
77874fi
77875
77876
77877    if test $enable_symvers = gnu-versioned-namespace; then
77878  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77879  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77880else
77881  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77882  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77883fi
77884
77885
77886    if test $enable_symvers = darwin; then
77887  ENABLE_SYMVERS_DARWIN_TRUE=
77888  ENABLE_SYMVERS_DARWIN_FALSE='#'
77889else
77890  ENABLE_SYMVERS_DARWIN_TRUE='#'
77891  ENABLE_SYMVERS_DARWIN_FALSE=
77892fi
77893
77894
77895    if test $enable_symvers = sun; then
77896  ENABLE_SYMVERS_SUN_TRUE=
77897  ENABLE_SYMVERS_SUN_FALSE='#'
77898else
77899  ENABLE_SYMVERS_SUN_TRUE='#'
77900  ENABLE_SYMVERS_SUN_FALSE=
77901fi
77902
77903
77904    if test $enable_libstdcxx_visibility = yes; then
77905  ENABLE_VISIBILITY_TRUE=
77906  ENABLE_VISIBILITY_FALSE='#'
77907else
77908  ENABLE_VISIBILITY_TRUE='#'
77909  ENABLE_VISIBILITY_FALSE=
77910fi
77911
77912
77913    if test $enable_libstdcxx_dual_abi = yes; then
77914  ENABLE_DUAL_ABI_TRUE=
77915  ENABLE_DUAL_ABI_FALSE='#'
77916else
77917  ENABLE_DUAL_ABI_TRUE='#'
77918  ENABLE_DUAL_ABI_FALSE=
77919fi
77920
77921
77922    if test $glibcxx_cxx11_abi = 1; then
77923  ENABLE_CXX11_ABI_TRUE=
77924  ENABLE_CXX11_ABI_FALSE='#'
77925else
77926  ENABLE_CXX11_ABI_TRUE='#'
77927  ENABLE_CXX11_ABI_FALSE=
77928fi
77929
77930
77931    if test $ac_ldbl_compat = yes; then
77932  GLIBCXX_LDBL_COMPAT_TRUE=
77933  GLIBCXX_LDBL_COMPAT_FALSE='#'
77934else
77935  GLIBCXX_LDBL_COMPAT_TRUE='#'
77936  GLIBCXX_LDBL_COMPAT_FALSE=
77937fi
77938
77939
77940    if test $ac_ldbl_alt128_compat = yes; then
77941  GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
77942  GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
77943else
77944  GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
77945  GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
77946fi
77947
77948
77949    if test $enable_libstdcxx_filesystem_ts = yes; then
77950  ENABLE_FILESYSTEM_TS_TRUE=
77951  ENABLE_FILESYSTEM_TS_FALSE='#'
77952else
77953  ENABLE_FILESYSTEM_TS_TRUE='#'
77954  ENABLE_FILESYSTEM_TS_FALSE=
77955fi
77956
77957
77958
77959
77960cat >confcache <<\_ACEOF
77961# This file is a shell script that caches the results of configure
77962# tests run on this system so they can be shared between configure
77963# scripts and configure runs, see configure's option --config-cache.
77964# It is not useful on other systems.  If it contains results you don't
77965# want to keep, you may remove or edit it.
77966#
77967# config.status only pays attention to the cache file if you give it
77968# the --recheck option to rerun configure.
77969#
77970# `ac_cv_env_foo' variables (set or unset) will be overridden when
77971# loading this file, other *unset* `ac_cv_foo' will be assigned the
77972# following values.
77973
77974_ACEOF
77975
77976# The following way of writing the cache mishandles newlines in values,
77977# but we know of no workaround that is simple, portable, and efficient.
77978# So, we kill variables containing newlines.
77979# Ultrix sh set writes to stderr and can't be redirected directly,
77980# and sets the high bit in the cache file unless we assign to the vars.
77981(
77982  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77983    eval ac_val=\$$ac_var
77984    case $ac_val in #(
77985    *${as_nl}*)
77986      case $ac_var in #(
77987      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77988$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77989      esac
77990      case $ac_var in #(
77991      _ | IFS | as_nl) ;; #(
77992      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77993      *) { eval $ac_var=; unset $ac_var;} ;;
77994      esac ;;
77995    esac
77996  done
77997
77998  (set) 2>&1 |
77999    case $as_nl`(ac_space=' '; set) 2>&1` in #(
78000    *${as_nl}ac_space=\ *)
78001      # `set' does not quote correctly, so add quotes: double-quote
78002      # substitution turns \\\\ into \\, and sed turns \\ into \.
78003      sed -n \
78004	"s/'/'\\\\''/g;
78005	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78006      ;; #(
78007    *)
78008      # `set' quotes correctly as required by POSIX, so do not add quotes.
78009      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78010      ;;
78011    esac |
78012    sort
78013) |
78014  sed '
78015     /^ac_cv_env_/b end
78016     t clear
78017     :clear
78018     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78019     t end
78020     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78021     :end' >>confcache
78022if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78023  if test -w "$cache_file"; then
78024    if test "x$cache_file" != "x/dev/null"; then
78025      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78026$as_echo "$as_me: updating cache $cache_file" >&6;}
78027      if test ! -f "$cache_file" || test -h "$cache_file"; then
78028	cat confcache >"$cache_file"
78029      else
78030        case $cache_file in #(
78031        */* | ?:*)
78032	  mv -f confcache "$cache_file"$$ &&
78033	  mv -f "$cache_file"$$ "$cache_file" ;; #(
78034        *)
78035	  mv -f confcache "$cache_file" ;;
78036	esac
78037      fi
78038    fi
78039  else
78040    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78041$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78042  fi
78043fi
78044rm -f confcache
78045
78046if test ${multilib} = yes; then
78047  multilib_arg="--enable-multilib"
78048else
78049  multilib_arg=
78050fi
78051
78052# Export all the install information.
78053
78054  glibcxx_toolexecdir=no
78055  glibcxx_toolexeclibdir=no
78056  glibcxx_prefixdir=$prefix
78057
78058  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
78059$as_echo_n "checking for gxx-include-dir... " >&6; }
78060
78061# Check whether --with-gxx-include-dir was given.
78062if test "${with_gxx_include_dir+set}" = set; then :
78063  withval=$with_gxx_include_dir; case "$withval" in
78064      yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
78065      no)  gxx_include_dir=no ;;
78066      *)   gxx_include_dir=$withval ;;
78067     esac
78068else
78069  gxx_include_dir=no
78070fi
78071
78072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78073$as_echo "$gxx_include_dir" >&6; }
78074
78075  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
78076$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
78077  # Check whether --enable-version-specific-runtime-libs was given.
78078if test "${enable_version_specific_runtime_libs+set}" = set; then :
78079  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
78080      yes) version_specific_libs=yes ;;
78081      no)  version_specific_libs=no ;;
78082      *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
78083     esac
78084else
78085  version_specific_libs=no
78086fi
78087
78088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
78089$as_echo "$version_specific_libs" >&6; }
78090
78091
78092# Check whether --with-toolexeclibdir was given.
78093if test "${with_toolexeclibdir+set}" = set; then :
78094  withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
78095  /)
78096    ;;
78097  */)
78098    with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
78099    ;;
78100esac
78101else
78102  with_toolexeclibdir=no
78103fi
78104
78105
78106
78107  # Default case for install directory for include files.
78108  if test $version_specific_libs = no && test $gxx_include_dir = no; then
78109    gxx_include_dir='include/c++/${gcc_version}'
78110    if test -n "$with_cross_host" &&
78111       test x"$with_cross_host" != x"no"; then
78112      gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
78113    else
78114      gxx_include_dir='${prefix}/'"$gxx_include_dir"
78115    fi
78116  fi
78117
78118  # Version-specific runtime libs processing.
78119  if test $version_specific_libs = yes; then
78120    # Need the gcc compiler version to know where to install libraries
78121    # and header files if --enable-version-specific-runtime-libs option
78122    # is selected.  FIXME: these variables are misnamed, there are
78123    # no executables installed in _toolexecdir or _toolexeclibdir.
78124    if test x"$gxx_include_dir" = x"no"; then
78125      gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
78126    fi
78127    glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78128    glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
78129  fi
78130
78131  # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
78132  # Install a library built with a cross compiler in tooldir, not libdir.
78133  if test x"$glibcxx_toolexecdir" = x"no"; then
78134    if test -n "$with_cross_host" &&
78135       test x"$with_cross_host" != x"no"; then
78136      glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
78137      case ${with_toolexeclibdir} in
78138	no)
78139	  glibcxx_toolexeclibdir='${toolexecdir}/lib'
78140	  ;;
78141	*)
78142	  glibcxx_toolexeclibdir=${with_toolexeclibdir}
78143	  ;;
78144      esac
78145    else
78146      glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78147      glibcxx_toolexeclibdir='${libdir}'
78148    fi
78149    multi_os_directory=`$CXX -print-multi-os-directory`
78150    case $multi_os_directory in
78151      .) ;; # Avoid trailing /.
78152      *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
78153    esac
78154  fi
78155
78156  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
78157$as_echo_n "checking for install location... " >&6; }
78158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78159$as_echo "$gxx_include_dir" >&6; }
78160
78161
78162
78163
78164
78165
78166
78167# Export all the include and flag information to Makefiles.
78168
78169  # Used for every C++ compile we perform.
78170  GLIBCXX_INCLUDES="\
78171-I$glibcxx_builddir/include/$host_alias \
78172-I$glibcxx_builddir/include \
78173-I$glibcxx_srcdir/libsupc++"
78174
78175  # For Canadian crosses, pick this up too.
78176  if test $CANADIAN = yes; then
78177    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
78178  fi
78179
78180  # Stuff in the actual top level.  Currently only used by libsupc++ to
78181  # get unwind* headers from the libgcc dir.
78182  #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
78183  TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
78184
78185  # Now, export this to all the little Makefiles....
78186
78187
78188
78189
78190  # Optimization flags that are probably a good idea for thrill-seekers. Just
78191  # uncomment the lines below and make, everything else is ready to go...
78192  # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78193  # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78194
78195
78196  WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78197
78198
78199
78200# Determine what GCC version number to use in filesystem paths.
78201
78202  get_gcc_base_ver="cat"
78203
78204# Check whether --with-gcc-major-version-only was given.
78205if test "${with_gcc_major_version_only+set}" = set; then :
78206  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78207        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78208      fi
78209
78210fi
78211
78212
78213
78214
78215ac_config_files="$ac_config_files Makefile"
78216
78217ac_config_files="$ac_config_files scripts/testsuite_flags"
78218
78219ac_config_files="$ac_config_files scripts/extract_symvers"
78220
78221ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78222
78223
78224# Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78225# that multilib installs will end up installed in the correct place.
78226# The testsuite needs it for multilib-aware ABI baseline files.
78227# To work around this not being passed down from config-ml.in ->
78228# srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78229# append it here.  Only modify Makefiles that have just been created.
78230#
78231# Also, get rid of this simulated-VPATH thing that automake does.
78232ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
78233
78234
78235ac_config_commands="$ac_config_commands generate-headers"
78236
78237
78238cat >confcache <<\_ACEOF
78239# This file is a shell script that caches the results of configure
78240# tests run on this system so they can be shared between configure
78241# scripts and configure runs, see configure's option --config-cache.
78242# It is not useful on other systems.  If it contains results you don't
78243# want to keep, you may remove or edit it.
78244#
78245# config.status only pays attention to the cache file if you give it
78246# the --recheck option to rerun configure.
78247#
78248# `ac_cv_env_foo' variables (set or unset) will be overridden when
78249# loading this file, other *unset* `ac_cv_foo' will be assigned the
78250# following values.
78251
78252_ACEOF
78253
78254# The following way of writing the cache mishandles newlines in values,
78255# but we know of no workaround that is simple, portable, and efficient.
78256# So, we kill variables containing newlines.
78257# Ultrix sh set writes to stderr and can't be redirected directly,
78258# and sets the high bit in the cache file unless we assign to the vars.
78259(
78260  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78261    eval ac_val=\$$ac_var
78262    case $ac_val in #(
78263    *${as_nl}*)
78264      case $ac_var in #(
78265      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78266$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78267      esac
78268      case $ac_var in #(
78269      _ | IFS | as_nl) ;; #(
78270      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78271      *) { eval $ac_var=; unset $ac_var;} ;;
78272      esac ;;
78273    esac
78274  done
78275
78276  (set) 2>&1 |
78277    case $as_nl`(ac_space=' '; set) 2>&1` in #(
78278    *${as_nl}ac_space=\ *)
78279      # `set' does not quote correctly, so add quotes: double-quote
78280      # substitution turns \\\\ into \\, and sed turns \\ into \.
78281      sed -n \
78282	"s/'/'\\\\''/g;
78283	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78284      ;; #(
78285    *)
78286      # `set' quotes correctly as required by POSIX, so do not add quotes.
78287      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78288      ;;
78289    esac |
78290    sort
78291) |
78292  sed '
78293     /^ac_cv_env_/b end
78294     t clear
78295     :clear
78296     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78297     t end
78298     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78299     :end' >>confcache
78300if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78301  if test -w "$cache_file"; then
78302    if test "x$cache_file" != "x/dev/null"; then
78303      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78304$as_echo "$as_me: updating cache $cache_file" >&6;}
78305      if test ! -f "$cache_file" || test -h "$cache_file"; then
78306	cat confcache >"$cache_file"
78307      else
78308        case $cache_file in #(
78309        */* | ?:*)
78310	  mv -f confcache "$cache_file"$$ &&
78311	  mv -f "$cache_file"$$ "$cache_file" ;; #(
78312        *)
78313	  mv -f confcache "$cache_file" ;;
78314	esac
78315      fi
78316    fi
78317  else
78318    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78319$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78320  fi
78321fi
78322rm -f confcache
78323
78324test "x$prefix" = xNONE && prefix=$ac_default_prefix
78325# Let make expand exec_prefix.
78326test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78327
78328DEFS=-DHAVE_CONFIG_H
78329
78330ac_libobjs=
78331ac_ltlibobjs=
78332U=
78333for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78334  # 1. Remove the extension, and $U if already installed.
78335  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78336  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78337  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
78338  #    will be set to the directory where LIBOBJS objects are built.
78339  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78340  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78341done
78342LIBOBJS=$ac_libobjs
78343
78344LTLIBOBJS=$ac_ltlibobjs
78345
78346
78347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78348$as_echo_n "checking that generated files are newer than configure... " >&6; }
78349   if test -n "$am_sleep_pid"; then
78350     # Hide warnings about reused PIDs.
78351     wait $am_sleep_pid 2>/dev/null
78352   fi
78353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78354$as_echo "done" >&6; }
78355 if test -n "$EXEEXT"; then
78356  am__EXEEXT_TRUE=
78357  am__EXEEXT_FALSE='#'
78358else
78359  am__EXEEXT_TRUE='#'
78360  am__EXEEXT_FALSE=
78361fi
78362
78363if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78364  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78365Usually this means the macro was only invoked conditionally." "$LINENO" 5
78366fi
78367if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78368  as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78369Usually this means the macro was only invoked conditionally." "$LINENO" 5
78370fi
78371if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78372  as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78373Usually this means the macro was only invoked conditionally." "$LINENO" 5
78374fi
78375if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78376  as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78377Usually this means the macro was only invoked conditionally." "$LINENO" 5
78378fi
78379if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78380  as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78381Usually this means the macro was only invoked conditionally." "$LINENO" 5
78382fi
78383if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78384  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78385Usually this means the macro was only invoked conditionally." "$LINENO" 5
78386fi
78387if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78388  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78389Usually this means the macro was only invoked conditionally." "$LINENO" 5
78390fi
78391if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78392  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78393Usually this means the macro was only invoked conditionally." "$LINENO" 5
78394fi
78395if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78396  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78397Usually this means the macro was only invoked conditionally." "$LINENO" 5
78398fi
78399if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78400  as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78401Usually this means the macro was only invoked conditionally." "$LINENO" 5
78402fi
78403if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78404  as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78405Usually this means the macro was only invoked conditionally." "$LINENO" 5
78406fi
78407if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78408  as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78409Usually this means the macro was only invoked conditionally." "$LINENO" 5
78410fi
78411if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78412  as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78413Usually this means the macro was only invoked conditionally." "$LINENO" 5
78414fi
78415if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78416  as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78417Usually this means the macro was only invoked conditionally." "$LINENO" 5
78418fi
78419if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78420  as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78421Usually this means the macro was only invoked conditionally." "$LINENO" 5
78422fi
78423if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78424  as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78425Usually this means the macro was only invoked conditionally." "$LINENO" 5
78426fi
78427if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78428  as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78429Usually this means the macro was only invoked conditionally." "$LINENO" 5
78430fi
78431if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78432  as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78433Usually this means the macro was only invoked conditionally." "$LINENO" 5
78434fi
78435if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78436  as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78437Usually this means the macro was only invoked conditionally." "$LINENO" 5
78438fi
78439if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78440  as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78441Usually this means the macro was only invoked conditionally." "$LINENO" 5
78442fi
78443if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78444  as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78445Usually this means the macro was only invoked conditionally." "$LINENO" 5
78446fi
78447if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78448  as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78449Usually this means the macro was only invoked conditionally." "$LINENO" 5
78450fi
78451if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78452  as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78453Usually this means the macro was only invoked conditionally." "$LINENO" 5
78454fi
78455if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78456  as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78457Usually this means the macro was only invoked conditionally." "$LINENO" 5
78458fi
78459if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
78460  as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
78461Usually this means the macro was only invoked conditionally." "$LINENO" 5
78462fi
78463if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78464  as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78465Usually this means the macro was only invoked conditionally." "$LINENO" 5
78466fi
78467if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78468  as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78469Usually this means the macro was only invoked conditionally." "$LINENO" 5
78470fi
78471if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78472  as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78473Usually this means the macro was only invoked conditionally." "$LINENO" 5
78474fi
78475if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78476  as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78477Usually this means the macro was only invoked conditionally." "$LINENO" 5
78478fi
78479if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78480  as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78481Usually this means the macro was only invoked conditionally." "$LINENO" 5
78482fi
78483if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78484  as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78485Usually this means the macro was only invoked conditionally." "$LINENO" 5
78486fi
78487if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78488  as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78489Usually this means the macro was only invoked conditionally." "$LINENO" 5
78490fi
78491if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78492  as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78493Usually this means the macro was only invoked conditionally." "$LINENO" 5
78494fi
78495
78496: "${CONFIG_STATUS=./config.status}"
78497ac_write_fail=0
78498ac_clean_files_save=$ac_clean_files
78499ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78500{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78501$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78502as_write_fail=0
78503cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78504#! $SHELL
78505# Generated by $as_me.
78506# Run this file to recreate the current configuration.
78507# Compiler output produced by configure, useful for debugging
78508# configure, is in config.log if it exists.
78509
78510debug=false
78511ac_cs_recheck=false
78512ac_cs_silent=false
78513
78514SHELL=\${CONFIG_SHELL-$SHELL}
78515export SHELL
78516_ASEOF
78517cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78518## -------------------- ##
78519## M4sh Initialization. ##
78520## -------------------- ##
78521
78522# Be more Bourne compatible
78523DUALCASE=1; export DUALCASE # for MKS sh
78524if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78525  emulate sh
78526  NULLCMD=:
78527  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78528  # is contrary to our usage.  Disable this feature.
78529  alias -g '${1+"$@"}'='"$@"'
78530  setopt NO_GLOB_SUBST
78531else
78532  case `(set -o) 2>/dev/null` in #(
78533  *posix*) :
78534    set -o posix ;; #(
78535  *) :
78536     ;;
78537esac
78538fi
78539
78540
78541as_nl='
78542'
78543export as_nl
78544# Printing a long string crashes Solaris 7 /usr/bin/printf.
78545as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78546as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78547as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78548# Prefer a ksh shell builtin over an external printf program on Solaris,
78549# but without wasting forks for bash or zsh.
78550if test -z "$BASH_VERSION$ZSH_VERSION" \
78551    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78552  as_echo='print -r --'
78553  as_echo_n='print -rn --'
78554elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78555  as_echo='printf %s\n'
78556  as_echo_n='printf %s'
78557else
78558  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78559    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78560    as_echo_n='/usr/ucb/echo -n'
78561  else
78562    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78563    as_echo_n_body='eval
78564      arg=$1;
78565      case $arg in #(
78566      *"$as_nl"*)
78567	expr "X$arg" : "X\\(.*\\)$as_nl";
78568	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78569      esac;
78570      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78571    '
78572    export as_echo_n_body
78573    as_echo_n='sh -c $as_echo_n_body as_echo'
78574  fi
78575  export as_echo_body
78576  as_echo='sh -c $as_echo_body as_echo'
78577fi
78578
78579# The user is always right.
78580if test "${PATH_SEPARATOR+set}" != set; then
78581  PATH_SEPARATOR=:
78582  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78583    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78584      PATH_SEPARATOR=';'
78585  }
78586fi
78587
78588
78589# IFS
78590# We need space, tab and new line, in precisely that order.  Quoting is
78591# there to prevent editors from complaining about space-tab.
78592# (If _AS_PATH_WALK were called with IFS unset, it would disable word
78593# splitting by setting IFS to empty value.)
78594IFS=" ""	$as_nl"
78595
78596# Find who we are.  Look in the path if we contain no directory separator.
78597as_myself=
78598case $0 in #((
78599  *[\\/]* ) as_myself=$0 ;;
78600  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78601for as_dir in $PATH
78602do
78603  IFS=$as_save_IFS
78604  test -z "$as_dir" && as_dir=.
78605    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78606  done
78607IFS=$as_save_IFS
78608
78609     ;;
78610esac
78611# We did not find ourselves, most probably we were run as `sh COMMAND'
78612# in which case we are not to be found in the path.
78613if test "x$as_myself" = x; then
78614  as_myself=$0
78615fi
78616if test ! -f "$as_myself"; then
78617  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78618  exit 1
78619fi
78620
78621# Unset variables that we do not need and which cause bugs (e.g. in
78622# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
78623# suppresses any "Segmentation fault" message there.  '((' could
78624# trigger a bug in pdksh 5.2.14.
78625for as_var in BASH_ENV ENV MAIL MAILPATH
78626do eval test x\${$as_var+set} = xset \
78627  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78628done
78629PS1='$ '
78630PS2='> '
78631PS4='+ '
78632
78633# NLS nuisances.
78634LC_ALL=C
78635export LC_ALL
78636LANGUAGE=C
78637export LANGUAGE
78638
78639# CDPATH.
78640(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78641
78642
78643# as_fn_error STATUS ERROR [LINENO LOG_FD]
78644# ----------------------------------------
78645# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78646# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78647# script with STATUS, using 1 if that was 0.
78648as_fn_error ()
78649{
78650  as_status=$1; test $as_status -eq 0 && as_status=1
78651  if test "$4"; then
78652    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78653    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78654  fi
78655  $as_echo "$as_me: error: $2" >&2
78656  as_fn_exit $as_status
78657} # as_fn_error
78658
78659
78660# as_fn_set_status STATUS
78661# -----------------------
78662# Set $? to STATUS, without forking.
78663as_fn_set_status ()
78664{
78665  return $1
78666} # as_fn_set_status
78667
78668# as_fn_exit STATUS
78669# -----------------
78670# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78671as_fn_exit ()
78672{
78673  set +e
78674  as_fn_set_status $1
78675  exit $1
78676} # as_fn_exit
78677
78678# as_fn_unset VAR
78679# ---------------
78680# Portably unset VAR.
78681as_fn_unset ()
78682{
78683  { eval $1=; unset $1;}
78684}
78685as_unset=as_fn_unset
78686# as_fn_append VAR VALUE
78687# ----------------------
78688# Append the text in VALUE to the end of the definition contained in VAR. Take
78689# advantage of any shell optimizations that allow amortized linear growth over
78690# repeated appends, instead of the typical quadratic growth present in naive
78691# implementations.
78692if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78693  eval 'as_fn_append ()
78694  {
78695    eval $1+=\$2
78696  }'
78697else
78698  as_fn_append ()
78699  {
78700    eval $1=\$$1\$2
78701  }
78702fi # as_fn_append
78703
78704# as_fn_arith ARG...
78705# ------------------
78706# Perform arithmetic evaluation on the ARGs, and store the result in the
78707# global $as_val. Take advantage of shells that can avoid forks. The arguments
78708# must be portable across $(()) and expr.
78709if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78710  eval 'as_fn_arith ()
78711  {
78712    as_val=$(( $* ))
78713  }'
78714else
78715  as_fn_arith ()
78716  {
78717    as_val=`expr "$@" || test $? -eq 1`
78718  }
78719fi # as_fn_arith
78720
78721
78722if expr a : '\(a\)' >/dev/null 2>&1 &&
78723   test "X`expr 00001 : '.*\(...\)'`" = X001; then
78724  as_expr=expr
78725else
78726  as_expr=false
78727fi
78728
78729if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78730  as_basename=basename
78731else
78732  as_basename=false
78733fi
78734
78735if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78736  as_dirname=dirname
78737else
78738  as_dirname=false
78739fi
78740
78741as_me=`$as_basename -- "$0" ||
78742$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78743	 X"$0" : 'X\(//\)$' \| \
78744	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78745$as_echo X/"$0" |
78746    sed '/^.*\/\([^/][^/]*\)\/*$/{
78747	    s//\1/
78748	    q
78749	  }
78750	  /^X\/\(\/\/\)$/{
78751	    s//\1/
78752	    q
78753	  }
78754	  /^X\/\(\/\).*/{
78755	    s//\1/
78756	    q
78757	  }
78758	  s/.*/./; q'`
78759
78760# Avoid depending upon Character Ranges.
78761as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78762as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78763as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78764as_cr_digits='0123456789'
78765as_cr_alnum=$as_cr_Letters$as_cr_digits
78766
78767ECHO_C= ECHO_N= ECHO_T=
78768case `echo -n x` in #(((((
78769-n*)
78770  case `echo 'xy\c'` in
78771  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
78772  xy)  ECHO_C='\c';;
78773  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
78774       ECHO_T='	';;
78775  esac;;
78776*)
78777  ECHO_N='-n';;
78778esac
78779
78780rm -f conf$$ conf$$.exe conf$$.file
78781if test -d conf$$.dir; then
78782  rm -f conf$$.dir/conf$$.file
78783else
78784  rm -f conf$$.dir
78785  mkdir conf$$.dir 2>/dev/null
78786fi
78787if (echo >conf$$.file) 2>/dev/null; then
78788  if ln -s conf$$.file conf$$ 2>/dev/null; then
78789    as_ln_s='ln -s'
78790    # ... but there are two gotchas:
78791    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78792    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78793    # In both cases, we have to default to `cp -pR'.
78794    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78795      as_ln_s='cp -pR'
78796  elif ln conf$$.file conf$$ 2>/dev/null; then
78797    as_ln_s=ln
78798  else
78799    as_ln_s='cp -pR'
78800  fi
78801else
78802  as_ln_s='cp -pR'
78803fi
78804rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78805rmdir conf$$.dir 2>/dev/null
78806
78807
78808# as_fn_mkdir_p
78809# -------------
78810# Create "$as_dir" as a directory, including parents if necessary.
78811as_fn_mkdir_p ()
78812{
78813
78814  case $as_dir in #(
78815  -*) as_dir=./$as_dir;;
78816  esac
78817  test -d "$as_dir" || eval $as_mkdir_p || {
78818    as_dirs=
78819    while :; do
78820      case $as_dir in #(
78821      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78822      *) as_qdir=$as_dir;;
78823      esac
78824      as_dirs="'$as_qdir' $as_dirs"
78825      as_dir=`$as_dirname -- "$as_dir" ||
78826$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78827	 X"$as_dir" : 'X\(//\)[^/]' \| \
78828	 X"$as_dir" : 'X\(//\)$' \| \
78829	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78830$as_echo X"$as_dir" |
78831    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78832	    s//\1/
78833	    q
78834	  }
78835	  /^X\(\/\/\)[^/].*/{
78836	    s//\1/
78837	    q
78838	  }
78839	  /^X\(\/\/\)$/{
78840	    s//\1/
78841	    q
78842	  }
78843	  /^X\(\/\).*/{
78844	    s//\1/
78845	    q
78846	  }
78847	  s/.*/./; q'`
78848      test -d "$as_dir" && break
78849    done
78850    test -z "$as_dirs" || eval "mkdir $as_dirs"
78851  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78852
78853
78854} # as_fn_mkdir_p
78855if mkdir -p . 2>/dev/null; then
78856  as_mkdir_p='mkdir -p "$as_dir"'
78857else
78858  test -d ./-p && rmdir ./-p
78859  as_mkdir_p=false
78860fi
78861
78862
78863# as_fn_executable_p FILE
78864# -----------------------
78865# Test if FILE is an executable regular file.
78866as_fn_executable_p ()
78867{
78868  test -f "$1" && test -x "$1"
78869} # as_fn_executable_p
78870as_test_x='test -x'
78871as_executable_p=as_fn_executable_p
78872
78873# Sed expression to map a string onto a valid CPP name.
78874as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78875
78876# Sed expression to map a string onto a valid variable name.
78877as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78878
78879
78880exec 6>&1
78881## ----------------------------------- ##
78882## Main body of $CONFIG_STATUS script. ##
78883## ----------------------------------- ##
78884_ASEOF
78885test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78886
78887cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78888# Save the log message, to keep $0 and so on meaningful, and to
78889# report actual input values of CONFIG_FILES etc. instead of their
78890# values after options handling.
78891ac_log="
78892This file was extended by package-unused $as_me version-unused, which was
78893generated by GNU Autoconf 2.69.  Invocation command line was
78894
78895  CONFIG_FILES    = $CONFIG_FILES
78896  CONFIG_HEADERS  = $CONFIG_HEADERS
78897  CONFIG_LINKS    = $CONFIG_LINKS
78898  CONFIG_COMMANDS = $CONFIG_COMMANDS
78899  $ $0 $@
78900
78901on `(hostname || uname -n) 2>/dev/null | sed 1q`
78902"
78903
78904_ACEOF
78905
78906case $ac_config_files in *"
78907"*) set x $ac_config_files; shift; ac_config_files=$*;;
78908esac
78909
78910case $ac_config_headers in *"
78911"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78912esac
78913
78914
78915cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78916# Files that config.status was made for.
78917config_files="$ac_config_files"
78918config_headers="$ac_config_headers"
78919config_commands="$ac_config_commands"
78920
78921_ACEOF
78922
78923cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78924ac_cs_usage="\
78925\`$as_me' instantiates files and other configuration actions
78926from templates according to the current configuration.  Unless the files
78927and actions are specified as TAGs, all are instantiated by default.
78928
78929Usage: $0 [OPTION]... [TAG]...
78930
78931  -h, --help       print this help, then exit
78932  -V, --version    print version number and configuration settings, then exit
78933      --config     print configuration, then exit
78934  -q, --quiet, --silent
78935                   do not print progress messages
78936  -d, --debug      don't remove temporary files
78937      --recheck    update $as_me by reconfiguring in the same conditions
78938      --file=FILE[:TEMPLATE]
78939                   instantiate the configuration file FILE
78940      --header=FILE[:TEMPLATE]
78941                   instantiate the configuration header FILE
78942
78943Configuration files:
78944$config_files
78945
78946Configuration headers:
78947$config_headers
78948
78949Configuration commands:
78950$config_commands
78951
78952Report bugs to the package provider."
78953
78954_ACEOF
78955cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78956ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78957ac_cs_version="\\
78958package-unused config.status version-unused
78959configured by $0, generated by GNU Autoconf 2.69,
78960  with options \\"\$ac_cs_config\\"
78961
78962Copyright (C) 2012 Free Software Foundation, Inc.
78963This config.status script is free software; the Free Software Foundation
78964gives unlimited permission to copy, distribute and modify it."
78965
78966ac_pwd='$ac_pwd'
78967srcdir='$srcdir'
78968INSTALL='$INSTALL'
78969MKDIR_P='$MKDIR_P'
78970AWK='$AWK'
78971test -n "\$AWK" || AWK=awk
78972_ACEOF
78973
78974cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78975# The default lists apply if the user does not specify any file.
78976ac_need_defaults=:
78977while test $# != 0
78978do
78979  case $1 in
78980  --*=?*)
78981    ac_option=`expr "X$1" : 'X\([^=]*\)='`
78982    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78983    ac_shift=:
78984    ;;
78985  --*=)
78986    ac_option=`expr "X$1" : 'X\([^=]*\)='`
78987    ac_optarg=
78988    ac_shift=:
78989    ;;
78990  *)
78991    ac_option=$1
78992    ac_optarg=$2
78993    ac_shift=shift
78994    ;;
78995  esac
78996
78997  case $ac_option in
78998  # Handling of the options.
78999  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
79000    ac_cs_recheck=: ;;
79001  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
79002    $as_echo "$ac_cs_version"; exit ;;
79003  --config | --confi | --conf | --con | --co | --c )
79004    $as_echo "$ac_cs_config"; exit ;;
79005  --debug | --debu | --deb | --de | --d | -d )
79006    debug=: ;;
79007  --file | --fil | --fi | --f )
79008    $ac_shift
79009    case $ac_optarg in
79010    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79011    '') as_fn_error $? "missing file argument" ;;
79012    esac
79013    as_fn_append CONFIG_FILES " '$ac_optarg'"
79014    ac_need_defaults=false;;
79015  --header | --heade | --head | --hea )
79016    $ac_shift
79017    case $ac_optarg in
79018    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79019    esac
79020    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
79021    ac_need_defaults=false;;
79022  --he | --h)
79023    # Conflict between --help and --header
79024    as_fn_error $? "ambiguous option: \`$1'
79025Try \`$0 --help' for more information.";;
79026  --help | --hel | -h )
79027    $as_echo "$ac_cs_usage"; exit ;;
79028  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
79029  | -silent | --silent | --silen | --sile | --sil | --si | --s)
79030    ac_cs_silent=: ;;
79031
79032  # This is an error.
79033  -*) as_fn_error $? "unrecognized option: \`$1'
79034Try \`$0 --help' for more information." ;;
79035
79036  *) as_fn_append ac_config_targets " $1"
79037     ac_need_defaults=false ;;
79038
79039  esac
79040  shift
79041done
79042
79043ac_configure_extra_args=
79044
79045if $ac_cs_silent; then
79046  exec 6>/dev/null
79047  ac_configure_extra_args="$ac_configure_extra_args --silent"
79048fi
79049
79050_ACEOF
79051cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79052if \$ac_cs_recheck; then
79053  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
79054  shift
79055  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
79056  CONFIG_SHELL='$SHELL'
79057  export CONFIG_SHELL
79058  exec "\$@"
79059fi
79060
79061_ACEOF
79062cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79063exec 5>>config.log
79064{
79065  echo
79066  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
79067## Running $as_me. ##
79068_ASBOX
79069  $as_echo "$ac_log"
79070} >&5
79071
79072_ACEOF
79073cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79074#
79075# INIT-COMMANDS
79076#
79077
79078srcdir="$srcdir"
79079host="$host"
79080target="$target"
79081with_multisubdir="$with_multisubdir"
79082with_multisrctop="$with_multisrctop"
79083with_target_subdir="$with_target_subdir"
79084ac_configure_args="${multilib_arg} ${ac_configure_args}"
79085multi_basedir="$multi_basedir"
79086CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
79087CC="$CC"
79088CXX="$CXX"
79089GFORTRAN="$GFORTRAN"
79090GDC="$GDC"
79091
79092
79093# The HP-UX ksh and POSIX shell print the target directory to stdout
79094# if CDPATH is set.
79095(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79096
79097sed_quote_subst='$sed_quote_subst'
79098double_quote_subst='$double_quote_subst'
79099delay_variable_subst='$delay_variable_subst'
79100macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
79101macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
79102enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
79103enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
79104pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
79105enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
79106SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
79107ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
79108host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
79109host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
79110host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
79111build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
79112build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
79113build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
79114SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
79115Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
79116GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
79117EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
79118FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
79119LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
79120NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
79121LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
79122max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
79123ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
79124exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
79125lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
79126lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
79127lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
79128reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
79129reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
79130OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
79131deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
79132file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
79133AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
79134AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
79135STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
79136RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
79137old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79138old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79139old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
79140lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
79141CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
79142CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
79143compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
79144GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
79145lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
79146lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
79147lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
79148lt_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"`'
79149objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
79150MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
79151lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
79152lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
79153lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
79154lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
79155lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
79156need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
79157DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
79158NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
79159LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
79160OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
79161OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
79162libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
79163shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
79164extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79165archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
79166enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
79167export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
79168whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
79169compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
79170old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
79171old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79172archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
79173archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79174module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
79175module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79176with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
79177allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
79178no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
79179hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
79180hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
79181hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
79182hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
79183hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
79184hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
79185hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
79186hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
79187inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
79188link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
79189fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
79190always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
79191export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
79192exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
79193include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
79194prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
79195file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
79196variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79197need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79198need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79199version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79200runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79201shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79202shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79203libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79204library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79205soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79206install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79207postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79208postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79209finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79210finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79211hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79212sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79213sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79214hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79215enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79216enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79217enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79218old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79219striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79220compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79221predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79222postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79223predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79224postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79225compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79226LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79227reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79228reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79229old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79230compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79231GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79232lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79233lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79234lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79235lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79236lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79237archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79238enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79239export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79240whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79241compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79242old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79243old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79244archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79245archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79246module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79247module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79248with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79249allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79250no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79251hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79252hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79253hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79254hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79255hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79256hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79257hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79258hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79259inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79260link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79261fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79262always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79263export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79264exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79265include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79266prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79267file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79268hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79269compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79270predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79271postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79272predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79273postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79274compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79275
79276LTCC='$LTCC'
79277LTCFLAGS='$LTCFLAGS'
79278compiler='$compiler_DEFAULT'
79279
79280# A function that is used when there is no print builtin or printf.
79281func_fallback_echo ()
79282{
79283  eval 'cat <<_LTECHO_EOF
79284\$1
79285_LTECHO_EOF'
79286}
79287
79288# Quote evaled strings.
79289for var in SHELL \
79290ECHO \
79291SED \
79292GREP \
79293EGREP \
79294FGREP \
79295LD \
79296NM \
79297LN_S \
79298lt_SP2NL \
79299lt_NL2SP \
79300reload_flag \
79301OBJDUMP \
79302deplibs_check_method \
79303file_magic_cmd \
79304AR \
79305AR_FLAGS \
79306STRIP \
79307RANLIB \
79308CC \
79309CFLAGS \
79310compiler \
79311lt_cv_sys_global_symbol_pipe \
79312lt_cv_sys_global_symbol_to_cdecl \
79313lt_cv_sys_global_symbol_to_c_name_address \
79314lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79315lt_prog_compiler_no_builtin_flag \
79316lt_prog_compiler_wl \
79317lt_prog_compiler_pic \
79318lt_prog_compiler_static \
79319lt_cv_prog_compiler_c_o \
79320need_locks \
79321DSYMUTIL \
79322NMEDIT \
79323LIPO \
79324OTOOL \
79325OTOOL64 \
79326shrext_cmds \
79327export_dynamic_flag_spec \
79328whole_archive_flag_spec \
79329compiler_needs_object \
79330with_gnu_ld \
79331allow_undefined_flag \
79332no_undefined_flag \
79333hardcode_libdir_flag_spec \
79334hardcode_libdir_flag_spec_ld \
79335hardcode_libdir_separator \
79336fix_srcfile_path \
79337exclude_expsyms \
79338include_expsyms \
79339file_list_spec \
79340variables_saved_for_relink \
79341libname_spec \
79342library_names_spec \
79343soname_spec \
79344install_override_mode \
79345finish_eval \
79346old_striplib \
79347striplib \
79348compiler_lib_search_dirs \
79349predep_objects \
79350postdep_objects \
79351predeps \
79352postdeps \
79353compiler_lib_search_path \
79354LD_CXX \
79355reload_flag_CXX \
79356compiler_CXX \
79357lt_prog_compiler_no_builtin_flag_CXX \
79358lt_prog_compiler_wl_CXX \
79359lt_prog_compiler_pic_CXX \
79360lt_prog_compiler_static_CXX \
79361lt_cv_prog_compiler_c_o_CXX \
79362export_dynamic_flag_spec_CXX \
79363whole_archive_flag_spec_CXX \
79364compiler_needs_object_CXX \
79365with_gnu_ld_CXX \
79366allow_undefined_flag_CXX \
79367no_undefined_flag_CXX \
79368hardcode_libdir_flag_spec_CXX \
79369hardcode_libdir_flag_spec_ld_CXX \
79370hardcode_libdir_separator_CXX \
79371fix_srcfile_path_CXX \
79372exclude_expsyms_CXX \
79373include_expsyms_CXX \
79374file_list_spec_CXX \
79375compiler_lib_search_dirs_CXX \
79376predep_objects_CXX \
79377postdep_objects_CXX \
79378predeps_CXX \
79379postdeps_CXX \
79380compiler_lib_search_path_CXX; do
79381    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79382    *[\\\\\\\`\\"\\\$]*)
79383      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79384      ;;
79385    *)
79386      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79387      ;;
79388    esac
79389done
79390
79391# Double-quote double-evaled strings.
79392for var in reload_cmds \
79393old_postinstall_cmds \
79394old_postuninstall_cmds \
79395old_archive_cmds \
79396extract_expsyms_cmds \
79397old_archive_from_new_cmds \
79398old_archive_from_expsyms_cmds \
79399archive_cmds \
79400archive_expsym_cmds \
79401module_cmds \
79402module_expsym_cmds \
79403export_symbols_cmds \
79404prelink_cmds \
79405postinstall_cmds \
79406postuninstall_cmds \
79407finish_cmds \
79408sys_lib_search_path_spec \
79409sys_lib_dlsearch_path_spec \
79410reload_cmds_CXX \
79411old_archive_cmds_CXX \
79412old_archive_from_new_cmds_CXX \
79413old_archive_from_expsyms_cmds_CXX \
79414archive_cmds_CXX \
79415archive_expsym_cmds_CXX \
79416module_cmds_CXX \
79417module_expsym_cmds_CXX \
79418export_symbols_cmds_CXX \
79419prelink_cmds_CXX; do
79420    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79421    *[\\\\\\\`\\"\\\$]*)
79422      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79423      ;;
79424    *)
79425      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79426      ;;
79427    esac
79428done
79429
79430ac_aux_dir='$ac_aux_dir'
79431xsi_shell='$xsi_shell'
79432lt_shell_append='$lt_shell_append'
79433
79434# See if we are running on zsh, and set the options which allow our
79435# commands through without removal of \ escapes INIT.
79436if test -n "\${ZSH_VERSION+set}" ; then
79437   setopt NO_GLOB_SUBST
79438fi
79439
79440
79441    PACKAGE='$PACKAGE'
79442    VERSION='$VERSION'
79443    TIMESTAMP='$TIMESTAMP'
79444    RM='$RM'
79445    ofile='$ofile'
79446
79447
79448
79449
79450
79451
79452GCC="$GCC"
79453CC="$CC"
79454acx_cv_header_stdint="$acx_cv_header_stdint"
79455acx_cv_type_int8_t="$acx_cv_type_int8_t"
79456acx_cv_type_int16_t="$acx_cv_type_int16_t"
79457acx_cv_type_int32_t="$acx_cv_type_int32_t"
79458acx_cv_type_int64_t="$acx_cv_type_int64_t"
79459acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79460ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79461ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79462ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79463ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79464ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79465ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79466ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79467ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79468
79469
79470_ACEOF
79471
79472cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79473
79474# Handling of arguments.
79475for ac_config_target in $ac_config_targets
79476do
79477  case $ac_config_target in
79478    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79479    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79480    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79481    "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79482    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79483    "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79484    "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79485    "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79486    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79487    "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79488    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79489    "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79490    "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79491    "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79492    "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
79493    "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79494    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79495    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79496    "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79497    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79498    "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79499
79500  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79501  esac
79502done
79503
79504
79505# If the user did not use the arguments to specify the items to instantiate,
79506# then the envvar interface is used.  Set only those that are not.
79507# We use the long form for the default assignment because of an extremely
79508# bizarre bug on SunOS 4.1.3.
79509if $ac_need_defaults; then
79510  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79511  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79512  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79513fi
79514
79515# Have a temporary directory for convenience.  Make it in the build tree
79516# simply because there is no reason against having it here, and in addition,
79517# creating and moving files from /tmp can sometimes cause problems.
79518# Hook for its removal unless debugging.
79519# Note that there is a small window in which the directory will not be cleaned:
79520# after its creation but before its name has been assigned to `$tmp'.
79521$debug ||
79522{
79523  tmp= ac_tmp=
79524  trap 'exit_status=$?
79525  : "${ac_tmp:=$tmp}"
79526  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79527' 0
79528  trap 'as_fn_exit 1' 1 2 13 15
79529}
79530# Create a (secure) tmp directory for tmp files.
79531
79532{
79533  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79534  test -d "$tmp"
79535}  ||
79536{
79537  tmp=./conf$$-$RANDOM
79538  (umask 077 && mkdir "$tmp")
79539} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79540ac_tmp=$tmp
79541
79542# Set up the scripts for CONFIG_FILES section.
79543# No need to generate them if there are no CONFIG_FILES.
79544# This happens for instance with `./config.status config.h'.
79545if test -n "$CONFIG_FILES"; then
79546
79547
79548ac_cr=`echo X | tr X '\015'`
79549# On cygwin, bash can eat \r inside `` if the user requested igncr.
79550# But we know of no other shell where ac_cr would be empty at this
79551# point, so we can use a bashism as a fallback.
79552if test "x$ac_cr" = x; then
79553  eval ac_cr=\$\'\\r\'
79554fi
79555ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79556if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79557  ac_cs_awk_cr='\\r'
79558else
79559  ac_cs_awk_cr=$ac_cr
79560fi
79561
79562echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79563_ACEOF
79564
79565
79566{
79567  echo "cat >conf$$subs.awk <<_ACEOF" &&
79568  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79569  echo "_ACEOF"
79570} >conf$$subs.sh ||
79571  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79572ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79573ac_delim='%!_!# '
79574for ac_last_try in false false false false false :; do
79575  . ./conf$$subs.sh ||
79576    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79577
79578  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79579  if test $ac_delim_n = $ac_delim_num; then
79580    break
79581  elif $ac_last_try; then
79582    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79583  else
79584    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79585  fi
79586done
79587rm -f conf$$subs.sh
79588
79589cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79590cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79591_ACEOF
79592sed -n '
79593h
79594s/^/S["/; s/!.*/"]=/
79595p
79596g
79597s/^[^!]*!//
79598:repl
79599t repl
79600s/'"$ac_delim"'$//
79601t delim
79602:nl
79603h
79604s/\(.\{148\}\)..*/\1/
79605t more1
79606s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79607p
79608n
79609b repl
79610:more1
79611s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79612p
79613g
79614s/.\{148\}//
79615t nl
79616:delim
79617h
79618s/\(.\{148\}\)..*/\1/
79619t more2
79620s/["\\]/\\&/g; s/^/"/; s/$/"/
79621p
79622b
79623:more2
79624s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79625p
79626g
79627s/.\{148\}//
79628t delim
79629' <conf$$subs.awk | sed '
79630/^[^""]/{
79631  N
79632  s/\n//
79633}
79634' >>$CONFIG_STATUS || ac_write_fail=1
79635rm -f conf$$subs.awk
79636cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79637_ACAWK
79638cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79639  for (key in S) S_is_set[key] = 1
79640  FS = ""
79641
79642}
79643{
79644  line = $ 0
79645  nfields = split(line, field, "@")
79646  substed = 0
79647  len = length(field[1])
79648  for (i = 2; i < nfields; i++) {
79649    key = field[i]
79650    keylen = length(key)
79651    if (S_is_set[key]) {
79652      value = S[key]
79653      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79654      len += length(value) + length(field[++i])
79655      substed = 1
79656    } else
79657      len += 1 + keylen
79658  }
79659
79660  print line
79661}
79662
79663_ACAWK
79664_ACEOF
79665cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79666if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79667  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79668else
79669  cat
79670fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79671  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79672_ACEOF
79673
79674# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79675# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79676# trailing colons and then remove the whole line if VPATH becomes empty
79677# (actually we leave an empty line to preserve line numbers).
79678if test "x$srcdir" = x.; then
79679  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
79680h
79681s///
79682s/^/:/
79683s/[	 ]*$/:/
79684s/:\$(srcdir):/:/g
79685s/:\${srcdir}:/:/g
79686s/:@srcdir@:/:/g
79687s/^:*//
79688s/:*$//
79689x
79690s/\(=[	 ]*\).*/\1/
79691G
79692s/\n//
79693s/^[^=]*=[	 ]*$//
79694}'
79695fi
79696
79697cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79698fi # test -n "$CONFIG_FILES"
79699
79700# Set up the scripts for CONFIG_HEADERS section.
79701# No need to generate them if there are no CONFIG_HEADERS.
79702# This happens for instance with `./config.status Makefile'.
79703if test -n "$CONFIG_HEADERS"; then
79704cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79705BEGIN {
79706_ACEOF
79707
79708# Transform confdefs.h into an awk script `defines.awk', embedded as
79709# here-document in config.status, that substitutes the proper values into
79710# config.h.in to produce config.h.
79711
79712# Create a delimiter string that does not exist in confdefs.h, to ease
79713# handling of long lines.
79714ac_delim='%!_!# '
79715for ac_last_try in false false :; do
79716  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79717  if test -z "$ac_tt"; then
79718    break
79719  elif $ac_last_try; then
79720    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79721  else
79722    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79723  fi
79724done
79725
79726# For the awk script, D is an array of macro values keyed by name,
79727# likewise P contains macro parameters if any.  Preserve backslash
79728# newline sequences.
79729
79730ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79731sed -n '
79732s/.\{148\}/&'"$ac_delim"'/g
79733t rset
79734:rset
79735s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
79736t def
79737d
79738:def
79739s/\\$//
79740t bsnl
79741s/["\\]/\\&/g
79742s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
79743D["\1"]=" \3"/p
79744s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
79745d
79746:bsnl
79747s/["\\]/\\&/g
79748s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
79749D["\1"]=" \3\\\\\\n"\\/p
79750t cont
79751s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79752t cont
79753d
79754:cont
79755n
79756s/.\{148\}/&'"$ac_delim"'/g
79757t clear
79758:clear
79759s/\\$//
79760t bsnlc
79761s/["\\]/\\&/g; s/^/"/; s/$/"/p
79762d
79763:bsnlc
79764s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79765b cont
79766' <confdefs.h | sed '
79767s/'"$ac_delim"'/"\\\
79768"/g' >>$CONFIG_STATUS || ac_write_fail=1
79769
79770cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79771  for (key in D) D_is_set[key] = 1
79772  FS = ""
79773}
79774/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79775  line = \$ 0
79776  split(line, arg, " ")
79777  if (arg[1] == "#") {
79778    defundef = arg[2]
79779    mac1 = arg[3]
79780  } else {
79781    defundef = substr(arg[1], 2)
79782    mac1 = arg[2]
79783  }
79784  split(mac1, mac2, "(") #)
79785  macro = mac2[1]
79786  prefix = substr(line, 1, index(line, defundef) - 1)
79787  if (D_is_set[macro]) {
79788    # Preserve the white space surrounding the "#".
79789    print prefix "define", macro P[macro] D[macro]
79790    next
79791  } else {
79792    # Replace #undef with comments.  This is necessary, for example,
79793    # in the case of _POSIX_SOURCE, which is predefined and required
79794    # on some systems where configure will not decide to define it.
79795    if (defundef == "undef") {
79796      print "/*", prefix defundef, macro, "*/"
79797      next
79798    }
79799  }
79800}
79801{ print }
79802_ACAWK
79803_ACEOF
79804cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79805  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79806fi # test -n "$CONFIG_HEADERS"
79807
79808
79809eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
79810shift
79811for ac_tag
79812do
79813  case $ac_tag in
79814  :[FHLC]) ac_mode=$ac_tag; continue;;
79815  esac
79816  case $ac_mode$ac_tag in
79817  :[FHL]*:*);;
79818  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79819  :[FH]-) ac_tag=-:-;;
79820  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79821  esac
79822  ac_save_IFS=$IFS
79823  IFS=:
79824  set x $ac_tag
79825  IFS=$ac_save_IFS
79826  shift
79827  ac_file=$1
79828  shift
79829
79830  case $ac_mode in
79831  :L) ac_source=$1;;
79832  :[FH])
79833    ac_file_inputs=
79834    for ac_f
79835    do
79836      case $ac_f in
79837      -) ac_f="$ac_tmp/stdin";;
79838      *) # Look for the file first in the build tree, then in the source tree
79839	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
79840	 # because $ac_f cannot contain `:'.
79841	 test -f "$ac_f" ||
79842	   case $ac_f in
79843	   [\\/$]*) false;;
79844	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79845	   esac ||
79846	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79847      esac
79848      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79849      as_fn_append ac_file_inputs " '$ac_f'"
79850    done
79851
79852    # Let's still pretend it is `configure' which instantiates (i.e., don't
79853    # use $as_me), people would be surprised to read:
79854    #    /* config.h.  Generated by config.status.  */
79855    configure_input='Generated from '`
79856	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79857	`' by configure.'
79858    if test x"$ac_file" != x-; then
79859      configure_input="$ac_file.  $configure_input"
79860      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79861$as_echo "$as_me: creating $ac_file" >&6;}
79862    fi
79863    # Neutralize special characters interpreted by sed in replacement strings.
79864    case $configure_input in #(
79865    *\&* | *\|* | *\\* )
79866       ac_sed_conf_input=`$as_echo "$configure_input" |
79867       sed 's/[\\\\&|]/\\\\&/g'`;; #(
79868    *) ac_sed_conf_input=$configure_input;;
79869    esac
79870
79871    case $ac_tag in
79872    *:-:* | *:-) cat >"$ac_tmp/stdin" \
79873      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79874    esac
79875    ;;
79876  esac
79877
79878  ac_dir=`$as_dirname -- "$ac_file" ||
79879$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79880	 X"$ac_file" : 'X\(//\)[^/]' \| \
79881	 X"$ac_file" : 'X\(//\)$' \| \
79882	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79883$as_echo X"$ac_file" |
79884    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79885	    s//\1/
79886	    q
79887	  }
79888	  /^X\(\/\/\)[^/].*/{
79889	    s//\1/
79890	    q
79891	  }
79892	  /^X\(\/\/\)$/{
79893	    s//\1/
79894	    q
79895	  }
79896	  /^X\(\/\).*/{
79897	    s//\1/
79898	    q
79899	  }
79900	  s/.*/./; q'`
79901  as_dir="$ac_dir"; as_fn_mkdir_p
79902  ac_builddir=.
79903
79904case "$ac_dir" in
79905.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79906*)
79907  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79908  # A ".." for each directory in $ac_dir_suffix.
79909  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79910  case $ac_top_builddir_sub in
79911  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79912  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79913  esac ;;
79914esac
79915ac_abs_top_builddir=$ac_pwd
79916ac_abs_builddir=$ac_pwd$ac_dir_suffix
79917# for backward compatibility:
79918ac_top_builddir=$ac_top_build_prefix
79919
79920case $srcdir in
79921  .)  # We are building in place.
79922    ac_srcdir=.
79923    ac_top_srcdir=$ac_top_builddir_sub
79924    ac_abs_top_srcdir=$ac_pwd ;;
79925  [\\/]* | ?:[\\/]* )  # Absolute name.
79926    ac_srcdir=$srcdir$ac_dir_suffix;
79927    ac_top_srcdir=$srcdir
79928    ac_abs_top_srcdir=$srcdir ;;
79929  *) # Relative name.
79930    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79931    ac_top_srcdir=$ac_top_build_prefix$srcdir
79932    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79933esac
79934ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79935
79936
79937  case $ac_mode in
79938  :F)
79939  #
79940  # CONFIG_FILE
79941  #
79942
79943  case $INSTALL in
79944  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79945  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79946  esac
79947  ac_MKDIR_P=$MKDIR_P
79948  case $MKDIR_P in
79949  [\\/$]* | ?:[\\/]* ) ;;
79950  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79951  esac
79952_ACEOF
79953
79954cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79955# If the template does not know about datarootdir, expand it.
79956# FIXME: This hack should be removed a few years after 2.60.
79957ac_datarootdir_hack=; ac_datarootdir_seen=
79958ac_sed_dataroot='
79959/datarootdir/ {
79960  p
79961  q
79962}
79963/@datadir@/p
79964/@docdir@/p
79965/@infodir@/p
79966/@localedir@/p
79967/@mandir@/p'
79968case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79969*datarootdir*) ac_datarootdir_seen=yes;;
79970*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79971  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79972$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79973_ACEOF
79974cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79975  ac_datarootdir_hack='
79976  s&@datadir@&$datadir&g
79977  s&@docdir@&$docdir&g
79978  s&@infodir@&$infodir&g
79979  s&@localedir@&$localedir&g
79980  s&@mandir@&$mandir&g
79981  s&\\\${datarootdir}&$datarootdir&g' ;;
79982esac
79983_ACEOF
79984
79985# Neutralize VPATH when `$srcdir' = `.'.
79986# Shell code in configure.ac might set extrasub.
79987# FIXME: do we really want to maintain this feature?
79988cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79989ac_sed_extra="$ac_vpsub
79990$extrasub
79991_ACEOF
79992cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79993:t
79994/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79995s|@configure_input@|$ac_sed_conf_input|;t t
79996s&@top_builddir@&$ac_top_builddir_sub&;t t
79997s&@top_build_prefix@&$ac_top_build_prefix&;t t
79998s&@srcdir@&$ac_srcdir&;t t
79999s&@abs_srcdir@&$ac_abs_srcdir&;t t
80000s&@top_srcdir@&$ac_top_srcdir&;t t
80001s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
80002s&@builddir@&$ac_builddir&;t t
80003s&@abs_builddir@&$ac_abs_builddir&;t t
80004s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
80005s&@INSTALL@&$ac_INSTALL&;t t
80006s&@MKDIR_P@&$ac_MKDIR_P&;t t
80007$ac_datarootdir_hack
80008"
80009eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
80010  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80011
80012test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
80013  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
80014  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
80015      "$ac_tmp/out"`; test -z "$ac_out"; } &&
80016  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80017which seems to be undefined.  Please make sure it is defined" >&5
80018$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80019which seems to be undefined.  Please make sure it is defined" >&2;}
80020
80021  rm -f "$ac_tmp/stdin"
80022  case $ac_file in
80023  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
80024  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
80025  esac \
80026  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80027 ;;
80028  :H)
80029  #
80030  # CONFIG_HEADER
80031  #
80032  if test x"$ac_file" != x-; then
80033    {
80034      $as_echo "/* $configure_input  */" \
80035      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
80036    } >"$ac_tmp/config.h" \
80037      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80038    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
80039      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
80040$as_echo "$as_me: $ac_file is unchanged" >&6;}
80041    else
80042      rm -f "$ac_file"
80043      mv "$ac_tmp/config.h" "$ac_file" \
80044	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
80045    fi
80046  else
80047    $as_echo "/* $configure_input  */" \
80048      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
80049      || as_fn_error $? "could not create -" "$LINENO" 5
80050  fi
80051# Compute "$ac_file"'s index in $config_headers.
80052_am_arg="$ac_file"
80053_am_stamp_count=1
80054for _am_header in $config_headers :; do
80055  case $_am_header in
80056    $_am_arg | $_am_arg:* )
80057      break ;;
80058    * )
80059      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
80060  esac
80061done
80062echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
80063$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80064	 X"$_am_arg" : 'X\(//\)[^/]' \| \
80065	 X"$_am_arg" : 'X\(//\)$' \| \
80066	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
80067$as_echo X"$_am_arg" |
80068    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80069	    s//\1/
80070	    q
80071	  }
80072	  /^X\(\/\/\)[^/].*/{
80073	    s//\1/
80074	    q
80075	  }
80076	  /^X\(\/\/\)$/{
80077	    s//\1/
80078	    q
80079	  }
80080	  /^X\(\/\).*/{
80081	    s//\1/
80082	    q
80083	  }
80084	  s/.*/./; q'`/stamp-h$_am_stamp_count
80085 ;;
80086
80087  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
80088$as_echo "$as_me: executing $ac_file commands" >&6;}
80089 ;;
80090  esac
80091
80092
80093  case $ac_file$ac_mode in
80094    "default-1":C)
80095# Only add multilib support code if we just rebuilt the top-level
80096# Makefile.
80097case " $CONFIG_FILES " in
80098 *" Makefile "*)
80099   ac_file=Makefile . ${multi_basedir}/config-ml.in
80100   ;;
80101esac ;;
80102    "libtool":C)
80103
80104    # See if we are running on zsh, and set the options which allow our
80105    # commands through without removal of \ escapes.
80106    if test -n "${ZSH_VERSION+set}" ; then
80107      setopt NO_GLOB_SUBST
80108    fi
80109
80110    cfgfile="${ofile}T"
80111    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
80112    $RM "$cfgfile"
80113
80114    cat <<_LT_EOF >> "$cfgfile"
80115#! $SHELL
80116
80117# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
80118# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
80119# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
80120# NOTE: Changes made to this file will be lost: look at ltmain.sh.
80121#
80122#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
80123#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
80124#   Written by Gordon Matzigkeit, 1996
80125#
80126#   This file is part of GNU Libtool.
80127#
80128# GNU Libtool is free software; you can redistribute it and/or
80129# modify it under the terms of the GNU General Public License as
80130# published by the Free Software Foundation; either version 2 of
80131# the License, or (at your option) any later version.
80132#
80133# As a special exception to the GNU General Public License,
80134# if you distribute this file as part of a program or library that
80135# is built using GNU Libtool, you may include this file under the
80136# same distribution terms that you use for the rest of that program.
80137#
80138# GNU Libtool is distributed in the hope that it will be useful,
80139# but WITHOUT ANY WARRANTY; without even the implied warranty of
80140# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
80141# GNU General Public License for more details.
80142#
80143# You should have received a copy of the GNU General Public License
80144# along with GNU Libtool; see the file COPYING.  If not, a copy
80145# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
80146# obtained by writing to the Free Software Foundation, Inc.,
80147# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
80148
80149
80150# The names of the tagged configurations supported by this script.
80151available_tags="CXX "
80152
80153# ### BEGIN LIBTOOL CONFIG
80154
80155# Which release of libtool.m4 was used?
80156macro_version=$macro_version
80157macro_revision=$macro_revision
80158
80159# Whether or not to build shared libraries.
80160build_libtool_libs=$enable_shared
80161
80162# Whether or not to build static libraries.
80163build_old_libs=$enable_static
80164
80165# What type of objects to build.
80166pic_mode=$pic_mode
80167
80168# Whether or not to optimize for fast installation.
80169fast_install=$enable_fast_install
80170
80171# Shell to use when invoking shell scripts.
80172SHELL=$lt_SHELL
80173
80174# An echo program that protects backslashes.
80175ECHO=$lt_ECHO
80176
80177# The host system.
80178host_alias=$host_alias
80179host=$host
80180host_os=$host_os
80181
80182# The build system.
80183build_alias=$build_alias
80184build=$build
80185build_os=$build_os
80186
80187# A sed program that does not truncate output.
80188SED=$lt_SED
80189
80190# Sed that helps us avoid accidentally triggering echo(1) options like -n.
80191Xsed="\$SED -e 1s/^X//"
80192
80193# A grep program that handles long lines.
80194GREP=$lt_GREP
80195
80196# An ERE matcher.
80197EGREP=$lt_EGREP
80198
80199# A literal string matcher.
80200FGREP=$lt_FGREP
80201
80202# A BSD- or MS-compatible name lister.
80203NM=$lt_NM
80204
80205# Whether we need soft or hard links.
80206LN_S=$lt_LN_S
80207
80208# What is the maximum length of a command?
80209max_cmd_len=$max_cmd_len
80210
80211# Object file suffix (normally "o").
80212objext=$ac_objext
80213
80214# Executable file suffix (normally "").
80215exeext=$exeext
80216
80217# whether the shell understands "unset".
80218lt_unset=$lt_unset
80219
80220# turn spaces into newlines.
80221SP2NL=$lt_lt_SP2NL
80222
80223# turn newlines into spaces.
80224NL2SP=$lt_lt_NL2SP
80225
80226# An object symbol dumper.
80227OBJDUMP=$lt_OBJDUMP
80228
80229# Method to check whether dependent libraries are shared objects.
80230deplibs_check_method=$lt_deplibs_check_method
80231
80232# Command to use when deplibs_check_method == "file_magic".
80233file_magic_cmd=$lt_file_magic_cmd
80234
80235# The archiver.
80236AR=$lt_AR
80237AR_FLAGS=$lt_AR_FLAGS
80238
80239# A symbol stripping program.
80240STRIP=$lt_STRIP
80241
80242# Commands used to install an old-style archive.
80243RANLIB=$lt_RANLIB
80244old_postinstall_cmds=$lt_old_postinstall_cmds
80245old_postuninstall_cmds=$lt_old_postuninstall_cmds
80246
80247# Whether to use a lock for old archive extraction.
80248lock_old_archive_extraction=$lock_old_archive_extraction
80249
80250# A C compiler.
80251LTCC=$lt_CC
80252
80253# LTCC compiler flags.
80254LTCFLAGS=$lt_CFLAGS
80255
80256# Take the output of nm and produce a listing of raw symbols and C names.
80257global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80258
80259# Transform the output of nm in a proper C declaration.
80260global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80261
80262# Transform the output of nm in a C name address pair.
80263global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80264
80265# Transform the output of nm in a C name address pair when lib prefix is needed.
80266global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80267
80268# The name of the directory that contains temporary libtool files.
80269objdir=$objdir
80270
80271# Used to examine libraries when file_magic_cmd begins with "file".
80272MAGIC_CMD=$MAGIC_CMD
80273
80274# Must we lock files when doing compilation?
80275need_locks=$lt_need_locks
80276
80277# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80278DSYMUTIL=$lt_DSYMUTIL
80279
80280# Tool to change global to local symbols on Mac OS X.
80281NMEDIT=$lt_NMEDIT
80282
80283# Tool to manipulate fat objects and archives on Mac OS X.
80284LIPO=$lt_LIPO
80285
80286# ldd/readelf like tool for Mach-O binaries on Mac OS X.
80287OTOOL=$lt_OTOOL
80288
80289# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80290OTOOL64=$lt_OTOOL64
80291
80292# Old archive suffix (normally "a").
80293libext=$libext
80294
80295# Shared library suffix (normally ".so").
80296shrext_cmds=$lt_shrext_cmds
80297
80298# The commands to extract the exported symbol list from a shared archive.
80299extract_expsyms_cmds=$lt_extract_expsyms_cmds
80300
80301# Variables whose values should be saved in libtool wrapper scripts and
80302# restored at link time.
80303variables_saved_for_relink=$lt_variables_saved_for_relink
80304
80305# Do we need the "lib" prefix for modules?
80306need_lib_prefix=$need_lib_prefix
80307
80308# Do we need a version for libraries?
80309need_version=$need_version
80310
80311# Library versioning type.
80312version_type=$version_type
80313
80314# Shared library runtime path variable.
80315runpath_var=$runpath_var
80316
80317# Shared library path variable.
80318shlibpath_var=$shlibpath_var
80319
80320# Is shlibpath searched before the hard-coded library search path?
80321shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80322
80323# Format of library name prefix.
80324libname_spec=$lt_libname_spec
80325
80326# List of archive names.  First name is the real one, the rest are links.
80327# The last name is the one that the linker finds with -lNAME
80328library_names_spec=$lt_library_names_spec
80329
80330# The coded name of the library, if different from the real name.
80331soname_spec=$lt_soname_spec
80332
80333# Permission mode override for installation of shared libraries.
80334install_override_mode=$lt_install_override_mode
80335
80336# Command to use after installation of a shared archive.
80337postinstall_cmds=$lt_postinstall_cmds
80338
80339# Command to use after uninstallation of a shared archive.
80340postuninstall_cmds=$lt_postuninstall_cmds
80341
80342# Commands used to finish a libtool library installation in a directory.
80343finish_cmds=$lt_finish_cmds
80344
80345# As "finish_cmds", except a single script fragment to be evaled but
80346# not shown.
80347finish_eval=$lt_finish_eval
80348
80349# Whether we should hardcode library paths into libraries.
80350hardcode_into_libs=$hardcode_into_libs
80351
80352# Compile-time system search path for libraries.
80353sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80354
80355# Run-time system search path for libraries.
80356sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80357
80358# Whether dlopen is supported.
80359dlopen_support=$enable_dlopen
80360
80361# Whether dlopen of programs is supported.
80362dlopen_self=$enable_dlopen_self
80363
80364# Whether dlopen of statically linked programs is supported.
80365dlopen_self_static=$enable_dlopen_self_static
80366
80367# Commands to strip libraries.
80368old_striplib=$lt_old_striplib
80369striplib=$lt_striplib
80370
80371
80372# The linker used to build libraries.
80373LD=$lt_LD
80374
80375# How to create reloadable object files.
80376reload_flag=$lt_reload_flag
80377reload_cmds=$lt_reload_cmds
80378
80379# Commands used to build an old-style archive.
80380old_archive_cmds=$lt_old_archive_cmds
80381
80382# A language specific compiler.
80383CC=$lt_compiler
80384
80385# Is the compiler the GNU compiler?
80386with_gcc=$GCC
80387
80388# Compiler flag to turn off builtin functions.
80389no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80390
80391# How to pass a linker flag through the compiler.
80392wl=$lt_lt_prog_compiler_wl
80393
80394# Additional compiler flags for building library objects.
80395pic_flag=$lt_lt_prog_compiler_pic
80396
80397# Compiler flag to prevent dynamic linking.
80398link_static_flag=$lt_lt_prog_compiler_static
80399
80400# Does compiler simultaneously support -c and -o options?
80401compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80402
80403# Whether or not to add -lc for building shared libraries.
80404build_libtool_need_lc=$archive_cmds_need_lc
80405
80406# Whether or not to disallow shared libs when runtime libs are static.
80407allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80408
80409# Compiler flag to allow reflexive dlopens.
80410export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80411
80412# Compiler flag to generate shared objects directly from archives.
80413whole_archive_flag_spec=$lt_whole_archive_flag_spec
80414
80415# Whether the compiler copes with passing no objects directly.
80416compiler_needs_object=$lt_compiler_needs_object
80417
80418# Create an old-style archive from a shared archive.
80419old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80420
80421# Create a temporary old-style archive to link instead of a shared archive.
80422old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80423
80424# Commands used to build a shared archive.
80425archive_cmds=$lt_archive_cmds
80426archive_expsym_cmds=$lt_archive_expsym_cmds
80427
80428# Commands used to build a loadable module if different from building
80429# a shared archive.
80430module_cmds=$lt_module_cmds
80431module_expsym_cmds=$lt_module_expsym_cmds
80432
80433# Whether we are building with GNU ld or not.
80434with_gnu_ld=$lt_with_gnu_ld
80435
80436# Flag that allows shared libraries with undefined symbols to be built.
80437allow_undefined_flag=$lt_allow_undefined_flag
80438
80439# Flag that enforces no undefined symbols.
80440no_undefined_flag=$lt_no_undefined_flag
80441
80442# Flag to hardcode \$libdir into a binary during linking.
80443# This must work even if \$libdir does not exist
80444hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80445
80446# If ld is used when linking, flag to hardcode \$libdir into a binary
80447# during linking.  This must work even if \$libdir does not exist.
80448hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80449
80450# Whether we need a single "-rpath" flag with a separated argument.
80451hardcode_libdir_separator=$lt_hardcode_libdir_separator
80452
80453# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80454# DIR into the resulting binary.
80455hardcode_direct=$hardcode_direct
80456
80457# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80458# DIR into the resulting binary and the resulting library dependency is
80459# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80460# library is relocated.
80461hardcode_direct_absolute=$hardcode_direct_absolute
80462
80463# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80464# into the resulting binary.
80465hardcode_minus_L=$hardcode_minus_L
80466
80467# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80468# into the resulting binary.
80469hardcode_shlibpath_var=$hardcode_shlibpath_var
80470
80471# Set to "yes" if building a shared library automatically hardcodes DIR
80472# into the library and all subsequent libraries and executables linked
80473# against it.
80474hardcode_automatic=$hardcode_automatic
80475
80476# Set to yes if linker adds runtime paths of dependent libraries
80477# to runtime path list.
80478inherit_rpath=$inherit_rpath
80479
80480# Whether libtool must link a program against all its dependency libraries.
80481link_all_deplibs=$link_all_deplibs
80482
80483# Fix the shell variable \$srcfile for the compiler.
80484fix_srcfile_path=$lt_fix_srcfile_path
80485
80486# Set to "yes" if exported symbols are required.
80487always_export_symbols=$always_export_symbols
80488
80489# The commands to list exported symbols.
80490export_symbols_cmds=$lt_export_symbols_cmds
80491
80492# Symbols that should not be listed in the preloaded symbols.
80493exclude_expsyms=$lt_exclude_expsyms
80494
80495# Symbols that must always be exported.
80496include_expsyms=$lt_include_expsyms
80497
80498# Commands necessary for linking programs (against libraries) with templates.
80499prelink_cmds=$lt_prelink_cmds
80500
80501# Specify filename containing input files.
80502file_list_spec=$lt_file_list_spec
80503
80504# How to hardcode a shared library path into an executable.
80505hardcode_action=$hardcode_action
80506
80507# The directories searched by this compiler when creating a shared library.
80508compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80509
80510# Dependencies to place before and after the objects being linked to
80511# create a shared library.
80512predep_objects=$lt_predep_objects
80513postdep_objects=$lt_postdep_objects
80514predeps=$lt_predeps
80515postdeps=$lt_postdeps
80516
80517# The library search path used internally by the compiler when linking
80518# a shared library.
80519compiler_lib_search_path=$lt_compiler_lib_search_path
80520
80521# ### END LIBTOOL CONFIG
80522
80523_LT_EOF
80524
80525  case $host_os in
80526  aix3*)
80527    cat <<\_LT_EOF >> "$cfgfile"
80528# AIX sometimes has problems with the GCC collect2 program.  For some
80529# reason, if we set the COLLECT_NAMES environment variable, the problems
80530# vanish in a puff of smoke.
80531if test "X${COLLECT_NAMES+set}" != Xset; then
80532  COLLECT_NAMES=
80533  export COLLECT_NAMES
80534fi
80535_LT_EOF
80536    ;;
80537  esac
80538
80539
80540ltmain="$ac_aux_dir/ltmain.sh"
80541
80542
80543  # We use sed instead of cat because bash on DJGPP gets confused if
80544  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
80545  # text mode, it properly converts lines to CR/LF.  This bash problem
80546  # is reportedly fixed, but why not run on old versions too?
80547  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80548    || (rm -f "$cfgfile"; exit 1)
80549
80550  case $xsi_shell in
80551  yes)
80552    cat << \_LT_EOF >> "$cfgfile"
80553
80554# func_dirname file append nondir_replacement
80555# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
80556# otherwise set result to NONDIR_REPLACEMENT.
80557func_dirname ()
80558{
80559  case ${1} in
80560    */*) func_dirname_result="${1%/*}${2}" ;;
80561    *  ) func_dirname_result="${3}" ;;
80562  esac
80563}
80564
80565# func_basename file
80566func_basename ()
80567{
80568  func_basename_result="${1##*/}"
80569}
80570
80571# func_dirname_and_basename file append nondir_replacement
80572# perform func_basename and func_dirname in a single function
80573# call:
80574#   dirname:  Compute the dirname of FILE.  If nonempty,
80575#             add APPEND to the result, otherwise set result
80576#             to NONDIR_REPLACEMENT.
80577#             value returned in "$func_dirname_result"
80578#   basename: Compute filename of FILE.
80579#             value retuned in "$func_basename_result"
80580# Implementation must be kept synchronized with func_dirname
80581# and func_basename. For efficiency, we do not delegate to
80582# those functions but instead duplicate the functionality here.
80583func_dirname_and_basename ()
80584{
80585  case ${1} in
80586    */*) func_dirname_result="${1%/*}${2}" ;;
80587    *  ) func_dirname_result="${3}" ;;
80588  esac
80589  func_basename_result="${1##*/}"
80590}
80591
80592# func_stripname prefix suffix name
80593# strip PREFIX and SUFFIX off of NAME.
80594# PREFIX and SUFFIX must not contain globbing or regex special
80595# characters, hashes, percent signs, but SUFFIX may contain a leading
80596# dot (in which case that matches only a dot).
80597func_stripname ()
80598{
80599  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80600  # positional parameters, so assign one to ordinary parameter first.
80601  func_stripname_result=${3}
80602  func_stripname_result=${func_stripname_result#"${1}"}
80603  func_stripname_result=${func_stripname_result%"${2}"}
80604}
80605
80606# func_opt_split
80607func_opt_split ()
80608{
80609  func_opt_split_opt=${1%%=*}
80610  func_opt_split_arg=${1#*=}
80611}
80612
80613# func_lo2o object
80614func_lo2o ()
80615{
80616  case ${1} in
80617    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80618    *)    func_lo2o_result=${1} ;;
80619  esac
80620}
80621
80622# func_xform libobj-or-source
80623func_xform ()
80624{
80625  func_xform_result=${1%.*}.lo
80626}
80627
80628# func_arith arithmetic-term...
80629func_arith ()
80630{
80631  func_arith_result=$(( $* ))
80632}
80633
80634# func_len string
80635# STRING may not start with a hyphen.
80636func_len ()
80637{
80638  func_len_result=${#1}
80639}
80640
80641_LT_EOF
80642    ;;
80643  *) # Bourne compatible functions.
80644    cat << \_LT_EOF >> "$cfgfile"
80645
80646# func_dirname file append nondir_replacement
80647# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
80648# otherwise set result to NONDIR_REPLACEMENT.
80649func_dirname ()
80650{
80651  # Extract subdirectory from the argument.
80652  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80653  if test "X$func_dirname_result" = "X${1}"; then
80654    func_dirname_result="${3}"
80655  else
80656    func_dirname_result="$func_dirname_result${2}"
80657  fi
80658}
80659
80660# func_basename file
80661func_basename ()
80662{
80663  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80664}
80665
80666
80667# func_stripname prefix suffix name
80668# strip PREFIX and SUFFIX off of NAME.
80669# PREFIX and SUFFIX must not contain globbing or regex special
80670# characters, hashes, percent signs, but SUFFIX may contain a leading
80671# dot (in which case that matches only a dot).
80672# func_strip_suffix prefix name
80673func_stripname ()
80674{
80675  case ${2} in
80676    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80677    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80678  esac
80679}
80680
80681# sed scripts:
80682my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80683my_sed_long_arg='1s/^-[^=]*=//'
80684
80685# func_opt_split
80686func_opt_split ()
80687{
80688  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80689  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80690}
80691
80692# func_lo2o object
80693func_lo2o ()
80694{
80695  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80696}
80697
80698# func_xform libobj-or-source
80699func_xform ()
80700{
80701  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80702}
80703
80704# func_arith arithmetic-term...
80705func_arith ()
80706{
80707  func_arith_result=`expr "$@"`
80708}
80709
80710# func_len string
80711# STRING may not start with a hyphen.
80712func_len ()
80713{
80714  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80715}
80716
80717_LT_EOF
80718esac
80719
80720case $lt_shell_append in
80721  yes)
80722    cat << \_LT_EOF >> "$cfgfile"
80723
80724# func_append var value
80725# Append VALUE to the end of shell variable VAR.
80726func_append ()
80727{
80728  eval "$1+=\$2"
80729}
80730_LT_EOF
80731    ;;
80732  *)
80733    cat << \_LT_EOF >> "$cfgfile"
80734
80735# func_append var value
80736# Append VALUE to the end of shell variable VAR.
80737func_append ()
80738{
80739  eval "$1=\$$1\$2"
80740}
80741
80742_LT_EOF
80743    ;;
80744  esac
80745
80746
80747  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80748    || (rm -f "$cfgfile"; exit 1)
80749
80750  mv -f "$cfgfile" "$ofile" ||
80751    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80752  chmod +x "$ofile"
80753
80754
80755    cat <<_LT_EOF >> "$ofile"
80756
80757# ### BEGIN LIBTOOL TAG CONFIG: CXX
80758
80759# The linker used to build libraries.
80760LD=$lt_LD_CXX
80761
80762# How to create reloadable object files.
80763reload_flag=$lt_reload_flag_CXX
80764reload_cmds=$lt_reload_cmds_CXX
80765
80766# Commands used to build an old-style archive.
80767old_archive_cmds=$lt_old_archive_cmds_CXX
80768
80769# A language specific compiler.
80770CC=$lt_compiler_CXX
80771
80772# Is the compiler the GNU compiler?
80773with_gcc=$GCC_CXX
80774
80775# Compiler flag to turn off builtin functions.
80776no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80777
80778# How to pass a linker flag through the compiler.
80779wl=$lt_lt_prog_compiler_wl_CXX
80780
80781# Additional compiler flags for building library objects.
80782pic_flag=$lt_lt_prog_compiler_pic_CXX
80783
80784# Compiler flag to prevent dynamic linking.
80785link_static_flag=$lt_lt_prog_compiler_static_CXX
80786
80787# Does compiler simultaneously support -c and -o options?
80788compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80789
80790# Whether or not to add -lc for building shared libraries.
80791build_libtool_need_lc=$archive_cmds_need_lc_CXX
80792
80793# Whether or not to disallow shared libs when runtime libs are static.
80794allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80795
80796# Compiler flag to allow reflexive dlopens.
80797export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80798
80799# Compiler flag to generate shared objects directly from archives.
80800whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80801
80802# Whether the compiler copes with passing no objects directly.
80803compiler_needs_object=$lt_compiler_needs_object_CXX
80804
80805# Create an old-style archive from a shared archive.
80806old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80807
80808# Create a temporary old-style archive to link instead of a shared archive.
80809old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80810
80811# Commands used to build a shared archive.
80812archive_cmds=$lt_archive_cmds_CXX
80813archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80814
80815# Commands used to build a loadable module if different from building
80816# a shared archive.
80817module_cmds=$lt_module_cmds_CXX
80818module_expsym_cmds=$lt_module_expsym_cmds_CXX
80819
80820# Whether we are building with GNU ld or not.
80821with_gnu_ld=$lt_with_gnu_ld_CXX
80822
80823# Flag that allows shared libraries with undefined symbols to be built.
80824allow_undefined_flag=$lt_allow_undefined_flag_CXX
80825
80826# Flag that enforces no undefined symbols.
80827no_undefined_flag=$lt_no_undefined_flag_CXX
80828
80829# Flag to hardcode \$libdir into a binary during linking.
80830# This must work even if \$libdir does not exist
80831hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80832
80833# If ld is used when linking, flag to hardcode \$libdir into a binary
80834# during linking.  This must work even if \$libdir does not exist.
80835hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80836
80837# Whether we need a single "-rpath" flag with a separated argument.
80838hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80839
80840# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80841# DIR into the resulting binary.
80842hardcode_direct=$hardcode_direct_CXX
80843
80844# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80845# DIR into the resulting binary and the resulting library dependency is
80846# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80847# library is relocated.
80848hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80849
80850# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80851# into the resulting binary.
80852hardcode_minus_L=$hardcode_minus_L_CXX
80853
80854# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80855# into the resulting binary.
80856hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80857
80858# Set to "yes" if building a shared library automatically hardcodes DIR
80859# into the library and all subsequent libraries and executables linked
80860# against it.
80861hardcode_automatic=$hardcode_automatic_CXX
80862
80863# Set to yes if linker adds runtime paths of dependent libraries
80864# to runtime path list.
80865inherit_rpath=$inherit_rpath_CXX
80866
80867# Whether libtool must link a program against all its dependency libraries.
80868link_all_deplibs=$link_all_deplibs_CXX
80869
80870# Fix the shell variable \$srcfile for the compiler.
80871fix_srcfile_path=$lt_fix_srcfile_path_CXX
80872
80873# Set to "yes" if exported symbols are required.
80874always_export_symbols=$always_export_symbols_CXX
80875
80876# The commands to list exported symbols.
80877export_symbols_cmds=$lt_export_symbols_cmds_CXX
80878
80879# Symbols that should not be listed in the preloaded symbols.
80880exclude_expsyms=$lt_exclude_expsyms_CXX
80881
80882# Symbols that must always be exported.
80883include_expsyms=$lt_include_expsyms_CXX
80884
80885# Commands necessary for linking programs (against libraries) with templates.
80886prelink_cmds=$lt_prelink_cmds_CXX
80887
80888# Specify filename containing input files.
80889file_list_spec=$lt_file_list_spec_CXX
80890
80891# How to hardcode a shared library path into an executable.
80892hardcode_action=$hardcode_action_CXX
80893
80894# The directories searched by this compiler when creating a shared library.
80895compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80896
80897# Dependencies to place before and after the objects being linked to
80898# create a shared library.
80899predep_objects=$lt_predep_objects_CXX
80900postdep_objects=$lt_postdep_objects_CXX
80901predeps=$lt_predeps_CXX
80902postdeps=$lt_postdeps_CXX
80903
80904# The library search path used internally by the compiler when linking
80905# a shared library.
80906compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80907
80908# ### END LIBTOOL TAG CONFIG: CXX
80909_LT_EOF
80910
80911 ;;
80912    "include/gstdint.h":C)
80913if test "$GCC" = yes; then
80914  echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80915else
80916  echo "/* generated for $CC */" > tmp-stdint.h
80917fi
80918
80919sed 's/^ *//' >> tmp-stdint.h <<EOF
80920
80921  #ifndef GCC_GENERATED_STDINT_H
80922  #define GCC_GENERATED_STDINT_H 1
80923
80924  #include <sys/types.h>
80925EOF
80926
80927if test "$acx_cv_header_stdint" != stdint.h; then
80928  echo "#include <stddef.h>" >> tmp-stdint.h
80929fi
80930if test "$acx_cv_header_stdint" != stddef.h; then
80931  echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80932fi
80933
80934sed 's/^ *//' >> tmp-stdint.h <<EOF
80935  /* glibc uses these symbols as guards to prevent redefinitions.  */
80936  #ifdef __int8_t_defined
80937  #define _INT8_T
80938  #define _INT16_T
80939  #define _INT32_T
80940  #endif
80941  #ifdef __uint32_t_defined
80942  #define _UINT32_T
80943  #endif
80944
80945EOF
80946
80947# ----------------- done header, emit basic int types -------------
80948if test "$acx_cv_header_stdint" = stddef.h; then
80949  sed 's/^ *//' >> tmp-stdint.h <<EOF
80950
80951    #ifndef _UINT8_T
80952    #define _UINT8_T
80953    #ifndef __uint8_t_defined
80954    #define __uint8_t_defined
80955    #ifndef uint8_t
80956    typedef unsigned $acx_cv_type_int8_t uint8_t;
80957    #endif
80958    #endif
80959    #endif
80960
80961    #ifndef _UINT16_T
80962    #define _UINT16_T
80963    #ifndef __uint16_t_defined
80964    #define __uint16_t_defined
80965    #ifndef uint16_t
80966    typedef unsigned $acx_cv_type_int16_t uint16_t;
80967    #endif
80968    #endif
80969    #endif
80970
80971    #ifndef _UINT32_T
80972    #define _UINT32_T
80973    #ifndef __uint32_t_defined
80974    #define __uint32_t_defined
80975    #ifndef uint32_t
80976    typedef unsigned $acx_cv_type_int32_t uint32_t;
80977    #endif
80978    #endif
80979    #endif
80980
80981    #ifndef _INT8_T
80982    #define _INT8_T
80983    #ifndef __int8_t_defined
80984    #define __int8_t_defined
80985    #ifndef int8_t
80986    typedef $acx_cv_type_int8_t int8_t;
80987    #endif
80988    #endif
80989    #endif
80990
80991    #ifndef _INT16_T
80992    #define _INT16_T
80993    #ifndef __int16_t_defined
80994    #define __int16_t_defined
80995    #ifndef int16_t
80996    typedef $acx_cv_type_int16_t int16_t;
80997    #endif
80998    #endif
80999    #endif
81000
81001    #ifndef _INT32_T
81002    #define _INT32_T
81003    #ifndef __int32_t_defined
81004    #define __int32_t_defined
81005    #ifndef int32_t
81006    typedef $acx_cv_type_int32_t int32_t;
81007    #endif
81008    #endif
81009    #endif
81010EOF
81011elif test "$ac_cv_type_u_int32_t" = yes; then
81012  sed 's/^ *//' >> tmp-stdint.h <<EOF
81013
81014    /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
81015    #ifndef _INT8_T
81016    #define _INT8_T
81017    #endif
81018    #ifndef _INT16_T
81019    #define _INT16_T
81020    #endif
81021    #ifndef _INT32_T
81022    #define _INT32_T
81023    #endif
81024
81025    #ifndef _UINT8_T
81026    #define _UINT8_T
81027    #ifndef __uint8_t_defined
81028    #define __uint8_t_defined
81029    #ifndef uint8_t
81030    typedef u_int8_t uint8_t;
81031    #endif
81032    #endif
81033    #endif
81034
81035    #ifndef _UINT16_T
81036    #define _UINT16_T
81037    #ifndef __uint16_t_defined
81038    #define __uint16_t_defined
81039    #ifndef uint16_t
81040    typedef u_int16_t uint16_t;
81041    #endif
81042    #endif
81043    #endif
81044
81045    #ifndef _UINT32_T
81046    #define _UINT32_T
81047    #ifndef __uint32_t_defined
81048    #define __uint32_t_defined
81049    #ifndef uint32_t
81050    typedef u_int32_t uint32_t;
81051    #endif
81052    #endif
81053    #endif
81054EOF
81055else
81056  sed 's/^ *//' >> tmp-stdint.h <<EOF
81057
81058    /* Some systems have guard macros to prevent redefinitions, define them.  */
81059    #ifndef _INT8_T
81060    #define _INT8_T
81061    #endif
81062    #ifndef _INT16_T
81063    #define _INT16_T
81064    #endif
81065    #ifndef _INT32_T
81066    #define _INT32_T
81067    #endif
81068    #ifndef _UINT8_T
81069    #define _UINT8_T
81070    #endif
81071    #ifndef _UINT16_T
81072    #define _UINT16_T
81073    #endif
81074    #ifndef _UINT32_T
81075    #define _UINT32_T
81076    #endif
81077EOF
81078fi
81079
81080# ------------- done basic int types, emit int64_t types ------------
81081if test "$ac_cv_type_uint64_t" = yes; then
81082  sed 's/^ *//' >> tmp-stdint.h <<EOF
81083
81084    /* system headers have good uint64_t and int64_t */
81085    #ifndef _INT64_T
81086    #define _INT64_T
81087    #endif
81088    #ifndef _UINT64_T
81089    #define _UINT64_T
81090    #endif
81091EOF
81092elif test "$ac_cv_type_u_int64_t" = yes; then
81093  sed 's/^ *//' >> tmp-stdint.h <<EOF
81094
81095    /* system headers have an u_int64_t (and int64_t) */
81096    #ifndef _INT64_T
81097    #define _INT64_T
81098    #endif
81099    #ifndef _UINT64_T
81100    #define _UINT64_T
81101    #ifndef __uint64_t_defined
81102    #define __uint64_t_defined
81103    #ifndef uint64_t
81104    typedef u_int64_t uint64_t;
81105    #endif
81106    #endif
81107    #endif
81108EOF
81109elif test -n "$acx_cv_type_int64_t"; then
81110  sed 's/^ *//' >> tmp-stdint.h <<EOF
81111
81112    /* architecture has a 64-bit type, $acx_cv_type_int64_t */
81113    #ifndef _INT64_T
81114    #define _INT64_T
81115    #ifndef int64_t
81116    typedef $acx_cv_type_int64_t int64_t;
81117    #endif
81118    #endif
81119    #ifndef _UINT64_T
81120    #define _UINT64_T
81121    #ifndef __uint64_t_defined
81122    #define __uint64_t_defined
81123    #ifndef uint64_t
81124    typedef unsigned $acx_cv_type_int64_t uint64_t;
81125    #endif
81126    #endif
81127    #endif
81128EOF
81129else
81130  sed 's/^ *//' >> tmp-stdint.h <<EOF
81131
81132    /* some common heuristics for int64_t, using compiler-specific tests */
81133    #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
81134    #ifndef _INT64_T
81135    #define _INT64_T
81136    #ifndef __int64_t_defined
81137    #ifndef int64_t
81138    typedef long long int64_t;
81139    #endif
81140    #endif
81141    #endif
81142    #ifndef _UINT64_T
81143    #define _UINT64_T
81144    #ifndef uint64_t
81145    typedef unsigned long long uint64_t;
81146    #endif
81147    #endif
81148
81149    #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
81150    /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
81151       does not implement __extension__.  But that compiler doesn't define
81152       __GNUC_MINOR__.  */
81153    # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
81154    # define __extension__
81155    # endif
81156
81157    # ifndef _INT64_T
81158    # define _INT64_T
81159    # ifndef int64_t
81160    __extension__ typedef long long int64_t;
81161    # endif
81162    # endif
81163    # ifndef _UINT64_T
81164    # define _UINT64_T
81165    # ifndef uint64_t
81166    __extension__ typedef unsigned long long uint64_t;
81167    # endif
81168    # endif
81169
81170    #elif !defined __STRICT_ANSI__
81171    # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
81172
81173    #  ifndef _INT64_T
81174    #  define _INT64_T
81175    #  ifndef int64_t
81176    typedef __int64 int64_t;
81177    #  endif
81178    #  endif
81179    #  ifndef _UINT64_T
81180    #  define _UINT64_T
81181    #  ifndef uint64_t
81182    typedef unsigned __int64 uint64_t;
81183    #  endif
81184    #  endif
81185    # endif /* compiler */
81186
81187    #endif /* ANSI version */
81188EOF
81189fi
81190
81191# ------------- done int64_t types, emit intptr types ------------
81192if test "$ac_cv_type_uintptr_t" != yes; then
81193  sed 's/^ *//' >> tmp-stdint.h <<EOF
81194
81195    /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
81196    #ifndef __uintptr_t_defined
81197    #ifndef uintptr_t
81198    typedef u$acx_cv_type_intptr_t uintptr_t;
81199    #endif
81200    #endif
81201    #ifndef __intptr_t_defined
81202    #ifndef intptr_t
81203    typedef $acx_cv_type_intptr_t  intptr_t;
81204    #endif
81205    #endif
81206EOF
81207fi
81208
81209# ------------- done intptr types, emit int_least types ------------
81210if test "$ac_cv_type_int_least32_t" != yes; then
81211  sed 's/^ *//' >> tmp-stdint.h <<EOF
81212
81213    /* Define int_least types */
81214    typedef int8_t     int_least8_t;
81215    typedef int16_t    int_least16_t;
81216    typedef int32_t    int_least32_t;
81217    #ifdef _INT64_T
81218    typedef int64_t    int_least64_t;
81219    #endif
81220
81221    typedef uint8_t    uint_least8_t;
81222    typedef uint16_t   uint_least16_t;
81223    typedef uint32_t   uint_least32_t;
81224    #ifdef _UINT64_T
81225    typedef uint64_t   uint_least64_t;
81226    #endif
81227EOF
81228fi
81229
81230# ------------- done intptr types, emit int_fast types ------------
81231if test "$ac_cv_type_int_fast32_t" != yes; then
81232      sed 's/^ *//' >> tmp-stdint.h <<EOF
81233
81234    /* Define int_fast types.  short is often slow */
81235    typedef int8_t       int_fast8_t;
81236    typedef int          int_fast16_t;
81237    typedef int32_t      int_fast32_t;
81238    #ifdef _INT64_T
81239    typedef int64_t      int_fast64_t;
81240    #endif
81241
81242    typedef uint8_t      uint_fast8_t;
81243    typedef unsigned int uint_fast16_t;
81244    typedef uint32_t     uint_fast32_t;
81245    #ifdef _UINT64_T
81246    typedef uint64_t     uint_fast64_t;
81247    #endif
81248EOF
81249fi
81250
81251if test "$ac_cv_type_uintmax_t" != yes; then
81252  sed 's/^ *//' >> tmp-stdint.h <<EOF
81253
81254    /* Define intmax based on what we found */
81255    #ifndef intmax_t
81256    #ifdef _INT64_T
81257    typedef int64_t       intmax_t;
81258    #else
81259    typedef long          intmax_t;
81260    #endif
81261    #endif
81262    #ifndef uintmax_t
81263    #ifdef _UINT64_T
81264    typedef uint64_t      uintmax_t;
81265    #else
81266    typedef unsigned long uintmax_t;
81267    #endif
81268    #endif
81269EOF
81270fi
81271
81272sed 's/^ *//' >> tmp-stdint.h <<EOF
81273
81274  #endif /* GCC_GENERATED_STDINT_H */
81275EOF
81276
81277if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81278  rm -f tmp-stdint.h
81279else
81280  mv -f tmp-stdint.h include/gstdint.h
81281fi
81282
81283 ;;
81284    "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81285    "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81286    "include/Makefile":F) cat > vpsed$$ << \_EOF
81287s!`test -f '$<' || echo '$(srcdir)/'`!!
81288_EOF
81289   sed -f vpsed$$ $ac_file > tmp$$
81290   mv tmp$$ $ac_file
81291   rm vpsed$$
81292   echo 'MULTISUBDIR =' >> $ac_file
81293   ml_norecursion=yes
81294   . ${multi_basedir}/config-ml.in
81295   { ml_norecursion=; unset ml_norecursion;}
81296 ;;
81297    "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81298s!`test -f '$<' || echo '$(srcdir)/'`!!
81299_EOF
81300   sed -f vpsed$$ $ac_file > tmp$$
81301   mv tmp$$ $ac_file
81302   rm vpsed$$
81303   echo 'MULTISUBDIR =' >> $ac_file
81304   ml_norecursion=yes
81305   . ${multi_basedir}/config-ml.in
81306   { ml_norecursion=; unset ml_norecursion;}
81307 ;;
81308    "src/Makefile":F) cat > vpsed$$ << \_EOF
81309s!`test -f '$<' || echo '$(srcdir)/'`!!
81310_EOF
81311   sed -f vpsed$$ $ac_file > tmp$$
81312   mv tmp$$ $ac_file
81313   rm vpsed$$
81314   echo 'MULTISUBDIR =' >> $ac_file
81315   ml_norecursion=yes
81316   . ${multi_basedir}/config-ml.in
81317   { ml_norecursion=; unset ml_norecursion;}
81318 ;;
81319    "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81320s!`test -f '$<' || echo '$(srcdir)/'`!!
81321_EOF
81322   sed -f vpsed$$ $ac_file > tmp$$
81323   mv tmp$$ $ac_file
81324   rm vpsed$$
81325   echo 'MULTISUBDIR =' >> $ac_file
81326   ml_norecursion=yes
81327   . ${multi_basedir}/config-ml.in
81328   { ml_norecursion=; unset ml_norecursion;}
81329 ;;
81330    "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81331s!`test -f '$<' || echo '$(srcdir)/'`!!
81332_EOF
81333   sed -f vpsed$$ $ac_file > tmp$$
81334   mv tmp$$ $ac_file
81335   rm vpsed$$
81336   echo 'MULTISUBDIR =' >> $ac_file
81337   ml_norecursion=yes
81338   . ${multi_basedir}/config-ml.in
81339   { ml_norecursion=; unset ml_norecursion;}
81340 ;;
81341    "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81342s!`test -f '$<' || echo '$(srcdir)/'`!!
81343_EOF
81344   sed -f vpsed$$ $ac_file > tmp$$
81345   mv tmp$$ $ac_file
81346   rm vpsed$$
81347   echo 'MULTISUBDIR =' >> $ac_file
81348   ml_norecursion=yes
81349   . ${multi_basedir}/config-ml.in
81350   { ml_norecursion=; unset ml_norecursion;}
81351 ;;
81352    "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
81353s!`test -f '$<' || echo '$(srcdir)/'`!!
81354_EOF
81355   sed -f vpsed$$ $ac_file > tmp$$
81356   mv tmp$$ $ac_file
81357   rm vpsed$$
81358   echo 'MULTISUBDIR =' >> $ac_file
81359   ml_norecursion=yes
81360   . ${multi_basedir}/config-ml.in
81361   { ml_norecursion=; unset ml_norecursion;}
81362 ;;
81363    "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81364s!`test -f '$<' || echo '$(srcdir)/'`!!
81365_EOF
81366   sed -f vpsed$$ $ac_file > tmp$$
81367   mv tmp$$ $ac_file
81368   rm vpsed$$
81369   echo 'MULTISUBDIR =' >> $ac_file
81370   ml_norecursion=yes
81371   . ${multi_basedir}/config-ml.in
81372   { ml_norecursion=; unset ml_norecursion;}
81373 ;;
81374    "doc/Makefile":F) cat > vpsed$$ << \_EOF
81375s!`test -f '$<' || echo '$(srcdir)/'`!!
81376_EOF
81377   sed -f vpsed$$ $ac_file > tmp$$
81378   mv tmp$$ $ac_file
81379   rm vpsed$$
81380   echo 'MULTISUBDIR =' >> $ac_file
81381   ml_norecursion=yes
81382   . ${multi_basedir}/config-ml.in
81383   { ml_norecursion=; unset ml_norecursion;}
81384 ;;
81385    "po/Makefile":F) cat > vpsed$$ << \_EOF
81386s!`test -f '$<' || echo '$(srcdir)/'`!!
81387_EOF
81388   sed -f vpsed$$ $ac_file > tmp$$
81389   mv tmp$$ $ac_file
81390   rm vpsed$$
81391   echo 'MULTISUBDIR =' >> $ac_file
81392   ml_norecursion=yes
81393   . ${multi_basedir}/config-ml.in
81394   { ml_norecursion=; unset ml_norecursion;}
81395 ;;
81396    "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81397s!`test -f '$<' || echo '$(srcdir)/'`!!
81398_EOF
81399   sed -f vpsed$$ $ac_file > tmp$$
81400   mv tmp$$ $ac_file
81401   rm vpsed$$
81402   echo 'MULTISUBDIR =' >> $ac_file
81403   ml_norecursion=yes
81404   . ${multi_basedir}/config-ml.in
81405   { ml_norecursion=; unset ml_norecursion;}
81406 ;;
81407    "python/Makefile":F) cat > vpsed$$ << \_EOF
81408s!`test -f '$<' || echo '$(srcdir)/'`!!
81409_EOF
81410   sed -f vpsed$$ $ac_file > tmp$$
81411   mv tmp$$ $ac_file
81412   rm vpsed$$
81413   echo 'MULTISUBDIR =' >> $ac_file
81414   ml_norecursion=yes
81415   . ${multi_basedir}/config-ml.in
81416   { ml_norecursion=; unset ml_norecursion;}
81417 ;;
81418    "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81419
81420  esac
81421done # for ac_tag
81422
81423
81424as_fn_exit 0
81425_ACEOF
81426ac_clean_files=$ac_clean_files_save
81427
81428test $ac_write_fail = 0 ||
81429  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81430
81431
81432# configure is writing to config.log, and then calls config.status.
81433# config.status does its own redirection, appending to config.log.
81434# Unfortunately, on DOS this fails, as config.log is still kept open
81435# by configure, so config.status won't be able to write to it; its
81436# output is simply discarded.  So we exec the FD to /dev/null,
81437# effectively closing config.log, so it can be properly (re)opened and
81438# appended to by config.status.  When coming back to configure, we
81439# need to make the FD available again.
81440if test "$no_create" != yes; then
81441  ac_cs_success=:
81442  ac_config_status_args=
81443  test "$silent" = yes &&
81444    ac_config_status_args="$ac_config_status_args --quiet"
81445  exec 5>/dev/null
81446  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81447  exec 5>>config.log
81448  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81449  # would make configure fail if this is the last instruction.
81450  $ac_cs_success || as_fn_exit 1
81451fi
81452if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81453  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81454$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
81455fi
81456
81457